1import type { OrchestratorFixtureInput } from "../shared.ts";
2
3const MUSE_SUBAGENT_INTERRUPT_PROMPT =
4 "Spawn one subagent whose only task is to run the shell command `sleep 30` and then reply with exactly: Done. Wait for it to finish, then reply with exactly what it said.";
5
6/** Stop while a Muse native subagent is still running. */
7export function museSubagentInterruptInput(): OrchestratorFixtureInput {
8 return {
9 steps: [
10 { type: "message", text: MUSE_SUBAGENT_INTERRUPT_PROMPT },
11 { type: "interrupt", targetRunIndex: 1, waitForTurnItemType: "subagent" },
12 ],
13 };
14}