@pixelzx/genesis 2026.5.5-2 → 2026.5.5-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.
Files changed (75) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/.buildstamp +1 -1
  3. package/dist/build-info.json +3 -3
  4. package/dist/cli/daemon-cli.js +4 -4
  5. package/dist/cli-startup-metadata.json +1 -1
  6. package/dist/{command-registry-D__zH4Fg.js → command-registry-BFZKeOfs.js} +2 -2
  7. package/dist/{command-registry-Bi9thw1b.js → command-registry-Dx2ADG5E.js} +2 -2
  8. package/dist/{command-registry-core-DQoNFQZT.js → command-registry-core-D7i83K9k.js} +7 -7
  9. package/dist/{completion-cli-1sAiSIYc.js → completion-cli-CrMeY4zt.js} +2 -2
  10. package/dist/{config-cli-B_dNq5hD.js → config-cli-Bfvd45IK.js} +2 -2
  11. package/dist/{configure-DR9NYN9e.js → configure-DiSRY2c4.js} +1 -1
  12. package/dist/{configure-BOvmX2NJ.js → configure-srxQxuEW.js} +1 -1
  13. package/dist/{daemon-cli-BOJdM3wT.js → daemon-cli-C9Z9wW_C.js} +4 -4
  14. package/dist/{daemon-install-D8HPES4u.js → daemon-install-CiudqvC8.js} +1 -1
  15. package/dist/{doctor-gateway-daemon-flow-BN2uGhFJ.js → doctor-gateway-daemon-flow-DJUA40sd.js} +2 -2
  16. package/dist/{doctor-gateway-services-CIypZgv_.js → doctor-gateway-services-ChajuYZL.js} +2 -2
  17. package/dist/{doctor-health-ByjG3620.js → doctor-health-O51CFRqy.js} +1 -1
  18. package/dist/{doctor-health-contributions-CxNByg_i.js → doctor-health-contributions-CGMp0dRt.js} +3 -3
  19. package/dist/entry.js +1 -1
  20. package/dist/{gateway-cli-E5gYA0U1.js → gateway-cli-DvJWNwl6.js} +4 -4
  21. package/dist/index.js +1 -1
  22. package/dist/{install-X7wgrwQ1.js → install-DLJF8qA4.js} +1 -1
  23. package/dist/install.runtime-B_wJtoom.js +2 -0
  24. package/dist/{launchd-lFgfiDrN.js → launchd-OykeouWG.js} +9 -1
  25. package/dist/{lifecycle-IWN9qlwo.js → lifecycle-DJidJ8WM.js} +3 -3
  26. package/dist/{lifecycle-core-CFv5qkS8.js → lifecycle-core-DCeS7I2A.js} +2 -2
  27. package/dist/{lifecycle.runtime-9oo2JCI2.js → lifecycle.runtime-DWcLMs_A.js} +1 -1
  28. package/dist/lifecycle.runtime.js +1 -1
  29. package/dist/{node-cli-AWE1ZFfV.js → node-cli-CrDZkIQS.js} +2 -2
  30. package/dist/{node-service-DCI-s3Mm.js → node-service-BhD56-7r.js} +1 -1
  31. package/dist/{onboard-BQaZtwIU.js → onboard-plDFxTJw.js} +3 -3
  32. package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
  33. package/dist/postinstall-inventory.json +59 -59
  34. package/dist/{program-DxZA1yAX.js → program-BtHRWk-Q.js} +1 -1
  35. package/dist/{prompt-select-styled-CATG4Xp5.js → prompt-select-styled-CR6QJuHt.js} +1 -1
  36. package/dist/{register-service-commands-D37K4_BJ.js → register-service-commands-CaBS-AUR.js} +3 -3
  37. package/dist/{register.configure-tgXCoIHv.js → register.configure-DazZmqzO.js} +1 -1
  38. package/dist/{register.maintenance-BtBgu8zC.js → register.maintenance-Dv5WFjIs.js} +2 -2
  39. package/dist/{register.onboard-BO11PDUs.js → register.onboard-CMozEUYQ.js} +1 -1
  40. package/dist/{register.setup-Ba19XSJi.js → register.setup-DMYbjy66.js} +1 -1
  41. package/dist/{register.status-health-sessions-Bne0mmgw.js → register.status-health-sessions-BE_L9Dys.js} +1 -1
  42. package/dist/{register.subclis--mdYCZZM.js → register.subclis-BKl2XnlL.js} +1 -1
  43. package/dist/{register.subclis-_kuyreQm.js → register.subclis-Dda0aZgo.js} +2 -2
  44. package/dist/{register.subclis-core-UkVTqwB1.js → register.subclis-core-CR9n4UBd.js} +3 -3
  45. package/dist/{run-main-1Fvwazhp.js → run-main-DW_mKhnK.js} +7 -7
  46. package/dist/{runtime-schema-Jjsquqvq.js → runtime-schema-C3ix-VNE.js} +1 -1
  47. package/dist/{server-BTmWWR_9.js → server-DAWF7iAc.js} +1 -1
  48. package/dist/{server-plugin-bootstrap-ChIvqLMw.js → server-plugin-bootstrap-DRMyT3TQ.js} +1 -1
  49. package/dist/{server-plugin-bootstrap-Rbxd2g6a.js → server-plugin-bootstrap-E5PJcEA2.js} +2 -2
  50. package/dist/{server.impl-CEOWGKN5.js → server.impl-KAOuJEQa.js} +3 -3
  51. package/dist/{service-ChLFBF7Q.js → service-D6nRIQp0.js} +1 -1
  52. package/dist/{service-audit-cqHyD5gB.js → service-audit-CuYUK6l5.js} +1 -1
  53. package/dist/{service-audit-BFxGImYM.js → service-audit-FsztusUk.js} +10 -3
  54. package/dist/service-fyUTnkAE.js +2 -0
  55. package/dist/{setup-D1ekkhVk.js → setup-BCTvNOj1.js} +1 -1
  56. package/dist/{setup.finalize-JPqhcPh5.js → setup.finalize-02oxjXU3.js} +1 -1
  57. package/dist/{status-CARBoVql.js → status-BeHR7joL.js} +1 -1
  58. package/dist/status-D9Njde8S.js +2 -0
  59. package/dist/{status-DxcqzXtf.js → status-Db2zz0yf.js} +4 -4
  60. package/dist/{status-COK71LP_.js → status-QN-37T-w.js} +1 -1
  61. package/dist/{status-all-r7zyk41X.js → status-all-BiRJ-uPf.js} +2 -2
  62. package/dist/{status-json-C_wESP21.js → status-json-DOq74jka.js} +1 -1
  63. package/dist/{status-json-command-C6w9ZAHp.js → status-json-command-DtaWaUPH.js} +1 -1
  64. package/dist/{status-runtime-shared-Bq_SUJpC.js → status-runtime-shared-BgbbPlTW.js} +2 -2
  65. package/dist/{status.gather-BhjoJVEs.js → status.gather-G7eWnGnc.js} +1 -1
  66. package/dist/{status.gather-zdywRvBb.js → status.gather-nP-ItDeK.js} +2 -2
  67. package/dist/status.runtime-IzRA68mh.js +2 -0
  68. package/dist/status.runtime.js +1 -1
  69. package/dist/{text-report-B3-4Dvfb.js → text-report-ClTof2oc.js} +1 -1
  70. package/dist/{update-cli-DeBm7b4g.js → update-cli-CxZPAy-d.js} +5 -5
  71. package/package.json +1 -1
  72. package/dist/install.runtime-C4wO4Nr9.js +0 -2
  73. package/dist/service-XI052xiT.js +0 -2
  74. package/dist/status-B4kD5cCF.js +0 -2
  75. package/dist/status.runtime-DB31ZRnK.js +0 -2
