@open330/oac 2026.220.2 → 2026.221.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,7 @@ import {
32
32
  createSandbox,
33
33
  epicAsTask,
34
34
  executeTask
35
- } from "./chunk-QPVNC7S4.js";
35
+ } from "./chunk-VX3VMPD2.js";
36
36
  import {
37
37
  UNLIMITED_BUDGET,
38
38
  createEventBus,
@@ -574,16 +574,8 @@ async function runDoctorChecks() {
574
574
  status: claudeResult.ok ? "pass" : "fail",
575
575
  message: claudeResult.ok ? void 0 : explainCommandFailure("claude", claudeResult)
576
576
  });
577
- const codexResult = await runCommand("codex", ["--version"]);
578
- const codexVersion = extractVersion(codexResult.stdout) ?? "--";
579
- checks.push({
580
- id: "codex",
581
- name: "Codex CLI",
582
- requirement: "installed",
583
- value: codexVersion,
584
- status: codexResult.ok ? "pass" : "fail",
585
- message: codexResult.ok ? void 0 : explainCommandFailure("codex", codexResult)
586
- });
577
+ const codexCheck = await checkCodexCli();
578
+ checks.push(codexCheck);
587
579
  const opencodeResult = await runCommand("opencode", ["--version"]);
588
580
  const opencodeVersion = extractVersion(opencodeResult.stdout) ?? "--";
589
581
  checks.push({
@@ -628,6 +620,38 @@ async function checkGithubAuth() {
628
620
  message: "No GitHub authentication detected. Set GITHUB_TOKEN or run `gh auth login`."
629
621
  };
630
622
  }
623
+ async function checkCodexCli() {
624
+ const codexResult = await runCommand("codex", ["--version"]);
625
+ if (codexResult.ok) {
626
+ const version = extractVersion(codexResult.stdout) ?? "--";
627
+ return {
628
+ id: "codex",
629
+ name: "Codex CLI",
630
+ requirement: "installed",
631
+ value: version,
632
+ status: "pass"
633
+ };
634
+ }
635
+ const whichResult = await runCommand("which", ["codex"]);
636
+ if (whichResult.ok && whichResult.stdout.trim().length > 0) {
637
+ return {
638
+ id: "codex",
639
+ name: "Codex CLI",
640
+ requirement: "installed",
641
+ value: "installed",
642
+ status: "pass",
643
+ message: "Version check timed out \u2014 binary found in PATH."
644
+ };
645
+ }
646
+ return {
647
+ id: "codex",
648
+ name: "Codex CLI",
649
+ requirement: "installed",
650
+ value: "--",
651
+ status: "fail",
652
+ message: explainCommandFailure("codex", codexResult)
653
+ };
654
+ }
631
655
  function renderDoctorOutput(ui, checks, allPassed) {
632
656
  console.log("Checking environment...");
633
657
  console.log("");
@@ -700,7 +724,7 @@ async function runCommand(command, args) {
700
724
  const { execa: execa3 } = await import("execa");
701
725
  const result = await execa3(command, args, {
702
726
  reject: false,
703
- timeout: 3e4,
727
+ timeout: 1e4,
704
728
  stdin: "ignore"
705
729
  });
706
730
  return {
@@ -3175,7 +3199,7 @@ function registerCommands(program) {
3175
3199
  program.addCommand(createExplainCommand());
3176
3200
  }
3177
3201
  async function createCliProgram() {
3178
- const version = true ? "2026.220.2" : "0.0.0";
3202
+ const version = true ? "2026.221.0" : "0.0.0";
3179
3203
  const program = new Command13();
3180
3204
  program.name("oac").description("Open Agent Contribution CLI").version(version).option("--config <path>", "Config file path", "oac.config.ts").option("--verbose", "Enable verbose logging", false).option("--quiet", "Suppress non-error output", false).option("--json", "Output machine-readable JSON", false).option("--no-color", "Disable ANSI colors");
3181
3205
  registerCommands(program);
@@ -3205,4 +3229,4 @@ export {
3205
3229
  createCliProgram,
3206
3230
  runCli
3207
3231
  };
3208
- //# sourceMappingURL=chunk-LRTQCVQK.js.map
3232
+ //# sourceMappingURL=chunk-SUN44O2W.js.map