The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { OPENCODE2_PERMISSION_PROMPT, type OrchestratorFixtureInput } from "../shared.ts"; |
| 2 | |
| 3 | export function openCode2PermissionInput(): OrchestratorFixtureInput { |
| 4 | return { |
| 5 | runtimeMode: "approval-required", |
| 6 | steps: [ |
| 7 | { type: "message", text: OPENCODE2_PERMISSION_PROMPT }, |
| 8 | { type: "approve_next_runtime_request" }, |
| 9 | { type: "approve_next_runtime_request", decision: "decline" }, |
| 10 | { type: "approve_next_runtime_request", decision: "decline" }, |
| 11 | { type: "approve_next_runtime_request", decision: "decline" }, |
| 12 | ], |
| 13 | }; |
| 14 | } |