(cwd)
| 250 | } |
| 251 | |
| 252 | function ensureCodexAvailable(cwd) { |
| 253 | const availability = getCodexAvailability(cwd); |
| 254 | if (!availability.available) { |
| 255 | throw new Error("Codex CLI is not installed or is missing required runtime support. Install it with `npm install -g @openai/codex`, then rerun `/codex:setup`."); |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | function buildNativeReviewTarget(target) { |
| 260 | if (target.mode === "working-tree") { |
no test coverage detected