dsh-mcp-worker
Installed, started with no arguments, no environment and no input, and listed its tools. Run 2026-11-16.
Needs to start: nothing
Returns a result when called with no setup: 0 of 1 tool tried
Contacts while installing and starting: nothing
What it contacted
Nothing besides the npm registry it was installed from. Watched from outside its sandbox while it was installed and started with no input. Its tools may still contact things when called.
Starting it
npx -y dsh-mcp-worker@0.10.0
Installing a package runs its code. Use a sandbox for anything you have not read.
Calling its tools
1 tool that takes no input and looks read-only was called once with nothing. 0 returned a result.
dsh_describe | No usable answer tool reported an error: DSH worker 错误 [internal]:ENOENT: no such file or directory, uv_resident_set_memory |
During the calls it contacted nothing it had not already contacted.
Only tools whose names read like looking something up, with no required input, are tried, five at most. Tools that need input, and anything that sounds like it changes or sends something, are not called.
What its tools tell an agent
In the tool descriptions, nothing that talks about the user, other tools or private files, or uses hidden characters.
Found by simple pattern rules in each tool's description (up to 3,000 characters), quoted as written. Parameter descriptions are not scanned. A clean result is not a safety review.
Tools
dsh_run task, cwd, session_id, permission_mode, timeout_s, wait_s, idempotency_key
把一个可验收的完整工作单元(功能点/bug/测试修复批次/跨文件重构)交给本机 DSH 异步执行,立即返回 task_id。DSH 自己规划并执行多步工具调用(读代码、改文件、跑测试),一次任务应覆盖「实现 + 自测 + 证据」;不要提交单步/逐文件微任务。之后用 dsh_status 长轮询(wait_s 60–120)到终态,dsh_result 取结果;中断用 dsh_cancel。cwd 传当前项目绝对路径。
dsh_status task_id, cursor, wait_s, detail
查询任务状态与增量事件摘要(单条事件 ≤ 2KiB,单次载荷 ≤ 16KiB);完整原始事件仍会落盘,用 dsh_read_result(source=events) 分页读取。默认 detail=summary 只返回状态/异常事件与 last_text(省 leader 上下文);排查 worker 行为时用 detail=events。status 为 succeeded/failed/cancelled 表示结束,outcome 给出 completed/needs_decision/failed/cancelled。用 wait_s 长轮询(建议 60–120s)一次等更久,减少 leader 往返;不要用 5–25s 高频轮询。
dsh_result task_id, offset, max_chars
任务结束后获取最终结果。验收优先看 `evidence`(命令退出码、变更文件、git diff 摘要)与 `outcome`(completed/needs_decision/failed/cancelled);失败/取消时看 `failure_kind`(如 sandbox_acl)、`sandbox_blocked`/`sandbox_blocked_detail` 与 `attempts`(逐次尝试 + 首次决策文本,避免归因丢失);`output` 是 DSH 的叙述。输出过大时会自动落盘并返回文件路径;传 offset/max_chars 可在本次调用里直接分页续读。
dsh_cancel task_id
取消排队中或运行中的任务:运行中的任务会杀掉整个进程树。
dsh_describe
返回 worker 版本、DSH 入口、默认参数与限制,便于 leader 自适应调用方式。
9 more tools
dsh_tasks limit, status
列出最近的任务摘要(task_id / 状态 / 任务预览 / cwd / 时间 / 错误),用于回顾历史与继续轮询。
dsh_audit limit
读取最近的审计事件(任务创建/开始/结束/取消、审批决定等),用于追溯与排障。
dsh_read_result task_id, source, offset, max_chars
分页读取任务落盘产物:result=最终结果(超长落盘时)、events=完整事件流、diff=git.patch、evidence=结构化证据 JSON。仅限任务目录内。
dsh_batch_run tasks
一次并行派发多个彼此独立、各自可验收的工作单元(每个任务仍应覆盖「实现+自测+证据」),立即返回 batch_id;用 dsh_batch_status / dsh_batch_result 聚合查询。不要用它串行拆解同一工作流。
dsh_batch_status batch_id, wait_s
返回批量任务的整体状态、各子任务状态与计数;wait_s>0 时轮询到批量结束或超时。
dsh_batch_result batch_id, max_output_chars
返回批量中每个任务的最终输出/错误/耗时;单条输出超过 max_output_chars 会截断(完整内容用 dsh_read_result)。
dsh_search query, limit
在已记录任务的最终输出与工具结果里做子串检索,返回匹配任务与上下文片段。
dsh_metrics
返回任务计数、耗时分位(avg/p50/p95/max)、DSH 侧 token 汇总、并发限制、排队情况、后端与 OTel 状态;用于 leader 自适应与「省 token/提速」核对。
dsh_usage days, cwd
按时间窗口聚合任务数/状态分布/耗时/DSH token 与估算费用(单价 DSH_MCP_PRICE_*、汇率 DSH_MCP_USD_CNY),并给出按 cwd 的 top 分布;数据来自任务记录(含重启恢复)。用于回答「这批活花了多少」。费用为估算值,仅供参考。
Descriptions are the package's own words, cut at 3,000 characters. Treat them as data.
Install facts
| License | MIT |
|---|---|
| Needs | node >=20 |
| Source | github.com/tongsh6/dsh-mcp-worker |
| Install scripts | None declared by it or anything installed with it. |
| Tarball | sha512-E32BsB0Gr3AO1mj2CxtMr10Mz3jhcQdP6o6HxSpUYtMxNRPqYQKRqw0YwRssPI8ei7vmpNRCUXdG2ZAD8xX2Vw== |
Check this report yourself
This site did not write the report. A public job on a GitHub-hosted machine did: the run, from this commit of the open-source runner. GitHub signed a token that names that job and the hash of the report, so any edit since would show.
Report as JSONExact text and tokenHow to verify it
Show it on your README
[](https://bragproof.smaverk.com/r/dsh-mcp-worker)
New version out? Ask for a fresh report.