dsh-py-doctor
Deterministic, offline Python/Django production-report diagnostics for DeepSeek Harness: tracebacks, pytest, migrations, N+1 SQL, manage.py check, Celery. 适合需要让 Agent 离线分析 Python 报错和 SQL 问题的开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ax2/dsh-py-doctorREADME
Read the full README ↗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.