Expand description
Apply parsed update chunks to file content.
This ports applyUpdateChunks and its diagnostics from
packages/opencode-plugin/src/patch-parser.ts.
Functions§
- apply_
update_ chunks - Apply parsed update chunks to original file content, returning the patched text or an error string.
- seek_
sequence - Return only the matched line index for diagnostics that do not need the full tiered match details.