@open330/oac 2026.221.0 → 2026.221.1

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-VX3VMPD2.js";
35
+ } from "./chunk-EYUQMPVO.js";
36
36
  import {
37
37
  UNLIMITED_BUDGET,
38
38
  createEventBus,
@@ -621,35 +621,36 @@ async function checkGithubAuth() {
621
621
  };
622
622
  }
623
623
  async function checkCodexCli() {
624
- const codexResult = await runCommand("codex", ["--version"]);
625
- if (codexResult.ok) {
626
- const version = extractVersion(codexResult.stdout) ?? "--";
624
+ const npxResult = await runCommand("npx", ["--yes", "@openai/codex", "--version"]);
625
+ if (npxResult.ok) {
626
+ const version = extractVersion(npxResult.stdout) ?? "--";
627
627
  return {
628
628
  id: "codex",
629
629
  name: "Codex CLI",
630
- requirement: "installed",
630
+ requirement: "installed (npm)",
631
631
  value: version,
632
632
  status: "pass"
633
633
  };
634
634
  }
635
- const whichResult = await runCommand("which", ["codex"]);
636
- if (whichResult.ok && whichResult.stdout.trim().length > 0) {
635
+ const codexResult = await runCommand("codex", ["--version"]);
636
+ if (codexResult.ok) {
637
+ const version = extractVersion(codexResult.stdout) ?? "--";
637
638
  return {
638
639
  id: "codex",
639
640
  name: "Codex CLI",
640
- requirement: "installed",
641
- value: "installed",
642
- status: "pass",
643
- message: "Version check timed out \u2014 binary found in PATH."
641
+ requirement: "installed (npm)",
642
+ value: version,
643
+ status: "warn",
644
+ message: "Codex binary found but npm package not available. OAC requires the npm package: npm install -g @openai/codex"
644
645
  };
645
646
  }
646
647
  return {
647
648
  id: "codex",
648
649
  name: "Codex CLI",
649
- requirement: "installed",
650
+ requirement: "installed (npm)",
650
651
  value: "--",
651
652
  status: "fail",
652
- message: explainCommandFailure("codex", codexResult)
653
+ message: "Codex CLI not found. Install via: npm install -g @openai/codex"
653
654
  };
654
655
  }
655
656
  function renderDoctorOutput(ui, checks, allPassed) {
@@ -3199,7 +3200,7 @@ function registerCommands(program) {
3199
3200
  program.addCommand(createExplainCommand());
3200
3201
  }
3201
3202
  async function createCliProgram() {
3202
- const version = true ? "2026.221.0" : "0.0.0";
3203
+ const version = true ? "2026.221.1" : "0.0.0";
3203
3204
  const program = new Command13();
3204
3205
  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");
3205
3206
  registerCommands(program);
@@ -3229,4 +3230,4 @@ export {
3229
3230
  createCliProgram,
3230
3231
  runCli
3231
3232
  };
3232
- //# sourceMappingURL=chunk-SUN44O2W.js.map
3233
+ //# sourceMappingURL=chunk-E2C46KPJ.js.map