olakai-cli 0.7.0 → 0.8.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.
- package/dist/{chunk-GXKHWBGO.js → chunk-B44Y3ZQP.js} +71 -4
- package/dist/{chunk-GXKHWBGO.js.map → chunk-B44Y3ZQP.js.map} +1 -1
- package/dist/{chunk-75YQWZ4Q.js → chunk-E33XD5CO.js} +1385 -19
- package/dist/chunk-E33XD5CO.js.map +1 -0
- package/dist/{doctor-27VDFNP7.js → doctor-TIVMQBE3.js} +3 -3
- package/dist/index.js +35 -3
- package/dist/index.js.map +1 -1
- package/dist/{repair-WSBWAW2B.js → repair-JYRH2ES4.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-75YQWZ4Q.js.map +0 -1
- /package/dist/{doctor-27VDFNP7.js.map → doctor-TIVMQBE3.js.map} +0 -0
- /package/dist/{repair-WSBWAW2B.js.map → repair-JYRH2ES4.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
runDoctor,
|
|
10
10
|
runFixes,
|
|
11
11
|
targetKey
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-B44Y3ZQP.js";
|
|
13
|
+
import "./chunk-E33XD5CO.js";
|
|
14
14
|
import "./chunk-KNGRF4XU.js";
|
|
15
15
|
import "./chunk-KY6OHQZW.js";
|
|
16
16
|
import "./chunk-AVB4N2UN.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
runFixes,
|
|
27
27
|
targetKey
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=doctor-
|
|
29
|
+
//# sourceMappingURL=doctor-TIVMQBE3.js.map
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reconcileCurrentWorkspace,
|
|
15
15
|
removeEntry,
|
|
16
16
|
runMonitorInstall
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-E33XD5CO.js";
|
|
18
18
|
import {
|
|
19
19
|
createAgent,
|
|
20
20
|
createCustomDataConfig,
|
|
@@ -459,6 +459,38 @@ function describeDetection(plugin, projectRoot) {
|
|
|
459
459
|
case "cursor": {
|
|
460
460
|
return "Cursor installed for this user";
|
|
461
461
|
}
|
|
462
|
+
case "gemini-cli": {
|
|
463
|
+
try {
|
|
464
|
+
const homeSettings = path.join(
|
|
465
|
+
process.env.HOME ?? "",
|
|
466
|
+
".gemini",
|
|
467
|
+
"settings.json"
|
|
468
|
+
);
|
|
469
|
+
if (process.env.HOME && fs.existsSync(homeSettings)) {
|
|
470
|
+
return "found ~/.gemini/settings.json";
|
|
471
|
+
}
|
|
472
|
+
const homeDir = path.join(process.env.HOME ?? "", ".gemini");
|
|
473
|
+
if (process.env.HOME && fs.existsSync(homeDir)) {
|
|
474
|
+
return "found ~/.gemini/";
|
|
475
|
+
}
|
|
476
|
+
} catch {
|
|
477
|
+
}
|
|
478
|
+
return "Gemini CLI on PATH";
|
|
479
|
+
}
|
|
480
|
+
case "antigravity": {
|
|
481
|
+
try {
|
|
482
|
+
const cliDir = path.join(
|
|
483
|
+
process.env.HOME ?? "",
|
|
484
|
+
".gemini",
|
|
485
|
+
"antigravity-cli"
|
|
486
|
+
);
|
|
487
|
+
if (process.env.HOME && fs.existsSync(cliDir)) {
|
|
488
|
+
return "found ~/.gemini/antigravity-cli/";
|
|
489
|
+
}
|
|
490
|
+
} catch {
|
|
491
|
+
}
|
|
492
|
+
return "Antigravity (agy) on PATH";
|
|
493
|
+
}
|
|
462
494
|
default: {
|
|
463
495
|
const _exhaustive = plugin.id;
|
|
464
496
|
void _exhaustive;
|
|
@@ -2458,7 +2490,7 @@ async function listCommand6(options) {
|
|
|
2458
2490
|
console.log(formatRegistryTable(registry));
|
|
2459
2491
|
}
|
|
2460
2492
|
async function doctorCommand(options) {
|
|
2461
|
-
const { runDoctor, printDoctorResult, exitCodeForStatus } = await import("./doctor-
|
|
2493
|
+
const { runDoctor, printDoctorResult, exitCodeForStatus } = await import("./doctor-TIVMQBE3.js");
|
|
2462
2494
|
let tool;
|
|
2463
2495
|
if (!options.all) {
|
|
2464
2496
|
tool = await resolveToolFromOptions(options.tool, "status");
|
|
@@ -2476,7 +2508,7 @@ async function doctorCommand(options) {
|
|
|
2476
2508
|
}
|
|
2477
2509
|
async function repairCommand(options) {
|
|
2478
2510
|
const tool = await resolveToolFromOptions(options.tool, "init");
|
|
2479
|
-
const { runRepair, formatRepairResult, exitCodeForRepair } = await import("./repair-
|
|
2511
|
+
const { runRepair, formatRepairResult, exitCodeForRepair } = await import("./repair-JYRH2ES4.js");
|
|
2480
2512
|
const result = await runRepair({
|
|
2481
2513
|
tool,
|
|
2482
2514
|
interactive: isInteractive()
|