HaoyueQin/dsh-diff-stat

HaoyueQin★ 2TypeScript最后同步: 2026-08-28

在 GitHub 打开

DeepSeek Harness web plugin: inline +N −M diff badges on edit/write tool rows and a per-turn file change summary card. Scroll-windowed diffs, PTC/code-dispatch fallback, undo — no git required.

README 摘要

DSH Diff Stat English 中文 A DeepSeek Harness Web plugin that visualizes agent file changes: inline +N −M badges on mutation tool rows, a per-turn file-change summary card, and full aligned diffs on click. Covers native edit / write calls, the minimal preset's str replace editor , and Code Dispatch (PTC) sub-calls end to end. No git dependency, no third-party plugin dependencies. Features - Two kernel generations, one build — the same bundle serves harness 0.1.1-rc.2 and 0.1.2-alpha.1 (whose client-runtime package, view envelope and service names all changed); diff hunks are read from the tools' persisted wire meta on both - Inline +N −M badges — takes over the stock mutation rows for edit , write and str replace editor (keyed lower-priority shadow; uninstall restores stock). Counts are the real changed lines — the same LCS walk the diff renders — estimated from the arguments while running, exact once the result settles - Aligned diff window — expanding a row opens a height-capped scrollable unified view. Both sides are LCS-aligned first: shared lines render as up to ±3 lines of context around each change, untouched runs collapse into ⋯, and the footer counts exactly the rendered row…

在 GitHub 查看完整 README →
Agent/智能体ai-agentcode-reviewcordisdeepseekdeepseek-harnessdeveloper-toolsdiffdiff-viewer

分类