ax2/dsh-py-doctor ↗★ 0

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 问题的开发者。

Package
dsh-py-doctor
Compatibility
Unverified
Harness peer range
>=0.2.0-rc.1
Cordis peer range
>=4.0.0
Version
0.1.2
License
MIT
Last updated
Oct 12, 2026

Install

$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.