EdwardXiao-bit/dsh-run-button ↗★ 0
dsh-run-button
Run button for shell code blocks in DSH replies: executes the snippet through the host shell service and streams its output to a bottom-right dock, or to a bottom-panel tab per run. 适合需要直接在DSH会话中一键执行AI生成的Shell代码并查看输出的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:EdwardXiao-bit/dsh-run-buttonドキュメント
README 全文を読む ↗Configuration
None required. Behaviour that can be tuned:
| Knob | Where | Default |
|---|---|---|
| Poll interval | POLL_MS in lib/client.js | 180 ms |
| Simultaneous runs | MAX_LIVE_RUNS in lib/index.js | 16 |
| Per-stream output cap | MAX_STREAM_BYTES in lib/index.js | 256 KB |
| Finished-run retention | RUN_TTL_MS in lib/index.js | 10 min |
| Recognised languages | SHELL_LANGUAGES in lib/client.js | see table above |