glimmervoid 0.53.2-next.968 → 0.54.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/dist/bin/binary-main.js +1 -1
- package/dist/bin/glimmervoid.js +39 -20
- package/dist/chunks/{adapters-Bvg4IsdW.js → adapters-BpRMaOqW.js} +42 -43
- package/dist/chunks/{adapters-BKAruwl6.js → adapters-D3Vpgj4x.js} +1 -1
- package/dist/chunks/{agent-api-cli-BxM3JxWj.js → agent-api-cli-CXVV57k-.js} +1 -1
- package/dist/chunks/agent-api-cli-Q4K2h2B1.js +1 -0
- package/dist/chunks/{agent-api-core-BGpJNhH5.js → agent-api-core-rEEiI8Pd.js} +2 -2
- package/dist/chunks/{agent-setup-cli-CZ82pLNW.js → agent-setup-cli-T5QkEnun.js} +1 -1
- package/dist/chunks/{board-store-client-DNlvZvGx.js → board-store-client-DZPYuiZo.js} +1 -1
- package/dist/chunks/{config-CHKlCDpY.js → config-K4Ajx_x7.js} +1 -2
- package/dist/chunks/{config-store-CQpMnLFi.js → config-store-CAzc6z1i.js} +50 -67
- package/dist/chunks/config-store-xEFhZ57s.js +1 -0
- package/dist/chunks/{control-messages-DkKr9vbw.js → control-messages-B6l3aVFK.js} +5 -4
- package/dist/chunks/{grok-BTD32YhV.js → grok-myTC9O74.js} +1 -1
- package/dist/chunks/{host-cli-CtHOXwr5.js → host-cli-BFLDVJ4m.js} +3 -3
- package/dist/chunks/{host-registry-core-BZJqNz7o.js → host-registry-core-BgHHO4VK.js} +1 -1
- package/dist/chunks/{kimi-bJFSfqLq.js → kimi-DJ6HUYC6.js} +1 -1
- package/dist/chunks/kimi-DftdHIcL.js +1 -0
- package/dist/chunks/{main-COJdeh96.js → main-u7J8_QOC.js} +136 -318
- package/dist/chunks/{native-probes-Dhs6LeOq.js → native-probes-SNVdVUU7.js} +2 -2
- package/dist/chunks/{pack-agent-D-Uh314s.js → pack-agent-c_74clVP.js} +1 -1
- package/dist/chunks/{packs-cli-Cf5nsDBr.js → packs-cli-BDOP5FaV.js} +3 -3
- package/dist/chunks/{pair-cli-CXd8czCK.js → pair-cli-Dqy4a3Pi.js} +2 -2
- package/dist/chunks/{path-doctor-CHyvHUpg.js → path-doctor-R9RhGNdk.js} +37 -1
- package/dist/chunks/{pr-flows-cli-H-G7ndCk.js → pr-flows-cli-D_B5T3Wp.js} +2 -2
- package/dist/chunks/{remote-config-CX87T8kk.js → remote-config-Ch63m7CJ.js} +1 -1
- package/dist/chunks/{runtime-paths-DrDchzfV.js → runtime-paths-BhtVY5Kw.js} +1 -1
- package/dist/chunks/{runtime-paths-DCVulpER.js → runtime-paths-Cef9baZq.js} +1 -1
- package/dist/chunks/settings-cli-C3Et1vDZ.js +1 -0
- package/dist/chunks/{settings-cli-D5FDGWpl.js → settings-cli-Csw0REjR.js} +4 -4
- package/dist/chunks/{settings-readout-core-CawQ72Tn.js → settings-readout-core-DAFEnqa5.js} +2 -2
- package/dist/chunks/{ssh-sign-cli-pSVnAjqf.js → ssh-sign-cli-CJpFuHst.js} +1 -1
- package/dist/client/assets/{action-status-rETkOMJb.js → action-status-CYnvXmb6.js} +1 -1
- package/dist/client/assets/action-status-CYnvXmb6.js.br +0 -0
- package/dist/client/assets/{agent-core-BmzljZal.js → agent-core-tuv4xJ0Y.js} +2 -2
- package/dist/client/assets/agent-core-tuv4xJ0Y.js.br +0 -0
- package/dist/client/assets/{agent-mark-vCo0zsWP.js → agent-mark-BtEHRggA.js} +1 -1
- package/dist/client/assets/agent-mark-BtEHRggA.js.br +0 -0
- package/dist/client/assets/{arena-panel-azL51Ses.js → arena-panel-GCqaL8x0.js} +2 -2
- package/dist/client/assets/arena-panel-GCqaL8x0.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-8mimXsjK.js → benchmark-panel-DRYVXpcK.js} +1 -1
- package/dist/client/assets/benchmark-panel-DRYVXpcK.js.br +0 -0
- package/dist/client/assets/{boards-view-DIh7lkLS.js → boards-view-1iez0CnW.js} +1 -1
- package/dist/client/assets/boards-view-1iez0CnW.js.br +0 -0
- package/dist/client/assets/button-CMQWs0VA.js +1 -0
- package/dist/client/assets/button-CMQWs0VA.js.br +0 -0
- package/dist/client/assets/{card-actions-tzD2Tm0H.js → card-actions-CELKX1cn.js} +1 -1
- package/dist/client/assets/{community-panel-oPNEjWVB.js → community-panel-DEgrcjdU.js} +1 -1
- package/dist/client/assets/community-panel-DEgrcjdU.js.br +0 -0
- package/dist/client/assets/{control-ws-DEfwcMni.js → control-ws-7yhbi9n0.js} +1 -1
- package/dist/client/assets/control-ws-7yhbi9n0.js.br +0 -0
- package/dist/client/assets/{dialogs-BJQhXF-i.js → dialogs-Lz1Ao11t.js} +1 -1
- package/dist/client/assets/dialogs-Lz1Ao11t.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-qzAOMLgj.js → doc-editor-ui-CKZz05lK.js} +1 -1
- package/dist/client/assets/doc-editor-ui-CKZz05lK.js.br +0 -0
- package/dist/client/assets/{feature-hint-DYaAH_FS.js → feature-hint-BHOF9CQ1.js} +1 -1
- package/dist/client/assets/feature-hint-BHOF9CQ1.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-B-J9-hZq.js → first-run-checklist-BiP4hofz.js} +1 -1
- package/dist/client/assets/first-run-checklist-BiP4hofz.js.br +0 -0
- package/dist/client/assets/{hooks-panel-leiYaWxz.js → hooks-panel-Bxai6Wx6.js} +1 -1
- package/dist/client/assets/hooks-panel-Bxai6Wx6.js.br +0 -0
- package/dist/client/assets/{index-CCAFwpgb.js → index-ECLRLSjk.js} +6 -6
- package/dist/client/assets/index-ECLRLSjk.js.br +0 -0
- package/dist/client/assets/{issues-panel-I6N9hEcg.js → issues-panel-vEtKPCyT.js} +1 -1
- package/dist/client/assets/issues-panel-vEtKPCyT.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-nbabpx3_.js → lane-read-token-step-BK7uwijC.js} +1 -1
- package/dist/client/assets/lane-read-token-step-BK7uwijC.js.br +0 -0
- package/dist/client/assets/{menu-DzZGGGGN.js → menu-D8rPo2sW.js} +1 -1
- package/dist/client/assets/menu-D8rPo2sW.js.br +0 -0
- package/dist/client/assets/{modal-CjIIQMho.js → modal-CrCrVLFZ.js} +1 -1
- package/dist/client/assets/modal-CrCrVLFZ.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-8vwDuQYH.js → my-prs-panel-CySsi3_E.js} +1 -1
- package/dist/client/assets/my-prs-panel-CySsi3_E.js.br +0 -0
- package/dist/client/assets/{nyan-cat-CyLs6Ah3.js → nyan-cat-D3ctFgVh.js} +1 -1
- package/dist/client/assets/nyan-cat-D3ctFgVh.js.br +0 -0
- package/dist/client/assets/{phone-shell-6J_LT8oK.js → phone-shell-CHfPGuqa.js} +1 -1
- package/dist/client/assets/phone-shell-CHfPGuqa.js.br +0 -0
- package/dist/client/assets/{plan-face-VwtdBhdq.js → plan-face-BhBWJEsu.js} +2 -2
- package/dist/client/assets/plan-face-BhBWJEsu.js.br +0 -0
- package/dist/client/assets/{plan-render-BeX_KU2k.js → plan-render-tQMgKs6r.js} +1 -1
- package/dist/client/assets/plan-render-tQMgKs6r.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-BwjW6ZSu.js → pr-queue-columns-kIAgWAw8.js} +1 -1
- package/dist/client/assets/pr-queue-columns-kIAgWAw8.js.br +0 -0
- package/dist/client/assets/{pr-status-icon-dpJOgyIo.js → pr-status-icon-wvSUvmPS.js} +1 -1
- package/dist/client/assets/pr-status-icon-wvSUvmPS.js.br +0 -0
- package/dist/client/assets/{radar-panel-U8kArKZ3.js → radar-panel-C91Ow7Yp.js} +1 -1
- package/dist/client/assets/radar-panel-C91Ow7Yp.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-C57e0__D.js → repo-roots-adder-bSw_uk13.js} +1 -1
- package/dist/client/assets/repo-roots-adder-bSw_uk13.js.br +0 -0
- package/dist/client/assets/{resume-dialog-DRD_GKrw.js → resume-dialog-ByxM6OIT.js} +1 -1
- package/dist/client/assets/resume-dialog-ByxM6OIT.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-DAk2WHrm.js → review-queue-panel-DvEYQ9A6.js} +1 -1
- package/dist/client/assets/review-queue-panel-DvEYQ9A6.js.br +0 -0
- package/dist/client/assets/{session-row-U1g9MCRj.js → session-row-Bv_XJ1Rz.js} +1 -1
- package/dist/client/assets/session-row-Bv_XJ1Rz.js.br +0 -0
- package/dist/client/assets/{session-tick-DxsZqUxX.js → session-tick-BCeOQ9qf.js} +1 -1
- package/dist/client/assets/session-tick-BCeOQ9qf.js.br +0 -0
- package/dist/client/assets/settings-panel-JxH6E5Ig.js +4 -0
- package/dist/client/assets/settings-panel-JxH6E5Ig.js.br +0 -0
- package/dist/client/assets/{setup-step-B9ALtknc.js → setup-step-CR1WGQhX.js} +1 -1
- package/dist/client/assets/setup-step-CR1WGQhX.js.br +0 -0
- package/dist/client/assets/{trace-panel-CHusMzMn.js → trace-panel-Bq9_6o8f.js} +1 -1
- package/dist/client/assets/trace-panel-Bq9_6o8f.js.br +0 -0
- package/dist/client/assets/{usage-panel-CuIScVal.js → usage-panel-DvcudF2w.js} +1 -1
- package/dist/client/assets/usage-panel-DvcudF2w.js.br +0 -0
- package/dist/client/assets/{whiteboard-undo-core-DFpJR7c5.js → whiteboard-undo-core-BolyAF2I.js} +1 -1
- package/dist/client/assets/whiteboard-undo-core-BolyAF2I.js.br +0 -0
- package/dist/client/assets/{your-day-tip-_pFQLziL.js → your-day-tip-oNhfXOue.js} +1 -1
- package/dist/client/assets/your-day-tip-oNhfXOue.js.br +0 -0
- package/dist/client/index.html +12 -12
- package/dist/client/index.html.br +0 -0
- package/dist/scripts/postinstall-path-check.js +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/whiteboard/layout-worker.js +1 -1
- package/dist/session/hook-tool-relay.js +1 -1
- package/package.json +4 -1
- package/dist/chunks/agent-api-cli-ly6UBwlj.js +0 -1
- package/dist/chunks/config-store-BCB2IgBC.js +0 -1
- package/dist/chunks/kimi-BsXxRPQ_.js +0 -1
- package/dist/chunks/settings-cli-O5kaFTNh.js +0 -1
- package/dist/client/assets/action-status-rETkOMJb.js.br +0 -0
- package/dist/client/assets/agent-core-BmzljZal.js.br +0 -0
- package/dist/client/assets/agent-mark-vCo0zsWP.js.br +0 -0
- package/dist/client/assets/arena-panel-azL51Ses.js.br +0 -0
- package/dist/client/assets/benchmark-panel-8mimXsjK.js.br +0 -0
- package/dist/client/assets/boards-view-DIh7lkLS.js.br +0 -0
- package/dist/client/assets/button-CfhUK7Jn.js +0 -1
- package/dist/client/assets/button-CfhUK7Jn.js.br +0 -0
- package/dist/client/assets/community-panel-oPNEjWVB.js.br +0 -0
- package/dist/client/assets/control-ws-DEfwcMni.js.br +0 -0
- package/dist/client/assets/dialogs-BJQhXF-i.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-qzAOMLgj.js.br +0 -0
- package/dist/client/assets/feature-hint-DYaAH_FS.js.br +0 -0
- package/dist/client/assets/first-run-checklist-B-J9-hZq.js.br +0 -0
- package/dist/client/assets/hooks-panel-leiYaWxz.js.br +0 -0
- package/dist/client/assets/index-CCAFwpgb.js.br +0 -0
- package/dist/client/assets/issues-panel-I6N9hEcg.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-nbabpx3_.js.br +0 -0
- package/dist/client/assets/menu-DzZGGGGN.js.br +0 -0
- package/dist/client/assets/modal-CjIIQMho.js.br +0 -0
- package/dist/client/assets/my-prs-panel-8vwDuQYH.js.br +0 -0
- package/dist/client/assets/nyan-cat-CyLs6Ah3.js.br +0 -0
- package/dist/client/assets/phone-shell-6J_LT8oK.js.br +0 -0
- package/dist/client/assets/plan-face-VwtdBhdq.js.br +0 -0
- package/dist/client/assets/plan-render-BeX_KU2k.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-BwjW6ZSu.js.br +0 -0
- package/dist/client/assets/pr-status-icon-dpJOgyIo.js.br +0 -0
- package/dist/client/assets/radar-panel-U8kArKZ3.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-C57e0__D.js.br +0 -0
- package/dist/client/assets/resume-dialog-DRD_GKrw.js.br +0 -0
- package/dist/client/assets/review-queue-panel-DAk2WHrm.js.br +0 -0
- package/dist/client/assets/session-row-U1g9MCRj.js.br +0 -0
- package/dist/client/assets/session-tick-DxsZqUxX.js.br +0 -0
- package/dist/client/assets/settings-panel-CMQPJBaI.js +0 -4
- package/dist/client/assets/settings-panel-CMQPJBaI.js.br +0 -0
- package/dist/client/assets/setup-step-B9ALtknc.js.br +0 -0
- package/dist/client/assets/trace-panel-CHusMzMn.js.br +0 -0
- package/dist/client/assets/usage-panel-CuIScVal.js.br +0 -0
- package/dist/client/assets/whiteboard-undo-core-DFpJR7c5.js.br +0 -0
- package/dist/client/assets/your-day-tip-_pFQLziL.js.br +0 -0
package/dist/bin/binary-main.js
CHANGED
|
@@ -10,7 +10,7 @@ var RELAY_RUN_ENTRIES = /* @__PURE__ */ new Set([
|
|
|
10
10
|
]);
|
|
11
11
|
var PACKAGE_BIN_RUN_ENTRIES = /* @__PURE__ */ new Set(["cc-safety-net"]);
|
|
12
12
|
async function entryFileOf(entryName) {
|
|
13
|
-
const { relayPath, resolvePackageBin } = await import("../chunks/runtime-paths-
|
|
13
|
+
const { relayPath, resolvePackageBin } = await import("../chunks/runtime-paths-Cef9baZq.js");
|
|
14
14
|
if (RELAY_RUN_ENTRIES.has(entryName)) return relayPath(entryName);
|
|
15
15
|
if (PACKAGE_BIN_RUN_ENTRIES.has(entryName)) return resolvePackageBin(entryName, entryName);
|
|
16
16
|
return null;
|
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as AGENT_API_VERBS } from "../chunks/session-BygOlxkV.js";
|
|
3
3
|
import { a as execSync } from "../chunks/child-process-safe-DAaWFLd1.js";
|
|
4
|
-
import { at as OWNED_COMMAND_SPECS, ot as isOwnedCommandName, r as agentCommandHelpLines, st as parseCommand } from "../chunks/agent-api-core-
|
|
4
|
+
import { at as OWNED_COMMAND_SPECS, ot as isOwnedCommandName, r as agentCommandHelpLines, st as parseCommand } from "../chunks/agent-api-core-rEEiI8Pd.js";
|
|
5
5
|
import { t as renderTable } from "../chunks/ascii-figure-core-BegIbndz.js";
|
|
6
6
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-qUZH9-0F.js";
|
|
7
7
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-Nd3lkOqC.js";
|
|
8
8
|
import { i as nodePtyRebuildHint, t as probeNodePty } from "../chunks/node-pty-preflight-D2ktjjKG.js";
|
|
9
9
|
import { t as firstLine } from "../chunks/text-core-BECIwjCW.js";
|
|
10
10
|
import { i as errorText } from "../chunks/text-BDF4aFhQ.js";
|
|
11
|
-
import { l as packageRoot } from "../chunks/runtime-paths-
|
|
12
|
-
import { i as
|
|
11
|
+
import { l as packageRoot } from "../chunks/runtime-paths-BhtVY5Kw.js";
|
|
12
|
+
import { a as onPath, i as npmGlobalBinDir, n as formatDuplicateInstallWarning, o as pnpmGlobalBinDir, r as formatPathNotice, t as findGlimmervoidCommands } from "../chunks/path-doctor-R9RhGNdk.js";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import os from "node:os";
|
|
@@ -68,7 +68,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
68
68
|
return await runDoctor() ? 0 : 1;
|
|
69
69
|
},
|
|
70
70
|
pair: async ({ values }) => {
|
|
71
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
71
|
+
const { runPairCli } = await import("../chunks/pair-cli-Dqy4a3Pi.js");
|
|
72
72
|
return runPairCli({
|
|
73
73
|
isListing: values.list === true,
|
|
74
74
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -76,27 +76,27 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
76
76
|
});
|
|
77
77
|
},
|
|
78
78
|
agent: async () => {
|
|
79
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
79
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-T5QkEnun.js");
|
|
80
80
|
return runAgentSetupCli();
|
|
81
81
|
},
|
|
82
82
|
settings: async (parsed) => {
|
|
83
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
83
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-C3Et1vDZ.js");
|
|
84
84
|
return runParsedSettingsCli(parsed);
|
|
85
85
|
},
|
|
86
86
|
host: async (parsed) => {
|
|
87
|
-
const { runHostCli } = await import("../chunks/host-cli-
|
|
87
|
+
const { runHostCli } = await import("../chunks/host-cli-BFLDVJ4m.js");
|
|
88
88
|
return runHostCli(parsed);
|
|
89
89
|
},
|
|
90
90
|
"pr-flows": async (parsed) => {
|
|
91
|
-
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-
|
|
91
|
+
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-D_B5T3Wp.js");
|
|
92
92
|
return runPrFlowsCheckCli(parsed);
|
|
93
93
|
},
|
|
94
94
|
packs: async (parsed) => {
|
|
95
|
-
const { runPacksCli } = await import("../chunks/packs-cli-
|
|
95
|
+
const { runPacksCli } = await import("../chunks/packs-cli-BDOP5FaV.js");
|
|
96
96
|
return runPacksCli(parsed);
|
|
97
97
|
},
|
|
98
98
|
"pr-action": async (parsed) => {
|
|
99
|
-
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-
|
|
99
|
+
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-D_B5T3Wp.js");
|
|
100
100
|
return runPrActionReportCli(parsed);
|
|
101
101
|
},
|
|
102
102
|
vault: async ({ values }) => {
|
|
@@ -112,7 +112,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
112
112
|
return runWatchCli({ rawPort: typeof values.port === "string" ? values.port : null });
|
|
113
113
|
},
|
|
114
114
|
"ssh-sign": async ({ rawArgs }) => {
|
|
115
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
115
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-CJpFuHst.js");
|
|
116
116
|
return runSshSignCli(rawArgs);
|
|
117
117
|
}
|
|
118
118
|
};
|
|
@@ -134,7 +134,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
134
134
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
135
135
|
}
|
|
136
136
|
var SUBCOMMAND_RUNNERS = new Map([...Object.keys(OWNED_COMMAND_SPECS).filter(isOwnedCommandName).map((name) => [name, (subcommandArgs) => runOwnedCommand(name, subcommandArgs)]), ...AGENT_API_VERBS.filter((verb) => !isOwnedCommandName(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
|
|
137
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
137
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-Q4K2h2B1.js");
|
|
138
138
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
139
139
|
}])]);
|
|
140
140
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -148,7 +148,7 @@ function missingAgentText(agentId) {
|
|
|
148
148
|
}
|
|
149
149
|
async function printSessionLimits() {
|
|
150
150
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
151
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
151
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-Q4K2h2B1.js");
|
|
152
152
|
const limitsLines = await sessionLimitsHelpLines();
|
|
153
153
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
154
154
|
}
|
|
@@ -205,7 +205,7 @@ async function readDeclaredCustomAgents() {
|
|
|
205
205
|
declared: [],
|
|
206
206
|
error: null
|
|
207
207
|
};
|
|
208
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
208
|
+
const { loadConfigFile } = await import("../chunks/config-store-xEFhZ57s.js");
|
|
209
209
|
try {
|
|
210
210
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
211
211
|
if (!loaded.config) return {
|
|
@@ -279,9 +279,18 @@ async function runDoctor() {
|
|
|
279
279
|
platform
|
|
280
280
|
}) ? "yes" : "NO");
|
|
281
281
|
}
|
|
282
|
+
const glimmervoidCommands = findGlimmervoidCommands({
|
|
283
|
+
pathEnv,
|
|
284
|
+
platform,
|
|
285
|
+
resolveCommand: resolveInstalledCommand
|
|
286
|
+
});
|
|
287
|
+
for (const command of glimmervoidCommands) {
|
|
288
|
+
const target = command.installPath === command.commandPath ? "" : ` -> ${command.installPath}`;
|
|
289
|
+
line("glimmervoid on PATH", `${command.commandPath}${target}`);
|
|
290
|
+
}
|
|
282
291
|
switchSection("Agents");
|
|
283
292
|
try {
|
|
284
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
293
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-D3Vpgj4x.js");
|
|
285
294
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
286
295
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
287
296
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -289,10 +298,10 @@ async function runDoctor() {
|
|
|
289
298
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
290
299
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
291
300
|
}
|
|
292
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
301
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-T5QkEnun.js");
|
|
293
302
|
const grokSetup = inspectGrokAgentSetup();
|
|
294
303
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
295
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
304
|
+
const { default: kimi } = await import("../chunks/kimi-DftdHIcL.js");
|
|
296
305
|
const { describeAgentHome } = await import("../chunks/agent-home-Ba_VrHA0.js");
|
|
297
306
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-D0DgxTT_.js");
|
|
298
307
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
@@ -301,9 +310,9 @@ async function runDoctor() {
|
|
|
301
310
|
}
|
|
302
311
|
switchSection("Sane YOLO");
|
|
303
312
|
try {
|
|
304
|
-
const { resolvePackageBin, scriptLaunch } = await import("../chunks/runtime-paths-
|
|
313
|
+
const { resolvePackageBin, scriptLaunch } = await import("../chunks/runtime-paths-Cef9baZq.js");
|
|
305
314
|
const { execFileSync } = await import("../chunks/child-process-safe-DnDmA8Aw.js");
|
|
306
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
315
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-T5QkEnun.js");
|
|
307
316
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
308
317
|
line("Sane YOLO", binPath || "not installed");
|
|
309
318
|
const [saneYoloLauncher, ...saneYoloLaunchArguments] = binPath ? scriptLaunch(binPath, "cc-safety-net", process.execPath) : [];
|
|
@@ -324,7 +333,7 @@ async function runDoctor() {
|
|
|
324
333
|
line("reason", nodePty.reason);
|
|
325
334
|
line("hint", nodePtyRebuildHint(platform));
|
|
326
335
|
}
|
|
327
|
-
const { isEveryProbeLoading, probeNativeModules } = await import("../chunks/native-probes-
|
|
336
|
+
const { isEveryProbeLoading, probeNativeModules } = await import("../chunks/native-probes-SNVdVUU7.js");
|
|
328
337
|
const nativeProbeRows = await probeNativeModules();
|
|
329
338
|
for (const [label, outcome] of nativeProbeRows) line(label, outcome);
|
|
330
339
|
switchSection("Git");
|
|
@@ -337,8 +346,18 @@ async function runDoctor() {
|
|
|
337
346
|
onPathFlag: false,
|
|
338
347
|
platform
|
|
339
348
|
})}`);
|
|
349
|
+
const duplicateInstallWarning = formatDuplicateInstallWarning(glimmervoidCommands);
|
|
350
|
+
if (duplicateInstallWarning) console.log(`\n${duplicateInstallWarning}`);
|
|
340
351
|
return nodePty.ok && isEveryProbeLoading(nativeProbeRows);
|
|
341
352
|
}
|
|
353
|
+
function resolveInstalledCommand(commandPath) {
|
|
354
|
+
try {
|
|
355
|
+
if (!fs.statSync(commandPath).isFile()) return null;
|
|
356
|
+
return fs.realpathSync(commandPath);
|
|
357
|
+
} catch {
|
|
358
|
+
return null;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
342
361
|
function resolveNpmGlobalPrefix(exec) {
|
|
343
362
|
try {
|
|
344
363
|
const out = exec("npm prefix -g", {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-
|
|
1
|
+
import { s as hookLaunch, v as buildAgentSpawnCommand, y as resolveAgentCommand } from "./runtime-paths-BhtVY5Kw.js";
|
|
2
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-myTC9O74.js";
|
|
3
3
|
import { n as buildAgentEnv } from "./spawn-env-VKivL0Ed.js";
|
|
4
4
|
import { i as execFileSync, l as spawn, r as execFileAsync } from "./child-process-safe-DAaWFLd1.js";
|
|
5
5
|
import { o as isMissingFileError, r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
6
6
|
import { c as loadedJsonValue, f as writeJsonAtomicSync, m as writeTextAtomicSync, p as writeTextAtomic, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-BmnDu2ZM.js";
|
|
7
|
-
import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-
|
|
7
|
+
import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-CAzc6z1i.js";
|
|
8
8
|
import { Dn as FULL_SHA_RE, E as CONVERSATION_TOOL_RESULT_HOOK_EVENT, T as CONVERSATION_PERMISSION_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME, j as REQUEST_USER_INPUT_TOOL_NAME, kn as shortSha$1 } from "./session-BygOlxkV.js";
|
|
9
9
|
import { a as rawTextOr, n as isRecord, o as textOr, r as numberOr } from "./coerce-D6vRlIGO.js";
|
|
10
10
|
import { n as shellLaunchText, r as shellQuote, t as buildHookCommand } from "./hook-command-core-9E3QR9Bk.js";
|
|
11
11
|
import { a as QWEN_SANE_YOLO_FLAVOR, n as COPILOT_SANE_YOLO_FLAVOR, o as SANE_YOLO_PATH_ENV, r as GEMINI_SANE_YOLO_FLAVOR, s as saneYoloEnv, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-DqvfS8ed.js";
|
|
12
|
-
import { Vt as HTTP_URL_RE,
|
|
12
|
+
import { Vt as HTTP_URL_RE, Xt as BINARY_SWITCH_FLAVORS, gn as PLAN_TOOL_NAME, hn as PLAN_RESULT_HOOK_EVENT, pn as PLAN_HOOK_EVENT, rn as InstallFlavor, un as UpdateChannel } from "./control-messages-B6l3aVFK.js";
|
|
13
13
|
import { o as QUESTION_TOOL_HOLD_HOOK_EVENT } from "./question-manager-C_RzS1Ot.js";
|
|
14
14
|
import { i as safePathSegment, r as isPathInside } from "./paths-C2u2R_6l.js";
|
|
15
15
|
import { r as nextBackoffMs } from "./backoff-CMhw1Fu8.js";
|
|
16
16
|
import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
|
|
17
17
|
import { S as cleanJsonc, _ as renderCodexHookTables, c as CODEX_HOME_PROFILE, f as QWEN_HOME_PROFILE, l as COPILOT_HOME_PROFILE, p as doesProjectConfigTurnHooksOff, t as AGENT_HOME_CONFIG_NAME, u as GEMINI_HOME_PROFILE, v as renderCodexHooksBlock, x as tomlBasicString } from "./agent-home-core-DxJ5_9_c.js";
|
|
18
18
|
import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, s as readOptionalText } from "./agent-home-KhnohDHV.js";
|
|
19
|
-
import { t as kimi } from "./kimi-
|
|
20
|
-
import { c as SHELL_AGENT_ID } from "./config-
|
|
19
|
+
import { t as kimi } from "./kimi-DJ6HUYC6.js";
|
|
20
|
+
import { c as SHELL_AGENT_ID } from "./config-K4Ajx_x7.js";
|
|
21
21
|
import fs from "node:fs";
|
|
22
22
|
import path from "node:path";
|
|
23
23
|
import os from "node:os";
|
|
@@ -2063,9 +2063,8 @@ function turnEndedWithProposedPlan(rolloutLines, turnId) {
|
|
|
2063
2063
|
// shared/repo.ts
|
|
2064
2064
|
var REPO_SLUG = "johncwaters/glimmervoid";
|
|
2065
2065
|
// server/core/update-core.ts
|
|
2066
|
-
var
|
|
2067
|
-
var
|
|
2068
|
-
var NATIVE_INSTALL_SCRIPTS_FLAG = "--allow-scripts=node-pty,ffmpeg-static";
|
|
2066
|
+
var UNIX_INSTALLER_NAME = "glimmervoid-installer.sh";
|
|
2067
|
+
var WINDOWS_INSTALLER_NAME = "glimmervoid-installer.ps1";
|
|
2069
2068
|
var NPX_CACHE_DIRECTORY_NAME = "_npx";
|
|
2070
2069
|
var CLONE_COMMAND = "git pull --ff-only && npm ci && npm run build";
|
|
2071
2070
|
var BINARY_UPDATER_NAME = "glimmervoid-update";
|
|
@@ -2073,7 +2072,7 @@ var HOMEBREW_COMMAND = "brew upgrade glimmervoid";
|
|
|
2073
2072
|
var HOMEBREW_CELLAR_DIRECTORY_NAME = "Cellar";
|
|
2074
2073
|
var INSTALL_FLAVORS = new Set(InstallFlavor.options);
|
|
2075
2074
|
var TAG_VERSION_RE = /^v(\d+\.\d+\.\d+(?:-next\.\d+)?)$/;
|
|
2076
|
-
var
|
|
2075
|
+
var SECURITY_NOTICE_MAX_CHARS = 500;
|
|
2077
2076
|
function normalizeSha(value) {
|
|
2078
2077
|
if (typeof value !== "string") return null;
|
|
2079
2078
|
const sha = value.trim().toLowerCase();
|
|
@@ -2089,6 +2088,11 @@ function parseResolvedSha(resolved) {
|
|
|
2089
2088
|
if (fragmentAt === -1) return null;
|
|
2090
2089
|
return normalizeSha(resolved.slice(fragmentAt + 1));
|
|
2091
2090
|
}
|
|
2091
|
+
function parseRemoteTagSha(lsRemoteOutput, version) {
|
|
2092
|
+
const tagRef = `refs/tags/v${version}`;
|
|
2093
|
+
const shaByRef = new Map(lsRemoteOutput.split(/\r?\n/).map((line) => line.trim().split(/\s+/)).filter((fields) => fields.length === 2).map(([sha, ref]) => [ref, sha]));
|
|
2094
|
+
return normalizeSha(shaByRef.get(`${tagRef}^{}`) ?? shaByRef.get(tagRef));
|
|
2095
|
+
}
|
|
2092
2096
|
function parseTagVersion(ref) {
|
|
2093
2097
|
if (typeof ref !== "string") return null;
|
|
2094
2098
|
const normalized = ref.trim().replace(/^refs\/tags\//, "").replace(/\^\{\}$/, "");
|
|
@@ -2135,16 +2139,23 @@ function decideInstallFlavor({ standaloneExecutablePath, packageRoot, lockfileSh
|
|
|
2135
2139
|
installedSha: null
|
|
2136
2140
|
};
|
|
2137
2141
|
}
|
|
2138
|
-
function
|
|
2139
|
-
return
|
|
2142
|
+
function isBinarySwitchFlavor(flavor) {
|
|
2143
|
+
return typeof flavor === "string" && BINARY_SWITCH_FLAVORS.has(flavor);
|
|
2144
|
+
}
|
|
2145
|
+
function installerFileName(platform) {
|
|
2146
|
+
return platform === "win32" ? WINDOWS_INSTALLER_NAME : UNIX_INSTALLER_NAME;
|
|
2147
|
+
}
|
|
2148
|
+
function installerUrl(version, platform) {
|
|
2149
|
+
return `https://github.com/${REPO_SLUG}/releases/download/v${version}/${installerFileName(platform)}`;
|
|
2140
2150
|
}
|
|
2141
|
-
function
|
|
2151
|
+
function buildInstallerCommand(latestVersion, platform) {
|
|
2142
2152
|
const version = textOr(latestVersion, null);
|
|
2143
|
-
|
|
2153
|
+
const url = version ? installerUrl(version, platform) : `https://github.com/${REPO_SLUG}/releases/latest/download/${installerFileName(platform)}`;
|
|
2154
|
+
if (platform === "win32") return `powershell -ExecutionPolicy Bypass -c "irm ${url} | iex"`;
|
|
2155
|
+
return `curl --proto '=https' --tlsv1.2 -LsSf ${url} | sh`;
|
|
2144
2156
|
}
|
|
2145
|
-
function buildUpdateCommand(flavor, latestVersion) {
|
|
2146
|
-
if (flavor
|
|
2147
|
-
if (flavor === "npm-global") return buildNpmGlobalCommand(latestVersion);
|
|
2157
|
+
function buildUpdateCommand(flavor, latestVersion, platform = process.platform) {
|
|
2158
|
+
if (isBinarySwitchFlavor(flavor)) return buildInstallerCommand(latestVersion, platform);
|
|
2148
2159
|
if (flavor === "binary") return BINARY_UPDATER_NAME;
|
|
2149
2160
|
if (flavor === "homebrew") return HOMEBREW_COMMAND;
|
|
2150
2161
|
return CLONE_COMMAND;
|
|
@@ -2175,34 +2186,22 @@ function compareSemver(a, b) {
|
|
|
2175
2186
|
}
|
|
2176
2187
|
return 0;
|
|
2177
2188
|
}
|
|
2178
|
-
|
|
2189
|
+
var SECURITY_HEADING = /^### Security\b/m;
|
|
2190
|
+
function parseLatestRelease(doc) {
|
|
2179
2191
|
if (!doc || typeof doc !== "object") return null;
|
|
2180
|
-
const
|
|
2181
|
-
const
|
|
2182
|
-
if (!publishedVersion) return null;
|
|
2183
|
-
const version = parseTagVersion(`v${publishedVersion}`);
|
|
2192
|
+
const release = doc;
|
|
2193
|
+
const version = parseTagVersion(release.tag_name);
|
|
2184
2194
|
if (!version) return null;
|
|
2185
2195
|
return {
|
|
2186
2196
|
version,
|
|
2187
|
-
|
|
2197
|
+
hasSecurityFix: SECURITY_HEADING.test(textOr(release.body, ""))
|
|
2188
2198
|
};
|
|
2189
2199
|
}
|
|
2190
|
-
function
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
if (!published) continue;
|
|
2194
|
-
if (newest && compareReleaseVersions(published.version, newest.version) <= 0) continue;
|
|
2195
|
-
newest = published;
|
|
2196
|
-
}
|
|
2197
|
-
return newest;
|
|
2198
|
-
}
|
|
2199
|
-
function parseRegistryDeprecation(doc) {
|
|
2200
|
-
if (!doc || typeof doc !== "object") return null;
|
|
2201
|
-
const deprecated = doc.deprecated;
|
|
2202
|
-
if (typeof deprecated !== "string") return null;
|
|
2203
|
-
const message = deprecated.trim();
|
|
2200
|
+
function boundedSecurityNotice(notice) {
|
|
2201
|
+
if (typeof notice !== "string") return null;
|
|
2202
|
+
const message = notice.trim();
|
|
2204
2203
|
if (!message) return null;
|
|
2205
|
-
return message.slice(0,
|
|
2204
|
+
return message.slice(0, SECURITY_NOTICE_MAX_CHARS);
|
|
2206
2205
|
}
|
|
2207
2206
|
function normalizeFlavor(flavor) {
|
|
2208
2207
|
if (typeof flavor === "string" && INSTALL_FLAVORS.has(flavor)) return flavor;
|
|
@@ -2216,7 +2215,7 @@ function decideUpdateReason({ isReleaseAlreadyCheckedOut, reason }) {
|
|
|
2216
2215
|
if (isReleaseAlreadyCheckedOut) return "release-already-checked-out";
|
|
2217
2216
|
return textOr(reason, null);
|
|
2218
2217
|
}
|
|
2219
|
-
function decideUpdateStatus({ installedSha, latestSha: remoteSha, currentVersion, latestVersion, flavor, channel, reason, isLatestReleaseAncestorOfHead, deprecation } = {}) {
|
|
2218
|
+
function decideUpdateStatus({ installedSha, latestSha: remoteSha, currentVersion, latestVersion, flavor, channel, reason, isLatestReleaseAncestorOfHead, deprecation, platform = process.platform } = {}) {
|
|
2220
2219
|
const currentSha = normalizeSha(installedSha);
|
|
2221
2220
|
const latestSha = normalizeSha(remoteSha);
|
|
2222
2221
|
const current = textOr(currentVersion, null);
|
|
@@ -2225,20 +2224,20 @@ function decideUpdateStatus({ installedSha, latestSha: remoteSha, currentVersion
|
|
|
2225
2224
|
const isTargetInCheckout = normalizedFlavor === "clone" && isLatestReleaseAncestorOfHead === true && compareReleaseVersions(latest, current) > 0;
|
|
2226
2225
|
const isReleaseAlreadyCheckedOut = isTargetInCheckout && !isExperimentalBuild(latest);
|
|
2227
2226
|
return {
|
|
2228
|
-
updateAvailable: !isTargetInCheckout && compareReleaseVersions(latest, current) > 0,
|
|
2227
|
+
updateAvailable: isBinarySwitchFlavor(normalizedFlavor) ? latest !== null && compareReleaseVersions(latest, current) >= 0 : !isTargetInCheckout && compareReleaseVersions(latest, current) > 0,
|
|
2229
2228
|
current,
|
|
2230
2229
|
latest,
|
|
2231
2230
|
currentSha,
|
|
2232
2231
|
latestSha,
|
|
2233
2232
|
releaseUrl: buildReleaseUrl(latest),
|
|
2234
|
-
command: buildUpdateCommand(flavor, latest),
|
|
2233
|
+
command: buildUpdateCommand(flavor, latest, platform),
|
|
2235
2234
|
flavor: normalizedFlavor,
|
|
2236
2235
|
channel: normalizeUpdateChannel(channel),
|
|
2237
2236
|
reason: decideUpdateReason({
|
|
2238
2237
|
isReleaseAlreadyCheckedOut,
|
|
2239
2238
|
reason
|
|
2240
2239
|
}),
|
|
2241
|
-
deprecation: isReleaseAlreadyCheckedOut ? null :
|
|
2240
|
+
deprecation: isReleaseAlreadyCheckedOut ? null : boundedSecurityNotice(deprecation)
|
|
2242
2241
|
};
|
|
2243
2242
|
}
|
|
2244
2243
|
function isCheckFresh(lastCheckAt, nowMs, ttlMs) {
|
|
@@ -3958,4 +3957,4 @@ function cachedAgentResolvability(agentId) {
|
|
|
3958
3957
|
function resetCommandCache() {
|
|
3959
3958
|
resolvedCommands.clear();
|
|
3960
3959
|
}
|
|
3961
|
-
export {
|
|
3960
|
+
export { withCommittedOffset as $, sweepOrphanedHostScratch as $t, normalizeUpdateChannel as A, parseJsonLine as At, exceedsUploadCap as B, sweepOrphans as Bt, decideInstallFlavor as C, emptyTotals as Ct, isBinarySwitchFlavor as D, identityFromRelPath as Dt, installerUrl as E, foldReplacementIntoGenerationRollup as Et, REPO_SLUG as F, claudeCode as Ft, MAX_TRANSCRIPT_READ_BYTES as G, appendUserHooks as Gt, imageMimeForUploadFilename as H, HOOK_EVENT_CATALOG as Ht, openContainedFile as I, HOOK_EVENTS$4 as It, completeLineBytes as J, rawStoredHooks as Jt, TRACE_TAIL_SCAN_BYTES as K, hooksForProject as Kt, MAX_UPLOAD_BYTES as L, PLAN_HOLD_RELEASE_MS as Lt, parseRemoteTagSha as M, shouldReplace as Mt, parseResolvedSha as N, totalTokensOf as Nt, isCheckFresh as O, isWithinGenerationRecencyWindow as Ot, shortSha as P, vendorUsageEntry as Pt, resumeOffsetFrom as Q, makeHostScratchDirectory as Qt, buildUploadFilename as R, buildHookSettings as Rt, HOMEBREW_COMMAND as S, dedupKeys as St, installerFileName as T, foldEntryIntoGenerationRollup as Tt, isSafePathSegment as U, ID_RE as Ut, framePathPaste as V, writeSessionSettings as Vt, planUploadRetention as W, agentHookGroupOf as Wt, isOversizedPartialLine as X, removeHook as Xt, containmentRefusalReason as Y, readStoredHooks as Yt, planContiguousRead as Z, upsertHook as Zt, folderTrustRoot as _, shouldPersistWarehouse as _t, customAgentFingerprint as a, HOOK_TOOLS as an, decideFileRead as at, requestCodexAppServer as b, parseKimiUsageLine as bt, hookProfileOf as c, grokHomes as ct, isKnownAgentId as d, passOutcome as dt, appendRemovalRecord as en, codexFallbackRoots as et, listAgentIds as f, projectDirCandidates as ft, setCustomAgents as g, shouldEvaluateDespiteIoFailures as gt, resolveAdapter as h, sessionsRootCandidates as ht, commandFor as i, listClaudeGlobalConfigPathCandidates as in, continuationDelayMs as it, parseLatestRelease as j, parseUsageLine as jt, normalizeSha as k, mergeGenerationRollups as kt, isBuiltInAgentId as l, isUsageFile as lt, resetCommandCache as m, scopedClaudeRoots as mt, DEFAULT_AGENT_ID as n, recordSweptPath as nn, codexRootCandidates as nt, describeAgentResolvability as o, dedupeCodexFiles as ot, projectHookConfigRelPaths as p, resolveProjectsDirs as pt, committedOffsetFromTraceTailOrNull as q, normalizeHook as qt, cachedAgentResolvability as r, removalsJournalPath as rn, codexSessionIdFromPath as rt, getAdapter as s, expandTilde as st, BUILT_IN_AGENTS as t, appendRemovalRecordSync as tn, codexHomes as tt, isFirstClassAgent as u, kimiHomes as ut, codex as v, splitLines as vt, decideUpdateStatus as w, expandAdvisorIterations as wt, BINARY_UPDATER_NAME as x, addEntryToTotals as xt, readHostCodexVersion as y, kimiDedupIdentity as yt, decideUploadType as z, generateToken as zt };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as describeAgentResolvability, f as listAgentIds, g as setCustomAgents } from "./adapters-
|
|
1
|
+
export { o as describeAgentResolvability, f as listAgentIds, g as setCustomAgents } from "./adapters-BpRMaOqW.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveHookTarget } from "./hook-relay-core-COOPCFwv.js";
|
|
2
|
-
import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
2
|
+
import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-rEEiI8Pd.js";
|
|
3
3
|
import { t as AgentNeedReply } from "./secrets-DUjhXqjU.js";
|
|
4
4
|
import { d as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-BygOlxkV.js";
|
|
5
5
|
import { D as STEP_STATUSES, E as Op, F as WhiteboardAgentReply } from "./whiteboard-BRwReLkT.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-CXVV57k-.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ln as pullRequestKeyFromReference } from "./control-messages-B6l3aVFK.js";
|
|
2
2
|
import { K as TASK_TITLE_CONTROL_CHARACTERS, M as RefinedTaskTitle, N as SESSION_COMMANDS, b as AgentWhyRequest, c as AgentCheckoutRequest, f as AgentPacksRequest, g as AgentSendRequest, h as AgentReviewsRequest, l as AgentCloseRequest, m as AgentReadRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAnswerRequest, p as AgentPullRequestRequest, s as AgentAttentionRequest, t as AGENT_API_VERBS, u as AgentEditRequest, v as AgentSettingsRequest, y as AgentSpawnRequest } from "./session-BygOlxkV.js";
|
|
3
3
|
import { n as AgentNeedRequest } from "./secrets-DUjhXqjU.js";
|
|
4
4
|
import { I as WhiteboardAgentRequest } from "./whiteboard-BRwReLkT.js";
|
|
5
5
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
6
6
|
import { a as firstCodePoints } from "./text-BDF4aFhQ.js";
|
|
7
|
-
import { l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
7
|
+
import { l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-K4Ajx_x7.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { parseArgs } from "node:util";
|
|
10
10
|
import crypto from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as classifyGrokHooksFile, o as renderGrokHooksFile, t as grok } from "./grok-
|
|
1
|
+
import { a as classifyGrokHooksFile, o as renderGrokHooksFile, t as grok } from "./grok-myTC9O74.js";
|
|
2
2
|
import { o as isMissingFileError, r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
3
3
|
import { m as writeTextAtomicSync } from "./json-file-BmnDu2ZM.js";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as layoutWorkerPath, n as boardStoreWorkerPath } from "./runtime-paths-
|
|
1
|
+
import { c as layoutWorkerPath, n as boardStoreWorkerPath } from "./runtime-paths-BhtVY5Kw.js";
|
|
2
2
|
import { K as elementTableOf, N as WHITEBOARD_LIMITS, q as elementTableOfStoredRows } from "./whiteboard-BRwReLkT.js";
|
|
3
3
|
import { Y as indexBoardInSlices } from "./whiteboard-layout-core-BHYSQ2pZ.js";
|
|
4
4
|
import { d as recordOfRows, i as StoreReply, o as boardDeltaOf, r as ELEMENT_PAGE_SIZE, t as BOARD_STORE_FILENAME, u as headRowsOf } from "./board-store-core-uF82zqRK.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nn as repoParts, _n as PrFlowsSettings, gt as SessionPrLinks, q as TaskTitle } from "./session-BygOlxkV.js";
|
|
2
2
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
3
|
-
import { $ as BRANCH_GC_STALE_DAYS_RANGE, B as DISCORD_CHANNEL_NAME_RE, Ct as POSTHOG_TRANSIENT_RECURRENCE_RANGE, Et as TASK_TITLE_TIMEOUT_RANGE, Ot as USAGE_INTEGER_RANGES, Q as BRANCH_GC_INTERVAL_MS_RANGE, St as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, V as SKILL_NAME_RE, X as WorkflowsSettingsUpdate, Y as WorkflowsSettings, _t as POSTHOG_PROJECT_ID_RANGE, bt as POSTHOG_TRAFFIC_COOLDOWN_RANGE, dt as POSTHOG_ESCALATION_RANGE, et as COMMUNITY_INTERVAL_MINUTES_RANGE, f as GitObjectSha, ft as POSTHOG_FIX_TIMEOUT_RANGE, gt as POSTHOG_MIN_USERS_RANGE, ht as POSTHOG_MAX_CONCURRENT_RANGE, i as HostEntries,
|
|
3
|
+
import { $ as BRANCH_GC_STALE_DAYS_RANGE, B as DISCORD_CHANNEL_NAME_RE, Ct as POSTHOG_TRANSIENT_RECURRENCE_RANGE, Et as TASK_TITLE_TIMEOUT_RANGE, Ot as USAGE_INTEGER_RANGES, Q as BRANCH_GC_INTERVAL_MS_RANGE, St as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, V as SKILL_NAME_RE, X as WorkflowsSettingsUpdate, Y as WorkflowsSettings, _t as POSTHOG_PROJECT_ID_RANGE, bt as POSTHOG_TRAFFIC_COOLDOWN_RANGE, dt as POSTHOG_ESCALATION_RANGE, et as COMMUNITY_INTERVAL_MINUTES_RANGE, f as GitObjectSha, ft as POSTHOG_FIX_TIMEOUT_RANGE, gt as POSTHOG_MIN_USERS_RANGE, ht as POSTHOG_MAX_CONCURRENT_RANGE, i as HostEntries, lt as PORT_RANGE, m as RaceId, mt as POSTHOG_INVESTIGATION_TIMEOUT_RANGE, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, pt as POSTHOG_INTERVAL_RANGE, st as MEMORY_RESERVE_MB_RANGE, tt as FIXED_PORT_RANGE, ut as POSITIVE_NUMBER_RANGE, v as AgentHomeKind, vt as POSTHOG_RECURRENCE_WINDOW_RANGE, wt as REPLAY_BUFFER_KB_RANGE, xt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, y as AgentSetup, yt as POSTHOG_TRAFFIC_BASELINE_RANGE } from "./control-messages-B6l3aVFK.js";
|
|
4
4
|
import { c as QuestionManagerSettings } from "./question-manager-C_RzS1Ot.js";
|
|
5
5
|
import { y as isLinkUrlSafe } from "./watcher-link-xW9PMs77.js";
|
|
6
6
|
import path from "node:path";
|
|
@@ -211,7 +211,6 @@ var createBrowserConfigShape = (isAbsolutePath) => ({
|
|
|
211
211
|
saneYoloUnreadablePaths: absoluteOrHomePathList("saneYoloUnreadablePaths", isAbsolutePath),
|
|
212
212
|
skipPermissionsByDefault: optionalBoolean("skipPermissionsByDefault"),
|
|
213
213
|
checkForUpdates: optionalBoolean("checkForUpdates"),
|
|
214
|
-
updateChannel: UpdateChannel.optional(),
|
|
215
214
|
autoResume: optionalBoolean("autoResume"),
|
|
216
215
|
telegramNotifications: optionalBoolean("telegramNotifications"),
|
|
217
216
|
integrationBranch: optionalString("integrationBranch").nullable(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as equalsIgnoringCaseOnWindows, r as isPathInside } from "./paths-C2u2R_6l.js";
|
|
2
2
|
import { a as withoutEnvSecrets, i as withEnvSecrets, n as readEnvSecrets } from "./config-secrets-core-Dl2-_qLd.js";
|
|
3
|
-
import { d as BranchGcFileSettings, f as USAGE_COST_MODES, i as Config, m as normalizeLegacyConfigNumbers, n as BUILTIN_AGENT_IDS, s as RUNTIME_CONFIG_SCALAR_KEYS, t as AGENT_ID_SHAPE_MESSAGE, u as configIssueMessage } from "./config-
|
|
4
|
-
import { At as USAGE_SCAN_INTERVAL_RANGE, Dt as USAGE_BUDGET_RANGE, Et as TASK_TITLE_TIMEOUT_RANGE, Mt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, Ot as USAGE_INTEGER_RANGES, S as DEFAULT_MODELS, St as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, Tt as REVIEWS_TURN_LIMIT_RANGE, _t as POSTHOG_PROJECT_ID_RANGE, an as
|
|
3
|
+
import { d as BranchGcFileSettings, f as USAGE_COST_MODES, i as Config, m as normalizeLegacyConfigNumbers, n as BUILTIN_AGENT_IDS, s as RUNTIME_CONFIG_SCALAR_KEYS, t as AGENT_ID_SHAPE_MESSAGE, u as configIssueMessage } from "./config-K4Ajx_x7.js";
|
|
4
|
+
import { At as USAGE_SCAN_INTERVAL_RANGE, Dt as USAGE_BUDGET_RANGE, Et as TASK_TITLE_TIMEOUT_RANGE, Mt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, Ot as USAGE_INTEGER_RANGES, S as DEFAULT_MODELS, St as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, Tt as REVIEWS_TURN_LIMIT_RANGE, _t as POSTHOG_PROJECT_ID_RANGE, an as ONBOARDING_STEP_STATES, at as FLYING_ANIMALS_SCALE_RANGE, ct as NON_NEGATIVE_NUMBER_RANGE, et as COMMUNITY_INTERVAL_MINUTES_RANGE, ft as POSTHOG_FIX_TIMEOUT_RANGE, in as ONBOARDING_STEPS, it as FLYING_ANIMALS_GAP_RANGE, jt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE, kt as USAGE_RETAIN_DAYS_RANGE, lt as PORT_RANGE, nt as FLYING_ANIMALS_DEFAULTS, on as OPERATOR_ACTIONS_BY_SURFACE, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, rt as FLYING_ANIMALS_DURATION_RANGE, sn as OPERATOR_SURFACES, st as MEMORY_RESERVE_MB_RANGE, tn as DASHBOARD_VIEWS, tt as FIXED_PORT_RANGE, u as HintFeature, ut as POSITIVE_NUMBER_RANGE, wt as REPLAY_BUFFER_KB_RANGE, xt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, yt as POSTHOG_TRAFFIC_BASELINE_RANGE } from "./control-messages-B6l3aVFK.js";
|
|
5
5
|
import { N as SESSION_COMMANDS, Tn as prFlowRulesJsonSchema, an as PrFlowCommand, fn as PrFlowPrAction, hn as PrFlowSourceCommand, pn as PrFlowRule } from "./session-BygOlxkV.js";
|
|
6
6
|
import { l as PROBE_CREDENTIALS, m as WATCHER_LANE_IDS } from "./watcher-link-xW9PMs77.js";
|
|
7
7
|
import { n as loopbackOverrideOrigin } from "./loopback-hosts-L-YKCy4U.js";
|
|
@@ -9,7 +9,7 @@ import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
|
9
9
|
import { l as QuestionRule } from "./question-manager-C_RzS1Ot.js";
|
|
10
10
|
import { f as writeJsonAtomicSync, m as writeTextAtomicSync, p as writeTextAtomic, u as stageTextAtomic } from "./json-file-BmnDu2ZM.js";
|
|
11
11
|
import { n as errorLabel, r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
12
|
-
import { l as packageRoot } from "./runtime-paths-
|
|
12
|
+
import { l as packageRoot } from "./runtime-paths-BhtVY5Kw.js";
|
|
13
13
|
import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-qUZH9-0F.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import path from "node:path";
|
|
@@ -1597,64 +1597,44 @@ var MACHINE_UPDATES = {
|
|
|
1597
1597
|
title: "Updates",
|
|
1598
1598
|
description: "Which version is running, and updating to the newest.",
|
|
1599
1599
|
legacyIds: ["updates"],
|
|
1600
|
-
settings: [
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
"release",
|
|
1639
|
-
"prerelease",
|
|
1640
|
-
"next",
|
|
1641
|
-
"beta",
|
|
1642
|
-
"early"
|
|
1643
|
-
],
|
|
1644
|
-
defaultValue: "release",
|
|
1645
|
-
...MACHINE_NOW
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
id: "check-updates",
|
|
1649
|
-
path: "checkForUpdates",
|
|
1650
|
-
title: "Check for updates automatically",
|
|
1651
|
-
description: "Check for a newer version at launch and while the dashboard is open.",
|
|
1652
|
-
control: "toggle",
|
|
1653
|
-
keywords: ["release", "github"],
|
|
1654
|
-
defaultValue: true,
|
|
1655
|
-
...MACHINE_NOW
|
|
1656
|
-
}
|
|
1657
|
-
]
|
|
1600
|
+
settings: [{
|
|
1601
|
+
id: "update-actions",
|
|
1602
|
+
path: "status:update-actions",
|
|
1603
|
+
title: "Status and actions",
|
|
1604
|
+
legacyIds: [
|
|
1605
|
+
"update-summary",
|
|
1606
|
+
"update-installed",
|
|
1607
|
+
"update-latest",
|
|
1608
|
+
"update-last-checked"
|
|
1609
|
+
].map((settingId) => ({
|
|
1610
|
+
sectionId: "machine-updates",
|
|
1611
|
+
settingId
|
|
1612
|
+
})),
|
|
1613
|
+
description: "Running and newest versions, with update and restart.",
|
|
1614
|
+
control: "readonly",
|
|
1615
|
+
keywords: [
|
|
1616
|
+
"version",
|
|
1617
|
+
"available",
|
|
1618
|
+
"current",
|
|
1619
|
+
"check",
|
|
1620
|
+
"restart",
|
|
1621
|
+
"commit",
|
|
1622
|
+
"installed",
|
|
1623
|
+
"release",
|
|
1624
|
+
"failure"
|
|
1625
|
+
],
|
|
1626
|
+
status: "update-actions",
|
|
1627
|
+
...READOUT
|
|
1628
|
+
}, {
|
|
1629
|
+
id: "check-updates",
|
|
1630
|
+
path: "checkForUpdates",
|
|
1631
|
+
title: "Check for updates automatically",
|
|
1632
|
+
description: "Check for a newer version at launch and while the dashboard is open.",
|
|
1633
|
+
control: "toggle",
|
|
1634
|
+
keywords: ["release", "github"],
|
|
1635
|
+
defaultValue: true,
|
|
1636
|
+
...MACHINE_NOW
|
|
1637
|
+
}]
|
|
1658
1638
|
};
|
|
1659
1639
|
var MACHINE_USAGE = {
|
|
1660
1640
|
id: "machine-usage",
|
|
@@ -4181,7 +4161,6 @@ var DEFAULT_CONFIG = {
|
|
|
4181
4161
|
port: null
|
|
4182
4162
|
},
|
|
4183
4163
|
checkForUpdates: true,
|
|
4184
|
-
updateChannel: "release",
|
|
4185
4164
|
autoResume: true,
|
|
4186
4165
|
skipPermissionsByDefault: false,
|
|
4187
4166
|
saneYolo: true,
|
|
@@ -4284,6 +4263,11 @@ function migrateGuardrailsUnreadablePaths(config) {
|
|
|
4284
4263
|
config.saneYoloUnreadablePaths = (Array.isArray(legacyUnreadablePaths) ? legacyUnreadablePaths : []).filter(isAbsoluteOrHomePath);
|
|
4285
4264
|
return "[config] Moved guardrails.unreadablePaths to saneYoloUnreadablePaths: Sane YOLO now refuses reads of those folders.";
|
|
4286
4265
|
}
|
|
4266
|
+
function dropRetiredUpdateChannel(config) {
|
|
4267
|
+
if (!Object.hasOwn(config, "updateChannel")) return null;
|
|
4268
|
+
delete config.updateChannel;
|
|
4269
|
+
return "[config] Removed updateChannel: Glimmervoid now updates only to published releases.";
|
|
4270
|
+
}
|
|
4287
4271
|
// server/config/config-file.ts
|
|
4288
4272
|
var ABORT_CONFIG_SAVE = "abort-config-save";
|
|
4289
4273
|
var CONFIG_DIR_MODE = 448;
|
|
@@ -4492,12 +4476,12 @@ function createConfigStore({ settingsDefaults, readTelemetryInstallId, isExperim
|
|
|
4492
4476
|
config.branchGc = resolveBranchGcAndWarn(config.branchGc);
|
|
4493
4477
|
const retiredGuardrailKeys = retiredGuardrailKeysWarning(config);
|
|
4494
4478
|
if (retiredGuardrailKeys !== null) console.warn(retiredGuardrailKeys);
|
|
4495
|
-
const
|
|
4496
|
-
if (
|
|
4479
|
+
const configMigrations = [migrateGuardrailsUnreadablePaths(config), dropRetiredUpdateChannel(config)].filter((migration) => migration !== null);
|
|
4480
|
+
if (configMigrations.length > 0) try {
|
|
4497
4481
|
writeJsonAtomicSync(configPath, withoutEnvSecrets(config, envSecrets), { mode: 384 });
|
|
4498
|
-
console.log(
|
|
4482
|
+
for (const migration of configMigrations) console.log(migration);
|
|
4499
4483
|
} catch (err) {
|
|
4500
|
-
console.warn("[config] Failed to persist the
|
|
4484
|
+
console.warn("[config] Failed to persist the config migrations:", errorMessage(err));
|
|
4501
4485
|
}
|
|
4502
4486
|
if (Array.isArray(config.projects) && ensureProjectIds(config.projects)) try {
|
|
4503
4487
|
writeJsonAtomicSync(configPath, withoutEnvSecrets(config, envSecrets), { mode: 384 });
|
|
@@ -4631,7 +4615,6 @@ function createConfigStore({ settingsDefaults, readTelemetryInstallId, isExperim
|
|
|
4631
4615
|
saneYolo: config.saneYolo ?? effectiveDefaults.saneYolo,
|
|
4632
4616
|
saneYoloUnreadablePaths: config.saneYoloUnreadablePaths ?? DEFAULT_CONFIG.saneYoloUnreadablePaths,
|
|
4633
4617
|
checkForUpdates: config.checkForUpdates ?? effectiveDefaults.checkForUpdates,
|
|
4634
|
-
updateChannel: config.updateChannel ?? effectiveDefaults.updateChannel,
|
|
4635
4618
|
autoResume: config.autoResume ?? effectiveDefaults.autoResume,
|
|
4636
4619
|
skipPermissionsByDefault: config.skipPermissionsByDefault ?? effectiveDefaults.skipPermissionsByDefault,
|
|
4637
4620
|
telegramNotifications: config.telegramNotifications ?? effectiveDefaults.telegramNotifications,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as loadConfigFile } from "./config-store-CAzc6z1i.js";
|