package/CHANGELOG.md CHANGED
@@ -10,6 +10,7 @@ Docs: https://docs.genesis.ai
10
10
  - Control UI: return a clear startup `503` while Gateway sidecars are still settling, so browsers retry instead of loading the dashboard against a not-ready Gateway.
11
11
  - Control UI: run installed Vite and Vitest directly when `pnpm` is unavailable, and prefer an external Node binary over app-bundled Node on macOS so source checkouts can still build and test the browser UI.
12
12
  - Doctor: avoid reading the entire main session transcript just to decide whether history is appending, keeping checks fast for large active sessions.
13
+ - Gateway: stop macOS LaunchAgent installs from looping forever after startup/config failures or repeated crashes while still relaunching intentional clean restarts.
13
14
  - Update: keep legacy SDK alias inventory entries in release packages so stable updates from `2026.5.3-5` do not fail package dist verification after postinstall repairs the alias.
14
15
  - Update: treat stable correction releases like `2026.5.5-1` as newer than their base stable release so `genesis update` no longer prompts for a downgrade.
15
16
  - Packaging: tighten stable release tarball validation on Blacksmith so missing Control UI assets or bundled plugin runtime mirrors are caught before npm publishes to `latest`.
package/dist/.buildstamp CHANGED
@@ -1 +1 @@
1
- {"builtAt":1777964363695,"head":"c3127dc74499e3fed5eec90bb2717d26e8fed0b3"}
1
+ {"builtAt":1777992821405,"head":"14ed98b265a6ee9832b16ef16dbd709ec4cdf15c"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2026.5.5-2",
3
- "commit": "c3127dc74499e3fed5eec90bb2717d26e8fed0b3",
4
- "builtAt": "2026-05-05T06:59:24.091Z"
2
+ "version": "2026.5.5-4",
3
+ "commit": "14ed98b265a6ee9832b16ef16dbd709ec4cdf15c",
4
+ "builtAt": "2026-05-05T14:53:42.012Z"
5
5
  }
@@ -1,8 +1,8 @@
1
1
  // Legacy shim for pre-tsdown update-cli imports.
2
- import * as daemonCli from "../daemon-cli-BOJdM3wT.js";
3
- import * as daemonCliRunners0 from "../install.runtime-C4wO4Nr9.js";
4
- import * as daemonCliRunners1 from "../lifecycle.runtime-9oo2JCI2.js";
5
- import * as daemonCliRunners2 from "../status.runtime-DB31ZRnK.js";
2
+ import * as daemonCli from "../daemon-cli-C9Z9wW_C.js";
3
+ import * as daemonCliRunners0 from "../install.runtime-B_wJtoom.js";
4
+ import * as daemonCliRunners1 from "../lifecycle.runtime-DWcLMs_A.js";
5
+ import * as daemonCliRunners2 from "../status.runtime-IzRA68mh.js";
6
6
  export const registerDaemonCli = daemonCli.t;
7
7
  export const runDaemonInstall = daemonCliRunners0.runDaemonInstall;
8
8
  export const runDaemonRestart = daemonCliRunners1.runDaemonRestart;
@@ -26,5 +26,5 @@
26
26
  ],
27
27
  "channelCatalogSignature": "42572c297ec512116b06530236f3aa8b204823e5",
28
28
  "rootHelpBundleSignature": "dee50db0ec20c5f22a8c3c235d759166597a4355",
