@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 16 lines 527 Bytes
Raw
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 }