()
| 269 | } |
| 270 | |
| 271 | idle() { |
| 272 | this.endReasoningPhase() |
| 273 | this.activeTools = [] |
| 274 | this.streamTimer = clear(this.streamTimer) |
| 275 | this.bufRef = '' |
| 276 | this.pendingSegmentTools = [] |
| 277 | this.segmentMessages = [] |
| 278 | |
| 279 | patchTurnState({ |
| 280 | streamPendingTools: [], |
| 281 | streamSegments: [], |
| 282 | streaming: '', |
| 283 | subagents: [], |
| 284 | tools: [], |
| 285 | turnTrail: [] |
| 286 | }) |
| 287 | patchUiState({ busy: false }) |
| 288 | resetFlowOverlays() |
| 289 | } |
| 290 | |
| 291 | // `keepBusy` holds the session busy after interrupting so a queued message |
| 292 | // drains on the gateway's real settle edge (message.complete, suppressed |
no test coverage detected