web: tool cards show what ran (command summary + edit/write diffs) #1

Closed
buenosair wants to merge 0 commits from feat/tool-summaries-diffs into master
Owner

What

  • Collapsed tool summary shows the primary arg: bash → command, read/write/edit → path (one line, ellipsis).
  • edit tool body renders line-level LCS diff per edits[] oldText/newText with -/+ coloring.
  • write tool body renders content as added lines (capped at 400).
  • Other tools unchanged.

Proof

  • bun run test: 14 files / 286 tests passed (10 new).
  • bun run build clean; daemon untouched (go vet + go test pass).
  • Reviewer pass: fixed JSX indent + capped write render, re-verified green.
## What - Collapsed tool summary shows the primary arg: bash → command, read/write/edit → path (one line, ellipsis). - edit tool body renders line-level LCS diff per edits[] oldText/newText with -/+ coloring. - write tool body renders content as added lines (capped at 400). - Other tools unchanged. ## Proof - `bun run test`: 14 files / 286 tests passed (10 new). - `bun run build` clean; daemon untouched (go vet + go test pass). - Reviewer pass: fixed JSX indent + capped write render, re-verified green.
buenosair added 1 commit 2026-09-01 15:18:36 +02:00
buenosair closed this pull request 2026-09-01 16:15:17 +02:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: buenosair/lvmh#1