Kerberos255/dsh-plugin-diagnostics ↗★ 0

dsh-plugin-diagnostics

统一收集本地插件的加载、失败与任务状态,脱敏写入按日轮转的 JSONL 日志。 适合需要排查插件加载、失败与任务状态的开发者或运维人员。

パッケージ
dsh-plugin-diagnostics
互換性
未検証
Harness ピア範囲
0.2.0-rc.2 || 0.2.1-alpha.1
Cordis ピア範囲
4.0.4 || 4.0.5-alpha.1
バージョン
0.1.3
ライセンス
MIT
最終更新
2026/10/12

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Kerberos255/dsh-plugin-diagnostics

ドキュメント

README 全文を読む ↗

DSH Plugin Diagnostics

Optional privacy-restricted diagnostics for DeepSeek Harness plugins. Records JSONL lifecycle, tool outcomes and bounded error metadata for supported DSH plugins. It never includes chat transcripts, submitted answers, HTTP payloads, user identity, credentials, or arbitrary stack traces.

Operation

Add this bundle to the DSH host plugin list. Other plugins may opt in via the pluginDiagnostics service. Existing plugins continue to run without it.

By default, records are grouped by plugin under the DSH home directory plugin-diagnostics/logs. Each plugin receives at most two 1 MiB files per day, and files older than 14 days are automatically pruned. Log write errors do not interrupt tasks.

Use the record(plugin, level, event, details) service method with controlled plugin identifiers, fixed event names and allowlisted metadata. Runtime captures tool names for recognized plugin tool calls only. It does not capture tool arguments, model output, or user messages.

Development

Run node --test tests/*.test.mjs. Live integration requires a supported DeepSeek Harness host. The repository does not include any user settings, logs or credentials.