Skip to content

dsh-task-dispatch 0.6.0

Choose a tag to compare

@vinson1101 vinson1101 released this 08 Nov 10:58
· 5 commits to main since this release

按工作空间给真实 DSH 会话派活,并把任务和结果留在可查的台账里。零依赖。

Dispatch work to a real DSH session by workspace path, with a persistent task ledger you can query later. Zero dependencies.

这个仓库里有两个包

包 位置 作用 版本
dsh-task-dispatch 仓库根目录 DSH 插件本体,装在 DSH 里 0.6.0
dsh-task-dispatch-mcp mcp/ MCP 适配层,给 Codex 等客户端 0.4.0

装插件

dsh plugin --profile desktop add https://github.com/vinson1101/dsh-task-dispatch/releases/download/v0.6.0/dsh-task-dispatch-0.6.0.tgz

重启 DSH 后:

curl -s http://127.0.0.1:7391/health

接 Codex

codex mcp add dsh -- node /绝对路径/dsh-task-dispatch/mcp/index.mjs

得到 7 个工具:dsh_send / dsh_ask / dsh_result / dsh_wait / dsh_tasks / dsh_sessions / dsh_workspaces。

已知限制(重要)

  • 没有完成回传:任务结束后不会主动通知调用方。取结果必须查 dsh_result 或等 dsh_wait。
  • notify 只是投递台账,webhook 返回 200 不代表对方已处理。
  • 只监听 127.0.0.1,非回环地址会被拒绝启动。

要求

  • DSH >= 0.2.2-rc.1
  • Node >= 18