@jaromil/gestalt 0.16.0 → 0.17.0
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 +45 -16
- package/bin/gestalt +14 -14
- package/lib/gestalt.mjs +6792 -0
- package/lib/{gestalt → legacy/gestalt} +319 -47
- package/lib/native/LICENSE.txt +17 -0
- package/lib/native/gestalt-owned-process.exe +0 -0
- package/lib/native/gestalt-owned-process.exe.provenance.json +44 -0
- package/package.json +6 -4
- package/postinstall.mjs +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
# Gestalt
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Gestalt manages an isolated Codex profile and its Agents, context-mode and
|
|
4
|
+
skills. It keeps the existing Linux and macOS routes, including optional Mobile.
|
|
5
|
+
The native core candidate was validated on Windows x64. Public npm version
|
|
6
|
+
`0.16.1` supports Linux and macOS. On Windows, check that the version you plan
|
|
7
|
+
to install lists `win32`, or use an explicitly supplied, verified tarball.
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm view @jaromil/gestalt@latest version os
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Agents-only setup needs Node.js 24 or newer, npm and an installed, compatible
|
|
14
|
+
Codex CLI. Linux and macOS also require Bash. Native Windows x64 uses PowerShell
|
|
15
|
+
or cmd under a standard user account, without Bash, WSL, Developer Mode or a
|
|
16
|
+
compiler. On Windows, full `gestalt install` and the default `gestalt update`
|
|
17
|
+
also require Git on `PATH` for the Git-backed skill collection. Use Git to
|
|
18
|
+
clone or update a local Agents checkout.
|
|
19
|
+
|
|
20
|
+
Native Windows Serena, Playwright/Chrome and Mobile hosting are deferred. Core
|
|
21
|
+
Agents/context-mode setup and core updates report these omissions. Explicit
|
|
22
|
+
requests for deferred components fail before setup changes the profile.
|
|
23
|
+
Other Windows architectures and UNC paths were outside the validation.
|
|
24
|
+
macOS retains its best-effort Unix behavior.
|
|
25
|
+
|
|
26
|
+
With npm 11, install a release available for your platform.
|
|
6
27
|
|
|
7
28
|
```sh
|
|
8
29
|
npm install -g @jaromil/gestalt
|
|
@@ -13,16 +34,25 @@ When install scripts are allowed, global installation makes the command availabl
|
|
|
13
34
|
and automatically installs or reconciles Gestalt Agents, their context-mode runtime, and the isolated Codex
|
|
14
35
|
profile under `~/.codex-gestalt`. Your normal `~/.codex` profile remains separate.
|
|
15
36
|
|
|
16
|
-
npm 12 requires approval for install scripts. Allow
|
|
37
|
+
npm 12 requires approval for install scripts. Allow the registry package's
|
|
38
|
+
lifecycle script with the following command. npm 12.2.2 requires at least
|
|
39
|
+
Node 24.15.0 when using Node 24.
|
|
17
40
|
|
|
18
41
|
```sh
|
|
19
42
|
npm install -g @jaromil/gestalt --allow-scripts=@jaromil/gestalt
|
|
20
43
|
```
|
|
21
44
|
|
|
22
45
|
Use the same flag for npm 12 updates unless the package is already approved in
|
|
23
|
-
your npm configuration.
|
|
46
|
+
your npm configuration. For a local tarball, approve its resolved `file:` identity.
|
|
47
|
+
This PowerShell example uses a tarball supplied separately.
|
|
24
48
|
|
|
25
|
-
|
|
49
|
+
```powershell
|
|
50
|
+
$tarball = (Resolve-Path .\gestalt-candidate.tgz).Path
|
|
51
|
+
npm install -g "--allow-scripts=file:$tarball" $tarball
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
On Unix, `gestalt install` can also add Mobile and the optional skill collection.
|
|
55
|
+
On Windows it installs the available core and reports deferred components.
|
|
26
56
|
Retry or refresh only Agents with `gestalt agents install` or `gestalt agents update`.
|
|
27
57
|
Setup errors fail the npm installation and print recovery instructions.
|
|
28
58
|
|
|
@@ -30,11 +60,10 @@ To install only the wrapper, use `npm install -g @jaromil/gestalt --ignore-scrip
|
|
|
30
60
|
run `gestalt agents install` later. Local dependency installs and npx inspection
|
|
31
61
|
do not automatically provision a user profile.
|
|
32
62
|
|
|
33
|
-
|
|
34
|
-
gestalt
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
```
|
|
63
|
+
Run `gestalt --help`, `gestalt --version` and `gestalt doctor` to inspect the
|
|
64
|
+
installed command. On Windows use `gestalt.cmd` explicitly from PowerShell
|
|
65
|
+
or cmd if needed. The version's first line names the manager version. The
|
|
66
|
+
remaining lines report local component status, including deferrals.
|
|
38
67
|
|
|
39
68
|
Update the npm-installed command with:
|
|
40
69
|
|
|
@@ -46,11 +75,11 @@ npm install -g @jaromil/gestalt@latest
|
|
|
46
75
|
updating this package. It preserves the npm-managed executable and package metadata.
|
|
47
76
|
Installing a newer global npm version also reconciles Agents automatically.
|
|
48
77
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
78
|
+
To restore a previously validated compatible npm version, install it by its
|
|
79
|
+
exact version with `--ignore-scripts`. This restores the command and package
|
|
80
|
+
files. Retain the current profile and data, then check component compatibility
|
|
81
|
+
before reconciling Agents again. An unknown cleanup state after a failed setup
|
|
82
|
+
requires inspection of the retained state before retrying.
|
|
54
83
|
|
|
55
84
|
You can also run the command without a global installation:
|
|
56
85
|
|
package/bin/gestalt
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// npm owns this installation, including when invoked through its global shim.
|
|
3
|
+
if (process.platform === 'win32' && process.arch !== 'x64') {
|
|
4
|
+
console.error('gestalt: this release supports native Windows x64 only; a matching native helper is unavailable for this architecture');
|
|
5
|
+
process.exitCode = 1;
|
|
6
|
+
} else {
|
|
7
|
+
process.env.GESTALT_MANAGER_DISTRIBUTION = 'npm';
|
|
8
|
+
const { main } = await import('../lib/gestalt.mjs');
|
|
9
|
+
try { process.exitCode = await main(); }
|
|
10
|
+
catch (error) {
|
|
11
|
+
console.error(`gestalt: ${error instanceof Error ? error.message : 'CLI failed'}`);
|
|
12
|
+
process.exitCode = 1;
|
|
13
|
+
}
|
|
14
|
+
}
|