Skip to content

Add file-scoped full-context diff viewing#134

Merged
BunsDev merged 2 commits into
mainfrom
okcode/47d7c301
Apr 1, 2026
Merged

Add file-scoped full-context diff viewing#134
BunsDev merged 2 commits into
mainfrom
okcode/47d7c301

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 1, 2026

Summary

  • Add a per-file diff mode toggle between patch and full-file context in the diff panel.
  • Thread the new contextMode and optional relativePath through orchestration contracts, query keys, and checkpoint diff fetching.
  • Extend checkpoint diff generation to request full unified context and file-scoped git diffs when needed.
  • Update diff review state to persist each file’s selected context mode and cover it with tests.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Added/updated unit tests for orchestration input parsing, websocket request decoding, and diff file review state behavior.

- Propagate relative file paths and context mode through diff queries
- Add per-file patch/full toggle in the diff panel and persist review state
- Extend orchestration contracts and tests for scoped full-context diffs
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 1, 2026 2:43am

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Apr 1, 2026
- Skip undefined checkpoint diff inputs when building queries
- Tighten diff panel formatting and test typing
@BunsDev BunsDev merged commit 3cbfe4a into main Apr 1, 2026
8 of 9 checks passed
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