glimmervoid 0.43.1 → 0.43.3

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 (38) hide show
  1. package/dist/bin/glimmervoid.js +14 -14
  2. package/dist/chunks/{adapters-jRUJYLhH.js → adapters-BrJVO21n.js} +16 -10
  3. package/dist/chunks/{adapters-EqOJN5vD.js → adapters-CxM7iyI_.js} +1 -1
  4. package/dist/chunks/{agent-api-cli-B0fpc41n.js → agent-api-cli-DQDeXBP_.js} +2 -2
  5. package/dist/chunks/{agent-api-cli-DYwXyAmN.js → agent-api-cli-DbipciSb.js} +1 -1
  6. package/dist/chunks/agent-api-core-Da2UAN7U.js +782 -0
  7. package/dist/chunks/{agent-setup-cli-NfJQxNdp.js → agent-setup-cli-DAPHGpRA.js} +1 -1
  8. package/dist/chunks/{control-messages-CD99vE0V.js → config-DkjpKAoc.js} +556 -2
  9. package/dist/chunks/{config-store-CBjnq-OI.js → config-store-DJ_imLTg.js} +39 -5
  10. package/dist/chunks/config-store-Wbcvb0f3.js +1 -0
  11. package/dist/chunks/contracts-D5KEXrcX.js +293 -0
  12. package/dist/chunks/{grok-DPmX1ozS.js → grok-2z-LqPHN.js} +2 -2
  13. package/dist/chunks/{main-_78bVmTr.js → main-BPyE0fvz.js} +335 -534
  14. package/dist/chunks/{pair-cli-DAJNPgsi.js → pair-cli-CKBA5XVU.js} +2 -2
  15. package/dist/chunks/{remote-config-BdCTswa1.js → remote-config-C-Rc55Vf.js} +1 -1
  16. package/dist/chunks/runtime-paths-Cc0_ZR6V.js +1 -0
  17. package/dist/chunks/{runtime-paths-BkeftE60.js → runtime-paths-ghcH9CeW.js} +1 -1
  18. package/dist/chunks/{session-routes-DdeSkLqC.js → session-routes-BQPy81dm.js} +6 -3
  19. package/dist/chunks/{settings-cli-CMLEvC05.js → settings-cli-bDyDiLRy.js} +5 -5
  20. package/dist/chunks/{settings-readout-core-CBqSjZiW.js → settings-readout-core-BKSVNO7q.js} +1 -1
  21. package/dist/chunks/{ssh-sign-cli-CvqtQNQe.js → ssh-sign-cli-COMPYoNe.js} +1 -1
  22. package/dist/chunks/{visions-cli-CVRB9IWA.js → visions-cli-COYRIdXy.js} +1 -1
  23. package/dist/chunks/{visions-setup-DB2P8JUL.js → visions-setup-VMMyqOpl.js} +2 -2
  24. package/dist/client/assets/index-BA0smAG8.js +177 -0
  25. package/dist/client/assets/index-CFJ6Pl08.css +2 -0
  26. package/dist/client/index.html +2 -2
  27. package/dist/server/index.js +2 -2
  28. package/dist/session/remote-setup/SKILL.md +120 -0
  29. package/dist/session/remote-setup/glimmervoid.service +20 -0
  30. package/dist/session/statusline-relay.js +1 -1
  31. package/dist/session/visions-relay.js +1 -1
  32. package/package.json +1 -1
  33. package/dist/chunks/agent-api-core-BeSecYrA.js +0 -336
  34. package/dist/chunks/config-store-DCrosJLg.js +0 -1
  35. package/dist/chunks/contracts-BJGgl8et.js +0 -831
  36. package/dist/chunks/runtime-paths-DSmormp7.js +0 -1
  37. package/dist/client/assets/index-CaLUqLuu.css +0 -2
  38. package/dist/client/assets/index-DAC9sWrV.js +0 -177
@@ -1,6 +1,6 @@
1
1
  import { r as errorMessage } from "./text-DoirglWV.js";
2
- import { c as resolveConfigPath } from "./config-store-CBjnq-OI.js";
3
- import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-BdCTswa1.js";
2
+ import { c as resolveConfigPath } from "./config-store-DJ_imLTg.js";
3
+ import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-C-Rc55Vf.js";
4
4
  import fs from "node:fs";
5
5
  //#region server/text-format.ts
