qwen-code/packages
LaZzyMan 501f80a514 fix: handle orphaned funcCall and improve compression logic for tool-heavy conversations
- Strip trailing orphaned funcCall (force=true) before split point calculation,
  so normal compression logic runs cleanly on the remaining history instead of
  requiring ad-hoc special-casing
- Remove redundant lastToolCompletionSplitPoint machinery: after fixing the
  i+2 index bug, lastSplitPoint already subsumes it, making Math.max redundant
- Add MIN_COMPRESSION_FRACTION constant (0.05) to guard against futile API
  calls when historyToCompress is too small relative to total history
- Add tests for orphaned funcCall handling (force=true compresses, force=false NOOP)
- Add test for MIN_COMPRESSION_FRACTION guard

Fixes #2647
2026-03-30 18:00:27 +08:00
..
cli add singal abort for hooks 2026-03-23 16:02:54 +08:00
core fix: handle orphaned funcCall and improve compression logic for tool-heavy conversations 2026-03-30 18:00:27 +08:00
sdk-java fix(core/rateLimit): add support for IdealTalk rate limit error code 1305 2026-02-28 11:05:41 +08:00
sdk-typescript feat: add system prompt customization options in SDK and CLI 2026-03-16 02:57:31 +08:00
test-utils chore: bump version to 0.13.0 2026-03-18 10:41:32 +08:00
vscode-ide-companion recover changes 2026-03-23 11:09:55 +08:00
web-templates refactor(export): clean up unnecessary fields and simplify data structure 2026-03-19 14:33:33 +08:00
webui feat(vscode-ide-companion): add image paste support (#1978) 2026-03-20 13:47:09 +08:00
zed-extension chore(zed-extension): update package version to 0.10.0 2026-02-06 14:26:01 +08:00