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

패키지
dsh-py-doctor
호환성
미검증
Harness peer 범위
>=0.2.0-rc.1
Cordis peer 범위
>=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.