Skip to content

Render inline file diffs in chat work entries#244

Merged
BunsDev merged 1 commit into
mainfrom
okcode/diffs-view-in-chat
Apr 4, 2026
Merged

Render inline file diffs in chat work entries#244
BunsDev merged 1 commit into
mainfrom
okcode/diffs-view-in-chat

Conversation

@BunsDev

@BunsDev BunsDev commented Apr 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Added inline diff rendering for file change work entries in the chat timeline.
  • Extracts diff payloads from orchestration activity data and carries them through session state with size limits to avoid bloating the client.
  • Falls back to the existing changed-files chip list when structured diff data is unavailable.
  • Supports collapsed previews and expanded inline diffs for grouped work entries.

Testing

  • Not run (not requested).
  • Expected validation: bun fmt
  • Expected validation: bun lint
  • Expected validation: bun typecheck

- Preserve provider diff payloads through ingestion
- Add compact inline diff blocks for file changes in the timeline
- Fall back to changed-file chips when no diff data is available
@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 4, 2026 8:45pm
v0-compute-the-platform-to-build Building Building Preview, Open in v0 Apr 4, 2026 8:45pm

@BunsDev BunsDev merged commit 47540ec into main Apr 4, 2026
7 of 10 checks passed
@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 4, 2026
@BunsDev BunsDev deleted the okcode/diffs-view-in-chat branch April 6, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant