glimmervoid 0.49.1-next.524 → 0.49.1-next.526
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 +14 -14
- package/dist/chunks/{adapters-DafVW4QO.js → adapters-B41VtFRg.js} +6 -6
- package/dist/chunks/{adapters-PaP74ZJ0.js → adapters-CnOf7OvI.js} +1 -1
- package/dist/chunks/{agent-api-cli-DBI5vzKR.js → agent-api-cli-DUBR38mZ.js} +3 -3
- package/dist/chunks/{agent-api-cli-DiuoxL4v.js → agent-api-cli-q6_-t0BR.js} +1 -1
- package/dist/chunks/{agent-api-core-BiaIfzBA.js → agent-api-core-CrBmksZB.js} +3 -3
- package/dist/chunks/{agent-setup-cli-CVGIGZ1l.js → agent-setup-cli-C-KR3CJu.js} +1 -1
- package/dist/chunks/{commit-sessions-DpOoG4ys.js → commit-sessions-DlANvGNT.js} +1 -1
- package/dist/chunks/{config-Cq5ButJ9.js → config-Crnp0dBn.js} +1 -1
- package/dist/chunks/{config-store-DdRVlBmt.js → config-store-B8x_4qD1.js} +2 -2
- package/dist/chunks/config-store-vSGDbOGP.js +1 -0
- package/dist/chunks/{grok-CQ_zwSfe.js → grok-DPflD1lW.js} +1 -1
- package/dist/chunks/kimi-Cb4eVUlv.js +1 -0
- package/dist/chunks/{kimi-Cwlx6TDQ.js → kimi-ChY_l68E.js} +2 -2
- package/dist/chunks/{main-BaMTv7BL.js → main-BZ7b97bx.js} +16 -16
- package/dist/chunks/{pair-cli-DJ2W325a.js → pair-cli-BsrbO_hb.js} +2 -2
- package/dist/chunks/{pairings-store-OtnvMpSP.js → pairings-store-CcAgpqEk.js} +1 -1
- package/dist/chunks/{session-DUFWokKF.js → session-Ce2f0ktF.js} +32 -29
- package/dist/chunks/{settings-cli-BqwqEEr_.js → settings-cli-DxCjH_8t.js} +5 -5
- package/dist/chunks/{settings-readout-core-BfnxEEHx.js → settings-readout-core-Ck1Xnm2x.js} +2 -2
- package/dist/chunks/{shown-files-core-Dbzn7Pyl.js → shown-files-core-wpxNWTxN.js} +1 -1
- package/dist/chunks/{spawn-env-xHvxWyus.js → spawn-env-B3uNQMja.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-CXzZY4iK.js → ssh-sign-cli-DNh_DS8x.js} +2 -2
- package/dist/chunks/{why-cli-CwnxoUgM.js → why-cli-DPO1mPSt.js} +2 -2
- package/dist/client/assets/{action-status-RL7Vkog6.js → action-status-OZ3CZkws.js} +1 -1
- package/dist/client/assets/action-status-OZ3CZkws.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-CxCAc1E1.js → benchmark-panel-CwlX67Gx.js} +1 -1
- package/dist/client/assets/benchmark-panel-CwlX67Gx.js.br +0 -0
- package/dist/client/assets/{boards-view-NnxZnP8Z.js → boards-view-YgD7F6Hi.js} +1 -1
- package/dist/client/assets/boards-view-YgD7F6Hi.js.br +0 -0
- package/dist/client/assets/{card-registry-BnVWc0v-.js → card-registry-D4CsRWCo.js} +1 -1
- package/dist/client/assets/card-registry-D4CsRWCo.js.br +0 -0
- package/dist/client/assets/{community-panel-X9Gb8Z6-.js → community-panel-CTXvr-0X.js} +1 -1
- package/dist/client/assets/community-panel-CTXvr-0X.js.br +0 -0
- package/dist/client/assets/{control-ws-iqtzInzE.js → control-ws--WfaYn6Y.js} +1 -1
- package/dist/client/assets/control-ws--WfaYn6Y.js.br +0 -0
- package/dist/client/assets/{dialogs-ldasvJOW.js → dialogs-0UqvR-a9.js} +1 -1
- package/dist/client/assets/dialogs-0UqvR-a9.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-H-VGsDuj.js → doc-editor-ui-asnGQIof.js} +1 -1
- package/dist/client/assets/doc-editor-ui-asnGQIof.js.br +0 -0
- package/dist/client/assets/{feature-hint-BYyaR-zP.js → feature-hint-C5mQpYQI.js} +1 -1
- package/dist/client/assets/feature-hint-C5mQpYQI.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-A6C6spLQ.js → first-run-checklist-D4cpY4bv.js} +1 -1
- package/dist/client/assets/first-run-checklist-D4cpY4bv.js.br +0 -0
- package/dist/client/assets/{hooks-panel-CIQA8I1P.js → hooks-panel-D-dWJzbU.js} +1 -1
- package/dist/client/assets/hooks-panel-D-dWJzbU.js.br +0 -0
- package/dist/client/assets/{index-D0-5ZoRG.js → index-CGObKPPj.js} +6 -6
- package/dist/client/assets/index-CGObKPPj.js.br +0 -0
- package/dist/client/assets/{issues-panel-BI8ltbSp.js → issues-panel-Cs8GRpov.js} +1 -1
- package/dist/client/assets/issues-panel-Cs8GRpov.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-IXFOzKtD.js → my-prs-panel-BoZu7AMM.js} +1 -1
- package/dist/client/assets/my-prs-panel-BoZu7AMM.js.br +0 -0
- package/dist/client/assets/{nyan-cat-C7yjtd6B.js → nyan-cat-Dhyvor70.js} +1 -1
- package/dist/client/assets/nyan-cat-Dhyvor70.js.br +0 -0
- package/dist/client/assets/{phone-shell-BKgCyVYW.js → phone-shell-DDTNyiJG.js} +1 -1
- package/dist/client/assets/phone-shell-DDTNyiJG.js.br +0 -0
- package/dist/client/assets/{plan-face-B7rNw8jp.js → plan-face-BruDv84E.js} +1 -1
- package/dist/client/assets/plan-face-BruDv84E.js.br +0 -0
- package/dist/client/assets/{plan-render-1yGN646h.js → plan-render-J9yIDFzF.js} +1 -1
- package/dist/client/assets/plan-render-J9yIDFzF.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-C095FH1n.js → pr-queue-columns-BlzuLpfm.js} +1 -1
- package/dist/client/assets/pr-queue-columns-BlzuLpfm.js.br +0 -0
- package/dist/client/assets/{radar-panel-0aKewE7D.js → radar-panel-Dd5oWoUS.js} +1 -1
- package/dist/client/assets/radar-panel-Dd5oWoUS.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-CuideeHN.js → repo-roots-adder-D4Uf6R63.js} +1 -1
- package/dist/client/assets/repo-roots-adder-D4Uf6R63.js.br +0 -0
- package/dist/client/assets/{resume-dialog-DnoRx0tM.js → resume-dialog-BXhNCt8r.js} +1 -1
- package/dist/client/assets/resume-dialog-BXhNCt8r.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-CJvgEpmr.js → review-queue-panel-iSEVDIQY.js} +1 -1
- package/dist/client/assets/review-queue-panel-iSEVDIQY.js.br +0 -0
- package/dist/client/assets/{session-tick-BfD3MVPz.js → session-tick-B717I0em.js} +1 -1
- package/dist/client/assets/session-tick-B717I0em.js.br +0 -0
- package/dist/client/assets/{settings-panel-DjB6LQqd.js → settings-panel-B4o5ydV4.js} +2 -2
- package/dist/client/assets/settings-panel-B4o5ydV4.js.br +0 -0
- package/dist/client/assets/{shown-face-CoHYsqSm.js → shown-face-CWkGv6ME.js} +1 -1
- package/dist/client/assets/shown-face-CWkGv6ME.js.br +0 -0
- package/dist/client/assets/{team-review-panel-CSdj8sXP.js → team-review-panel-DgMDOumQ.js} +1 -1
- package/dist/client/assets/team-review-panel-DgMDOumQ.js.br +0 -0
- package/dist/client/assets/{trace-panel-VGhL-Fmu.js → trace-panel-CGnCckMm.js} +1 -1
- package/dist/client/assets/trace-panel-CGnCckMm.js.br +0 -0
- package/dist/client/assets/updates-view-core-8eO-yA3c.js +1 -0
- package/dist/client/assets/updates-view-core-8eO-yA3c.js.br +0 -0
- package/dist/client/assets/{usage-panel-B5TtwMBV.js → usage-panel-CzAAyIxe.js} +1 -1
- package/dist/client/assets/usage-panel-CzAAyIxe.js.br +0 -0
- package/dist/client/assets/{your-day-tip-waEb2g7F.js → your-day-tip-CLprzunC.js} +1 -1
- package/dist/client/assets/your-day-tip-CLprzunC.js.br +0 -0
- package/dist/client/index.html +6 -6
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/config-store-Cve35GWj.js +0 -1
- package/dist/chunks/kimi-2suyHcpQ.js +0 -1
- package/dist/client/assets/action-status-RL7Vkog6.js.br +0 -0
- package/dist/client/assets/benchmark-panel-CxCAc1E1.js.br +0 -0
- package/dist/client/assets/boards-view-NnxZnP8Z.js.br +0 -0
- package/dist/client/assets/card-registry-BnVWc0v-.js.br +0 -0
- package/dist/client/assets/community-panel-X9Gb8Z6-.js.br +0 -0
- package/dist/client/assets/control-ws-iqtzInzE.js.br +0 -0
- package/dist/client/assets/dialogs-ldasvJOW.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-H-VGsDuj.js.br +0 -0
- package/dist/client/assets/feature-hint-BYyaR-zP.js.br +0 -0
- package/dist/client/assets/first-run-checklist-A6C6spLQ.js.br +0 -0
- package/dist/client/assets/hooks-panel-CIQA8I1P.js.br +0 -0
- package/dist/client/assets/index-D0-5ZoRG.js.br +0 -0
- package/dist/client/assets/issues-panel-BI8ltbSp.js.br +0 -0
- package/dist/client/assets/my-prs-panel-IXFOzKtD.js.br +0 -0
- package/dist/client/assets/nyan-cat-C7yjtd6B.js.br +0 -0
- package/dist/client/assets/phone-shell-BKgCyVYW.js.br +0 -0
- package/dist/client/assets/plan-face-B7rNw8jp.js.br +0 -0
- package/dist/client/assets/plan-render-1yGN646h.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-C095FH1n.js.br +0 -4
- package/dist/client/assets/radar-panel-0aKewE7D.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-CuideeHN.js.br +0 -0
- package/dist/client/assets/resume-dialog-DnoRx0tM.js.br +0 -0
- package/dist/client/assets/review-queue-panel-CJvgEpmr.js.br +0 -0
- package/dist/client/assets/session-tick-BfD3MVPz.js.br +0 -0
- package/dist/client/assets/settings-panel-DjB6LQqd.js.br +0 -0
- package/dist/client/assets/shown-face-CoHYsqSm.js.br +0 -0
- package/dist/client/assets/team-review-panel-CSdj8sXP.js.br +0 -0
- package/dist/client/assets/trace-panel-VGhL-Fmu.js.br +0 -0
- package/dist/client/assets/updates-view-core-C1nXfl7Z.js +0 -1
- package/dist/client/assets/updates-view-core-C1nXfl7Z.js.br +0 -0
- package/dist/client/assets/usage-panel-B5TtwMBV.js.br +0 -0
- package/dist/client/assets/your-day-tip-waEb2g7F.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -4,9 +4,9 @@ import { t as firstLine } from "../chunks/text-core-rXHoQWP9.js";
|
|
|
4
4
|
import { i as errorText } from "../chunks/text-DoirglWV.js";
|
|
5
5
|
import { a as packageRoot } from "../chunks/runtime-paths-CYwF658V.js";
|
|
6
6
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DUWk0Lui.js";
|
|
7
|
-
import { t as AGENT_API_VERBS } from "../chunks/session-
|
|
7
|
+
import { t as AGENT_API_VERBS } from "../chunks/session-Ce2f0ktF.js";
|
|
8
8
|
import { a as execSync } from "../chunks/child-process-safe-BCOoKfxG.js";
|
|
9
|
-
import { nt as isOwnedCommandName, r as agentCommandHelpLines, rt as parseCommand, tt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-
|
|
9
|
+
import { nt as isOwnedCommandName, r as agentCommandHelpLines, rt as parseCommand, tt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-CrBmksZB.js";
|
|
10
10
|
import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
|
|
11
11
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-xS1GFU8P.js";
|
|
12
12
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
@@ -63,7 +63,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
63
63
|
return await runDoctor() ? 0 : 1;
|
|
64
64
|
},
|
|
65
65
|
pair: async ({ values }) => {
|
|
66
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
66
|
+
const { runPairCli } = await import("../chunks/pair-cli-BsrbO_hb.js");
|
|
67
67
|
return runPairCli({
|
|
68
68
|
isListing: values.list === true,
|
|
69
69
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -71,19 +71,19 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
71
71
|
});
|
|
72
72
|
},
|
|
73
73
|
agent: async () => {
|
|
74
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
74
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-C-KR3CJu.js");
|
|
75
75
|
return runAgentSetupCli();
|
|
76
76
|
},
|
|
77
77
|
settings: async (parsed) => {
|
|
78
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
78
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-DxCjH_8t.js");
|
|
79
79
|
return runParsedSettingsCli(parsed);
|
|
80
80
|
},
|
|
81
81
|
why: async ({ positionals }) => {
|
|
82
|
-
const { runWhyCli } = await import("../chunks/why-cli-
|
|
82
|
+
const { runWhyCli } = await import("../chunks/why-cli-DPO1mPSt.js");
|
|
83
83
|
return runWhyCli({ targetArgument: positionals[0] ?? "" });
|
|
84
84
|
},
|
|
85
85
|
"ssh-sign": async ({ rawArgs }) => {
|
|
86
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
86
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-DNh_DS8x.js");
|
|
87
87
|
return runSshSignCli(rawArgs);
|
|
88
88
|
}
|
|
89
89
|
};
|
|
@@ -105,7 +105,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
105
105
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
106
106
|
}
|
|
107
107
|
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) => {
|
|
108
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
108
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-q6_-t0BR.js");
|
|
109
109
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
110
110
|
}])]);
|
|
111
111
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -119,7 +119,7 @@ function missingAgentText(agentId) {
|
|
|
119
119
|
}
|
|
120
120
|
async function printSessionLimits() {
|
|
121
121
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
122
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
122
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-q6_-t0BR.js");
|
|
123
123
|
const limitsLines = await sessionLimitsHelpLines();
|
|
124
124
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
125
125
|
}
|
|
@@ -176,7 +176,7 @@ async function readDeclaredCustomAgents() {
|
|
|
176
176
|
declared: [],
|
|
177
177
|
error: null
|
|
178
178
|
};
|
|
179
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
179
|
+
const { loadConfigFile } = await import("../chunks/config-store-vSGDbOGP.js");
|
|
180
180
|
try {
|
|
181
181
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
182
182
|
if (!loaded.config) return {
|
|
@@ -252,7 +252,7 @@ async function runDoctor() {
|
|
|
252
252
|
}
|
|
253
253
|
switchSection("Agents");
|
|
254
254
|
try {
|
|
255
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
255
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-CnOf7OvI.js");
|
|
256
256
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
257
257
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
258
258
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -260,10 +260,10 @@ async function runDoctor() {
|
|
|
260
260
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
261
261
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
262
262
|
}
|
|
263
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
263
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-C-KR3CJu.js");
|
|
264
264
|
const grokSetup = inspectGrokAgentSetup();
|
|
265
265
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
266
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
266
|
+
const { default: kimi } = await import("../chunks/kimi-Cb4eVUlv.js");
|
|
267
267
|
const { describeAgentHome } = await import("../chunks/agent-home-B3ELUBLU.js");
|
|
268
268
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-C7GFm7jA.js");
|
|
269
269
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
@@ -274,7 +274,7 @@ async function runDoctor() {
|
|
|
274
274
|
try {
|
|
275
275
|
const { resolvePackageBin } = await import("../chunks/runtime-paths-CKqE4LXP.js");
|
|
276
276
|
const { execFileSync } = await import("../chunks/child-process-safe-BKjzSEYd.js");
|
|
277
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
277
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-C-KR3CJu.js");
|
|
278
278
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
279
279
|
line("Sane YOLO", binPath || "not installed");
|
|
280
280
|
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 { d as isPathInside, f as safePathSegment, o as relayPath } from "./runtime-paths-CYwF658V.js";
|
|
3
|
-
import { b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME, rn as shortSha$1, tn as FULL_SHA_RE, y as CONVERSATION_PERMISSION_HOOK_EVENT } from "./session-
|
|
3
|
+
import { b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME, rn as shortSha$1, tn as FULL_SHA_RE, y as CONVERSATION_PERMISSION_HOOK_EVENT } from "./session-Ce2f0ktF.js";
|
|
4
4
|
import { c as spawn, i as execFileSync, r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
5
|
-
import { Ht as PLAN_TOOL_NAME, S as InstallFlavor, Vt as PLAN_RESULT_HOOK_EVENT, c as SHELL_AGENT_ID, kt as UpdateChannel, qt as HTTP_URL_RE, zt as PLAN_HOOK_EVENT } from "./config-
|
|
5
|
+
import { Ht as PLAN_TOOL_NAME, S as InstallFlavor, Vt as PLAN_RESULT_HOOK_EVENT, c as SHELL_AGENT_ID, kt as UpdateChannel, qt as HTTP_URL_RE, zt as PLAN_HOOK_EVENT } from "./config-Crnp0dBn.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
9
|
import { n as shellQuote, t as buildHookCommand } from "./hook-command-core-5G0De2KV.js";
|
|
10
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
11
|
-
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-
|
|
10
|
+
import { t as buildAgentEnv } from "./spawn-env-B3uNQMja.js";
|
|
11
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-DPflD1lW.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 { h as isExperimentalBuild, m as compareReleaseVersions, s as glimmervoidHomeDir } from "./config-store-
|
|
14
|
-
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-
|
|
13
|
+
import { h as isExperimentalBuild, m as compareReleaseVersions, s as glimmervoidHomeDir } from "./config-store-B8x_4qD1.js";
|
|
14
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-ChY_l68E.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-8U0YNRUx.js";
|
|
16
16
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-DGjtaaCS.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-B41VtFRg.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Z as UNIT_STATUSES, et as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } 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 { Z as UNIT_STATUSES, et as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-Ce2f0ktF.js";
|
|
2
|
+
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, rt as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-CrBmksZB.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-wpxNWTxN.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import http from "node:http";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as askAgentApi, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-
|
|
1
|
+
export { t as askAgentApi, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-DUBR38mZ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, a as AgentAnswerRequest, c as AgentEditRequest, d as AgentReadRequest, f as AgentReviewsRequest, g as AgentSpawnRequest, h as AgentSettingsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, p as AgentSendRequest, s as AgentCloseRequest, t as AGENT_API_VERBS, tt as WhiteboardAgentRequest, u as AgentPullRequestRequest, w as SESSION_COMMANDS } from "./session-
|
|
2
|
-
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
1
|
+
import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, a as AgentAnswerRequest, c as AgentEditRequest, d as AgentReadRequest, f as AgentReviewsRequest, g as AgentSpawnRequest, h as AgentSettingsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, p as AgentSendRequest, s as AgentCloseRequest, t as AGENT_API_VERBS, tt as WhiteboardAgentRequest, u as AgentPullRequestRequest, w as SESSION_COMMANDS } from "./session-Ce2f0ktF.js";
|
|
2
|
+
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-Crnp0dBn.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";
|
|
@@ -1248,7 +1248,7 @@ function describeChildWorktree({ worktreeDir, branch }) {
|
|
|
1248
1248
|
return branch ? `branch ${branch} at ${worktreeDir}` : worktreeDir;
|
|
1249
1249
|
}
|
|
1250
1250
|
function describeUnpushedCloseRefusal(childName, childId, worktree) {
|
|
1251
|
-
return `${childName} holds work that is not on the integration branch (${describeChildWorktree(worktree)}), so it was not closed. Ask it to land the work with
|
|
1251
|
+
return `${childName} holds work that is not on the integration branch (${describeChildWorktree(worktree)}), so it was not closed. Ask it to land the work with push (session send to child ${childId}), or close it with discard set to end it and throw the work away`;
|
|
1252
1252
|
}
|
|
1253
1253
|
var CHILD_END_CAUSE_COPY = {
|
|
1254
1254
|
exited: "exited by itself",
|
|
@@ -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-DPflD1lW.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,6 +1,6 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
3
|
-
import { Pt as TraceRecord } from "./config-
|
|
3
|
+
import { Pt as TraceRecord } from "./config-Crnp0dBn.js";
|
|
4
4
|
import { m as createKeyedSerialQueue, n as appendJsonLines } from "./json-file-AKRVPqG1.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as WHITEBOARD_LIMITS, $t as hasRequiredActionHead, At as GithubReviewDecision, B as UnseenOutcome, Ct as SessionPrLinks, E as SESSION_DOC_PATH_MAX_CHARS, Et as CommitSha, F as ShownFile, Ft as ReviewChecksState, G as BoardSummary, H as Board, Ht as TeamReviewActionRequest, M as SessionDoc, N as SessionSnapshot, P as SessionState, St as MyPrsStatus, Tt as repositoryName, Ut as TeamReviewActionResult, W as BoardReview, Y as Op, _t as MyPrSearchNode, cn as GithubPollingRefreshRequest, ct as MyPrKeepMergeableRequest, dn as githubPollingShape, ft as MyPrMergeRequest, gt as MyPrMergeWhenReadyResult, ht as MyPrMergeWhenReadyRequest, in as GH_SEGMENT, it as MyPr, ln as GithubPollingRefreshResult, lt as MyPrKeepMergeableResult, on as REPO_SLUG_RE, pt as MyPrMergeResult, qt as TeamReviewStatus, rt as LinkedPr, sn as repoParts, un as GithubPrsFreshness, wt as pullRequestKeyFormat, x as CoherenceHooksState, z as TaskTitle } from "./session-
|
|
1
|
+
import { $ as WHITEBOARD_LIMITS, $t as hasRequiredActionHead, At as GithubReviewDecision, B as UnseenOutcome, Ct as SessionPrLinks, E as SESSION_DOC_PATH_MAX_CHARS, Et as CommitSha, F as ShownFile, Ft as ReviewChecksState, G as BoardSummary, H as Board, Ht as TeamReviewActionRequest, M as SessionDoc, N as SessionSnapshot, P as SessionState, St as MyPrsStatus, Tt as repositoryName, Ut as TeamReviewActionResult, W as BoardReview, Y as Op, _t as MyPrSearchNode, cn as GithubPollingRefreshRequest, ct as MyPrKeepMergeableRequest, dn as githubPollingShape, ft as MyPrMergeRequest, gt as MyPrMergeWhenReadyResult, ht as MyPrMergeWhenReadyRequest, in as GH_SEGMENT, it as MyPr, ln as GithubPollingRefreshResult, lt as MyPrKeepMergeableResult, on as REPO_SLUG_RE, pt as MyPrMergeResult, qt as TeamReviewStatus, rt as LinkedPr, sn as repoParts, un as GithubPrsFreshness, wt as pullRequestKeyFormat, x as CoherenceHooksState, z as TaskTitle } from "./session-Ce2f0ktF.js";
|
|
2
2
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { a as packageRoot, u as equalsIgnoringCaseOnWindows } from "./runtime-paths-CYwF658V.js";
|
|
3
3
|
import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
4
|
-
import { w as SESSION_COMMANDS } from "./session-
|
|
5
|
-
import { $ as FLYING_ANIMALS_DEFAULTS, C as ONBOARDING_STEPS, E as OPERATOR_SURFACES, Ot as UPDATE_CHANNELS, Q as COMMUNITY_INTERVAL_MINUTES_RANGE, T as OPERATOR_ACTIONS_BY_SURFACE, _t as USAGE_RETAIN_DAYS_RANGE, at as NON_NEGATIVE_NUMBER_RANGE, b as DASHBOARD_VIEWS, bt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, ct as POSTHOG_FIX_TIMEOUT_RANGE, d as BranchGcFileSettings, dt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, et as FLYING_ANIMALS_DURATION_RANGE, f as USAGE_COST_MODES, ft as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, gt as USAGE_INTEGER_RANGES, ht as USAGE_BUDGET_RANGE, i as Config, it as MEMORY_RESERVE_MB_RANGE, j as HintFeature, lt as POSTHOG_PROJECT_ID_RANGE, m as normalizeLegacyConfigNumbers, mt as TASK_TITLE_TIMEOUT_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_SCALE_RANGE, ot as PORT_RANGE, pt as REPLAY_BUFFER_KB_RANGE, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as POSITIVE_NUMBER_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as FLYING_ANIMALS_GAP_RANGE, u as configIssueMessage, ut as POSTHOG_TRAFFIC_BASELINE_RANGE, vt as USAGE_SCAN_INTERVAL_RANGE, w as ONBOARDING_STEP_STATES, yt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE } from "./config-
|
|
4
|
+
import { w as SESSION_COMMANDS } from "./session-Ce2f0ktF.js";
|
|
5
|
+
import { $ as FLYING_ANIMALS_DEFAULTS, C as ONBOARDING_STEPS, E as OPERATOR_SURFACES, Ot as UPDATE_CHANNELS, Q as COMMUNITY_INTERVAL_MINUTES_RANGE, T as OPERATOR_ACTIONS_BY_SURFACE, _t as USAGE_RETAIN_DAYS_RANGE, at as NON_NEGATIVE_NUMBER_RANGE, b as DASHBOARD_VIEWS, bt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, ct as POSTHOG_FIX_TIMEOUT_RANGE, d as BranchGcFileSettings, dt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, et as FLYING_ANIMALS_DURATION_RANGE, f as USAGE_COST_MODES, ft as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, gt as USAGE_INTEGER_RANGES, ht as USAGE_BUDGET_RANGE, i as Config, it as MEMORY_RESERVE_MB_RANGE, j as HintFeature, lt as POSTHOG_PROJECT_ID_RANGE, m as normalizeLegacyConfigNumbers, mt as TASK_TITLE_TIMEOUT_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_SCALE_RANGE, ot as PORT_RANGE, pt as REPLAY_BUFFER_KB_RANGE, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as POSITIVE_NUMBER_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as FLYING_ANIMALS_GAP_RANGE, u as configIssueMessage, ut as POSTHOG_TRAFFIC_BASELINE_RANGE, vt as USAGE_SCAN_INTERVAL_RANGE, w as ONBOARDING_STEP_STATES, yt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE } from "./config-Crnp0dBn.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 { c as loadConfigFile } from "./config-store-B8x_4qD1.js";
|
|
@@ -2,7 +2,7 @@ import { r as errorMessage } from "./text-DoirglWV.js";
|
|
|
2
2
|
import { o as relayPath } from "./runtime-paths-CYwF658V.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import { t as buildHookCommand } from "./hook-command-core-5G0De2KV.js";
|
|
5
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
5
|
+
import { t as buildAgentEnv } from "./spawn-env-B3uNQMja.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "./kimi-ChY_l68E.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { o as relayPath } from "./runtime-paths-CYwF658V.js";
|
|
2
|
-
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-
|
|
2
|
+
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-Ce2f0ktF.js";
|
|
3
3
|
import { i as execFileSync } from "./child-process-safe-BCOoKfxG.js";
|
|
4
4
|
import { n as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
|
|
5
5
|
import { i as KIMI_MCP_CONFIG_NAME, o as kimiMcpFiles, r as KIMI_MCP_BASE_NAME } from "./hook-command-core-5G0De2KV.js";
|
|
6
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
6
|
+
import { t as buildAgentEnv } from "./spawn-env-B3uNQMja.js";
|
|
7
7
|
import { l as KIMI_HOME_PROFILE, m as renderKimiHooksBlock } from "./agent-home-core-8U0YNRUx.js";
|
|
8
8
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, o as prepareScratchAgentHome, s as realAgentHome } from "./agent-home-DGjtaaCS.js";
|
|
9
9
|
import fs from "node:fs";
|
|
@@ -3,10 +3,10 @@ import { n as sanitizeOneLine, r as showHomeAsTilde, t as firstLine$1 } from "./
|
|
|
3
3
|
import { a as isMissingFileError, r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
|
|
4
4
|
import { a as packageRoot, c as resolvePackageBin, d as isPathInside, f as safePathSegment, i as clientDir, l as caseFoldedPathKey, n as bundled, o as relayPath, p as sanitizeWorktreeName, r as cliPath, s as resolveFfmpegPath, t as assetRoot, u as equalsIgnoringCaseOnWindows } from "./runtime-paths-CYwF658V.js";
|
|
5
5
|
import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
6
|
-
import { $ as WHITEBOARD_LIMITS, A as SIGN_URL_ENV, Bt as ReviewThreadId, D as SESSION_NAME_PATTERN, Dt as DECIDING_REVIEW_STATES, Et as CommitSha, F as ShownFile, Gt as TeamReviewResolveResponse, H as Board, Ht as TeamReviewActionRequest, It as ReviewComment, J as Note, Jt as TeamReviewThreadCommentsResponse, K as Box, Kt as TeamReviewStateEntry, L as SshSignRequest, Lt as ReviewDraft, Mt as PostedReviewEvent, Nt as PostingPlan, O as SESSION_NAME_RULE_TEXT, Ot as EarlierReview, Pt as PrDetail, Q as Unit, Qt as decisionAsIfApprovalRequired, Rt as ReviewFinding, S as ConversationQuestion, T as SESSION_DOC_BODY_CAP_BYTES, U as BoardRecord, Vt as ReviewVerdict, Wt as TeamReviewCompareFiles, X as Panel, Xt as TeamReviewThreadsRepository, Y as Op, Yt as TeamReviewThreadResult, Zt as canApproveAfterComment, _ as COHERENCE_HOOKS_INACTIVE, an as NODE_ID_RE, at as MyPrAutoRebase, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, bt as MyPrsSnapshot, c as AgentEditRequest, ct as MyPrKeepMergeableRequest, dt as MyPrMergeMethod, en as hasStandingViewerApproval, fn as BADGE_LABELS, ft as MyPrMergeRequest, g as AgentSpawnRequest, gn as STATES, h as AgentSettingsRequest, hn as RESTARTABLE_STATES, ht as MyPrMergeWhenReadyRequest, i as ASK_USER_QUESTION_TOOL_NAME, in as GH_SEGMENT, it as MyPr, j as SSH_SIGN_BODY_CAP_BYTES, jt as GithubReviewState, k as SHOWN_FILE_CAP_BYTES, kt as FindingSeverity, mn as MERGEABLE_LIVE_STATES, mt as MyPrMergeStateResponse, nn as HEX_SHA_RE, nt as Wire, o as AgentAttentionRequest, on as REPO_SLUG_RE, ot as MyPrCheckContext, pn as KILLABLE_STATES, q as Frame, qt as TeamReviewStatus, r as AGENT_URL_ENV, rn as shortSha, rt as LinkedPr, s as AgentCloseRequest, sn as repoParts, st as MyPrCheckContextsResponse, u as AgentPullRequestRequest, ut as MyPrLaneEntry, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, vt as MyPrThreadNode, xt as MyPrsState, y as CONVERSATION_PERMISSION_HOOK_EVENT, yt as MyPrThreadsResponse, z as TaskTitle, zt as ReviewResult } from "./session-
|
|
6
|
+
import { $ as WHITEBOARD_LIMITS, A as SIGN_URL_ENV, Bt as ReviewThreadId, D as SESSION_NAME_PATTERN, Dt as DECIDING_REVIEW_STATES, Et as CommitSha, F as ShownFile, Gt as TeamReviewResolveResponse, H as Board, Ht as TeamReviewActionRequest, It as ReviewComment, J as Note, Jt as TeamReviewThreadCommentsResponse, K as Box, Kt as TeamReviewStateEntry, L as SshSignRequest, Lt as ReviewDraft, Mt as PostedReviewEvent, Nt as PostingPlan, O as SESSION_NAME_RULE_TEXT, Ot as EarlierReview, Pt as PrDetail, Q as Unit, Qt as decisionAsIfApprovalRequired, Rt as ReviewFinding, S as ConversationQuestion, T as SESSION_DOC_BODY_CAP_BYTES, U as BoardRecord, Vt as ReviewVerdict, Wt as TeamReviewCompareFiles, X as Panel, Xt as TeamReviewThreadsRepository, Y as Op, Yt as TeamReviewThreadResult, Zt as canApproveAfterComment, _ as COHERENCE_HOOKS_INACTIVE, an as NODE_ID_RE, at as MyPrAutoRebase, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, bt as MyPrsSnapshot, c as AgentEditRequest, ct as MyPrKeepMergeableRequest, dt as MyPrMergeMethod, en as hasStandingViewerApproval, fn as BADGE_LABELS, ft as MyPrMergeRequest, g as AgentSpawnRequest, gn as STATES, h as AgentSettingsRequest, hn as RESTARTABLE_STATES, ht as MyPrMergeWhenReadyRequest, i as ASK_USER_QUESTION_TOOL_NAME, in as GH_SEGMENT, it as MyPr, j as SSH_SIGN_BODY_CAP_BYTES, jt as GithubReviewState, k as SHOWN_FILE_CAP_BYTES, kt as FindingSeverity, mn as MERGEABLE_LIVE_STATES, mt as MyPrMergeStateResponse, nn as HEX_SHA_RE, nt as Wire, o as AgentAttentionRequest, on as REPO_SLUG_RE, ot as MyPrCheckContext, pn as KILLABLE_STATES, q as Frame, qt as TeamReviewStatus, r as AGENT_URL_ENV, rn as shortSha, rt as LinkedPr, s as AgentCloseRequest, sn as repoParts, st as MyPrCheckContextsResponse, u as AgentPullRequestRequest, ut as MyPrLaneEntry, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, vt as MyPrThreadNode, xt as MyPrsState, y as CONVERSATION_PERMISSION_HOOK_EVENT, yt as MyPrThreadsResponse, z as TaskTitle, zt as ReviewResult } from "./session-Ce2f0ktF.js";
|
|
7
7
|
import { c as spawn, i as execFileSync, n as execFile, r as execFileAsync, s as refuseLaunchesOf, t as assertLaunchable } from "./child-process-safe-BCOoKfxG.js";
|
|
8
|
-
import { $t as IssuesSearchResponse, A as HINT_VIEW_BY_FEATURE, At as UpdateJournal, B as MergedPrListing, Bt as PLAN_HOOK_OUTPUT_MAX_CHARS, Ct as CommunityItem, D as pullRequestKeyFromReference, Dt as SKILL_NAME_RE, Et as DISCORD_CHANNEL_NAME_RE, F as BenchmarkJudgement, Ft as CoherenceJournalOutput, G as GithubPrLightSearchNode, Gt as parseExitPlanModeHookPayload, H as PrCheckoutCaseInput, Ht as PLAN_TOOL_NAME, I as BenchmarkRun, It as ChangeMap, J as WorkflowCommentBody, Jt as HookEnvelope, K as GithubPrsFrame, Kt as planTitle, L as BenchmarkStatus, Lt as changeMapFactId, M as BenchmarkActionRequest, Mt as MAX_RAW_LINE_CHARS, N as BenchmarkCase, Nt as TraceCheckpoint, O as FeatureHintState, P as BenchmarkId, Pt as TraceRecord, Qt as IssueUpdate, R as BenchmarkSuite, Rt as PLAN_BODY_CAP_BYTES, St as CommunityDraft, Tt as CommunityVerdict, U as GithubPrDetailNode, Ut as PlanDecision, V as MinedPrReviewData, Vt as PLAN_RESULT_HOOK_EVENT, W as GithubPrKey, Wt as PlanRevision, X as WorkflowsSettings, Xt as GithubIssueResponse, Y as WorkflowLabelName, Yt as GithubIssuePullRequestsRepository, Z as WorkflowsState, Zt as IssueKey, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, en as IssuesState, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as SessionSetup, k as HINT_FEATURES, n as BUILTIN_AGENT_IDS, nn as issuePullRequestStateFromGithub, p as USAGE_VENDOR_KEYS, q as comparablePrKey, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, tn as IssuesStatus, u as configIssueMessage, v as CONTROL_FRAME_MAX_BYTES, wt as CommunityState, x as GithubTeam, xt as CommunityActionRequest, y as ClientMessage, z as CommitComparison, zt as PLAN_HOOK_EVENT } from "./config-
|
|
9
|
-
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-
|
|
8
|
+
import { $t as IssuesSearchResponse, A as HINT_VIEW_BY_FEATURE, At as UpdateJournal, B as MergedPrListing, Bt as PLAN_HOOK_OUTPUT_MAX_CHARS, Ct as CommunityItem, D as pullRequestKeyFromReference, Dt as SKILL_NAME_RE, Et as DISCORD_CHANNEL_NAME_RE, F as BenchmarkJudgement, Ft as CoherenceJournalOutput, G as GithubPrLightSearchNode, Gt as parseExitPlanModeHookPayload, H as PrCheckoutCaseInput, Ht as PLAN_TOOL_NAME, I as BenchmarkRun, It as ChangeMap, J as WorkflowCommentBody, Jt as HookEnvelope, K as GithubPrsFrame, Kt as planTitle, L as BenchmarkStatus, Lt as changeMapFactId, M as BenchmarkActionRequest, Mt as MAX_RAW_LINE_CHARS, N as BenchmarkCase, Nt as TraceCheckpoint, O as FeatureHintState, P as BenchmarkId, Pt as TraceRecord, Qt as IssueUpdate, R as BenchmarkSuite, Rt as PLAN_BODY_CAP_BYTES, St as CommunityDraft, Tt as CommunityVerdict, U as GithubPrDetailNode, Ut as PlanDecision, V as MinedPrReviewData, Vt as PLAN_RESULT_HOOK_EVENT, W as GithubPrKey, Wt as PlanRevision, X as WorkflowsSettings, Xt as GithubIssueResponse, Y as WorkflowLabelName, Yt as GithubIssuePullRequestsRepository, Z as WorkflowsState, Zt as IssueKey, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, en as IssuesState, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as SessionSetup, k as HINT_FEATURES, n as BUILTIN_AGENT_IDS, nn as issuePullRequestStateFromGithub, p as USAGE_VENDOR_KEYS, q as comparablePrKey, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, tn as IssuesStatus, u as configIssueMessage, v as CONTROL_FRAME_MAX_BYTES, wt as CommunityState, x as GithubTeam, xt as CommunityActionRequest, y as ClientMessage, z as CommitComparison, zt as PLAN_HOOK_EVENT } from "./config-Crnp0dBn.js";
|
|
9
|
+
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-CrBmksZB.js";
|
|
10
10
|
import { a as rawTextOr, i as positiveNumberOr, n as isRecord$1, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-oz_Z_6E7.js";
|
|
11
11
|
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-xS1GFU8P.js";
|
|
12
12
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
@@ -14,18 +14,18 @@ import { n as promptContextReplyOf, o as toolHookContextReplyOf, r as refocusRep
|
|
|
14
14
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
15
15
|
import { a as saneYoloFiles } from "./sane-yolo-BjUkqIoH.js";
|
|
16
16
|
import { r as knownWriteHookInput } from "./posthog-read-gate-core-CeSY56AB.js";
|
|
17
|
-
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-
|
|
17
|
+
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-wpxNWTxN.js";
|
|
18
18
|
import { c as parsePresentedCredential, n as shellQuote, s as mcpLaunchFor } from "./hook-command-core-5G0De2KV.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, 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 decideRemoteTelemetryState, B as parseDataClientMessage, F as DEEP_HISTORY_SCROLLBACK_LINES, G as buildAiGenerationEvents, H as TELEMETRY_BATCH_URL, J as buildPersonProperties, K as buildBrowserExceptionProperties, L as LOGGED_FAST_CLOSE_COUNTS, P as isExperimentalSetting, Q as decideIsDevInstall, R as describeDataAttach, St as isSameDirectoryPath, U as TELEMETRY_FLAGS_URL, V as FIRST_RUN_NOTICE, W as adapterBucket, X as claudeAccountUuidOf, Y as classifySessionExit, Z as codexUserIdOf, _t as sessionIdFromBranch, a as ensureProjectIds, at as DashboardTelemetryReport, b as validateSettingsBlock, bt as canonicalizePath, ct as TelemetryState, dt as stableConfigKey, et as decideTelemetryConsent, f as DEFAULT_TIMER_FNS, gt as planWorktreeGc, ht as planBranchGc, i as createConfigStore, it as resolveProjectToken, j as valueAtPath, mt as matchedPrefix, n as DEFAULT_CONFIG, nt as nodeMajorVersion, o as generateProjectId, ot as PendingCrashReport, p as unrefTimer, pt as DEFAULT_BRANCH_GC_PREFIXES, q as buildExceptionProperties, rt as parsePosthogReleaseId, s as glimmervoidHomeDir$1, st as TELEMETRY_EVENT_SCHEMAS, t as ABORT_CONFIG_SAVE, tt as exceptionFingerprint, v as mergeSettingsBlock, vt as usablePrefixes, x as SETTINGS_INDEX, xt as comparableDirectoryPath, y as settingsBlockSpecFor, yt as worktreeIntegrationTips, z as parseDataAttach } from "./config-store-
|
|
21
|
-
import { i as resolveArgvCommandMatches } 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, y as isCheckFresh, yt as isWithinGenerationRecencyWindow, z as completeLineBytes, zt as rawStoredHooks } from "./adapters-
|
|
20
|
+
import { $ as decideRemoteTelemetryState, B as parseDataClientMessage, F as DEEP_HISTORY_SCROLLBACK_LINES, G as buildAiGenerationEvents, H as TELEMETRY_BATCH_URL, J as buildPersonProperties, K as buildBrowserExceptionProperties, L as LOGGED_FAST_CLOSE_COUNTS, P as isExperimentalSetting, Q as decideIsDevInstall, R as describeDataAttach, St as isSameDirectoryPath, U as TELEMETRY_FLAGS_URL, V as FIRST_RUN_NOTICE, W as adapterBucket, X as claudeAccountUuidOf, Y as classifySessionExit, Z as codexUserIdOf, _t as sessionIdFromBranch, a as ensureProjectIds, at as DashboardTelemetryReport, b as validateSettingsBlock, bt as canonicalizePath, ct as TelemetryState, dt as stableConfigKey, et as decideTelemetryConsent, f as DEFAULT_TIMER_FNS, gt as planWorktreeGc, ht as planBranchGc, i as createConfigStore, it as resolveProjectToken, j as valueAtPath, mt as matchedPrefix, n as DEFAULT_CONFIG, nt as nodeMajorVersion, o as generateProjectId, ot as PendingCrashReport, p as unrefTimer, pt as DEFAULT_BRANCH_GC_PREFIXES, q as buildExceptionProperties, rt as parsePosthogReleaseId, s as glimmervoidHomeDir$1, st as TELEMETRY_EVENT_SCHEMAS, t as ABORT_CONFIG_SAVE, tt as exceptionFingerprint, v as mergeSettingsBlock, vt as usablePrefixes, x as SETTINGS_INDEX, xt as comparableDirectoryPath, y as settingsBlockSpecFor, yt as worktreeIntegrationTips, z as parseDataAttach } from "./config-store-B8x_4qD1.js";
|
|
21
|
+
import { i as resolveArgvCommandMatches } from "./kimi-ChY_l68E.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, y as isCheckFresh, yt as isWithinGenerationRecencyWindow, z as completeLineBytes, zt as rawStoredHooks } from "./adapters-B41VtFRg.js";
|
|
23
23
|
import { c as CODEX_HOME_PROFILE, l as KIMI_HOME_PROFILE } from "./agent-home-core-8U0YNRUx.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-DGjtaaCS.js";
|
|
25
25
|
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 } from "./ssh-signing-core-CRhVVWNW.js";
|
|
26
|
-
import { a as defaultPairingsPath, c as decideDeviceAuth, i as createSeenStore, l as deviceNameFromUserAgent, n as configSiblingPath, o as defaultSeenPath, r as createPairingsStore, s as DEFAULT_DEVICE_MAX_AGE_MS, u as hashSecret } from "./pairings-store-
|
|
27
|
-
import { g as runGit, h as runGh, i as createCommitSessions, m as runCommand, p as gitCommandFailure, t as COMMIT_SESSIONS_FOLDER_NAME } from "./commit-sessions-
|
|
28
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
26
|
+
import { a as defaultPairingsPath, c as decideDeviceAuth, i as createSeenStore, l as deviceNameFromUserAgent, n as configSiblingPath, o as defaultSeenPath, r as createPairingsStore, s as DEFAULT_DEVICE_MAX_AGE_MS, u as hashSecret } from "./pairings-store-CcAgpqEk.js";
|
|
27
|
+
import { g as runGit, h as runGh, i as createCommitSessions, m as runCommand, p as gitCommandFailure, t as COMMIT_SESSIONS_FOLDER_NAME } from "./commit-sessions-DlANvGNT.js";
|
|
28
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-Ck1Xnm2x.js";
|
|
29
29
|
import { n as normalizeRemoteConfig, r as validateRemoteConfig, t as decideBindHost } from "./remote-config-Dcejfz01.js";
|
|
30
30
|
import { createRequire } from "node:module";
|
|
31
31
|
import fs, { readFileSync } from "node:fs";
|
|
@@ -3676,7 +3676,7 @@ function createAgentApiWiring({ config, agentSessions, listAllSessions, listBoar
|
|
|
3676
3676
|
body: projectReviews(status)
|
|
3677
3677
|
};
|
|
3678
3678
|
const detail = projectReviewDetail(status, pullRequestKey);
|
|
3679
|
-
if (!detail) return refusal(404, `${pullRequestKey} is not in the Reviews tab, so
|
|
3679
|
+
if (!detail) return refusal(404, `${pullRequestKey} is not in the Reviews tab, so queue one with review action review for pr ${pullRequestKey}`);
|
|
3680
3680
|
return {
|
|
3681
3681
|
status: 200,
|
|
3682
3682
|
body: detail
|
|
@@ -3812,7 +3812,7 @@ function createAgentApiWiring({ config, agentSessions, listAllSessions, listBoar
|
|
|
3812
3812
|
body: { ok: true }
|
|
3813
3813
|
};
|
|
3814
3814
|
}
|
|
3815
|
-
if (approval.isSummaryTruncated) return refusal(409, `${owned.channel.childName}'s question is too large to answer here; pass it to the operator with
|
|
3815
|
+
if (approval.isSummaryTruncated) return refusal(409, `${owned.channel.childName}'s question is too large to answer here; pass it to the operator with session answer, child ${request.child} and toOperator set`);
|
|
3816
3816
|
if (!child.answerConversationApproval(approval.requestId, request.answers)) {
|
|
3817
3817
|
const expectedQuestions = (approval.questions ?? []).map((question) => question.question);
|
|
3818
3818
|
return refusal(409, `answers must match the expected question texts: ${JSON.stringify(expectedQuestions)}`);
|
|
@@ -4733,9 +4733,9 @@ var BOARD_CONTEXT_NOTE = {
|
|
|
4733
4733
|
};
|
|
4734
4734
|
function appendBoardChanges(draft, board, changes) {
|
|
4735
4735
|
const header = boardChangesHeader(board);
|
|
4736
|
-
const pointer = `
|
|
4736
|
+
const pointer = `read the rest with whiteboard get ${board.id}`;
|
|
4737
4737
|
if (!hasRoomFor(draft, [header, pointer])) {
|
|
4738
|
-
const brief = `Board "${board.title}" (${board.id}) has ${changes.length} unread changes:
|
|
4738
|
+
const brief = `Board "${board.title}" (${board.id}) has ${changes.length} unread changes: read them with whiteboard get ${board.id}`;
|
|
4739
4739
|
if (hasRoomFor(draft, [brief])) appendLines(draft, [brief]);
|
|
4740
4740
|
return false;
|
|
4741
4741
|
}
|
|
@@ -4775,7 +4775,7 @@ function promptContextFor(records, sessionId) {
|
|
|
4775
4775
|
};
|
|
4776
4776
|
}
|
|
4777
4777
|
function nudgeLineFor(board) {
|
|
4778
|
-
return `The operator changed board "${board.title}";
|
|
4778
|
+
return `The operator changed board "${board.title}"; read it with whiteboard get ${board.id}`;
|
|
4779
4779
|
}
|
|
4780
4780
|
function resolveBoardRef(boards, ref) {
|
|
4781
4781
|
const byId = boards.find((board) => board.id === ref);
|
|
@@ -4784,7 +4784,7 @@ function resolveBoardRef(boards, ref) {
|
|
|
4784
4784
|
const byTitle = boards.filter((board) => board.title.toLowerCase() === wantedTitle);
|
|
4785
4785
|
if (byTitle.length === 1 && byTitle[0]) return byTitle[0];
|
|
4786
4786
|
if (byTitle.length > 1) return { error: `${byTitle.length} boards are titled "${ref}", so name it by id: ${byTitle.map((board) => board.id).join(", ")}` };
|
|
4787
|
-
return { error: `no board is called ${ref}
|
|
4787
|
+
return { error: `no board is called ${ref}: whiteboard list names the boards, and whiteboard new creates one` };
|
|
4788
4788
|
}
|
|
4789
4789
|
//#endregion
|
|
4790
4790
|
//#region server/whiteboard/whiteboard-wiring.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { l as resolveConfigPath } from "./config-store-
|
|
3
|
-
import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store-
|
|
2
|
+
import { l as resolveConfigPath } from "./config-store-B8x_4qD1.js";
|
|
3
|
+
import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store-CcAgpqEk.js";
|
|
4
4
|
import { n as normalizeRemoteConfig } from "./remote-config-Dcejfz01.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
//#region server/text-format.ts
|
|
@@ -2,7 +2,7 @@ import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
|
2
2
|
import { u as equalsIgnoringCaseOnWindows } from "./runtime-paths-CYwF658V.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-AKRVPqG1.js";
|
|
5
|
-
import { bt as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-
|
|
5
|
+
import { bt as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-B8x_4qD1.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -901,9 +901,12 @@ var LANE_COLORS = [
|
|
|
901
901
|
"cyan",
|
|
902
902
|
"yellow"
|
|
903
903
|
];
|
|
904
|
-
var ElementId = z.string({ error: "an id must be a string" }).regex(/^[a-z0-9][a-z0-9-]{0,39}$/, { error: "an id is 1 to 40 lowercase letters, digits or dashes, starting with a letter or digit" });
|
|
904
|
+
var ElementId = z.string({ error: "an id must be a string" }).regex(/^[a-z0-9][a-z0-9-]{0,39}$/, { error: "an id is 1 to 40 lowercase letters, digits or dashes, starting with a letter or digit" }).meta({ id: "ElementId" });
|
|
905
905
|
var Title = z.string().max(WHITEBOARD_LIMITS.title, { error: `a title is at most ${WHITEBOARD_LIMITS.title} characters` });
|
|
906
|
-
var AnchorRef = z.string().min(1).max(200, { error: "a ref is at most 200 characters" }).regex(/^[^#\s]+(#L[1-9]\d*(-L[1-9]\d*)?)?$/, { error: "a ref is path, path#L12 or path#L12-L30" })
|
|
906
|
+
var AnchorRef = z.string().min(1).max(200, { error: "a ref is at most 200 characters" }).regex(/^[^#\s]+(#L[1-9]\d*(-L[1-9]\d*)?)?$/, { error: "a ref is path, path#L12 or path#L12-L30" }).meta({
|
|
907
|
+
id: "AnchorRef",
|
|
908
|
+
description: "a code location: path, path#L12 or path#L12-L30"
|
|
909
|
+
});
|
|
907
910
|
var AnchorRefs = z.array(AnchorRef).max(8, { error: "an element carries at most 8 refs" }).default([]);
|
|
908
911
|
var BoxLine = z.object({
|
|
909
912
|
text: z.string().max(WHITEBOARD_LIMITS.line, { error: `a box line is at most ${WHITEBOARD_LIMITS.line} characters` }),
|
|
@@ -917,11 +920,11 @@ var BoxLine = z.object({
|
|
|
917
920
|
]).default("text"),
|
|
918
921
|
key: z.string().max(40, { error: "a line key is at most 40 characters" }).nullable().default(null),
|
|
919
922
|
ref: AnchorRef.nullable().default(null)
|
|
920
|
-
}).strict().refine((line) => line.style !== "kv" || Boolean(line.key), { error: "a kv line needs a key" });
|
|
923
|
+
}).strict().refine((line) => line.style !== "kv" || Boolean(line.key), { error: "a kv line needs a key" }).meta({ id: "BoxLine" });
|
|
921
924
|
var Point = z.object({
|
|
922
925
|
x: z.number(),
|
|
923
926
|
y: z.number()
|
|
924
|
-
}).strict();
|
|
927
|
+
}).strict().meta({ id: "Point" });
|
|
925
928
|
var BOX_CHANGES = [
|
|
926
929
|
"none",
|
|
927
930
|
"added",
|
|
@@ -938,45 +941,45 @@ var Side = z.enum([
|
|
|
938
941
|
"right",
|
|
939
942
|
"top",
|
|
940
943
|
"bottom"
|
|
941
|
-
]);
|
|
944
|
+
]).meta({ id: "Side" });
|
|
942
945
|
var Near = z.object({
|
|
943
946
|
of: ElementId,
|
|
944
947
|
side: Side,
|
|
945
948
|
gap: z.number().int().min(0).max(400).default(60)
|
|
946
|
-
}).strict();
|
|
949
|
+
}).strict().meta({ id: "Near" });
|
|
947
950
|
var Output = z.object({
|
|
948
951
|
id: ElementId,
|
|
949
952
|
label: z.string().min(1, { error: "an output needs a label" }).max(30, { error: "an output label is at most 30 characters" })
|
|
950
|
-
}).strict();
|
|
953
|
+
}).strict().meta({ id: "Output" });
|
|
951
954
|
var Box = z.object({
|
|
952
955
|
kind: z.literal("box"),
|
|
953
956
|
id: ElementId,
|
|
954
957
|
title: Title.min(1, { error: "a box needs a title" }),
|
|
955
958
|
lines: z.array(BoxLine).max(WHITEBOARD_LIMITS.linesPerBox, { error: `a box holds at most ${WHITEBOARD_LIMITS.linesPerBox} lines` }).default([]),
|
|
956
|
-
lane: ElementId.nullable().default(null),
|
|
959
|
+
lane: ElementId.nullable().default(null).describe("a lane id from a lanes op"),
|
|
957
960
|
refs: AnchorRefs,
|
|
958
|
-
change: z.enum(BOX_CHANGES).default("none"),
|
|
959
|
-
was: Title.nullable().default(null),
|
|
960
|
-
column: ElementId.nullable().default(null),
|
|
961
|
-
near: Near.nullable().default(null),
|
|
962
|
-
order: z.number().int().default(0),
|
|
963
|
-
at: Point.nullable().default(null),
|
|
964
|
-
shape: z.enum(["box", "decision"]).default("box"),
|
|
965
|
-
outputs: z.array(Output).max(8, { error: "a decision has at most 8 outputs" }).default([])
|
|
966
|
-
}).strict();
|
|
961
|
+
change: z.enum(BOX_CHANGES).default("none").describe("marks the box in a diff"),
|
|
962
|
+
was: Title.nullable().default(null).describe("the old title, required when change is relabeled"),
|
|
963
|
+
column: ElementId.nullable().default(null).describe("place: a column id from a columns op"),
|
|
964
|
+
near: Near.nullable().default(null).describe("place: beside another box"),
|
|
965
|
+
order: z.number().int().default(0).describe("position in its column, lowest first"),
|
|
966
|
+
at: Point.nullable().default(null).describe("place: a point on the board"),
|
|
967
|
+
shape: z.enum(["box", "decision"]).default("box").describe("decision draws a diamond with outputs"),
|
|
968
|
+
outputs: z.array(Output).max(8, { error: "a decision has at most 8 outputs" }).default([]).describe("decision branches; a wire leaves one through fromOutput")
|
|
969
|
+
}).strict().describe("a box needs one place: column, near or at");
|
|
967
970
|
var Frame = z.object({
|
|
968
971
|
kind: z.literal("frame"),
|
|
969
972
|
id: ElementId,
|
|
970
973
|
title: Title,
|
|
971
|
-
contains: z.array(ElementId).min(1, { error: "a frame contains at least one box" }),
|
|
974
|
+
contains: z.array(ElementId).min(1, { error: "a frame contains at least one box" }).describe("the box ids it encloses"),
|
|
972
975
|
loop: z.boolean().default(false)
|
|
973
976
|
}).strict();
|
|
974
977
|
var Wire = z.object({
|
|
975
978
|
kind: z.literal("wire"),
|
|
976
979
|
id: ElementId,
|
|
977
|
-
from: ElementId,
|
|
978
|
-
to: ElementId,
|
|
979
|
-
fromOutput: ElementId.nullable().default(null),
|
|
980
|
+
from: ElementId.describe("the element id it starts at"),
|
|
981
|
+
to: ElementId.describe("the element id it ends at"),
|
|
982
|
+
fromOutput: ElementId.nullable().default(null).describe("the output id of a decision from"),
|
|
980
983
|
dashed: z.boolean().default(false),
|
|
981
984
|
tone: z.enum([
|
|
982
985
|
"plain",
|
|
@@ -987,12 +990,12 @@ var Wire = z.object({
|
|
|
987
990
|
label: z.string().max(40, { error: "a wire label is at most 40 characters" }).nullable().default(null),
|
|
988
991
|
fromSide: Side.nullable().default(null),
|
|
989
992
|
toSide: Side.nullable().default(null),
|
|
990
|
-
back: z.boolean().default(false)
|
|
993
|
+
back: z.boolean().default(false).describe("a return edge, drawn against the flow")
|
|
991
994
|
}).strict();
|
|
992
995
|
var Note = z.object({
|
|
993
996
|
kind: z.literal("note"),
|
|
994
997
|
id: ElementId,
|
|
995
|
-
on: ElementId,
|
|
998
|
+
on: ElementId.describe("the element id it is pinned to"),
|
|
996
999
|
text: z.string().min(1, { error: "a note needs text" }).max(WHITEBOARD_LIMITS.noteText, { error: `a note is at most ${WHITEBOARD_LIMITS.noteText} characters` }),
|
|
997
1000
|
ref: AnchorRef.nullable().default(null),
|
|
998
1001
|
author: z.string().max(200).default(""),
|
|
@@ -1005,8 +1008,8 @@ var Unit = z.object({
|
|
|
1005
1008
|
lines: z.array(BoxLine).max(WHITEBOARD_LIMITS.linesPerUnit, { error: `a unit holds at most ${WHITEBOARD_LIMITS.linesPerUnit} lines` }).default([]),
|
|
1006
1009
|
refs: AnchorRefs,
|
|
1007
1010
|
status: z.enum(UNIT_STATUSES).default("planned"),
|
|
1008
|
-
after: z.array(ElementId).max(WHITEBOARD_LIMITS.unitDependencies, { error: `a unit comes after at most ${WHITEBOARD_LIMITS.unitDependencies} units` }).default([]),
|
|
1009
|
-
linkedBoardId: z.string().min(1).max(64).nullable().default(null)
|
|
1011
|
+
after: z.array(ElementId).max(WHITEBOARD_LIMITS.unitDependencies, { error: `a unit comes after at most ${WHITEBOARD_LIMITS.unitDependencies} units` }).default([]).describe("the unit ids built before it"),
|
|
1012
|
+
linkedBoardId: z.string().min(1).max(64).nullable().default(null).describe("a board holding this step in detail")
|
|
1010
1013
|
}).strict();
|
|
1011
1014
|
var Panel = z.object({
|
|
1012
1015
|
kind: z.literal("panel"),
|
|
@@ -1060,7 +1063,7 @@ var Op = z.discriminatedUnion("op", [
|
|
|
1060
1063
|
z.object({
|
|
1061
1064
|
op: z.literal("set"),
|
|
1062
1065
|
id: ElementId,
|
|
1063
|
-
fields: z.record(z.string(), z.unknown())
|
|
1066
|
+
fields: z.record(z.string(), z.unknown()).describe("the element fields to change, as in {\"title\":\"Gateway\"}")
|
|
1064
1067
|
}).strict(),
|
|
1065
1068
|
z.object({
|
|
1066
1069
|
op: z.literal("remove"),
|
|
@@ -1068,12 +1071,12 @@ var Op = z.discriminatedUnion("op", [
|
|
|
1068
1071
|
}).strict(),
|
|
1069
1072
|
z.object({
|
|
1070
1073
|
op: z.literal("resolve"),
|
|
1071
|
-
id: ElementId
|
|
1074
|
+
id: ElementId.describe("a note id")
|
|
1072
1075
|
}).strict(),
|
|
1073
1076
|
z.object({
|
|
1074
1077
|
op: z.literal("columns"),
|
|
1075
|
-
columns: BoardColumns,
|
|
1076
|
-
move: z.record(ElementId, ElementId).default({})
|
|
1078
|
+
columns: BoardColumns.describe("every column, in order"),
|
|
1079
|
+
move: z.record(ElementId, ElementId).default({}).describe("element id to its new column id")
|
|
1077
1080
|
}).strict(),
|
|
1078
1081
|
z.object({
|
|
1079
1082
|
op: z.literal("lanes"),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
|
|
2
2
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
3
|
-
import { m as AgentSettingsReply } from "./session-
|
|
4
|
-
import { r as BrowserConfig } from "./config-
|
|
3
|
+
import { m as AgentSettingsReply } from "./session-Ce2f0ktF.js";
|
|
4
|
+
import { r as BrowserConfig } from "./config-Crnp0dBn.js";
|
|
5
5
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
6
6
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
7
|
-
import { C as deleteValueAtPath, D as scoreSettingsSearch, E as parsePosthogProjectSelection, N as SETTINGS_REGISTRY, O as setValueAtPath, S as cloneValue, c as loadConfigFile, d as validateConfig, ft as withEnvSecrets, g as isSettingAvailable, j as valueAtPath, lt as ENV_SECRET_BINDINGS, r as IS_EXPERIMENTAL_BUILD, u as saveConfigFileOnce, ut as readEnvSecrets } from "./config-store-
|
|
8
|
-
import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as availableSettings } from "./settings-readout-core-
|
|
7
|
+
import { C as deleteValueAtPath, D as scoreSettingsSearch, E as parsePosthogProjectSelection, N as SETTINGS_REGISTRY, O as setValueAtPath, S as cloneValue, c as loadConfigFile, d as validateConfig, ft as withEnvSecrets, g as isSettingAvailable, j as valueAtPath, lt as ENV_SECRET_BINDINGS, r as IS_EXPERIMENTAL_BUILD, u as saveConfigFileOnce, ut as readEnvSecrets } from "./config-store-B8x_4qD1.js";
|
|
8
|
+
import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as availableSettings } from "./settings-readout-core-Ck1Xnm2x.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
//#region server/settings-cli.ts
|
|
@@ -303,7 +303,7 @@ function runParsedSettingsCommand(parsed, io) {
|
|
|
303
303
|
async function runParsedSettingsCli(parsed, io = processIo()) {
|
|
304
304
|
const serverRequest = settingsRequestForServer(parsed, process.env);
|
|
305
305
|
if (!serverRequest) return runParsedSettingsCommand(parsed, io);
|
|
306
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
306
|
+
const { askAgentApi } = await import("./agent-api-cli-q6_-t0BR.js");
|
|
307
307
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
308
308
|
ok: false,
|
|
309
309
|
error: errorMessage(error)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as AgentSettingsRequest } from "./session-
|
|
1
|
+
import { h as AgentSettingsRequest } from "./session-Ce2f0ktF.js";
|
|
2
2
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
3
|
-
import { A as settingsOf, M as FILE_ONLY_GROUPS, N as SETTINGS_REGISTRY, S as cloneValue, T as hasScaledUnit, g as isSettingAvailable, j as valueAtPath, k as settingsGroupOf, ut as readEnvSecrets, w as displayText, x as SETTINGS_INDEX } from "./config-store-
|
|
3
|
+
import { A as settingsOf, M as FILE_ONLY_GROUPS, N as SETTINGS_REGISTRY, S as cloneValue, T as hasScaledUnit, g as isSettingAvailable, j as valueAtPath, k as settingsGroupOf, ut as readEnvSecrets, w as displayText, x as SETTINGS_INDEX } from "./config-store-B8x_4qD1.js";
|
|
4
4
|
//#region server/core/settings-readout-core.ts
|
|
5
5
|
var VALUE_COLUMN_WIDTH = 40;
|
|
6
6
|
var SECTION_BY_SETTING_ID = new Map([...SETTINGS_REGISTRY.sections.flatMap((section) => section.settings.map((setting) => [setting.id, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as WHITEBOARD_LIMITS, V as BOX_CHANGES, k as SHOWN_FILE_CAP_BYTES } from "./session-
|
|
1
|
+
import { $ as WHITEBOARD_LIMITS, V as BOX_CHANGES, k as SHOWN_FILE_CAP_BYTES } from "./session-Ce2f0ktF.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
//#region shared/whiteboard-plan-core.ts
|
|
4
4
|
var LETTERS_IN_ALPHABET = 26;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as SIGN_URL_ENV, r as AGENT_URL_ENV } from "./session-
|
|
1
|
+
import { A as SIGN_URL_ENV, r as AGENT_URL_ENV } from "./session-Ce2f0ktF.js";
|
|
2
2
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
3
3
|
import { i as saneYoloEnv, r as SANE_YOLO_PATH_ENV } from "./sane-yolo-BjUkqIoH.js";
|
|
4
4
|
import { a as MCP_CREDENTIAL_ENV } from "./hook-command-core-5G0De2KV.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { A as SIGN_URL_ENV, I as SshSignReply } from "./session-
|
|
2
|
+
import { A as SIGN_URL_ENV, I as SshSignReply } from "./session-Ce2f0ktF.js";
|
|
3
3
|
import { c as spawn, r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
4
4
|
import { a as isLoopbackHostname } from "./hook-relay-core-DA_bz2KA.js";
|
|
5
|
-
import { n as postToAgentIngress } from "./agent-api-cli-
|
|
5
|
+
import { n as postToAgentIngress } from "./agent-api-cli-DUBR38mZ.js";
|
|
6
6
|
import { l as parseSshPublicKey } from "./ssh-signing-core-CRhVVWNW.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|