@open330/oac 2026.220.2 → 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.
- package/dist/{chunk-LRTQCVQK.js → chunk-E2C46KPJ.js} +39 -14
- package/dist/chunk-E2C46KPJ.js.map +1 -0
- package/dist/{chunk-QPVNC7S4.js → chunk-EYUQMPVO.js} +65 -18
- package/dist/chunk-EYUQMPVO.js.map +1 -0
- package/dist/cli/cli.js +2 -2
- package/dist/cli/index.js +2 -2
- package/dist/dashboard/index.js +1 -1
- package/dist/execution/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-LRTQCVQK.js.map +0 -1
- package/dist/chunk-QPVNC7S4.js.map +0 -1
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
createSandbox,
|
|
33
33
|
epicAsTask,
|
|
34
34
|
executeTask
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EYUQMPVO.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
|
|
578
|
-
|
|
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,39 @@ 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 npxResult = await runCommand("npx", ["--yes", "@openai/codex", "--version"]);
|
|
625
|
+
if (npxResult.ok) {
|
|
626
|
+
const version = extractVersion(npxResult.stdout) ?? "--";
|
|
627
|
+
return {
|
|
628
|
+
id: "codex",
|
|
629
|
+
name: "Codex CLI",
|
|
630
|
+
requirement: "installed (npm)",
|
|
631
|
+
value: version,
|
|
632
|
+
status: "pass"
|
|
633
|
+
};
|
|
634
|
+
}
|
|
635
|
+
const codexResult = await runCommand("codex", ["--version"]);
|
|
636
|
+
if (codexResult.ok) {
|
|
637
|
+
const version = extractVersion(codexResult.stdout) ?? "--";
|
|
638
|
+
return {
|
|
639
|
+
id: "codex",
|
|
640
|
+
name: "Codex CLI",
|
|
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"
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
return {
|
|
648
|
+
id: "codex",
|
|
649
|
+
name: "Codex CLI",
|
|
650
|
+
requirement: "installed (npm)",
|
|
651
|
+
value: "--",
|
|
652
|
+
status: "fail",
|
|
653
|
+
message: "Codex CLI not found. Install via: npm install -g @openai/codex"
|
|
654
|
+
};
|
|
655
|
+
}
|
|
631
656
|
function renderDoctorOutput(ui, checks, allPassed) {
|
|
632
657
|
console.log("Checking environment...");
|
|
633
658
|
console.log("");
|
|
@@ -700,7 +725,7 @@ async function runCommand(command, args) {
|
|
|
700
725
|
const { execa: execa3 } = await import("execa");
|
|
701
726
|
const result = await execa3(command, args, {
|
|
702
727
|
reject: false,
|
|
703
|
-
timeout:
|
|
728
|
+
timeout: 1e4,
|
|
704
729
|
stdin: "ignore"
|
|
705
730
|
});
|
|
706
731
|
return {
|
|
@@ -3175,7 +3200,7 @@ function registerCommands(program) {
|
|
|
3175
3200
|
program.addCommand(createExplainCommand());
|
|
3176
3201
|
}
|
|
3177
3202
|
async function createCliProgram() {
|
|
3178
|
-
const version = true ? "2026.
|
|
3203
|
+
const version = true ? "2026.221.1" : "0.0.0";
|
|
3179
3204
|
const program = new Command13();
|
|
3180
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");
|
|
3181
3206
|
registerCommands(program);
|
|
@@ -3205,4 +3230,4 @@ export {
|
|
|
3205
3230
|
createCliProgram,
|
|
3206
3231
|
runCli
|
|
3207
3232
|
};
|
|
3208
|
-
//# sourceMappingURL=chunk-
|
|
3233
|
+
//# sourceMappingURL=chunk-E2C46KPJ.js.map
|