gaia-framework 1.54.1 → 1.54.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
@@ -460,7 +460,7 @@ The single source of truth is `_gaia/_config/global.yaml`:
460
460
 
461
461
  ```yaml
462
462
  framework_name: "GAIA"
463
- framework_version: "1.54.1"
463
+ framework_version: "1.54.3"
464
464
  user_name: "your-name"
465
465
  project_name: "your-project"
466
466
  ```
@@ -6,7 +6,7 @@
6
6
  // ─────────────────────────────────────────────────────────────────────────────
7
7
 
8
8
  const { execSync, execFileSync } = require("child_process");
9
- const { mkdtempSync, rmSync, existsSync, realpathSync } = require("fs");
9
+ const { mkdtempSync, rmSync, existsSync, readFileSync, realpathSync } = require("fs");
10
10
  const { join } = require("path");
11
11
  const { tmpdir } = require("os");
12
12
 
@@ -83,9 +83,9 @@ function info(message) {
83
83
  }
84
84
 
85
85
  function cleanup() {
86
- if (tempDir && fs.existsSync(tempDir)) {
86
+ if (tempDir && existsSync(tempDir)) {
87
87
  try {
88
- fs.rmSync(tempDir, { recursive: true, force: true });
88
+ rmSync(tempDir, { recursive: true, force: true });
89
89
  } catch {
90
90
  // Best-effort cleanup
91
91
  }
@@ -94,7 +94,7 @@ function cleanup() {
94
94
 
95
95
  function ensureGit() {
96
96
  try {
97
- childProcess.execSync("git --version", { stdio: "ignore" });
97
+ execSync("git --version", { stdio: "ignore" });
98
98
  } catch {
99
99
  fail(
100
100
  "git is required but was not found.\n" +
@@ -104,7 +104,7 @@ function ensureGit() {
104
104
  }
105
105
 
106
106
  function readPackageVersion(pkgPath) {
107
- const raw = fs.readFileSync(pkgPath, "utf8");
107
+ const raw = readFileSync(pkgPath, "utf8");
108
108
  const pkg = JSON.parse(raw);
109
109
  if (!pkg.version) {
110
110
  throw new Error(`No version field found in ${pkgPath}`);
@@ -144,12 +144,12 @@ Examples:
144
144
 
145
145
  function main(deps) {
146
146
  // Dependency injection for testability — defaults to real modules
147
- const _exec = deps && deps.execSync || childProcess.execSync;
148
- const _execFile = deps && deps.execFileSync || childProcess.execFileSync;
149
- const _mkdtemp = deps && deps.mkdtempSync || fs.mkdtempSync;
150
- const _exists = deps && deps.existsSync || fs.existsSync;
151
- const _join = deps && deps.join || path.join;
152
- const _tmpdir = deps && deps.tmpdir || os.tmpdir;
147
+ const _exec = deps && deps.execSync || execSync;
148
+ const _execFile = deps && deps.execFileSync || execFileSync;
149
+ const _mkdtemp = deps && deps.mkdtempSync || mkdtempSync;
150
+ const _exists = deps && deps.existsSync || existsSync;
151
+ const _join = deps && deps.join || join;
152
+ const _tmpdir = deps && deps.tmpdir || tmpdir;
153
153
 
154
154
  const args = process.argv.slice(2);
155
155
 
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.54.1"
9
+ readonly VERSION="1.54.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.54.1",
3
+ "version": "1.54.3",
4
4
  "description": "GAIA — Generative Agile Intelligence Architecture installer",
5
5
  "bin": {
6
6
  "gaia-framework": "./bin/gaia-framework.js"