mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-14 08:14:19 +00:00
|
Some checks are pending
Qwen Code CI / CodeQL (push) Waiting to run
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
* feat(core): implement mid-turn queue drain for agent execution Inject queued user messages between tool execution steps within a single turn, so the model sees them immediately instead of waiting for the entire round to complete. - Add `dequeueAll()` to AsyncMessageQueue - Add `midTurnDrain` callback to ReasoningLoopOptions - Drain queue after processFunctionCalls, inject as text parts - AgentComposer always enqueues directly (no local buffering) - Add QUEUE_MESSAGES_CONSUMED event for UI sync Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(cli): add mid-turn queue drain to main session Extend mid-turn queue drain to the main session's tool execution path (useGeminiStream). Previously only agent tabs had this feature. - Add midTurnDrainRef parameter to useGeminiStream - Inject queued messages in handleCompletedTools before submitQuery - Bridge useMessageQueue to drain ref in AppContainer via ref pattern Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: address Copilot review feedback on mid-turn drain - Guard midTurnDrain with abort check to prevent message loss on cancel - Synchronously clear messageQueueRef to prevent duplicate drains - Only clear pending display on IDLE status, not all status changes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: scope mid-turn drain to main session only Revert subagent-path changes (AgentCore, AgentInteractive, AgentComposer, AsyncMessageQueue, agent-events) to keep the PR focused on the main session, which is easier to test and validate. Subagent mid-turn drain can be added in a follow-up PR. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: address Copilot review on main session mid-turn drain - Move synchronous queue ref into useMessageQueue itself, expose drainQueue() for atomic drain (fixes race between addMessage and drain) - Record drained messages as USER history items so the transcript stays complete - Simplify AppContainer bridge to just midTurnDrainRef.current = drainQueue Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: guard mid-turn drain against cancelled turns - Skip drain when turnCancelledRef or abortController signal is set, so queued messages stay for the next turn instead of being lost - Restore ref-based queue bridge (drainQueue removed from useMessageQueue) - Keep synchronous ref clear to prevent duplicate drains Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| channels | ||
| cli | ||
| core | ||
| sdk-java | ||
| sdk-typescript | ||
| test-utils | ||
| vscode-ide-companion | ||
| web-templates | ||
| webui | ||
| zed-extension | ||