The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { |
| 2 | OPENCODE2_REVERT_FIRST_PROMPT, |
| 3 | OPENCODE2_REVERT_SECOND_PROMPT, |
| 4 | type OrchestratorFixtureInput, |
| 5 | } from "../shared.ts"; |
| 6 | |
| 7 | export function openCode2RevertInput(): OrchestratorFixtureInput { |
| 8 | return { |
| 9 | steps: [ |
| 10 | { type: "message", text: OPENCODE2_REVERT_FIRST_PROMPT }, |
| 11 | { type: "message", text: OPENCODE2_REVERT_SECOND_PROMPT }, |
| 12 | { type: "rollback", checkpointScopeSuffix: "root", checkpointSuffix: "1" }, |
| 13 | { type: "await_run_status", targetRunIndex: 2, status: "rolled_back" }, |
| 14 | ], |
| 15 | }; |
| 16 | } |