QTATQ233/dsh-jingcha ↗★ 0

@local/dsh-jingcha

鲸察 (dsh-jingcha) · DSH 运行时监察插件:工具调用 / 事件循环 / 错误风暴的实时体检,支持按调用强制停止 适合监控DSH工具调用、事件循环与内存增长,并按需强制停止卡住调用的用户。

Package
@local/dsh-jingcha
Compatibility
Unverified
Version
0.4.3
License
MIT
Last updated
Sep 28, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:QTATQ233/dsh-jingcha

⚙️ 配置

全部在 cordis.patch.yml(每项都有中文注释):

键默认说明
dataDir%DSH_HOME%\data\dsh-jingcha数据目录(status.json / events.jsonl / widget-settings.json)
displayName鲸察控制台前缀与报告标题
toolEnabledfalse是否注册模型可见的查询工具(打开后每请求多约 176 token)
slowCallMs / hangCallMs / stuckCallMs30s / 2min / 5min慢 / 挂起 / 卡住
silenceMs90s「没有输出」判定
approvalWarnMs20s等待审批提示
autoKillAfterMs0(关)自动强停阈值;同时要求没有产出,避免误杀慢任务
memoryLeakWindow / memoryLeakGrowth5 / 0.1内存泄漏预警:连续多少个心跳递增、增幅超过多少才算
previewArgs / redactPreviewstrue / true是否记录参数摘要 / 是否对 token、password 一类片段打码
apiToken空设了就要求 x-jingcha-token 头(多用户机器建议设)