mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-04 22:51:08 +00:00
- Move openDiff/confirmation handling from edit.ts and write-file.ts into CoreToolScheduler.openIdeDiffIfEnabled(), called after permission hooks - Use structuredClone in buildInvocation to prevent params mutation leaking to LLM history (fixes #2709 token waste) - Use confirmationDetails as single data source for IDE diff content, only rely on ModifyContext.createUpdatedParams() for parameter transform - Skip inline modify when IDE content unchanged, preserving original tool params for multi-edit-on-same-file scenarios (mitigates #2702) - Remove ideConfirmation field from ToolEditConfirmationDetails - Remove dead resolveIdeDiffForOutcome from ACP Session.ts - Fix memory tool scope fallback in createUpdatedParams Closes #2709 Closes #2673 |
||
|---|---|---|
| .. | ||
| src | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||