mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-10 02:11:36 -10:00
Revert diffs every restored path, passing them as git diff arguments. Past Windows' 32,767-character command line the spawn failed, after the files were already restored. On Windows, a selection over 24,000 characters is now diffed in byte-sorted groups that share the patch cap, so output matches a single call. Other platforms keep a single call.
@opencode/core
Core runtime services for OpenCode.