hj01857655/dsh-step-trace ↗★ 0

dsh-step-trace

Record every step the agent took, and walk through it forwards and backwards to find where it went wrong. 适合需要调试智能体错误、回溯执行步骤的开发者。

パッケージ
dsh-step-trace
互換性
未検証
Cordis ピア範囲
^4.0.1
バージョン
0.5.1
ライセンス
MIT
最終更新
2026/09/19

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hj01857655/dsh-step-trace

ドキュメント

README 全文を読む ↗

dsh-step-trace

npm version npm downloads CI license node GitHub stars dsh plugin

Record every step the agent took, and walk through it forwards and backwards to find where it went wrong.

Install

dsh plugin --profile web add dsh-step-trace

What it does

  • Record. Every model response and tool call is stored as a trace step in .replay/.jsonl.
  • Step through. Inspect the full input and output at each step, forward and backward.
  • Branch. Fork a new session from any step — "what if the agent had done X instead?"
  • Divergence detection. Given two sessions for the same task, find the first step where they diverge.
  • Panel. Session list with step-through viewer.

CLI

dsh-step-trace list              # list recorded sessions
dsh-step-trace trace         # show all steps in a session
dsh-step-trace step       # inspect step N
dsh-step-trace diverge     # find where two sessions diverge

License

MIT