Skip to content

fix(ui): better handle patch file support when rendering patch/edit tools#26828

Merged
Brendonovich merged 7 commits into
devfrom
fix/ui-partial-patch-diff
May 11, 2026
Merged

fix(ui): better handle patch file support when rendering patch/edit tools#26828
Brendonovich merged 7 commits into
devfrom
fix/ui-partial-patch-diff

Conversation

@Brendonovich
Copy link
Copy Markdown
Member

@Brendonovich Brendonovich commented May 11, 2026

Fixes patch tool diffs rendering always starting from line number 1. The partial patch that gets provided from the server was previously being interpreted as being a full-file diff, ignoring the line range of the diff

  • Still need to fix for edit tool with deepseek
before after
image image

@Brendonovich Brendonovich enabled auto-merge (squash) May 11, 2026 07:33
@Brendonovich Brendonovich disabled auto-merge May 11, 2026 07:33
@Brendonovich Brendonovich enabled auto-merge (squash) May 11, 2026 08:22
@Brendonovich Brendonovich disabled auto-merge May 11, 2026 08:41
@Brendonovich Brendonovich changed the title fix(ui): support partial patch file rendering in apply-patch fix(ui): better handle patch file support when rendering patch/edit tools May 11, 2026
@Brendonovich Brendonovich merged commit c933504 into dev May 11, 2026
11 checks passed
@Brendonovich Brendonovich deleted the fix/ui-partial-patch-diff branch May 11, 2026 09:22
joshue031 pushed a commit to joshue031/opencode that referenced this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant