lemonmmice/dsh-agent-toolchain--plugins-dsh-api-visualizer ↗★ 0
@dsh-agent-toolchain/dsh-api-visualizer
API capture visualizer for the dsh web GUI: a sidebar entry plus a live panel showing API-call records the agent captures from the client process (method / url / status / duration / headers / bodies / notes). Records are appended to a JSONL store via the api_capture_append agent tool or the /api/dsh-api-visualizer/ingest route; the panel polls and renders them. No dsh source changes. 适合需要调试、记录和分析Agent与客户端之间网络流量的开发者。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lemonmmice/dsh-agent-toolchain#8dc0b45342b159d82fcc5cda36110d2bdae97fe1&path:plugins/dsh-api-visualizer使用方式
- 重启 DSH(插件注册与 client.js 加载在启动时生效),侧边栏出现「接口捕获」入口。
- 实时捕获(Fiddler 式):面板里点「开始实时捕获」,宿主引擎开始 tail 客户端跟踪日志
(默认
%TEMP%\uiprobe-net-trace.log),客户端流量实时流进列表(source=realtime); 点「停止实时捕获」暂停。要求客户端已注入system.diagnostics跟踪配置并重启过。 - agent 手动上报:用
api_capture_append工具追加记录(method/url 必填),同样实时显示。 - 直接灌入:
POST /api/dsh-api-visualizer/ingest(body{records:[...]},仅限本机回环)。