6
6
  function trimIso(iso) {
@@ -3,7 +3,7 @@ import { n as equalsIgnoringCaseOnWindows } from "./paths-Bu4eH1Yd.js";
3
3
  import { n as isRecord } from "./coerce-NSst8oRP.js";
4
4
  import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.js";
5
5
  import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-DFCTvPjj.js";
6
- import { o as glimmervoidHomeDir, ot as canonicalizePath } from "./config-store-CBjnq-OI.js";
6
+ import { o as glimmervoidHomeDir, ot as canonicalizePath } from "./config-store-DJ_imLTg.js";
7
7
  import fs from "node:fs";
8
8
  import path from "node:path";
9
9
  import crypto from "node:crypto";
@@ -0,0 +1 @@
1
+ export { c as resolvePackageBin } from "./runtime-paths-ghcH9CeW.js";
@@ -67,4 +67,4 @@ function readPackageBin(packageName, binName) {
67
67
  }
68
68
  }
69
69
  //#endregion
70
- export { packageRoot as a, extensionDir as i, cliPath as n, relayPath as o, clientDir as r, resolvePackageBin as s, bundled as t };
70
+ export { extensionDir as a, resolvePackageBin as c, clientDir as i, bundled as n, packageRoot as o, cliPath as r, relayPath as s, assetRoot as t };
@@ -1,6 +1,7 @@
1
1
  import { T as SESSION_COMMANDS } from "./session-BUcx9uJa.js";
2
2
  //#region session/core/session-routes.ts
3
3
  var SUPERVISION_LINE = "Glimmervoid supervises this session. Run glimmervoid --help for the commands it gives you and this session's limits.";
4
+ var SPAWN_LINE = "To delegate work that edits files or runs long, use glimmervoid spawn rather than an in-process subagent: the spawned session gets its own dashboard card the operator can watch. An in-process subagent stays fine for a quick read-only lookup.";
4
5
  var GUARDRAILS_LINE = "Its guardrails are OS-enforced, so a read, write or connection they refuse will not succeed on retry.";
5
6
  var HELP_COMMAND = "glimmervoid --help";
6
7
  var SHELL_TOOL_RULE = "Bash";
@@ -8,9 +9,11 @@ var SHELL_PREFIX_RULE = /^Bash\((.+):\*\)$/;
8
9
  var NEVER_ASK_MODE = "dontAsk";
9
10
  var NO_OWN_WORKTREE_REASON = "this session has no worktree of its own, so there is nothing of its own to land";
10
11
  var ANSWERS = Object.freeze({ answers: true });