29
- "rootHelpText": "\n🦞 Genesis 2026.5.5-2 (c3127dc) — I'll butter your workflow like a lobster roll: messy, delicious, effective.\n\nUsage: genesis [options] [command]\n\nOptions:\n --container <name> Run the CLI inside a running Podman/Docker container\n named <name> (default: env GENESIS_CONTAINER)\n --dev Dev profile: isolate state under ~/.genesis-dev, default\n gateway port 19001, and shift derived ports\n (browser/canvas)\n -h, --help Display help for command\n --log-level <level> Global log level override for file + console\n (silent|fatal|error|warn|info|debug|trace)\n --no-color Disable ANSI colors\n --profile <name> Use a named profile (isolates\n GENESIS_STATE_DIR/GENESIS_CONFIG_PATH under\n ~/.genesis-<name>)\n -V, --version output the version number\n\nCommands:\n Hint: commands suffixed with * have subcommands. Run <command> --help for details.\n acp * Agent Control Protocol tools\n agent Run one agent turn via the Gateway\n agents * Manage isolated agents (workspaces, auth, routing)\n approvals * Manage exec approvals (gateway or node host)\n backup * Create and verify local backup archives for Genesis state\n capability * Run provider-backed inference commands (fallback alias:\n infer)\n channels * Manage connected chat channels (Telegram, Discord, etc.)\n chat Open a local terminal UI (alias for tui --local)\n clawbot * Legacy clawbot command aliases\n completion Generate shell completion script\n config * Non-interactive config helpers\n (get/set/unset/file/validate). Default: starts guided\n setup.\n configure Interactive configuration for credentials, channels,\n gateway, and agent defaults\n cron * Manage cron jobs via the Gateway scheduler\n daemon * Gateway service (legacy alias)\n dashboard Open the Control UI with your current token\n devices * Device pairing + token management\n directory * Lookup contact and group IDs (self, peers, groups) for\n supported chat channels\n dns * DNS helpers for wide-area discovery (Tailscale + CoreDNS)\n docs Search the live Genesis docs\n doctor Health checks + quick fixes for the gateway and channels\n exec-policy * Show or synchronize requested exec policy with host\n approvals\n gateway * Run, inspect, and query the WebSocket Gateway\n health Fetch health from the running gateway\n help Display help for command\n hooks * Manage internal agent hooks\n infer * Run provider-backed inference commands\n logs Tail gateway file logs via RPC\n mcp * Manage Genesis MCP config and channel bridge\n memory Search, inspect, and reindex memory files\n message * Send, read, and manage messages\n models * Discover, scan, and configure models\n node * Run and manage the headless node host service\n nodes * Manage gateway-owned node pairing and node commands\n onboard Interactive onboarding for gateway, workspace, and skills\n pairing * Secure DM pairing (approve inbound requests)\n plugins * Manage Genesis plugins\n proxy * Run the Genesis debug proxy and inspect captured traffic\n qr Generate mobile pairing QR/setup code\n reset Reset local config/state (keeps the CLI installed)\n sandbox * Manage sandbox containers for agent isolation\n secrets * Secrets runtime reload controls\n security * Security tools and local config audits\n sessions * List stored conversation sessions\n setup Initialize local config and agent workspace\n skills * List and inspect available skills\n status Show channel health and recent session recipients\n system * System events, heartbeat, and presence\n tasks * Inspect durable background task state\n terminal Open a local terminal UI (alias for tui --local)\n tui Open a terminal UI connected to the Gateway\n uninstall Uninstall the gateway service + local data (CLI remains)\n update * Update Genesis and inspect update channel status\n wallet * Manage the encrypted local wallet and public addresses\n webhooks * Webhook helpers and integrations\n\nExamples:\n genesis models --help\n Show detailed help for the models command.\n genesis channels login --verbose\n Link personal WhatsApp Web and show QR + connection logs.\n genesis message send --target +15555550123 --message \"Hi\" --json\n Send via your web session and print JSON result.\n genesis gateway --port 18789\n Run the WebSocket Gateway locally.\n genesis --dev gateway\n Run a dev Gateway (isolated state/config) on ws://127.0.0.1:19001.\n genesis gateway --force\n Kill anything bound to the default gateway port, then start it.\n genesis gateway ...\n Gateway control via WebSocket.\n genesis agent --to +15555550123 --message \"Run summary\" --deliver\n Talk directly to the agent using the Gateway; optionally send the WhatsApp reply.\n genesis message send --channel telegram --target @mychat --message \"Hi\"\n Send via your Telegram bot.\n\nDocs: https://docs.genesis.ai/cli\n\n"
29
+ "rootHelpText": "\n🦞 Genesis 2026.5.5-4 (14ed98b) — I'm the reason your shell history looks like a hacker-movie montage.\n\nUsage: genesis [options] [command]\n\nOptions:\n --container <name> Run the CLI inside a running Podman/Docker container\n named <name> (default: env GENESIS_CONTAINER)\n --dev Dev profile: isolate state under ~/.genesis-dev, default\n gateway port 19001, and shift derived ports\n (browser/canvas)\n -h, --help Display help for command\n --log-level <level> Global log level override for file + console\n (silent|fatal|error|warn|info|debug|trace)\n --no-color Disable ANSI colors\n --profile <name> Use a named profile (isolates\n GENESIS_STATE_DIR/GENESIS_CONFIG_PATH under\n ~/.genesis-<name>)\n -V, --version output the version number\n\nCommands:\n Hint: commands suffixed with * have subcommands. Run <command> --help for details.\n acp * Agent Control Protocol tools\n agent Run one agent turn via the Gateway\n agents * Manage isolated agents (workspaces, auth, routing)\n approvals * Manage exec approvals (gateway or node host)\n backup * Create and verify local backup archives for Genesis state\n capability * Run provider-backed inference commands (fallback alias:\n infer)\n channels * Manage connected chat channels (Telegram, Discord, etc.)\n chat Open a local terminal UI (alias for tui --local)\n clawbot * Legacy clawbot command aliases\n completion Generate shell completion script\n config * Non-interactive config helpers\n (get/set/unset/file/validate). Default: starts guided\n setup.\n configure Interactive configuration for credentials, channels,\n gateway, and agent defaults\n cron * Manage cron jobs via the Gateway scheduler\n daemon * Gateway service (legacy alias)\n dashboard Open the Control UI with your current token\n devices * Device pairing + token management\n directory * Lookup contact and group IDs (self, peers, groups) for\n supported chat channels\n dns * DNS helpers for wide-area discovery (Tailscale + CoreDNS)\n docs Search the live Genesis docs\n doctor Health checks + quick fixes for the gateway and channels\n exec-policy * Show or synchronize requested exec policy with host\n approvals\n gateway * Run, inspect, and query the WebSocket Gateway\n health Fetch health from the running gateway\n help Display help for command\n hooks * Manage internal agent hooks\n infer * Run provider-backed inference commands\n logs Tail gateway file logs via RPC\n mcp * Manage Genesis MCP config and channel bridge\n memory Search, inspect, and reindex memory files\n message * Send, read, and manage messages\n models * Discover, scan, and configure models\n node * Run and manage the headless node host service\n nodes * Manage gateway-owned node pairing and node commands\n onboard Interactive onboarding for gateway, workspace, and skills\n pairing * Secure DM pairing (approve inbound requests)\n plugins * Manage Genesis plugins\n proxy * Run the Genesis debug proxy and inspect captured traffic\n qr Generate mobile pairing QR/setup code\n reset Reset local config/state (keeps the CLI installed)\n sandbox * Manage sandbox containers for agent isolation\n secrets * Secrets runtime reload controls\n security * Security tools and local config audits\n sessions * List stored conversation sessions\n setup Initialize local config and agent workspace\n skills * List and inspect available skills\n status Show channel health and recent session recipients\n system * System events, heartbeat, and presence\n tasks * Inspect durable background task state\n terminal Open a local terminal UI (alias for tui --local)\n tui Open a terminal UI connected to the Gateway\n uninstall Uninstall the gateway service + local data (CLI remains)\n update * Update Genesis and inspect update channel status\n wallet * Manage the encrypted local wallet and public addresses\n webhooks * Webhook helpers and integrations\n\nExamples:\n genesis models --help\n Show detailed help for the models command.\n genesis channels login --verbose\n Link personal WhatsApp Web and show QR + connection logs.\n genesis message send --target +15555550123 --message \"Hi\" --json\n Send via your web session and print JSON result.\n genesis gateway --port 18789\n Run the WebSocket Gateway locally.\n genesis --dev gateway\n Run a dev Gateway (isolated state/config) on ws://127.0.0.1:19001.\n genesis gateway --force\n Kill anything bound to the default gateway port, then start it.\n genesis gateway ...\n Gateway control via WebSocket.\n genesis agent --to +15555550123 --message \"Run summary\" --deliver\n Talk directly to the agent using the Gateway; optionally send the WhatsApp reply.\n genesis message send --channel telegram --target @mychat --message \"Hi\"\n Send via your Telegram bot.\n\nDocs: https://docs.genesis.ai/cli\n\n"
30
30
  }
