glimmervoid 0.52.3-next.911 → 0.52.3-next.913
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 +12 -12
- package/dist/chunks/{adapters-DB4JmDcV.js → adapters-BzNYsokU.js} +1 -1
- package/dist/chunks/{adapters-DwgANN3A.js → adapters-DzNF5X6G.js} +3 -3
- package/dist/chunks/agent-api-cli-Cg8ufPzK.js +1 -0
- package/dist/chunks/{agent-api-cli-BZrfmI8d.js → agent-api-cli-MeDgnaBK.js} +1 -1
- package/dist/chunks/{agent-api-core-By-qcCy9.js → agent-api-core-CrEjJDVL.js} +2 -2
- package/dist/chunks/{board-store-core-khjsQSbY.js → board-store-core-CpHRDuzf.js} +1 -9
- package/dist/chunks/{config-COHY_N3p.js → config-TRkvzV8I.js} +1 -1
- package/dist/chunks/{config-store-BAWZYLRI.js → config-store-5Zldhz4N.js} +2 -2
- package/dist/chunks/config-store-DHvKoFRR.js +1 -0
- package/dist/chunks/{control-messages-BpDQ6rEU.js → control-messages-LGIHSsHt.js} +16 -0
- package/dist/chunks/{host-cli-FdiFXFrC.js → host-cli-88mfGt7s.js} +3 -3
- package/dist/chunks/{host-registry-core-a6KlkQdw.js → host-registry-core-CwdQ7jWv.js} +1 -1
- package/dist/chunks/{main-GBybdyuv.js → main-CcPxvuBN.js} +165 -16
- package/dist/chunks/{pack-agent-DCukZ2w3.js → pack-agent-DmkQWD4j.js} +1 -1
- package/dist/chunks/{packs-cli-B4849ChG.js → packs-cli-B9AX02DF.js} +2 -2
- package/dist/chunks/{pair-cli-DNlG4CKe.js → pair-cli-Cm4kUwby.js} +2 -2
- package/dist/chunks/{pr-flows-cli-Cn9uSTWW.js → pr-flows-cli-BYSOpJ4z.js} +2 -2
- package/dist/chunks/{remote-config-D4jCIFjD.js → remote-config-DGhhRF3L.js} +1 -1
- package/dist/chunks/settings-cli-Bq-ccP1l.js +1 -0
- package/dist/chunks/{settings-cli-DVpjXSTO.js → settings-cli-ULfUvcI3.js} +4 -4
- package/dist/chunks/{settings-readout-core-CdHm6wBN.js → settings-readout-core-Cy4ZqJnS.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-C32Kun7r.js → ssh-sign-cli-1j9esl5t.js} +1 -1
- package/dist/client/assets/{action-status-dfWRYrW_.js → action-status-BUhtgbN3.js} +1 -1
- package/dist/client/assets/action-status-BUhtgbN3.js.br +0 -0
- package/dist/client/assets/{agent-core-CqGBYwby.js → agent-core-DWehtdzt.js} +2 -2
- package/dist/client/assets/agent-core-DWehtdzt.js.br +0 -0
- package/dist/client/assets/{agent-mark-V3Xig-t1.js → agent-mark-DLcbVOxQ.js} +1 -1
- package/dist/client/assets/agent-mark-DLcbVOxQ.js.br +0 -0
- package/dist/client/assets/{arena-panel-B43A3ngG.js → arena-panel-kv1D5jO9.js} +2 -2
- package/dist/client/assets/arena-panel-kv1D5jO9.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-Db5NxY73.js → benchmark-panel-D8ExogKJ.js} +1 -1
- package/dist/client/assets/benchmark-panel-D8ExogKJ.js.br +0 -0
- package/dist/client/assets/{boards-view-2-TflxmJ.js → boards-view-CgJtlthS.js} +1 -1
- package/dist/client/assets/boards-view-CgJtlthS.js.br +0 -0
- package/dist/client/assets/button-CRGg-Rsi.js +1 -0
- package/dist/client/assets/button-CRGg-Rsi.js.br +0 -0
- package/dist/client/assets/{card-actions-CPyfKERi.js → card-actions-HIf54YHP.js} +1 -1
- package/dist/client/assets/{community-panel-cEhNmXVc.js → community-panel-NalMO9D9.js} +1 -1
- package/dist/client/assets/community-panel-NalMO9D9.js.br +0 -0
- package/dist/client/assets/{control-ws-zkCkCpGX.js → control-ws-DFZQ_p3m.js} +1 -1
- package/dist/client/assets/control-ws-DFZQ_p3m.js.br +0 -0
- package/dist/client/assets/{dialogs-bwcxY8x-.js → dialogs-DPHNnK29.js} +1 -1
- package/dist/client/assets/dialogs-DPHNnK29.js.br +0 -0
- package/dist/client/assets/doc-editor-ui--h9LCdt5.js +6 -0
- package/dist/client/assets/doc-editor-ui--h9LCdt5.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-BnpqszcN.css +1 -0
- package/dist/client/assets/doc-editor-ui-BnpqszcN.css.br +0 -0
- package/dist/client/assets/{feature-hint-BRsIcFFq.js → feature-hint-Mjhni6eu.js} +1 -1
- package/dist/client/assets/feature-hint-Mjhni6eu.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-D6Bd9mXu.js → first-run-checklist-yk0o4acQ.js} +1 -1
- package/dist/client/assets/first-run-checklist-yk0o4acQ.js.br +0 -0
- package/dist/client/assets/{hooks-panel-DFGEmpdu.js → hooks-panel-Df5M4bZG.js} +1 -1
- package/dist/client/assets/hooks-panel-Df5M4bZG.js.br +0 -0
- package/dist/client/assets/ibm-plex-sans-latin-IvpUvPa2.woff2 +0 -0
- package/dist/client/assets/{index-BUNtFaTQ.js → index-CFJG9sqA.js} +5 -5
- package/dist/client/assets/index-CFJG9sqA.js.br +0 -0
- package/dist/client/assets/index-_vl9Hg34.css +2 -0
- package/dist/client/assets/index-_vl9Hg34.css.br +0 -0
- package/dist/client/assets/{issues-panel-CxnAisBG.js → issues-panel-CMW21_H4.js} +1 -1
- package/dist/client/assets/issues-panel-CMW21_H4.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-Dw7AE2w_.js → lane-read-token-step-DX7VXz2l.js} +1 -1
- package/dist/client/assets/lane-read-token-step-DX7VXz2l.js.br +0 -0
- package/dist/client/assets/{menu-COJ5S1Hc.js → menu-BunWIAEm.js} +1 -1
- package/dist/client/assets/menu-BunWIAEm.js.br +0 -0
- package/dist/client/assets/{modal-BRYx12QA.js → modal-DN4ULtDl.js} +1 -1
- package/dist/client/assets/modal-DN4ULtDl.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-DexsSQ0f.js → my-prs-panel-B1uW1arV.js} +1 -1
- package/dist/client/assets/my-prs-panel-B1uW1arV.js.br +0 -0
- package/dist/client/assets/{nyan-cat-B-YCUaMO.js → nyan-cat-C9UcDm43.js} +1 -1
- package/dist/client/assets/nyan-cat-C9UcDm43.js.br +0 -0
- package/dist/client/assets/{phone-shell-8LXqgq1K.js → phone-shell-CE1pcGeN.js} +1 -1
- package/dist/client/assets/phone-shell-CE1pcGeN.js.br +0 -0
- package/dist/client/assets/{plan-face-b6D8jIr7.js → plan-face-jPXFcQTA.js} +1 -1
- package/dist/client/assets/plan-face-jPXFcQTA.js.br +0 -0
- package/dist/client/assets/{plan-render-BbqMPh0s.js → plan-render-CrHllBWw.js} +1 -1
- package/dist/client/assets/plan-render-CrHllBWw.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-DgfWsCUv.js → pr-queue-columns-oyPndGbF.js} +1 -1
- package/dist/client/assets/pr-queue-columns-oyPndGbF.js.br +0 -0
- package/dist/client/assets/{pr-status-icon-Bv6LCx6G.js → pr-status-icon-DNVtI2G-.js} +1 -1
- package/dist/client/assets/pr-status-icon-DNVtI2G-.js.br +0 -0
- package/dist/client/assets/{radar-panel-krDVk1Ah.js → radar-panel-DJvRr24z.js} +1 -1
- package/dist/client/assets/radar-panel-DJvRr24z.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-BAzmpoQn.js → repo-roots-adder-CXvFGkMy.js} +1 -1
- package/dist/client/assets/repo-roots-adder-CXvFGkMy.js.br +0 -0
- package/dist/client/assets/{resume-dialog-BWQbc4e_.js → resume-dialog-CNdIZlvu.js} +1 -1
- package/dist/client/assets/resume-dialog-CNdIZlvu.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-CkT5wRhU.js → review-queue-panel-BXf20IT2.js} +1 -1
- package/dist/client/assets/review-queue-panel-BXf20IT2.js.br +0 -0
- package/dist/client/assets/{session-row-t4hR1r0f.js → session-row-Rvssz8B4.js} +1 -1
- package/dist/client/assets/session-row-Rvssz8B4.js.br +0 -0
- package/dist/client/assets/{session-tick-DwoMf2Cg.js → session-tick-P2BuMQsS.js} +1 -1
- package/dist/client/assets/session-tick-P2BuMQsS.js.br +0 -0
- package/dist/client/assets/{settings-panel-CUuiEye7.js → settings-panel-CMwNHxox.js} +2 -2
- package/dist/client/assets/settings-panel-CMwNHxox.js.br +0 -0
- package/dist/client/assets/{setup-step-BVrVC6sd.js → setup-step-MaE71wgX.js} +1 -1
- package/dist/client/assets/setup-step-MaE71wgX.js.br +0 -0
- package/dist/client/assets/{trace-panel-DHiquKq3.js → trace-panel-D4oFKaZc.js} +1 -1
- package/dist/client/assets/trace-panel-D4oFKaZc.js.br +0 -0
- package/dist/client/assets/{usage-panel-D0ExoOuG.js → usage-panel-D0B9Wd6y.js} +1 -1
- package/dist/client/assets/usage-panel-D0B9Wd6y.js.br +0 -0
- package/dist/client/assets/{your-day-tip-CitQpuDu.js → your-day-tip-BIV4O8MD.js} +1 -1
- package/dist/client/assets/your-day-tip-BIV4O8MD.js.br +0 -0
- package/dist/client/fonts/IBMPlexSans-OFL.txt +93 -0
- package/dist/client/fonts/IBMPlexSans-OFL.txt.br +0 -0
- package/dist/client/index.html +13 -13
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +1 -1
- package/dist/server/whiteboard/board-store-worker.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-api-cli-BY_PouLZ.js +0 -1
- package/dist/chunks/config-store-DZJFJxES.js +0 -1
- package/dist/chunks/settings-cli-BUpeLmOA.js +0 -1
- package/dist/client/assets/action-status-dfWRYrW_.js.br +0 -0
- package/dist/client/assets/agent-core-CqGBYwby.js.br +0 -0
- package/dist/client/assets/agent-mark-V3Xig-t1.js.br +0 -0
- package/dist/client/assets/arena-panel-B43A3ngG.js.br +0 -0
- package/dist/client/assets/benchmark-panel-Db5NxY73.js.br +0 -0
- package/dist/client/assets/boards-view-2-TflxmJ.js.br +0 -0
- package/dist/client/assets/button-DvHS73Fb.js +0 -1
- package/dist/client/assets/button-DvHS73Fb.js.br +0 -0
- package/dist/client/assets/community-panel-cEhNmXVc.js.br +0 -0
- package/dist/client/assets/control-ws-zkCkCpGX.js.br +0 -0
- package/dist/client/assets/dialogs-bwcxY8x-.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-BLBPYLaH.css +0 -1
- package/dist/client/assets/doc-editor-ui-BLBPYLaH.css.br +0 -0
- package/dist/client/assets/doc-editor-ui-CgBRyOY-.js +0 -5
- package/dist/client/assets/doc-editor-ui-CgBRyOY-.js.br +0 -0
- package/dist/client/assets/feature-hint-BRsIcFFq.js.br +0 -0
- package/dist/client/assets/first-run-checklist-D6Bd9mXu.js.br +0 -0
- package/dist/client/assets/hooks-panel-DFGEmpdu.js.br +0 -0
- package/dist/client/assets/index-BUNtFaTQ.js.br +0 -0
- package/dist/client/assets/index-CIBPFqXS.css +0 -2
- package/dist/client/assets/index-CIBPFqXS.css.br +0 -0
- package/dist/client/assets/issues-panel-CxnAisBG.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-Dw7AE2w_.js.br +0 -0
- package/dist/client/assets/menu-COJ5S1Hc.js.br +0 -1
- package/dist/client/assets/modal-BRYx12QA.js.br +0 -0
- package/dist/client/assets/my-prs-panel-DexsSQ0f.js.br +0 -0
- package/dist/client/assets/nyan-cat-B-YCUaMO.js.br +0 -0
- package/dist/client/assets/phone-shell-8LXqgq1K.js.br +0 -0
- package/dist/client/assets/plan-face-b6D8jIr7.js.br +0 -0
- package/dist/client/assets/plan-render-BbqMPh0s.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-DgfWsCUv.js.br +0 -0
- package/dist/client/assets/pr-status-icon-Bv6LCx6G.js.br +0 -0
- package/dist/client/assets/radar-panel-krDVk1Ah.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-BAzmpoQn.js.br +0 -0
- package/dist/client/assets/resume-dialog-BWQbc4e_.js.br +0 -0
- package/dist/client/assets/review-queue-panel-CkT5wRhU.js.br +0 -0
- package/dist/client/assets/session-row-t4hR1r0f.js.br +0 -0
- package/dist/client/assets/session-tick-DwoMf2Cg.js.br +0 -0
- package/dist/client/assets/settings-panel-CUuiEye7.js.br +0 -0
- package/dist/client/assets/setup-step-BVrVC6sd.js.br +0 -0
- package/dist/client/assets/trace-panel-DHiquKq3.js.br +0 -0
- package/dist/client/assets/usage-panel-D0ExoOuG.js.br +0 -0
- package/dist/client/assets/your-day-tip-CitQpuDu.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-CDXol8Ub.js";
|
|
3
3
|
import { a as execSync } from "../chunks/child-process-safe-pP6Vf2i9.js";
|
|
4
|
-
import { at as OWNED_COMMAND_SPECS, ot as isOwnedCommandName, r as agentCommandHelpLines, st as parseCommand } from "../chunks/agent-api-core-
|
|
4
|
+
import { at as OWNED_COMMAND_SPECS, ot as isOwnedCommandName, r as agentCommandHelpLines, st as parseCommand } from "../chunks/agent-api-core-CrEjJDVL.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";
|
|
@@ -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-Cm4kUwby.js");
|
|
71
71
|
return runPairCli({
|
|
72
72
|
isListing: values.list === true,
|
|
73
73
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -79,23 +79,23 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
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-Bq-ccP1l.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-88mfGt7s.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-BYSOpJ4z.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-B9AX02DF.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-BYSOpJ4z.js");
|
|
99
99
|
return runPrActionReportCli(parsed);
|
|
100
100
|
},
|
|
101
101
|
vault: async ({ values }) => {
|
|
@@ -111,7 +111,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
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-1j9esl5t.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-Cg8ufPzK.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-Cg8ufPzK.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-DHvKoFRR.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-BzNYsokU.js");
|
|
284
284
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
285
285
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
286
286
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -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-DzNF5X6G.js";
|
|
@@ -4,20 +4,20 @@ import { n as buildAgentEnv } from "./spawn-env-D18R5qXK.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-5Zldhz4N.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";
|
|
11
11
|
import { n as shellQuote, t as buildHookCommand } from "./hook-command-core-Bu5xBKp3.js";
|
|
12
12
|
import { a as QWEN_SANE_YOLO_FLAVOR, n as COPILOT_SANE_YOLO_FLAVOR, o as SANE_YOLO_PATH_ENV, r as GEMINI_SANE_YOLO_FLAVOR, s as saneYoloEnv, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-DqvfS8ed.js";
|
|
13
|
-
import { Vt as HTTP_URL_RE, fn as PLAN_HOOK_EVENT, hn as PLAN_TOOL_NAME, ln as UpdateChannel, mn as PLAN_RESULT_HOOK_EVENT, nn as InstallFlavor } from "./control-messages-
|
|
13
|
+
import { Vt as HTTP_URL_RE, fn as PLAN_HOOK_EVENT, hn as PLAN_TOOL_NAME, ln as UpdateChannel, mn as PLAN_RESULT_HOOK_EVENT, nn as InstallFlavor } from "./control-messages-LGIHSsHt.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 { r as nextBackoffMs } from "./backoff-CMhw1Fu8.js";
|
|
17
17
|
import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
|
|
18
18
|
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";
|
|
19
19
|
import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, s as readOptionalText } from "./agent-home-rRvnBnrO.js";
|
|
20
|
-
import { c as SHELL_AGENT_ID } from "./config-
|
|
20
|
+
import { c as SHELL_AGENT_ID } from "./config-TRkvzV8I.js";
|
|
21
21
|
import fs from "node:fs";
|
|
22
22
|
import path from "node:path";
|
|
23
23
|
import os from "node:os";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-MeDgnaBK.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveHookTarget } from "./hook-relay-core-ne0rkTgG.js";
|
|
2
|
-
import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
2
|
+
import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-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";
|
|
5
5
|
import { M as WhiteboardAgentReply, T as STEP_STATUSES, w as Op } from "./whiteboard-DRJXZElZ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { sn as pullRequestKeyFromReference } from "./control-messages-
|
|
1
|
+
import { sn as pullRequestKeyFromReference } from "./control-messages-LGIHSsHt.js";
|
|
2
2
|
import { K as TASK_TITLE_CONTROL_CHARACTERS, M as RefinedTaskTitle, N as SESSION_COMMANDS, b as AgentWhyRequest, c as AgentCheckoutRequest, f as AgentPacksRequest, g as AgentSendRequest, h as AgentReviewsRequest, l as AgentCloseRequest, m as AgentReadRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAnswerRequest, p as AgentPullRequestRequest, s as AgentAttentionRequest, t as AGENT_API_VERBS, u as AgentEditRequest, v as AgentSettingsRequest, y as AgentSpawnRequest } from "./session-CDXol8Ub.js";
|
|
3
3
|
import { n as AgentNeedRequest } from "./secrets-DUjhXqjU.js";
|
|
4
4
|
import { N as WhiteboardAgentRequest } from "./whiteboard-DRJXZElZ.js";
|
|
5
5
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
6
6
|
import { a as firstCodePoints } from "./text-BDF4aFhQ.js";
|
|
7
|
-
import { l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
7
|
+
import { l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-TRkvzV8I.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { parseArgs } from "node:util";
|
|
10
10
|
import crypto from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as isElementKind, H as KIND_NAMES, R as linesOfBox, U as elementTableOf,
|
|
1
|
+
import { G as isElementKind, H as KIND_NAMES, R as linesOfBox, U as elementTableOf, d as BoardRecord, h as Box, j as WHITEBOARD_LIMITS } from "./whiteboard-DRJXZElZ.js";
|
|
2
2
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
3
3
|
import { o as assetIdOf, t as dependencyWireId } from "./whiteboard-plan-core-G8PV9pyu.js";
|
|
4
4
|
import { t as caseFoldedPathKey } from "./paths-C2u2R_6l.js";
|
|
@@ -627,13 +627,6 @@ function headRowsOf(record) {
|
|
|
627
627
|
logBodies: record.log.map((change) => JSON.stringify(change))
|
|
628
628
|
};
|
|
629
629
|
}
|
|
630
|
-
function isEveryRowDecodable(storedRows) {
|
|
631
|
-
try {
|
|
632
|
-
return [...elementTableOfStoredRows(storedRows).values()].length === storedRows.length;
|
|
633
|
-
} catch {
|
|
634
|
-
return false;
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
630
|
function elementPageOfRows(rows) {
|
|
638
631
|
const storedRows = [];
|
|
639
632
|
for (const row of rows) {
|
|
@@ -644,7 +637,6 @@ function elementPageOfRows(rows) {
|
|
|
644
637
|
body: row.body
|
|
645
638
|
});
|
|
646
639
|
}
|
|
647
|
-
if (!isEveryRowDecodable(storedRows)) return { isDamaged: true };
|
|
648
640
|
return {
|
|
649
641
|
elementIds: storedRows.map((row) => row.id),
|
|
650
642
|
elementKinds: storedRows.map((row) => row.kind),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nn as repoParts, _n as PrFlowsSettings, gt as SessionPrLinks, q as TaskTitle } from "./session-CDXol8Ub.js";
|
|
2
2
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
3
|
-
import { $ as BRANCH_GC_STALE_DAYS_RANGE, B as DISCORD_CHANNEL_NAME_RE, Ct as POSTHOG_TRANSIENT_RECURRENCE_RANGE, Et as TASK_TITLE_TIMEOUT_RANGE, Ot as USAGE_INTEGER_RANGES, Q as BRANCH_GC_INTERVAL_MS_RANGE, St as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, V as SKILL_NAME_RE, X as WorkflowsSettingsUpdate, Y as WorkflowsSettings, _t as POSTHOG_PROJECT_ID_RANGE, bt as POSTHOG_TRAFFIC_COOLDOWN_RANGE, dt as POSTHOG_ESCALATION_RANGE, et as COMMUNITY_INTERVAL_MINUTES_RANGE, f as GitObjectSha, ft as POSTHOG_FIX_TIMEOUT_RANGE, gt as POSTHOG_MIN_USERS_RANGE, ht as POSTHOG_MAX_CONCURRENT_RANGE, i as HostEntries, ln as UpdateChannel, lt as PORT_RANGE, m as RaceId, mt as POSTHOG_INVESTIGATION_TIMEOUT_RANGE, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, pt as POSTHOG_INTERVAL_RANGE, st as MEMORY_RESERVE_MB_RANGE, tt as FIXED_PORT_RANGE, ut as POSITIVE_NUMBER_RANGE, v as AgentHomeKind, vt as POSTHOG_RECURRENCE_WINDOW_RANGE, wt as REPLAY_BUFFER_KB_RANGE, xt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, y as AgentSetup, yt as POSTHOG_TRAFFIC_BASELINE_RANGE } from "./control-messages-
|
|
3
|
+
import { $ as BRANCH_GC_STALE_DAYS_RANGE, B as DISCORD_CHANNEL_NAME_RE, Ct as POSTHOG_TRANSIENT_RECURRENCE_RANGE, Et as TASK_TITLE_TIMEOUT_RANGE, Ot as USAGE_INTEGER_RANGES, Q as BRANCH_GC_INTERVAL_MS_RANGE, St as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, V as SKILL_NAME_RE, X as WorkflowsSettingsUpdate, Y as WorkflowsSettings, _t as POSTHOG_PROJECT_ID_RANGE, bt as POSTHOG_TRAFFIC_COOLDOWN_RANGE, dt as POSTHOG_ESCALATION_RANGE, et as COMMUNITY_INTERVAL_MINUTES_RANGE, f as GitObjectSha, ft as POSTHOG_FIX_TIMEOUT_RANGE, gt as POSTHOG_MIN_USERS_RANGE, ht as POSTHOG_MAX_CONCURRENT_RANGE, i as HostEntries, ln as UpdateChannel, lt as PORT_RANGE, m as RaceId, mt as POSTHOG_INVESTIGATION_TIMEOUT_RANGE, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, pt as POSTHOG_INTERVAL_RANGE, st as MEMORY_RESERVE_MB_RANGE, tt as FIXED_PORT_RANGE, ut as POSITIVE_NUMBER_RANGE, v as AgentHomeKind, vt as POSTHOG_RECURRENCE_WINDOW_RANGE, wt as REPLAY_BUFFER_KB_RANGE, xt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, y as AgentSetup, yt as POSTHOG_TRAFFIC_BASELINE_RANGE } from "./control-messages-LGIHSsHt.js";
|
|
4
4
|
import { c as QuestionManagerSettings } from "./question-manager-C_RzS1Ot.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as equalsIgnoringCaseOnWindows, r as isPathInside } from "./paths-C2u2R_6l.js";
|
|
2
2
|
import { a as withoutEnvSecrets, i as withEnvSecrets, n as readEnvSecrets } from "./config-secrets-core-Dl2-_qLd.js";
|
|
3
|
-
import { d as BranchGcFileSettings, f as USAGE_COST_MODES, i as Config, m as normalizeLegacyConfigNumbers, n as BUILTIN_AGENT_IDS, s as RUNTIME_CONFIG_SCALAR_KEYS, t as AGENT_ID_SHAPE_MESSAGE, u as configIssueMessage } from "./config-
|
|
4
|
-
import { At as USAGE_SCAN_INTERVAL_RANGE, Dt as USAGE_BUDGET_RANGE, Et as TASK_TITLE_TIMEOUT_RANGE, Mt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, Ot as USAGE_INTEGER_RANGES, S as DEFAULT_MODELS, St as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, Tt as REVIEWS_TURN_LIMIT_RANGE, _t as POSTHOG_PROJECT_ID_RANGE, an as 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-
|
|
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
|
+
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
6
|
import { l as PROBE_CREDENTIALS, m as WATCHER_LANE_IDS } from "./watcher-link-CmEbXgiN.js";
|
|
7
7
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as loadConfigFile } from "./config-store-5Zldhz4N.js";
|
|
@@ -1154,6 +1154,12 @@ var inspectClientVariants = [
|
|
|
1154
1154
|
path: sessionDocPath,
|
|
1155
1155
|
requestId
|
|
1156
1156
|
}),
|
|
1157
|
+
loose("session-doc-asset-read", {
|
|
1158
|
+
id: sessionId,
|
|
1159
|
+
path: sessionDocPath,
|
|
1160
|
+
src: sessionDocPath,
|
|
1161
|
+
requestId
|
|
1162
|
+
}),
|
|
1157
1163
|
loose("session-doc-save", {
|
|
1158
1164
|
id: sessionId,
|
|
1159
1165
|
path: sessionDocPath,
|
|
@@ -1202,6 +1208,16 @@ var inspectServerVariants = [
|
|
|
1202
1208
|
hash: z.string().optional(),
|
|
1203
1209
|
error: optionalError
|
|
1204
1210
|
}),
|
|
1211
|
+
loose("session-doc-asset-response", {
|
|
1212
|
+
requestId,
|
|
1213
|
+
id: sessionId,
|
|
1214
|
+
path: z.string(),
|
|
1215
|
+
src: z.string(),
|
|
1216
|
+
ok: z.boolean(),
|
|
1217
|
+
mime: z.string().optional(),
|
|
1218
|
+
base64: z.string().optional(),
|
|
1219
|
+
error: optionalError
|
|
1220
|
+
}),
|
|
1205
1221
|
loose("session-doc-save-result", {
|
|
1206
1222
|
requestId,
|
|
1207
1223
|
id: sessionId,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as HostEntries } from "./control-messages-
|
|
1
|
+
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
|
-
import { r as removeHostFrom, t as addHostTo } from "./host-registry-core-
|
|
5
|
-
import { i as saveValidatedConfig, n as requireView, t as processIo } from "./settings-cli-
|
|
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-ULfUvcI3.js";
|
|
6
6
|
// server/hosts/host-cli.ts
|
|
7
7
|
var DEFAULT_DASHBOARD_PORT = 3e3;
|
|
8
8
|
function registeredHosts() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as HostEntry } from "./control-messages-
|
|
1
|
+
import { a as HostEntry } from "./control-messages-LGIHSsHt.js";
|
|
2
2
|
// server/hosts/core/host-registry-core.ts
|
|
3
3
|
var LOOPBACK_TARGET_RE = /^(?:[^@]*@)?(?:localhost|127(?:\.\d{1,3}){3}|\[?::1\]?|0\.0\.0\.0)$/i;
|
|
4
4
|
function addHostTo(hosts, candidate) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
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 buildAiGenerationEvents, 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 adapterBucket, U as DEEP_HISTORY_SCROLLBACK_LINES, X as TELEMETRY_BATCH_URL, Y as FIRST_RUN_NOTICE, Z as TELEMETRY_FLAGS_URL, _ as sessionIdFromBranch, _t as canonicalizePath, a as generateProjectId, at as codexUserIdOf, b as DEFAULT_TIMER_FNS, ct as decideTelemetryConsent, d as DEFAULT_CONFIG, dt as parsePosthogReleaseId, et as buildBrowserExceptionProperties, f as DEFAULT_BRANCH_GC_PREFIXES, ft as resolveProjectToken, g as planWorktreeGc, gt as TelemetryState, h as planBranchGc, ht as TELEMETRY_EVENT_SCHEMAS, i as ensureProjectIds, it as claudeAccountUuidOf, k as SETTINGS_INDEX, lt as exceptionFingerprint, m as matchedPrefix, mt as PendingCrashReport, n as createConfigStore, nt as buildPersonProperties, o as glimmervoidHomeDir, ot as decideIsDevInstall, p as isGcCandidateWorktree, pt as DashboardTelemetryReport, q as parseDataAttach, r as ABORT_CONFIG_SAVE, rt as classifySessionExit, st as decideRemoteTelemetryState, tt as buildExceptionProperties, ut as nodeMajorVersion, v as usablePrefixes, vt as comparableDirectoryPath, x as unrefTimer, y as worktreeIntegrationTips, yt as isSameDirectoryPath, z as valueAtPath } from "./config-store-
|
|
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-DzNF5X6G.js";
|
|
4
|
+
import { $ as buildAiGenerationEvents, 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 adapterBucket, U as DEEP_HISTORY_SCROLLBACK_LINES, X as TELEMETRY_BATCH_URL, Y as FIRST_RUN_NOTICE, Z as TELEMETRY_FLAGS_URL, _ as sessionIdFromBranch, _t as canonicalizePath, a as generateProjectId, at as codexUserIdOf, b as DEFAULT_TIMER_FNS, ct as decideTelemetryConsent, d as DEFAULT_CONFIG, dt as parsePosthogReleaseId, et as buildBrowserExceptionProperties, f as DEFAULT_BRANCH_GC_PREFIXES, ft as resolveProjectToken, g as planWorktreeGc, gt as TelemetryState, h as planBranchGc, ht as TELEMETRY_EVENT_SCHEMAS, i as ensureProjectIds, it as claudeAccountUuidOf, k as SETTINGS_INDEX, lt as exceptionFingerprint, m as matchedPrefix, mt as PendingCrashReport, n as createConfigStore, nt as buildPersonProperties, o as glimmervoidHomeDir, ot as decideIsDevInstall, p as isGcCandidateWorktree, pt as DashboardTelemetryReport, q as parseDataAttach, r as ABORT_CONFIG_SAVE, rt as classifySessionExit, st as decideRemoteTelemetryState, tt as buildExceptionProperties, ut as nodeMajorVersion, v as usablePrefixes, vt as comparableDirectoryPath, x as unrefTimer, y as worktreeIntegrationTips, yt as isSameDirectoryPath, z as valueAtPath } from "./config-store-5Zldhz4N.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";
|
|
@@ -11,23 +11,23 @@ import { $ as MyPrCheckContextsResponse, $t as PR_ACTION_TOKEN_ENV, A as QUIET_N
|
|
|
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 WHITEBOARD_ASSET_ROUTE, B as sparseBoardReply, C as Note, E as STICKY_TONES, F as dialParamsProblemOf, J as ICON_NAMES, L as fieldNamesOfShape, P as Wire, Q as DEVICE_NAMES, R as linesOfBox, U as elementTableOf, W as elementTableOfStoredRows, a as BOARD_PAGE_THEME_MESSAGE, d as BoardRecord, f as BoardRegion, h as Box, i as BOARD_PAGE_PARAMS_MESSAGE, j as WHITEBOARD_LIMITS, k as Stroke, n as BOARD_MEDIA_MAX_EDGE_PX, r as BOARD_PAGE_ESCAPE_MESSAGE, s as BOX_SHAPES, t as BOARD_DOC_CAP_BYTES, v as DialManifest, w as Op, x as Frame, z as mediaOfBox } from "./whiteboard-DRJXZElZ.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 hintFor, A as fencedUntrustedSections, B as RESUME_ID_RE, C as cleanTaskPrompt, D as extractNotifiedTaskIds, E as extractHookTaskTitle, F as resolveRefocusTaskTitle, G as shouldAdoptReportedResumeId, H as pickAutoResume, I as resolveTaskTitle, J as listRepoWorktreePaths, K as claudeProjectsDir, L as seedTaskTitleSources, M as isSubstantivePrompt, N as parseRefinedSessionName, O as extractOscTaskTitle, P as parseRefinedTaskTitle, R as startsWithSessionName, S as chooseRefinedSessionName, T as extractAiTitle, U as resolveResumeTarget, V as isConversationReplacedAtStartup, W as resumePromptFor, X as nextSuggestedName, Y as isAutoNameOf, Z as describeSessionLimits, _ as projectReviewDetail, a as checkAgentReply, b as buildPersistedTaskTitle, c as deriveChildSessionName, d as describePushLanding, et as permitsHelpCommand, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, it as toolHookFactsOf, j as isSelfWakePrompt, k as extractPromptTaskTitle, l as describeChildEndNote, n as REFUSAL_REASON, nt as routeAgentNotes, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as listRepoConversations, rt as supervisionLine, s as decideSpawnAllowance, tt as promptHintFor, u as describeKeptChildAttention, v as projectReviews, w as decideTaskTitleRefinement, x as buildTaskTitleRefinementPrompt, y as tokensMatch, z as AUTO_CONTINUE_PROMPT } from "./agent-api-core-
|
|
14
|
+
import { $ as hintFor, A as fencedUntrustedSections, B as RESUME_ID_RE, C as cleanTaskPrompt, D as extractNotifiedTaskIds, E as extractHookTaskTitle, F as resolveRefocusTaskTitle, G as shouldAdoptReportedResumeId, H as pickAutoResume, I as resolveTaskTitle, J as listRepoWorktreePaths, K as claudeProjectsDir, L as seedTaskTitleSources, M as isSubstantivePrompt, N as parseRefinedSessionName, O as extractOscTaskTitle, P as parseRefinedTaskTitle, R as startsWithSessionName, S as chooseRefinedSessionName, T as extractAiTitle, U as resolveResumeTarget, V as isConversationReplacedAtStartup, W as resumePromptFor, X as nextSuggestedName, Y as isAutoNameOf, Z as describeSessionLimits, _ as projectReviewDetail, a as checkAgentReply, b as buildPersistedTaskTitle, c as deriveChildSessionName, d as describePushLanding, et as permitsHelpCommand, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, it as toolHookFactsOf, j as isSelfWakePrompt, k as extractPromptTaskTitle, l as describeChildEndNote, n as REFUSAL_REASON, nt as routeAgentNotes, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as listRepoConversations, rt as supervisionLine, s as decideSpawnAllowance, tt as promptHintFor, u as describeKeptChildAttention, v as projectReviews, w as decideTaskTitleRefinement, x as buildTaskTitleRefinementPrompt, y as tokensMatch, z as AUTO_CONTINUE_PROMPT } from "./agent-api-core-CrEjJDVL.js";
|
|
15
15
|
import { a as mcpLaunchFor, o as parsePresentedCredential } from "./agent-config-BJVJpVzX.js";
|
|
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-zZ8VvAYn.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
|
-
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-
|
|
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-
|
|
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-DmkQWD4j.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-DGhhRF3L.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
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-sTdkoo2H.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
|
-
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-
|
|
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-Cy4ZqJnS.js";
|
|
31
31
|
import { n as DEFAULT_MAX_MS, r as nextBackoffMs, t as DEFAULT_BASE_MS } from "./backoff-CMhw1Fu8.js";
|
|
32
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_HOST, p as WATCHER_HOME_ENV } from "./watcher-link-CmEbXgiN.js";
|
|
33
33
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
@@ -41,7 +41,7 @@ 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
42
|
import { t as createPrFlowsExternal } from "./pr-flows-external-BSvnsau1.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
|
-
import { n as isSameHostEntry, r as removeHostFrom, t as addHostTo } from "./host-registry-core-
|
|
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";
|
|
46
46
|
import { a as missingReferenceNames, c as withoutApproval, i as denialEndsAtMs, n as approvalsOf, r as decideNeed, s as withApprovals, t as approvalRowsOf } from "./secrets-broker-core-R0yZwtMq.js";
|
|
47
47
|
import { createRequire } from "node:module";
|
|
@@ -10061,6 +10061,14 @@ function createBoardStore(boardsRoot) {
|
|
|
10061
10061
|
unreadableBoardIds
|
|
10062
10062
|
};
|
|
10063
10063
|
}
|
|
10064
|
+
async function isEveryElementIndexed(elements) {
|
|
10065
|
+
try {
|
|
10066
|
+
await indexBoardInSlices(elements, ELEMENT_PAGE_SIZE, setImmediate$1);
|
|
10067
|
+
return true;
|
|
10068
|
+
} catch {
|
|
10069
|
+
return false;
|
|
10070
|
+
}
|
|
10071
|
+
}
|
|
10064
10072
|
async function loadElements(head, markStep) {
|
|
10065
10073
|
const storedRows = [];
|
|
10066
10074
|
const startedAt = performance$1.now();
|
|
@@ -10098,7 +10106,7 @@ function createBoardStore(boardsRoot) {
|
|
|
10098
10106
|
readMs: Math.round(performance$1.now() - startedAt)
|
|
10099
10107
|
});
|
|
10100
10108
|
if (elements.size > WHITEBOARD_LIMITS.elements) return null;
|
|
10101
|
-
await
|
|
10109
|
+
if (!await isEveryElementIndexed(elements)) return null;
|
|
10102
10110
|
return recordOfRows(headRowsOf(head), elements);
|
|
10103
10111
|
}
|
|
10104
10112
|
return {
|
|
@@ -56209,6 +56217,33 @@ function createInspectHandlers(context, deps) {
|
|
|
56209
56217
|
}));
|
|
56210
56218
|
}
|
|
56211
56219
|
},
|
|
56220
|
+
"session-doc-asset-read": async (message, ws) => {
|
|
56221
|
+
const reply = {
|
|
56222
|
+
type: "session-doc-asset-response",
|
|
56223
|
+
requestId: message.requestId ?? null,
|
|
56224
|
+
id: message.id,
|
|
56225
|
+
path: message.path,
|
|
56226
|
+
src: message.src
|
|
56227
|
+
};
|
|
56228
|
+
const session = findSession(message);
|
|
56229
|
+
if (!sessionDocs || !session) return ws.send(JSON.stringify({
|
|
56230
|
+
...reply,
|
|
56231
|
+
ok: false,
|
|
56232
|
+
error: "Session not found"
|
|
56233
|
+
}));
|
|
56234
|
+
try {
|
|
56235
|
+
ws.send(JSON.stringify({
|
|
56236
|
+
...reply,
|
|
56237
|
+
...await sessionDocs.readImage(session, message.path, message.src)
|
|
56238
|
+
}));
|
|
56239
|
+
} catch (error) {
|
|
56240
|
+
ws.send(JSON.stringify({
|
|
56241
|
+
...reply,
|
|
56242
|
+
ok: false,
|
|
56243
|
+
error: `Read failed: ${errorMessage(error)}`
|
|
56244
|
+
}));
|
|
56245
|
+
}
|
|
56246
|
+
},
|
|
56212
56247
|
"session-coherence-journal": async (message, ws) => {
|
|
56213
56248
|
const reply = {
|
|
56214
56249
|
type: "session-coherence-journal-response",
|
|
@@ -56299,6 +56334,15 @@ function createInspectHandlers(context, deps) {
|
|
|
56299
56334
|
ok: false,
|
|
56300
56335
|
error: message
|
|
56301
56336
|
}),
|
|
56337
|
+
"session-doc-asset-read": (msg, requestId, message) => ({
|
|
56338
|
+
type: "session-doc-asset-response",
|
|
56339
|
+
requestId,
|
|
56340
|
+
id: typeof msg?.id === "string" ? msg.id : "",
|
|
56341
|
+
path: typeof msg?.path === "string" ? msg.path : "",
|
|
56342
|
+
src: typeof msg?.src === "string" ? msg.src : "",
|
|
56343
|
+
ok: false,
|
|
56344
|
+
error: message
|
|
56345
|
+
}),
|
|
56302
56346
|
"session-doc-save": (msg, requestId, message) => ({
|
|
56303
56347
|
type: "session-doc-save-result",
|
|
56304
56348
|
requestId,
|
|
@@ -63897,6 +63941,18 @@ function createAccountIdReader({ env, homeDir, readTextFile = readTextFileOrNull
|
|
|
63897
63941
|
}
|
|
63898
63942
|
// server/session/core/session-docs-core.ts
|
|
63899
63943
|
var NUL_CHARACTER = String.fromCharCode(0);
|
|
63944
|
+
var DOC_IMAGE_CAP_BYTES = 2097152;
|
|
63945
|
+
var FENCE_OPENER = /^ {0,3}(`{3,}|~{3,})/;
|
|
63946
|
+
var MARKDOWN_IMAGE_PATTERN = /!\[[^\]\n]*\]\(\s*<?([^\s)<>]+)>?(?:\s+"[^"\n]*")?\s*\)/g;
|
|
63947
|
+
var IMAGE_MIME_BY_EXTENSION = Object.freeze({
|
|
63948
|
+
".png": "image/png",
|
|
63949
|
+
".jpg": "image/jpeg",
|
|
63950
|
+
".jpeg": "image/jpeg",
|
|
63951
|
+
".gif": "image/gif",
|
|
63952
|
+
".webp": "image/webp",
|
|
63953
|
+
".svg": "image/svg+xml",
|
|
63954
|
+
".avif": "image/avif"
|
|
63955
|
+
});
|
|
63900
63956
|
var DOC_REFUSAL_COPY = Object.freeze({
|
|
63901
63957
|
missing: "no file exists at that path, so write it first and surface it again",
|
|
63902
63958
|
unreadable: "the file cannot be read",
|
|
@@ -63907,7 +63963,10 @@ var DOC_REFUSAL_COPY = Object.freeze({
|
|
|
63907
63963
|
binary: "the file is not UTF-8 text",
|
|
63908
63964
|
"not-surfaced": "that file was not surfaced by this session",
|
|
63909
63965
|
"changed-on-disk": "the file changed on disk since it was opened, so reload it before saving",
|
|
63910
|
-
"hard-linked": "the file has other hard links, so it may live outside this session's checkout"
|
|
63966
|
+
"hard-linked": "the file has other hard links, so it may live outside this session's checkout",
|
|
63967
|
+
"image-not-referenced": "the doc does not show that image",
|
|
63968
|
+
"not-an-image": "that file is not a PNG, JPEG, GIF, WebP, SVG or AVIF image",
|
|
63969
|
+
"image-too-large": `the image is over ${DOC_IMAGE_CAP_BYTES / 1024 / 1024} MiB`
|
|
63911
63970
|
});
|
|
63912
63971
|
function describeDocRefusal(reason) {
|
|
63913
63972
|
return DOC_REFUSAL_COPY[reason];
|
|
@@ -63971,9 +64030,27 @@ function encodeDocText(text, usesCrlf) {
|
|
|
63971
64030
|
function withSurfacedDoc(docs, surfaced, maxDocs) {
|
|
63972
64031
|
return [surfaced, ...docs.filter((doc) => doc.path !== surfaced.path)].slice(0, maxDocs);
|
|
63973
64032
|
}
|
|
64033
|
+
function imageReferencesOf(docText) {
|
|
64034
|
+
const imageSources = /* @__PURE__ */ new Set();
|
|
64035
|
+
let openFence = null;
|
|
64036
|
+
for (const line of docText.split("\n")) {
|
|
64037
|
+
const fence = FENCE_OPENER.exec(line)?.[1] ?? null;
|
|
64038
|
+
if (fence !== null && (openFence === null || fence.startsWith(openFence))) {
|
|
64039
|
+
openFence = openFence === null ? fence : null;
|
|
64040
|
+
continue;
|
|
64041
|
+
}
|
|
64042
|
+
if (openFence !== null) continue;
|
|
64043
|
+
for (const match of line.matchAll(MARKDOWN_IMAGE_PATTERN)) imageSources.add(match[1] ?? "");
|
|
64044
|
+
}
|
|
64045
|
+
imageSources.delete("");
|
|
64046
|
+
return imageSources;
|
|
64047
|
+
}
|
|
64048
|
+
function imageMimeOf(imageSource) {
|
|
64049
|
+
return IMAGE_MIME_BY_EXTENSION[path.extname(imageSource).toLowerCase()] ?? null;
|
|
64050
|
+
}
|
|
63974
64051
|
// server/session/session-docs-wiring.ts
|
|
63975
|
-
async function readAtMostCapPlusOneByte(handle) {
|
|
63976
|
-
const buffer = Buffer.alloc(
|
|
64052
|
+
async function readAtMostCapPlusOneByte(handle, capBytes) {
|
|
64053
|
+
const buffer = Buffer.alloc(capBytes + 1);
|
|
63977
64054
|
let filledBytes = 0;
|
|
63978
64055
|
while (filledBytes < buffer.byteLength) {
|
|
63979
64056
|
const { bytesRead } = await handle.read(buffer, filledBytes, buffer.byteLength - filledBytes, filledBytes);
|
|
@@ -63992,7 +64069,7 @@ async function readOpenedDoc(file) {
|
|
|
63992
64069
|
ok: true,
|
|
63993
64070
|
loaded: {
|
|
63994
64071
|
file,
|
|
63995
|
-
bytes: await readAtMostCapPlusOneByte(file.handle)
|
|
64072
|
+
bytes: await readAtMostCapPlusOneByte(file.handle, SESSION_DOC_BODY_CAP_BYTES)
|
|
63996
64073
|
}
|
|
63997
64074
|
};
|
|
63998
64075
|
} catch {
|
|
@@ -64031,6 +64108,39 @@ async function loadContainedDoc(candidate, root) {
|
|
|
64031
64108
|
await opened.file.handle.close().catch(() => {});
|
|
64032
64109
|
}
|
|
64033
64110
|
}
|
|
64111
|
+
async function loadContainedImage(candidate, root) {
|
|
64112
|
+
const opened = await openVerifiedDoc(candidate, root, false);
|
|
64113
|
+
if (!opened.ok) return opened;
|
|
64114
|
+
try {
|
|
64115
|
+
if (imageMimeOf(opened.file.realPath) === null) return {
|
|
64116
|
+
ok: false,
|
|
64117
|
+
reason: "not-an-image"
|
|
64118
|
+
};
|
|
64119
|
+
if (opened.file.stat.size > 2097152) return {
|
|
64120
|
+
ok: false,
|
|
64121
|
+
reason: "image-too-large"
|
|
64122
|
+
};
|
|
64123
|
+
const bytes = await readAtMostCapPlusOneByte(opened.file.handle, DOC_IMAGE_CAP_BYTES);
|
|
64124
|
+
if (bytes.byteLength > 2097152) return {
|
|
64125
|
+
ok: false,
|
|
64126
|
+
reason: "image-too-large"
|
|
64127
|
+
};
|
|
64128
|
+
return {
|
|
64129
|
+
ok: true,
|
|
64130
|
+
loaded: {
|
|
64131
|
+
file: opened.file,
|
|
64132
|
+
bytes
|
|
64133
|
+
}
|
|
64134
|
+
};
|
|
64135
|
+
} catch {
|
|
64136
|
+
return {
|
|
64137
|
+
ok: false,
|
|
64138
|
+
reason: "unreadable"
|
|
64139
|
+
};
|
|
64140
|
+
} finally {
|
|
64141
|
+
await opened.file.handle.close().catch(() => {});
|
|
64142
|
+
}
|
|
64143
|
+
}
|
|
64034
64144
|
async function overwriteThroughHandle(handle, bytes) {
|
|
64035
64145
|
let writtenBytes = 0;
|
|
64036
64146
|
while (writtenBytes < bytes.byteLength) {
|
|
@@ -64072,6 +64182,7 @@ async function nameWithinRoot(root, realPath) {
|
|
|
64072
64182
|
}
|
|
64073
64183
|
function createSessionDocsWiring({ broadcastControl, now = Date.now }) {
|
|
64074
64184
|
const docsBySessionId = /* @__PURE__ */ new Map();
|
|
64185
|
+
const surfacedImagesByDocPathBySessionId = /* @__PURE__ */ new Map();
|
|
64075
64186
|
const saveQueue = createKeyedSerialQueue();
|
|
64076
64187
|
function broadcastDocs(sessionId) {
|
|
64077
64188
|
broadcastControl({
|
|
@@ -64081,12 +64192,22 @@ function createSessionDocsWiring({ broadcastControl, now = Date.now }) {
|
|
|
64081
64192
|
});
|
|
64082
64193
|
}
|
|
64083
64194
|
function forgetSession(sessionId) {
|
|
64195
|
+
surfacedImagesByDocPathBySessionId.delete(sessionId);
|
|
64084
64196
|
if (!docsBySessionId.delete(sessionId)) return;
|
|
64085
64197
|
broadcastDocs(sessionId);
|
|
64086
64198
|
}
|
|
64087
64199
|
function isSurfaced(session, docPath) {
|
|
64088
64200
|
return (docsBySessionId.get(session.id) ?? []).some((doc) => doc.path === docPath);
|
|
64089
64201
|
}
|
|
64202
|
+
function rememberSurfacedImages(sessionId, surfacedDocs, docPath, imageSources) {
|
|
64203
|
+
const previousImages = surfacedImagesByDocPathBySessionId.get(sessionId) ?? /* @__PURE__ */ new Map();
|
|
64204
|
+
const keptImages = new Map(surfacedDocs.flatMap((doc) => {
|
|
64205
|
+
const docImages = previousImages.get(doc.path);
|
|
64206
|
+
return docImages ? [[doc.path, docImages]] : [];
|
|
64207
|
+
}));
|
|
64208
|
+
keptImages.set(docPath, imageSources);
|
|
64209
|
+
surfacedImagesByDocPathBySessionId.set(sessionId, keptImages);
|
|
64210
|
+
}
|
|
64090
64211
|
async function surface(session, request) {
|
|
64091
64212
|
const root = session.effectiveCwd();
|
|
64092
64213
|
const outcome = await loadContainedDoc(path.resolve(root, request.path), root);
|
|
@@ -64106,7 +64227,9 @@ function createSessionDocsWiring({ broadcastControl, now = Date.now }) {
|
|
|
64106
64227
|
surfacedAt: now()
|
|
64107
64228
|
};
|
|
64108
64229
|
if (!docsBySessionId.has(session.id)) session.once("teardown", () => forgetSession(session.id));
|
|
64109
|
-
|
|
64230
|
+
const surfacedDocs = withSurfacedDoc(docsBySessionId.get(session.id) ?? [], doc, 20);
|
|
64231
|
+
docsBySessionId.set(session.id, surfacedDocs);
|
|
64232
|
+
rememberSurfacedImages(session.id, surfacedDocs, realPath, imageReferencesOf(decoded.text));
|
|
64110
64233
|
broadcastDocs(session.id);
|
|
64111
64234
|
return {
|
|
64112
64235
|
ok: true,
|
|
@@ -64134,6 +64257,31 @@ function createSessionDocsWiring({ broadcastControl, now = Date.now }) {
|
|
|
64134
64257
|
hash: hashDocBytes(outcome.loaded.bytes)
|
|
64135
64258
|
};
|
|
64136
64259
|
}
|
|
64260
|
+
async function readImage(session, docPath, imageSource) {
|
|
64261
|
+
if (!isSurfaced(session, docPath)) return {
|
|
64262
|
+
ok: false,
|
|
64263
|
+
error: describeDocRefusal("not-surfaced")
|
|
64264
|
+
};
|
|
64265
|
+
if (!(surfacedImagesByDocPathBySessionId.get(session.id)?.get(docPath))?.has(imageSource)) return {
|
|
64266
|
+
ok: false,
|
|
64267
|
+
error: describeDocRefusal("image-not-referenced")
|
|
64268
|
+
};
|
|
64269
|
+
const mime = imageMimeOf(imageSource);
|
|
64270
|
+
if (mime === null) return {
|
|
64271
|
+
ok: false,
|
|
64272
|
+
error: describeDocRefusal("not-an-image")
|
|
64273
|
+
};
|
|
64274
|
+
const outcome = await loadContainedImage(path.resolve(path.dirname(docPath), imageSource), session.effectiveCwd());
|
|
64275
|
+
if (!outcome.ok) return {
|
|
64276
|
+
ok: false,
|
|
64277
|
+
error: describeDocRefusal(outcome.reason)
|
|
64278
|
+
};
|
|
64279
|
+
return {
|
|
64280
|
+
ok: true,
|
|
64281
|
+
mime,
|
|
64282
|
+
base64: outcome.loaded.bytes.toString("base64")
|
|
64283
|
+
};
|
|
64284
|
+
}
|
|
64137
64285
|
async function writeIfUnchanged(session, docPath, text, baseHash) {
|
|
64138
64286
|
const opened = await openVerifiedDoc(docPath, session.effectiveCwd(), true);
|
|
64139
64287
|
if (!opened.ok) return {
|
|
@@ -64164,6 +64312,7 @@ function createSessionDocsWiring({ broadcastControl, now = Date.now }) {
|
|
|
64164
64312
|
return {
|
|
64165
64313
|
surface,
|
|
64166
64314
|
read,
|
|
64315
|
+
readImage,
|
|
64167
64316
|
save,
|
|
64168
64317
|
snapshotMessage
|
|
64169
64318
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { en as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-CDXol8Ub.js";
|
|
2
|
-
import { t as ClientMessage } from "./control-messages-
|
|
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
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-sTdkoo2H.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
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-DmkQWD4j.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";
|
|
@@ -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-Cg8ufPzK.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");
|