mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-29 03:44:06 +08:00
0e19a61e49
The pruning was only wired into the conflict-resolution path, but the unconditional pre-merge pass and the ref reconciler kept the naive additive merge, so stale upstream patch entries survived whenever the root package.json did not hit a git conflict. Extract prunePatchedDependencies and call it before the preserve loop in all three paths.