@0dai-dev/cli 3.1.9 → 3.2.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.
Files changed (2) hide show
  1. package/bin/0dai.js +5 -5
  2. package/package.json +1 -1
package/bin/0dai.js CHANGED
@@ -444,9 +444,9 @@ async function cmdInit(target, args = []) {
444
444
  // Detect agent auth status for smart onboarding hints
445
445
  const { execFileSync: _ef } = require("child_process");
446
446
  const agents = [];
447
- try { _ef("claude", ["--version"], { timeout: 3000 }); agents.push("claude"); } catch {}
448
- try { _ef("codex", ["--version"], { timeout: 3000 }); agents.push("codex"); } catch {}
449
- try { _ef("gemini", ["--version"], { timeout: 3000 }); agents.push("gemini"); } catch {}
447
+ try { _ef("claude", ["--version"], { timeout: 8000 }); agents.push("claude"); } catch {}
448
+ try { _ef("codex", ["--version"], { timeout: 8000 }); agents.push("codex"); } catch {}
449
+ try { _ef("gemini", ["--version"], { timeout: 8000 }); agents.push("gemini"); } catch {}
450
450
 
451
451
  // Next steps — guide user to first value
452
452
  console.log(`\n ${T}Next steps:${R}`);
@@ -828,7 +828,7 @@ function cmdDoctor(target) {
828
828
  for (const cli of AGENT_CLIS) {
829
829
  let installed = false, ver = null;
830
830
  try {
831
- const out = _ef2(cli.bin, ["--version"], { timeout: 3000 }).toString().trim();
831
+ const out = _ef2(cli.bin, ["--version"], { timeout: 8000 }).toString().trim();
832
832
  installed = true;
833
833
  const m = out.match(/(\d+\.\d+\.\d+)/);
834
834
  if (m) ver = m[1];
@@ -957,7 +957,7 @@ function cmdUpdate(args) {
957
957
  for (const cli of CLIS) {
958
958
  let installed = false, ver = null;
959
959
  try {
960
- const out = _ef3(cli.bin, ["--version"], { timeout: 3000 }).toString().trim();
960
+ const out = _ef3(cli.bin, ["--version"], { timeout: 8000 }).toString().trim();
961
961
  installed = true;
962
962
  const m = out.match(/(\d+\.\d+\.\d+)/);
963
963
  if (m) ver = m[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0dai-dev/cli",
3
- "version": "3.1.9",
3
+ "version": "3.2.1",
4
4
  "description": "One config layer for 5 AI agent CLIs — Claude Code, Codex, OpenCode, Gemini, Aider",
5
5
  "bin": {
6
6
  "0dai": "./bin/0dai.js"