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

main
ts 31 lines 702 Bytes
Raw
1 import {
2 MESSAGE_STEERING_INITIAL_PROMPT,
3 MESSAGE_STEERING_STEER_PROMPT,
4 type OrchestratorFixtureInput,
5 } from "../shared.ts";
6
7 export function messageSteeringInput(): OrchestratorFixtureInput {
8 return {
9 steps: [
10 { type: "message", text: MESSAGE_STEERING_INITIAL_PROMPT },
11 {
12 type: "steer",
13 text: MESSAGE_STEERING_STEER_PROMPT,
14 targetRunIndex: 1,
15 },
16 ],
17 };
18 }
19
20 export function messageRestartInput(): OrchestratorFixtureInput {
21 return {
22 steps: [
23 { type: "message", text: MESSAGE_STEERING_INITIAL_PROMPT },
24 {
25 type: "restart",
26 text: MESSAGE_STEERING_STEER_PROMPT,
27 targetRunIndex: 1,
28 },
29 ],
30 };
31 }