agdi 2.2.1 → 2.2.3
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1358,7 +1358,7 @@ import { resolve, dirname, relative, isAbsolute } from "path";
|
|
|
1358
1358
|
|
|
1359
1359
|
// src/security/execution-env.ts
|
|
1360
1360
|
import chalk8 from "chalk";
|
|
1361
|
-
import { platform
|
|
1361
|
+
import { platform } from "os";
|
|
1362
1362
|
import { existsSync, readFileSync } from "fs";
|
|
1363
1363
|
function detectWSL() {
|
|
1364
1364
|
if (platform() !== "linux") return false;
|
|
@@ -1412,7 +1412,7 @@ function detectBackend() {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
}
|
|
1414
1414
|
function getWorkspaceRoot() {
|
|
1415
|
-
return
|
|
1415
|
+
return process.cwd();
|
|
1416
1416
|
}
|
|
1417
1417
|
function detectEnvironment(overrides) {
|
|
1418
1418
|
const os2 = platform() === "win32" ? "windows" : platform() === "darwin" ? "darwin" : "linux";
|
|
@@ -2951,7 +2951,7 @@ ${chalk12.cyan(`/_/ |_|\\_, /\\__,_//_/ `)}
|
|
|
2951
2951
|
${chalk12.cyan(` /____/ `)}
|
|
2952
2952
|
`;
|
|
2953
2953
|
var program = new Command();
|
|
2954
|
-
program.name("agdi").description(chalk12.cyan("\u{1F680} AI-powered coding assistant")).version("2.
|
|
2954
|
+
program.name("agdi").description(chalk12.cyan("\u{1F680} AI-powered coding assistant")).version("2.2.2").configureHelp({
|
|
2955
2955
|
// Show banner only when help is requested
|
|
2956
2956
|
formatHelp: (cmd, helper) => {
|
|
2957
2957
|
return BANNER + "\n" + chalk12.gray(" The Open Source AI Architect") + "\n" + chalk12.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n") + "\n" + helper.formatHelp(cmd, helper);
|