glimmervoid 0.52.2-next.706 → 0.52.2-next.707
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 +16 -16
- package/dist/chunks/{adapters-w5GOkhlK.js → adapters-C3cStG7e.js} +1 -1
- package/dist/chunks/{adapters-FEi1xOts.js → adapters-D2xPiTlw.js} +6 -6
- package/dist/chunks/agent-api-cli-CAMV-N8o.js +1 -0
- package/dist/chunks/{agent-api-cli-BLyR79E3.js → agent-api-cli-DESEfE_W.js} +3 -3
- package/dist/chunks/{agent-api-core-Cnkg8Qam.js → agent-api-core-D-arrmpa.js} +4 -4
- package/dist/chunks/{agent-setup-cli-DAEX4Z0H.js → agent-setup-cli-CNfGVi5N.js} +1 -1
- package/dist/chunks/{config-DiPt3I6q.js → config-BmJ9RqVi.js} +2 -2
- package/dist/chunks/{config-store-Dl4nSG10.js → config-store-6XipBvYu.js} +2 -2
- package/dist/chunks/config-store-VDlYwv_U.js +1 -0
- package/dist/chunks/{grok-DWvNECgc.js → grok-BXZnhs-i.js} +1 -1
- package/dist/chunks/kimi-DRku5Zt9.js +1 -0
- package/dist/chunks/{kimi-BcXGiuND.js → kimi-DU7pXLJd.js} +2 -2
- package/dist/chunks/{main-BV_28mSY.js → main-ee7YDYHf.js} +12 -12
- package/dist/chunks/{pack-agent-DmA2Vt3T.js → pack-agent-kPL1_C11.js} +92 -46
- package/dist/chunks/{pack-bridge-CBJNhZ1u.js → pack-bridge-DT97V0M_.js} +2 -2
- package/dist/chunks/{packs-cli-DC4Rgn1_.js → packs-cli-BfX06xxY.js} +38 -21
- package/dist/chunks/packs-cli-BzWROst6.js +1 -0
- package/dist/chunks/{pair-cli-BEwh_FPN.js → pair-cli-2uiU5BkX.js} +2 -2
- package/dist/chunks/{pr-flows-cli-BzxqbfoY.js → pr-flows-cli-C0M4hklq.js} +6 -6
- package/dist/chunks/{pr-flows-external-nV8Twsr3.js → pr-flows-external-DoqZWZkV.js} +3 -3
- package/dist/chunks/{remote-config-DTMfaggb.js → remote-config-F5lysUVX.js} +1 -1
- package/dist/chunks/{session-HrWPtZq1.js → session-Ctzyy3sF.js} +40 -3
- package/dist/chunks/{settings-cli-Cd2kd5Wg.js → settings-cli-D_soJdDi.js} +5 -5
- package/dist/chunks/{settings-readout-core-CbuMpDHd.js → settings-readout-core-Dx_X8p0M.js} +2 -2
- package/dist/chunks/{shown-files-core-CfDLqQo9.js → shown-files-core-AKNIXRfL.js} +1 -1
- package/dist/chunks/{spawn-env-BEzcqK8w.js → spawn-env-D9Gtgndb.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-EAue_bXT.js → ssh-sign-cli-BTrHO7Zw.js} +2 -2
- package/dist/client/assets/{action-status-BQU6d-0z.js → action-status-rxc5WGWV.js} +1 -1
- package/dist/client/assets/action-status-rxc5WGWV.js.br +0 -0
- package/dist/client/assets/{arena-panel-AjJoLggu.js → arena-panel-Btp9l0kJ.js} +2 -2
- package/dist/client/assets/arena-panel-Btp9l0kJ.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-CW7jbdMX.js → benchmark-panel-bmD8zwiZ.js} +1 -1
- package/dist/client/assets/benchmark-panel-bmD8zwiZ.js.br +0 -0
- package/dist/client/assets/{boards-view-DT8i2XJk.js → boards-view-dVxUt_ij.js} +1 -1
- package/dist/client/assets/boards-view-dVxUt_ij.js.br +0 -0
- package/dist/client/assets/button-D4yLJK3N.js +1 -0
- package/dist/client/assets/button-D4yLJK3N.js.br +0 -0
- package/dist/client/assets/{card-actions-DZRZp3KM.js → card-actions-DOYXIR7t.js} +1 -1
- package/dist/client/assets/{card-registry-D77jxFPD.js → card-registry-DY8mP3KR.js} +1 -1
- package/dist/client/assets/card-registry-DY8mP3KR.js.br +0 -0
- package/dist/client/assets/{community-panel-DtyJrApz.js → community-panel-CTlfTEjN.js} +1 -1
- package/dist/client/assets/community-panel-CTlfTEjN.js.br +0 -0
- package/dist/client/assets/{control-ws-BzcRTVte.js → control-ws-CtahMJLs.js} +1 -1
- package/dist/client/assets/control-ws-CtahMJLs.js.br +0 -0
- package/dist/client/assets/{dialogs-L__wqQUK.js → dialogs-58-5mJbh.js} +1 -1
- package/dist/client/assets/dialogs-58-5mJbh.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-Ct-3PA3w.js → doc-editor-ui-DJIOuOjJ.js} +1 -1
- package/dist/client/assets/doc-editor-ui-DJIOuOjJ.js.br +0 -0
- package/dist/client/assets/{feature-hint-DO_DvoKz.js → feature-hint-gXmutm6v.js} +1 -1
- package/dist/client/assets/feature-hint-gXmutm6v.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-B8upa8oo.js → first-run-checklist-CnUh98nM.js} +1 -1
- package/dist/client/assets/first-run-checklist-CnUh98nM.js.br +0 -0
- package/dist/client/assets/{hooks-panel-DXlObkii.js → hooks-panel-Dk9IXA3Y.js} +1 -1
- package/dist/client/assets/hooks-panel-Dk9IXA3Y.js.br +0 -0
- package/dist/client/assets/{index-BxFSLYlN.js → index-D1rSKJEg.js} +5 -5
- package/dist/client/assets/index-D1rSKJEg.js.br +0 -0
- package/dist/client/assets/{issues-panel-D2cJ3cqU.js → issues-panel-BNvZI9C8.js} +1 -1
- package/dist/client/assets/issues-panel-BNvZI9C8.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-F5zq469Q.js → lane-read-token-step-EZJ80NxE.js} +1 -1
- package/dist/client/assets/lane-read-token-step-EZJ80NxE.js.br +0 -0
- package/dist/client/assets/{menu-BL0J9l3S.js → menu-CHluFLPe.js} +1 -1
- package/dist/client/assets/menu-CHluFLPe.js.br +0 -0
- package/dist/client/assets/{modal-CnO3B835.js → modal-C1JTHud7.js} +1 -1
- package/dist/client/assets/modal-C1JTHud7.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-CVGpeiwd.js → my-prs-panel-D4Mwssgi.js} +1 -1
- package/dist/client/assets/my-prs-panel-D4Mwssgi.js.br +0 -0
- package/dist/client/assets/{nyan-cat-DQRca_5t.js → nyan-cat-CQrVjaml.js} +1 -1
- package/dist/client/assets/nyan-cat-CQrVjaml.js.br +0 -0
- package/dist/client/assets/{phone-shell-LTYn4b4i.js → phone-shell-BnUVkZu_.js} +1 -1
- package/dist/client/assets/phone-shell-BnUVkZu_.js.br +0 -0
- package/dist/client/assets/{plan-face-TtPyLtNT.js → plan-face-BkOYrRkS.js} +1 -1
- package/dist/client/assets/plan-face-BkOYrRkS.js.br +0 -0
- package/dist/client/assets/{plan-render-Caz0lc1C.js → plan-render-CnuIySGa.js} +1 -1
- package/dist/client/assets/plan-render-CnuIySGa.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-DL1gIz6A.js → pr-queue-columns-DwTprGe6.js} +1 -1
- package/dist/client/assets/pr-queue-columns-DwTprGe6.js.br +0 -0
- package/dist/client/assets/{pr-status-icon-BL8wzUBO.js → pr-status-icon-CZbk4RGh.js} +1 -1
- package/dist/client/assets/pr-status-icon-CZbk4RGh.js.br +0 -0
- package/dist/client/assets/{radar-panel-D91HsOd5.js → radar-panel-DACeGtwh.js} +1 -1
- package/dist/client/assets/radar-panel-DACeGtwh.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-CkSWCkOO.js → repo-roots-adder-jFZn-4O8.js} +1 -1
- package/dist/client/assets/repo-roots-adder-jFZn-4O8.js.br +0 -0
- package/dist/client/assets/{resume-dialog-W-Vtr8To.js → resume-dialog-C_CHNy5T.js} +1 -1
- package/dist/client/assets/resume-dialog-C_CHNy5T.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-B7IW6EHG.js → review-queue-panel-CCdnDOPU.js} +1 -1
- package/dist/client/assets/review-queue-panel-CCdnDOPU.js.br +0 -0
- package/dist/client/assets/{session-actions-CPzKt0MK.js → session-actions-Bub2ltc2.js} +2 -2
- package/dist/client/assets/session-actions-Bub2ltc2.js.br +0 -0
- package/dist/client/assets/{session-row-ly74TkCe.js → session-row-Df0T76cY.js} +1 -1
- package/dist/client/assets/session-row-Df0T76cY.js.br +0 -0
- package/dist/client/assets/{session-tick-CbiHcZQf.js → session-tick-BqAW_8XQ.js} +1 -1
- package/dist/client/assets/session-tick-BqAW_8XQ.js.br +0 -0
- package/dist/client/assets/{settings-panel-CXvPbm4F.js → settings-panel-_XUIymvZ.js} +2 -2
- package/dist/client/assets/settings-panel-_XUIymvZ.js.br +0 -0
- package/dist/client/assets/{setup-step-D6yDe11H.js → setup-step-ChXUUNTF.js} +1 -1
- package/dist/client/assets/setup-step-ChXUUNTF.js.br +0 -0
- package/dist/client/assets/{shown-face-DULqlLhV.js → shown-face-BMa5JLIB.js} +1 -1
- package/dist/client/assets/shown-face-BMa5JLIB.js.br +0 -0
- package/dist/client/assets/{trace-panel-DBnYJgFw.js → trace-panel-wx2Kqqav.js} +1 -1
- package/dist/client/assets/trace-panel-wx2Kqqav.js.br +0 -0
- package/dist/client/assets/{usage-panel-Cip2a7Fe.js → usage-panel-BS0KkRJJ.js} +1 -1
- package/dist/client/assets/usage-panel-BS0KkRJJ.js.br +0 -0
- package/dist/client/assets/{your-day-tip-CrJzhb9V.js → your-day-tip-GQc49fcX.js} +1 -1
- package/dist/client/assets/your-day-tip-GQc49fcX.js.br +0 -0
- package/dist/client/index.html +12 -12
- package/dist/client/index.html.br +0 -0
- package/dist/schema/pack.v1.json +6 -3
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-api-cli-DVs4BeP_.js +0 -1
- package/dist/chunks/config-store-C9ynPe9J.js +0 -1
- package/dist/chunks/kimi-C74ElgUz.js +0 -1
- package/dist/chunks/packs-cli-p3uDBJco.js +0 -1
- package/dist/client/assets/action-status-BQU6d-0z.js.br +0 -0
- package/dist/client/assets/arena-panel-AjJoLggu.js.br +0 -0
- package/dist/client/assets/benchmark-panel-CW7jbdMX.js.br +0 -0
- package/dist/client/assets/boards-view-DT8i2XJk.js.br +0 -0
- package/dist/client/assets/button-B30QfKTN.js +0 -1
- package/dist/client/assets/button-B30QfKTN.js.br +0 -0
- package/dist/client/assets/card-registry-D77jxFPD.js.br +0 -0
- package/dist/client/assets/community-panel-DtyJrApz.js.br +0 -0
- package/dist/client/assets/control-ws-BzcRTVte.js.br +0 -0
- package/dist/client/assets/dialogs-L__wqQUK.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-Ct-3PA3w.js.br +0 -0
- package/dist/client/assets/feature-hint-DO_DvoKz.js.br +0 -0
- package/dist/client/assets/first-run-checklist-B8upa8oo.js.br +0 -0
- package/dist/client/assets/hooks-panel-DXlObkii.js.br +0 -0
- package/dist/client/assets/index-BxFSLYlN.js.br +0 -0
- package/dist/client/assets/issues-panel-D2cJ3cqU.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-F5zq469Q.js.br +0 -0
- package/dist/client/assets/menu-BL0J9l3S.js.br +0 -0
- package/dist/client/assets/modal-CnO3B835.js.br +0 -0
- package/dist/client/assets/my-prs-panel-CVGpeiwd.js.br +0 -0
- package/dist/client/assets/nyan-cat-DQRca_5t.js.br +0 -0
- package/dist/client/assets/phone-shell-LTYn4b4i.js.br +0 -0
- package/dist/client/assets/plan-face-TtPyLtNT.js.br +0 -0
- package/dist/client/assets/plan-render-Caz0lc1C.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-DL1gIz6A.js.br +0 -3
- package/dist/client/assets/pr-status-icon-BL8wzUBO.js.br +0 -0
- package/dist/client/assets/radar-panel-D91HsOd5.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-CkSWCkOO.js.br +0 -0
- package/dist/client/assets/resume-dialog-W-Vtr8To.js.br +0 -0
- package/dist/client/assets/review-queue-panel-B7IW6EHG.js.br +0 -0
- package/dist/client/assets/session-actions-CPzKt0MK.js.br +0 -0
- package/dist/client/assets/session-row-ly74TkCe.js.br +0 -0
- package/dist/client/assets/session-tick-CbiHcZQf.js.br +0 -0
- package/dist/client/assets/settings-panel-CXvPbm4F.js.br +0 -0
- package/dist/client/assets/setup-step-D6yDe11H.js.br +0 -2
- package/dist/client/assets/shown-face-DULqlLhV.js.br +0 -0
- package/dist/client/assets/trace-panel-DBnYJgFw.js.br +0 -0
- package/dist/client/assets/usage-panel-Cip2a7Fe.js.br +0 -0
- package/dist/client/assets/your-day-tip-CrJzhb9V.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -3,9 +3,9 @@ import { r as firstLine, s as nodePtyRebuildHint, t as probeNodePty } from "../c
|
|
|
3
3
|
import { i as errorText } from "../chunks/text-DoirglWV.js";
|
|
4
4
|
import { o as packageRoot } from "../chunks/runtime-paths-DfoHzN15.js";
|
|
5
5
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DUWk0Lui.js";
|
|
6
|
-
import { t as AGENT_API_VERBS } from "../chunks/session-
|
|
6
|
+
import { t as AGENT_API_VERBS } from "../chunks/session-Ctzyy3sF.js";
|
|
7
7
|
import { a as execSync } from "../chunks/child-process-safe-BIh8yQ0I.js";
|
|
8
|
-
import { nt as isOwnedCommandName, r as agentCommandHelpLines, rt as parseCommand, tt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-
|
|
8
|
+
import { nt as isOwnedCommandName, r as agentCommandHelpLines, rt as parseCommand, tt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-D-arrmpa.js";
|
|
9
9
|
import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
|
|
10
10
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-BfOQqktJ.js";
|
|
11
11
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
@@ -64,7 +64,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
64
64
|
return await runDoctor() ? 0 : 1;
|
|
65
65
|
},
|
|
66
66
|
pair: async ({ values }) => {
|
|
67
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
67
|
+
const { runPairCli } = await import("../chunks/pair-cli-2uiU5BkX.js");
|
|
68
68
|
return runPairCli({
|
|
69
69
|
isListing: values.list === true,
|
|
70
70
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -72,27 +72,27 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
72
72
|
});
|
|
73
73
|
},
|
|
74
74
|
agent: async () => {
|
|
75
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
75
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-CNfGVi5N.js");
|
|
76
76
|
return runAgentSetupCli();
|
|
77
77
|
},
|
|
78
78
|
settings: async (parsed) => {
|
|
79
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
79
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-D_soJdDi.js");
|
|
80
80
|
return runParsedSettingsCli(parsed);
|
|
81
81
|
},
|
|
82
82
|
"pr-flows": async (parsed) => {
|
|
83
|
-
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-
|
|
83
|
+
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-C0M4hklq.js");
|
|
84
84
|
return runPrFlowsCheckCli(parsed);
|
|
85
85
|
},
|
|
86
86
|
packs: async (parsed) => {
|
|
87
|
-
const { runPacksCli } = await import("../chunks/packs-cli-
|
|
87
|
+
const { runPacksCli } = await import("../chunks/packs-cli-BzWROst6.js");
|
|
88
88
|
return runPacksCli(parsed);
|
|
89
89
|
},
|
|
90
90
|
"pr-action": async (parsed) => {
|
|
91
|
-
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-
|
|
91
|
+
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-C0M4hklq.js");
|
|
92
92
|
return runPrActionReportCli(parsed);
|
|
93
93
|
},
|
|
94
94
|
"ssh-sign": async ({ rawArgs }) => {
|
|
95
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
95
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-BTrHO7Zw.js");
|
|
96
96
|
return runSshSignCli(rawArgs);
|
|
97
97
|
}
|
|
98
98
|
};
|
|
@@ -114,7 +114,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
114
114
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
115
115
|
}
|
|
116
116
|
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) => {
|
|
117
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
117
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-CAMV-N8o.js");
|
|
118
118
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
119
119
|
}])]);
|
|
120
120
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -128,7 +128,7 @@ function missingAgentText(agentId) {
|
|
|
128
128
|
}
|
|
129
129
|
async function printSessionLimits() {
|
|
130
130
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
131
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
131
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-CAMV-N8o.js");
|
|
132
132
|
const limitsLines = await sessionLimitsHelpLines();
|
|
133
133
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
134
134
|
}
|
|
@@ -185,7 +185,7 @@ async function readDeclaredCustomAgents() {
|
|
|
185
185
|
declared: [],
|
|
186
186
|
error: null
|
|
187
187
|
};
|
|
188
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
188
|
+
const { loadConfigFile } = await import("../chunks/config-store-VDlYwv_U.js");
|
|
189
189
|
try {
|
|
190
190
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
191
191
|
if (!loaded.config) return {
|
|
@@ -261,7 +261,7 @@ async function runDoctor() {
|
|
|
261
261
|
}
|
|
262
262
|
switchSection("Agents");
|
|
263
263
|
try {
|
|
264
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
264
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-C3cStG7e.js");
|
|
265
265
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
266
266
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
267
267
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -269,10 +269,10 @@ async function runDoctor() {
|
|
|
269
269
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
270
270
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
271
271
|
}
|
|
272
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
272
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CNfGVi5N.js");
|
|
273
273
|
const grokSetup = inspectGrokAgentSetup();
|
|
274
274
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
275
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
275
|
+
const { default: kimi } = await import("../chunks/kimi-DRku5Zt9.js");
|
|
276
276
|
const { describeAgentHome } = await import("../chunks/agent-home-CvVPEMQj.js");
|
|
277
277
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-BK5Xnyjy.js");
|
|
278
278
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
@@ -283,7 +283,7 @@ async function runDoctor() {
|
|
|
283
283
|
try {
|
|
284
284
|
const { resolvePackageBin } = await import("../chunks/runtime-paths-j5rMoZKx.js");
|
|
285
285
|
const { execFileSync } = await import("../chunks/child-process-safe-D5RpuuyW.js");
|
|
286
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
286
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CNfGVi5N.js");
|
|
287
287
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
288
288
|
line("Sane YOLO", binPath || "not installed");
|
|
289
289
|
if (binPath) line("cc-safety-net version", execFileSync(process.execPath, [binPath, "--version"], {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-
|
|
1
|
+
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-D2xPiTlw.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { f as isPathInside, p as safePathSegment, s as relayPath } from "./runtime-paths-DfoHzN15.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Bn as shortSha$1, C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Rn as FULL_SHA_RE, S as CONVERSATION_PERMISSION_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME } from "./session-Ctzyy3sF.js";
|
|
4
4
|
import { i as execFileSync, l as spawn, r as execFileAsync } from "./child-process-safe-BIh8yQ0I.js";
|
|
5
|
-
import { Mt as HTTP_URL_RE, an as PLAN_RESULT_HOOK_EVENT, c as SHELL_AGENT_ID, en as UpdateChannel, on as PLAN_TOOL_NAME, qt as InstallFlavor, rn as PLAN_HOOK_EVENT } from "./config-
|
|
5
|
+
import { Mt as HTTP_URL_RE, an as PLAN_RESULT_HOOK_EVENT, c as SHELL_AGENT_ID, en as UpdateChannel, on as PLAN_TOOL_NAME, qt as InstallFlavor, rn as PLAN_HOOK_EVENT } from "./config-BmJ9RqVi.js";
|
|
6
6
|
import { a as rawTextOr, n as isRecord, o as textOr, r as numberOr } from "./coerce-oz_Z_6E7.js";
|
|
7
7
|
import { n as parseJsonRecord } from "./json-core-If8h-Qgy.js";
|
|
8
8
|
import { i as saneYoloEnv, r as SANE_YOLO_PATH_ENV, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
|
|
9
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
9
|
+
import { t as buildAgentEnv } from "./spawn-env-D9Gtgndb.js";
|
|
10
10
|
import { n as shellQuote, t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
11
|
-
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-
|
|
11
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-BXZnhs-i.js";
|
|
12
12
|
import { O as nextBackoffMs, c as loadedJsonValue, d as writeJsonAtomicSync, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-AKRVPqG1.js";
|
|
13
|
-
import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-
|
|
14
|
-
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-
|
|
13
|
+
import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-6XipBvYu.js";
|
|
14
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-DU7pXLJd.js";
|
|
15
15
|
import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-CbCN4fxx.js";
|
|
16
16
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-UaqVWfqV.js";
|
|
17
17
|
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-DESEfE_W.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { at as WhiteboardAgentReply, r as AGENT_URL_ENV, tt as UNIT_STATUSES, u as AgentLimitsReply } from "./session-
|
|
2
|
-
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, rt as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
1
|
+
import { at as WhiteboardAgentReply, r as AGENT_URL_ENV, tt as UNIT_STATUSES, u as AgentLimitsReply } from "./session-Ctzyy3sF.js";
|
|
2
|
+
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, rt as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-D-arrmpa.js";
|
|
3
3
|
import { i as resolveHookTarget } from "./hook-relay-core-DA_bz2KA.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
5
|
-
import { h as layoutBoard, i as describeOverCap, p as boardSvgDocument, v as planSteps } from "./shown-files-core-
|
|
5
|
+
import { h as layoutBoard, i as describeOverCap, p as boardSvgDocument, v as planSteps } from "./shown-files-core-AKNIXRfL.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import http from "node:http";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as SESSION_COMMANDS, E as RefinedTaskTitle, V as TASK_TITLE_CONTROL_CHARACTERS, _ as AgentSettingsRequest, a as AgentAnswerRequest, c as AgentCloseRequest, d as AgentPacksRequest, f as AgentPullRequestRequest, h as AgentSendRequest, l as AgentEditRequest, m as AgentReviewsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, ot as WhiteboardAgentRequest, p as AgentReadRequest, s as AgentCheckoutRequest, t as AGENT_API_VERBS, v as AgentSpawnRequest, y as AgentWhyRequest } from "./session-
|
|
2
|
-
import { Qt as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
1
|
+
import { D as SESSION_COMMANDS, E as RefinedTaskTitle, V as TASK_TITLE_CONTROL_CHARACTERS, _ as AgentSettingsRequest, a as AgentAnswerRequest, c as AgentCloseRequest, d as AgentPacksRequest, f as AgentPullRequestRequest, h as AgentSendRequest, l as AgentEditRequest, m as AgentReviewsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, ot as WhiteboardAgentRequest, p as AgentReadRequest, s as AgentCheckoutRequest, t as AGENT_API_VERBS, v as AgentSpawnRequest, y as AgentWhyRequest } from "./session-Ctzyy3sF.js";
|
|
2
|
+
import { Qt as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-BmJ9RqVi.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { parseArgs } from "node:util";
|
|
@@ -332,8 +332,8 @@ change it in the dashboard settings or through its environment variable.`,
|
|
|
332
332
|
options: [{
|
|
333
333
|
name: "schema",
|
|
334
334
|
type: "string",
|
|
335
|
-
valueName: "pack|bridge",
|
|
336
|
-
summary: "Print only the pack.json (pack)
|
|
335
|
+
valueName: "pack|bridge|pr-flows",
|
|
336
|
+
summary: "Print only the pack.json (pack), panel bridge (bridge) or prFlows command output (pr-flows) JSON Schema"
|
|
337
337
|
}]
|
|
338
338
|
},
|
|
339
339
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { a as classifyGrokHooksFile, o as renderGrokHooksFile, t as grok } from "./grok-
|
|
2
|
+
import { a as classifyGrokHooksFile, o as renderGrokHooksFile, t as grok } from "./grok-BXZnhs-i.js";
|
|
3
3
|
import { p as writeTextAtomicSync } from "./json-file-AKRVPqG1.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as Op,
|
|
2
|
-
import { i as ThemePalette, t as PackBridgeTopic } from "./pack-bridge-
|
|
1
|
+
import { $ as Op, An as PrFlowsStatus, At as SessionPrLinks, Ct as MyPrMergeWhenReadyResult, F as SessionDoc, Gn as GithubPollingRefreshRequest, H as TaskTitle, Ht as ReviewChecksState, I as SessionSnapshot, J as BoardReview, Jn as githubPollingShape, K as Board, Kn as GithubPollingRefreshResult, L as SessionState, Lt as GithubReviewDecision, Mt as repositoryName, Nt as CommitSha, On as PrFlowsSettings, R as ShownFile, Sn as PrFlowPendingApproval, St as MyPrMergeWhenReadyRequest, Tn as PrFlowSaveRuleRequest, U as UnseenOutcome, Un as REPO_SLUG_RE, Vn as GH_SEGMENT, Wn as repoParts, Xt as TeamReviewActionResult, Y as BoardSummary, Yt as TeamReviewActionRequest, _n as PrFlowDisposeRequest, bn as PrFlowItemRequest, bt as MyPrMergeResult, dt as MyPr, en as TeamReviewStatus, gt as MyPrKeepMergeableResult, hn as PrFlowApproveRequest, ht as MyPrKeepMergeableRequest, it as WHITEBOARD_LIMITS, jt as pullRequestKeyFormat, k as SESSION_DOC_PATH_MAX_CHARS, kt as MyPrsStatus, mn as PrActionRunRequest, on as hasRequiredActionHead, qn as GithubPrsFreshness, ut as LinkedPr, vn as PrFlowDisposeResult, w as CoherenceHooksState, wt as MyPrSearchNode, yt as MyPrMergeRequest } from "./session-Ctzyy3sF.js";
|
|
2
|
+
import { i as ThemePalette, t as PackBridgeTopic } from "./pack-bridge-DT97V0M_.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { d as equalsIgnoringCaseOnWindows, f as isPathInside, o as packageRoot } from "./runtime-paths-DfoHzN15.js";
|
|
3
3
|
import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
4
|
-
import {
|
|
5
|
-
import { $t as UPDATE_CHANNELS, Ct as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, E as DEFAULT_MODELS, Gt as DASHBOARD_VIEWS, Jt as ONBOARDING_STEPS, St as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE, Xt as OPERATOR_ACTIONS_BY_SURFACE, Yt as ONBOARDING_STEP_STATES, Zt as OPERATOR_SURFACES, _t as TASK_TITLE_TIMEOUT_RANGE, at as FLYING_ANIMALS_SCALE_RANGE, b as HintFeature, bt as USAGE_RETAIN_DAYS_RANGE, ct as NON_NEGATIVE_NUMBER_RANGE, d as BranchGcFileSettings, dt as POSTHOG_FIX_TIMEOUT_RANGE, f as USAGE_COST_MODES, ft as POSTHOG_PROJECT_ID_RANGE, gt as REPLAY_BUFFER_KB_RANGE, ht as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, i as Config, it as FLYING_ANIMALS_GAP_RANGE, lt as PORT_RANGE, m as normalizeLegacyConfigNumbers, mt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_DEFAULTS, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, pt as POSTHOG_TRAFFIC_BASELINE_RANGE, rt as FLYING_ANIMALS_DURATION_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as MEMORY_RESERVE_MB_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as COMMUNITY_INTERVAL_MINUTES_RANGE, u as configIssueMessage, ut as POSITIVE_NUMBER_RANGE, vt as USAGE_BUDGET_RANGE, xt as USAGE_SCAN_INTERVAL_RANGE, yt as USAGE_INTEGER_RANGES } from "./config-
|
|
4
|
+
import { Cn as PrFlowPrAction, D as SESSION_COMMANDS, En as PrFlowScopedCommand, In as prFlowRulesJsonSchema, gn as PrFlowCommand, wn as PrFlowRule } from "./session-Ctzyy3sF.js";
|
|
5
|
+
import { $t as UPDATE_CHANNELS, Ct as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, E as DEFAULT_MODELS, Gt as DASHBOARD_VIEWS, Jt as ONBOARDING_STEPS, St as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE, Xt as OPERATOR_ACTIONS_BY_SURFACE, Yt as ONBOARDING_STEP_STATES, Zt as OPERATOR_SURFACES, _t as TASK_TITLE_TIMEOUT_RANGE, at as FLYING_ANIMALS_SCALE_RANGE, b as HintFeature, bt as USAGE_RETAIN_DAYS_RANGE, ct as NON_NEGATIVE_NUMBER_RANGE, d as BranchGcFileSettings, dt as POSTHOG_FIX_TIMEOUT_RANGE, f as USAGE_COST_MODES, ft as POSTHOG_PROJECT_ID_RANGE, gt as REPLAY_BUFFER_KB_RANGE, ht as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, i as Config, it as FLYING_ANIMALS_GAP_RANGE, lt as PORT_RANGE, m as normalizeLegacyConfigNumbers, mt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_DEFAULTS, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, pt as POSTHOG_TRAFFIC_BASELINE_RANGE, rt as FLYING_ANIMALS_DURATION_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as MEMORY_RESERVE_MB_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as COMMUNITY_INTERVAL_MINUTES_RANGE, u as configIssueMessage, ut as POSITIVE_NUMBER_RANGE, vt as USAGE_BUDGET_RANGE, xt as USAGE_SCAN_INTERVAL_RANGE, yt as USAGE_INTEGER_RANGES } from "./config-BmJ9RqVi.js";
|
|
6
6
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
7
7
|
import { d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync } from "./json-file-AKRVPqG1.js";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as loadConfigFile } from "./config-store-6XipBvYu.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { s as relayPath } from "./runtime-paths-DfoHzN15.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
4
|
+
import { t as buildAgentEnv } from "./spawn-env-D9Gtgndb.js";
|
|
5
5
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "./kimi-DU7pXLJd.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as relayPath } from "./runtime-paths-DfoHzN15.js";
|
|
2
|
-
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-
|
|
2
|
+
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-Ctzyy3sF.js";
|
|
3
3
|
import { i as execFileSync } from "./child-process-safe-BIh8yQ0I.js";
|
|
4
4
|
import { n as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
|
|
5
5
|
import { i as kimiMcpFiles, n as KIMI_MCP_CONFIG_NAME, t as KIMI_MCP_BASE_NAME } from "./agent-config-DDpOIcFv.js";
|
|
6
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
6
|
+
import { t as buildAgentEnv } from "./spawn-env-D9Gtgndb.js";
|
|
7
7
|
import { l as KIMI_HOME_PROFILE, m as renderKimiHooksBlock } from "./agent-home-core-CbCN4fxx.js";
|
|
8
8
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, o as prepareScratchAgentHome, s as realAgentHome } from "./agent-home-UaqVWfqV.js";
|
|
9
9
|
import fs from "node:fs";
|
|
@@ -2,10 +2,10 @@ import { a as showHomeAsTilde, i as sanitizeOneLine, n as requireExecutableSpawn
|
|
|
2
2
|
import { a as isMissingFileError, r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
|
|
3
3
|
import { a as examplePacksDir, c as resolveFfmpegPath, d as equalsIgnoringCaseOnWindows, f as isPathInside, i as clientDir, l as resolvePackageBin, m as sanitizeWorktreeName, n as bundled, o as packageRoot, p as safePathSegment, r as cliPath, s as relayPath, t as assetRoot, u as caseFoldedPathKey } from "./runtime-paths-DfoHzN15.js";
|
|
4
4
|
import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
5
|
-
import { $ as Op, $
|
|
5
|
+
import { $ as Op, $n as STATES, $t as TeamReviewStateEntry, A as SESSION_NAME_PATTERN, B as SshSignRequest, Bn as shortSha, Bt as PostingPlan, C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Dt as MyPrsSnapshot, Et as MyPrThreadsResponse, Fn as prActionReportPath, Ft as EarlierReview, Gt as ReviewFinding, H as TaskTitle, Hn as NODE_ID_RE, It as FindingSeverity, Jt as ReviewVerdict, K as Board, Kt as ReviewResult, M as SHOWN_FILE_CAP_BYTES, Mn as PrThreadUnresolveResponse, N as SIGN_URL_ENV, Nt as CommitSha$1, O as SESSION_DOC_BODY_CAP_BYTES, On as PrFlowsSettings, Ot as MyPrsState, P as SSH_SIGN_BODY_CAP_BYTES, Pt as DECIDING_REVIEW_STATES, Q as Note, Qn as RESTARTABLE_STATES, Qt as TeamReviewResolveResponse, R as ShownFile, Rt as GithubReviewState, S as CONVERSATION_PERMISSION_HOOK_EVENT, St as MyPrMergeWhenReadyRequest, T as ConversationQuestion, Tn as PrFlowSaveRuleRequest, Tt as MyPrThreadNode, Un as REPO_SLUG_RE, Ut as ReviewComment, Vn as GH_SEGMENT, Vt as PrDetail, W as BOARD_MEDIA_MAX_EDGE_PX, Wn as repoParts, Wt as ReviewDraft, X as Box, Xn as KILLABLE_STATES, Yn as BADGE_LABELS, Yt as TeamReviewActionRequest, Z as Frame, Zn as MERGEABLE_LIVE_STATES, Zt as TeamReviewCompareFiles, _ as AgentSettingsRequest, _n as PrFlowDisposeRequest, _t as MyPrLaneEntry, an as decisionAsIfApprovalRequired, b as COHERENCE_HOOKS_INACTIVE, bn as PrFlowItemRequest, c as AgentCloseRequest, cn as PR_ACTION_REPORT_BODY_CAP_BYTES, ct as sparseBoardRecord, d as AgentPacksRequest, dn as PR_ACTION_TOKEN_ENV, dt as MyPr, en as TeamReviewStatus, et as Panel, f as AgentPullRequestRequest, ft as MyPrAutoRebase, hn as PrFlowApproveRequest, ht as MyPrKeepMergeableRequest, i as ASK_USER_QUESTION_TOOL_NAME, in as canApproveAfterComment, it as WHITEBOARD_LIMITS, j as SESSION_NAME_RULE_TEXT, jn as PrThreadReplyResponse, kn as PrFlowsState, l as AgentEditRequest, ln as PR_ACTION_REPORT_ROUTE, lt as sparseBoardReply, mn as PrActionRunRequest, mt as MyPrCheckContextsResponse, nn as TeamReviewThreadResult, nt as Unit, o as AgentAttentionRequest, pn as PrActionReportBody, pt as MyPrCheckContext, q as BoardRecord, qt as ReviewThreadId, r as AGENT_URL_ENV, rn as TeamReviewThreadsRepository, rt as WHITEBOARD_ASSET_ROUTE, sn as hasStandingViewerApproval, st as Wire, tn as TeamReviewThreadCommentsResponse, un as PR_ACTION_REPORT_URL_ENV, ut as LinkedPr, v as AgentSpawnRequest, vt as MyPrMergeMethod, wn as PrFlowRule, x as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, xt as MyPrMergeStateResponse, y as AgentWhyRequest, yt as MyPrMergeRequest, zn as HEX_SHA_RE, zt as PostedReviewEvent } from "./session-Ctzyy3sF.js";
|
|
6
6
|
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-BIh8yQ0I.js";
|
|
7
|
-
import { $ as WorkflowsSettings, A as BenchmarkId, At as IssuesStatus, B as CommunityDraft, Bt as changeMapFactId, C as RaceRecord, D as EFFORT_OPTION_ID, Dt as IssueUpdate, E as DEFAULT_MODELS, Et as IssueKey, F as CommitComparison, Ft as MAX_RAW_LINE_CHARS, G as SKILL_NAME_RE, H as CommunityState, I as MergedPrListing, It as TraceCheckpoint, J as GithubPrLightSearchNode, K as GithubPrDetailNode, Kt as GithubTeam, L as MinedPrReviewData, Lt as TraceRecord, M as BenchmarkRun, N as BenchmarkStatus, Nt as HookEnvelope, O as BenchmarkActionRequest, Ot as IssuesSearchResponse, P as BenchmarkSuite, Pt as SessionSetup, Q as WorkflowLabelName, Qt as pullRequestKeyFromReference, R as PrCheckoutCaseInput, Rt as CoherenceJournalOutput, T as CATALOG_AGENT_IDS, Tt as GithubIssueResponse, U as CommunityVerdict, Ut as CLIENT_LOG_TEXT_MAX_CHARS, V as CommunityItem, Vt as CHANGES_POLL_INTERVAL_MS, W as DISCORD_CHANNEL_NAME_RE, Wt as CONTROL_FRAME_MAX_BYTES, X as comparablePrKey, Y as GithubPrsFrame, Z as WorkflowCommentBody, _ as FeatureHintState, a as ConfigUpdate, an as PLAN_RESULT_HOOK_EVENT, c as SHELL_AGENT_ID, cn as PlanRevision, et as WorkflowsState, f as USAGE_COST_MODES, g as PackApproveRequest, h as ClientMessage, in as PLAN_HOOK_OUTPUT_MAX_CHARS, j as BenchmarkJudgement, jt as issuePullRequestStateFromGithub, k as BenchmarkCase, kt as IssuesState, ln as parseExitPlanModeHookPayload, n as BUILTIN_AGENT_IDS, nn as PLAN_BODY_CAP_BYTES, on as PLAN_TOOL_NAME, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, p as USAGE_VENDOR_KEYS, q as GithubPrKey, r as BrowserConfig, rn as PLAN_HOOK_EVENT, s as RUNTIME_CONFIG_SCALAR_KEYS, sn as PlanDecision, tn as UpdateJournal, u as configIssueMessage, un as planTitle, v as HINT_FEATURES, w as RaceSpec, wt as GithubIssuePullRequestsRepository, x as JudgeResult, y as HINT_VIEW_BY_FEATURE, yt as USAGE_INTEGER_RANGES, z as CommunityActionRequest, zt as ChangeMap } from "./config-
|
|
8
|
-
import { $ as supervisionLine, A as parseRefinedSessionName, B as resumePromptFor, C as decideTaskTitleRefinement, D as extractPromptTaskTitle, E as extractOscTaskTitle, F as AUTO_CONTINUE_PROMPT, G as isAutoNameOf, H as claudeProjectsDir, I as RESUME_ID_RE, K as nextSuggestedName, L as isConversationReplacedAtStartup, M as resolveRefocusTaskTitle, N as resolveTaskTitle, O as isSelfWakePrompt, P as seedTaskTitleSources, Q as routeAgentNotes, R as pickAutoResume, S as cleanTaskPrompt, T as extractHookTaskTitle, U as listRepoConversations, V as shouldAdoptReportedResumeId, W as listRepoWorktreePaths, X as permitsHelpCommand, Y as hintFor, Z as promptHintFor, _ as projectReviewDetail, a as checkAgentReply, b as buildTaskTitleRefinementPrompt, c as deriveChildSessionName, d as describePushLanding, et as toolHookFactsOf, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as parseRefinedTaskTitle, k as isSubstantivePrompt, l as describeChildEndNote, n as REFUSAL_REASON, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as describeSessionLimits, s as decideSpawnAllowance, u as describeKeptChildAttention, v as projectReviews, w as extractAiTitle, x as chooseRefinedSessionName, y as buildPersistedTaskTitle, z as resolveResumeTarget } from "./agent-api-core-
|
|
7
|
+
import { $ as WorkflowsSettings, A as BenchmarkId, At as IssuesStatus, B as CommunityDraft, Bt as changeMapFactId, C as RaceRecord, D as EFFORT_OPTION_ID, Dt as IssueUpdate, E as DEFAULT_MODELS, Et as IssueKey, F as CommitComparison, Ft as MAX_RAW_LINE_CHARS, G as SKILL_NAME_RE, H as CommunityState, I as MergedPrListing, It as TraceCheckpoint, J as GithubPrLightSearchNode, K as GithubPrDetailNode, Kt as GithubTeam, L as MinedPrReviewData, Lt as TraceRecord, M as BenchmarkRun, N as BenchmarkStatus, Nt as HookEnvelope, O as BenchmarkActionRequest, Ot as IssuesSearchResponse, P as BenchmarkSuite, Pt as SessionSetup, Q as WorkflowLabelName, Qt as pullRequestKeyFromReference, R as PrCheckoutCaseInput, Rt as CoherenceJournalOutput, T as CATALOG_AGENT_IDS, Tt as GithubIssueResponse, U as CommunityVerdict, Ut as CLIENT_LOG_TEXT_MAX_CHARS, V as CommunityItem, Vt as CHANGES_POLL_INTERVAL_MS, W as DISCORD_CHANNEL_NAME_RE, Wt as CONTROL_FRAME_MAX_BYTES, X as comparablePrKey, Y as GithubPrsFrame, Z as WorkflowCommentBody, _ as FeatureHintState, a as ConfigUpdate, an as PLAN_RESULT_HOOK_EVENT, c as SHELL_AGENT_ID, cn as PlanRevision, et as WorkflowsState, f as USAGE_COST_MODES, g as PackApproveRequest, h as ClientMessage, in as PLAN_HOOK_OUTPUT_MAX_CHARS, j as BenchmarkJudgement, jt as issuePullRequestStateFromGithub, k as BenchmarkCase, kt as IssuesState, ln as parseExitPlanModeHookPayload, n as BUILTIN_AGENT_IDS, nn as PLAN_BODY_CAP_BYTES, on as PLAN_TOOL_NAME, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, p as USAGE_VENDOR_KEYS, q as GithubPrKey, r as BrowserConfig, rn as PLAN_HOOK_EVENT, s as RUNTIME_CONFIG_SCALAR_KEYS, sn as PlanDecision, tn as UpdateJournal, u as configIssueMessage, un as planTitle, v as HINT_FEATURES, w as RaceSpec, wt as GithubIssuePullRequestsRepository, x as JudgeResult, y as HINT_VIEW_BY_FEATURE, yt as USAGE_INTEGER_RANGES, z as CommunityActionRequest, zt as ChangeMap } from "./config-BmJ9RqVi.js";
|
|
8
|
+
import { $ as supervisionLine, A as parseRefinedSessionName, B as resumePromptFor, C as decideTaskTitleRefinement, D as extractPromptTaskTitle, E as extractOscTaskTitle, F as AUTO_CONTINUE_PROMPT, G as isAutoNameOf, H as claudeProjectsDir, I as RESUME_ID_RE, K as nextSuggestedName, L as isConversationReplacedAtStartup, M as resolveRefocusTaskTitle, N as resolveTaskTitle, O as isSelfWakePrompt, P as seedTaskTitleSources, Q as routeAgentNotes, R as pickAutoResume, S as cleanTaskPrompt, T as extractHookTaskTitle, U as listRepoConversations, V as shouldAdoptReportedResumeId, W as listRepoWorktreePaths, X as permitsHelpCommand, Y as hintFor, Z as promptHintFor, _ as projectReviewDetail, a as checkAgentReply, b as buildTaskTitleRefinementPrompt, c as deriveChildSessionName, d as describePushLanding, et as toolHookFactsOf, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as parseRefinedTaskTitle, k as isSubstantivePrompt, l as describeChildEndNote, n as REFUSAL_REASON, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as describeSessionLimits, s as decideSpawnAllowance, u as describeKeptChildAttention, v as projectReviews, w as extractAiTitle, x as chooseRefinedSessionName, y as buildPersistedTaskTitle, z as resolveResumeTarget } from "./agent-api-core-D-arrmpa.js";
|
|
9
9
|
import { a as rawTextOr, i as positiveNumberOr, n as isRecord$2, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-oz_Z_6E7.js";
|
|
10
10
|
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-BfOQqktJ.js";
|
|
11
11
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
@@ -13,20 +13,20 @@ import { n as promptContextReplyOf, o as toolHookContextReplyOf, r as refocusRep
|
|
|
13
13
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
14
14
|
import { a as saneYoloFiles } from "./sane-yolo-BjUkqIoH.js";
|
|
15
15
|
import { r as knownWriteHookInput } from "./posthog-read-gate-core-CeSY56AB.js";
|
|
16
|
-
import { _ as findDependencyCycle, a as filesAfterRetention, c as readPageTitle, d as thumbnailOwnerIdOf, f as thumbnailRecipeFor, g as cappedWarnings, h as layoutBoard, i as describeOverCap, l as shownMimeForFilename, m as escapeMarkup, n as SHOWN_SNIFF_BYTES, o as isShownPageMime, p as boardSvgDocument, r as decideShownKind, s as leavesVisibleRawTextOpen, t as SHOWN_PAGE_ZOOM_BRIDGE, u as thumbnailFilenameOf, v as planSteps$1, y as unitsOf } from "./shown-files-core-
|
|
16
|
+
import { _ as findDependencyCycle, a as filesAfterRetention, c as readPageTitle, d as thumbnailOwnerIdOf, f as thumbnailRecipeFor, g as cappedWarnings, h as layoutBoard, i as describeOverCap, l as shownMimeForFilename, m as escapeMarkup, n as SHOWN_SNIFF_BYTES, o as isShownPageMime, p as boardSvgDocument, r as decideShownKind, s as leavesVisibleRawTextOpen, t as SHOWN_PAGE_ZOOM_BRIDGE, u as thumbnailFilenameOf, v as planSteps$1, y as unitsOf } from "./shown-files-core-AKNIXRfL.js";
|
|
17
17
|
import { a as mcpLaunchFor, o as parsePresentedCredential } from "./agent-config-DDpOIcFv.js";
|
|
18
18
|
import { n as shellQuote } from "./hook-command-core-qTNK-xMF.js";
|
|
19
19
|
import { C as parseCgroupBytes, D as DEFAULT_MAX_MS, E as DEFAULT_BASE_MS, O as nextBackoffMs, 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-AKRVPqG1.js";
|
|
20
|
-
import { $ as buildAiGenerationEvents, Ct as isSameDirectoryPath, 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, St as comparableDirectoryPath, U as DEEP_HISTORY_SCROLLBACK_LINES, X as TELEMETRY_BATCH_URL, Y as FIRST_RUN_NOTICE, Z as TELEMETRY_FLAGS_URL, _ as sessionIdFromBranch, 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$1, 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, x as unrefTimer, xt as canonicalizePath, y as worktreeIntegrationTips, yt as stableConfigKey, z as valueAtPath } from "./config-store-
|
|
21
|
-
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-
|
|
22
|
-
import { $ as grokHomes, A as decideUploadType, At as generateToken, B as containmentRefusalReason, Bt as readStoredHooks, C as parseRegistryLatest, Ct as shouldReplace, D as openContainedFile, Dt as HOOK_EVENTS, E as shortSha$1, Et as claudeCode, F as planUploadRetention, Ft as agentHookGroupOf, G as codexFallbackRoots, Gt as sweepOrphanedHostScratch, H as planContiguousRead, Ht as upsertHook, I as MAX_TRANSCRIPT_READ_BYTES, It as appendUserHooks, J as codexSessionIdFromPath, Jt as recordSweptPath, K as codexHomes, Kt as appendRemovalRecord, L as TRACE_TAIL_SCAN_BYTES, Lt as hooksForProject, M as framePathPaste, Mt as writeSessionSettings, N as imageMimeForUploadFilename, Nt as HOOK_EVENT_CATALOG, O as MAX_UPLOAD_BYTES, Ot as PLAN_HOLD_RELEASE_MS, P as isSafePathSegment, Pt as ID_RE, Q as expandTilde, R as committedOffsetFromTraceTailOrNull, Rt as normalizeHook, S as parseRegistryDeprecation, St as parseUsageLine, T as pickNewestPublished, Tt as vendorUsageEntry, U as resumeOffsetFrom, Ut as HOOK_TOOLS, V as isOversizedPartialLine, Vt as removeHook, W as withCommittedOffset, Wt as makeHostScratchDirectory, X as decideFileRead, Y as continuationDelayMs, Yt as removalsJournalPath, Z as dedupeCodexFiles, _ as decideInstallFlavor, _t as foldReplacementIntoGenerationRollup, a as describeAgentResolvability, at as scopedClaudeRoots, b as normalizeSha, bt as mergeGenerationRollups, c as isKnownAgentId, ct as shouldPersistWarehouse, d as resolveAdapter, dt as parseKimiUsageLine, et as isUsageFile, f as setCustomAgents, ft as addEntryToTotals, g as NODE_PTY_INSTALL_SCRIPT_FLAG, gt as foldEntryIntoGenerationRollup, h as requestCodexAppServer, ht as expandAdvisorIterations, i as customAgentFingerprint, it as resolveProjectsDirs, j as exceedsUploadCap, jt as sweepOrphans, k as buildUploadFilename, kt as buildHookSettings, l as listAgentIds, lt as splitLines, m as readHostCodexVersion, mt as emptyTotals, n as cachedAgentResolvability, nt as passOutcome, o as getAdapter, ot as sessionsRootCandidates, p as codex, pt as dedupKeys, q as codexRootCandidates, qt as appendRemovalRecordSync, r as commandFor, rt as projectDirCandidates, s as hookProfileOf, st as shouldEvaluateDespiteIoFailures, t as DEFAULT_AGENT_ID$1, tt as kimiHomes, u as resetCommandCache, ut as kimiDedupIdentity, v as decideUpdateStatus, vt as identityFromRelPath, w as parseResolvedSha, wt as totalTokensOf$1, x as normalizeUpdateChannel, xt as parseJsonLine$1, y as isCheckFresh, yt as isWithinGenerationRecencyWindow, z as completeLineBytes, zt as rawStoredHooks } from "./adapters-
|
|
20
|
+
import { $ as buildAiGenerationEvents, Ct as isSameDirectoryPath, 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, St as comparableDirectoryPath, U as DEEP_HISTORY_SCROLLBACK_LINES, X as TELEMETRY_BATCH_URL, Y as FIRST_RUN_NOTICE, Z as TELEMETRY_FLAGS_URL, _ as sessionIdFromBranch, 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$1, 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, x as unrefTimer, xt as canonicalizePath, y as worktreeIntegrationTips, yt as stableConfigKey, z as valueAtPath } from "./config-store-6XipBvYu.js";
|
|
21
|
+
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-DU7pXLJd.js";
|
|
22
|
+
import { $ as grokHomes, A as decideUploadType, At as generateToken, B as containmentRefusalReason, Bt as readStoredHooks, C as parseRegistryLatest, Ct as shouldReplace, D as openContainedFile, Dt as HOOK_EVENTS, E as shortSha$1, Et as claudeCode, F as planUploadRetention, Ft as agentHookGroupOf, G as codexFallbackRoots, Gt as sweepOrphanedHostScratch, H as planContiguousRead, Ht as upsertHook, I as MAX_TRANSCRIPT_READ_BYTES, It as appendUserHooks, J as codexSessionIdFromPath, Jt as recordSweptPath, K as codexHomes, Kt as appendRemovalRecord, L as TRACE_TAIL_SCAN_BYTES, Lt as hooksForProject, M as framePathPaste, Mt as writeSessionSettings, N as imageMimeForUploadFilename, Nt as HOOK_EVENT_CATALOG, O as MAX_UPLOAD_BYTES, Ot as PLAN_HOLD_RELEASE_MS, P as isSafePathSegment, Pt as ID_RE, Q as expandTilde, R as committedOffsetFromTraceTailOrNull, Rt as normalizeHook, S as parseRegistryDeprecation, St as parseUsageLine, T as pickNewestPublished, Tt as vendorUsageEntry, U as resumeOffsetFrom, Ut as HOOK_TOOLS, V as isOversizedPartialLine, Vt as removeHook, W as withCommittedOffset, Wt as makeHostScratchDirectory, X as decideFileRead, Y as continuationDelayMs, Yt as removalsJournalPath, Z as dedupeCodexFiles, _ as decideInstallFlavor, _t as foldReplacementIntoGenerationRollup, a as describeAgentResolvability, at as scopedClaudeRoots, b as normalizeSha, bt as mergeGenerationRollups, c as isKnownAgentId, ct as shouldPersistWarehouse, d as resolveAdapter, dt as parseKimiUsageLine, et as isUsageFile, f as setCustomAgents, ft as addEntryToTotals, g as NODE_PTY_INSTALL_SCRIPT_FLAG, gt as foldEntryIntoGenerationRollup, h as requestCodexAppServer, ht as expandAdvisorIterations, i as customAgentFingerprint, it as resolveProjectsDirs, j as exceedsUploadCap, jt as sweepOrphans, k as buildUploadFilename, kt as buildHookSettings, l as listAgentIds, lt as splitLines, m as readHostCodexVersion, mt as emptyTotals, n as cachedAgentResolvability, nt as passOutcome, o as getAdapter, ot as sessionsRootCandidates, p as codex, pt as dedupKeys, q as codexRootCandidates, qt as appendRemovalRecordSync, r as commandFor, rt as projectDirCandidates, s as hookProfileOf, st as shouldEvaluateDespiteIoFailures, t as DEFAULT_AGENT_ID$1, tt as kimiHomes, u as resetCommandCache, ut as kimiDedupIdentity, v as decideUpdateStatus, vt as identityFromRelPath, w as parseResolvedSha, wt as totalTokensOf$1, x as normalizeUpdateChannel, xt as parseJsonLine$1, y as isCheckFresh, yt as isWithinGenerationRecencyWindow, z as completeLineBytes, zt as rawStoredHooks } from "./adapters-D2xPiTlw.js";
|
|
23
23
|
import { c as CODEX_HOME_PROFILE, l as KIMI_HOME_PROFILE } from "./agent-home-core-CbCN4fxx.js";
|
|
24
24
|
import { d as releaseSessionLock, f as sessionIdOfLockFile, l as releaseUnheldAgentHomeSecrets, n as generatedAgentHomePath, p as trashSessionTempFolderOnceUnheld, s as realAgentHome, u as createHeldSessionTempFolder } from "./agent-home-UaqVWfqV.js";
|
|
25
|
-
import { B as
|
|
25
|
+
import { A as prActionRunAfterExit, B as unknownActionWarnings, C as fixLocallyPrompt, D as packPathsOf, E as mergeItems, F as scopedToRepo, G as withPrActionRun, H as withHandled, I as shouldTellBranchMoved, J as decideHostAllowed, K as withReopened, L as sourceCandidates$1, M as prFlowRules, N as prFlowSetup, O as plannedActions, P as savedRuleFor, R as teammateThreadItems, T as itemLocation, U as withInterruptedRuns, V as visibleRun, W as withOnlyOpenPrs, _ as packRow, b as branchMovedNote, c as packsStatePath, d as PACK_FILE_NAME, f as PacksState, g as packFileHeaders, h as approvedPackThemes, m as approvedPackPanels, n as readPacksForAgent, o as PACKS_DIR_NAME, q as withRuleRun, s as packDirsUnder, u as readPackDir, v as pendingPackNote, w as flaggingReviewers, x as commandFingerprint, y as acceptReport, z as threadCandidates } from "./pack-agent-kPL1_C11.js";
|
|
26
26
|
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-BbhBpAhR.js";
|
|
27
|
-
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, p as hashSecret, r as validateRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-
|
|
28
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
29
|
-
import { t as createPrFlowsExternal } from "./pr-flows-external-
|
|
27
|
+
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, p as hashSecret, r as validateRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-F5lysUVX.js";
|
|
28
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-Dx_X8p0M.js";
|
|
29
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-DoqZWZkV.js";
|
|
30
30
|
import { createRequire } from "node:module";
|
|
31
31
|
import fs, { readFileSync } from "node:fs";
|
|
32
32
|
import path, { join, resolve } from "node:path";
|
|
@@ -2633,7 +2633,7 @@ function servePackFile(req, res, packFileSource) {
|
|
|
2633
2633
|
res.status(404).end();
|
|
2634
2634
|
return;
|
|
2635
2635
|
}
|
|
2636
|
-
for (const [name, value] of Object.entries(packFileHeaders(filePath))) res.setHeader(name, value);
|
|
2636
|
+
for (const [name, value] of Object.entries(packFileHeaders(filePath, req.headers.origin))) res.setHeader(name, value);
|
|
2637
2637
|
res.setHeader("Cache-Control", "private, max-age=604800, immutable");
|
|
2638
2638
|
res.setHeader("Content-Length", String(bytes.byteLength));
|
|
2639
2639
|
res.end(bytes);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { En as
|
|
3
|
-
import { i as ThemePalette, n as packBridgeJsonSchemaText, t as PackBridgeTopic } from "./pack-bridge-
|
|
2
|
+
import { Cn as PrFlowPrAction, En as PrFlowScopedCommand, In as prFlowRulesJsonSchema, Nn as RepoScope, On as PrFlowsSettings, fn as PR_FLOW_PLACEHOLDERS_BY_KIND, gn as PrFlowCommand, wn as PrFlowRule, xn as PrFlowPackRequires, yn as PrFlowItemAction } from "./session-Ctzyy3sF.js";
|
|
3
|
+
import { i as ThemePalette, n as packBridgeJsonSchemaText, t as PackBridgeTopic } from "./pack-bridge-DT97V0M_.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
5
|
-
import { n as withoutGlimmervoidSecrets } from "./spawn-env-
|
|
5
|
+
import { n as withoutGlimmervoidSecrets } from "./spawn-env-D9Gtgndb.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { z } from "zod";
|
|
@@ -741,13 +741,19 @@ var PACK_PANEL_CONTENT_POLICY = [
|
|
|
741
741
|
function packFileMime(filePath) {
|
|
742
742
|
return PACK_FILE_MIME_BY_EXTENSION[path.posix.extname(filePath).toLowerCase()] ?? "application/octet-stream";
|
|
743
743
|
}
|
|
744
|
-
|
|
745
|
-
|
|
744
|
+
var OPAQUE_ORIGIN = "null";
|
|
745
|
+
function packFileHeaders(filePath, requestOrigin) {
|
|
746
|
+
const headers = {
|
|
746
747
|
"Content-Security-Policy": PACK_PANEL_CONTENT_POLICY,
|
|
747
748
|
"X-Content-Type-Options": "nosniff",
|
|
748
749
|
"Referrer-Policy": "no-referrer",
|
|
749
|
-
"Content-Type": packFileMime(filePath)
|
|
750
|
+
"Content-Type": packFileMime(filePath),
|
|
751
|
+
Vary: "Origin"
|
|
750
752
|
};
|
|
753
|
+
return requestOrigin === OPAQUE_ORIGIN ? {
|
|
754
|
+
...headers,
|
|
755
|
+
"Access-Control-Allow-Origin": OPAQUE_ORIGIN
|
|
756
|
+
} : headers;
|
|
751
757
|
}
|
|
752
758
|
function uiSectionErrors(pack) {
|
|
753
759
|
return pack.ui && !pack.ui.ok ? pack.ui.errors : [];
|
|
@@ -823,10 +829,54 @@ function attributeUrls(attributeName, value) {
|
|
|
823
829
|
if (!attributeName.toLowerCase().endsWith("srcset")) return [value];
|
|
824
830
|
return value.split(",").map((candidate) => candidate.trim().split(/\s+/)[0] ?? "");
|
|
825
831
|
}
|
|
826
|
-
|
|
832
|
+
var JS_IMPORT_PATTERN = new RegExp(`\\b(?:import|export)\\b[^;'"]{0,${MAX_REFERENCE_LENGTH}}?\\bfrom\\s{0,64}["']([^"']{1,${MAX_REFERENCE_LENGTH}})["']|\\bimport\\s{0,64}\\(?\\s{0,64}["']([^"']{1,${MAX_REFERENCE_LENGTH}})["']`, "g");
|
|
833
|
+
var LINE_COMMENT_PATTERN = /^[ \t]*\/\/.*$/gm;
|
|
834
|
+
var RELATIVE_IMPORT_PATTERN = /^\.{1,2}\//;
|
|
835
|
+
function isScriptFile(filePath) {
|
|
836
|
+
return filePath.endsWith(".js") || filePath.endsWith(".mjs");
|
|
837
|
+
}
|
|
838
|
+
function jsImportsIn(text) {
|
|
839
|
+
return [...withoutDelimited(text, "/*", "*/").replace(LINE_COMMENT_PATTERN, "").matchAll(JS_IMPORT_PATTERN)].map((match) => ({
|
|
840
|
+
url: match[1] ?? match[2] ?? "",
|
|
841
|
+
isImport: true
|
|
842
|
+
}));
|
|
843
|
+
}
|
|
844
|
+
function linkReferences(urls) {
|
|
845
|
+
return urls.map((url) => ({
|
|
846
|
+
url,
|
|
847
|
+
isImport: false
|
|
848
|
+
}));
|
|
849
|
+
}
|
|
850
|
+
function inlineScriptsIn(html) {
|
|
851
|
+
const scriptBodies = [];
|
|
852
|
+
const lowerHtml = html.toLowerCase();
|
|
853
|
+
let cursor = 0;
|
|
854
|
+
while (cursor < html.length) {
|
|
855
|
+
const openAt = lowerHtml.indexOf("<script", cursor);
|
|
856
|
+
const bodyStart = openAt === -1 ? -1 : lowerHtml.indexOf(">", openAt);
|
|
857
|
+
const closeAt = bodyStart === -1 ? -1 : lowerHtml.indexOf("<\/script", bodyStart);
|
|
858
|
+
if (closeAt === -1) return scriptBodies;
|
|
859
|
+
scriptBodies.push(html.slice(bodyStart + 1, closeAt));
|
|
860
|
+
cursor = closeAt;
|
|
861
|
+
}
|
|
862
|
+
return scriptBodies;
|
|
863
|
+
}
|
|
864
|
+
function rawReferencesIn(filePath, text) {
|
|
865
|
+
if (isScriptFile(filePath)) return jsImportsIn(text);
|
|
827
866
|
const withoutComments = withoutDelimited(withoutDelimited(text, "<!--", "-->"), "/*", "*/");
|
|
828
|
-
const cssReferences = [...withoutComments.matchAll(CSS_REFERENCE_PATTERN)].map((match) => match[1] ?? match[2] ?? "");
|
|
829
|
-
|
|
867
|
+
const cssReferences = linkReferences([...withoutComments.matchAll(CSS_REFERENCE_PATTERN)].map((match) => match[1] ?? match[2] ?? ""));
|
|
868
|
+
if (!filePath.endsWith(".html")) return cssReferences;
|
|
869
|
+
return [
|
|
870
|
+
...linkReferences([...withoutComments.matchAll(HTML_REFERENCE_PATTERN)].flatMap((match) => attributeUrls(match[1] ?? "", match[2] ?? match[3] ?? match[4] ?? ""))),
|
|
871
|
+
...inlineScriptsIn(withoutComments).flatMap(jsImportsIn),
|
|
872
|
+
...cssReferences
|
|
873
|
+
];
|
|
874
|
+
}
|
|
875
|
+
function referencesIn(filePath, text) {
|
|
876
|
+
return rawReferencesIn(filePath, text).map((reference) => ({
|
|
877
|
+
...reference,
|
|
878
|
+
url: reference.url.trim()
|
|
879
|
+
})).filter((reference) => reference.url !== "" && !INERT_REFERENCE_PATTERN.test(reference.url));
|
|
830
880
|
}
|
|
831
881
|
function decodedPath(reference) {
|
|
832
882
|
try {
|
|
@@ -835,22 +885,39 @@ function decodedPath(reference) {
|
|
|
835
885
|
return reference;
|
|
836
886
|
}
|
|
837
887
|
}
|
|
838
|
-
function referenceError(filePath, reference, filesByPath) {
|
|
888
|
+
function referenceError(filePath, { url: reference, isImport }, filesByPath) {
|
|
839
889
|
if (REMOTE_REFERENCE_PATTERN.test(reference)) return `${filePath} loads ${reference}, but a panel has no network; put that file in the pack`;
|
|
840
890
|
if (reference.startsWith("/")) return `${filePath} refers to ${reference}, an absolute path that leaves the pack; use a path relative to ${filePath}`;
|
|
841
|
-
|
|
891
|
+
if (isImport && !RELATIVE_IMPORT_PATTERN.test(reference)) return `${filePath} imports ${reference}, but a panel has no package resolver; import a file in the pack by a path starting with ./ or ../`;
|
|
892
|
+
const referencedPath = referencedPackPath(filePath, reference);
|
|
842
893
|
if (referencedPath.startsWith("../")) return `${filePath} refers to ${reference}, which is outside the pack`;
|
|
843
894
|
return filesByPath.has(referencedPath) ? null : `${filePath} refers to ${reference}, which is not a file in the pack`;
|
|
844
895
|
}
|
|
896
|
+
function referencedPackPath(filePath, reference) {
|
|
897
|
+
return path.posix.normalize(path.posix.join(path.posix.dirname(filePath), decodedPath(reference.replace(/[?#].*$/, ""))));
|
|
898
|
+
}
|
|
845
899
|
function panelReferenceErrors(filesByPath) {
|
|
846
|
-
return [...filesByPath].filter(([filePath]) => filePath.endsWith(".html") || filePath.endsWith(".css")).flatMap(([filePath, bytes]) => referencesIn(filePath, bytes.toString("utf8")).map((reference) => referenceError(filePath, reference, filesByPath)).filter((error) => error !== null));
|
|
900
|
+
return [...filesByPath].filter(([filePath]) => filePath.endsWith(".html") || filePath.endsWith(".css") || isScriptFile(filePath)).flatMap(([filePath, bytes]) => referencesIn(filePath, bytes.toString("utf8")).map((reference) => referenceError(filePath, reference, filesByPath)).filter((error) => error !== null));
|
|
847
901
|
}
|
|
848
902
|
var SUBSCRIBED_TOPICS_PATTERN = /subscribe\(\s*\[([^\]]{0,500})\]|kind\s*:\s*['"]subscribe['"][^}]{0,500}?topics\s*:\s*\[([^\]]{0,500})\]/g;
|
|
849
|
-
function
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
903
|
+
function filesLoadedFrom(entry, filesByPath) {
|
|
904
|
+
const loadedPaths = /* @__PURE__ */ new Set();
|
|
905
|
+
const pendingPaths = [entry];
|
|
906
|
+
while (pendingPaths.length > 0) {
|
|
907
|
+
const filePath = pendingPaths.pop() ?? "";
|
|
908
|
+
const bytes = filesByPath.get(filePath);
|
|
909
|
+
if (loadedPaths.has(filePath) || bytes === void 0) continue;
|
|
910
|
+
loadedPaths.add(filePath);
|
|
911
|
+
if (!filePath.endsWith(".html") && !isScriptFile(filePath)) continue;
|
|
912
|
+
pendingPaths.push(...referencesIn(filePath, bytes.toString("utf8")).filter(({ url }) => !REMOTE_REFERENCE_PATTERN.test(url) && !url.startsWith("/")).map(({ url }) => referencedPackPath(filePath, url)));
|
|
913
|
+
}
|
|
914
|
+
return [...loadedPaths].filter((filePath) => filePath.endsWith(".html") || isScriptFile(filePath));
|
|
915
|
+
}
|
|
916
|
+
function subscribedTopicsIn(text) {
|
|
917
|
+
return [...text.matchAll(SUBSCRIBED_TOPICS_PATTERN)].flatMap((match) => [...(match[1] ?? match[2] ?? "").matchAll(/['"]([^'"]+)['"]/g)].map((topic) => topic[1] ?? ""));
|
|
918
|
+
}
|
|
919
|
+
function undeclaredSubscriptionErrors(filesByPath, panels) {
|
|
920
|
+
return panels.flatMap((panel) => filesLoadedFrom(panel.entry, filesByPath).flatMap((filePath) => [...new Set(subscribedTopicsIn(filesByPath.get(filePath)?.toString("utf8") ?? ""))].filter((topic) => !panel.reads.includes(topic)).map((topic) => `${filePath} subscribes to '${topic}', which panel ${panel.id} does not list under reads, so it never arrives there; add it to that panel's reads or drop it`)));
|
|
854
921
|
}
|
|
855
922
|
//#endregion
|
|
856
923
|
//#region shared/contracts/pack.ts
|
|
@@ -873,7 +940,7 @@ var PackPrFlows = z.strictObject({
|
|
|
873
940
|
repos: RepoScope.describe("The default owner/name repositories for every prAction, source and rule of this pack that lists no repos of its own; every repository when absent"),
|
|
874
941
|
prActions: z.array(PrFlowPrAction).default([]),
|
|
875
942
|
sources: z.array(PrFlowScopedCommand).default([]),
|
|
876
|
-
actions: z.array(
|
|
943
|
+
actions: z.array(PrFlowItemAction).default([]),
|
|
877
944
|
rules: z.array(PrFlowRule).default([])
|
|
878
945
|
}).superRefine((section, context) => {
|
|
879
946
|
for (const kind of [
|
|
@@ -1012,9 +1079,8 @@ function rawPanels(rawUi) {
|
|
|
1012
1079
|
if (rawUi === null || typeof rawUi !== "object" || !("panels" in rawUi) || !Array.isArray(rawUi.panels)) return [];
|
|
1013
1080
|
return rawUi.panels;
|
|
1014
1081
|
}
|
|
1015
|
-
function
|
|
1016
|
-
|
|
1017
|
-
return panels.length === rawPanels(rawUi).length ? new Set(panels.flatMap(({ panel }) => panel.reads)) : null;
|
|
1082
|
+
function declaredPanels(rawUi) {
|
|
1083
|
+
return validRawPanels(rawUi).map(({ panel }) => panel);
|
|
1018
1084
|
}
|
|
1019
1085
|
function validRawPanels(rawUi) {
|
|
1020
1086
|
return rawPanels(rawUi).flatMap((rawPanel, index) => {
|
|
@@ -1167,28 +1233,8 @@ async function packDirsUnder(homeDir) {
|
|
|
1167
1233
|
}
|
|
1168
1234
|
//#endregion
|
|
1169
1235
|
//#region server/packs/pack-check.ts
|
|
1170
|
-
var SOURCE_PLACEHOLDERS = [
|
|
1171
|
-
"prUrl",
|
|
1172
|
-
"repo",
|
|
1173
|
-
"number",
|
|
1174
|
-
"head"
|
|
1175
|
-
];
|
|
1176
|
-
var PR_FLOW_PLACEHOLDERS_BY_KIND = {
|
|
1177
|
-
source: SOURCE_PLACEHOLDERS,
|
|
1178
|
-
action: [
|
|
1179
|
-
...SOURCE_PLACEHOLDERS,
|
|
1180
|
-
"itemPath",
|
|
1181
|
-
"itemLine"
|
|
1182
|
-
],
|
|
1183
|
-
"pr-action": [
|
|
1184
|
-
...SOURCE_PLACEHOLDERS,
|
|
1185
|
-
"headRef",
|
|
1186
|
-
"baseRef"
|
|
1187
|
-
]
|
|
1188
|
-
};
|
|
1189
1236
|
function pageErrors(filesByPath, header) {
|
|
1190
|
-
|
|
1191
|
-
return [...panelReferenceErrors(filesByPath), ...declaredReads ? undeclaredSubscriptionErrors(filesByPath, declaredReads) : []];
|
|
1237
|
+
return [...panelReferenceErrors(filesByPath), ...undeclaredSubscriptionErrors(filesByPath, header ? declaredPanels(header.ui) : [])];
|
|
1192
1238
|
}
|
|
1193
1239
|
async function checkPack(packDir, env, isApprovedFingerprint) {
|
|
1194
1240
|
const read = await readPackDir(packDir, env);
|
|
@@ -1251,7 +1297,7 @@ async function checkPack(packDir, env, isApprovedFingerprint) {
|
|
|
1251
1297
|
};
|
|
1252
1298
|
}
|
|
1253
1299
|
function packCheckHasProblem(report) {
|
|
1254
|
-
return report.errors.length > 0 || report.
|
|
1300
|
+
return report.errors.length > 0 || report.entries.some((entry) => entry.error !== null);
|
|
1255
1301
|
}
|
|
1256
1302
|
function reportHeading(report) {
|
|
1257
1303
|
const checked = report.name === null ? `Checked the pack at ${report.packDir}` : `Checked pack ${report.name} at ${report.packDir}`;
|
|
@@ -1266,7 +1312,7 @@ function packReportText(report) {
|
|
|
1266
1312
|
...report.entries.map((entry) => `${entry.kind} ${entry.id} (${entry.label}): ${entry.error === null ? `valid\n would run ${JSON.stringify(entry.argv)}` : `invalid, ${entry.error}`}`),
|
|
1267
1313
|
...report.rules.map((rule) => `rule ${rule}`),
|
|
1268
1314
|
...report.errors.map((error) => `error: ${error}`),
|
|
1269
|
-
...report.missingRequires.map((missing) => `missing on this machine: ${missing}, so the pack stays off here`)
|
|
1315
|
+
...report.missingRequires.map((missing) => `missing on this machine: ${missing}, so the pack stays off here until it has it; not a problem in the pack`)
|
|
1270
1316
|
].join("\n");
|
|
1271
1317
|
}
|
|
1272
1318
|
//#endregion
|
|
@@ -1290,7 +1336,7 @@ async function packGuideText({ homeDir, examplePacksDir }, schemaLines) {
|
|
|
1290
1336
|
"Sections of pack.json, each checked on its own:",
|
|
1291
1337
|
"- prFlows: commands My PRs runs on pull requests (prActions, sources, actions, rules).",
|
|
1292
1338
|
"- ui.themes: color themes for the Theme picker; every chrome and state color is a #rrggbb hex.",
|
|
1293
|
-
"- ui.panels: HTML pages shown as dashboard tabs. A panel runs sandboxed in an opaque origin: no network, no cookies, no storage, no popups or navigation (a link in a panel opens nothing), no access to the dashboard page. Put every script, style, image and font in the pack; inline <script> and <style> work
|
|
1339
|
+
"- ui.panels: HTML pages shown as dashboard tabs. A panel runs sandboxed in an opaque origin: no network, no cookies, no storage, no popups or navigation (a link in a panel opens nothing), no access to the dashboard page. Put every script, style, image and font in the pack and refer to it by a relative path; ES module scripts with relative imports, fonts, inline <script> and <style> all work. localStorage, sessionStorage and cookies throw a SecurityError, so a panel keeps its state in memory and loses it on reload. Every panel file is served with this Content-Security-Policy:",
|
|
1294
1340
|
` ${PACK_PANEL_CONTENT_POLICY}`,
|
|
1295
1341
|
"",
|
|
1296
1342
|
"Panel bridge: list the topics a panel needs under its reads in pack.json; the operator sees them before approving. The panel posts {\"v\":1,\"kind\":\"subscribe\",\"topics\":[...]} to window.parent and gets {\"v\":1,\"kind\":\"hello\",\"granted\":[...]}: the subscribed topics that are also in reads, so a topic left out of reads never arrives. Then a {\"v\":1,\"kind\":\"topic\",\"topic\":...,\"data\":...} message comes for each granted topic, right away and again whenever it changes. Accept messages only when event.source === window.parent. The descriptions in the bridge JSON Schema below give each field's units and meaning.",
|
|
@@ -1337,4 +1383,4 @@ async function readPacksForAgent(request, deps) {
|
|
|
1337
1383
|
};
|
|
1338
1384
|
}
|
|
1339
1385
|
//#endregion
|
|
1340
|
-
export {
|
|
1386
|
+
export { prActionRunAfterExit as A, unknownActionWarnings as B, fixLocallyPrompt as C, packPathsOf as D, mergeItems as E, scopedToRepo as F, withPrActionRun as G, withHandled as H, shouldTellBranchMoved as I, decideHostAllowed as J, withReopened as K, sourceCandidates as L, prFlowRules as M, prFlowSetup as N, plannedActions as O, savedRuleFor as P, teammateThreadItems as R, expandPlaceholders as S, itemLocation as T, withInterruptedRuns as U, visibleRun as V, withOnlyOpenPrs as W, packRow as _, packReportText as a, branchMovedNote as b, packsStatePath as c, PACK_FILE_NAME as d, PacksState as f, packFileHeaders as g, approvedPackThemes as h, packCheckHasProblem as i, prFlowCommands as j, prActionPlaceholderValues as k, readApprovedPackFingerprints as l, approvedPackPanels as m, readPacksForAgent as n, PACKS_DIR_NAME as o, packJsonSchemaText as p, withRuleRun as q, checkPack as r, packDirsUnder as s, packGuideText as t, readPackDir as u, pendingPackNote as v, flaggingReviewers as w, commandFingerprint as x, acceptReport as y, threadCandidates as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $n as STATES } from "./session-Ctzyy3sF.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region shared/contracts/theme-palette.ts
|
|
4
|
-
var HexColor = z.string().regex(/^#[0-9a-fA-F]{6}$/, { error: (issue) => `a color is #rrggbb, not ${JSON.stringify(issue.input)}` });
|
|
4
|
+
var HexColor = z.string().regex(/^#[0-9a-fA-F]{6}$/, { error: (issue) => issue.input === void 0 ? "missing; a theme sets every color as #rrggbb" : `a color is #rrggbb, not ${JSON.stringify(issue.input)}` });
|
|
5
5
|
var ThemeStates = z.strictObject({
|
|
6
6
|
running: HexColor,
|
|
7
7
|
waiting: HexColor,
|