dsh-plugins
其他 活跃维护

dsh-plugins

brzvsk/dsh-plugins

本仓库为dsh框架的树外插件合集,每个子目录对应一个独立可安装的插件包,覆盖各类功能扩展需求,用户可按需选择对应插件包安装,无需复杂额外配置即可使用。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
66 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:brzvsk/dsh-plugins
git clone https://github.com/brzvsk/dsh-plugins.git
git clone git@github.com:brzvsk/dsh-plugins.git
README.md main

dsh-plugins

Out-of-tree plugins for DeepSeek Harness (dsh).
Each subdirectory is one installable plugin bundle (dsh.bundle.patch + its own cordis.patch.yml),
so dsh plugin --profile <name> add <pkg> registers it as a profile layer automatically.

Plugins

Plugin npm What it does
visualize dsh-visualize visualize_html tool + sandboxed HTML preview card in the Web chat (Codex /vizualize analogue)

Install (published npm package)

# the profile is a pnpm workspace root, so -w is required
dsh plugin --profile <name> add -w dsh-visualize

Then restart the profile (the shipped web surface disables HMR, so layer changes
are not picked up live):

dsh --profile cockpit --port 3081

Local development (link, live rebuilds)

dsh plugin --profile <name> add -w link:/path/to/dsh-plugins/visualize
pnpm install           # from the repo root (pnpm workspace)
pnpm --filter dsh-visualize build     # after edits; refresh the browser page

Adding a new plugin

  1. Create <name>/ with a package.json declaring
    "dsh": { "bundle": { "patch": "./cordis.patch.yml" } } and a
    cordis.patch.yml that inserts your rows (the workspace glob
    packages: ['*'] picks the directory up automatically).
  2. For a Web UI half, add dsh.client (platform web, inject list) and an
    exports["./client"] bundle in the
    window.__ModuleLoader__.load({ id, factory }) format
    (see visualize/scripts/build-client.mjs).
  3. pnpm install, build, test, then
    dsh plugin --profile <name> add -w <pkg>.

License

MIT