@@ -1,4 +1,4 @@
1
1
  import "./core-command-descriptors-i0E7YlzV.js";
2
- import { t as registerCoreCliByName } from "./command-registry-core-DQoNFQZT.js";
3
- import "./command-registry-Bi9thw1b.js";
2
+ import { t as registerCoreCliByName } from "./command-registry-core-D7i83K9k.js";
3
+ import "./command-registry-Dx2ADG5E.js";
4
4
  export { registerCoreCliByName };
@@ -1,5 +1,5 @@
1
- import { n as registerCoreCliCommands } from "./command-registry-core-DQoNFQZT.js";
2
- import { n as registerSubCliCommands } from "./register.subclis-_kuyreQm.js";
1
+ import { n as registerCoreCliCommands } from "./command-registry-core-D7i83K9k.js";
2
+ import { n as registerSubCliCommands } from "./register.subclis-Dda0aZgo.js";
3
3
  //#region src/cli/program/command-registry.ts
4
4
  function registerProgramCommands(program, ctx, argv = process.argv) {
5
5
  registerCoreCliCommands(program, ctx, argv);
@@ -1,6 +1,6 @@
1
1
  import { t as resolveCliArgvInvocation } from "./argv-invocation-BIP3nEco.js";
2
2
  import { n as shouldRegisterPrimaryCommandOnly } from "./command-registration-policy-yolio5T8.js";
3
- import { a as defineImportedCommandGroupSpec, i as buildCommandGroupEntries, o as defineImportedProgramCommandGroupSpecs } from "./register.subclis-core-UkVTqwB1.js";
3
+ import { a as defineImportedCommandGroupSpec, i as buildCommandGroupEntries, o as defineImportedProgramCommandGroupSpecs } from "./register.subclis-core-CR9n4UBd.js";
4
4
  import { t as getCoreCliCommandDescriptors } from "./core-command-descriptors-i0E7YlzV.js";
5
5
  import { i as registerCommandGroups, r as registerCommandGroupByName } from "./register-command-groups-q1NXEnfT.js";
6
6
  //#region src/cli/program/command-registry-core.ts
@@ -16,22 +16,22 @@ const coreEntrySpecs = [
16
16
  ...withProgramOnlySpecs(defineImportedProgramCommandGroupSpecs([
17
17
  {
18
18
  commandNames: ["setup"],
19
- loadModule: () => import("./register.setup-Ba19XSJi.js"),
19
+ loadModule: () => import("./register.setup-DMYbjy66.js"),
20
20
  exportName: "registerSetupCommand"
21
21
  },
22
22
  {
23
23
  commandNames: ["onboard"],
24
- loadModule: () => import("./register.onboard-BO11PDUs.js"),
24
+ loadModule: () => import("./register.onboard-CMozEUYQ.js"),
25
25
  exportName: "registerOnboardCommand"
26
26
  },
27
27
  {
28
28
  commandNames: ["configure"],
29
- loadModule: () => import("./register.configure-tgXCoIHv.js"),
29
+ loadModule: () => import("./register.configure-DazZmqzO.js"),
30
30
  exportName: "registerConfigureCommand"
31
31
  },
32
32
  {
33
33
  commandNames: ["config"],
34
- loadModule: () => import("./config-cli-B_dNq5hD.js"),
34
+ loadModule: () => import("./config-cli-Bfvd45IK.js"),
35
35
  exportName: "registerConfigCli"
36
36
  },
37
37
  {
@@ -46,7 +46,7 @@ const coreEntrySpecs = [
46
46
  "reset",
47
47
  "uninstall"
48
48
  ],
49
- loadModule: () => import("./register.maintenance-BtBgu8zC.js"),
49
+ loadModule: () => import("./register.maintenance-Dv5WFjIs.js"),
50
50
  exportName: "registerMaintenanceCommands"
51
51
  }
52
52
  ])),
@@ -73,7 +73,7 @@ const coreEntrySpecs = [
73
73
  "sessions",
74
74
  "tasks"
75
75
  ],
76
- loadModule: () => import("./register.status-health-sessions-Bne0mmgw.js"),
76
+ loadModule: () => import("./register.status-health-sessions-BE_L9Dys.js"),
77
77
  exportName: "registerStatusHealthSessionsCommands"
78
78
  }]))
79
79
  ];
@@ -2,9 +2,9 @@ import { c as routeLogsToStderr } from "./subsystem-DTMy5YmO.js";
2
2
  import { t as formatDocsLink } from "./links-DmsJCU7L.js";
3
3
  import { r as theme } from "./theme-BrRleVfL.js";
4
4
  import { a as isCompletionShell, o as resolveCompletionCachePath, r as installCompletion, s as resolveShellFromEnv, t as COMPLETION_SHELLS } from "./completion-runtime-Cam6LzNH.js";
5
- import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-core-UkVTqwB1.js";
5
+ import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-core-CR9n4UBd.js";
6
6
  import { t as getCoreCliCommandDescriptors } from "./core-command-descriptors-i0E7YlzV.js";
7
- import "./command-registry-core-DQoNFQZT.js";
7
+ import "./command-registry-core-D7i83K9k.js";
8
8
  import path from "node:path";
9
9
  import fs from "node:fs/promises";
10
10
  import { Option } from "commander";
@@ -17,7 +17,7 @@ import { r as replaceConfigFile } from "./mutate-atVXfhNp.js";
17
17
  import "./config-3He3LWHw.js";
18
18
  import { a as normalizeConfigIssues, n as formatConfigIssueLines } from "./issue-format-CctGyTV-.js";
19
19
  import { t as redactConfigObject } from "./redact-snapshot-BRzjCxXA.js";
20
- import { n as readBestEffortRuntimeConfigSchema } from "./runtime-schema-Jjsquqvq.js";
20
+ import { n as readBestEffortRuntimeConfigSchema } from "./runtime-schema-C3ix-VNE.js";
21
21
  import { n as setCommandJsonMode } from "./json-mode-BR737qRa.js";
22
22
  import fs from "node:fs";
23
23
  import JSON5 from "json5";
@@ -1045,7 +1045,7 @@ async function runConfigValidate(opts = {}) {
1045
1045
  }
