gaia-framework 1.53.1 → 1.53.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # GAIA — Generative Agile Intelligence Architecture
2
2
 
3
- [![Framework](https://img.shields.io/badge/framework-v1.53.1-blue)]()
3
+ [![Framework](https://img.shields.io/badge/framework-v1.53.3-blue)]()
4
4
  [![License](https://img.shields.io/badge/license-AGPL--3.0-green)]()
5
5
  [![Agents](https://img.shields.io/badge/agents-26-purple)]()
6
6
  [![Workflows](https://img.shields.io/badge/workflows-73-orange)]()
@@ -6,7 +6,7 @@
6
6
  // ─────────────────────────────────────────────────────────────────────────────
7
7
 
8
8
  const { execSync, execFileSync } = require("child_process");
9
- const { mkdtempSync, rmSync, existsSync } = require("fs");
9
+ const { mkdtempSync, rmSync, existsSync, realpathSync } = require("fs");
10
10
  const { join } = require("path");
11
11
  const { tmpdir } = require("os");
12
12
 
@@ -144,6 +144,17 @@ function main() {
144
144
 
145
145
  // Clone the repo to a temp directory
146
146
  tempDir = mkdtempSync(join(tmpdir(), "gaia-framework-"));
147
+ // Resolve 8.3 short names to long paths on Windows (e.g., ELIASN~1 → Elias Nasser)
148
+ // Node's realpathSync doesn't expand 8.3 names, so use PowerShell
149
+ if (IS_WINDOWS) {
150
+ try {
151
+ const longPath = execSync(
152
+ `powershell -NoProfile -Command "(Get-Item -LiteralPath '${tempDir}').FullName"`,
153
+ { encoding: "utf8", stdio: ["pipe", "pipe", "ignore"] }
154
+ ).trim();
155
+ if (longPath && existsSync(longPath)) tempDir = longPath;
156
+ } catch {}
157
+ }
147
158
 
148
159
  // Register cleanup for all exit scenarios
149
160
  process.on("exit", cleanup);
@@ -190,7 +201,17 @@ function main() {
190
201
  try {
191
202
  // Convert all passthrough args that look like paths (contain backslash or drive letter)
192
203
  const posixArgs = passthrough.map(a => IS_WINDOWS && /[\\:]/.test(a) && !a.startsWith("--") ? toPosixPath(a) : a);
193
- execFileSync(bashPath, [toPosixPath(scriptPath), ...posixArgs], {
204
+ const posixScript = toPosixPath(scriptPath);
205
+
206
+ // Debug: on Windows, log the resolved paths if --verbose is passed
207
+ if (IS_WINDOWS && args.includes("--verbose")) {
208
+ info(`Bash: ${bashPath}`);
209
+ info(`Script (Windows): ${scriptPath}`);
210
+ info(`Script (POSIX): ${posixScript}`);
211
+ info(`Temp dir: ${tempDir}`);
212
+ }
213
+
214
+ execFileSync(bashPath, [posixScript, ...posixArgs], {
194
215
  stdio: "inherit",
195
216
  env: { ...process.env, GAIA_SOURCE: toPosixPath(tempDir) },
196
217
  });
package/gaia-install.sh CHANGED
@@ -6,7 +6,7 @@ set -euo pipefail
6
6
  # Installs, updates, validates, and reports on GAIA installations.
7
7
  # ─────────────────────────────────────────────────────────────────────────────
8
8
 
9
- readonly VERSION="1.53.1"
9
+ readonly VERSION="1.53.3"
10
10
  readonly GITHUB_REPO="https://github.com/jlouage/Gaia-framework.git"
11
11
  readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaia-framework",
3
- "version": "1.53.1",
3
+ "version": "1.53.3",
4
4
  "description": "GAIA — Generative Agile Intelligence Architecture installer",
5
5
  "bin": {
6
6
  "gaia-framework": "./bin/gaia-framework.js"