diff --git a/apps/web/tests/subagent-fork-schedule.snapshot.ts b/apps/web/tests/subagent-fork-schedule.snapshot.ts index d205627cf7..62f42cb69a 100644 --- a/apps/web/tests/subagent-fork-schedule.snapshot.ts +++ b/apps/web/tests/subagent-fork-schedule.snapshot.ts @@ -29,7 +29,7 @@ it.skipIf(MODE === 'record')('replays inherited schedule tools and refusals in a .map(file => selectedSessionFixture(join(DIR, file)))) let expected = await Promise.all(paths.map(path => readFile(path, 'utf8'))) const scaffold = await launchWebScaffold({ - replayFixture: paths[0], replayChildFixtures: [paths[1]!], compareReplaySession: false, + replayFixture: paths[0]!, replayChildFixtures: [paths[1]!], compareReplaySession: false, }) try { const sessions: Session[] = [] @@ -48,7 +48,7 @@ it.skipIf(MODE === 'record')('replays inherited schedule tools and refusals in a const activation = await scaffold.ctx.subagents.startActivation({ provider: 'fork', label: 'Check child reminder refusal', delivery: 'caller', signal: new AbortController().signal, - request: { parent, prompt: childPrompt.data.content }, + request: { parent, prompt: [...childPrompt.data.content] }, }) try { await activation.result diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index 295c9d1c56..a1ca391613 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -49,6 +49,7 @@ "tests/minimal-preset.snapshot.ts", "tests/message-feedback-protocol.snapshot.ts", "tests/preset-migration.snapshot.ts", + "tests/subagent-fork-schedule.snapshot.ts", "tests/live-interactions.e2e.ts", "tests/question-composer.e2e.ts", "tests/approval-composer.e2e.ts", diff --git a/tsconfig.host.json b/tsconfig.host.json index 61ee9d67e3..afcff3414a 100644 --- a/tsconfig.host.json +++ b/tsconfig.host.json @@ -44,6 +44,7 @@ "apps/web/tests/minimal-preset.snapshot.ts", "apps/web/tests/message-feedback-protocol.snapshot.ts", "apps/web/tests/preset-migration.snapshot.ts", + "apps/web/tests/subagent-fork-schedule.snapshot.ts", "apps/web/tests/live-interactions.e2e.ts", "apps/web/tests/question-composer.e2e.ts", "apps/web/tests/approval-composer.e2e.ts",