dsh-task-dispatch

按工作空间或会话 id 给真实的 DSH 会话派发任务;结果写入持久任务台账,查询时不会触发模型。它在 127.0.0.1:7391 提供 HTTP 接口,首次运行自动生成令牌并要求 Bearer 认证(存放在 ~/.dsh/relay/token),拒绝非回环 Host 与外部 Origin;任务结果以 JSON 文件存在 ~/.dsh/relay/tasks,可选的 notifyUrl 会收到每个完成任务的结果。

插件介绍

按工作空间或会话 id 给真实的 DSH 会话派发任务;结果写入持久任务台账,查询时不会触发模型。它在 127.0.0.1:7391 提供 HTTP 接口,首次运行自动生成令牌并要求 Bearer 认证(存放在 ~/.dsh/relay/token),拒绝非回环 Host 与外部 Origin;任务结果以 JSON 文件存在 ~/.dsh/relay/tasks,可选的 notifyUrl 会收到每个完成任务的结果。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:vinson1101/dsh-task-dispatch

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.

版本兼容情况

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