11
- function supervisionLine({ isGuarded }) {
12
- if (!isGuarded) return SUPERVISION_LINE;
13
- return `${SUPERVISION_LINE} ${GUARDRAILS_LINE}`;
12
+ function supervisionLine({ isGuarded, canSpawn = false }) {
13
+ const sentences = [SUPERVISION_LINE];
14
+ if (canSpawn) sentences.push(SPAWN_LINE);
15
+ if (isGuarded) sentences.push(GUARDRAILS_LINE);
16
+ return sentences.join(" ");
14
17
  }
15
18
  function coversHelpCommand(permissionRule) {
16
19
  if (typeof permissionRule !== "string") return false;
@@ -1,11 +1,11 @@
1
1
  import { r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
2
2
  import { d as AgentSettingsReply } from "./session-BUcx9uJa.js";
3
+ import { r as BrowserConfig } from "./config-DkjpKAoc.js";
4
+ import { n as isRecord } from "./coerce-NSst8oRP.js";
3
5
  import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
4
6
  import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-DFt-TemS.js";
5
- import { n as isRecord } from "./coerce-NSst8oRP.js";
6
- import { C as deleteValueAtPath, D as scoreSettingsSearch, E as parsePosthogProjectSelection, N as SETTINGS_REGISTRY, O as setValueAtPath, Q as withEnvSecrets, S as cloneValue, X as readEnvSecrets, Y as ENV_SECRET_BINDINGS, j as valueAtPath, l as saveConfigFileOnce, s as loadConfigFile, u as validateConfig } from "./config-store-CBjnq-OI.js";
7
- import { m as BrowserConfig } from "./contracts-BJGgl8et.js";
8
- import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as ALL_SETTINGS } from "./settings-readout-core-CBqSjZiW.js";
7
+ import { C as deleteValueAtPath, D as scoreSettingsSearch, E as parsePosthogProjectSelection, N as SETTINGS_REGISTRY, O as setValueAtPath, Q as withEnvSecrets, S as cloneValue, X as readEnvSecrets, Y as ENV_SECRET_BINDINGS, j as valueAtPath, l as saveConfigFileOnce, s as loadConfigFile, u as validateConfig } from "./config-store-DJ_imLTg.js";
8
+ import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as ALL_SETTINGS } from "./settings-readout-core-BKSVNO7q.js";
9
9
  import fs from "node:fs";
10
10
  import os from "node:os";
11
11
  import { parseArgs } from "node:util";
@@ -329,7 +329,7 @@ function processIo() {
329
329
  async function runSettingsCli(commandArguments, io = processIo()) {
330
330
  const serverRequest = settingsRequestForServer(commandArguments, process.env);
331
331
  if (!serverRequest) return runSettingsCommand(commandArguments, io);
332
- const { askAgentApi } = await import("./agent-api-cli-DYwXyAmN.js");
332
+ const { askAgentApi } = await import("./agent-api-cli-DbipciSb.js");
333
333
  const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
334
334
  ok: false,
335
335
  error: errorMessage(error)
@@ -1,6 +1,6 @@
1
1
  import { f as AgentSettingsRequest } from "./session-BUcx9uJa.js";
2
2
  import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
3
- import { A as settingsOf, M as FILE_ONLY_GROUPS, N as SETTINGS_REGISTRY, S as cloneValue, T as hasScaledUnit, X as readEnvSecrets, j as valueAtPath, k as settingsGroupOf, w as displayText, x as SETTINGS_INDEX } from "./config-store-CBjnq-OI.js";
3
+ import { A as settingsOf, M as FILE_ONLY_GROUPS, N as SETTINGS_REGISTRY, S as cloneValue, T as hasScaledUnit, X as readEnvSecrets, j as valueAtPath, k as settingsGroupOf, w as displayText, x as SETTINGS_INDEX } from "./config-store-DJ_imLTg.js";
4
4
  import { parseArgs } from "node:util";
5
5
  //#region server/core/settings-readout-core.ts
6
6
  var VALUE_COLUMN_WIDTH = 40;
@@ -2,7 +2,7 @@ import { r as errorMessage } from "./text-DoirglWV.js";
2
2
  import { A as SIGN_URL_ENV, F as SshSignReply } from "./session-BUcx9uJa.js";
3
3
  import { n as execFileAsync, o as spawn } from "./child-process-safe-D4hyVIXj.js";
4
4
  import { a as isLoopbackHostname } from "./hook-relay-core-DA_bz2KA.js";
5
- import { n as postToAgentIngress } from "./agent-api-cli-B0fpc41n.js";
5
+ import { n as postToAgentIngress } from "./agent-api-cli-DQDeXBP_.js";
6
6
  import { l as parseSshPublicKey } from "./ssh-signing-core-CRhVVWNW.js";
7
7
  import path from "node:path";
8
8
  import fs from "node:fs/promises";
@@ -1,5 +1,5 @@
1
1
  import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
2
- import { a as relayInvocationOptions, c as unwireEverything, d as extensionIdOf, f as buildSetupGuide, h as isExtensionInstalled, i as packVsix, l as wireEverything, m as recipeIds, o as resolveRelayInvocation, p as commandLine, r as editorExtensions, s as resolvedEditorPaths, t as RELAY_PATH, u as editorTargets } from "./visions-setup-DB2P8JUL.js";
2
+ import { a as relayInvocationOptions, c as unwireEverything, d as extensionIdOf, f as buildSetupGuide, h as isExtensionInstalled, i as packVsix, l as wireEverything, m as recipeIds, o as resolveRelayInvocation, p as commandLine, r as editorExtensions, s as resolvedEditorPaths, t as RELAY_PATH, u as editorTargets } from "./visions-setup-VMMyqOpl.js";
3
3
  import fs from "node:fs";
4
4
  //#region server/visions/visions-cli.ts
5
5
  function fileOutcomeRows(files) {
@@ -1,9 +1,9 @@
1
1
  import { r as errorMessage } from "./text-DoirglWV.js";
2
2
  import { r as isPathInside } from "./paths-Bu4eH1Yd.js";
3
- import { a as packageRoot, i as extensionDir, n as cliPath, o as relayPath, t as bundled } from "./runtime-paths-BkeftE60.js";
3
+ import { a as extensionDir, n as bundled, o as packageRoot, r as cliPath, s as relayPath } from "./runtime-paths-ghcH9CeW.js";
4
4
  import { i as execSync, n as execFileAsync } from "./child-process-safe-D4hyVIXj.js";
5
- import { r as resolvePathCommandMatches } from "./spawn-command-Cc40FiZI.js";
6
5
  import { n as isRecord } from "./coerce-NSst8oRP.js";
6
+ import { r as resolvePathCommandMatches } from "./spawn-command-Cc40FiZI.js";
7
7
  import { stripTypeScriptTypes } from "node:module";
8
8
  import fs from "node:fs";
9
9
  import path from "node:path";