The best way to control Claude Code, Codex and more from any computer or phone

main
ts 19 lines 593 Bytes
Raw
1 import {
2 OPENCODE2_CANCELLED_PROMPT,
3 OPENCODE2_QUEUED_PROMPT,
4 OPENCODE2_STEER_PROMPT,
5 OPENCODE2_STEER_TEXT,
6 type OrchestratorFixtureInput,
7 } from "../shared.ts";
8
9 export function openCode2InboxInput(): OrchestratorFixtureInput {
10 return {
11 steps: [
12 { type: "message", text: OPENCODE2_STEER_PROMPT },
13 { type: "queue_message", text: OPENCODE2_QUEUED_PROMPT },
14 { type: "queue_message", text: OPENCODE2_CANCELLED_PROMPT },
15 { type: "cancel_queued_run", targetRunIndex: 3 },
16 { type: "steer", text: OPENCODE2_STEER_TEXT, targetRunIndex: 1 },
17 ],
18 };
19 }