1046
1046
  function registerConfigCli(program) {
1047
1047
  const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/schema/validate). Run without subcommand for guided setup.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.genesis.ai/cli/config")}\n`).option("--section <section>", "Configuration sections for guided setup (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
1048
- const { configureCommandFromSectionsArg } = await import("./configure-BOvmX2NJ.js");
1048
+ const { configureCommandFromSectionsArg } = await import("./configure-srxQxuEW.js");
1049
1049
  await configureCommandFromSectionsArg(opts.section, defaultRuntime);
1050
1050
  });
1051
1051
  cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
@@ -18,7 +18,7 @@ import { v as resolveDefaultAgentWorkspaceDir } from "./workspace-DkmPqUjp.js";
18
18
  import { t as resolveGatewayInstallToken } from "./gateway-install-token-CBRkr0l1.js";
19
19
  import { t as randomToken } from "./random-token-B_Oj5J92.js";
20
20
  import { n as isNonFatalSystemdInstallProbeError } from "./systemd-BmENWaxT.js";
21
- import { r as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-ChLFBF7Q.js";
21
+ import { r as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-D6nRIQp0.js";
22
22
  import { r as replaceConfigFile, t as ConfigMutationConflictError } from "./mutate-atVXfhNp.js";
23
23
  import "./config-3He3LWHw.js";
24
24
  import { t as resolveControlUiLinks } from "./control-ui-links-BvGEIgO7.js";
@@ -1,2 +1,2 @@
1
- import { n as configureCommandFromSectionsArg } from "./configure-DR9NYN9e.js";
1
+ import { n as configureCommandFromSectionsArg } from "./configure-DiSRY2c4.js";
2
2
  export { configureCommandFromSectionsArg };
@@ -1,9 +1,9 @@
1
1
  import { t as formatDocsLink } from "./links-DmsJCU7L.js";
2
2
  import { r as theme } from "./theme-BrRleVfL.js";
3
- import { t as addGatewayServiceCommands } from "./register-service-commands-D37K4_BJ.js";
4
- import "./install-X7wgrwQ1.js";
5
- import "./lifecycle-IWN9qlwo.js";
6
- import "./status-CARBoVql.js";
3
+ import { t as addGatewayServiceCommands } from "./register-service-commands-CaBS-AUR.js";
4
+ import "./install-DLJF8qA4.js";
5
+ import "./lifecycle-DJidJ8WM.js";
6
+ import "./status-BeHR7joL.js";
7
7
  //#region src/cli/daemon-cli/register.ts
8
8
  function registerDaemonCli(program) {
9
9
  addGatewayServiceCommands(program.command("daemon").description("Manage the Gateway service (launchd/systemd/schtasks)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/gateway", "docs.genesis.ai/cli/gateway")}\n`), { statusDescription: "Show service install status + probe connectivity/capability" });
@@ -2,7 +2,7 @@ import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint } from "./au
2
2
  import { r as isGatewayDaemonRuntime } from "./daemon-runtime-BFK5T_3J.js";
3
3
  import { t as resolveGatewayInstallToken } from "./gateway-install-token-CBRkr0l1.js";
4
4
  import { i as isSystemdUserServiceAvailable } from "./systemd-BmENWaxT.js";
5
- import { r as resolveGatewayService } from "./service-ChLFBF7Q.js";
5
+ import { r as resolveGatewayService } from "./service-D6nRIQp0.js";
6
6
  import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-CZ44REm3.js";
7
7
  //#region src/commands/onboard-non-interactive/local/daemon-install.ts
8
8
  async function installGatewayDaemonNonInteractive(params) {
@@ -7,9 +7,9 @@ import { n as buildGatewayInstallPlan, r as gatewayInstallErrorHint } from "./au
7
7
  import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BFK5T_3J.js";
8
8
  import { t as resolveGatewayInstallToken } from "./gateway-install-token-CBRkr0l1.js";
9
9
  import { i as isSystemdUserServiceAvailable, p as classifySystemdUnavailableDetail } from "./systemd-BmENWaxT.js";
10
- import { i as launchAgentPlistExists, n as isLaunchAgentListed, r as isLaunchAgentLoaded, s as repairLaunchAgentBootstrap } from "./launchd-lFgfiDrN.js";
10
+ import { i as launchAgentPlistExists, n as isLaunchAgentListed, r as isLaunchAgentLoaded, s as repairLaunchAgentBootstrap } from "./launchd-OykeouWG.js";
11
11
  import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-BRobddkK.js";
12
- import { r as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-ChLFBF7Q.js";
12
+ import { r as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-D6nRIQp0.js";
13
13
  import { i as resolveDaemonContainerContext, r as formatRuntimeStatus, t as buildPlatformRuntimeLogHints } from "./runtime-hints-U-UR-C6L.js";
14
14
  import "./config-3He3LWHw.js";
15
15
  import { n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail } from "./systemd-hints-CJxKhtPZ.js";
@@ -7,9 +7,9 @@ import { p as resolveSecretInputRef } from "./types.secrets-ews2W8BF.js";
7
7
  import { t as resolveGatewayAuthToken } from "./auth-token-resolution-B0f5W3e0.js";
8
8
  import { y as writeConfigFile } from "./io-DNd8mbjy.js";
9
9
  import { d as uninstallLegacySystemdUnits } from "./systemd-BmENWaxT.js";
10
- import { r as resolveGatewayService } from "./service-ChLFBF7Q.js";
10
+ import { r as resolveGatewayService } from "./service-D6nRIQp0.js";
11
11
  import "./config-3He3LWHw.js";
12
- import { a as readEmbeddedGatewayToken, i as needsNodeRuntimeMigration, n as auditGatewayServiceConfig, t as SERVICE_AUDIT_CODES } from "./service-audit-BFxGImYM.js";
12
+ import { a as readEmbeddedGatewayToken, i as needsNodeRuntimeMigration, n as auditGatewayServiceConfig, t as SERVICE_AUDIT_CODES } from "./service-audit-FsztusUk.js";
13
13
  import { n as findExtraGatewayServices, r as renderGatewayServiceCleanupHints } from "./inspect-LwBiIJzN.js";
14
14
  import { t as note } from "./note-DH98sfDq.js";
15
15
  import { t as isDoctorUpdateRepairMode } from "./doctor-repair-mode-B287pN3E.js";
@@ -51,7 +51,7 @@ async function doctorCommand(runtime, options = {}) {
51
51
  sourceConfigValid: configResult.sourceConfigValid ?? true,
52
52
  configPath: configResult.path ?? CONFIG_PATH
53
53
  };
54
- const { runDoctorHealthContributions } = await import("./doctor-health-contributions-CxNByg_i.js");
54
+ const { runDoctorHealthContributions } = await import("./doctor-health-contributions-CGMp0dRt.js");
55
55
  await runDoctorHealthContributions(ctx);
56
56
  outro$1("Doctor complete.");
57
57
  }
@@ -151,7 +151,7 @@ async function runSandboxHealth(ctx) {
151
151
  noteSandboxScopeWarnings(ctx.cfg);
152
152
  }
153
153
  async function runGatewayServicesHealth(ctx) {
154
- const { maybeRepairGatewayServiceConfig, maybeScanExtraGatewayServices } = await import("./doctor-gateway-services-CIypZgv_.js");
154
+ const { maybeRepairGatewayServiceConfig, maybeScanExtraGatewayServices } = await import("./doctor-gateway-services-ChajuYZL.js");
155
155
  const { noteMacLaunchAgentOverrides, noteMacLaunchctlGatewayEnvOverrides } = await import("./doctor-platform-notes-BVMr2J02.js");
156
156
  await maybeScanExtraGatewayServices(ctx.options, ctx.runtime, ctx.prompter);
157
157
  await maybeRepairGatewayServiceConfig(ctx.cfg, resolveDoctorMode(ctx.cfg), ctx.runtime, ctx.prompter);
@@ -216,7 +216,7 @@ async function runHooksModelHealth(ctx) {
216
216
  }
217
217
  async function runSystemdLingerHealth(ctx) {
218
218
  if (ctx.options.nonInteractive === true || process.platform !== "linux" || resolveDoctorMode(ctx.cfg) !== "local") return;
219
- const { resolveGatewayService } = await import("./service-XI052xiT.js");
219
+ const { resolveGatewayService } = await import("./service-fyUTnkAE.js");
220
220
  const { ensureSystemdUserLingerInteractive } = await import("./systemd-linger-BAS2KLxe.js");
221
221
  const { note } = await import("./note-DzYNWGih.js");
222
222
  const service = resolveGatewayService();
@@ -285,7 +285,7 @@ async function runDevicePairingHealth(ctx) {
285
285
  });
286
286
  }
287
287
  async function runGatewayDaemonHealth(ctx) {
288
- const { maybeRepairGatewayDaemon } = await import("./doctor-gateway-daemon-flow-BN2uGhFJ.js");
288
+ const { maybeRepairGatewayDaemon } = await import("./doctor-gateway-daemon-flow-DJUA40sd.js");
289
289
  await maybeRepairGatewayDaemon({
290
290
  cfg: ctx.cfg,
291
291
  runtime: ctx.runtime,
package/dist/entry.js CHANGED
@@ -179,7 +179,7 @@ function tryHandleRootHelpFastPath(argv, deps = {}) {
179
179
  }
180
180
  function runMainOrRootHelp(argv) {
181
181
  if (tryHandleRootHelpFastPath(argv)) return;
182
- import("./run-main-1Fvwazhp.js").then(({ runCli }) => runCli(argv)).catch((error) => {
182
+ import("./run-main-DW_mKhnK.js").then(({ runCli }) => runCli(argv)).catch((error) => {
183
183
  console.error("[genesis] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
184
184
  process$1.exitCode = 1;
185
185
  });
@@ -8,7 +8,7 @@ import { t as isTruthyEnvValue } from "./env-CLDDxlAx.js";
8
8
  import { t as formatDocsLink } from "./links-DmsJCU7L.js";
9
9
  import { n as isRich, r as theme, t as colorize } from "./theme-BrRleVfL.js";
10
10
  import { n as inheritOptionFromParent } from "./command-options-K7dNLwPx.js";
11
- import { t as addGatewayServiceCommands } from "./register-service-commands-D37K4_BJ.js";
11
+ import { t as addGatewayServiceCommands } from "./register-service-commands-CaBS-AUR.js";
12
12
  import { t as formatCliCommand } from "./command-format-DAeUlu7u.js";
13
13
  import { _ as resolveStateDir, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-DmR9mjUX.js";
14
14
  import { d as resolveGatewayLaunchAgentLabel, m as resolveGatewayWindowsTaskName, p as resolveGatewaySystemdServiceName } from "./paths-Dk_PxD7g.js";
@@ -21,7 +21,7 @@ import { a as loadConfig, g as recoverConfigFromLastKnownGood, h as recoverConfi
21
21
  import { b as resolveWorkspaceTemplateDir, v as resolveDefaultAgentWorkspaceDir } from "./workspace-DkmPqUjp.js";
22
22
  import { t as cleanStaleGatewayProcessesSync } from "./restart-stale-pids-YWfIoW6o.js";
23
23
  import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-BRobddkK.js";
24
- import { r as resolveGatewayService } from "./service-ChLFBF7Q.js";
24
+ import { r as resolveGatewayService } from "./service-D6nRIQp0.js";
25
25
  import { t as parsePort } from "./parse-port-OVyfw_Ty.js";
26
26
  import "./config-3He3LWHw.js";
27
27
  import { i as GATEWAY_CLIENT_NAMES, r as GATEWAY_CLIENT_MODES } from "./client-info-CfESmEX1.js";
@@ -727,7 +727,7 @@ async function runGatewayCommand$1(opts) {
727
727
  const { startGatewayServer } = await startupTrace.measure("cli.server-import", () => withProgress({
728
728
  label: "Loading gateway modules…",
729
729
  indeterminate: true
730
- }, async () => import("./server-BTmWWR_9.js")));
730
+ }, async () => import("./server-DAWF7iAc.js")));
731
731
  setConsoleTimestampPrefix(true);
732
732
  if (devMode) await startupTrace.measure("cli.dev-config", () => ensureDevGatewayConfig({ reset: Boolean(opts.reset) }));
733
733
  gatewayLog.info("loading configuration…");
@@ -970,7 +970,7 @@ function loadSupportExportModule() {
970
970
  return supportExportModulePromise;
971
971
  }
972
972
  function loadDaemonStatusGatherModule() {
973
- daemonStatusGatherModulePromise ??= import("./status.gather-BhjoJVEs.js");
973
+ daemonStatusGatherModulePromise ??= import("./status.gather-G7eWnGnc.js");
974
974
  return daemonStatusGatherModulePromise;
975
975
  }
976
976
  function runGatewayCommand(action, label) {
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ let runExec;
27
27
  let saveSessionStore;
28
28
  let waitForever;
29
29
  async function loadLegacyCliDeps() {
30
- const { runCli } = await import("./run-main-1Fvwazhp.js");
30
+ const { runCli } = await import("./run-main-DW_mKhnK.js");
31
31
  return { runCli };
32
32
  }
33
33
  async function runLegacyCliEntry(argv = process.argv, deps) {
@@ -8,7 +8,7 @@ import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from
8
8
  import { d as readConfigFileSnapshotForWrite, y as writeConfigFile } from "./io-DNd8mbjy.js";
9
9
  import { t as resolveGatewayInstallToken } from "./gateway-install-token-CBRkr0l1.js";
10
10
  import { n as isNonFatalSystemdInstallProbeError } from "./systemd-BmENWaxT.js";
11
- import { r as resolveGatewayService } from "./service-ChLFBF7Q.js";
11
+ import { r as resolveGatewayService } from "./service-D6nRIQp0.js";
12
12
  import { h as installDaemonServiceAndEmit, n as createDaemonInstallActionContext, p as buildDaemonServiceSnapshot, r as failIfNixDaemonInstallMode } from "./shared-BdZN5DvO.js";
13
13
  import { t as parsePort } from "./parse-port-OVyfw_Ty.js";
14
14
  //#region src/cli/daemon-cli/install.ts
@@ -0,0 +1,2 @@
1
+ import { t as runDaemonInstall } from "./install-DLJF8qA4.js";
2
+ export { runDaemonInstall };
@@ -11,6 +11,14 @@ import path from "node:path";
11
11
  import { spawn } from "node:child_process";
12
12
  import os from "node:os";
13
13
  import fs from "node:fs/promises";
14
+ const LAUNCH_AGENT_KEEP_ALIVE_XML = [
15
+ "",
16
+ " <key>KeepAlive</key>",
17
+ " <dict>",
18
+ " <key>SuccessfulExit</key>",
19
+ " <true/>",
20
+ " </dict>"
21
+ ].join("\n");
14
22
  const plistEscape = (value) => value.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;").replaceAll("'", "&apos;");
15
23
  const plistUnescape = (value) => value.replaceAll("&apos;", "'").replaceAll("&quot;", "\"").replaceAll("&gt;", ">").replaceAll("&lt;", "<").replaceAll("&amp;", "&");
16
24
  const renderEnvDict = (env) => {
@@ -49,7 +57,7 @@ function buildLaunchAgentPlist$1({ label, comment, programArguments, workingDire
49
57
  const workingDirXml = workingDirectory ? `\n <key>WorkingDirectory</key>\n <string>${plistEscape(workingDirectory)}</string>` : "";
50
58
  const commentXml = comment?.trim() ? `\n <key>Comment</key>\n <string>${plistEscape(comment.trim())}</string>` : "";
51
59
  const envXml = renderEnvDict(environment);
52
- return `<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">\n<plist version="1.0">\n <dict>\n <key>Label</key>\n <string>${plistEscape(label)}</string>\n ${commentXml}\n <key>RunAtLoad</key>\n <true/>\n <key>KeepAlive</key>\n <true/>\n <key>ThrottleInterval</key>\n <integer>1</integer>\n <key>Umask</key>\n <integer>63</integer>\n <key>ProgramArguments</key>\n <array>${argsXml}\n </array>\n ${workingDirXml}\n <key>StandardOutPath</key>\n <string>${plistEscape(stdoutPath)}</string>\n <key>StandardErrorPath</key>\n <string>${plistEscape(stderrPath)}</string>${envXml}\n </dict>\n</plist>\n`;
60
+ return `<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">\n<plist version="1.0">\n <dict>\n <key>Label</key>\n <string>${plistEscape(label)}</string>\n ${commentXml}\n <key>RunAtLoad</key>\n <true/>${LAUNCH_AGENT_KEEP_ALIVE_XML}\n <key>ThrottleInterval</key>\n <integer>1</integer>\n <key>Umask</key>\n <integer>63</integer>\n <key>ProgramArguments</key>\n <array>${argsXml}\n </array>\n ${workingDirXml}\n <key>StandardOutPath</key>\n <string>${plistEscape(stdoutPath)}</string>\n <key>StandardErrorPath</key>\n <string>${plistEscape(stderrPath)}</string>${envXml}\n </dict>\n</plist>\n`;
53
61
  }
54
62
  //#endregion
55
63
  //#region src/daemon/launchd-restart-handoff.ts
@@ -4,14 +4,14 @@ import { r as theme } from "./theme-BrRleVfL.js";
4
4
  import { t as formatCliCommand } from "./command-format-DAeUlu7u.js";
5
5
  import { u as resolveGatewayPort } from "./paths-DmR9mjUX.js";
6
6
  import { l as readBestEffortConfig } from "./io-DNd8mbjy.js";
7
- import { i as launchAgentPlistExists, s as repairLaunchAgentBootstrap } from "./launchd-lFgfiDrN.js";
7
+ import { i as launchAgentPlistExists, s as repairLaunchAgentBootstrap } from "./launchd-OykeouWG.js";
8
8
  import { d as formatGatewayPidList, f as signalVerifiedGatewayPidSync, u as findVerifiedGatewayListenerPidsOnPortSync } from "./schtasks-Dig0WvsR.js";
9
- import { r as resolveGatewayService } from "./service-ChLFBF7Q.js";
9
+ import { r as resolveGatewayService } from "./service-D6nRIQp0.js";
10
10
  import { l as renderGatewayServiceStartHints, s as parsePortFromArgs } from "./shared-BdZN5DvO.js";
11
11
  import { n as isRestartEnabled } from "./commands.flags-CR-1vURU.js";
12
12
  import "./config-3He3LWHw.js";
13
13
  import { a as probeGateway } from "./probe-CakOsrSu.js";
14
- import { i as runServiceUninstall, n as runServiceStart, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-CFv5qkS8.js";
14
+ import { i as runServiceUninstall, n as runServiceStart, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-DCeS7I2A.js";
15
15
  import { a as renderGatewayPortHealthDiagnostics, c as waitForGatewayHealthyListener, l as waitForGatewayHealthyRestart, o as renderRestartDiagnostics, s as terminateStaleGatewayPids, t as DEFAULT_RESTART_HEALTH_ATTEMPTS } from "./restart-health-BWUPc4R-.js";
16
16
  //#region src/cli/daemon-cli/launchd-recovery.ts
17
17
  const LAUNCH_AGENT_RECOVERY_MESSAGE = "Gateway LaunchAgent was installed but not loaded; re-bootstrapped launchd service.";
@@ -5,11 +5,11 @@ import { n as isGatewaySecretRefUnavailableError, t as GatewaySecretRefUnavailab
5
5
  import { t as resolveGatewayAuthToken } from "./auth-token-resolution-B0f5W3e0.js";
6
6
  import { l as readBestEffortConfig, u as readConfigFileSnapshot } from "./io-DNd8mbjy.js";
7
7
  import { i as isSystemdUserServiceAvailable } from "./systemd-BmENWaxT.js";
8
- import { i as startGatewayService, t as describeGatewayServiceRestart } from "./service-ChLFBF7Q.js";
8
+ import { i as startGatewayService, t as describeGatewayServiceRestart } from "./service-D6nRIQp0.js";
9
9
  import { i as filterContainerGenericHints, m as createDaemonActionContext, p as buildDaemonServiceSnapshot } from "./shared-BdZN5DvO.js";
10
10
  import "./config-3He3LWHw.js";
11
11
  import { n as formatConfigIssueLines } from "./issue-format-CctGyTV-.js";
12
- import { r as checkTokenDrift } from "./service-audit-BFxGImYM.js";
12
+ import { r as checkTokenDrift } from "./service-audit-FsztusUk.js";
13
13
  import { n as renderSystemdUnavailableHints } from "./systemd-hints-CJxKhtPZ.js";
14
14
  import { t as isWSL } from "./wsl-Be1oClcA.js";
15
15
  //#region src/cli/daemon-cli/gateway-token-drift.ts
@@ -1,2 +1,2 @@
1
- import { i as runDaemonUninstall, n as runDaemonStart, r as runDaemonStop, t as runDaemonRestart } from "./lifecycle-IWN9qlwo.js";
1
+ import { i as runDaemonUninstall, n as runDaemonStart, r as runDaemonStop, t as runDaemonRestart } from "./lifecycle-DJidJ8WM.js";
2
2
  export { runDaemonRestart, runDaemonStart, runDaemonStop, runDaemonUninstall };
@@ -1 +1 @@
1
- export * from "./lifecycle.runtime-9oo2JCI2.js";
1
+ export * from "./lifecycle.runtime-DWcLMs_A.js";
@@ -21,7 +21,7 @@ import "./config-3He3LWHw.js";
21
21
  import { t as GatewayClient } from "./client-Vx7pseEY.js";
22
22
  import { n as loadOrCreateDeviceIdentity } from "./device-identity-CqT162U8.js";
23
23
  import { i as GATEWAY_CLIENT_NAMES, r as GATEWAY_CLIENT_MODES } from "./client-info-CfESmEX1.js";
24
- import { i as runServiceUninstall, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-CFv5qkS8.js";
24
+ import { i as runServiceUninstall, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-DCeS7I2A.js";
25
25
  import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS } from "./node-commands-gl3_egiE.js";
26
26
  import { a as getActivePluginRegistry } from "./runtime-Sn8KleIb.js";
27
27
  import { t as getMachineDisplayName } from "./machine-name-C0HO_9mJ.js";
@@ -34,7 +34,7 @@ import { t as formatHelpExamples } from "./help-format-DM-hbV3N.js";
34
34
  import { n as resolveSystemRunCommandRequest, s as normalizeSystemRunApprovalPlan, t as formatExecCommand } from "./system-run-command-DpmKt0vV.js";
35
35
  import { t as ensureGenesisCliOnPath } from "./path-env-4eKek7HW.js";
36
36
  import { n as loadNodeHostConfig, r as saveNodeHostConfig, t as ensureNodeHostConfig } from "./config-DoFfuScP.js";
37
- import { t as resolveNodeService } from "./node-service-DCI-s3Mm.js";
37
+ import { t as resolveNodeService } from "./node-service-BhD56-7r.js";
38
38
  import fs from "node:fs";
39
39
  import path from "node:path";
40
40
  import { spawn, spawnSync } from "node:child_process";
@@ -1,5 +1,5 @@
1
1
  import { _ as resolveNodeSystemdServiceName, c as NODE_SERVICE_MARKER, g as resolveNodeLaunchAgentLabel, l as NODE_WINDOWS_TASK_SCRIPT_NAME, s as NODE_SERVICE_KIND, v as resolveNodeWindowsTaskName } from "./paths-Dk_PxD7g.js";
2
- import { r as resolveGatewayService } from "./service-ChLFBF7Q.js";
2
+ import { r as resolveGatewayService } from "./service-D6nRIQp0.js";
3
3
  //#region src/daemon/node-service.ts
4
4
  function withNodeServiceEnv(env) {
5
5
  return {
@@ -19,7 +19,7 @@ import { t as createClackPrompter } from "./clack-prompter-iN7meFad.js";
19
19
  import { n as logConfigUpdated } from "./logging-ct4GyQVj.js";
20
20
  import { c as normalizeGatewayTokenInput, m as waitForGatewayReachable, n as applyWizardMetadata, o as handleReset, r as ensureWorkspaceAndSessions, t as DEFAULT_WORKSPACE } from "./onboard-helpers-DIxfEXNM.js";
21
21
  import { i as resolveDeprecatedAuthChoiceReplacement, n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice, t as formatDeprecatedNonInteractiveAuthChoiceError } from "./auth-choice-legacy-DrEDVfSa.js";
22
- import { t as runSetupWizard } from "./setup-D1ekkhVk.js";
22
+ import { t as runSetupWizard } from "./setup-BCTvNOj1.js";
23
23
  import { i as applySkipBootstrapConfig, r as applyLocalSetupWorkspaceConfig } from "./onboard-config-Bv2cngOw.js";
24
24
  //#region src/commands/onboard-interactive.ts
25
25
  async function runInteractiveSetup(opts, runtime = defaultRuntime) {
@@ -282,7 +282,7 @@ function resolveInstallDaemonGatewayHealthTiming(platform = process.platform) {
282
282
  async function collectGatewayHealthFailureDiagnostics() {
283
283
  const diagnostics = {};
284
284
  try {
285
- const { resolveGatewayService } = await import("./service-XI052xiT.js");
285
+ const { resolveGatewayService } = await import("./service-fyUTnkAE.js");
286
286
  const service = resolveGatewayService();
287
287
  const env = process.env;
288
288
  const [loaded, runtime] = await Promise.all([service.isLoaded({ env }).catch(() => false), service.readRuntime(env).catch(() => void 0)]);
@@ -386,7 +386,7 @@ async function runNonInteractiveLocalSetup(params) {
386
386
  const daemonRuntimeRaw = opts.daemonRuntime ?? "node";
387
387
  let daemonInstallStatus;
388
388
  if (opts.installDaemon) {
389
- const { installGatewayDaemonNonInteractive } = await import("./daemon-install-D8HPES4u.js");
389
+ const { installGatewayDaemonNonInteractive } = await import("./daemon-install-CiudqvC8.js");
390
390
  const daemonInstall = await installGatewayDaemonNonInteractive({
391
391
  nextConfig,
392
392
  opts,
@@ -1 +1 @@
1
- 2026-05-05T06:59:23.893Z
1
+ 2026-05-05T14:53:41.706Z