tradercjz/dsh-dolphindb

Project Overview项目介绍

This repository is a native DSH plugin built exclusively for DeepSeek Harness, providing full DolphinDB integration as an installable profile bundle. It ships a WebSocket-based executor for connecting to DolphinDB servers, three dedicated DSH tools for read-only query, write execution, and server switching, plus 23 pre-bundled DolphinDB skills that cover common use cases from syntax basics to quantitative backtesting. You can install it via the DSH CLI with a single command, or add it manually to your DSH profile's bundle list.

After installation, you can configure multiple DolphinDB server environments in your DSH settings file. All server passwords are managed through DSH's credential system, referenced by name in the YAML configuration and resolved at connection time, so plain text credentials are never stored in configuration files. You can switch the active server at any time via the dedicated tool, and even override the target server per individual query or execution request. This plugin is designed for developers and quantitative researchers who use DolphinDB within DeepSeek Harness workflows.

The 23 bundled skills included in this package are vendored from the official DolphinDB DolphinX_Skill repository, with only a small fix to a YAML parsing error on one skill entry. Development of the plugin requires a sibling checkout of the DeepSeek Harness repository, and uses pnpm for dependency installation, type checking, and building. The plugin is released under the permissive open source MIT license, and first-time installation requires you to authorize the build script in your DSH profile configuration to complete successfully.

这是一个专为 DeepSeek Harness 打造的原生 DSH 插件,提供 DolphinDB 数据库的集成能力。插件包含一个 WebSocket 执行器、三个工具接口(分别用于查询只读脚本、执行写操作和切换服务器环境),还预装了 23 个 DolphinDB 技能,覆盖语法、数据处理、量化分析等常用场景。用户可以通过 DSH CLI 命令一键安装,也可以手动将包添加到个人配置文件的 bundle 列表中。

安装完成后,用户可以在 DSH 的配置文件中预配置多个 DolphinDB 服务器环境,也可以通过专用工具随时切换当前激活的服务器。插件通过 DSH 凭证系统管理服务器密码,不会将明文密码直接存储在配置文件中,保障了访问安全,同时支持单请求内临时覆盖服务器配置。这款插件适合需要在 DeepSeek Harness 工作流中调用 DolphinDB 的开发者和量化研究者使用。

插件预装的 23 个 DolphinDB 技能改编自官方 DolphinX_Skill 仓库,仅对一处导致 YAML 解析失败的未加引号描述做了修复。开发该插件需要同级目录下存有 DeepSeek Harness 源码,依赖 pnpm 包管理器进行构建和类型检查。插件以 MIT 开源许可证发布,首次安装需要在 DSH 配置中授权插件的构建脚本才能正常完成安装。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:tradercjz/dsh-dolphindb

把 tradercjz/dsh-dolphindb 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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

Component Surface
dolphindb_query Read-only DolphinDB scripts/SQL (result tables, vectors, matrices, scalars; optional chart; optional server override)
dolphindb_execute Write/mutation scripts, gated behind the approval seam with a code preview (optional server override)
dolphindb_switch Switch the active server environment; persisted in the dolphindb settings section and hot-applied
23 DolphinDB skills Bundled 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.

Servers and environments

The executor runs a named server registry. The bundle ships one local server (127.0.0.1:8848 / admin, credential ref DOLPHINDB_PASSWORD) as the deployment default. Real deployments live in the dolphindb settings section — $DSH_HOME/settings.yaml, hot-reloaded, and editable from web Settings → Plugins once @tradercjz/dsh-client-dolphindb is installed:

dolphindb:
  active: prod
  servers:
    prod:
      host: 183.134.101.139
      port: 8892
      username: admin
      passwordRef: DOLPHINDB_PROD_PASSWORD
    test:
      host: 183.134.101.139
      port: 30006
      username: admin
      passwordRef: DOLPHINDB_TEST_PASSWORD

Each password is resolved per connection through the credentials seam: set the referenced name in the process environment / managed credential store, never the value in YAML. dolphindb_switch changes active (persisted); the server argument on dolphindb_query / dolphindb_execute overrides per call. A profile patch may instead replace the executor row's whole config for a fixed deployment.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-ccswitch-import-lite 下一个 Next dsh-live2d-roselia →