xiayuhkust / dsh-shell-kit

已收录

Plugins for DeepSeek Harness (dsh): secret-guard blocks reading secret/PII files, script-exec runs scripts via temp file to avoid Windows quoting pitfalls.

main其他 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:xiayuhkust/dsh-shell-kit

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 089641d同步于 2026年8月18日

dsh-shell-kit

English | 中文

Plugins that harden and smooth a DeepSeek Harness (dsh) agent's use of the host's shell and file tools: one governs what it may read (blocking secrets/PII), the other smooths how it runs scripts (writing them to disk to avoid escaping pain). Both are lightweight with no extra runtime dependencies. One repository, one independent npm package per plugin. Targets the dsh 0.1.x developer preview; interfaces may shift with dsh.

Plugins

PackageWhat it does
dsh-plugin-secret-guardBlocks model-facing tools from reading secret/PII files (.env, private keys, credentials, …), denying with a reason via tools/pre-execute.
dsh-plugin-script-execAdds a run_script tool: write the script to disk, then run it — avoiding the quote-escaping problems of inline scripts on Windows (pwsh files get a UTF-8 BOM).

See each package's README for install, config, and tool parameters.

Install

dsh plugin --profile web add -w <package-name>

Mount it in the profile's cordis.patch.yml (use - insert: to add a new row, not a bare - id:):

- insert:
    - id: secret-guard
      name: dsh-plugin-secret-guard

Restart dsh web to take effect. dsh --profile web --dump-config confirms the row is present.

Conventions

  • Each plugin is an independent npm package (dependency weights differ, so install units stay separate); sharing one repo keeps maintenance cheap.
  • Package names are prefixed dsh-plugin-*, and the repo carries the dsh-plugin GitHub topic.
  • Plugins take zero @deepseek-ai/dsh-* imports (the dsh 0.1.x-rc loader does not resolve host internal imports for third-party plugins), constructing the tool object directly when registering.

License

MIT

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

测试已检测

仓库信息

开发语言
JavaScript
许可证
MIT
最后更新
2026年8月15日 11:18

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。