qwen-code/packages
qqqys 2815a2fcd7
revert(vscode-ide-companion): undo #3450 split-stream timestamp sharing (#3573)
#3450 pinned every assistant/thinking segment in a streamed turn to the
same turn-start timestamp so a later user message could not be sorted
between two segments of the previous turn (#3273). That fix turned out
to conflict with the tool-call timeline: tool calls carry their own
arrival timestamp, which is strictly greater than the turn-start
timestamp, so after #3450 every tool call sorted AFTER both assistant
segments instead of between them — the exact 'tool call jumped to the
end' ordering bug users are now reporting.

The two bugs pull the sort key in opposite directions and cannot both
be satisfied by a single timestamp strategy. Roll #3450 back byte-for-
byte on useMessageHandling.ts so the tool-call ordering regression is
fixed immediately; replace the test file with two focused cases that
pin the conflicting invariants so the next fix (likely a monotonic
sequence key shared across messages and tool calls) has a clear
target:

  - tool-call interleave test (passes today): a tool call that arrives
    between two assistant segments must sort strictly between them.
  - #3273 regression test (it.fails today): all assistant segments of
    one turn must sort before a user message sent during the turn.
    Flipped to a normal it() once the proper fix lands.

Refs: #3273, #3450

Co-authored-by: Qwen-Coder <noreply@qwenlm.ai>
2026-04-24 17:13:38 +08:00
..
channels chore: bump version to 0.15.1 (#3541) 2026-04-23 11:06:07 +08:00
cli fix(cli): dispatch queued slash commands through the slash path (#3523) 2026-04-24 17:11:00 +08:00
core fix: Strengthen error handling in qwenOAuth2.ts to prevent unhandled 'error' event (#3481) 2026-04-24 14:43:13 +08:00
sdk-java fix(sdk-java): pass custom env to CLI process (#3543) 2026-04-24 10:37:52 +08:00
sdk-typescript feat(web-search): remove built-in web_search tool, replace with MCP-based approach (#3502) 2026-04-24 11:29:02 +08:00
vscode-ide-companion revert(vscode-ide-companion): undo #3450 split-stream timestamp sharing (#3573) 2026-04-24 17:13:38 +08:00
web-templates chore: bump version to 0.15.1 (#3541) 2026-04-23 11:06:07 +08:00
webui feat(web-search): remove built-in web_search tool, replace with MCP-based approach (#3502) 2026-04-24 11:29:02 +08:00
zed-extension chore(zed-extension): update package version to 0.10.0 2026-02-06 14:26:01 +08:00