@jaromil/gestalt 0.18.2 → 0.19.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/lib/gestalt.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// GESTALT_CLI_VERSION='0.
|
|
2
|
+
// GESTALT_CLI_VERSION='0.19.0'
|
|
3
3
|
// GESTALT_UPDATED_MANAGER_API='1'
|
|
4
4
|
/*! tuiuiu.js
|
|
5
5
|
MIT License
|
|
@@ -39853,7 +39853,7 @@ function packagedWindowsHelper() {
|
|
|
39853
39853
|
async function continueUpdatedManager(invocation, streams, options) {
|
|
39854
39854
|
if (options.commands?.apiVersion !== 1 || typeof options.commands.launch !== "function" || !options.signal || invocation.argv[0] !== "__updated-manager") throw new Error("invalid managed updated-manager handoff");
|
|
39855
39855
|
let unknown = false;
|
|
39856
|
-
const metadata = { version: "0.
|
|
39856
|
+
const metadata = { version: "0.19.0", help: "Usage: gestalt <command> [options]\n\nManage Gestalt Agents and Gestalt Mobile in isolated, user-owned directories.\n\nCommands:\n install [--extra-skills] Install or reconcile Agents, optional skills, and Mobile.\n agents install, update Install or reconcile Agents and context-mode only.\n update [COMPONENT] [--extra-skills]\n Update all installed managed components (default).\n update-restart [COMPONENT] [--extra-skills]\n Update from a live Mobile session, then restart Mobile.\n cli [--] [args...] Start Codex with ~/.codex-gestalt as CODEX_HOME.\n mobile [--] [args...] Start the managed Gestalt Mobile executable.\n Workspace defaults to ~/gestalt; override with --cwd ROOT.\n scratch inspect --cwd ROOT --owner ID\n Inspect an empty Mobile containment fence (read-only).\n scratch recover --cwd ROOT --owner ID --expect TOKEN --confirm-quiescent\n Offline recovery after all owner processes have stopped.\n playwright install [VERSION] Install MCP; add missing system Chrome on Debian amd64.\n playwright update [VERSION] Stage, verify and activate an explicit package update.\n playwright version [--json] Read versioned installation metadata.\n playwright doctor [--json] [--launch] [--executable-path PATH] Check package and Chrome; optionally test a local page.\n playwright mcp --cwd ROOT Managed headless stdio (workspace profile).\n serena install Install private uv, Python 3.13 and tested Serena.\n serena update [VERSION] Validate and activate a release; retain prior tooling.\n serena version, -V Read installed package metadata without creating state.\n serena doctor [--cwd ROOT] Check install, sandbox, MCP tools and optional language readiness.\n serena index --cwd ROOT Explicit native symbol/cache warmup for one project.\n serena mcp --cwd ROOT Confined workspace MCP; always Codex context and editing mode.\n path [NAME|--json] Print managed executable and runtime paths.\n skills install, update Maintain the optional Dyne.org skill collection only.\n skills status [--json] Read installed version, revision and integrity.\n skills-export [ARCHIVE] Export installed skills and skill profiles.\n skills-import ARCHIVE Import a skills archive into this installation.\n doctor [--cwd ROOT] Check prerequisites and installation.\n version Print manager and detected component versions.\n help Show this help.\n\nUpdate components (also accepted as --component COMPONENT):\n all Gestalt core plus installed Serena and Playwright (default).\n gestalt Manager, Agents, Mobile, and context-mode runtime.\n serena Latest stable Serena and its private uv/Python tooling.\n playwright Stable Playwright MCP package; Chrome is externally maintained.\n\nOptional components absent from this installation are skipped by 'all'.\nSelecting serena or playwright explicitly installs or updates that component only.\n--extra-skills applies only to all or gestalt; it adds curated third-party skills.\nNode, npm, Codex, Kimi, and system language servers are externally maintained.\n\nEnvironment:\n CODEX_HOME Isolated Codex home (default: ~/.codex-gestalt).\n GESTALT_HOME Runtime and Mobile root (default: ~/.gestalt).\n GESTALT_INSTALL_BASE_URL Manager update source (default: https://dyne.github.io/gestalt).\n GESTALT_MARKETPLACE Marketplace source (default: dyne/gestalt-agents).\n GESTALT_MARKETPLACE_NAME Codex checkout name (default: dyne-gestalt-agents).\n GESTALT_MOBILE_VERSION npm version or tag (default: latest).\n GESTALT_SKILLS_SOURCE Collection source override (always unverified).\n GESTALT_SKILLS_REF Collection Git ref or immutable revision (default: main).\n" };
|
|
39857
39857
|
const status = await runCli(
|
|
39858
39858
|
{ argv: [...invocation.argv], cwd: invocation.cwd, environment: { ...invocation.environment } },
|
|
39859
39859
|
streams,
|
|
@@ -39900,7 +39900,7 @@ async function main2() {
|
|
|
39900
39900
|
const selected = selectInteractiveRuntime({ legacyManager: fileURLToPath7(new URL("./legacy/gestalt", import.meta.url)) });
|
|
39901
39901
|
if (selected.kind === "unix-compatibility") selected.exec({ argv, cwd: process.cwd(), environment });
|
|
39902
39902
|
}
|
|
39903
|
-
const metadata = { version: "0.
|
|
39903
|
+
const metadata = { version: "0.19.0", help: "Usage: gestalt <command> [options]\n\nManage Gestalt Agents and Gestalt Mobile in isolated, user-owned directories.\n\nCommands:\n install [--extra-skills] Install or reconcile Agents, optional skills, and Mobile.\n agents install, update Install or reconcile Agents and context-mode only.\n update [COMPONENT] [--extra-skills]\n Update all installed managed components (default).\n update-restart [COMPONENT] [--extra-skills]\n Update from a live Mobile session, then restart Mobile.\n cli [--] [args...] Start Codex with ~/.codex-gestalt as CODEX_HOME.\n mobile [--] [args...] Start the managed Gestalt Mobile executable.\n Workspace defaults to ~/gestalt; override with --cwd ROOT.\n scratch inspect --cwd ROOT --owner ID\n Inspect an empty Mobile containment fence (read-only).\n scratch recover --cwd ROOT --owner ID --expect TOKEN --confirm-quiescent\n Offline recovery after all owner processes have stopped.\n playwright install [VERSION] Install MCP; add missing system Chrome on Debian amd64.\n playwright update [VERSION] Stage, verify and activate an explicit package update.\n playwright version [--json] Read versioned installation metadata.\n playwright doctor [--json] [--launch] [--executable-path PATH] Check package and Chrome; optionally test a local page.\n playwright mcp --cwd ROOT Managed headless stdio (workspace profile).\n serena install Install private uv, Python 3.13 and tested Serena.\n serena update [VERSION] Validate and activate a release; retain prior tooling.\n serena version, -V Read installed package metadata without creating state.\n serena doctor [--cwd ROOT] Check install, sandbox, MCP tools and optional language readiness.\n serena index --cwd ROOT Explicit native symbol/cache warmup for one project.\n serena mcp --cwd ROOT Confined workspace MCP; always Codex context and editing mode.\n path [NAME|--json] Print managed executable and runtime paths.\n skills install, update Maintain the optional Dyne.org skill collection only.\n skills status [--json] Read installed version, revision and integrity.\n skills-export [ARCHIVE] Export installed skills and skill profiles.\n skills-import ARCHIVE Import a skills archive into this installation.\n doctor [--cwd ROOT] Check prerequisites and installation.\n version Print manager and detected component versions.\n help Show this help.\n\nUpdate components (also accepted as --component COMPONENT):\n all Gestalt core plus installed Serena and Playwright (default).\n gestalt Manager, Agents, Mobile, and context-mode runtime.\n serena Latest stable Serena and its private uv/Python tooling.\n playwright Stable Playwright MCP package; Chrome is externally maintained.\n\nOptional components absent from this installation are skipped by 'all'.\nSelecting serena or playwright explicitly installs or updates that component only.\n--extra-skills applies only to all or gestalt; it adds curated third-party skills.\nNode, npm, Codex, Kimi, and system language servers are externally maintained.\n\nEnvironment:\n CODEX_HOME Isolated Codex home (default: ~/.codex-gestalt).\n GESTALT_HOME Runtime and Mobile root (default: ~/.gestalt).\n GESTALT_INSTALL_BASE_URL Manager update source (default: https://dyne.github.io/gestalt).\n GESTALT_MARKETPLACE Marketplace source (default: dyne/gestalt-agents).\n GESTALT_MARKETPLACE_NAME Codex checkout name (default: dyne-gestalt-agents).\n GESTALT_MOBILE_VERSION npm version or tag (default: latest).\n GESTALT_SKILLS_SOURCE Collection source override (always unverified).\n GESTALT_SKILLS_REF Collection Git ref or immutable revision (default: main).\n" };
|
|
39904
39904
|
const ownershipHelper = packagedWindowsHelper();
|
|
39905
39905
|
return runCli(
|
|
39906
39906
|
{ argv, cwd: process.cwd(), environment },
|
package/lib/legacy/gestalt
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
set -Eeuo pipefail
|
|
4
4
|
IFS=$'\n\t'
|
|
5
5
|
|
|
6
|
-
readonly GESTALT_CLI_VERSION='0.
|
|
6
|
+
readonly GESTALT_CLI_VERSION='0.19.0'
|
|
7
7
|
readonly DEFAULT_INSTALL_BASE_URL='https://dyne.github.io/gestalt'
|
|
8
8
|
readonly DEFAULT_MARKETPLACE='dyne/gestalt-agents'
|
|
9
9
|
readonly DEFAULT_MARKETPLACE_NAME='dyne-gestalt-agents'
|
|
@@ -836,6 +836,7 @@ Commands:
|
|
|
836
836
|
Update from a live Mobile session, then restart Mobile.
|
|
837
837
|
cli [--] [args...] Start Codex with ~/.codex-gestalt as CODEX_HOME.
|
|
838
838
|
mobile [--] [args...] Start the managed Gestalt Mobile executable.
|
|
839
|
+
Workspace defaults to ~/gestalt; override with --cwd ROOT.
|
|
839
840
|
scratch inspect --cwd ROOT --owner ID
|
|
840
841
|
Inspect an empty Mobile containment fence (read-only).
|
|
841
842
|
scratch recover --cwd ROOT --owner ID --expect TOKEN --confirm-quiescent
|
|
@@ -4104,6 +4105,10 @@ command_update_restart_worker() {
|
|
|
4104
4105
|
restart_args=(${migrated_restart_args[@]+"${migrated_restart_args[@]}"})
|
|
4105
4106
|
[[ $restart_cwd == /* && -d $restart_cwd ]] ||
|
|
4106
4107
|
die "the Gestalt Mobile restart directory is invalid: $restart_cwd"
|
|
4108
|
+
# Older descriptors without --cwd used the recorded working directory.
|
|
4109
|
+
if mobile_workspace_is_implicit ${restart_args[@]+"${restart_args[@]}"}; then
|
|
4110
|
+
restart_args+=(--cwd "$restart_cwd")
|
|
4111
|
+
fi
|
|
4107
4112
|
[[ $worker_extra_skills == false || $worker_extra_skills == true ]] ||
|
|
4108
4113
|
die 'the update-restart worker received an invalid setup mode'
|
|
4109
4114
|
if [[ $worker_extra_skills == true ]]; then
|
|
@@ -5352,6 +5357,18 @@ process.on('SIGTERM',()=>stop(143));process.on('SIGINT',()=>stop(130));
|
|
|
5352
5357
|
NODE
|
|
5353
5358
|
}
|
|
5354
5359
|
|
|
5360
|
+
mobile_workspace_is_implicit() {
|
|
5361
|
+
[[ ${1:-} != trace ]] || return 1
|
|
5362
|
+
while (($#)); do
|
|
5363
|
+
case $1 in
|
|
5364
|
+
--cwd | --cwd=* | --help | --version | --) return 1 ;;
|
|
5365
|
+
--skills) [[ ${2:-} != list ]] || return 1 ;;
|
|
5366
|
+
esac
|
|
5367
|
+
shift
|
|
5368
|
+
done
|
|
5369
|
+
return 0
|
|
5370
|
+
}
|
|
5371
|
+
|
|
5355
5372
|
command_mobile() {
|
|
5356
5373
|
local mobile_restart_dir mobile_restart_state mobile_restart_staged restart_cwd
|
|
5357
5374
|
local context_mode_runtime context_mode_plugin_root gestalt_plugin_root
|
|
@@ -5366,6 +5383,12 @@ command_mobile() {
|
|
|
5366
5383
|
--xerj | --xerj=*) die 'Xerj has been retired; omit --xerj when starting Mobile. Run gestalt update before restarting older generated launchers.' ;;
|
|
5367
5384
|
esac
|
|
5368
5385
|
done
|
|
5386
|
+
if mobile_workspace_is_implicit ${forwarded_args[@]+"${forwarded_args[@]}"}; then
|
|
5387
|
+
local -r mobile_workspace=$HOME/gestalt
|
|
5388
|
+
(umask 077; mkdir -p -- "$mobile_workspace") ||
|
|
5389
|
+
die "could not create the default Mobile workspace: $mobile_workspace"
|
|
5390
|
+
forwarded_args+=(--cwd "$mobile_workspace")
|
|
5391
|
+
fi
|
|
5369
5392
|
if [[ ! -x $mobile_bin ]]; then
|
|
5370
5393
|
log 'Gestalt Mobile is not installed; installing it now'
|
|
5371
5394
|
install_mobile
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"source": "src/cli/platform/native/owned-process.c",
|
|
3
3
|
"license": "MIT (full license in source)",
|
|
4
4
|
"sourceSha256": "8b8499245e4213e3e842497f815d4b0d19685bcd806b461fdacb66119500ad58",
|
|
5
|
-
"artifactSha256": "
|
|
5
|
+
"artifactSha256": "a8b197f02986127e59b11ab4c655d24cdd37b1e7b56845d27487f27939d38488",
|
|
6
6
|
"platform": "win32",
|
|
7
7
|
"architecture": "x64",
|
|
8
8
|
"node": "v24.22.3",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"advapi32.lib",
|
|
24
24
|
"netapi32.lib"
|
|
25
25
|
],
|
|
26
|
-
"observedAt": "2026-11-24T00:
|
|
26
|
+
"observedAt": "2026-11-24T00:57:33.383Z",
|
|
27
27
|
"sourceInputs": [
|
|
28
28
|
{
|
|
29
29
|
"path": "src/cli/platform/native/owned-process.c",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaromil/gestalt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.19.0",
|
|
5
5
|
"description": "Manage Gestalt's isolated Codex profile, agent skills and Mobile installation",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
7
7
|
"author": "Dyne.org foundation",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"access": "public",
|
|
45
45
|
"registry": "https://registry.npmjs.org/"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "5509e32f208c786fd264860e14f3818370b98419"
|
|
48
48
|
}
|