test(coding-agent): align ctx fixtures with settled-component cache and todo commit-on-execute

- Added transcriptMessageComponents to every InteractiveMode ctx test literal; #6033's reuse cache made the field required and addMessageToChat populates it unconditionally.
- Wired setTodoPhases into the eager-todo ToolSession fixture to mirror sdk.ts; the test relied on the stale message_end todo replay #6148 removed.
This commit is contained in:
can1357
2026-07-22 21:32:12 +02:00
parent dd80dcd035
commit 58a2acd330
25 changed files with 28 additions and 0 deletions
@@ -775,6 +775,7 @@ function createEventControllerFixture() {
updateEditorTopBorder: vi.fn(),
addMessageToChat,
updatePendingMessagesDisplay,
transcriptMessageComponents: new WeakMap(),
pendingTools: new Map(),
session: {},
get viewSession() {