EdwardXiao-bit/dsh-run-button ↗★ 0
dsh-run-button
在回复的代码块中添加Shell脚本运行按钮 适合需要直接在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 |