ax2/dsh-py-doctor ↗★ 0

dsh-py-doctor

提供离线的 Python 与 Django 生产报告诊断工具 适合需要让 Agent 离线分析 Python 报错和 SQL 问题的开发者。

套件
dsh-py-doctor
相容性
待驗證
Harness 依賴範圍
>=0.2.0-rc.1
Cordis 依賴範圍
>=4.0.0
版本
0.1.2
授權
MIT
最近更新
2026年10月12日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ax2/dsh-py-doctor

Configuration

apply(ctx, config) accepts these optional fields, passed by DSH from the profile configuration under the plugin id:

maxInputBytes: 262144   # hard ceiling; over-budget input is refused
maxFrames: 200
maxFailures: 100
maxFindings: 200
maxQueryGroups: 500
maxTaskEntries: 500
minRepeats: 3
toolPrefix: ''          # 'py' registers py__python_traceback, ...
only: []                # ['celery_report'] registers just that tool

maxInputBytes is a refusal threshold. The list caps (maxFrames, maxFailures, maxFindings, maxQueryGroups, maxTaskEntries) clip and set meta.truncated = true with a named note. maxOutputBytes is retained in the config for interface compatibility; structured results are bounded by the list caps and the input budget instead, so it currently acts as a declared-but-unused ceiling.