agdi 2.2.1 → 2.2.2

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/dist/index.js +2 -2
  2. 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, cwd as processCwd } from "os";
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 processCwd();
1415
+ return process.cwd();
1416
1416
  }
1417
1417
  function detectEnvironment(overrides) {
1418
1418
  const os2 = platform() === "win32" ? "windows" : platform() === "darwin" ? "darwin" : "linux";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agdi",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "AI-powered app generator - build full-stack apps from natural language in your terminal",
5
5
  "type": "module",
6
6
  "bin": {