glimmervoid 0.52.3-next.918 → 0.52.3-next.919
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/glimmervoid.js +17 -17
- package/dist/chunks/{adapters-BzNYsokU.js → adapters-Bbrnyye7.js} +1 -1
- package/dist/chunks/{adapters-DzNF5X6G.js → adapters-Cwp7336t.js} +4 -4
- package/dist/chunks/{agent-api-cli-MeDgnaBK.js → agent-api-cli-AGCwXpAu.js} +1 -1
- package/dist/chunks/agent-api-cli-C0vGZHv8.js +1 -0
- package/dist/chunks/{agent-setup-cli-CVJcTC34.js → agent-setup-cli-DukJkBoa.js} +1 -1
- package/dist/chunks/{config-store-5Zldhz4N.js → config-store-CTerrBuk.js} +17 -5
- package/dist/chunks/config-store-C_0c6vZj.js +1 -0
- package/dist/chunks/{grok-BIRsi9vA.js → grok-BEItHURl.js} +1 -1
- package/dist/chunks/{hook-relay-core-ne0rkTgG.js → hook-relay-core-COOPCFwv.js} +1 -1
- package/dist/chunks/{host-cli-88mfGt7s.js → host-cli-CzsSQ-IS.js} +1 -1
- package/dist/chunks/kimi-BxEu0CMw.js +1 -0
- package/dist/chunks/{kimi-CmbWKxOS.js → kimi-CncjD7r8.js} +1 -1
- package/dist/chunks/loopback-hosts-L-YKCy4U.js +17 -0
- package/dist/chunks/{loopback-post-DWeTJmcu.js → loopback-post-79dRYVRQ.js} +2 -2
- package/dist/chunks/{main-DZ9SUI30.js → main-COERwBny.js} +21 -20
- package/dist/chunks/{pack-agent-DmkQWD4j.js → pack-agent-Bb71Toaj.js} +1 -1
- package/dist/chunks/{pack-files-sTdkoo2H.js → pack-files-ELZ8YDGn.js} +1 -1
- package/dist/chunks/{packs-cli-B9AX02DF.js → packs-cli-hT-uZsap.js} +3 -3
- package/dist/chunks/{pair-cli-Cm4kUwby.js → pair-cli-DYEak_OD.js} +2 -2
- package/dist/chunks/{pr-flows-cli-BYSOpJ4z.js → pr-flows-cli-CbF2G7WG.js} +4 -4
- package/dist/chunks/{pr-flows-external-BSvnsau1.js → pr-flows-external-CIQ7ngBH.js} +2 -2
- package/dist/chunks/{remote-config-DGhhRF3L.js → remote-config-DD0WGrOV.js} +1 -1
- package/dist/chunks/settings-cli-CQXPcI0T.js +1 -0
- package/dist/chunks/{settings-cli-ULfUvcI3.js → settings-cli-DT9QRHeT.js} +3 -3
- package/dist/chunks/{settings-readout-core-Cy4ZqJnS.js → settings-readout-core-CnY7UwML.js} +1 -1
- package/dist/chunks/{spawn-env-D18R5qXK.js → spawn-env-92O4_Gqo.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-1j9esl5t.js → ssh-sign-cli-B4bZuAW2.js} +2 -2
- package/dist/chunks/{vault-cli-4yXHgVeo.js → vault-cli-D4BckXvP.js} +1 -1
- package/dist/chunks/{watch-cli-yihKZKer.js → watch-cli-BwyiTVnT.js} +4 -3
- package/dist/chunks/{watcher-link-CmEbXgiN.js → watcher-link-BKWi5aJM.js} +9 -3
- package/dist/client/assets/{agent-core-FvkveNz0.js → agent-core-yMI2nDhJ.js} +2 -2
- package/dist/client/assets/agent-core-yMI2nDhJ.js.br +0 -0
- package/dist/client/assets/{agent-mark-D9gqutev.js → agent-mark-BAK78BPg.js} +1 -1
- package/dist/client/assets/agent-mark-BAK78BPg.js.br +0 -0
- package/dist/client/assets/{arena-panel-CA13n7I1.js → arena-panel-Bx9E3qn8.js} +2 -2
- package/dist/client/assets/arena-panel-Bx9E3qn8.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-6uCLmXFa.js → benchmark-panel-ClT23Q4r.js} +1 -1
- package/dist/client/assets/benchmark-panel-ClT23Q4r.js.br +0 -0
- package/dist/client/assets/{boards-view-Dt-se7_4.js → boards-view-CeKdHRVR.js} +1 -1
- package/dist/client/assets/boards-view-CeKdHRVR.js.br +0 -0
- package/dist/client/assets/{community-panel-DPid0OZ4.js → community-panel-CVhitSb8.js} +1 -1
- package/dist/client/assets/community-panel-CVhitSb8.js.br +0 -0
- package/dist/client/assets/{dialogs-BGJDGm4f.js → dialogs-sAPUs2GU.js} +1 -1
- package/dist/client/assets/dialogs-sAPUs2GU.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-CaZUpy6E.js → doc-editor-ui-CnYmH9UI.js} +1 -1
- package/dist/client/assets/doc-editor-ui-CnYmH9UI.js.br +0 -0
- package/dist/client/assets/{feature-hint-Cr-2YlE1.js → feature-hint-DCHIxjMk.js} +1 -1
- package/dist/client/assets/feature-hint-DCHIxjMk.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-CCPWYiCT.js → first-run-checklist-BMl1vWED.js} +1 -1
- package/dist/client/assets/first-run-checklist-BMl1vWED.js.br +0 -0
- package/dist/client/assets/{hooks-panel-B43YcLnU.js → hooks-panel-pyc94w5t.js} +1 -1
- package/dist/client/assets/hooks-panel-pyc94w5t.js.br +0 -0
- package/dist/client/assets/{index-D4-8-8Fn.js → index-BQVgVEQq.js} +5 -5
- package/dist/client/assets/index-BQVgVEQq.js.br +0 -0
- package/dist/client/assets/{issues-panel-Beo3dOTh.js → issues-panel-CO6Ypm8k.js} +1 -1
- package/dist/client/assets/issues-panel-CO6Ypm8k.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-CNEIxJWn.js → lane-read-token-step-BuTehCxB.js} +1 -1
- package/dist/client/assets/lane-read-token-step-BuTehCxB.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-C-StesCg.js → my-prs-panel-CsFI7xS0.js} +1 -1
- package/dist/client/assets/my-prs-panel-CsFI7xS0.js.br +0 -0
- package/dist/client/assets/{nyan-cat-CQbGKYGy.js → nyan-cat-_D0Ohq0T.js} +1 -1
- package/dist/client/assets/nyan-cat-_D0Ohq0T.js.br +0 -0
- package/dist/client/assets/{phone-shell-oqB6I3Ii.js → phone-shell-BV9e7KHX.js} +1 -1
- package/dist/client/assets/phone-shell-BV9e7KHX.js.br +0 -0
- package/dist/client/assets/{plan-face-Cj-oj8Sx.js → plan-face-DIzJ3Zyi.js} +1 -1
- package/dist/client/assets/plan-face-DIzJ3Zyi.js.br +0 -0
- package/dist/client/assets/{plan-render-DS2uVAAb.js → plan-render-BdCpXHVT.js} +1 -1
- package/dist/client/assets/plan-render-BdCpXHVT.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-DlN5HulF.js → pr-queue-columns-CEeaD90N.js} +1 -1
- package/dist/client/assets/pr-queue-columns-CEeaD90N.js.br +0 -0
- package/dist/client/assets/{radar-panel-DjauJLv_.js → radar-panel-BopDPrvy.js} +1 -1
- package/dist/client/assets/radar-panel-BopDPrvy.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-DLuDPngV.js → repo-roots-adder-BxQw84HN.js} +1 -1
- package/dist/client/assets/repo-roots-adder-BxQw84HN.js.br +0 -0
- package/dist/client/assets/{resume-dialog-Gj65bTXx.js → resume-dialog-cwXVDtHh.js} +1 -1
- package/dist/client/assets/resume-dialog-cwXVDtHh.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-CKomHPVH.js → review-queue-panel-D_FcV_C2.js} +1 -1
- package/dist/client/assets/review-queue-panel-D_FcV_C2.js.br +0 -0
- package/dist/client/assets/{session-row-8zT5uhia.js → session-row-D0sbq-KQ.js} +1 -1
- package/dist/client/assets/session-row-D0sbq-KQ.js.br +0 -0
- package/dist/client/assets/{settings-panel-C0kaUkzA.js → settings-panel-C9TbfkCT.js} +2 -2
- package/dist/client/assets/settings-panel-C9TbfkCT.js.br +0 -0
- package/dist/client/assets/{trace-panel-B9SIEXXJ.js → trace-panel-CmncXaIA.js} +1 -1
- package/dist/client/assets/trace-panel-CmncXaIA.js.br +0 -0
- package/dist/client/assets/{usage-panel-CyR6n_GE.js → usage-panel-Cg-QxFJf.js} +1 -1
- package/dist/client/assets/usage-panel-Cg-QxFJf.js.br +0 -0
- package/dist/client/assets/{whiteboard-undo-core-OTmUJs25.js → whiteboard-undo-core-C4TMhcBQ.js} +1 -1
- package/dist/client/assets/whiteboard-undo-core-C4TMhcBQ.js.br +0 -0
- package/dist/client/assets/{your-day-tip-BagooY_Q.js → your-day-tip-ky-p_Yqa.js} +1 -1
- package/dist/client/assets/your-day-tip-ky-p_Yqa.js.br +0 -0
- package/dist/client/index.html +4 -4
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +1 -1
- package/dist/session/command-hook-relay.js +1 -1
- package/dist/session/hook-relay.js +2 -2
- package/dist/session/statusline-relay.js +1 -1
- package/package.json +2 -1
- package/dist/chunks/agent-api-cli-Cg8ufPzK.js +0 -1
- package/dist/chunks/config-store-DHvKoFRR.js +0 -1
- package/dist/chunks/kimi-BeZ6dGoj.js +0 -1
- package/dist/chunks/loopback-hosts-CpQsUSmU.js +0 -11
- package/dist/chunks/settings-cli-Bq-ccP1l.js +0 -1
- package/dist/client/assets/agent-core-FvkveNz0.js.br +0 -0
- package/dist/client/assets/agent-mark-D9gqutev.js.br +0 -0
- package/dist/client/assets/arena-panel-CA13n7I1.js.br +0 -0
- package/dist/client/assets/benchmark-panel-6uCLmXFa.js.br +0 -0
- package/dist/client/assets/boards-view-Dt-se7_4.js.br +0 -0
- package/dist/client/assets/community-panel-DPid0OZ4.js.br +0 -0
- package/dist/client/assets/dialogs-BGJDGm4f.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-CaZUpy6E.js.br +0 -0
- package/dist/client/assets/feature-hint-Cr-2YlE1.js.br +0 -0
- package/dist/client/assets/first-run-checklist-CCPWYiCT.js.br +0 -0
- package/dist/client/assets/hooks-panel-B43YcLnU.js.br +0 -0
- package/dist/client/assets/index-D4-8-8Fn.js.br +0 -0
- package/dist/client/assets/issues-panel-Beo3dOTh.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-CNEIxJWn.js.br +0 -0
- package/dist/client/assets/my-prs-panel-C-StesCg.js.br +0 -0
- package/dist/client/assets/nyan-cat-CQbGKYGy.js.br +0 -0
- package/dist/client/assets/phone-shell-oqB6I3Ii.js.br +0 -0
- package/dist/client/assets/plan-face-Cj-oj8Sx.js.br +0 -0
- package/dist/client/assets/plan-render-DS2uVAAb.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-DlN5HulF.js.br +0 -0
- package/dist/client/assets/radar-panel-DjauJLv_.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-DLuDPngV.js.br +0 -0
- package/dist/client/assets/resume-dialog-Gj65bTXx.js.br +0 -0
- package/dist/client/assets/review-queue-panel-CKomHPVH.js.br +0 -0
- package/dist/client/assets/session-row-8zT5uhia.js.br +0 -0
- package/dist/client/assets/settings-panel-C0kaUkzA.js.br +0 -0
- package/dist/client/assets/trace-panel-B9SIEXXJ.js.br +0 -0
- package/dist/client/assets/usage-panel-CyR6n_GE.js.br +0 -0
- package/dist/client/assets/whiteboard-undo-core-OTmUJs25.js.br +0 -0
- package/dist/client/assets/your-day-tip-BagooY_Q.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -67,7 +67,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
67
67
|
return await runDoctor() ? 0 : 1;
|
|
68
68
|
},
|
|
69
69
|
pair: async ({ values }) => {
|
|
70
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
70
|
+
const { runPairCli } = await import("../chunks/pair-cli-DYEak_OD.js");
|
|
71
71
|
return runPairCli({
|
|
72
72
|
isListing: values.list === true,
|
|
73
73
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -75,31 +75,31 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
75
75
|
});
|
|
76
76
|
},
|
|
77
77
|
agent: async () => {
|
|
78
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
78
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-DukJkBoa.js");
|
|
79
79
|
return runAgentSetupCli();
|
|
80
80
|
},
|
|
81
81
|
settings: async (parsed) => {
|
|
82
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
82
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-CQXPcI0T.js");
|
|
83
83
|
return runParsedSettingsCli(parsed);
|
|
84
84
|
},
|
|
85
85
|
host: async (parsed) => {
|
|
86
|
-
const { runHostCli } = await import("../chunks/host-cli-
|
|
86
|
+
const { runHostCli } = await import("../chunks/host-cli-CzsSQ-IS.js");
|
|
87
87
|
return runHostCli(parsed);
|
|
88
88
|
},
|
|
89
89
|
"pr-flows": async (parsed) => {
|
|
90
|
-
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-
|
|
90
|
+
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-CbF2G7WG.js");
|
|
91
91
|
return runPrFlowsCheckCli(parsed);
|
|
92
92
|
},
|
|
93
93
|
packs: async (parsed) => {
|
|
94
|
-
const { runPacksCli } = await import("../chunks/packs-cli-
|
|
94
|
+
const { runPacksCli } = await import("../chunks/packs-cli-hT-uZsap.js");
|
|
95
95
|
return runPacksCli(parsed);
|
|
96
96
|
},
|
|
97
97
|
"pr-action": async (parsed) => {
|
|
98
|
-
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-
|
|
98
|
+
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-CbF2G7WG.js");
|
|
99
99
|
return runPrActionReportCli(parsed);
|
|
100
100
|
},
|
|
101
101
|
vault: async ({ values }) => {
|
|
102
|
-
const { runVaultCli } = await import("../chunks/vault-cli-
|
|
102
|
+
const { runVaultCli } = await import("../chunks/vault-cli-D4BckXvP.js");
|
|
103
103
|
return runVaultCli({
|
|
104
104
|
serverUrl: typeof values.server === "string" ? values.server : null,
|
|
105
105
|
accountName: typeof values.account === "string" ? values.account : null,
|
|
@@ -107,11 +107,11 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
107
107
|
});
|
|
108
108
|
},
|
|
109
109
|
watch: async ({ values }) => {
|
|
110
|
-
const { runWatchCli } = await import("../chunks/watch-cli-
|
|
110
|
+
const { runWatchCli } = await import("../chunks/watch-cli-BwyiTVnT.js");
|
|
111
111
|
return runWatchCli({ rawPort: typeof values.port === "string" ? values.port : null });
|
|
112
112
|
},
|
|
113
113
|
"ssh-sign": async ({ rawArgs }) => {
|
|
114
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
114
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-B4bZuAW2.js");
|
|
115
115
|
return runSshSignCli(rawArgs);
|
|
116
116
|
}
|
|
117
117
|
};
|
|
@@ -133,7 +133,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
133
133
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
134
134
|
}
|
|
135
135
|
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) => {
|
|
136
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
136
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-C0vGZHv8.js");
|
|
137
137
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
138
138
|
}])]);
|
|
139
139
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -147,7 +147,7 @@ function missingAgentText(agentId) {
|
|
|
147
147
|
}
|
|
148
148
|
async function printSessionLimits() {
|
|
149
149
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
150
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
150
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-C0vGZHv8.js");
|
|
151
151
|
const limitsLines = await sessionLimitsHelpLines();
|
|
152
152
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
153
153
|
}
|
|
@@ -204,7 +204,7 @@ async function readDeclaredCustomAgents() {
|
|
|
204
204
|
declared: [],
|
|
205
205
|
error: null
|
|
206
206
|
};
|
|
207
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
207
|
+
const { loadConfigFile } = await import("../chunks/config-store-C_0c6vZj.js");
|
|
208
208
|
try {
|
|
209
209
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
210
210
|
if (!loaded.config) return {
|
|
@@ -280,7 +280,7 @@ async function runDoctor() {
|
|
|
280
280
|
}
|
|
281
281
|
switchSection("Agents");
|
|
282
282
|
try {
|
|
283
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
283
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-Bbrnyye7.js");
|
|
284
284
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
285
285
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
286
286
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -288,10 +288,10 @@ async function runDoctor() {
|
|
|
288
288
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
289
289
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
290
290
|
}
|
|
291
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
291
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-DukJkBoa.js");
|
|
292
292
|
const grokSetup = inspectGrokAgentSetup();
|
|
293
293
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
294
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
294
|
+
const { default: kimi } = await import("../chunks/kimi-BxEu0CMw.js");
|
|
295
295
|
const { describeAgentHome } = await import("../chunks/agent-home-BIDgimmJ.js");
|
|
296
296
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-B3IRzwkX.js");
|
|
297
297
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
@@ -302,7 +302,7 @@ async function runDoctor() {
|
|
|
302
302
|
try {
|
|
303
303
|
const { resolvePackageBin } = await import("../chunks/runtime-paths-BI7m38Nj.js");
|
|
304
304
|
const { execFileSync } = await import("../chunks/child-process-safe-BrQd4i6y.js");
|
|
305
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
305
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-DukJkBoa.js");
|
|
306
306
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
307
307
|
line("Sane YOLO", binPath || "not installed");
|
|
308
308
|
if (binPath) line("cc-safety-net version", execFileSync(process.execPath, [binPath, "--version"], {
|
|
@@ -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-Cwp7336t.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-
|
|
2
|
-
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-
|
|
3
|
-
import { n as buildAgentEnv } from "./spawn-env-
|
|
1
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-CncjD7r8.js";
|
|
2
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-BEItHURl.js";
|
|
3
|
+
import { n as buildAgentEnv } from "./spawn-env-92O4_Gqo.js";
|
|
4
4
|
import { i as execFileSync, l as spawn, r as execFileAsync } from "./child-process-safe-pP6Vf2i9.js";
|
|
5
5
|
import { o as isMissingFileError, r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
6
6
|
import { c as loadedJsonValue, d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-ZNAeT6DN.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-CTerrBuk.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-CDXol8Ub.js";
|
|
9
9
|
import { a as rawTextOr, n as isRecord, o as textOr, r as numberOr } from "./coerce-D6vRlIGO.js";
|
|
10
10
|
import { l as relayPath } from "./runtime-paths-5UK7AN_h.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveHookTarget } from "./hook-relay-core-
|
|
1
|
+
import { a as resolveHookTarget } from "./hook-relay-core-COOPCFwv.js";
|
|
2
2
|
import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-CrEjJDVL.js";
|
|
3
3
|
import { t as AgentNeedReply } from "./secrets-DUjhXqjU.js";
|
|
4
4
|
import { d as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-CDXol8Ub.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-AGCwXpAu.js";
|
|
@@ -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-BEItHURl.js";
|
|
2
2
|
import { o as isMissingFileError, r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
3
3
|
import { p as writeTextAtomicSync } from "./json-file-ZNAeT6DN.js";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -3,7 +3,8 @@ import { a as withoutEnvSecrets, i as withEnvSecrets, n as readEnvSecrets } from
|
|
|
3
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-TRkvzV8I.js";
|
|
4
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 OPERATOR_ACTIONS_BY_SURFACE, at as FLYING_ANIMALS_SCALE_RANGE, cn as UPDATE_CHANNELS, ct as NON_NEGATIVE_NUMBER_RANGE, en as DASHBOARD_VIEWS, et as COMMUNITY_INTERVAL_MINUTES_RANGE, ft as POSTHOG_FIX_TIMEOUT_RANGE, in as ONBOARDING_STEP_STATES, 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_SURFACES, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, rn as ONBOARDING_STEPS, rt as FLYING_ANIMALS_DURATION_RANGE, st as MEMORY_RESERVE_MB_RANGE, 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-LGIHSsHt.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-CDXol8Ub.js";
|
|
6
|
-
import { l as PROBE_CREDENTIALS, m as WATCHER_LANE_IDS } from "./watcher-link-
|
|
6
|
+
import { l as PROBE_CREDENTIALS, m as WATCHER_LANE_IDS } from "./watcher-link-BKWi5aJM.js";
|
|
7
|
+
import { n as loopbackOverrideOrigin } from "./loopback-hosts-L-YKCy4U.js";
|
|
7
8
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
8
9
|
import { l as QuestionRule } from "./question-manager-C_RzS1Ot.js";
|
|
9
10
|
import { d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync } from "./json-file-ZNAeT6DN.js";
|
|
@@ -431,9 +432,8 @@ var TelemetryState = z.object({
|
|
|
431
432
|
remoteDisabled: z.boolean().optional()
|
|
432
433
|
});
|
|
433
434
|
// server/core/telemetry-core.ts
|
|
434
|
-
var
|
|
435
|
-
var
|
|
436
|
-
var TELEMETRY_FLAGS_URL = `${POSTHOG_INGEST_HOST}/flags?v=2`;
|
|
435
|
+
var POSTHOG_INGEST_ORIGIN = "https://us.i.posthog.com";
|
|
436
|
+
var POSTHOG_INGEST_HOST_ENV = "GLIMMERVOID_POSTHOG_INGEST_HOST";
|
|
437
437
|
var MAX_STACK_LENGTH = 16384;
|
|
438
438
|
var ACCOUNT_HASH_SALT = "glimmervoid-account-hash-v1";
|
|
439
439
|
var OPENAI_AUTH_CLAIM = "https://api.openai.com/auth";
|
|
@@ -481,6 +481,18 @@ function decideTelemetryConsent(env, config) {
|
|
|
481
481
|
source: "default"
|
|
482
482
|
};
|
|
483
483
|
}
|
|
484
|
+
function telemetryIngestOrigin(env) {
|
|
485
|
+
return loopbackOverrideOrigin(env[POSTHOG_INGEST_HOST_ENV], POSTHOG_INGEST_ORIGIN);
|
|
486
|
+
}
|
|
487
|
+
function isIngestOverrideIgnored(env) {
|
|
488
|
+
return Boolean(env["GLIMMERVOID_POSTHOG_INGEST_HOST"]) && telemetryIngestOrigin(env) === POSTHOG_INGEST_ORIGIN;
|
|
489
|
+
}
|
|
490
|
+
function telemetryBatchUrl(env) {
|
|
491
|
+
return `${telemetryIngestOrigin(env)}/batch/`;
|
|
492
|
+
}
|
|
493
|
+
function telemetryFlagsUrl(env) {
|
|
494
|
+
return `${telemetryIngestOrigin(env)}/flags?v=2`;
|
|
495
|
+
}
|
|
484
496
|
function isTelemetryForcedOff(env) {
|
|
485
497
|
return decideTelemetryConsent(env, { telemetry: { enabled: true } }).isEnabled === false;
|
|
486
498
|
}
|
|
@@ -4752,4 +4764,4 @@ function createConfigStore({ settingsDefaults, readTelemetryInstallId, isExperim
|
|
|
4752
4764
|
DEFAULT_CONFIG
|
|
4753
4765
|
};
|
|
4754
4766
|
}
|
|
4755
|
-
export {
|
|
4767
|
+
export { buildBrowserExceptionProperties as $, cloneValue as A, FILE_ONLY_GROUPS as B, isExperimentalBuild as C, settingsBlockSpecFor as D, mergeSettingsBlock as E, scoreSettingsSearch as F, LOGGED_FAST_CLOSE_COUNTS as G, isExperimentalSetting as H, setValueAtPath as I, parseDataClientMessage as J, describeDataAttach as K, settingsGroupOf as L, displayText as M, hasScaledUnit as N, validateSettingsBlock as O, parsePosthogProjectSelection as P, buildAiGenerationEvents as Q, settingsOf as R, compareReleaseVersions as S, SECRET_PRESENCE_SUFFIX as T, DEEP_HISTORY_SCROLLBACK_LINES as U, SETTINGS_REGISTRY as V, FAST_TERMINAL_CLOSE_MS as W, POSTHOG_INGEST_HOST_ENV as X, FIRST_RUN_NOTICE as Y, adapterBucket as Z, sessionIdFromBranch as _, TELEMETRY_EVENT_SCHEMAS as _t, generateProjectId as a, decideIsDevInstall as at, DEFAULT_TIMER_FNS as b, comparableDirectoryPath as bt, resolveConfigPath as c, exceptionFingerprint as ct, DEFAULT_CONFIG as d, parsePosthogReleaseId as dt, buildExceptionProperties as et, DEFAULT_BRANCH_GC_PREFIXES as f, resolveProjectToken as ft, planWorktreeGc as g, PendingCrashReport as gt, planBranchGc as h, DashboardTelemetryReport as ht, ensureProjectIds as i, codexUserIdOf as it, deleteValueAtPath as j, SETTINGS_INDEX as k, saveConfigFileOnce as l, isIngestOverrideIgnored as lt, matchedPrefix as m, telemetryFlagsUrl as mt, createConfigStore as n, classifySessionExit as nt, glimmervoidHomeDir as o, decideRemoteTelemetryState as ot, isGcCandidateWorktree as p, telemetryBatchUrl as pt, parseDataAttach as q, ABORT_CONFIG_SAVE as r, claudeAccountUuidOf as rt, loadConfigFile as s, decideTelemetryConsent as st, IS_EXPERIMENTAL_BUILD as t, buildPersonProperties as tt, validateConfig as u, nodeMajorVersion as ut, usablePrefixes as v, TelemetryState as vt, isSettingAvailable as w, unrefTimer as x, isSameDirectoryPath as xt, worktreeIntegrationTips as y, canonicalizePath as yt, valueAtPath as z };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as loadConfigFile } from "./config-store-CTerrBuk.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
2
2
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
3
3
|
import { l as relayPath } from "./runtime-paths-5UK7AN_h.js";
|
|
4
|
-
import { n as buildAgentEnv } from "./spawn-env-
|
|
4
|
+
import { n as buildAgentEnv } from "./spawn-env-92O4_Gqo.js";
|
|
5
5
|
import { t as buildHookCommand } from "./hook-command-core-Bu5xBKp3.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as isLoopbackHostname } from "./loopback-hosts-
|
|
1
|
+
import { t as isLoopbackHostname } from "./loopback-hosts-L-YKCy4U.js";
|
|
2
2
|
import { s as QUESTION_TOOL_HOLD_TIMEOUT_MS } from "./question-manager-C_RzS1Ot.js";
|
|
3
3
|
// session/core/hook-relay-core.ts
|
|
4
4
|
var HOOK_URL_ENV = "GLIMMERVOID_HOOK_URL";
|
|
@@ -2,7 +2,7 @@ import { i as HostEntries } from "./control-messages-LGIHSsHt.js";
|
|
|
2
2
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
3
3
|
import { t as renderTable } from "./ascii-figure-core-BegIbndz.js";
|
|
4
4
|
import { r as removeHostFrom, t as addHostTo } from "./host-registry-core-CwdQ7jWv.js";
|
|
5
|
-
import { i as saveValidatedConfig, n as requireView, t as processIo } from "./settings-cli-
|
|
5
|
+
import { i as saveValidatedConfig, n as requireView, t as processIo } from "./settings-cli-DT9QRHeT.js";
|
|
6
6
|
// server/hosts/host-cli.ts
|
|
7
7
|
var DEFAULT_DASHBOARD_PORT = 3e3;
|
|
8
8
|
function registeredHosts() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "./kimi-CncjD7r8.js";
|
|
@@ -4,7 +4,7 @@ import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-CDXol8Ub.js";
|
|
|
4
4
|
import { i as kimiMcpFiles, n as KIMI_MCP_CONFIG_NAME, t as KIMI_MCP_BASE_NAME } from "./agent-config-BJVJpVzX.js";
|
|
5
5
|
import { d as KIMI_HOME_PROFILE, y as renderKimiHooksBlock } from "./agent-home-core-DmcBI03O.js";
|
|
6
6
|
import { i as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-DqvfS8ed.js";
|
|
7
|
-
import { n as buildAgentEnv } from "./spawn-env-
|
|
7
|
+
import { n as buildAgentEnv } from "./spawn-env-92O4_Gqo.js";
|
|
8
8
|
import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, o as prepareScratchAgentHome } from "./agent-home-rRvnBnrO.js";
|
|
9
9
|
import { o as QUESTION_TOOL_HOLD_HOOK_EVENT, s as QUESTION_TOOL_HOLD_TIMEOUT_MS } from "./question-manager-C_RzS1Ot.js";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// shared/loopback-hosts.ts
|
|
2
|
+
var LOOPBACK_HOSTS = /* @__PURE__ */ new Set([
|
|
3
|
+
"127.0.0.1",
|
|
4
|
+
"::1",
|
|
5
|
+
"[::1]",
|
|
6
|
+
"localhost"
|
|
7
|
+
]);
|
|
8
|
+
function isLoopbackHostname(hostname) {
|
|
9
|
+
return LOOPBACK_HOSTS.has(hostname);
|
|
10
|
+
}
|
|
11
|
+
function loopbackOverrideOrigin(override, fallbackOrigin) {
|
|
12
|
+
if (override === void 0 || override === "") return fallbackOrigin;
|
|
13
|
+
const overrideUrl = URL.parse(override);
|
|
14
|
+
if (overrideUrl === null || !isLoopbackHostname(overrideUrl.hostname)) return fallbackOrigin;
|
|
15
|
+
return overrideUrl.origin;
|
|
16
|
+
}
|
|
17
|
+
export { loopbackOverrideOrigin as n, isLoopbackHostname as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as isLoopbackHostname } from "./loopback-hosts-
|
|
2
|
-
import { r as POST_TIMEOUT_MS } from "./hook-relay-core-
|
|
1
|
+
import { t as isLoopbackHostname } from "./loopback-hosts-L-YKCy4U.js";
|
|
2
|
+
import { r as POST_TIMEOUT_MS } from "./hook-relay-core-COOPCFwv.js";
|
|
3
3
|
// session/loopback-post.ts
|
|
4
4
|
var http = process.getBuiltinModule("node:http");
|
|
5
5
|
function refusal(reason) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { $t as CONTROL_FRAME_MAX_BYTES, A as BenchmarkSuite, B as DISCORD_CHANNEL_NAME_RE, Bt as issuePullRequestStateFromGithub, C as EFFORT_OPTION_ID, D as BenchmarkJudgement, E as BenchmarkId, F as CommunityActionRequest, Ft as IssueKey, G as GithubPrsFrame, Gt as TraceCheckpoint, H as GithubPrDetailNode, Ht as HookEnvelope, I as CommunityDraft, It as IssueUpdate, J as WorkflowLabelName, Jt as ChangeMap, K as comparablePrKey, Kt as TraceRecord, L as CommunityItem, Lt as IssuesSearchResponse, M as MergedPrListing, N as MinedPrReviewData, Nt as GithubIssuePullRequestsRepository, O as BenchmarkRun, Ot as USAGE_INTEGER_RANGES, P as PrCheckoutCaseInput, Pt as GithubIssueResponse, Qt as CLIENT_LOG_TEXT_MAX_CHARS, R as CommunityState, Rt as IssuesState, S as DEFAULT_MODELS, T as BenchmarkCase, U as GithubPrKey, Ut as SessionSetup, V as SKILL_NAME_RE, W as GithubPrLightSearchNode, Wt as MAX_RAW_LINE_CHARS, Xt as CHANGES_POLL_INTERVAL_MS, Y as WorkflowsSettings, Yt as changeMapFactId, Z as WorkflowsState, _ as RaceSpec, _n as PlanRevision, b as CATALOG_AGENT_IDS, c as HINT_FEATURES, d as ContestantMetrics, dn as PLAN_BODY_CAP_BYTES, fn as PLAN_HOOK_EVENT, g as RaceRecord, gn as PlanDecision, h as RaceJudgeAgent, hn as PLAN_TOOL_NAME, j as CommitComparison, k as BenchmarkStatus, l as HINT_VIEW_BY_FEATURE, mn as PLAN_RESULT_HOOK_EVENT, n as PackApproveRequest, o as HubPhoneAlertFrame, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, p as RACE_CRITERIA, pn as PLAN_HOOK_OUTPUT_MAX_CHARS, q as WorkflowCommentBody, qt as CoherenceJournalOutput, r as HUB_PHONE_ALERT_TEXT_MAX, s as FeatureHintState, sn as pullRequestKeyFromReference, t as ClientMessage, tn as GithubTeam, un as UpdateJournal, vn as parseExitPlanModeHookPayload, w as BenchmarkActionRequest, x as CatalogAgentId, yn as planTitle, z as CommunityVerdict, zt as IssuesStatus } from "./control-messages-LGIHSsHt.js";
|
|
2
2
|
import { a as rawTextOr, i as positiveNumberOr, n as isRecord$2, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-D6vRlIGO.js";
|
|
3
|
-
import { $ as codexSessionIdFromPath, $t as removalsJournalPath, A as pickNewestPublished, At as vendorUsageEntry, B as planUploadRetention, Bt as agentHookGroupOf, C as decideUpdateStatus, Ct as identityFromRelPath, D as parseRegistryDeprecation, Dt as parseUsageLine, E as normalizeUpdateChannel, Et as parseJsonLine$1, F as decideUploadType, Ft as generateToken, G as containmentRefusalReason, Gt as readStoredHooks, H as TRACE_TAIL_SCAN_BYTES, Ht as hooksForProject, I as exceedsUploadCap, It as sweepOrphans, J as resumeOffsetFrom, Jt as makeHostScratchDirectory, K as isOversizedPartialLine, Kt as removeHook, L as framePathPaste, Lt as writeSessionSettings, M as openContainedFile, Mt as HOOK_EVENTS, N as MAX_UPLOAD_BYTES, Nt as PLAN_HOLD_RELEASE_MS, O as parseRegistryLatest, Ot as shouldReplace, P as buildUploadFilename, Pt as buildHookSettings, Q as codexRootCandidates, Qt as recordSweptPath, R as imageMimeForUploadFilename, Rt as HOOK_EVENT_CATALOG, S as decideInstallFlavor, St as foldReplacementIntoGenerationRollup, T as normalizeSha, Tt as mergeGenerationRollups, U as committedOffsetFromTraceTailOrNull, Ut as normalizeHook, V as MAX_TRANSCRIPT_READ_BYTES, Vt as appendUserHooks, W as completeLineBytes, Wt as rawStoredHooks, X as codexFallbackRoots, Xt as appendRemovalRecord, Y as withCommittedOffset, Yt as sweepOrphanedHostScratch, Z as codexHomes, Zt as appendRemovalRecordSync, _ as folderTrustRoot, _t as addEntryToTotals, a as customAgentFingerprint, at as isUsageFile, b as requestCodexAppServer, bt as expandAdvisorIterations, c as hookProfileOf, ct as projectDirCandidates, d as isKnownAgentId, dt as sessionsRootCandidates, en as listClaudeGlobalConfigPathCandidates, et as continuationDelayMs, f as listAgentIds, ft as shouldEvaluateDespiteIoFailures, g as setCustomAgents, gt as parseKimiUsageLine, h as resolveAdapter, ht as kimiDedupIdentity, i as commandFor, it as grokHomes, j as shortSha, jt as claudeCode, k as parseResolvedSha, kt as totalTokensOf$1, l as isBuiltInAgentId, lt as resolveProjectsDirs, m as resetCommandCache, mt as splitLines, n as DEFAULT_AGENT_ID$1, nt as dedupeCodexFiles, o as describeAgentResolvability, ot as kimiHomes, p as projectHookConfigRelPaths, pt as shouldPersistWarehouse, q as planContiguousRead, qt as upsertHook, r as cachedAgentResolvability, rt as expandTilde, s as getAdapter, st as passOutcome, tn as HOOK_TOOLS, tt as decideFileRead, u as isFirstClassAgent, ut as scopedClaudeRoots, v as codex, vt as dedupKeys, w as isCheckFresh, wt as isWithinGenerationRecencyWindow, x as NODE_PTY_INSTALL_SCRIPT_FLAG, xt as foldEntryIntoGenerationRollup, y as readHostCodexVersion, yt as emptyTotals, z as isSafePathSegment, zt as ID_RE } from "./adapters-
|
|
4
|
-
import { $ as
|
|
3
|
+
import { $ as codexSessionIdFromPath, $t as removalsJournalPath, A as pickNewestPublished, At as vendorUsageEntry, B as planUploadRetention, Bt as agentHookGroupOf, C as decideUpdateStatus, Ct as identityFromRelPath, D as parseRegistryDeprecation, Dt as parseUsageLine, E as normalizeUpdateChannel, Et as parseJsonLine$1, F as decideUploadType, Ft as generateToken, G as containmentRefusalReason, Gt as readStoredHooks, H as TRACE_TAIL_SCAN_BYTES, Ht as hooksForProject, I as exceedsUploadCap, It as sweepOrphans, J as resumeOffsetFrom, Jt as makeHostScratchDirectory, K as isOversizedPartialLine, Kt as removeHook, L as framePathPaste, Lt as writeSessionSettings, M as openContainedFile, Mt as HOOK_EVENTS, N as MAX_UPLOAD_BYTES, Nt as PLAN_HOLD_RELEASE_MS, O as parseRegistryLatest, Ot as shouldReplace, P as buildUploadFilename, Pt as buildHookSettings, Q as codexRootCandidates, Qt as recordSweptPath, R as imageMimeForUploadFilename, Rt as HOOK_EVENT_CATALOG, S as decideInstallFlavor, St as foldReplacementIntoGenerationRollup, T as normalizeSha, Tt as mergeGenerationRollups, U as committedOffsetFromTraceTailOrNull, Ut as normalizeHook, V as MAX_TRANSCRIPT_READ_BYTES, Vt as appendUserHooks, W as completeLineBytes, Wt as rawStoredHooks, X as codexFallbackRoots, Xt as appendRemovalRecord, Y as withCommittedOffset, Yt as sweepOrphanedHostScratch, Z as codexHomes, Zt as appendRemovalRecordSync, _ as folderTrustRoot, _t as addEntryToTotals, a as customAgentFingerprint, at as isUsageFile, b as requestCodexAppServer, bt as expandAdvisorIterations, c as hookProfileOf, ct as projectDirCandidates, d as isKnownAgentId, dt as sessionsRootCandidates, en as listClaudeGlobalConfigPathCandidates, et as continuationDelayMs, f as listAgentIds, ft as shouldEvaluateDespiteIoFailures, g as setCustomAgents, gt as parseKimiUsageLine, h as resolveAdapter, ht as kimiDedupIdentity, i as commandFor, it as grokHomes, j as shortSha, jt as claudeCode, k as parseResolvedSha, kt as totalTokensOf$1, l as isBuiltInAgentId, lt as resolveProjectsDirs, m as resetCommandCache, mt as splitLines, n as DEFAULT_AGENT_ID$1, nt as dedupeCodexFiles, o as describeAgentResolvability, ot as kimiHomes, p as projectHookConfigRelPaths, pt as shouldPersistWarehouse, q as planContiguousRead, qt as upsertHook, r as cachedAgentResolvability, rt as expandTilde, s as getAdapter, st as passOutcome, tn as HOOK_TOOLS, tt as decideFileRead, u as isFirstClassAgent, ut as scopedClaudeRoots, v as codex, vt as dedupKeys, w as isCheckFresh, wt as isWithinGenerationRecencyWindow, x as NODE_PTY_INSTALL_SCRIPT_FLAG, xt as foldEntryIntoGenerationRollup, y as readHostCodexVersion, yt as emptyTotals, z as isSafePathSegment, zt as ID_RE } from "./adapters-Cwp7336t.js";
|
|
4
|
+
import { $ as buildBrowserExceptionProperties, D as settingsBlockSpecFor, E as mergeSettingsBlock, G as LOGGED_FAST_CLOSE_COUNTS, H as isExperimentalSetting, J as parseDataClientMessage, K as describeDataAttach, O as validateSettingsBlock, Q as buildAiGenerationEvents, U as DEEP_HISTORY_SCROLLBACK_LINES, X as POSTHOG_INGEST_HOST_ENV, Y as FIRST_RUN_NOTICE, Z as adapterBucket, _ as sessionIdFromBranch, _t as TELEMETRY_EVENT_SCHEMAS, a as generateProjectId, at as decideIsDevInstall, b as DEFAULT_TIMER_FNS, bt as comparableDirectoryPath, ct as exceptionFingerprint, d as DEFAULT_CONFIG, dt as parsePosthogReleaseId, et as buildExceptionProperties, f as DEFAULT_BRANCH_GC_PREFIXES, ft as resolveProjectToken, g as planWorktreeGc, gt as PendingCrashReport, h as planBranchGc, ht as DashboardTelemetryReport, i as ensureProjectIds, it as codexUserIdOf, k as SETTINGS_INDEX, lt as isIngestOverrideIgnored, m as matchedPrefix, mt as telemetryFlagsUrl, n as createConfigStore, nt as classifySessionExit, o as glimmervoidHomeDir, ot as decideRemoteTelemetryState, p as isGcCandidateWorktree, pt as telemetryBatchUrl, q as parseDataAttach, r as ABORT_CONFIG_SAVE, rt as claudeAccountUuidOf, st as decideTelemetryConsent, tt as buildPersonProperties, ut as nodeMajorVersion, v as usablePrefixes, vt as TelemetryState, x as unrefTimer, xt as isSameDirectoryPath, y as worktreeIntegrationTips, yt as canonicalizePath, z as valueAtPath } from "./config-store-CTerrBuk.js";
|
|
5
5
|
import { C as parseCgroupBytes, S as memoryReserveBytes, T as parseMemAvailableBytes, _ as createSpawnGate, a as jsonStateLoadError, b as cgroupLimitBytes, c as loadedJsonValue, d as writeJsonAtomicSync, f as writeTextAtomic, g as createSerialQueue, h as createMemoryAdmission, i as createJsonStateWriter, m as createKeyedSerialQueue, n as appendJsonLines, o as loadJsonStateFile, p as writeTextAtomicSync, r as createJsonStateStore, s as loadJsonStateFileSync, t as appendJsonLine, u as writeJsonAtomic, v as isQueueAdmissionTimeout, w as parseCgroupV2Path, x as headroomFromReadings, y as cgroupAncestorPaths } from "./json-file-ZNAeT6DN.js";
|
|
6
6
|
import { a as sanitizeWorktreeName, i as safePathSegment, n as equalsIgnoringCaseOnWindows, r as isPathInside, t as caseFoldedPathKey } from "./paths-C2u2R_6l.js";
|
|
7
7
|
import { o as isMissingFileError, r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
8
|
-
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-
|
|
8
|
+
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-CncjD7r8.js";
|
|
9
9
|
import { c as runCommandSafely$1, i as execFileSync, l as spawn, n as execFile, r as execFileAsync, s as refuseLaunchesOf, t as assertLaunchable } from "./child-process-safe-pP6Vf2i9.js";
|
|
10
10
|
import { $ as MyPrCheckContextsResponse, $t as PR_ACTION_TOKEN_ENV, A as QUIET_NOTIFY_CATEGORIES, An as GH_SEGMENT, B as SSH_SIGN_BODY_CAP_BYTES, Bn as MERGEABLE_LIVE_STATES, Bt as TeamReviewResolveResponse, C as COHERENCE_HOOKS_INACTIVE, Dt as PostingPlan, E as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Et as PostedReviewEvent, Ft as ReviewThreadId, G as SshSignRequest, Gt as TeamReviewThreadsRepository, Hn as STATES, Ht as TeamReviewStatus, I as SESSION_NAME_PATTERN, It as ReviewVerdict, K as TASK_TITLE_CONTROL_CHARACTERS, Kt as canApproveAfterComment, L as SESSION_NAME_RULE_TEXT, Lt as TeamReviewActionRequest, Mn as REPO_SLUG_RE, Mt as ReviewDraft, Nn as repoParts, Nt as ReviewFinding, O as ConversationQuestion, On as HEX_SHA_RE, Ot as PrDetail, P as SESSION_DOC_BODY_CAP_BYTES, Pt as ReviewResult, Q as MyPrCheckContext, Qt as PR_ACTION_REPORT_URL_ENV, R as SHOWN_FILE_CAP_BYTES, Rn as BADGE_LABELS, S as AttentionNoteOrigin, St as FindingSeverity, T as CONVERSATION_PERMISSION_HOOK_EVENT, Ut as TeamReviewThreadCommentsResponse, Vn as RESTARTABLE_STATES, Vt as TeamReviewStateEntry, Wt as TeamReviewThreadResult, X as MyPr, Xt as PR_ACTION_REPORT_BODY_CAP_BYTES, Y as LinkedPr, Yt as hasStandingViewerApproval, Z as MyPrAutoRebase, Zt as PR_ACTION_REPORT_ROUTE, _n as PrFlowsSettings, a as ATTENTION_NOTE_NOTIFY_CATEGORY, b as AgentWhyRequest, bn as PrThreadReplyResponse, bt as DECIDING_REVIEW_STATES, dt as MyPrThreadNode, et as MyPrKeepMergeableRequest, f as AgentPacksRequest, ft as MyPrThreadsResponse, i as ASK_USER_QUESTION_TOOL_NAME, in as PrFlowApproveRequest, it as MyPrMergeRequest, j as REQUEST_USER_INPUT_TOOL_NAME, jn as NODE_ID_RE, jt as ReviewComment, kn as shortSha$1, l as AgentCloseRequest, ln as PrFlowItemRequest, mn as PrFlowSaveRuleRequest, mt as MyPrsState, nn as PrActionReportBody, nt as MyPrLaneEntry, on as PrFlowDisposeRequest, ot as MyPrMergeStateResponse, p as AgentPullRequestRequest, pn as PrFlowRule, pt as MyPrsSnapshot, q as TaskTitle, qt as decisionAsIfApprovalRequired, r as AGENT_URL_ENV, rn as PrActionRunRequest, rt as MyPrMergeMethod, s as AgentAttentionRequest, st as MyPrMergeWhenReadyRequest, u as AgentEditRequest, ut as MyPrStage, v as AgentSettingsRequest, vn as PrFlowsState, w as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, wn as prActionReportPath, wt as GithubReviewState, xn as PrThreadUnresolveResponse, xt as EarlierReview, y as AgentSpawnRequest, yt as CommitSha$1, z as SIGN_URL_ENV, zn as KILLABLE_STATES, zt as TeamReviewCompareFiles } from "./session-CDXol8Ub.js";
|
|
11
11
|
import { a as QUESTION_ANSWERED_NOTIFY_CATEGORY, c as QuestionManagerSettings, i as ManagerLaneResult, n as MANAGER_DECISION_EVENT, r as ManagerDecision, t as MANAGER_DECISION_AUDIT_KIND } from "./question-manager-C_RzS1Ot.js";
|
|
@@ -16,30 +16,30 @@ import { a as mcpLaunchFor, o as parsePresentedCredential } from "./agent-config
|
|
|
16
16
|
import { a as elementPageOf, c as tileKeysFor, l as pictureRefusalOf, o as fitsOnePage, r as SavedLayoutWritten, s as tileIdOf, t as LayoutReply, u as LAYOUT_CACHE_FILENAME } from "./layout-worker-core-BTohcX17.js";
|
|
17
17
|
import { c as VAULT_REPLACED_CLOSE_CODE, d as VaultCompanionMessage, f as VaultJob, l as VAULT_SOCKET_PATH, n as AgentNeedRequest } from "./secrets-DUjhXqjU.js";
|
|
18
18
|
import { a as ConfigUpdate, c as SHELL_AGENT_ID, f as USAGE_COST_MODES, n as BUILTIN_AGENT_IDS, p as USAGE_VENDOR_KEYS, r as BrowserConfig, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage } from "./config-TRkvzV8I.js";
|
|
19
|
-
import { _ as decideHostAllowed, c as approvedPackPanels, d as packRow, f as pendingPackNote, g as readCappedBody, h as parseJsonBody, l as approvedPackThemes, m as decodeHeaderText, n as readPacksForAgent, p as declaredContentLength, u as packFileHeaders } from "./pack-agent-
|
|
19
|
+
import { _ as decideHostAllowed, c as approvedPackPanels, d as packRow, f as pendingPackNote, g as readCappedBody, h as parseJsonBody, l as approvedPackThemes, m as decodeHeaderText, n as readPacksForAgent, p as declaredContentLength, u as packFileHeaders } from "./pack-agent-Bb71Toaj.js";
|
|
20
20
|
import { a as formatSshPublicKey, c as orderAgentSockets, i as commitSigningShimText, l as parseSshPublicKey, n as NO_AGENT_HOLDS_KEY, o as isForwardedAgentDirName, r as agentListsKey, s as isSignableGitObject, t as COMMIT_SIGNING_SHIM_NAME, u as wellKnownAgentSocketPaths } from "./ssh-signing-core-C7Dohjcn.js";
|
|
21
|
-
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, i as validateRemoteConfig, l as defaultSeenPath, n as isLoopbackHost, o as createPairingsStore, p as hashSecret, r as normalizeRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-
|
|
21
|
+
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, i as validateRemoteConfig, l as defaultSeenPath, n as isLoopbackHost, o as createPairingsStore, p as hashSecret, r as normalizeRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-DD0WGrOV.js";
|
|
22
22
|
import { a as clientDir, c as packageRoot, d as resolvePackageBin, i as cliPath, l as relayPath, n as boardStoreWorkerPath, o as examplePacksDir, r as bundled, s as layoutWorkerPath, t as assetRoot, u as resolveFfmpegPath } from "./runtime-paths-5UK7AN_h.js";
|
|
23
23
|
import { n as shellQuote } from "./hook-command-core-Bu5xBKp3.js";
|
|
24
24
|
import { c as realAgentHome, f as createHeldSessionTempFolder, h as trashSessionTempFolderOnceUnheld, m as sessionIdOfLockFile, p as releaseSessionLock, u as releaseEveryUnheldAgentHomeSecrets } from "./agent-home-rRvnBnrO.js";
|
|
25
|
-
import { A as savedRuleFor, B as withInterruptedRuns, D as prFlowSetup, E as prActionRunAfterExit, F as teammateThreadItems, G as defineTransitions, H as withPrActionRun, I as threadCandidates, M as shouldTellBranchMoved, N as sourceCandidates$1, O as prFlowsConfig, R as visibleRun, S as packPathsOf, U as withReopened, V as withOnlyOpenPrs, W as withRuleRun, _ as isCommandStillRunning, b as newPrActionRun, d as acceptReport, f as branchMovedNote, g as flaggingReviewers, h as fixLocallyPrompt, i as packsStatePath, j as scopedToRepo, l as PacksState, o as readPackDir, p as commandFingerprint, r as packDirsUnder, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, v as itemLocation, w as plannedActions, y as mergeItems, z as withHandled } from "./pack-files-
|
|
25
|
+
import { A as savedRuleFor, B as withInterruptedRuns, D as prFlowSetup, E as prActionRunAfterExit, F as teammateThreadItems, G as defineTransitions, H as withPrActionRun, I as threadCandidates, M as shouldTellBranchMoved, N as sourceCandidates$1, O as prFlowsConfig, R as visibleRun, S as packPathsOf, U as withReopened, V as withOnlyOpenPrs, W as withRuleRun, _ as isCommandStillRunning, b as newPrActionRun, d as acceptReport, f as branchMovedNote, g as flaggingReviewers, h as fixLocallyPrompt, i as packsStatePath, j as scopedToRepo, l as PacksState, o as readPackDir, p as commandFingerprint, r as packDirsUnder, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, v as itemLocation, w as plannedActions, y as mergeItems, z as withHandled } from "./pack-files-ELZ8YDGn.js";
|
|
26
26
|
import { R as escapeMarkup, d as isStackedPanel, w as cappedWarnings } from "./whiteboard-layout-core-Bstz_s7F.js";
|
|
27
27
|
import { a as appendElement, c as boardIndexOf, f as indexBoardInSlices, i as stepBoxesOf, l as boxIdsDependedOnBy, o as assetIdOf, p as storeElement, r as planSteps$1, s as assetIdsOf, u as dropElement } from "./whiteboard-plan-core-G8PV9pyu.js";
|
|
28
28
|
import { C as recordPut, D as upgradedBoardRecord, E as summarizeBoard, S as projectBoardsNoticeFor, T as shownBoxOp, _ as isFiledFor, b as markRead, d as recordOfRows, f as BOARD_CONTEXT_NOTE, g as disconnectSession, h as connectSession, i as StoreReply, m as changesForReader, o as boardDeltaOf, p as boardNoticeFor, r as ELEMENT_PAGE_SIZE, t as BOARD_STORE_FILENAME, u as headRowsOf, v as isListedFor, w as resolveBoardRef, x as pickShowBoardId, y as isSameProject } from "./board-store-core-CpHRDuzf.js";
|
|
29
29
|
import { C as createTsconfigPathsResolver, E as resolveExtendsPath, T as parseTsconfigJsonc, d as KIMI_HOME_PROFILE, w as matchPathPatterns } from "./agent-home-core-DmcBI03O.js";
|
|
30
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
30
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-CnY7UwML.js";
|
|
31
31
|
import { n as DEFAULT_MAX_MS, r as nextBackoffMs, t as DEFAULT_BASE_MS } from "./backoff-CMhw1Fu8.js";
|
|
32
|
-
import { _ as WatcherStatus, a as LINK_SERVER_URL_ENV, c as Nudge, f as STATUS_PATH, i as LINK_SECRET_ENV, m as WATCHER_LANE_IDS, n as
|
|
32
|
+
import { _ as WatcherStatus, a as LINK_SERVER_URL_ENV, c as Nudge, f as STATUS_PATH, i as LINK_SECRET_ENV, m as WATCHER_LANE_IDS, n as GITHUB_API_BASE_ENV, p as WATCHER_HOME_ENV, v as githubApiOrigin } from "./watcher-link-BKWi5aJM.js";
|
|
33
33
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
34
34
|
import { a as showHomeAsTilde, i as sanitizeOneLine, n as requireExecutableSpawnHelper, r as firstLine$2 } from "./node-pty-preflight-B6wME-M3.js";
|
|
35
|
-
import { t as DETACHED_DESKTOP_BUS_ADDRESS } from "./spawn-env-
|
|
36
|
-
import { t as HOOK_URL_ENV } from "./hook-relay-core-
|
|
35
|
+
import { t as DETACHED_DESKTOP_BUS_ADDRESS } from "./spawn-env-92O4_Gqo.js";
|
|
36
|
+
import { t as HOOK_URL_ENV } from "./hook-relay-core-COOPCFwv.js";
|
|
37
37
|
import { c as saneYoloFiles } from "./sane-yolo-DqvfS8ed.js";
|
|
38
38
|
import { n as glimmervoidHomeDir$1, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-qUZH9-0F.js";
|
|
39
39
|
import { r as knownWriteHookInput } from "./posthog-read-gate-core-D_5rXRpS.js";
|
|
40
40
|
import { r as stableConfigKey } from "./config-secrets-core-Dl2-_qLd.js";
|
|
41
41
|
import { a as PackStoreData, d as packStoreSizeError, u as packStoreAfterSet } from "./pack-bridge-CGiOVuxR.js";
|
|
42
|
-
import { t as createPrFlowsExternal } from "./pr-flows-external-
|
|
42
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-CIQ7ngBH.js";
|
|
43
43
|
import { a as signedRequestFromHeaders, i as signedHeaders, o as verifyRequest, r as directionKey, t as createRecentRequestIds } from "./link-signing-core-QyQDc4XP.js";
|
|
44
44
|
import { n as isSameHostEntry, r as removeHostFrom, t as addHostTo } from "./host-registry-core-CwdQ7jWv.js";
|
|
45
45
|
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-BE08x5OZ.js";
|
|
@@ -16228,8 +16228,6 @@ function behindCountsQuery(prs) {
|
|
|
16228
16228
|
}
|
|
16229
16229
|
// server/github/github-store-probes.ts
|
|
16230
16230
|
var GITHUB_STORE_LANE_ID = "github-store";
|
|
16231
|
-
var GRAPHQL_URL = `https://${GITHUB_API_HOST}/graphql`;
|
|
16232
|
-
var NOTIFICATIONS_URL = `https://${GITHUB_API_HOST}/notifications`;
|
|
16233
16231
|
var WATCH_PROBE_PREFIX = "github:watch:";
|
|
16234
16232
|
var POLL_PROBE_PREFIX = "github:";
|
|
16235
16233
|
var LIGHT_BATCH_SIZE = 50;
|
|
@@ -16250,7 +16248,7 @@ function graphqlProbe(id, everyMs, query, variables = {}) {
|
|
|
16250
16248
|
laneId: GITHUB_STORE_LANE_ID,
|
|
16251
16249
|
everyMs,
|
|
16252
16250
|
method: "POST",
|
|
16253
|
-
url:
|
|
16251
|
+
url: new URL("/graphql", githubApiOrigin(process.env)).toString(),
|
|
16254
16252
|
body: JSON.stringify({
|
|
16255
16253
|
query,
|
|
16256
16254
|
variables
|
|
@@ -16282,7 +16280,7 @@ function githubStoreProbes(inputs) {
|
|
|
16282
16280
|
laneId: GITHUB_STORE_LANE_ID,
|
|
16283
16281
|
everyMs: NOTIFICATIONS_EVERY_MS,
|
|
16284
16282
|
method: "GET",
|
|
16285
|
-
url:
|
|
16283
|
+
url: new URL("/notifications", githubApiOrigin(process.env)).toString(),
|
|
16286
16284
|
body: null,
|
|
16287
16285
|
credential: "github"
|
|
16288
16286
|
}] : [];
|
|
@@ -17705,7 +17703,7 @@ function getProbe(id, everyMs, url) {
|
|
|
17705
17703
|
};
|
|
17706
17704
|
}
|
|
17707
17705
|
function repoListingProbe(repo) {
|
|
17708
|
-
const url = new URL(
|
|
17706
|
+
const url = new URL(`/repos/${repo}/issues`, githubApiOrigin(process.env));
|
|
17709
17707
|
for (const [name, value] of [
|
|
17710
17708
|
["state", "all"],
|
|
17711
17709
|
["sort", "updated"],
|
|
@@ -17715,7 +17713,7 @@ function repoListingProbe(repo) {
|
|
|
17715
17713
|
return getProbe(probeIdFor("repo", repo), REPO_LISTING_EVERY_MS, url);
|
|
17716
17714
|
}
|
|
17717
17715
|
function searchProbe(query) {
|
|
17718
|
-
const url = new URL(
|
|
17716
|
+
const url = new URL("/search/issues", githubApiOrigin(process.env));
|
|
17719
17717
|
for (const [name, value] of [
|
|
17720
17718
|
["q", query],
|
|
17721
17719
|
["sort", "updated"],
|
|
@@ -53491,7 +53489,8 @@ var INHERITED_ENVIRONMENT_NAMES = [
|
|
|
53491
53489
|
"HTTPS_PROXY",
|
|
53492
53490
|
"https_proxy",
|
|
53493
53491
|
"NO_PROXY",
|
|
53494
|
-
"no_proxy"
|
|
53492
|
+
"no_proxy",
|
|
53493
|
+
GITHUB_API_BASE_ENV
|
|
53495
53494
|
];
|
|
53496
53495
|
function inheritedEnvironment() {
|
|
53497
53496
|
const entries = INHERITED_ENVIRONMENT_NAMES.flatMap((name) => {
|
|
@@ -53505,6 +53504,7 @@ function createWatcherSupervisor({ linkSecret, serverUrl, watcherHome, onListeni
|
|
|
53505
53504
|
let supervision = "watching";
|
|
53506
53505
|
let runningChild = null;
|
|
53507
53506
|
let pendingRestart = null;
|
|
53507
|
+
if (Boolean(process.env["GLIMMERVOID_GITHUB_API_BASE"]) && githubApiOrigin(process.env) === githubApiOrigin({})) log.warn(`[watcher] ${GITHUB_API_BASE_ENV} does not name a loopback address, so GitHub probes keep reaching GitHub`);
|
|
53508
53508
|
function scheduleRestart(endedHow, endKind, runDurationMs) {
|
|
53509
53509
|
runningChild = null;
|
|
53510
53510
|
onEnded({
|
|
@@ -63567,6 +63567,7 @@ function createTelemetry(options) {
|
|
|
63567
63567
|
},
|
|
63568
63568
|
warn: (message, fields) => log.warnOnce(message, message, fields)
|
|
63569
63569
|
});
|
|
63570
|
+
if (isIngestOverrideIgnored(options.env)) log.warnOnce("ingest-override-ignored", `${POSTHOG_INGEST_HOST_ENV} does not name a loopback address, so telemetry keeps going to PostHog`);
|
|
63570
63571
|
const heartbeatTimer = setInterval(() => {
|
|
63571
63572
|
const activeSessionCount = options.getActiveSessionCount?.() ?? 0;
|
|
63572
63573
|
const watcherRollup = options.takeWatcherRollup?.();
|
|
@@ -63743,7 +63744,7 @@ function createTelemetry(options) {
|
|
|
63743
63744
|
}
|
|
63744
63745
|
async function post(outgoing, installId, timeoutMs) {
|
|
63745
63746
|
try {
|
|
63746
|
-
const response = await fetchFn(
|
|
63747
|
+
const response = await fetchFn(telemetryBatchUrl(options.env), {
|
|
63747
63748
|
method: "POST",
|
|
63748
63749
|
headers: { "Content-Type": "application/json" },
|
|
63749
63750
|
body: JSON.stringify({
|
|
@@ -63790,7 +63791,7 @@ function createTelemetry(options) {
|
|
|
63790
63791
|
try {
|
|
63791
63792
|
const { installId } = await ensureInstallState();
|
|
63792
63793
|
if (isStopped || !isLocalConsentGiven()) return null;
|
|
63793
|
-
const response = await fetchFn(
|
|
63794
|
+
const response = await fetchFn(telemetryFlagsUrl(options.env), {
|
|
63794
63795
|
method: "POST",
|
|
63795
63796
|
headers: { "Content-Type": "application/json" },
|
|
63796
63797
|
body: JSON.stringify({
|
|
@@ -2,7 +2,7 @@ import { en as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-CDXol8Ub.js";
|
|
|
2
2
|
import { t as ClientMessage } from "./control-messages-LGIHSsHt.js";
|
|
3
3
|
import { c as PanelActionRequest, l as packBridgeJsonSchemaText, p as REVIEW_ACTION_TYPES, t as PACK_DATA_MAX_BYTES } from "./pack-bridge-CGiOVuxR.js";
|
|
4
4
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
5
|
-
import { C as packRuleErrors, L as unknownPlaceholderMessage, c as PackHeader, k as prFlowsPacksOf, m as expandPlaceholders, n as declaredPanels, o as readPackDir, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, u as packJsonSchemaText, x as packApproval } from "./pack-files-
|
|
5
|
+
import { C as packRuleErrors, L as unknownPlaceholderMessage, c as PackHeader, k as prFlowsPacksOf, m as expandPlaceholders, n as declaredPanels, o as readPackDir, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, u as packJsonSchemaText, x as packApproval } from "./pack-files-ELZ8YDGn.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { z } from "zod";
|
|
@@ -2,7 +2,7 @@ import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
|
2
2
|
import { Sn as RepoScope, Tn as prFlowRulesJsonSchema, _n as PrFlowsSettings, an as PrFlowCommand, cn as PrFlowItemAction, en as PR_FLOW_PLACEHOLDERS_BY_KIND, fn as PrFlowPrAction, hn as PrFlowSourceCommand, pn as PrFlowRule, tn as PackPrFlowRule, un as PrFlowPackRequires } from "./session-CDXol8Ub.js";
|
|
3
3
|
import { f as REVIEW_ACTIONS_GRANT_TEXT, h as ThemePalette, i as PackPanelAct, n as PackBridgeTopic, r as PackName } from "./pack-bridge-CGiOVuxR.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
5
|
-
import { r as withoutGlimmervoidSecrets } from "./spawn-env-
|
|
5
|
+
import { r as withoutGlimmervoidSecrets } from "./spawn-env-92O4_Gqo.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { z } from "zod";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
2
|
-
import { _ as decideHostAllowed, a as packReportText, g as readCappedBody, i as packCheckHasProblem, o as panelActionDecision, r as checkPack, s as panelActionsJsonSchemaText, t as packGuideText, u as packFileHeaders } from "./pack-agent-
|
|
2
|
+
import { _ as decideHostAllowed, a as packReportText, g as readCappedBody, i as packCheckHasProblem, o as panelActionDecision, r as checkPack, s as panelActionsJsonSchemaText, t as packGuideText, u as packFileHeaders } from "./pack-agent-Bb71Toaj.js";
|
|
3
3
|
import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
|
|
4
4
|
import { En as prFlowsOutputJsonSchemaText, Hn as STATES, n as AGENT_REPLY_SCHEMAS } from "./session-CDXol8Ub.js";
|
|
5
5
|
import { n as glimmervoidHomeDir } from "./config-path-core-qUZH9-0F.js";
|
|
6
6
|
import { o as examplePacksDir } from "./runtime-paths-5UK7AN_h.js";
|
|
7
7
|
import { l as packBridgeJsonSchemaText, m as THEME_STATE_NAMES, n as PackBridgeTopic, t as PACK_DATA_MAX_BYTES } from "./pack-bridge-CGiOVuxR.js";
|
|
8
|
-
import { a as readApprovedPackFingerprints, o as readPackDir, u as packJsonSchemaText } from "./pack-files-
|
|
8
|
+
import { a as readApprovedPackFingerprints, o as readPackDir, u as packJsonSchemaText } from "./pack-files-ELZ8YDGn.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { z } from "zod";
|
|
@@ -559,7 +559,7 @@ async function runList() {
|
|
|
559
559
|
process.stderr.write("glimmervoid packs list reads the running Glimmervoid, so it works inside a Glimmervoid session; the operator sees the same list in Settings, Packs\n");
|
|
560
560
|
return 1;
|
|
561
561
|
}
|
|
562
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
562
|
+
const { askAgentApi } = await import("./agent-api-cli-C0vGZHv8.js");
|
|
563
563
|
const reply = AGENT_REPLY_SCHEMAS.packs.safeParse(await askAgentApi("packs", { command: "list" }));
|
|
564
564
|
if (!reply.success) {
|
|
565
565
|
process.stderr.write("glimmervoid packs list: Glimmervoid did not answer with a pack list\n");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as resolveConfigPath } from "./config-store-
|
|
2
|
-
import { c as defaultPairingsPath, l as defaultSeenPath, o as createPairingsStore, r as normalizeRemoteConfig, s as createSeenStore } from "./remote-config-
|
|
1
|
+
import { c as resolveConfigPath } from "./config-store-CTerrBuk.js";
|
|
2
|
+
import { c as defaultPairingsPath, l as defaultSeenPath, o as createPairingsStore, r as normalizeRemoteConfig, s as createSeenStore } from "./remote-config-DD0WGrOV.js";
|
|
3
3
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
// server/text-format.ts
|
|
@@ -3,8 +3,8 @@ import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
|
3
3
|
import { c as runCommandSafely } from "./child-process-safe-pP6Vf2i9.js";
|
|
4
4
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-qUZH9-0F.js";
|
|
5
5
|
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
6
|
-
import { D as prFlowSetup, L as unknownPlaceholderMessage, O as prFlowsConfig, S as packPathsOf, a as readApprovedPackFingerprints, j as scopedToRepo, m as expandPlaceholders, o as readPackDir, p as commandFingerprint, r as packDirsUnder } from "./pack-files-
|
|
7
|
-
import { t as createPrFlowsExternal } from "./pr-flows-external-
|
|
6
|
+
import { D as prFlowSetup, L as unknownPlaceholderMessage, O as prFlowsConfig, S as packPathsOf, a as readApprovedPackFingerprints, j as scopedToRepo, m as expandPlaceholders, o as readPackDir, p as commandFingerprint, r as packDirsUnder } from "./pack-files-ELZ8YDGn.js";
|
|
7
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-CIQ7ngBH.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -121,7 +121,7 @@ async function readServerConfig(askSetting) {
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
async function readConfigFromServer() {
|
|
124
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
124
|
+
const { askAgentApi } = await import("./agent-api-cli-C0vGZHv8.js");
|
|
125
125
|
return readServerConfig((settingPath) => askAgentApi("settings", {
|
|
126
126
|
command: "get",
|
|
127
127
|
path: settingPath
|
|
@@ -267,7 +267,7 @@ async function runPrActionReport({ outcome, message, env }, io) {
|
|
|
267
267
|
io.writeError("--outcome must be started, done, failed or refused, and --message at most 500 characters\n");
|
|
268
268
|
return 1;
|
|
269
269
|
}
|
|
270
|
-
const { postToAgentIngress } = await import("./agent-api-cli-
|
|
270
|
+
const { postToAgentIngress } = await import("./agent-api-cli-C0vGZHv8.js");
|
|
271
271
|
const reply = await postToAgentIngress({
|
|
272
272
|
endpoint: new URL(reportUrl),
|
|
273
273
|
token,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as runCommandSafely } from "./child-process-safe-pP6Vf2i9.js";
|
|
2
|
-
import { r as withoutGlimmervoidSecrets } from "./spawn-env-
|
|
2
|
+
import { r as withoutGlimmervoidSecrets } from "./spawn-env-92O4_Gqo.js";
|
|
3
3
|
import { Cn as ReportedPrFlowActionOutcome, gn as PrFlowSourceOutput } from "./session-CDXol8Ub.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
5
|
-
import { L as unknownPlaceholderMessage, P as sourcePlaceholderValues, T as prActionPlaceholderValues, m as expandPlaceholders } from "./pack-files-
|
|
5
|
+
import { L as unknownPlaceholderMessage, P as sourcePlaceholderValues, T as prActionPlaceholderValues, m as expandPlaceholders } from "./pack-files-ELZ8YDGn.js";
|
|
6
6
|
// server/github/pr-flows-external.ts
|
|
7
7
|
var OUTPUT_MAX_BYTES = 1048576;
|
|
8
8
|
var ACTION_OUTPUT_MAX_BYTES = 67108864;
|
|
@@ -2,7 +2,7 @@ import { n as errorLabel, r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
|
2
2
|
import { n as equalsIgnoringCaseOnWindows } from "./paths-C2u2R_6l.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
4
4
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-ZNAeT6DN.js";
|
|
5
|
-
import {
|
|
5
|
+
import { b as DEFAULT_TIMER_FNS, o as glimmervoidHomeDir, x as unrefTimer, yt as canonicalizePath } from "./config-store-CTerrBuk.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runParsedSettingsCli } from "./settings-cli-DT9QRHeT.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
2
2
|
import { r as BrowserConfig } from "./config-TRkvzV8I.js";
|
|
3
3
|
import { _ as AgentSettingsReply } from "./session-CDXol8Ub.js";
|
|
4
|
-
import { A as cloneValue, F as scoreSettingsSearch, I as setValueAtPath, P as parsePosthogProjectSelection, V as SETTINGS_REGISTRY, j as deleteValueAtPath, l as saveConfigFileOnce, s as loadConfigFile, t as IS_EXPERIMENTAL_BUILD, u as validateConfig, w as isSettingAvailable, z as valueAtPath } from "./config-store-
|
|
4
|
+
import { A as cloneValue, F as scoreSettingsSearch, I as setValueAtPath, P as parsePosthogProjectSelection, V as SETTINGS_REGISTRY, j as deleteValueAtPath, l as saveConfigFileOnce, s as loadConfigFile, t as IS_EXPERIMENTAL_BUILD, u as validateConfig, w as isSettingAvailable, z as valueAtPath } from "./config-store-CTerrBuk.js";
|
|
5
5
|
import { r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
6
6
|
import { t as renderTable } from "./ascii-figure-core-BegIbndz.js";
|
|
7
7
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-qUZH9-0F.js";
|
|
8
8
|
import { i as withEnvSecrets, n as readEnvSecrets, t as ENV_SECRET_BINDINGS } from "./config-secrets-core-Dl2-_qLd.js";
|
|
9
|
-
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 availableSettings } from "./settings-readout-core-
|
|
9
|
+
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 availableSettings } from "./settings-readout-core-CnY7UwML.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
// server/settings-cli.ts
|
|
@@ -322,7 +322,7 @@ function runParsedSettingsCommand(parsed, io) {
|
|
|
322
322
|
async function runParsedSettingsCli(parsed, io = processIo()) {
|
|
323
323
|
const serverRequest = settingsRequestForServer(parsed, process.env);
|
|
324
324
|
if (!serverRequest) return runParsedSettingsCommand(parsed, io);
|
|
325
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
325
|
+
const { askAgentApi } = await import("./agent-api-cli-C0vGZHv8.js");
|
|
326
326
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
327
327
|
ok: false,
|
|
328
328
|
error: errorMessage(error)
|