glimmervoid 0.52.3-next.856 → 0.52.3-next.858
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 +15 -15
- package/dist/chunks/{adapters-DpcJbUwN.js → adapters-BGrVEeNi.js} +1 -1
- package/dist/chunks/{adapters-OZivCGKy.js → adapters-Be6_pUqR.js} +5 -5
- package/dist/chunks/agent-api-cli-BhkFT3bA.js +1 -0
- package/dist/chunks/{agent-api-cli-B_jkEGg1.js → agent-api-cli-ChgZJ5wE.js} +1 -1
- package/dist/chunks/{agent-api-core-DAgiGgT8.js → agent-api-core-CHoEoSF4.js} +3 -3
- package/dist/chunks/{agent-setup-cli-g5kL-2M0.js → agent-setup-cli-DcR8Gcp4.js} +1 -1
- package/dist/chunks/{grok-DkfkfKMy.js → grok-CSiWgEWK.js} +1 -1
- package/dist/chunks/{hook-tools-CytPV0RW.js → hook-tools-B_T7l5gH.js} +1 -1
- package/dist/chunks/{host-cli-D239oCSA.js → host-cli-BYE6Tp0E.js} +1 -1
- package/dist/chunks/{kimi-iOcSQ7LL.js → kimi-BexKu1LE.js} +2 -2
- package/dist/chunks/kimi-FeiFA7Tc.js +1 -0
- package/dist/chunks/{main-BuurWS79.js → main-Bt6AEwGq.js} +92 -21
- package/dist/chunks/{pack-agent-BJnXA-hQ.js → pack-agent-Bmbz_Ltj.js} +1 -1
- package/dist/chunks/{pack-files-BZSQmPej.js → pack-files-CUU5ubly.js} +1 -1
- package/dist/chunks/{packs-cli-DNl-vg8k.js → packs-cli-DTQi4lEx.js} +3 -3
- package/dist/chunks/{pr-flows-cli-BJ14BYKy.js → pr-flows-cli-CPkJn6_Y.js} +4 -4
- package/dist/chunks/{pr-flows-external-DRNoKIx6.js → pr-flows-external-BqmW1gre.js} +1 -1
- package/dist/chunks/{sane-yolo-BJM6ju1w.js → sane-yolo-DqvfS8ed.js} +15 -2
- package/dist/chunks/settings-cli-B47zWe9s.js +1 -0
- package/dist/chunks/{settings-cli-CzBhdojc.js → settings-cli-P6tAQf0d.js} +1 -1
- package/dist/chunks/{spawn-env-nLVP6QB-.js → spawn-env-BRLJPlN1.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-D1BbnyNS.js → ssh-sign-cli-D2zn_WTM.js} +1 -1
- package/dist/chunks/{watch-cli-0P-s4Sv4.js → watch-cli-C3v8gP9h.js} +1 -1
- package/dist/chunks/{watchee-settings-LEdDM9yk.js → watchee-settings-CdxcPNd-.js} +1 -1
- package/dist/client/assets/{agent-core-BpWm4ngu.js → agent-core-L75od1ez.js} +2 -2
- package/dist/client/assets/agent-core-L75od1ez.js.br +0 -0
- package/dist/client/assets/{agent-mark-DGpwrQSZ.js → agent-mark-CJUKcwl7.js} +1 -1
- package/dist/client/assets/agent-mark-CJUKcwl7.js.br +0 -0
- package/dist/client/assets/{arena-panel-DJ-xFdBV.js → arena-panel-CNMRlMEk.js} +2 -2
- package/dist/client/assets/arena-panel-CNMRlMEk.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-Sw8q-XET.js → benchmark-panel-CgFbw_Qa.js} +1 -1
- package/dist/client/assets/benchmark-panel-CgFbw_Qa.js.br +0 -0
- package/dist/client/assets/{boards-view-Dd69b-rU.js → boards-view-DE-WYI4-.js} +1 -1
- package/dist/client/assets/boards-view-DE-WYI4-.js.br +0 -0
- package/dist/client/assets/{community-panel-BcD6Oodq.js → community-panel-Dc9xFkjW.js} +1 -1
- package/dist/client/assets/community-panel-Dc9xFkjW.js.br +0 -0
- package/dist/client/assets/{dialogs-Brcqioh4.js → dialogs-eMxXgtr_.js} +1 -1
- package/dist/client/assets/dialogs-eMxXgtr_.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-D7cAn84H.js → doc-editor-ui-DAkMTVBT.js} +1 -1
- package/dist/client/assets/doc-editor-ui-DAkMTVBT.js.br +0 -0
- package/dist/client/assets/{feature-hint-Bo35dRox.js → feature-hint-xNMve-m3.js} +1 -1
- package/dist/client/assets/feature-hint-xNMve-m3.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-C6kFUQeL.js → first-run-checklist-BijsvaL8.js} +1 -1
- package/dist/client/assets/first-run-checklist-BijsvaL8.js.br +0 -0
- package/dist/client/assets/{hooks-panel-Cf1HexzE.js → hooks-panel-YlHEzVrp.js} +1 -1
- package/dist/client/assets/hooks-panel-YlHEzVrp.js.br +0 -0
- package/dist/client/assets/{index-DlCUuwPh.js → index-CBUsh4Tg.js} +6 -6
- package/dist/client/assets/index-CBUsh4Tg.js.br +0 -0
- package/dist/client/assets/{issues-panel-CiXfkYJW.js → issues-panel-Cyj4D4im.js} +1 -1
- package/dist/client/assets/issues-panel-Cyj4D4im.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-BRTtWq8n.js → lane-read-token-step-CCtc0YQT.js} +1 -1
- package/dist/client/assets/lane-read-token-step-CCtc0YQT.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-FnIq_SIk.js → my-prs-panel-BwOboS-S.js} +1 -1
- package/dist/client/assets/my-prs-panel-BwOboS-S.js.br +0 -0
- package/dist/client/assets/{nyan-cat-C3SObPVw.js → nyan-cat-YPe5KZ_k.js} +1 -1
- package/dist/client/assets/nyan-cat-YPe5KZ_k.js.br +0 -0
- package/dist/client/assets/{phone-shell-DdLBgGPc.js → phone-shell-Ab7Iz0ob.js} +1 -1
- package/dist/client/assets/phone-shell-Ab7Iz0ob.js.br +0 -0
- package/dist/client/assets/{plan-face-BL38RV2x.js → plan-face-BhiO6wOe.js} +1 -1
- package/dist/client/assets/plan-face-BhiO6wOe.js.br +0 -0
- package/dist/client/assets/{plan-render-6MRDwB1W.js → plan-render-oCtU4QdK.js} +1 -1
- package/dist/client/assets/plan-render-oCtU4QdK.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-DGopLEzT.js → pr-queue-columns-BSdWaNqN.js} +1 -1
- package/dist/client/assets/pr-queue-columns-BSdWaNqN.js.br +0 -0
- package/dist/client/assets/{radar-panel-KbQ2yNLv.js → radar-panel-DWfoddQ5.js} +1 -1
- package/dist/client/assets/radar-panel-DWfoddQ5.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-CAhudpuq.js → repo-roots-adder-ckaPHhW7.js} +1 -1
- package/dist/client/assets/repo-roots-adder-ckaPHhW7.js.br +0 -0
- package/dist/client/assets/{resume-dialog-B82SxR8_.js → resume-dialog-BN_qF1AX.js} +1 -1
- package/dist/client/assets/resume-dialog-BN_qF1AX.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-CPNTk8kU.js → review-queue-panel-cVdZULn6.js} +1 -1
- package/dist/client/assets/review-queue-panel-cVdZULn6.js.br +0 -0
- package/dist/client/assets/{session-row-BfO6YIIx.js → session-row-DVV0p4Yo.js} +1 -1
- package/dist/client/assets/session-row-DVV0p4Yo.js.br +0 -0
- package/dist/client/assets/{settings-panel-A1LQsTSb.js → settings-panel-CLBhpb8S.js} +2 -2
- package/dist/client/assets/settings-panel-CLBhpb8S.js.br +0 -0
- package/dist/client/assets/{trace-panel-DTVN6h8Y.js → trace-panel-Ctuy2z-n.js} +1 -1
- package/dist/client/assets/trace-panel-Ctuy2z-n.js.br +0 -0
- package/dist/client/assets/{usage-panel-ByEiHUXD.js → usage-panel-Ck7v9FAn.js} +1 -1
- package/dist/client/assets/usage-panel-Ck7v9FAn.js.br +0 -0
- package/dist/client/assets/{your-day-tip-DQjOKfoy.js → your-day-tip-BYfEReSv.js} +1 -1
- package/dist/client/assets/your-day-tip-BYfEReSv.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/hook-tool-relay.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-api-cli-DZd9VPgs.js +0 -1
- package/dist/chunks/kimi-1Z3WgHk3.js +0 -1
- package/dist/chunks/settings-cli-CYAadJNV.js +0 -1
- package/dist/client/assets/agent-core-BpWm4ngu.js.br +0 -0
- package/dist/client/assets/agent-mark-DGpwrQSZ.js.br +0 -0
- package/dist/client/assets/arena-panel-DJ-xFdBV.js.br +0 -0
- package/dist/client/assets/benchmark-panel-Sw8q-XET.js.br +0 -0
- package/dist/client/assets/boards-view-Dd69b-rU.js.br +0 -0
- package/dist/client/assets/community-panel-BcD6Oodq.js.br +0 -0
- package/dist/client/assets/dialogs-Brcqioh4.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-D7cAn84H.js.br +0 -0
- package/dist/client/assets/feature-hint-Bo35dRox.js.br +0 -0
- package/dist/client/assets/first-run-checklist-C6kFUQeL.js.br +0 -0
- package/dist/client/assets/hooks-panel-Cf1HexzE.js.br +0 -0
- package/dist/client/assets/index-DlCUuwPh.js.br +0 -0
- package/dist/client/assets/issues-panel-CiXfkYJW.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-BRTtWq8n.js.br +0 -0
- package/dist/client/assets/my-prs-panel-FnIq_SIk.js.br +0 -0
- package/dist/client/assets/nyan-cat-C3SObPVw.js.br +0 -0
- package/dist/client/assets/phone-shell-DdLBgGPc.js.br +0 -0
- package/dist/client/assets/plan-face-BL38RV2x.js.br +0 -0
- package/dist/client/assets/plan-render-6MRDwB1W.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-DGopLEzT.js.br +0 -0
- package/dist/client/assets/radar-panel-KbQ2yNLv.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-CAhudpuq.js.br +0 -0
- package/dist/client/assets/resume-dialog-B82SxR8_.js.br +0 -0
- package/dist/client/assets/review-queue-panel-CPNTk8kU.js.br +0 -0
- package/dist/client/assets/session-row-BfO6YIIx.js.br +0 -0
- package/dist/client/assets/settings-panel-A1LQsTSb.js.br +0 -0
- package/dist/client/assets/trace-panel-DTVN6h8Y.js.br +0 -0
- package/dist/client/assets/usage-panel-ByEiHUXD.js.br +0 -0
- package/dist/client/assets/your-day-tip-DQjOKfoy.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as AGENT_API_VERBS } from "../chunks/session-BIYBGx3C.js";
|
|
3
3
|
import { a as execSync } from "../chunks/child-process-safe-pP6Vf2i9.js";
|
|
4
|
-
import { at as parseCommand, it as isOwnedCommandName, r as agentCommandHelpLines, rt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-
|
|
4
|
+
import { at as parseCommand, it as isOwnedCommandName, r as agentCommandHelpLines, rt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-CHoEoSF4.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-BE08x5OZ.js";
|
|
@@ -74,38 +74,38 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
74
74
|
});
|
|
75
75
|
},
|
|
76
76
|
agent: async () => {
|
|
77
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
77
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-DcR8Gcp4.js");
|
|
78
78
|
return runAgentSetupCli();
|
|
79
79
|
},
|
|
80
80
|
settings: async (parsed) => {
|
|
81
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
81
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-B47zWe9s.js");
|
|
82
82
|
return runParsedSettingsCli(parsed);
|
|
83
83
|
},
|
|
84
84
|
host: async (parsed) => {
|
|
85
|
-
const { runHostCli } = await import("../chunks/host-cli-
|
|
85
|
+
const { runHostCli } = await import("../chunks/host-cli-BYE6Tp0E.js");
|
|
86
86
|
return runHostCli(parsed);
|
|
87
87
|
},
|
|
88
88
|
"pr-flows": async (parsed) => {
|
|
89
|
-
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-
|
|
89
|
+
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-CPkJn6_Y.js");
|
|
90
90
|
return runPrFlowsCheckCli(parsed);
|
|
91
91
|
},
|
|
92
92
|
packs: async (parsed) => {
|
|
93
|
-
const { runPacksCli } = await import("../chunks/packs-cli-
|
|
93
|
+
const { runPacksCli } = await import("../chunks/packs-cli-DTQi4lEx.js");
|
|
94
94
|
return runPacksCli(parsed);
|
|
95
95
|
},
|
|
96
96
|
"pr-action": async (parsed) => {
|
|
97
|
-
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-
|
|
97
|
+
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-CPkJn6_Y.js");
|
|
98
98
|
return runPrActionReportCli(parsed);
|
|
99
99
|
},
|
|
100
100
|
watch: async ({ values }) => {
|
|
101
|
-
const { runWatchCli } = await import("../chunks/watch-cli-
|
|
101
|
+
const { runWatchCli } = await import("../chunks/watch-cli-C3v8gP9h.js");
|
|
102
102
|
return runWatchCli({
|
|
103
103
|
inboxUrl: typeof values.inbox === "string" ? values.inbox : null,
|
|
104
104
|
isPingOnly: values.ping === true
|
|
105
105
|
});
|
|
106
106
|
},
|
|
107
107
|
"ssh-sign": async ({ rawArgs }) => {
|
|
108
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
108
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-D2zn_WTM.js");
|
|
109
109
|
return runSshSignCli(rawArgs);
|
|
110
110
|
}
|
|
111
111
|
};
|
|
@@ -127,7 +127,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
127
127
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
128
128
|
}
|
|
129
129
|
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) => {
|
|
130
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
130
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-BhkFT3bA.js");
|
|
131
131
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
132
132
|
}])]);
|
|
133
133
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -141,7 +141,7 @@ function missingAgentText(agentId) {
|
|
|
141
141
|
}
|
|
142
142
|
async function printSessionLimits() {
|
|
143
143
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
144
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
144
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-BhkFT3bA.js");
|
|
145
145
|
const limitsLines = await sessionLimitsHelpLines();
|
|
146
146
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
147
147
|
}
|
|
@@ -274,7 +274,7 @@ async function runDoctor() {
|
|
|
274
274
|
}
|
|
275
275
|
switchSection("Agents");
|
|
276
276
|
try {
|
|
277
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
277
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-BGrVEeNi.js");
|
|
278
278
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
279
279
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
280
280
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -282,10 +282,10 @@ async function runDoctor() {
|
|
|
282
282
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
283
283
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
284
284
|
}
|
|
285
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
285
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-DcR8Gcp4.js");
|
|
286
286
|
const grokSetup = inspectGrokAgentSetup();
|
|
287
287
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
288
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
288
|
+
const { default: kimi } = await import("../chunks/kimi-FeiFA7Tc.js");
|
|
289
289
|
const { describeAgentHome } = await import("../chunks/agent-home-nX9NZK2_.js");
|
|
290
290
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-B3IRzwkX.js");
|
|
291
291
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
@@ -296,7 +296,7 @@ async function runDoctor() {
|
|
|
296
296
|
try {
|
|
297
297
|
const { resolvePackageBin } = await import("../chunks/runtime-paths-BI7m38Nj.js");
|
|
298
298
|
const { execFileSync } = await import("../chunks/child-process-safe-BrQd4i6y.js");
|
|
299
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
299
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-DcR8Gcp4.js");
|
|
300
300
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
301
301
|
line("Sane YOLO", binPath || "not installed");
|
|
302
302
|
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-Be6_pUqR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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-BexKu1LE.js";
|
|
2
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-CSiWgEWK.js";
|
|
3
|
+
import { n as buildAgentEnv } from "./spawn-env-BRLJPlN1.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 { O as nextBackoffMs, c as loadedJsonValue, d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-B4WAD15T.js";
|
|
@@ -9,13 +9,13 @@ import { C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Cn as FULL_SHA_RE, D as REQUE
|
|
|
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";
|
|
11
11
|
import { n as shellQuote, t as buildHookCommand } from "./hook-command-core-Bu5xBKp3.js";
|
|
12
|
-
import { n as isHookToolId, r as mergeCodexPreToolUse, t as HOOK_TOOLS } from "./hook-tools-
|
|
12
|
+
import { n as isHookToolId, r as mergeCodexPreToolUse, t as HOOK_TOOLS } from "./hook-tools-B_T7l5gH.js";
|
|
13
13
|
import { Kt as HTTP_URL_RE, _n as PLAN_HOOK_EVENT, bn as PLAN_TOOL_NAME, mn as UpdateChannel, sn as InstallFlavor, yn as PLAN_RESULT_HOOK_EVENT } from "./control-messages-DH7qMLss.js";
|
|
14
14
|
import { o as QUESTION_TOOL_HOLD_HOOK_EVENT } from "./question-manager-C_RzS1Ot.js";
|
|
15
15
|
import { i as safePathSegment, r as isPathInside } from "./paths-C2u2R_6l.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-DmcBI03O.js";
|
|
18
|
-
import { a as QWEN_SANE_YOLO_FLAVOR, n as COPILOT_SANE_YOLO_FLAVOR, r as GEMINI_SANE_YOLO_FLAVOR, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-
|
|
18
|
+
import { a as QWEN_SANE_YOLO_FLAVOR, n as COPILOT_SANE_YOLO_FLAVOR, r as GEMINI_SANE_YOLO_FLAVOR, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-DqvfS8ed.js";
|
|
19
19
|
import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, s as readOptionalText } from "./agent-home-CMO0JfeR.js";
|
|
20
20
|
import { c as SHELL_AGENT_ID } from "./config-BgxjbvVh.js";
|
|
21
21
|
import fs from "node:fs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-ChgZJ5wE.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveHookTarget } from "./hook-relay-core-ne0rkTgG.js";
|
|
2
|
-
import { X as formatSessionLimits, at as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
2
|
+
import { X as formatSessionLimits, at as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-CHoEoSF4.js";
|
|
3
3
|
import { r as AGENT_URL_ENV, u as AgentLimitsReply } from "./session-BIYBGx3C.js";
|
|
4
4
|
import { S as STEP_STATUSES, T as WhiteboardAgentReply, x as Op } from "./whiteboard-4D2QlRnn.js";
|
|
5
5
|
import { P as boardSvgDocument, p as layoutBoard } from "./whiteboard-layout-core-Ds1WuyDi.js";
|
|
@@ -438,7 +438,7 @@ function renderOverviewLine(usage, summary) {
|
|
|
438
438
|
}
|
|
439
439
|
// session/core/session-routes.ts
|
|
440
440
|
var SUPERVISION_LINE = "Glimmervoid supervises this session. Run glimmervoid --help for the commands it gives you and this session's limits.";
|
|
441
|
-
var SPAWN_LINE = "
|
|
441
|
+
var SPAWN_LINE = "glimmervoid spawn starts a supervised session with its own dashboard card the operator can watch, an option beside an in-process subagent.";
|
|
442
442
|
var HELP_COMMAND = "glimmervoid --help";
|
|
443
443
|
var SHELL_TOOL_RULE = "Bash";
|
|
444
444
|
var SHELL_PREFIX_RULE = /^Bash\((.+):\*\)$/;
|
|
@@ -622,7 +622,7 @@ var COMMAND_HINTS = Object.freeze({
|
|
|
622
622
|
},
|
|
623
623
|
spawn: {
|
|
624
624
|
firesOn: startsSubagent,
|
|
625
|
-
text: "Glimmervoid:
|
|
625
|
+
text: "Glimmervoid: glimmervoid spawn <prompt> is also available, giving the work its own supervised session and dashboard card."
|
|
626
626
|
},
|
|
627
627
|
push: {
|
|
628
628
|
firesOn: failsGitPush,
|
|
@@ -1767,7 +1767,7 @@ var WHITEBOARD_SUBCOMMANDS = [
|
|
|
1767
1767
|
];
|
|
1768
1768
|
var AGENT_COMMAND_HELP = Object.freeze({
|
|
1769
1769
|
spawn: {
|
|
1770
|
-
whenToUse: "
|
|
1770
|
+
whenToUse: "An option beside an in-process subagent when the work should run in its own supervised session and worktree",
|
|
1771
1771
|
usage: "spawn <prompt>",
|
|
1772
1772
|
positionals: requiredText("<prompt>"),
|
|
1773
1773
|
summary: "Start a session on that prompt, with its own dashboard card, that this session owns until its task is done",
|
|
@@ -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-CSiWgEWK.js";
|
|
2
2
|
import { o as isMissingFileError, r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
3
3
|
import { p as writeTextAtomicSync } from "./json-file-B4WAD15T.js";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -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-BRLJPlN1.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,5 +1,5 @@
|
|
|
1
1
|
import { t as buildHookCommand } from "./hook-command-core-Bu5xBKp3.js";
|
|
2
|
-
import { o as SANE_YOLO_PATH_ENV, s as saneYoloEnv } from "./sane-yolo-
|
|
2
|
+
import { o as SANE_YOLO_PATH_ENV, s as saneYoloEnv } from "./sane-yolo-DqvfS8ed.js";
|
|
3
3
|
// session/core/hook-tools.ts
|
|
4
4
|
function toForwardSlashes(commandPath) {
|
|
5
5
|
return commandPath.replace(/\\/g, "/");
|
|
@@ -2,7 +2,7 @@ import { i as HostEntries } from "./control-messages-DH7qMLss.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-1i6Jrme8.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-P6tAQf0d.js";
|
|
6
6
|
// server/hosts/host-cli.ts
|
|
7
7
|
var DEFAULT_DASHBOARD_PORT = 3e3;
|
|
8
8
|
function registeredHosts() {
|
|
@@ -3,8 +3,8 @@ import { l as relayPath } from "./runtime-paths-5UK7AN_h.js";
|
|
|
3
3
|
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-BIYBGx3C.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
|
-
import { i as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-
|
|
7
|
-
import { n as buildAgentEnv } from "./spawn-env-
|
|
6
|
+
import { i as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-DqvfS8ed.js";
|
|
7
|
+
import { n as buildAgentEnv } from "./spawn-env-BRLJPlN1.js";
|
|
8
8
|
import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, o as prepareScratchAgentHome } from "./agent-home-CMO0JfeR.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 @@
|
|
|
1
|
+
export { t as default } from "./kimi-BexKu1LE.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
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, 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, 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-
|
|
1
|
+
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, 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, 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-Be6_pUqR.js";
|
|
2
2
|
import { $ as buildExceptionProperties, B as isExperimentalSetting, D as SETTINGS_INDEX, E as validateSettingsBlock, G as parseDataAttach, J as TELEMETRY_BATCH_URL, K as parseDataClientMessage, L as valueAtPath, Q as buildBrowserExceptionProperties, T as settingsBlockSpecFor, U as LOGGED_FAST_CLOSE_COUNTS, V as DEEP_HISTORY_SCROLLBACK_LINES, W as describeDataAttach, X as adapterBucket, Y as TELEMETRY_FLAGS_URL, Z as buildAiGenerationEvents, _ as sessionIdFromBranch, _t as stableConfigKey, a as generateProjectId, at as decideRemoteTelemetryState, bt as comparableDirectoryPath, ct as nodeMajorVersion, d as DEFAULT_CONFIG, dt as DashboardTelemetryReport, et as buildPersonProperties, f as DEFAULT_BRANCH_GC_PREFIXES, ft as PendingCrashReport, g as planWorktreeGc, h as planBranchGc, i as ensureProjectIds, it as decideIsDevInstall, lt as parsePosthogReleaseId, m as matchedPrefix, mt as TelemetryState, n as createConfigStore, nt as claudeAccountUuidOf, o as glimmervoidHomeDir, ot as decideTelemetryConsent, p as isGcCandidateWorktree, pt as TELEMETRY_EVENT_SCHEMAS, q as FIRST_RUN_NOTICE, r as ABORT_CONFIG_SAVE, rt as codexUserIdOf, st as exceptionFingerprint, tt as classifySessionExit, ut as resolveProjectToken, v as usablePrefixes, w as mergeSettingsBlock, xt as isSameDirectoryPath, y as worktreeIntegrationTips, yt as canonicalizePath } from "./config-store-DMIXx8yY.js";
|
|
3
3
|
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-B4WAD15T.js";
|
|
4
4
|
import { a as sanitizeWorktreeName, i as safePathSegment, n as equalsIgnoringCaseOnWindows, r as isPathInside, t as caseFoldedPathKey } from "./paths-C2u2R_6l.js";
|
|
5
5
|
import { o as isMissingFileError, r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
6
6
|
import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-yeY8p-gc.js";
|
|
7
|
-
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-
|
|
7
|
+
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-BexKu1LE.js";
|
|
8
8
|
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";
|
|
9
9
|
import { $t as ChangeMap, A as BenchmarkSuite, Cn as parseExitPlanModeHookPayload, D as BenchmarkJudgement, E as BenchmarkId, F as CommunityActionRequest, Ht as IssuesState, J as comparablePrKey, Jt as SessionSetup, O as BenchmarkRun, P as PrCheckoutCaseInput, Qt as CoherenceJournalOutput, Rt as IssueKey, S as DEFAULT_MODELS, Sn as PlanRevision, T as BenchmarkCase, Xt as TraceCheckpoint, Yt as MAX_RAW_LINE_CHARS, Zt as TraceRecord, _ as RaceSpec, _n as PLAN_HOOK_EVENT, b as CATALOG_AGENT_IDS, bn as PLAN_TOOL_NAME, c as HINT_FEATURES, d as ContestantMetrics, en as changeMapFactId, et as WorkflowsState, fn as pullRequestKeyFromReference, g as RaceRecord, gn as PLAN_BODY_CAP_BYTES, h as RaceJudgeAgent, hn as UpdateJournal, in as CONTROL_FRAME_MAX_BYTES, jt as USAGE_INTEGER_RANGES, k as BenchmarkStatus, l as HINT_VIEW_BY_FEATURE, n as PackApproveRequest, o as HubPhoneAlertFrame, p as RACE_CRITERIA, q as GithubPrsFrame, qt as HookEnvelope, r as HUB_PHONE_ALERT_TEXT_MAX, rn as CLIENT_LOG_TEXT_MAX_CHARS, s as FeatureHintState, t as ClientMessage, tn as CHANGES_POLL_INTERVAL_MS, vn as PLAN_HOOK_OUTPUT_MAX_CHARS, w as BenchmarkActionRequest, wn as planTitle, x as CatalogAgentId, xn as PlanDecision, yn as PLAN_RESULT_HOOK_EVENT, z as CommunityState } from "./control-messages-DH7qMLss.js";
|
|
10
10
|
import { $t as PrActionRunRequest, A as SESSION_DOC_BODY_CAP_BYTES, C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, D as REQUEST_USER_INPUT_TOOL_NAME, En as GH_SEGMENT, F as SIGN_URL_ENV, Fn as KILLABLE_STATES, G as LinkedPr, Gt as hasStandingViewerApproval, I as SSH_SIGN_BODY_CAP_BYTES, In as MERGEABLE_LIVE_STATES, Jt as PR_ACTION_REPORT_URL_ENV, Kt as PR_ACTION_REPORT_BODY_CAP_BYTES, Ln as RESTARTABLE_STATES, Lt as TeamReviewStateEntry, M as SESSION_NAME_PATTERN, N as SESSION_NAME_RULE_TEXT, Nt as TeamReviewActionRequest, Ot as ReviewDraft, P as SHOWN_FILE_CAP_BYTES, Pn as BADGE_LABELS, Qt as PrActionReportBody, Rn as STATES, Rt as TeamReviewStatus, S as CONVERSATION_PERMISSION_HOOK_EVENT, T as ConversationQuestion, Tn as shortSha$1, U as TaskTitle, V as SshSignRequest, X as MyPrKeepMergeableRequest, Yt as PR_ACTION_TOKEN_ENV, _ as AgentSettingsRequest, an as PrFlowItemRequest, b as COHERENCE_HOOKS_INACTIVE, bn as prActionReportPath, c as AgentCloseRequest, d as AgentPacksRequest, en as PrFlowApproveRequest, et as MyPrMergeRequest, f as AgentPullRequestRequest, ht as CommitSha$1, i as ASK_USER_QUESTION_TOOL_NAME, kn as repoParts, l as AgentEditRequest, ln as PrFlowRule, lt as MyPrsSnapshot, mn as PrFlowsState, nn as PrFlowDisposeRequest, o as AgentAttentionRequest, pn as PrFlowsSettings, qt as PR_ACTION_REPORT_ROUTE, r as AGENT_URL_ENV, rt as MyPrMergeWhenReadyRequest, un as PrFlowSaveRuleRequest, v as AgentSpawnRequest, wn as HEX_SHA_RE, x as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, y as AgentWhyRequest } from "./session-BIYBGx3C.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";
|
|
12
12
|
import { A as mediaOfBox, C as WHITEBOARD_ASSET_ROUTE, D as Wire, O as fieldNamesOfShape, P as ICON_NAMES, R as DEVICE_NAMES, b as Note, d as BoardRegion, j as sparseBoardReply, k as linesOfBox, m as Box, n as BOARD_MEDIA_MAX_EDGE_PX, o as BOX_SHAPES, r as BOARD_PAGE_ESCAPE_MESSAGE, t as BOARD_DOC_CAP_BYTES, u as BoardRecord, v as Frame, w as WHITEBOARD_LIMITS, x as Op } from "./whiteboard-4D2QlRnn.js";
|
|
13
13
|
import { n as promptContextReplyOf, o as toolHookContextReplyOf, r as refocusReplyFor, t as REFOCUS_NOTE } from "./refocus-core-DlEDNY3E.js";
|
|
14
|
-
import { $ as promptHintFor, A as isSelfWakePrompt, B as pickAutoResume, C as cleanTaskPrompt, D as extractNotifiedTaskIds, E as extractHookTaskTitle, F as resolveTaskTitle, G as listRepoConversations, H as resumePromptFor, I as seedTaskTitleSources, J as nextSuggestedName, K as listRepoWorktreePaths, L as AUTO_CONTINUE_PROMPT, M as parseRefinedSessionName, N as parseRefinedTaskTitle, O as extractOscTaskTitle, P as resolveRefocusTaskTitle, Q as permitsHelpCommand, R as RESUME_ID_RE, S as chooseRefinedSessionName, T as extractAiTitle, U as shouldAdoptReportedResumeId, V as resolveResumeTarget, W as claudeProjectsDir, Y as describeSessionLimits, Z as hintFor, _ as projectReviewDetail, a as checkAgentReply, b as buildPersistedTaskTitle, c as deriveChildSessionName, d as describePushLanding, et as routeAgentNotes, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as isSubstantivePrompt, k as extractPromptTaskTitle, l as describeChildEndNote, n as REFUSAL_REASON, nt as toolHookFactsOf, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as isAutoNameOf, s as decideSpawnAllowance, tt as supervisionLine, u as describeKeptChildAttention, v as projectReviews, w as decideTaskTitleRefinement, x as buildTaskTitleRefinementPrompt, y as tokensMatch, z as isConversationReplacedAtStartup } from "./agent-api-core-
|
|
14
|
+
import { $ as promptHintFor, A as isSelfWakePrompt, B as pickAutoResume, C as cleanTaskPrompt, D as extractNotifiedTaskIds, E as extractHookTaskTitle, F as resolveTaskTitle, G as listRepoConversations, H as resumePromptFor, I as seedTaskTitleSources, J as nextSuggestedName, K as listRepoWorktreePaths, L as AUTO_CONTINUE_PROMPT, M as parseRefinedSessionName, N as parseRefinedTaskTitle, O as extractOscTaskTitle, P as resolveRefocusTaskTitle, Q as permitsHelpCommand, R as RESUME_ID_RE, S as chooseRefinedSessionName, T as extractAiTitle, U as shouldAdoptReportedResumeId, V as resolveResumeTarget, W as claudeProjectsDir, Y as describeSessionLimits, Z as hintFor, _ as projectReviewDetail, a as checkAgentReply, b as buildPersistedTaskTitle, c as deriveChildSessionName, d as describePushLanding, et as routeAgentNotes, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as isSubstantivePrompt, k as extractPromptTaskTitle, l as describeChildEndNote, n as REFUSAL_REASON, nt as toolHookFactsOf, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as isAutoNameOf, s as decideSpawnAllowance, tt as supervisionLine, u as describeKeptChildAttention, v as projectReviews, w as decideTaskTitleRefinement, x as buildTaskTitleRefinementPrompt, y as tokensMatch, z as isConversationReplacedAtStartup } from "./agent-api-core-CHoEoSF4.js";
|
|
15
15
|
import { a as mcpLaunchFor, o as parsePresentedCredential } from "./agent-config-BJVJpVzX.js";
|
|
16
16
|
import { a as fitsOnePage, c as pictureRefusalOf, i as elementPageOf, o as tileIdOf, s as tileKeysFor, t as LayoutReply } from "./layout-worker-core-C0VDlYwh.js";
|
|
17
17
|
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-BgxjbvVh.js";
|
|
18
|
-
import { _ as decideHostAllowed, c as approvedPackPanels, d as packRow, f as pendingPackNote, g as readCappedBody, h as parseJsonBody$1, l as approvedPackThemes, m as decodeHeaderText, n as readPacksForAgent, p as declaredContentLength, u as packFileHeaders } from "./pack-agent-
|
|
18
|
+
import { _ as decideHostAllowed, c as approvedPackPanels, d as packRow, f as pendingPackNote, g as readCappedBody, h as parseJsonBody$1, l as approvedPackThemes, m as decodeHeaderText, n as readPacksForAgent, p as declaredContentLength, u as packFileHeaders } from "./pack-agent-Bmbz_Ltj.js";
|
|
19
19
|
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";
|
|
20
20
|
import { a as createPairingsStore, c as defaultSeenPath, d as deviceNameFromUserAgent, f as hashSecret, i as configSiblingPath, l as DEFAULT_DEVICE_MAX_AGE_MS, n as normalizeRemoteConfig, o as createSeenStore, r as validateRemoteConfig, s as defaultPairingsPath, t as decideBindHost, u as decideDeviceAuth } from "./remote-config-DWjst0iT.js";
|
|
21
21
|
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";
|
|
22
22
|
import { n as shellQuote } from "./hook-command-core-Bu5xBKp3.js";
|
|
23
23
|
import { c as realAgentHome, f as createHeldSessionTempFolder, h as trashSessionTempFolderOnceUnheld, m as sessionIdOfLockFile, p as releaseSessionLock, u as releaseEveryUnheldAgentHomeSecrets } from "./agent-home-CMO0JfeR.js";
|
|
24
|
-
import { $ as TRAFFIC_KEY, $a as withAllowRules, $i as projectParentDirs, $n as HUNK_HEADER, $r as resumeTimeoutMs, $t as runGit, A as discordItemsFromRows, Aa as parseThreadJudgeResult, Ai as claimExpiredPendingFixes, An as mergeAttemptKey, Ar as isSameGithubReviews, At as workflowSpawnQueueKey, B as pendingEntries, Ba as CLOSED_LANE_ACCESS_CONFIG, Bi as investigationTrigger, Bn as readMyPrsFeatureSettings, Br as prBaseRef, Bt as issuesListingErrors, C as admitPendingItems, Ca as THREAD_JUDGE_BACKOFF_MS, Ci as RADAR_UNTRUSTED_ITEM_MAX_CHARS, Cn as keepMergeableFixesToCancel, Co as isWatcherJobKind, Cr as errorDraft, Ct as withOwnPostedComment, D as communityGate, Da as buildThreadJudgeRequest, Di as belowMinimumInvestigationChange, Dn as keepMergeablePushArgs, Dr as hasViewerReviewedAt, Dt as workflowSessionLimit, E as buildJudgeRequest, Ea as answeredViewerThreads, Ei as approvedFixSessionPrompt, En as keepMergeablePrompt, Er as githubReviewsFrom, F as forumItemsFromRows, Fa as UNTRUSTED_PAYLOAD_FILENAME, Fi as decideFixHandoff, Fn as myPrsStatus, Ft as ISSUES_STATE_FILENAME, G as requeueInterruptedRuns, Ga as findPosthogServer, Gi as nextState, Gn as toMyPrsWireStatus, Gr as priorReviewFor, Gt as mergeIssues, H as readCommunitySettings, Ha as buildLanePermissions, Hi as issueKey, Hn as shouldRebaseMyPr, Hr as prKey, Ht as issuesRepoPaths, Ia as UNTRUSTED_PREAMBLE, Ii as decideIssueAction, In as prunedFailedAutoRebaseAttempts, Ir as parseFindingLine, It as emptyIssuesState, J as shownEntries, Ja as laneAccessConfigOf, Ji as normalizePrTitle, Jn as withStageSince, Jr as readyDraft, Jt as withListedPullRequests, K as selectRuns, Ka as kimiLaneMcpPosture, Ki as normalizeJobMode, Kn as truncatedSearchNote, Kr as reReviewResult, Kt as pruneIssueSessionLinks, L as markRunning, La as UNTRUSTED_REF_MAX_CHARS, Li as decideJobMode, Ln as prunedKeepMergeableState, Lr as parsePostingPlan, Lt as issuesCachedSourcesGate, M as draftNotificationText, Ma as shouldJudgeThread, Mi as classifyIssueChange, Mn as mergeQueuePrsToMerge, Mr as markDraftStale, Mt as workflowsShouldStart, N as emptyCommunityState, Na as threadJudgePatch, Nr as nextDraftStatus, O as communitySessionPrompt, Oa as hasPresentableThreads, Oi as buildInvestigationRecord, On as keepMergeablePushTarget, Or as invalidComments, Ot as workflowSessionName, P as entryFromRun, Pa as viewerThreadTally, Pi as dailyVolumeSeries, Pn as myPrsShouldStart, Pr as notMineDraft, Pt as ISSUES_LANE_ID, Qa as readOnlyGitAllowRules, Qi as planInvestigations, Qn as DEFAULT_REVIEWER, Qr as resumeDecision, Qt as runGh, R as parseCommunityState, Ra as UntrustedPayload, Ri as decideVanishedEntry, Rn as prunedMergeQueueKeys, Rr as parseReviewReport, Rt as issuesLinkedPrKeys, S as RUN_TIMEOUT_SECONDS, Sa as selectionArgs, Si as RADAR_RESULT_FILENAME, Sn as keepMergeableClaudeArgs, So as WatcherJobEnvelope, Sr as earlierReviewToKeep, St as watchedWorkflowRepos, T as buildCommunityRequest, Ta as THREAD_PLACEHOLDER_ERROR, Ti as appendInvestigation, Tn as keepMergeablePermissions, Tr as githubRepoSlugFromRemote, U as readPosthogConnection, Ua as codexLaneMcpPosture, Ui as issueUrl, Un as sortedMyPrs, Ur as prSessionName, Ut as issuesSettingsGate, V as prunedState, Va as LANE_CONFIG_EDIT_DENY_RULES, Vi as isAbsolutePathish, Vn as shouldFixMergeability, Vr as prHeadRef, Vt as issuesListingSourceKey, W as readTelegramTarget, Wa as codexMcpServers, Wi as markInvestigationArchived, Wn as stampStageSince, Wr as prSessionPrompt, Wt as issuesStatus, X as POSTHOG_API_KEY_ENV, Xa as laneMcpConfig, Xi as pickDirectoryForProjectName, Xn as myPrMergeRefusal, Xr as remoteMatchesGithubRepo, Xt as gitCommandFailure, Y as withPendingItems, Ya as laneAccessEnvBlocker, Yi as pendingFixesDropped, Yn as myPrFromGithubPr, Yr as remergeGitEnvPrefix, Yt as createPrGh, Za as laneMcpPosture, Zi as pingFor, Zr as restoreDraftAtReviewedHead, Zt as runCommand, _ as JUDGE_RESULT_FILENAME$1, _a as cleanHomeArgs, _i as INVESTIGATIONS_KEY, _n as heldOrListedPr, _r as canPost, _t as hasFreeWorkflowSessionSlot, aa as sanitizeSessionName, ai as sectionAfter, an as MY_PRS_FIX_CHECKOUT_DIRNAME, ar as REVIEW_PROMPT_FILENAME, at as extractRows, b as MAX_BODY_CHARS, ba as parseCodexModels, bi as RADAR_EXCEPTION_EVENTS_QUERY, bn as isMovedBranchPushRejection, bo as WATCHER_JOB_PAYLOADS, br as draftAfter, bt as nextListedRepos, c as COMMUNITY_POSTING_FILENAME, ca as summaryLineFromReportText, ci as shouldAutoReview, cn as MY_PRS_HELD_WATCH_OWNER, cr as REVIEW_TIMEOUT_SECONDS, ct as WORKFLOWS_LANE_ID, d as COMMUNITY_STATE_FILENAME, da as underlyingInvestigationChange, di as teamReviewStatus, dn as MyPrsLaneState, do as restartDelayMs, dr as TEAM_REVIEW_STATE_FILENAME, dt as WORKFLOW_NOTIFY_CATEGORY, ea as pruneInvestigations, ei as reviewAttemptsAfter, en as createGithubStorePoller, eo as withLaneAccessRules, er as PROGRESS_EMIT_INTERVAL_MS, et as computeBaseline, f as COMMUNITY_UNTRUSTED_SOURCE, fa as validateInvestigationId, fi as triagePr, fn as autoRebaseAttemptKey, fo as watcherChildInboxUrl, fr as absolutePathReadRule, ft as WORKFLOW_PROMPT_FILENAME, g as JUDGE_PROMPT_FILENAME, ga as choiceSelection, gi as FIX_VERDICTS, gn as emptyMyPrsLaneState, go as WATCHER_HOME_ENV, gr as buildReviewPrompt, gt as enabledWorkflowRules, h as JUDGE_MODEL, ha as readGithubTeams, hi as withoutControlCharacters, hn as currentKeepMergeableAttempt, hr as askedForRefusal, ht as emptyWorkflowsState, i as watcherHomeDir, ia as resolvePosthogHost, ii as reviewerFor, in as MY_PRS_FIX_BOOTSTRAP_PROMPT, io as secondaryRateLimitWaitMs, ir as REVIEW_POSTING_FILENAME, it as createPosthogApi, ja as shouldAutoResolveThread, ji as claimPendingFix, jn as mergeQueuePositions, jr as isUnreviewedDraft, jt as workflowTeamName, k as discordDropSummary, ka as isThreadPlaceholderDraft, ki as buildIssueSessionPrompt, kn as keepMergeableTimeoutSeconds, kr as isPostableStatus, kt as workflowSpawnPrompt, l as COMMUNITY_PROMPT_FILENAME, la as toCount, li as shouldPruneEntry, ln as MY_PRS_LANE_ID, lo as nextCrashCount, lr as REVIEW_UNTRUSTED_ITEM_MAX_CHARS, lt as WORKFLOWS_STATE_FILENAME, m as JUDGE_MESSAGE_CHARS, ma as nulSeparatedPaths, mi as fencedUntrusted, mn as consecutiveKeepMergeableAttempts, mo as WATCHEE_SETTINGS_CHANGED_MESSAGE, mr as applyReviewProgress, mt as diffPrEvents, na as radarUntrustedItems, ni as reviewUntrustedItems, nn as isBotAuthor, no as createLaneRunner, nr as REVIEW_AGENT_ADAPTER_ID, o as COMMUNITY_BOOTSTRAP_PROMPT, oa as scrubForPaste, oi as selectCandidates, on as MY_PRS_FIX_PROMPT_FILENAME, or as REVIEW_REPORT_FILENAME, ot as normalizeIssues, p as JUDGE_BOOTSTRAP_PROMPT, pa as validateIssueRef, pi as uiFilesOf, pn as autoRebaseRecord, pr as advanceAwakeElapsed, pt as areWorkflowActionsEnabled, q as shouldNotifyDraft, qa as laneAccess, qi as normalizePrBody, qn as withAutoRebase, qr as readTeamReviewSettings, qt as resolveIssuesProjects, ra as resolveIssueProject, ri as reviewerAgentArgs, rn as MY_PRS_FIX_BASE_BRANCH, ro as createTickLoop, rr as REVIEW_BOOTSTRAP_PROMPT, rt as spikeSummaryLine, s as COMMUNITY_LANE_ID, sa as slotDeferredInvestigationChange, si as sessionLinkedToPr, sn as MY_PRS_FIX_WORK_BRANCH, sr as REVIEW_RESUME_PROMPT, st as parseSpikeIssueIds, ta as radarShouldStart, ti as reviewSnapshotFromGithubPr, tn as githubStoreRateLimitedError, to as GITHUB_RATE_LIMIT_WINDOW_MS, tr as REMERGE_OBJECTS_DIRNAME, tt as decideTrafficSpike, u as COMMUNITY_REPORT_FILENAME, ua as unarchivedInvestigations, ui as startReviewProgress, un as MY_PRS_STATE_FILENAME, ur as TEAM_REVIEW_LANE_ID, v as JUDGE_TIMEOUT_MS$1, va as launchArgs, vi as JOB_MODES, vn as isFailedAttemptRetryDue, vr as commentableLines, vt as matchRules$1, w as applyCommunityAction, wa as THREAD_JUDGE_ITEM_MAX_CHARS, wi as RADAR_UNTRUSTED_SOURCE, wn as keepMergeableHandoff, wr as eventForAction, wt as workflowNotification, x as NOTIFICATION_CATEGORY, xa as parseKimiModels, xi as RADAR_REPORT_FILENAME, xn as keepMergeableAttemptKey, xr as draftsNewestFirst, xt as resolveWorkflowsSettings, y as JUDGE_UNTRUSTED_SOURCE, ya as parseClaudeInitialize, yi as PENDING_FIX_TTL_MS, yn as isHeadPushedByKeepMergeable, yr as diffHeaderPath, yt as mergeWorkflowsUpdateOverStored, z as parseJudgeResult, za as ACCEPT_EDITS_MODE, zi as fixDetailLine, zn as pushFailureReason, zr as postedReviewBody, zt as issuesListingBatches } from "./watchee-settings-
|
|
24
|
+
import { $ as TRAFFIC_KEY, $a as withAllowRules, $i as projectParentDirs, $n as HUNK_HEADER, $r as resumeTimeoutMs, $t as runGit, A as discordItemsFromRows, Aa as parseThreadJudgeResult, Ai as claimExpiredPendingFixes, An as mergeAttemptKey, Ar as isSameGithubReviews, At as workflowSpawnQueueKey, B as pendingEntries, Ba as CLOSED_LANE_ACCESS_CONFIG, Bi as investigationTrigger, Bn as readMyPrsFeatureSettings, Br as prBaseRef, Bt as issuesListingErrors, C as admitPendingItems, Ca as THREAD_JUDGE_BACKOFF_MS, Ci as RADAR_UNTRUSTED_ITEM_MAX_CHARS, Cn as keepMergeableFixesToCancel, Co as isWatcherJobKind, Cr as errorDraft, Ct as withOwnPostedComment, D as communityGate, Da as buildThreadJudgeRequest, Di as belowMinimumInvestigationChange, Dn as keepMergeablePushArgs, Dr as hasViewerReviewedAt, Dt as workflowSessionLimit, E as buildJudgeRequest, Ea as answeredViewerThreads, Ei as approvedFixSessionPrompt, En as keepMergeablePrompt, Er as githubReviewsFrom, F as forumItemsFromRows, Fa as UNTRUSTED_PAYLOAD_FILENAME, Fi as decideFixHandoff, Fn as myPrsStatus, Ft as ISSUES_STATE_FILENAME, G as requeueInterruptedRuns, Ga as findPosthogServer, Gi as nextState, Gn as toMyPrsWireStatus, Gr as priorReviewFor, Gt as mergeIssues, H as readCommunitySettings, Ha as buildLanePermissions, Hi as issueKey, Hn as shouldRebaseMyPr, Hr as prKey, Ht as issuesRepoPaths, Ia as UNTRUSTED_PREAMBLE, Ii as decideIssueAction, In as prunedFailedAutoRebaseAttempts, Ir as parseFindingLine, It as emptyIssuesState, J as shownEntries, Ja as laneAccessConfigOf, Ji as normalizePrTitle, Jn as withStageSince, Jr as readyDraft, Jt as withListedPullRequests, K as selectRuns, Ka as kimiLaneMcpPosture, Ki as normalizeJobMode, Kn as truncatedSearchNote, Kr as reReviewResult, Kt as pruneIssueSessionLinks, L as markRunning, La as UNTRUSTED_REF_MAX_CHARS, Li as decideJobMode, Ln as prunedKeepMergeableState, Lr as parsePostingPlan, Lt as issuesCachedSourcesGate, M as draftNotificationText, Ma as shouldJudgeThread, Mi as classifyIssueChange, Mn as mergeQueuePrsToMerge, Mr as markDraftStale, Mt as workflowsShouldStart, N as emptyCommunityState, Na as threadJudgePatch, Nr as nextDraftStatus, O as communitySessionPrompt, Oa as hasPresentableThreads, Oi as buildInvestigationRecord, On as keepMergeablePushTarget, Or as invalidComments, Ot as workflowSessionName, P as entryFromRun, Pa as viewerThreadTally, Pi as dailyVolumeSeries, Pn as myPrsShouldStart, Pr as notMineDraft, Pt as ISSUES_LANE_ID, Qa as readOnlyGitAllowRules, Qi as planInvestigations, Qn as DEFAULT_REVIEWER, Qr as resumeDecision, Qt as runGh, R as parseCommunityState, Ra as UntrustedPayload, Ri as decideVanishedEntry, Rn as prunedMergeQueueKeys, Rr as parseReviewReport, Rt as issuesLinkedPrKeys, S as RUN_TIMEOUT_SECONDS, Sa as selectionArgs, Si as RADAR_RESULT_FILENAME, Sn as keepMergeableClaudeArgs, So as WatcherJobEnvelope, Sr as earlierReviewToKeep, St as watchedWorkflowRepos, T as buildCommunityRequest, Ta as THREAD_PLACEHOLDER_ERROR, Ti as appendInvestigation, Tn as keepMergeablePermissions, Tr as githubRepoSlugFromRemote, U as readPosthogConnection, Ua as codexLaneMcpPosture, Ui as issueUrl, Un as sortedMyPrs, Ur as prSessionName, Ut as issuesSettingsGate, V as prunedState, Va as LANE_CONFIG_EDIT_DENY_RULES, Vi as isAbsolutePathish, Vn as shouldFixMergeability, Vr as prHeadRef, Vt as issuesListingSourceKey, W as readTelegramTarget, Wa as codexMcpServers, Wi as markInvestigationArchived, Wn as stampStageSince, Wr as prSessionPrompt, Wt as issuesStatus, X as POSTHOG_API_KEY_ENV, Xa as laneMcpConfig, Xi as pickDirectoryForProjectName, Xn as myPrMergeRefusal, Xr as remoteMatchesGithubRepo, Xt as gitCommandFailure, Y as withPendingItems, Ya as laneAccessEnvBlocker, Yi as pendingFixesDropped, Yn as myPrFromGithubPr, Yr as remergeGitEnvPrefix, Yt as createPrGh, Za as laneMcpPosture, Zi as pingFor, Zr as restoreDraftAtReviewedHead, Zt as runCommand, _ as JUDGE_RESULT_FILENAME$1, _a as cleanHomeArgs, _i as INVESTIGATIONS_KEY, _n as heldOrListedPr, _r as canPost, _t as hasFreeWorkflowSessionSlot, aa as sanitizeSessionName, ai as sectionAfter, an as MY_PRS_FIX_CHECKOUT_DIRNAME, ar as REVIEW_PROMPT_FILENAME, at as extractRows, b as MAX_BODY_CHARS, ba as parseCodexModels, bi as RADAR_EXCEPTION_EVENTS_QUERY, bn as isMovedBranchPushRejection, bo as WATCHER_JOB_PAYLOADS, br as draftAfter, bt as nextListedRepos, c as COMMUNITY_POSTING_FILENAME, ca as summaryLineFromReportText, ci as shouldAutoReview, cn as MY_PRS_HELD_WATCH_OWNER, cr as REVIEW_TIMEOUT_SECONDS, ct as WORKFLOWS_LANE_ID, d as COMMUNITY_STATE_FILENAME, da as underlyingInvestigationChange, di as teamReviewStatus, dn as MyPrsLaneState, do as restartDelayMs, dr as TEAM_REVIEW_STATE_FILENAME, dt as WORKFLOW_NOTIFY_CATEGORY, ea as pruneInvestigations, ei as reviewAttemptsAfter, en as createGithubStorePoller, eo as withLaneAccessRules, er as PROGRESS_EMIT_INTERVAL_MS, et as computeBaseline, f as COMMUNITY_UNTRUSTED_SOURCE, fa as validateInvestigationId, fi as triagePr, fn as autoRebaseAttemptKey, fo as watcherChildInboxUrl, fr as absolutePathReadRule, ft as WORKFLOW_PROMPT_FILENAME, g as JUDGE_PROMPT_FILENAME, ga as choiceSelection, gi as FIX_VERDICTS, gn as emptyMyPrsLaneState, go as WATCHER_HOME_ENV, gr as buildReviewPrompt, gt as enabledWorkflowRules, h as JUDGE_MODEL, ha as readGithubTeams, hi as withoutControlCharacters, hn as currentKeepMergeableAttempt, hr as askedForRefusal, ht as emptyWorkflowsState, i as watcherHomeDir, ia as resolvePosthogHost, ii as reviewerFor, in as MY_PRS_FIX_BOOTSTRAP_PROMPT, io as secondaryRateLimitWaitMs, ir as REVIEW_POSTING_FILENAME, it as createPosthogApi, ja as shouldAutoResolveThread, ji as claimPendingFix, jn as mergeQueuePositions, jr as isUnreviewedDraft, jt as workflowTeamName, k as discordDropSummary, ka as isThreadPlaceholderDraft, ki as buildIssueSessionPrompt, kn as keepMergeableTimeoutSeconds, kr as isPostableStatus, kt as workflowSpawnPrompt, l as COMMUNITY_PROMPT_FILENAME, la as toCount, li as shouldPruneEntry, ln as MY_PRS_LANE_ID, lo as nextCrashCount, lr as REVIEW_UNTRUSTED_ITEM_MAX_CHARS, lt as WORKFLOWS_STATE_FILENAME, m as JUDGE_MESSAGE_CHARS, ma as nulSeparatedPaths, mi as fencedUntrusted, mn as consecutiveKeepMergeableAttempts, mo as WATCHEE_SETTINGS_CHANGED_MESSAGE, mr as applyReviewProgress, mt as diffPrEvents, na as radarUntrustedItems, ni as reviewUntrustedItems, nn as isBotAuthor, no as createLaneRunner, nr as REVIEW_AGENT_ADAPTER_ID, o as COMMUNITY_BOOTSTRAP_PROMPT, oa as scrubForPaste, oi as selectCandidates, on as MY_PRS_FIX_PROMPT_FILENAME, or as REVIEW_REPORT_FILENAME, ot as normalizeIssues, p as JUDGE_BOOTSTRAP_PROMPT, pa as validateIssueRef, pi as uiFilesOf, pn as autoRebaseRecord, pr as advanceAwakeElapsed, pt as areWorkflowActionsEnabled, q as shouldNotifyDraft, qa as laneAccess, qi as normalizePrBody, qn as withAutoRebase, qr as readTeamReviewSettings, qt as resolveIssuesProjects, ra as resolveIssueProject, ri as reviewerAgentArgs, rn as MY_PRS_FIX_BASE_BRANCH, ro as createTickLoop, rr as REVIEW_BOOTSTRAP_PROMPT, rt as spikeSummaryLine, s as COMMUNITY_LANE_ID, sa as slotDeferredInvestigationChange, si as sessionLinkedToPr, sn as MY_PRS_FIX_WORK_BRANCH, sr as REVIEW_RESUME_PROMPT, st as parseSpikeIssueIds, ta as radarShouldStart, ti as reviewSnapshotFromGithubPr, tn as githubStoreRateLimitedError, to as GITHUB_RATE_LIMIT_WINDOW_MS, tr as REMERGE_OBJECTS_DIRNAME, tt as decideTrafficSpike, u as COMMUNITY_REPORT_FILENAME, ua as unarchivedInvestigations, ui as startReviewProgress, un as MY_PRS_STATE_FILENAME, ur as TEAM_REVIEW_LANE_ID, v as JUDGE_TIMEOUT_MS$1, va as launchArgs, vi as JOB_MODES, vn as isFailedAttemptRetryDue, vr as commentableLines, vt as matchRules$1, w as applyCommunityAction, wa as THREAD_JUDGE_ITEM_MAX_CHARS, wi as RADAR_UNTRUSTED_SOURCE, wn as keepMergeableHandoff, wr as eventForAction, wt as workflowNotification, x as NOTIFICATION_CATEGORY, xa as parseKimiModels, xi as RADAR_REPORT_FILENAME, xn as keepMergeableAttemptKey, xr as draftsNewestFirst, xt as resolveWorkflowsSettings, y as JUDGE_UNTRUSTED_SOURCE, ya as parseClaudeInitialize, yi as PENDING_FIX_TTL_MS, yn as isHeadPushedByKeepMergeable, yr as diffHeaderPath, yt as mergeWorkflowsUpdateOverStored, z as parseJudgeResult, za as ACCEPT_EDITS_MODE, zi as fixDetailLine, zn as pushFailureReason, zr as postedReviewBody, zt as issuesListingBatches } from "./watchee-settings-CdxcPNd-.js";
|
|
25
25
|
import { a as rawTextOr, i as positiveNumberOr$1, n as isRecord$1, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-D6vRlIGO.js";
|
|
26
26
|
import { F as escapeMarkup, b as cappedWarnings, l as isStackedPanel } from "./whiteboard-layout-core-Ds1WuyDi.js";
|
|
27
27
|
import { a as appendElement, c as boardIndexOf, d as storeElement, i as stepBoxesOf, l as boxIdsDependedOnBy, o as assetIdOf, r as planSteps$1, s as assetIdsOf, u as dropElement } from "./whiteboard-plan-core-B8bQWIvS.js";
|
|
@@ -29,17 +29,17 @@ import { C as summarizeBoard, S as shownBoxOp, _ as markRead, a as boardDeltaOf,
|
|
|
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
30
|
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-COrUMnjL.js";
|
|
31
31
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
32
|
-
import { t as HOOK_TOOLS } from "./hook-tools-
|
|
32
|
+
import { t as HOOK_TOOLS } from "./hook-tools-B_T7l5gH.js";
|
|
33
33
|
import { a as showHomeAsTilde, i as sanitizeOneLine, n as requireExecutableSpawnHelper, r as firstLine$2 } from "./node-pty-preflight-B6wME-M3.js";
|
|
34
|
-
import { t as DETACHED_DESKTOP_BUS_ADDRESS } from "./spawn-env-
|
|
34
|
+
import { t as DETACHED_DESKTOP_BUS_ADDRESS } from "./spawn-env-BRLJPlN1.js";
|
|
35
35
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-ne0rkTgG.js";
|
|
36
|
-
import { c as saneYoloFiles } from "./sane-yolo-
|
|
36
|
+
import { c as saneYoloFiles } from "./sane-yolo-DqvfS8ed.js";
|
|
37
37
|
import { n as glimmervoidHomeDir$1, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-qUZH9-0F.js";
|
|
38
38
|
import { A as withInterruptedRuns, C as sourceCandidates$1, E as threadCandidates, F as defineTransitions, M as withPrActionRun, N as withReopened, O as visibleRun, P as withRuleRun, S as shouldTellBranchMoved, T as teammateThreadItems, _ as prFlowSetup, a as fixLocallyPrompt, b as savedRuleFor, c as itemLocation, f as packPathsOf, g as prActionRunAfterExit, j as withOnlyOpenPrs, k as withHandled, l as mergeItems, m as plannedActions, n as branchMovedNote, r as commandFingerprint, s as isCommandStillRunning, t as acceptReport, u as newPrActionRun, v as prFlowsConfig, x as scopedToRepo } from "./pr-flows-core-DGknGIpq.js";
|
|
39
39
|
import { r as knownWriteHookInput } from "./posthog-read-gate-core-D_5rXRpS.js";
|
|
40
|
-
import { i as packsStatePath, l as PacksState, o as readPackDir, r as packDirsUnder, s as PACK_FILE_NAME, t as PACKS_DIR_NAME } from "./pack-files-
|
|
40
|
+
import { i as packsStatePath, l as PacksState, o as readPackDir, r as packDirsUnder, s as PACK_FILE_NAME, t as PACKS_DIR_NAME } from "./pack-files-CUU5ubly.js";
|
|
41
41
|
import { a as PackStoreData, d as packStoreSizeError, u as packStoreAfterSet } from "./pack-bridge-DA6U73Vi.js";
|
|
42
|
-
import { t as createPrFlowsExternal } from "./pr-flows-external-
|
|
42
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-BqmW1gre.js";
|
|
43
43
|
import { n as isSameHostEntry, r as removeHostFrom, t as addHostTo } from "./host-registry-core-1i6Jrme8.js";
|
|
44
44
|
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-BE08x5OZ.js";
|
|
45
45
|
import { createRequire } from "node:module";
|
|
@@ -584,7 +584,7 @@ function settingsListForMcp(body) {
|
|
|
584
584
|
// mcp/core/instructions.ts
|
|
585
585
|
var SERVER_INSTRUCTIONS = [
|
|
586
586
|
"Glimmervoid supervises this session and shows it to the operator on a dashboard.",
|
|
587
|
-
"
|
|
587
|
+
"The session tool can spawn a supervised session with its own dashboard card the operator can watch and its own worktree, an option beside an in-process subagent.",
|
|
588
588
|
"Use the whiteboard tool to draw a diagram, architecture map or plan the operator can see and edit, rather than drawing one in chat.",
|
|
589
589
|
"Use show to put an image, video or HTML page you made in front of the operator as a card on a whiteboard, rather than publishing an artifact, pasting it into chat or asking the operator to open the file.",
|
|
590
590
|
"Use push to land this session's commits when a plain git push is refused, attention to ask the operator for a decision, review for team pull request reviews, and settings to read Glimmervoid's settings.",
|
|
@@ -810,7 +810,7 @@ function boardPictureRoute() {
|
|
|
810
810
|
var SESSION_TOOL = {
|
|
811
811
|
name: "session",
|
|
812
812
|
title: "Glimmervoid sessions",
|
|
813
|
-
description: "Spawn, message and manage Glimmervoid sessions. spawn starts a new supervised session with its own dashboard card and worktree
|
|
813
|
+
description: "Spawn, message and manage Glimmervoid sessions. spawn starts a new supervised session with its own dashboard card and worktree, an option beside an in-process subagent. send and read talk with a spawned child (or, from a child, its parent); answer replies to a question a child asked; close ends a child; board lists every live session; edit opens a file for the operator to write or correct, such as a plan or a prompt; limits reports what this session may do.",
|
|
814
814
|
loadsUpfront: true,
|
|
815
815
|
fields: {
|
|
816
816
|
prompt: AgentSpawnRequest.shape.prompt.optional().describe("spawn: the task for the new session"),
|
|
@@ -16601,6 +16601,41 @@ function readNpmPackages(lockText) {
|
|
|
16601
16601
|
function isSameNpmPackage(wanted, installed) {
|
|
16602
16602
|
return wanted.version === installed.version && wanted.integrity === installed.integrity && wanted.resolved === installed.resolved;
|
|
16603
16603
|
}
|
|
16604
|
+
var INSTALLED_PACKAGE_PATH = /^node_modules\/(?:@[\w.-]+\/)?[\w.-]+(?:\/node_modules\/(?:@[\w.-]+\/)?[\w.-]+)*$/;
|
|
16605
|
+
function planInstallScriptCopies(worktreeInstalledLockText, mainInstalledLockText) {
|
|
16606
|
+
const installedPackages = worktreeInstalledLockText === null ? null : readNpmPackages(worktreeInstalledLockText);
|
|
16607
|
+
const mainPackages = mainInstalledLockText === null ? null : readNpmPackages(mainInstalledLockText);
|
|
16608
|
+
const plan = {
|
|
16609
|
+
copies: [],
|
|
16610
|
+
unbuilt: []
|
|
16611
|
+
};
|
|
16612
|
+
if (!installedPackages) return plan;
|
|
16613
|
+
for (const [installPath, installed] of installedPackages) {
|
|
16614
|
+
if (installed.hasInstallScript !== true || installed.link === true || !isPlainInstalledPackagePath(installPath)) continue;
|
|
16615
|
+
plan[mainPackages !== null && typeof installed.integrity === "string" && isSameInstalledTree(installPath, installedPackages, mainPackages) ? "copies" : "unbuilt"].push(installPath);
|
|
16616
|
+
}
|
|
16617
|
+
return plan;
|
|
16618
|
+
}
|
|
16619
|
+
function isSameInstalledTree(installPath, installedPackages, mainPackages) {
|
|
16620
|
+
const installedTree = installedTreeOf(installPath, installedPackages);
|
|
16621
|
+
const mainTree = installedTreeOf(installPath, mainPackages);
|
|
16622
|
+
if (installedTree.size !== mainTree.size) return false;
|
|
16623
|
+
for (const [treePath, installed] of installedTree) {
|
|
16624
|
+
const mainEntry = mainTree.get(treePath);
|
|
16625
|
+
if (!mainEntry || !isSameNpmPackage(installed, mainEntry)) return false;
|
|
16626
|
+
}
|
|
16627
|
+
return true;
|
|
16628
|
+
}
|
|
16629
|
+
function installedTreeOf(installPath, packages) {
|
|
16630
|
+
const nestedPrefix = `${installPath}/node_modules/`;
|
|
16631
|
+
return new Map([...packages].filter(([treePath]) => treePath === installPath || treePath.startsWith(nestedPrefix)));
|
|
16632
|
+
}
|
|
16633
|
+
function isPlainInstalledPackagePath(installPath) {
|
|
16634
|
+
return INSTALLED_PACKAGE_PATH.test(installPath) && installPath.split("/").every((segment) => segment !== "." && segment !== "..");
|
|
16635
|
+
}
|
|
16636
|
+
function packageNameOfInstallPath(installPath) {
|
|
16637
|
+
return installPath.slice(installPath.lastIndexOf("node_modules/") + 13);
|
|
16638
|
+
}
|
|
16604
16639
|
function isRecord(value) {
|
|
16605
16640
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
16606
16641
|
}
|
|
@@ -16745,6 +16780,7 @@ function describeInstalledDirs(outcome) {
|
|
|
16745
16780
|
function describeInstallWarnings(outcome) {
|
|
16746
16781
|
const warnings = [];
|
|
16747
16782
|
for (const result of outcome.results) {
|
|
16783
|
+
if (result.ok && result.unbuiltPackages.length) warnings.push(describeUnbuiltPackages(result.dir, result.unbuiltPackages));
|
|
16748
16784
|
if (result.ok) continue;
|
|
16749
16785
|
const failure = result.timedOut ? "timed out after 10 minutes" : `failed: ${result.lastOutputLine || "no output"}`;
|
|
16750
16786
|
warnings.push(`${result.command} in ${result.dir} ${failure}; install dependencies in the worktree`);
|
|
@@ -16752,6 +16788,10 @@ function describeInstallWarnings(outcome) {
|
|
|
16752
16788
|
if (outcome.unsupportedDirs.length) warnings.push(`node_modules in ${outcome.unsupportedDirs.join(", ")} was not installed because the worktree has no package-lock.json or pnpm-lock.yaml there; install dependencies there`);
|
|
16753
16789
|
return warnings;
|
|
16754
16790
|
}
|
|
16791
|
+
function describeUnbuiltPackages(dir, unbuiltPackages) {
|
|
16792
|
+
const names = unbuiltPackages.map(packageNameOfInstallPath);
|
|
16793
|
+
return `${names.join(", ")} in ${dir} installed without running install scripts and the main checkout has no matching install to copy; run npm rebuild ${names.join(" ")} there`;
|
|
16794
|
+
}
|
|
16755
16795
|
function describeDependencyCloneSkip(reason) {
|
|
16756
16796
|
return SKIP_DESCRIPTIONS[reason];
|
|
16757
16797
|
}
|
|
@@ -51539,7 +51579,7 @@ function seedWorktreeDependencies({ mainCheckout, worktreeDir, signal, hookConfi
|
|
|
51539
51579
|
async function seedInQueue(mainCheckout, worktreeDir, signal, isRootSeeded) {
|
|
51540
51580
|
const clone = await cloneDependencies(mainCheckout, worktreeDir).catch(() => skipDependencyClone("failed"));
|
|
51541
51581
|
if (signal.aborted) return null;
|
|
51542
|
-
const install = await installDependencies(worktreeDir, signal, isRootSeeded).catch((error) => unreadableInstallOutcome(error));
|
|
51582
|
+
const install = await installDependencies(mainCheckout, worktreeDir, signal, isRootSeeded).catch((error) => unreadableInstallOutcome(error));
|
|
51543
51583
|
if (signal.aborted) return null;
|
|
51544
51584
|
const skippedDirs = clone.action === "cloned" ? clone.skippedDirs : [];
|
|
51545
51585
|
const reportedDirs = /* @__PURE__ */ new Set([...install.unsupportedDirs, ...install.results.map((result) => result.dir)]);
|
|
@@ -51592,7 +51632,7 @@ async function hookConfigsNeedNodeModules(worktreeDir, hookConfigRelPaths) {
|
|
|
51592
51632
|
async function hookConfigsNeedUnseededPackages(worktreeDir, hookConfigRelPaths) {
|
|
51593
51633
|
return (await Promise.all(hookConfigRelPaths.map((relPath) => readTextOrNull(path.join(worktreeDir, relPath))))).some((configText) => configText !== null && mentionsNodeModulesBeyondCoherence(configText));
|
|
51594
51634
|
}
|
|
51595
|
-
async function installDependencies(worktreeDir, signal, isRootSeeded) {
|
|
51635
|
+
async function installDependencies(mainCheckout, worktreeDir, signal, isRootSeeded) {
|
|
51596
51636
|
const startedAt = performance.now();
|
|
51597
51637
|
const packageDirFacts = (await listPackageDirFacts(worktreeDir)).map((facts) => isRootSeeded && facts.dir === "." ? {
|
|
51598
51638
|
...facts,
|
|
@@ -51603,7 +51643,8 @@ async function installDependencies(worktreeDir, signal, isRootSeeded) {
|
|
|
51603
51643
|
for (const install of plan.installs) {
|
|
51604
51644
|
if (signal.aborted) break;
|
|
51605
51645
|
const isStagedRootInstall = isRootSeeded && install.dir === "." && install.command === "npm";
|
|
51606
|
-
|
|
51646
|
+
const mainPackageDir = path.join(mainCheckout, install.dir);
|
|
51647
|
+
results.push(await (isStagedRootInstall ? runStagedRootInstall(mainPackageDir, worktreeDir, install, signal) : runInstall(mainPackageDir, worktreeDir, install, signal)));
|
|
51607
51648
|
}
|
|
51608
51649
|
return {
|
|
51609
51650
|
results,
|
|
@@ -51639,14 +51680,14 @@ async function listPackageDirFacts(worktreeDir) {
|
|
|
51639
51680
|
}
|
|
51640
51681
|
return packageDirs;
|
|
51641
51682
|
}
|
|
51642
|
-
async function runInstall(worktreeDir, install, signal) {
|
|
51683
|
+
async function runInstall(mainPackageDir, worktreeDir, install, signal) {
|
|
51643
51684
|
const packageDir = path.join(worktreeDir, install.dir);
|
|
51644
51685
|
const run = await runInstallCommand(packageDir, install, signal);
|
|
51645
|
-
if (run.ok) return installSucceeded(install);
|
|
51686
|
+
if (run.ok) return installSucceeded(install, await copyInstallScriptPackages(install, mainPackageDir, packageDir));
|
|
51646
51687
|
await removeTree(path.join(packageDir, NODE_MODULES));
|
|
51647
51688
|
return installRunFailed(install, run);
|
|
51648
51689
|
}
|
|
51649
|
-
async function runStagedRootInstall(worktreeDir, install, signal) {
|
|
51690
|
+
async function runStagedRootInstall(mainPackageDir, worktreeDir, install, signal) {
|
|
51650
51691
|
const stagingDir = stagingPathFor(worktreeDir, STAGED_ROOT_INSTALL_KEY);
|
|
51651
51692
|
const previousNodeModules = `${stagingDir}-previous`;
|
|
51652
51693
|
try {
|
|
@@ -51655,7 +51696,8 @@ async function runStagedRootInstall(worktreeDir, install, signal) {
|
|
|
51655
51696
|
for (const file of STAGED_INSTALL_FILES) await copyIfPresent(path.join(worktreeDir, file), path.join(stagingDir, file));
|
|
51656
51697
|
const run = await runInstallCommand(stagingDir, install, signal);
|
|
51657
51698
|
if (!run.ok) return installRunFailed(install, run);
|
|
51658
|
-
|
|
51699
|
+
const unbuiltPackages = await copyInstallScriptPackages(install, mainPackageDir, stagingDir);
|
|
51700
|
+
if (await swapNodeModules(path.join(stagingDir, NODE_MODULES), path.join(worktreeDir, NODE_MODULES), previousNodeModules)) return installSucceeded(install, unbuiltPackages);
|
|
51659
51701
|
return installFailed(install, "could not move the installed node_modules into the worktree", false);
|
|
51660
51702
|
} finally {
|
|
51661
51703
|
await removeTree(stagingDir);
|
|
@@ -51678,13 +51720,42 @@ function runInstallCommand(cwd, install, signal) {
|
|
|
51678
51720
|
signal
|
|
51679
51721
|
});
|
|
51680
51722
|
}
|
|
51681
|
-
function installSucceeded(install) {
|
|
51723
|
+
function installSucceeded(install, unbuiltPackages) {
|
|
51682
51724
|
return {
|
|
51683
51725
|
dir: install.dir,
|
|
51684
51726
|
command: [install.command, ...install.args].join(" "),
|
|
51685
|
-
ok: true
|
|
51727
|
+
ok: true,
|
|
51728
|
+
unbuiltPackages
|
|
51686
51729
|
};
|
|
51687
51730
|
}
|
|
51731
|
+
async function copyInstallScriptPackages(install, mainPackageDir, installedPackageDir) {
|
|
51732
|
+
if (install.command !== "npm") return [];
|
|
51733
|
+
const installStatePath = LOCKFILE_BY_KIND.npm.installState;
|
|
51734
|
+
const [worktreeInstalledLockText, mainInstalledLockText] = await Promise.all([readTextOrNull(path.join(installedPackageDir, installStatePath)), readTextOrNull(path.join(mainPackageDir, installStatePath))]);
|
|
51735
|
+
const plan = planInstallScriptCopies(worktreeInstalledLockText, mainInstalledLockText);
|
|
51736
|
+
const unbuiltPackages = [...plan.unbuilt];
|
|
51737
|
+
for (const installPath of plan.copies) if (!await replacedWithCopy(path.join(mainPackageDir, installPath), path.join(installedPackageDir, installPath))) unbuiltPackages.push(installPath);
|
|
51738
|
+
return unbuiltPackages;
|
|
51739
|
+
}
|
|
51740
|
+
async function replacedWithCopy(source, destination) {
|
|
51741
|
+
const incomingCopy = `${destination}.glimmervoid-copy`;
|
|
51742
|
+
const outgoingCopy = `${destination}.glimmervoid-replaced`;
|
|
51743
|
+
try {
|
|
51744
|
+
await removeTree(incomingCopy);
|
|
51745
|
+
await fs$1.cp(source, incomingCopy, {
|
|
51746
|
+
recursive: true,
|
|
51747
|
+
verbatimSymlinks: true,
|
|
51748
|
+
errorOnExist: true,
|
|
51749
|
+
force: false
|
|
51750
|
+
});
|
|
51751
|
+
return await swapNodeModules(incomingCopy, destination, outgoingCopy);
|
|
51752
|
+
} catch {
|
|
51753
|
+
return false;
|
|
51754
|
+
} finally {
|
|
51755
|
+
await removeTree(incomingCopy);
|
|
51756
|
+
await removeTree(outgoingCopy);
|
|
51757
|
+
}
|
|
51758
|
+
}
|
|
51688
51759
|
function installRunFailed(install, run) {
|
|
51689
51760
|
return installFailed(install, lastOutputLineOf(run.stderr ?? "") || lastOutputLineOf(run.err), run.timedOut === true);
|
|
51690
51761
|
}
|
|
@@ -3,7 +3,7 @@ import { t as ClientMessage } from "./control-messages-DH7qMLss.js";
|
|
|
3
3
|
import { c as PanelActionRequest, l as packBridgeJsonSchemaText, p as REVIEW_ACTION_TYPES, t as PACK_DATA_MAX_BYTES } from "./pack-bridge-DA6U73Vi.js";
|
|
4
4
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
5
5
|
import { D as unknownPlaceholderMessage, d as packApproval, i as expandPlaceholders, p as packRuleErrors, y as prFlowsPacksOf } from "./pr-flows-core-DGknGIpq.js";
|
|
6
|
-
import { c as PackHeader, n as declaredPanels, o as readPackDir, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, u as packJsonSchemaText } from "./pack-files-
|
|
6
|
+
import { c as PackHeader, n as declaredPanels, o as readPackDir, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, u as packJsonSchemaText } from "./pack-files-CUU5ubly.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as REVIEW_ACTIONS_GRANT_TEXT, h as ThemePalette, i as PackPanelAct, n as PackBridgeTopic, r as PackName } from "./pack-bridge-DA6U73Vi.js";
|
|
2
2
|
import { Zt as PackPrFlowRule, cn as PrFlowPrAction, dn as PrFlowSourceCommand, in as PrFlowItemAction, on as PrFlowPackRequires, vn as RepoScope, xn as prFlowRulesJsonSchema } from "./session-BIYBGx3C.js";
|
|
3
|
-
import { r as withoutGlimmervoidSecrets } from "./spawn-env-
|
|
3
|
+
import { r as withoutGlimmervoidSecrets } from "./spawn-env-BRLJPlN1.js";
|
|
4
4
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
5
5
|
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -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-Bmbz_Ltj.js";
|
|
3
3
|
import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
|
|
4
4
|
import { Rn as STATES, Sn as prFlowsOutputJsonSchemaText, n as AGENT_REPLY_SCHEMAS } from "./session-BIYBGx3C.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-DA6U73Vi.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-CUU5ubly.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-BhkFT3bA.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");
|
|
@@ -4,8 +4,8 @@ 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
6
|
import { D as unknownPlaceholderMessage, _ as prFlowSetup, f as packPathsOf, i as expandPlaceholders, r as commandFingerprint, v as prFlowsConfig, x as scopedToRepo } from "./pr-flows-core-DGknGIpq.js";
|
|
7
|
-
import { a as readApprovedPackFingerprints, o as readPackDir, r as packDirsUnder } from "./pack-files-
|
|
8
|
-
import { t as createPrFlowsExternal } from "./pr-flows-external-
|
|
7
|
+
import { a as readApprovedPackFingerprints, o as readPackDir, r as packDirsUnder } from "./pack-files-CUU5ubly.js";
|
|
8
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-BqmW1gre.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
@@ -122,7 +122,7 @@ async function readServerConfig(askSetting) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
async function readConfigFromServer() {
|
|
125
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
125
|
+
const { askAgentApi } = await import("./agent-api-cli-BhkFT3bA.js");
|
|
126
126
|
return readServerConfig((settingPath) => askAgentApi("settings", {
|
|
127
127
|
command: "get",
|
|
128
128
|
path: settingPath
|
|
@@ -268,7 +268,7 @@ async function runPrActionReport({ outcome, message, env }, io) {
|
|
|
268
268
|
io.writeError("--outcome must be started, done, failed or refused, and --message at most 500 characters\n");
|
|
269
269
|
return 1;
|
|
270
270
|
}
|
|
271
|
-
const { postToAgentIngress } = await import("./agent-api-cli-
|
|
271
|
+
const { postToAgentIngress } = await import("./agent-api-cli-BhkFT3bA.js");
|
|
272
272
|
const reply = await postToAgentIngress({
|
|
273
273
|
endpoint: new URL(reportUrl),
|
|
274
274
|
token,
|