dsh-exec

在终端、脚本、CI 或另一个 agent 里一行调用 DeepSeek Harness:会话由桌面宿主进程创建,因此会实时出现在侧边栏并能继续;stdout 默认只有最终回答(可选 NDJSON 事件流),四个 Agent 预设(standard / ptc / minimal / cordis)可按次选择。它提供需要 bearer token 的回环 HTTP 路由,设置路由另外接受来自应用页面的同源请求。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

插件介绍

在终端、脚本、CI 或另一个 agent 里一行调用 DeepSeek Harness:会话由桌面宿主进程创建,因此会实时出现在侧边栏并能继续;stdout 默认只有最终回答(可选 NDJSON 事件流),四个 Agent 预设(standard / ptc / minimal / cordis)可按次选择。它提供需要 bearer token 的回环 HTTP 路由,设置路由另外接受来自应用页面的同源请求。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-exec

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:Eray114514/dsh-exec

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令