gaia-framework 1.27.2 → 1.27.4

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.27.2-blue)]()
3
+ [![Framework](https://img.shields.io/badge/framework-v1.27.4-blue)]()
4
4
  [![License](https://img.shields.io/badge/license-AGPL--3.0-green)]()
5
5
  [![Agents](https://img.shields.io/badge/agents-25-purple)]()
6
6
  [![Workflows](https://img.shields.io/badge/workflows-64-orange)]()
@@ -90,7 +90,7 @@ npx gaia-framework init --yes ~/my-project
90
90
  ### Using the shell script
91
91
 
92
92
  ```bash
93
- git clone https://github.com/J-louage/Gaia-framework.git
93
+ git clone https://github.com/jlouage/Gaia-framework.git
94
94
  bash Gaia-framework/gaia-install.sh init ~/my-project
95
95
  ```
96
96
 
@@ -429,7 +429,7 @@ The single source of truth is `_gaia/_config/global.yaml`:
429
429
 
430
430
  ```yaml
431
431
  framework_name: "GAIA"
432
- framework_version: "1.27.2"
432
+ framework_version: "1.27.4"
433
433
  user_name: "your-name"
434
434
  project_name: "your-project"
435
435
  ```
@@ -10,13 +10,37 @@ const { mkdtempSync, rmSync, existsSync } = require("fs");
10
10
  const { join } = require("path");
11
11
  const { tmpdir } = require("os");
12
12
 
13
- const REPO_URL = "https://github.com/J-louage/Gaia-framework.git";
13
+ const REPO_URL = "https://github.com/jlouage/Gaia-framework.git";
14
14
  const SCRIPT_NAME = "gaia-install.sh";
15
+ const IS_WINDOWS = process.platform === "win32";
15
16
 
16
17
  let tempDir = null;
17
18
 
18
19
  // ─── Helpers ────────────────────────────────────────────────────────────────
19
20
 
21
+ function findBash() {
22
+ if (!IS_WINDOWS) return "bash";
23
+
24
+ // Try bash in PATH first (WSL, Git Bash in PATH, etc.)
25
+ try {
26
+ execSync("bash --version", { stdio: "ignore" });
27
+ return "bash";
28
+ } catch {}
29
+
30
+ // Try Git for Windows default locations
31
+ const gitBashPaths = [
32
+ join(process.env.ProgramFiles || "C:\\Program Files", "Git", "bin", "bash.exe"),
33
+ join(process.env["ProgramFiles(x86)"] || "C:\\Program Files (x86)", "Git", "bin", "bash.exe"),
34
+ join(process.env.LOCALAPPDATA || "", "Programs", "Git", "bin", "bash.exe"),
35
+ ];
36
+
37
+ for (const p of gitBashPaths) {
38
+ if (existsSync(p)) return p;
39
+ }
40
+
41
+ return null;
42
+ }
43
+
20
44
  function fail(message) {
21
45
  console.error(`\x1b[31m✖\x1b[0m ${message}`);
22
46
  process.exit(1);
@@ -135,10 +159,20 @@ function main() {
135
159
  // Insert --source right after the command
136
160
  passthrough.splice(1, 0, "--source", tempDir);
137
161
 
162
+ // Locate bash (critical for Windows support)
163
+ const bashPath = findBash();
164
+ if (!bashPath) {
165
+ fail(
166
+ "bash is required but was not found.\n" +
167
+ " On Windows, install Git for Windows (https://git-scm.com/downloads/win)\n" +
168
+ " which includes bash. Then re-run this command."
169
+ );
170
+ }
171
+
138
172
  info("Running installer...\n");
139
173
 
140
174
  try {
141
- execFileSync("bash", [scriptPath, ...passthrough], {
175
+ execFileSync(bashPath, [scriptPath, ...passthrough], {
142
176
  stdio: "inherit",
143
177
  env: { ...process.env, GAIA_SOURCE: tempDir },
144
178
  });
package/gaia-install.sh CHANGED
@@ -6,8 +6,8 @@ set -euo pipefail
6
6
  # Installs, updates, validates, and reports on GAIA installations.
7
7
  # ─────────────────────────────────────────────────────────────────────────────
8
8
 
9
- readonly VERSION="1.27.2"
10
- readonly GITHUB_REPO="https://github.com/J-louage/Gaia-framework.git"
9
+ readonly VERSION="1.27.4"
10
+ readonly GITHUB_REPO="https://github.com/jlouage/Gaia-framework.git"
11
11
  readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
12
12
 
13
13
  # Temp dir tracking for cleanup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaia-framework",
3
- "version": "1.27.2",
3
+ "version": "1.27.4",
4
4
  "description": "GAIA — Generative Agile Intelligence Architecture installer",
5
5
  "bin": {
6
6
  "gaia-framework": "./bin/gaia-framework.js"
@@ -16,7 +16,7 @@
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://github.com/J-louage/Gaia-framework.git"
19
+ "url": "https://github.com/jlouage/Gaia-framework.git"
20
20
  },
21
21
  "license": "AGPL-3.0",
22
22
  "engines": {