glimmervoid 0.52.2-next.699 → 0.52.2-next.701
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-BwrJAzEk.js → adapters-2BQugGaA.js} +6 -6
- package/dist/chunks/{adapters-BQVgsufG.js → adapters-B5wqMdec.js} +1 -1
- package/dist/chunks/{agent-api-cli-CtQRT4Db.js → agent-api-cli-BLyR79E3.js} +3 -3
- package/dist/chunks/agent-api-cli-DVs4BeP_.js +1 -0
- package/dist/chunks/{agent-api-core-Ddnr3HgI.js → agent-api-core-Cnkg8Qam.js} +2 -2
- package/dist/chunks/{agent-setup-cli-CEU_RVfh.js → agent-setup-cli-DAEX4Z0H.js} +1 -1
- package/dist/chunks/{config-BL8YQ3Ak.js → config-DiPt3I6q.js} +2 -2
- package/dist/chunks/config-store-C9ynPe9J.js +1 -0
- package/dist/chunks/{config-store-aB3AE95Q.js → config-store-Dl4nSG10.js} +8 -7
- package/dist/chunks/{grok-TfN6HhpF.js → grok-DWvNECgc.js} +1 -1
- package/dist/chunks/{kimi-DFoV_Vpe.js → kimi-BcXGiuND.js} +2 -2
- package/dist/chunks/kimi-C74ElgUz.js +1 -0
- package/dist/chunks/{main-D6DExe_h.js → main-BClkuySc.js} +34 -29
- package/dist/chunks/{pack-agent-DlW4j1b6.js → pack-agent-DmA2Vt3T.js} +55 -27
- package/dist/chunks/{pack-bridge-CQ2Jlear.js → pack-bridge-CBJNhZ1u.js} +1 -1
- package/dist/chunks/{packs-cli-DCKa39sG.js → packs-cli-DC4Rgn1_.js} +4 -4
- package/dist/chunks/packs-cli-p3uDBJco.js +1 -0
- package/dist/chunks/{pair-cli-Dud8jpuO.js → pair-cli-BEwh_FPN.js} +2 -2
- package/dist/chunks/{pr-flows-cli-Clw5RPyH.js → pr-flows-cli-BzxqbfoY.js} +22 -29
- package/dist/chunks/{pr-flows-external-DfN4780W.js → pr-flows-external-nV8Twsr3.js} +3 -3
- package/dist/chunks/{remote-config-dHj-Qfux.js → remote-config-DTMfaggb.js} +1 -1
- package/dist/chunks/{session-BrX33men.js → session-HrWPtZq1.js} +6 -3
- package/dist/chunks/{settings-cli-9Z0TOaxK.js → settings-cli-Cd2kd5Wg.js} +5 -5
- package/dist/chunks/{settings-readout-core-c06UYQ-8.js → settings-readout-core-CbuMpDHd.js} +2 -2
- package/dist/chunks/{shown-files-core-Dw46r34m.js → shown-files-core-CfDLqQo9.js} +1 -1
- package/dist/chunks/{spawn-env-C9TqrBFa.js → spawn-env-BEzcqK8w.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-CtLGtrUf.js → ssh-sign-cli-EAue_bXT.js} +2 -2
- package/dist/client/assets/{action-status-Bbo7Fyia.js → action-status-BQU6d-0z.js} +1 -1
- package/dist/client/assets/action-status-BQU6d-0z.js.br +0 -0
- package/dist/client/assets/{arena-panel-DjLi_oT2.js → arena-panel-EH9av__H.js} +2 -2
- package/dist/client/assets/arena-panel-EH9av__H.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-BGIM23C6.js → benchmark-panel-DE7-kAAZ.js} +1 -1
- package/dist/client/assets/benchmark-panel-DE7-kAAZ.js.br +0 -0
- package/dist/client/assets/{boards-view-DVlW49Sr.js → boards-view-C9PzTdRZ.js} +1 -1
- package/dist/client/assets/boards-view-C9PzTdRZ.js.br +0 -0
- package/dist/client/assets/button-B30QfKTN.js +1 -0
- package/dist/client/assets/button-B30QfKTN.js.br +0 -0
- package/dist/client/assets/{card-actions-D5VASOyl.js → card-actions-DZRZp3KM.js} +1 -1
- package/dist/client/assets/{card-registry-CxPu9XGn.js → card-registry-D77jxFPD.js} +1 -1
- package/dist/client/assets/card-registry-D77jxFPD.js.br +0 -0
- package/dist/client/assets/{community-panel-BTKm5Lhg.js → community-panel-CPBsBMRL.js} +1 -1
- package/dist/client/assets/community-panel-CPBsBMRL.js.br +0 -0
- package/dist/client/assets/{control-ws-DxQoY1aG.js → control-ws-BzcRTVte.js} +1 -1
- package/dist/client/assets/control-ws-BzcRTVte.js.br +0 -0
- package/dist/client/assets/{dialogs-B2pJJnBE.js → dialogs-BCCujJFS.js} +1 -1
- package/dist/client/assets/dialogs-BCCujJFS.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-Bbxos6dN.js → doc-editor-ui-PIYnWf7V.js} +1 -1
- package/dist/client/assets/doc-editor-ui-PIYnWf7V.js.br +0 -0
- package/dist/client/assets/{feature-hint-DQt3iscN.js → feature-hint-CLz9q37_.js} +1 -1
- package/dist/client/assets/feature-hint-CLz9q37_.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-BTtzaAxJ.js → first-run-checklist-yfkxD4fc.js} +1 -1
- package/dist/client/assets/first-run-checklist-yfkxD4fc.js.br +0 -0
- package/dist/client/assets/{hooks-panel-ezwWnzzh.js → hooks-panel-Bq0f8Zb4.js} +1 -1
- package/dist/client/assets/hooks-panel-Bq0f8Zb4.js.br +0 -0
- package/dist/client/assets/{index-MrcTP834.js → index-rvEqh3UJ.js} +5 -5
- package/dist/client/assets/index-rvEqh3UJ.js.br +0 -0
- package/dist/client/assets/{issues-panel-tctX4Q02.js → issues-panel-BahJQFU-.js} +1 -1
- package/dist/client/assets/issues-panel-BahJQFU-.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-Db-wSdwi.js +10 -0
- package/dist/client/assets/lane-read-token-step-Db-wSdwi.js.br +0 -0
- package/dist/client/assets/{menu-ByAf-D4t.js → menu-BL0J9l3S.js} +1 -1
- package/dist/client/assets/menu-BL0J9l3S.js.br +0 -0
- package/dist/client/assets/{modal-Cccq9QKp.js → modal-CnO3B835.js} +1 -1
- package/dist/client/assets/modal-CnO3B835.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-DoxJN1p6.js → my-prs-panel-_q3cbV6V.js} +1 -1
- package/dist/client/assets/my-prs-panel-_q3cbV6V.js.br +0 -0
- package/dist/client/assets/{nyan-cat-DYqFVEIO.js → nyan-cat-Bl5sw9Ad.js} +1 -1
- package/dist/client/assets/nyan-cat-Bl5sw9Ad.js.br +0 -0
- package/dist/client/assets/{phone-shell-D2vARBmz.js → phone-shell-X9MkVyc6.js} +1 -1
- package/dist/client/assets/phone-shell-X9MkVyc6.js.br +0 -0
- package/dist/client/assets/{plan-face-3E2usY8A.js → plan-face-CKAqsA4B.js} +2 -2
- package/dist/client/assets/plan-face-CKAqsA4B.js.br +0 -0
- package/dist/client/assets/{plan-render-DolHJmvM.js → plan-render-DGk1dHf0.js} +1 -1
- package/dist/client/assets/plan-render-DGk1dHf0.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-DrjGb4RH.js → pr-queue-columns-DJEV9wHh.js} +1 -1
- package/dist/client/assets/pr-queue-columns-DJEV9wHh.js.br +0 -0
- package/dist/client/assets/{pr-status-icon-DxYoCfBP.js → pr-status-icon-BL8wzUBO.js} +1 -1
- package/dist/client/assets/{pr-status-icon-DxYoCfBP.js.br → pr-status-icon-BL8wzUBO.js.br} +0 -0
- package/dist/client/assets/{radar-panel-iLONRxIB.js → radar-panel-BygfUO5V.js} +1 -1
- package/dist/client/assets/radar-panel-BygfUO5V.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-B7o85a0g.js → repo-roots-adder-B1Bjl-9j.js} +1 -1
- package/dist/client/assets/repo-roots-adder-B1Bjl-9j.js.br +0 -0
- package/dist/client/assets/{resume-dialog-Dee6nJCh.js → resume-dialog-BjFc0rWK.js} +1 -1
- package/dist/client/assets/resume-dialog-BjFc0rWK.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-smdp-hn3.js → review-queue-panel-DHxE8-RL.js} +1 -1
- package/dist/client/assets/review-queue-panel-DHxE8-RL.js.br +0 -0
- package/dist/client/assets/{session-actions-Bup-o08b.js → session-actions-CHr8Kvfj.js} +2 -2
- package/dist/client/assets/session-actions-CHr8Kvfj.js.br +0 -0
- package/dist/client/assets/{session-row-A_MI5_sD.js → session-row-BeO4xVyz.js} +1 -1
- package/dist/client/assets/session-row-BeO4xVyz.js.br +0 -0
- package/dist/client/assets/{session-tick-lPppK7OC.js → session-tick-CbiHcZQf.js} +1 -1
- package/dist/client/assets/session-tick-CbiHcZQf.js.br +0 -0
- package/dist/client/assets/settings-panel-CHJQ2nqc.js +4 -0
- package/dist/client/assets/settings-panel-CHJQ2nqc.js.br +0 -0
- package/dist/client/assets/{setup-step-B0XzLQJc.js → setup-step-D6yDe11H.js} +1 -1
- package/dist/client/assets/setup-step-D6yDe11H.js.br +2 -0
- package/dist/client/assets/{shown-face-DZEzOG7B.js → shown-face-BX8s9eYz.js} +1 -1
- package/dist/client/assets/shown-face-BX8s9eYz.js.br +0 -0
- package/dist/client/assets/{trace-panel-rD_JORVh.js → trace-panel-yc7id1XT.js} +1 -1
- package/dist/client/assets/trace-panel-yc7id1XT.js.br +0 -0
- package/dist/client/assets/{usage-panel-B6oMuE3s.js → usage-panel-7ipBBYIS.js} +1 -1
- package/dist/client/assets/usage-panel-7ipBBYIS.js.br +0 -0
- package/dist/client/assets/{your-day-tip-CnENMCMS.js → your-day-tip-B50L3odI.js} +1 -1
- package/dist/client/assets/your-day-tip-B50L3odI.js.br +3 -0
- package/dist/client/index.html +12 -12
- package/dist/client/index.html.br +0 -0
- package/dist/schema/pack.v1.json +28 -0
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-api-cli-CAVmc6oB.js +0 -1
- package/dist/chunks/config-store-CEM4SJvM.js +0 -1
- package/dist/chunks/kimi-DPAw6RI-.js +0 -1
- package/dist/chunks/packs-cli-DV__4MB_.js +0 -1
- package/dist/client/assets/action-status-Bbo7Fyia.js.br +0 -0
- package/dist/client/assets/arena-panel-DjLi_oT2.js.br +0 -0
- package/dist/client/assets/benchmark-panel-BGIM23C6.js.br +0 -0
- package/dist/client/assets/boards-view-DVlW49Sr.js.br +0 -0
- package/dist/client/assets/button-CeEmJCQe.js +0 -1
- package/dist/client/assets/button-CeEmJCQe.js.br +0 -0
- package/dist/client/assets/card-registry-CxPu9XGn.js.br +0 -0
- package/dist/client/assets/community-panel-BTKm5Lhg.js.br +0 -0
- package/dist/client/assets/control-ws-DxQoY1aG.js.br +0 -0
- package/dist/client/assets/dialogs-B2pJJnBE.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-Bbxos6dN.js.br +0 -0
- package/dist/client/assets/feature-hint-DQt3iscN.js.br +0 -0
- package/dist/client/assets/first-run-checklist-BTtzaAxJ.js.br +0 -0
- package/dist/client/assets/hooks-panel-ezwWnzzh.js.br +0 -0
- package/dist/client/assets/index-MrcTP834.js.br +0 -0
- package/dist/client/assets/issues-panel-tctX4Q02.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-DkaiOW-4.js +0 -10
- package/dist/client/assets/lane-read-token-step-DkaiOW-4.js.br +0 -0
- package/dist/client/assets/menu-ByAf-D4t.js.br +0 -0
- package/dist/client/assets/modal-Cccq9QKp.js.br +0 -0
- package/dist/client/assets/my-prs-panel-DoxJN1p6.js.br +0 -0
- package/dist/client/assets/nyan-cat-DYqFVEIO.js.br +0 -0
- package/dist/client/assets/phone-shell-D2vARBmz.js.br +0 -0
- package/dist/client/assets/plan-face-3E2usY8A.js.br +0 -0
- package/dist/client/assets/plan-render-DolHJmvM.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-DrjGb4RH.js.br +0 -0
- package/dist/client/assets/radar-panel-iLONRxIB.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-B7o85a0g.js.br +0 -0
- package/dist/client/assets/resume-dialog-Dee6nJCh.js.br +0 -0
- package/dist/client/assets/review-queue-panel-smdp-hn3.js.br +0 -0
- package/dist/client/assets/session-actions-Bup-o08b.js.br +0 -0
- package/dist/client/assets/session-row-A_MI5_sD.js.br +0 -0
- package/dist/client/assets/session-tick-lPppK7OC.js.br +0 -0
- package/dist/client/assets/settings-panel-BnyIiop4.js +0 -4
- package/dist/client/assets/settings-panel-BnyIiop4.js.br +0 -0
- package/dist/client/assets/setup-step-B0XzLQJc.js.br +0 -0
- package/dist/client/assets/shown-face-DZEzOG7B.js.br +0 -0
- package/dist/client/assets/trace-panel-rD_JORVh.js.br +0 -0
- package/dist/client/assets/usage-panel-B6oMuE3s.js.br +0 -0
- package/dist/client/assets/your-day-tip-CnENMCMS.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-HrWPtZq1.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-Cnkg8Qam.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-BEwh_FPN.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-DAEX4Z0H.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-Cd2kd5Wg.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-BzxqbfoY.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-p3uDBJco.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-BzxqbfoY.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-EAue_bXT.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-DVs4BeP_.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-DVs4BeP_.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-C9ynPe9J.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-B5wqMdec.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-DAEX4Z0H.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-C74ElgUz.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-DAEX4Z0H.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,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 { C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Fn as
|
|
3
|
+
import { C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Fn as FULL_SHA_RE, Ln as shortSha$1, S as CONVERSATION_PERMISSION_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME } from "./session-HrWPtZq1.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-DiPt3I6q.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-BEzcqK8w.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-DWvNECgc.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-Dl4nSG10.js";
|
|
14
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-BcXGiuND.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";
|
|
@@ -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-2BQugGaA.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-HrWPtZq1.js";
|
|
2
|
+
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, rt as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-Cnkg8Qam.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-CfDLqQo9.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import http from "node:http";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-BLyR79E3.js";
|
|
@@ -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-HrWPtZq1.js";
|
|
2
|
+
import { Qt as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-DiPt3I6q.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";
|
|
@@ -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-DWvNECgc.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, At as SessionPrLinks, Bn as
|
|
2
|
-
import { i as ThemePalette, t as PackBridgeTopic } from "./pack-bridge-
|
|
1
|
+
import { $ as Op, At as SessionPrLinks, Bn as REPO_SLUG_RE, Cn as PrFlowSaveRuleRequest, Ct as MyPrMergeWhenReadyResult, En as PrFlowsSettings, F as SessionDoc, Gn as githubPollingShape, H as TaskTitle, Hn as GithubPollingRefreshRequest, Ht as ReviewChecksState, I as SessionSnapshot, J as BoardReview, K as Board, L as SessionState, Lt as GithubReviewDecision, Mt as repositoryName, Nt as CommitSha, On as PrFlowsStatus, R as ShownFile, Rn as GH_SEGMENT, St as MyPrMergeWhenReadyRequest, U as UnseenOutcome, Un as GithubPollingRefreshResult, Vn as repoParts, Wn as GithubPrsFreshness, Xt as TeamReviewActionResult, Y as BoardSummary, Yt as TeamReviewActionRequest, _n as PrFlowDisposeResult, bn as PrFlowPendingApproval, bt as MyPrMergeResult, dt as MyPr, en as TeamReviewStatus, gn as PrFlowDisposeRequest, gt as MyPrKeepMergeableResult, ht as MyPrKeepMergeableRequest, it as WHITEBOARD_LIMITS, jt as pullRequestKeyFormat, k as SESSION_DOC_PATH_MAX_CHARS, kt as MyPrsStatus, mn as PrFlowApproveRequest, on as hasRequiredActionHead, pn as PrActionRunRequest, ut as LinkedPr, vn as PrFlowItemRequest, w as CoherenceHooksState, wt as MyPrSearchNode, yt as MyPrMergeRequest } from "./session-HrWPtZq1.js";
|
|
2
|
+
import { i as ThemePalette, t as PackBridgeTopic } from "./pack-bridge-CBJNhZ1u.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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as loadConfigFile } from "./config-store-Dl4nSG10.js";
|
|
@@ -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 { D as SESSION_COMMANDS,
|
|
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 { D as SESSION_COMMANDS, Pn as prFlowRulesJsonSchema, Sn as PrFlowRule, hn as PrFlowCommand, wn as PrFlowScopedCommand, xn as PrFlowPrAction } from "./session-HrWPtZq1.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-DiPt3I6q.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";
|
|
@@ -3089,8 +3089,8 @@ var FILE_ONLY_SETTINGS = Object.freeze([
|
|
|
3089
3089
|
path: "prFlows.sources",
|
|
3090
3090
|
title: "PR flows sources",
|
|
3091
3091
|
group: "lanes-team-review",
|
|
3092
|
-
description: "Commands that report review findings for your own pull requests, run without a shell on each new head once you approve the exact command in My PRs. Each entry has id, label, command (an argv array; {prUrl}, {repo}, {number} and {head} expand inside one argument, and GLIMMERVOID_PR_URL, GLIMMERVOID_PR_REPO, GLIMMERVOID_PR_NUMBER and GLIMMERVOID_PR_HEAD are set) and
|
|
3093
|
-
jsonSchema: z.toJSONSchema(z.array(
|
|
3092
|
+
description: "Commands that report review findings for your own pull requests, run without a shell on each new head once you approve the exact command in My PRs. Each entry has id, label, command (an argv array; {prUrl}, {repo}, {number} and {head} expand inside one argument, and GLIMMERVOID_PR_URL, GLIMMERVOID_PR_REPO, GLIMMERVOID_PR_NUMBER and GLIMMERVOID_PR_HEAD are set), timeoutSeconds and optional repos (owner/name; every repository when absent), and prints {\"findings\": [{\"path\", \"lineStart\", \"lineEnd\", \"priority\", \"body\", \"url\"}], \"status\": [{\"label\", \"state\"}]} JSON. Each id is unique within the list. Check entries with glimmervoid pr-flows check.",
|
|
3093
|
+
jsonSchema: z.toJSONSchema(z.array(PrFlowScopedCommand), { io: "input" }),
|
|
3094
3094
|
example: [{
|
|
3095
3095
|
id: "scanner",
|
|
3096
3096
|
label: "Scanner",
|
|
@@ -3179,7 +3179,7 @@ var FILE_ONLY_SETTINGS = Object.freeze([
|
|
|
3179
3179
|
path: "packs",
|
|
3180
3180
|
title: "Packs",
|
|
3181
3181
|
group: "lanes-team-review",
|
|
3182
|
-
description: "More pack directories to load besides every directory under ~/.glimmervoid/packs/. A pack is a pack.json (name, version, description, requires, and sections such as prFlows with prActions, sources, actions and
|
|
3182
|
+
description: "More pack directories to load besides every directory under ~/.glimmervoid/packs/. A pack is a pack.json (name, version, description, requires, and sections such as prFlows with prActions, sources, actions, rules and a repos default for them) plus the files it uses, shared by copying the directory; its commands can use {packDir}, its ids show as <pack>/<id>, and it waits for one approval in Settings, Packs that any edit to a file in it asks again.",
|
|
3183
3183
|
control: "list",
|
|
3184
3184
|
keywords: [
|
|
3185
3185
|
"packs",
|
|
@@ -3198,7 +3198,7 @@ var FILE_ONLY_SETTINGS = Object.freeze([
|
|
|
3198
3198
|
path: "prFlows.rules",
|
|
3199
3199
|
title: "PR flows rules",
|
|
3200
3200
|
group: "lanes-team-review",
|
|
3201
|
-
description: "Ordered rules for review items on your own pull requests; the first match acts with no click and lands in the Handled list, where Undo reopens it. Each matches on source, priority, paths, text and
|
|
3201
|
+
description: "Ordered rules for review items on your own pull requests; the first match acts with no click and lands in the Handled list, where Undo reopens it. Each matches on source, priority, paths, text, scope and repos (owner/name; every repository when absent), and acts with ask, fix-local, dismiss or run:<action id>.",
|
|
3202
3202
|
jsonSchema: prFlowRulesJsonSchema(z.array(PrFlowRule)),
|
|
3203
3203
|
example: [{
|
|
3204
3204
|
name: "Generated files",
|
|
@@ -3209,6 +3209,7 @@ var FILE_ONLY_SETTINGS = Object.freeze([
|
|
|
3209
3209
|
name: "Bot nits",
|
|
3210
3210
|
source: "review-bot[bot]",
|
|
3211
3211
|
priority: ["low"],
|
|
3212
|
+
repos: ["acme/app"],
|
|
3212
3213
|
action: "run:ask-bot"
|
|
3213
3214
|
}],
|
|
3214
3215
|
control: "json",
|
|
@@ -3228,7 +3229,7 @@ var FILE_ONLY_SETTINGS = Object.freeze([
|
|
|
3228
3229
|
path: "prFlows.repoRules",
|
|
3229
3230
|
title: "PR flows repository rules",
|
|
3230
3231
|
group: "lanes-team-review",
|
|
3231
|
-
description: "Rules per repository (owner/name to a list of rules), checked before prFlows.rules for that repository.",
|
|
3232
|
+
description: "Deprecated: put repos on each rule in prFlows.rules instead. Rules per repository (owner/name to a list of rules), still checked before prFlows.rules for that repository.",
|
|
3232
3233
|
jsonSchema: prFlowRulesJsonSchema(z.record(z.string(), z.array(PrFlowRule))),
|
|
3233
3234
|
example: { "acme/app": [{
|
|
3234
3235
|
name: "Docs typos",
|
|
@@ -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-BEzcqK8w.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";
|
|
@@ -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-HrWPtZq1.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-BEzcqK8w.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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "./kimi-BcXGiuND.js";
|
|
@@ -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, $t as TeamReviewStateEntry, A as SESSION_NAME_PATTERN, B as SshSignRequest, Bt as PostingPlan, C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Cn as PrFlowSaveRuleRequest, Dt as MyPrsSnapshot, En as
|
|
5
|
+
import { $ as Op, $t as TeamReviewStateEntry, A as SESSION_NAME_PATTERN, An as PrThreadUnresolveResponse, B as SshSignRequest, Bn as REPO_SLUG_RE, Bt as PostingPlan, C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Cn as PrFlowSaveRuleRequest, Dn as PrFlowsState, Dt as MyPrsSnapshot, En as PrFlowsSettings, Et as MyPrThreadsResponse, Ft as EarlierReview, Gt as ReviewFinding, H as TaskTitle, In as HEX_SHA_RE, It as FindingSeverity, Jn as MERGEABLE_LIVE_STATES, Jt as ReviewVerdict, K as Board, Kn as BADGE_LABELS, Kt as ReviewResult, Ln as shortSha, M as SHOWN_FILE_CAP_BYTES, N as SIGN_URL_ENV, Nn as prActionReportPath, Nt as CommitSha$1, O as SESSION_DOC_BODY_CAP_BYTES, Ot as MyPrsState, P as SSH_SIGN_BODY_CAP_BYTES, Pt as DECIDING_REVIEW_STATES, Q as Note, Qt as TeamReviewResolveResponse, R as ShownFile, Rn as GH_SEGMENT, Rt as GithubReviewState, S as CONVERSATION_PERMISSION_HOOK_EVENT, Sn as PrFlowRule, St as MyPrMergeWhenReadyRequest, T as ConversationQuestion, Tt as MyPrThreadNode, Ut as ReviewComment, Vn as repoParts, Vt as PrDetail, W as BOARD_MEDIA_MAX_EDGE_PX, Wt as ReviewDraft, X as Box, Xn as STATES, Yn as RESTARTABLE_STATES, Yt as TeamReviewActionRequest, Z as Frame, Zt as TeamReviewCompareFiles, _ as AgentSettingsRequest, _t as MyPrLaneEntry, an as decisionAsIfApprovalRequired, b as COHERENCE_HOOKS_INACTIVE, 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, fn as PrActionReportBody, ft as MyPrAutoRebase, gn as PrFlowDisposeRequest, ht as MyPrKeepMergeableRequest, i as ASK_USER_QUESTION_TOOL_NAME, in as canApproveAfterComment, it as WHITEBOARD_LIMITS, j as SESSION_NAME_RULE_TEXT, kn as PrThreadReplyResponse, l as AgentEditRequest, ln as PR_ACTION_REPORT_ROUTE, lt as sparseBoardReply, mn as PrFlowApproveRequest, mt as MyPrCheckContextsResponse, nn as TeamReviewThreadResult, nt as Unit, o as AgentAttentionRequest, pn as PrActionRunRequest, pt as MyPrCheckContext, q as BoardRecord, qn as KILLABLE_STATES, 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, vn as PrFlowItemRequest, vt as MyPrMergeMethod, x as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, xt as MyPrMergeStateResponse, y as AgentWhyRequest, yt as MyPrMergeRequest, zn as NODE_ID_RE, zt as PostedReviewEvent } from "./session-HrWPtZq1.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-DiPt3I6q.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-Cnkg8Qam.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-CfDLqQo9.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-Dl4nSG10.js";
|
|
21
|
+
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-BcXGiuND.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-2BQugGaA.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 threadCandidates, D as mergeItems, E as itemLocation, F as
|
|
25
|
+
import { B as threadCandidates, D as mergeItems, E as itemLocation, F as savedRuleFor, G as withOnlyOpenPrs, H as visibleRun, I as scopedToRepo, J as withRuleRun, K as withPrActionRun, L as shouldTellBranchMoved, N as prFlowRules, O as packPathsOf, P as prFlowSetup, R as sourceCandidates$1, S as commandFingerprint, T as flaggingReviewers, U as withHandled, V as unknownActionWarnings, W as withInterruptedRuns, Y as decideHostAllowed, _ as packFileHeaders, b as acceptReport, c as packDirsUnder, d as readPackDir, f as PACK_FILE_NAME, g as approvedPackThemes, h as approvedPackPanels, j as prActionRunAfterExit, k as plannedActions, l as packsStatePath, n as readPacksForAgent, p as PacksState, q as withReopened, s as PACKS_DIR_NAME, v as packRow, w as fixLocallyPrompt, x as branchMovedNote, y as pendingPackNote, z as teammateThreadItems } from "./pack-agent-DmA2Vt3T.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-DTMfaggb.js";
|
|
28
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-CbuMpDHd.js";
|
|
29
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-nV8Twsr3.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";
|
|
@@ -40291,7 +40291,7 @@ function createPrFlowsWiring({ statePath, openPrs, linkedSession, readConfigFile
|
|
|
40291
40291
|
const prActionsByPr = {};
|
|
40292
40292
|
const prActionRunsByPr = {};
|
|
40293
40293
|
for (const pr of openPrs()) {
|
|
40294
|
-
const prActionChoices =
|
|
40294
|
+
const prActionChoices = scopedToRepo(approvedPrActions, pr.repo).map(({ id, label }) => ({
|
|
40295
40295
|
id,
|
|
40296
40296
|
label
|
|
40297
40297
|
}));
|
|
@@ -40471,7 +40471,7 @@ function createPrFlowsWiring({ statePath, openPrs, linkedSession, readConfigFile
|
|
|
40471
40471
|
ok: false,
|
|
40472
40472
|
error: "The pull request has a new head since this view loaded; check it and click again."
|
|
40473
40473
|
};
|
|
40474
|
-
const action =
|
|
40474
|
+
const action = scopedToRepo(setup.commands.prActions, pr.repo).find((candidate) => candidate.id === request.actionId && setup.approved.has(commandFingerprint("pr-action", candidate)));
|
|
40475
40475
|
if (!action) return {
|
|
40476
40476
|
ok: false,
|
|
40477
40477
|
error: "That action is not in prFlows.prActions for this repository, or it waits for your approval in My PRs."
|
|
@@ -40585,7 +40585,7 @@ function createPrFlowsWiring({ statePath, openPrs, linkedSession, readConfigFile
|
|
|
40585
40585
|
ok: false,
|
|
40586
40586
|
error: "That review item is no longer open on this pull request."
|
|
40587
40587
|
};
|
|
40588
|
-
const rule = PrFlowRule.safeParse(savedRuleFor(found.item, request.reason));
|
|
40588
|
+
const rule = PrFlowRule.safeParse(savedRuleFor(found.item, found.pr.repo, request.reason));
|
|
40589
40589
|
if (!rule.success) return {
|
|
40590
40590
|
ok: false,
|
|
40591
40591
|
error: `Could not build a rule for this item: ${rule.error.issues[0]?.message ?? "invalid rule"}`
|
|
@@ -40683,12 +40683,14 @@ function createPrFlowsWiring({ statePath, openPrs, linkedSession, readConfigFile
|
|
|
40683
40683
|
label
|
|
40684
40684
|
}));
|
|
40685
40685
|
const runnableActionIds = new Set(runnableActions.map((action) => action.id));
|
|
40686
|
+
const { rules: personalRules, warnings: ruleWarnings } = prFlowRules(configFile);
|
|
40687
|
+
const allRules = [...personalRules, ...setup.packRules];
|
|
40688
|
+
for (const warning of ruleWarnings) nextWarnings.add(warning);
|
|
40686
40689
|
for (const pr of prs) {
|
|
40687
|
-
startDueSources(pr, commands.sources, approved);
|
|
40690
|
+
startDueSources(pr, scopedToRepo(commands.sources, pr.repo), approved);
|
|
40688
40691
|
tellBranchMoved(pr);
|
|
40689
|
-
const
|
|
40690
|
-
const
|
|
40691
|
-
for (const warning of [...ruleWarnings, ...unknownActionWarnings(rules, new Set(commands.actions.map((action) => action.id)))]) nextWarnings.add(warning);
|
|
40692
|
+
const rules = scopedToRepo(allRules, pr.repo);
|
|
40693
|
+
for (const warning of unknownActionWarnings(rules, new Set(commands.actions.map((action) => action.id)))) nextWarnings.add(warning);
|
|
40692
40694
|
for (const planned of plannedActions(pr.key, reviewItemsFor(pr), rules, state, runnableActionIds)) {
|
|
40693
40695
|
if (planned.action.startsWith("run:") && hasActionRunAtHead(pr, planned.item.key, planned.action)) continue;
|
|
40694
40696
|
const outcome = await disposeGuarded({
|
|
@@ -52060,19 +52062,17 @@ function runSettingsOf(project) {
|
|
|
52060
52062
|
for (const field of COPIED_RUN_SETTINGS) if (project[field] !== void 0) Object.assign(runSettings, { [field]: project[field] });
|
|
52061
52063
|
return runSettings;
|
|
52062
52064
|
}
|
|
52063
|
-
function requestFromLiveSession(live
|
|
52065
|
+
function requestFromLiveSession(live) {
|
|
52064
52066
|
const repos = live.workspaceRepos && live.workspaceRepos.length >= 2 ? [...live.workspaceRepos] : void 0;
|
|
52065
52067
|
return {
|
|
52066
|
-
name,
|
|
52067
52068
|
path: repos?.[0] ?? live.path,
|
|
52068
52069
|
repos,
|
|
52069
52070
|
agent: live.agentId,
|
|
52070
52071
|
dangerouslySkipPermissions: live.dangerouslySkipPermissions
|
|
52071
52072
|
};
|
|
52072
52073
|
}
|
|
52073
|
-
function requestFromProject(project
|
|
52074
|
+
function requestFromProject(project) {
|
|
52074
52075
|
return {
|
|
52075
|
-
name,
|
|
52076
52076
|
path: project.repos?.[0] ?? project.path,
|
|
52077
52077
|
repos: project.repos ? [...project.repos] : void 0,
|
|
52078
52078
|
agent: project.agent,
|
|
@@ -52080,15 +52080,20 @@ function requestFromProject(project, name) {
|
|
|
52080
52080
|
environment: project.environment?.name
|
|
52081
52081
|
};
|
|
52082
52082
|
}
|
|
52083
|
+
function folderSessionName(request, sessionNames) {
|
|
52084
|
+
if (request.repos) return null;
|
|
52085
|
+
const folderName = nextSuggestedName(path.basename(request.path), sessionNames);
|
|
52086
|
+
return SESSION_NAME_PATTERN.test(folderName) ? folderName : null;
|
|
52087
|
+
}
|
|
52083
52088
|
function planQuickSession({ live, project, sessionNames }) {
|
|
52084
|
-
const
|
|
52085
|
-
|
|
52086
|
-
request: requestFromLiveSession(live, name),
|
|
52087
|
-
runSettings: {}
|
|
52088
|
-
};
|
|
52089
|
+
const unnamedRequest = project ? requestFromProject(project) : requestFromLiveSession(live);
|
|
52090
|
+
const name = folderSessionName(unnamedRequest, sessionNames) ?? nextSuggestedName(autoNameBase(live.name), sessionNames);
|
|
52089
52091
|
return {
|
|
52090
|
-
request:
|
|
52091
|
-
|
|
52092
|
+
request: {
|
|
52093
|
+
...unnamedRequest,
|
|
52094
|
+
name
|
|
52095
|
+
},
|
|
52096
|
+
runSettings: project ? runSettingsOf(project) : {}
|
|
52092
52097
|
};
|
|
52093
52098
|
}
|
|
52094
52099
|
//#endregion
|