Skip to content

refactor(core): share file diff construction - #39586

Merged
opencode-agent[bot] merged 1 commit into
v2from
shared-file-diff
Jul 30, 2026
Merged

refactor(core): share file diff construction#39586
opencode-agent[bot] merged 1 commit into
v2from
shared-file-diff

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • extract the shared edit/write FileDiff construction
  • preserve write status selection for added and modified files
  • leave patch-specific diff handling unchanged

Checks

  • bun typecheck (packages/core)
  • bun test test/tool-edit.test.ts test/tool-write.test.ts (24 passed)
  • scoped oxlint (one pre-existing warning in edit.ts)

Requested by: @rekram1-node (Aiden Cline via Slack)

@opencode-agent
opencode-agent Bot enabled auto-merge (squash) July 30, 2026 00:10
@opencode-agent
opencode-agent Bot merged commit 97786af into v2 Jul 30, 2026
9 of 10 checks passed
@opencode-agent
opencode-agent Bot deleted the shared-file-diff branch July 30, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant