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 ピア範囲
>=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

ドキュメント

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.