mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
* refactor: centralize IDE diff interaction in CoreToolScheduler - 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 * fix(core): fall back to CLI confirmation when IDE diff open fails * fix(core): narrow IDE diff error handling scope --------- Co-authored-by: 胡玮文 <huweiwen.hww@alibaba-inc.com> Co-authored-by: tanzhenxin <tanzhenxing1987@gmail.com> |
||
|---|---|---|
| .. | ||
| channels | ||
| cli | ||
| core | ||
| sdk-java | ||
| sdk-typescript | ||
| test-utils | ||
| vscode-ide-companion | ||
| web-templates | ||
| webui | ||
| zed-extension | ||