gaia-framework 1.53.1 → 1.53.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.
- package/README.md +1 -1
- package/bin/gaia-framework.js +16 -2
- package/gaia-install.sh +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# GAIA — Generative Agile Intelligence Architecture
|
|
2
2
|
|
|
3
|
-
[]()
|
|
4
4
|
[]()
|
|
5
5
|
[]()
|
|
6
6
|
[]()
|
package/bin/gaia-framework.js
CHANGED
|
@@ -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,10 @@ 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
|
+
if (IS_WINDOWS) {
|
|
149
|
+
try { tempDir = realpathSync(tempDir); } catch {}
|
|
150
|
+
}
|
|
147
151
|
|
|
148
152
|
// Register cleanup for all exit scenarios
|
|
149
153
|
process.on("exit", cleanup);
|
|
@@ -190,7 +194,17 @@ function main() {
|
|
|
190
194
|
try {
|
|
191
195
|
// Convert all passthrough args that look like paths (contain backslash or drive letter)
|
|
192
196
|
const posixArgs = passthrough.map(a => IS_WINDOWS && /[\\:]/.test(a) && !a.startsWith("--") ? toPosixPath(a) : a);
|
|
193
|
-
|
|
197
|
+
const posixScript = toPosixPath(scriptPath);
|
|
198
|
+
|
|
199
|
+
// Debug: on Windows, log the resolved paths if --verbose is passed
|
|
200
|
+
if (IS_WINDOWS && args.includes("--verbose")) {
|
|
201
|
+
info(`Bash: ${bashPath}`);
|
|
202
|
+
info(`Script (Windows): ${scriptPath}`);
|
|
203
|
+
info(`Script (POSIX): ${posixScript}`);
|
|
204
|
+
info(`Temp dir: ${tempDir}`);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
execFileSync(bashPath, [posixScript, ...posixArgs], {
|
|
194
208
|
stdio: "inherit",
|
|
195
209
|
env: { ...process.env, GAIA_SOURCE: toPosixPath(tempDir) },
|
|
196
210
|
});
|
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.
|
|
9
|
+
readonly VERSION="1.53.2"
|
|
10
10
|
readonly GITHUB_REPO="https://github.com/jlouage/Gaia-framework.git"
|
|
11
11
|
readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
|
|
12
12
|
|