@jaromil/gestalt 0.0.0-stage → 0.15.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 CHANGED
@@ -1,3 +1,56 @@
1
- # Temporary Holding Version
1
+ # Gestalt
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The Gestalt command manages an isolated Codex profile, agent skills, and the
4
+ Gestalt Mobile web interface. Requires Linux or macOS, Bash, Node.js 24 or newer,
5
+ and an installed Codex CLI for automatic Agents setup.
6
+
7
+ ```sh
8
+ npm install -g @jaromil/gestalt
9
+ gestalt cli
10
+ ```
11
+
12
+ When install scripts are allowed, global installation makes the command available
13
+ and automatically installs or reconciles Gestalt Agents, their context-mode runtime, and the isolated Codex
14
+ profile under `~/.codex-gestalt`. Your normal `~/.codex` profile remains separate.
15
+
16
+ npm 12 requires approval for install scripts. Allow this package's setup with:
17
+
18
+ ```sh
19
+ npm install -g @jaromil/gestalt --allow-scripts=@jaromil/gestalt
20
+ ```
21
+
22
+ Use the same flag for npm 12 updates unless the package is already approved in
23
+ your npm configuration. The package does not override blocked-script policies.
24
+
25
+ To add Mobile and the optional skill collection, run `gestalt install`.
26
+ Retry or refresh only Agents with `gestalt agents install` or `gestalt agents update`.
27
+ Setup errors fail the npm installation and print recovery instructions.
28
+
29
+ To install only the wrapper, use `npm install -g @jaromil/gestalt --ignore-scripts`;
30
+ run `gestalt agents install` later. Local dependency installs and npx inspection
31
+ do not automatically provision a user profile.
32
+
33
+ ```sh
34
+ gestalt cli
35
+ gestalt mobile
36
+ gestalt --help
37
+ ```
38
+
39
+ Update the npm-installed command with:
40
+
41
+ ```sh
42
+ npm install -g @jaromil/gestalt@latest
43
+ ```
44
+
45
+ `gestalt update` updates the managed components and prints the npm command for
46
+ updating this package. It preserves the npm-managed executable and package metadata.
47
+ Installing a newer global npm version also reconciles Agents automatically.
48
+
49
+ You can also run the command without a global installation:
50
+
51
+ ```sh
52
+ npx @jaromil/gestalt --help
53
+ ```
54
+
55
+ [Documentation](https://dyne.github.io/gestalt/) ·
56
+ [Source and issues](https://github.com/dyne/gestalt)
package/bin/gestalt ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env bash
2
+ # Resolve npm's executable symlink before entering the standalone manager.
3
+ set -Eeuo pipefail
4
+
5
+ entry=${BASH_SOURCE[0]}
6
+ while [[ -L $entry ]]; do
7
+ entry_directory=$(CDPATH='' cd -- "$(dirname -- "$entry")" && pwd -P)
8
+ entry=$(readlink -- "$entry")
9
+ [[ $entry == /* ]] || entry=$entry_directory/$entry
10
+ done
11
+ package_directory=$(CDPATH='' cd -- "$(dirname -- "$entry")/.." && pwd -P)
12
+
13
+ export GESTALT_MANAGER_DISTRIBUTION=npm
14
+ exec bash "$package_directory/lib/gestalt" "$@"