tradercjz / dsh-dolphindb

목록에 있음

업스트림 저장소에 설명이 없습니다.

main기타 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:tradercjz/dsh-dolphindb

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 86f7790동기화 2026. 8. 18.

dsh-dolphindb

DolphinDB integration for DeepSeek Harness as an installable profile bundle. One package ships the WebSocket executor, the model-facing query/write tools, and the 23 bundled DolphinDB skills.

What you get

ComponentSurface
dolphindb_queryRead-only DolphinDB scripts/SQL (result tables, vectors, matrices, scalars; optional chart)
dolphindb_executeWrite/mutation scripts, gated behind the approval seam with a code preview
23 DolphinDB skillsBundled SKILL.md trees (syntax, SQL, vectorization, functional programming, data import, factors, ops, Orca DStream, plotting, backtest, FICC pricing, Tushare/CSMAR, …) exposed through the skill tool

Install

dsh plugin --profile <name> add github:tradercjz/dsh-dolphindb

or add @tradercjz/dsh-dolphindb to a profile's dsh.profile.bundles list after @deepseek-ai/dsh-base.

The executor's only required field is passwordRef (default DOLPHINDB_PASSWORD); host/port/username default to 127.0.0.1:8848 / admin. Override for a remote server in the profile's own cordis.patch.yml:

- id: dolphindb
  config:
    host: 183.134.101.139
    port: 8892
    username: admin
    passwordRef: DOLPHINDB_PASSWORD

Set the password in the process environment or the repo .env; never commit it.

Verify the layer

dsh --profile <name> --dump-config

The output shows a # == @tradercjz/dsh-dolphindb layer mounting three rows — dolphindb (executor), tool-dolphindb (tools), dolphin-skills (skills). Starting the profile registers dolphindb_query / dolphindb_execute and exposes the 23 dolphindb-* skills through the skill tool.

Development

The repo type-checks and builds against a sibling deepseek-harness checkout (see tsconfig.json):

pnpm install
pnpm run typecheck   # against ../deepseek-harness
pnpm run build       # tsc -b + tsdown → lib/

dsh plugin add github:… installs source, so pnpm runs prepare (a self-contained tsdown transpile with no harness checkout and no type check). The first install fails until the profile's pnpm-workspace.yaml authorizes the build scripts (the dsh error prints the exact commit-pinned key — prefer that over the loose form below):

allowBuilds:
  "@tradercjz/dsh-dolphindb@https://codeload.github.com/tradercjz/dsh-dolphindb/tar.gz/<commit-sha>": true
  # Native file-watcher pulled transitively by the `dolphindb` client
  # (dolphindb → xshell → sass → @parcel/watcher); set `false` to skip the
  # native build and keep the JS fallback.
  "@parcel/watcher": true

Skills provenance

The assets/skills/ trees are vendored from the official dolphindb/DolphinX_Skill repository. One source SKILL.md (dolphindb-daily-factor) had an unquoted description that breaks YAML parsing; the vendored copy quotes it.

License

MIT

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨
예제감지됨

저장소 정보

언어
TypeScript
라이선스
MIT
마지막 업데이트
2026. 8. 14. 오전 7:59

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.