glimmervoid 0.48.4-next.382 → 0.48.4-next.384
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-BcwKF3LW.js → adapters-3VW1o3S8.js} +1 -1
- package/dist/chunks/{adapters-CEsBTu4n.js → adapters-DlhmQZw0.js} +7 -7
- package/dist/chunks/{agent-api-cli-DFB-z_hW.js → agent-api-cli-41zrgwoW.js} +90 -16
- package/dist/chunks/{agent-api-cli-Bp_kyHxd.js → agent-api-cli-DeFVfmf4.js} +1 -1
- package/dist/chunks/{agent-api-core-CM13M4LR.js → agent-api-core-M5jYQbGI.js} +3 -3
- package/dist/chunks/{agent-setup-cli-wABjgqSQ.js → agent-setup-cli-CxxLUnfp.js} +1 -1
- package/dist/chunks/{build-channel-Cp0OtZpT.js → build-channel-CgvY4dxz.js} +2 -2
- package/dist/chunks/{commit-sessions-BmSqvgN8.js → commit-sessions-DGdVPr2u.js} +1 -1
- package/dist/chunks/{config-BK0Fo-7O.js → config-DTrIRWu3.js} +1 -1
- package/dist/chunks/{config-store-D60Ga3QG.js → config-store-D8YvdWZC.js} +2 -2
- package/dist/chunks/config-store-DRcBVXku.js +1 -0
- package/dist/chunks/{grok-H6m27UuP.js → grok-BIf4aMG8.js} +1 -1
- package/dist/chunks/kimi-CLCUyYz3.js +1 -0
- package/dist/chunks/{kimi-DvfHJLz8.js → kimi-qgayeMfe.js} +2 -2
- package/dist/chunks/{main-CFzE5ix_.js → main-DGKceW_W.js} +26 -16
- package/dist/chunks/{pair-cli-BVViusp-.js → pair-cli-Dw6Xxt88.js} +2 -2
- package/dist/chunks/{pairings-store-Cx9BNAtV.js → pairings-store-vL5BXTa2.js} +1 -1
- package/dist/chunks/{session-DfEHO6yE.js → session-BSUqcZuL.js} +30 -6
- package/dist/chunks/{session-routes-pUaEwCDP.js → session-routes-286EKAs6.js} +1 -1
- package/dist/chunks/{settings-cli-CrON08Ez.js → settings-cli-PRMvNLeR.js} +5 -5
- package/dist/chunks/{settings-readout-core-DSYeQ0ib.js → settings-readout-core-23WWufsy.js} +2 -2
- package/dist/chunks/{shown-files-core-dlVs6cW6.js → shown-files-core-BhWD7r12.js} +131 -18
- package/dist/chunks/{spawn-env-DNddforI.js → spawn-env-v4KHnYF-.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-DTuwrMom.js → ssh-sign-cli-DmWTf8I2.js} +2 -2
- package/dist/chunks/{why-cli-DavG8mrh.js → why-cli-CBPCGvu0.js} +2 -2
- package/dist/client/assets/{action-status-B6VUDz1D.js → action-status-BXimN6M9.js} +1 -1
- package/dist/client/assets/action-status-BXimN6M9.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-97omrMAt.js → benchmark-panel-CkisreT_.js} +1 -1
- package/dist/client/assets/benchmark-panel-CkisreT_.js.br +0 -0
- package/dist/client/assets/boards-view-6zHMeLV-.js +1 -0
- package/dist/client/assets/boards-view-6zHMeLV-.js.br +0 -0
- package/dist/client/assets/boards-view-CuYdtCk4.css +1 -0
- package/dist/client/assets/boards-view-CuYdtCk4.css.br +0 -0
- package/dist/client/assets/{card-registry-BOUaw88C.js → card-registry-CRsNG2Vw.js} +1 -1
- package/dist/client/assets/card-registry-CRsNG2Vw.js.br +0 -0
- package/dist/client/assets/{community-panel-AK9-z0dJ.js → community-panel-iUJtAptY.js} +1 -1
- package/dist/client/assets/community-panel-iUJtAptY.js.br +0 -0
- package/dist/client/assets/{control-ws-DlKysLX6.js → control-ws-D9tCQK6t.js} +1 -1
- package/dist/client/assets/control-ws-D9tCQK6t.js.br +0 -0
- package/dist/client/assets/dialogs-CtgmIWHr.js +74 -0
- package/dist/client/assets/dialogs-CtgmIWHr.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-Eruc5brR.js → doc-editor-ui-D8F8fMuK.js} +1 -1
- package/dist/client/assets/doc-editor-ui-D8F8fMuK.js.br +0 -0
- package/dist/client/assets/{feature-hint-BlaOEDpZ.js → feature-hint-BnQ3oc-P.js} +1 -1
- package/dist/client/assets/feature-hint-BnQ3oc-P.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-BncsGae_.js → first-run-checklist-BpIlewTc.js} +1 -1
- package/dist/client/assets/first-run-checklist-BpIlewTc.js.br +0 -0
- package/dist/client/assets/{hooks-panel-Cp0HpH8u.js → hooks-panel-BzLvl_Ww.js} +1 -1
- package/dist/client/assets/hooks-panel-BzLvl_Ww.js.br +0 -0
- package/dist/client/assets/index-D4Db0AIu.js +78 -0
- package/dist/client/assets/index-D4Db0AIu.js.br +0 -0
- package/dist/client/assets/issues-panel-CA2cunSy.js +1 -0
- package/dist/client/assets/issues-panel-CA2cunSy.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-CUv8jH88.js → my-prs-panel-CE8DQaQH.js} +1 -1
- package/dist/client/assets/my-prs-panel-CE8DQaQH.js.br +0 -0
- package/dist/client/assets/{nyan-cat-ELwlGpw_.js → nyan-cat-BzQzKlQs.js} +1 -1
- package/dist/client/assets/nyan-cat-BzQzKlQs.js.br +0 -0
- package/dist/client/assets/{phone-shell-DPCcrueV.js → phone-shell-BDAo7zhe.js} +1 -1
- package/dist/client/assets/phone-shell-BDAo7zhe.js.br +0 -0
- package/dist/client/assets/{plan-face-BlHDpnwd.js → plan-face-pPmhGoX-.js} +1 -1
- package/dist/client/assets/plan-face-pPmhGoX-.js.br +0 -0
- package/dist/client/assets/{plan-render-Ue20gsFT.js → plan-render-DEKo1Q7U.js} +1 -1
- package/dist/client/assets/plan-render-DEKo1Q7U.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-C7x48KNy.js → pr-queue-columns-CLlN5F6b.js} +1 -1
- package/dist/client/assets/pr-queue-columns-CLlN5F6b.js.br +0 -0
- package/dist/client/assets/{radar-panel-De1cY05T.js → radar-panel-D8d1sInW.js} +1 -1
- package/dist/client/assets/radar-panel-D8d1sInW.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-CPeNJr5A.js → repo-roots-adder-B1iO5aCS.js} +1 -1
- package/dist/client/assets/repo-roots-adder-B1iO5aCS.js.br +0 -0
- package/dist/client/assets/{resume-dialog-Bl5grRM1.js → resume-dialog-ROCGCMQX.js} +1 -1
- package/dist/client/assets/resume-dialog-ROCGCMQX.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-BMOWpMhy.js → review-queue-panel-DvdMsUnV.js} +1 -1
- package/dist/client/assets/review-queue-panel-DvdMsUnV.js.br +0 -0
- package/dist/client/assets/{session-tick-3OXJsS0Y.js → session-tick-DtSeUhmI.js} +1 -1
- package/dist/client/assets/settings-panel-hXF59qhs.js +4 -0
- package/dist/client/assets/settings-panel-hXF59qhs.js.br +0 -0
- package/dist/client/assets/{shown-lightbox-DCcANA6Y.js → shown-lightbox-CMAQ8UF8.js} +1 -1
- package/dist/client/assets/shown-lightbox-CMAQ8UF8.js.br +0 -0
- package/dist/client/assets/{team-review-panel-BmDy70kj.js → team-review-panel-D7euGvYc.js} +6 -6
- package/dist/client/assets/team-review-panel-D7euGvYc.js.br +0 -0
- package/dist/client/assets/{trace-panel-CBkJEuI2.js → trace-panel-yb-aolmR.js} +1 -1
- package/dist/client/assets/trace-panel-yb-aolmR.js.br +0 -0
- package/dist/client/assets/updates-view-core-AjsEDO72.js +1 -0
- package/dist/client/assets/updates-view-core-AjsEDO72.js.br +0 -0
- package/dist/client/assets/{usage-panel-CBLvfXF2.js → usage-panel-BpMQXqWA.js} +1 -1
- package/dist/client/assets/usage-panel-BpMQXqWA.js.br +0 -0
- package/dist/client/assets/{your-day-tip-D4UQz8eJ.js → your-day-tip-DbWhpJcy.js} +1 -1
- package/dist/client/assets/your-day-tip-DbWhpJcy.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-BLRJxVUo.js +0 -1
- package/dist/chunks/kimi-DtI-wjwl.js +0 -1
- package/dist/client/assets/action-status-B6VUDz1D.js.br +0 -0
- package/dist/client/assets/benchmark-panel-97omrMAt.js.br +0 -0
- package/dist/client/assets/boards-view-CSRqcod9.js +0 -1
- package/dist/client/assets/boards-view-CSRqcod9.js.br +0 -0
- package/dist/client/assets/boards-view-D_9_nMRF.css +0 -1
- package/dist/client/assets/boards-view-D_9_nMRF.css.br +0 -0
- package/dist/client/assets/card-registry-BOUaw88C.js.br +0 -0
- package/dist/client/assets/community-panel-AK9-z0dJ.js.br +0 -0
- package/dist/client/assets/control-ws-DlKysLX6.js.br +0 -0
- package/dist/client/assets/dialogs-B1tTPhUQ.js +0 -74
- package/dist/client/assets/dialogs-B1tTPhUQ.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-Eruc5brR.js.br +0 -0
- package/dist/client/assets/feature-hint-BlaOEDpZ.js.br +0 -0
- package/dist/client/assets/first-run-checklist-BncsGae_.js.br +0 -0
- package/dist/client/assets/hooks-panel-Cp0HpH8u.js.br +0 -0
- package/dist/client/assets/index-CGYgpp7E.js +0 -78
- package/dist/client/assets/index-CGYgpp7E.js.br +0 -0
- package/dist/client/assets/issues-panel-CnvvbYuS.js +0 -1
- package/dist/client/assets/issues-panel-CnvvbYuS.js.br +0 -0
- package/dist/client/assets/my-prs-panel-CUv8jH88.js.br +0 -0
- package/dist/client/assets/nyan-cat-ELwlGpw_.js.br +0 -0
- package/dist/client/assets/phone-shell-DPCcrueV.js.br +0 -0
- package/dist/client/assets/plan-face-BlHDpnwd.js.br +0 -0
- package/dist/client/assets/plan-render-Ue20gsFT.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-C7x48KNy.js.br +0 -0
- package/dist/client/assets/radar-panel-De1cY05T.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-CPeNJr5A.js.br +0 -0
- package/dist/client/assets/resume-dialog-Bl5grRM1.js.br +0 -0
- package/dist/client/assets/review-queue-panel-BMOWpMhy.js.br +0 -0
- package/dist/client/assets/settings-panel-DRRBsSno.js +0 -4
- package/dist/client/assets/settings-panel-DRRBsSno.js.br +0 -0
- package/dist/client/assets/shown-lightbox-DCcANA6Y.js.br +0 -0
- package/dist/client/assets/team-review-panel-BmDy70kj.js.br +0 -0
- package/dist/client/assets/trace-panel-CBkJEuI2.js.br +0 -0
- package/dist/client/assets/updates-view-core-DCSdVLuf.js +0 -1
- package/dist/client/assets/updates-view-core-DCSdVLuf.js.br +0 -0
- package/dist/client/assets/usage-panel-CBLvfXF2.js.br +0 -0
- package/dist/client/assets/your-day-tip-D4UQz8eJ.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-D_ZjJLE0.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-BSUqcZuL.js";
|
|
8
8
|
import { a as execSync } from "../chunks/child-process-safe-BCOoKfxG.js";
|
|
9
|
-
import { J as isOwnedCommandName, Y as parseCommand, q as OWNED_COMMAND_SPECS, r as agentCommandHelpLines } from "../chunks/agent-api-core-
|
|
9
|
+
import { J as isOwnedCommandName, Y as parseCommand, q as OWNED_COMMAND_SPECS, r as agentCommandHelpLines } from "../chunks/agent-api-core-M5jYQbGI.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-Dw6Xxt88.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-CxxLUnfp.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-PRMvNLeR.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-CBPCGvu0.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-DmWTf8I2.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-DeFVfmf4.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-DeFVfmf4.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-DRcBVXku.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-3VW1o3S8.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-CxxLUnfp.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-CLCUyYz3.js");
|
|
267
267
|
const { describeAgentHome } = await import("../chunks/agent-home-Bg2CwnwX.js");
|
|
268
268
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-CgoT45SE.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-DUfaYypN.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-CxxLUnfp.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 +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-DlhmQZw0.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { o as relayPath, u as isPathInside } from "./runtime-paths-D_ZjJLE0.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Qt as FULL_SHA_RE, en as shortSha$1 } from "./session-BSUqcZuL.js";
|
|
4
4
|
import { c as spawn, i as execFileSync, r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
5
|
-
import { S as InstallFlavor, c as SHELL_AGENT_ID, kt as UpdateChannel } from "./config-
|
|
6
|
-
import { o as supervisionLine } from "./session-routes-
|
|
5
|
+
import { S as InstallFlavor, c as SHELL_AGENT_ID, kt as UpdateChannel } from "./config-DTrIRWu3.js";
|
|
6
|
+
import { o as supervisionLine } from "./session-routes-286EKAs6.js";
|
|
7
7
|
import { a as rawTextOr, o as textOr, r as numberOr } from "./coerce-oz_Z_6E7.js";
|
|
8
8
|
import { n as parseJsonRecord } from "./json-core-If8h-Qgy.js";
|
|
9
9
|
import { i as saneYoloEnv, r as SANE_YOLO_PATH_ENV, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
|
|
10
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
10
|
+
import { t as buildAgentEnv } from "./spawn-env-v4KHnYF-.js";
|
|
11
11
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
12
|
-
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-
|
|
12
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-BIf4aMG8.js";
|
|
13
13
|
import { O as nextBackoffMs } from "./json-file-AKRVPqG1.js";
|
|
14
|
-
import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-
|
|
15
|
-
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-
|
|
14
|
+
import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-CgvY4dxz.js";
|
|
15
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-qgayeMfe.js";
|
|
16
16
|
import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-DgW3orTE.js";
|
|
17
17
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-BzANIIVe.js";
|
|
18
18
|
import fs from "node:fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Y as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
3
|
-
import { i as formatSessionLimits } from "./session-routes-
|
|
1
|
+
import { Z as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-BSUqcZuL.js";
|
|
2
|
+
import { Y as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-M5jYQbGI.js";
|
|
3
|
+
import { i as formatSessionLimits } from "./session-routes-286EKAs6.js";
|
|
4
4
|
import { i as resolveHookTarget } from "./hook-relay-core-DA_bz2KA.js";
|
|
5
5
|
import { t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
6
|
-
import { c as layoutBoard, r as describeOverCap, s as escapeMarkup, u as planSteps } from "./shown-files-core-
|
|
6
|
+
import { c as layoutBoard, r as describeOverCap, s as escapeMarkup, u as planSteps } from "./shown-files-core-BhWD7r12.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import http from "node:http";
|
|
@@ -28,6 +28,11 @@ var LOOP_BADGE_INSET = 20;
|
|
|
28
28
|
var DECISION_POINT_INSET = 12;
|
|
29
29
|
var OUTPUT_LABEL_BASELINE_OFFSET = 4;
|
|
30
30
|
var OUTPUT_DOT_RADIUS = 3;
|
|
31
|
+
var MONO_CHAR_WIDTH = 7.2;
|
|
32
|
+
var CODE_BAND_RISE = 13;
|
|
33
|
+
var CODE_BAND_HEIGHT = 17;
|
|
34
|
+
var ITEM_DOT_RADIUS = 2.2;
|
|
35
|
+
var LEGEND_SAMPLE_WIDTH = 28;
|
|
31
36
|
var STANDALONE_STYLE = `
|
|
32
37
|
svg { font-family: 'ComicMono', 'CommitMono', 'Cascadia Code', 'Menlo', monospace; }
|
|
33
38
|
.wb-backdrop { fill: #0d0b16; }
|
|
@@ -41,6 +46,13 @@ svg { font-family: 'ComicMono', 'CommitMono', 'Cascadia Code', 'Menlo', monospac
|
|
|
41
46
|
.wb-box-title { fill: #e6e0f5; font-size: 16px; font-weight: 700; }
|
|
42
47
|
.wb-box-line { fill: #e6e0f5; font-size: 12px; }
|
|
43
48
|
.wb-box-line.wb-muted { fill: #a79fc4; }
|
|
49
|
+
.wb-line-code { fill: #c4b5fd; }
|
|
50
|
+
.wb-code-band { fill: #221d3a; }
|
|
51
|
+
.wb-line-marker { fill: #a79fc4; font-size: 12px; }
|
|
52
|
+
.wb-line-key { fill: #a79fc4; font-size: 12px; font-weight: 700; }
|
|
53
|
+
.wb-item-dot { fill: #a79fc4; }
|
|
54
|
+
.wb-panel-outline { fill: #110f20; stroke: #4a4268; stroke-width: 1.4; }
|
|
55
|
+
.wb-panel-rule { stroke: #4a4268; stroke-width: 1; }
|
|
44
56
|
.wb-output-divider { stroke: #4a4268; stroke-width: 1; }
|
|
45
57
|
.wb-output-label { fill: #e6e0f5; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
|
|
46
58
|
.wb-output-dot { fill: #a79fc4; }
|
|
@@ -120,6 +132,57 @@ function outputRowsMarkup(box) {
|
|
|
120
132
|
];
|
|
121
133
|
});
|
|
122
134
|
}
|
|
135
|
+
function lineClassOf(line) {
|
|
136
|
+
if (line.style === "code") return "wb-box-line wb-line-code";
|
|
137
|
+
return line.muted ? "wb-box-line wb-muted" : "wb-box-line";
|
|
138
|
+
}
|
|
139
|
+
function lineRowMarkup(line, left, width, baseline) {
|
|
140
|
+
const rowLeft = left + BOX_TEXT_INSET + (line.muted ? MUTED_INDENT : 0);
|
|
141
|
+
const parts = [];
|
|
142
|
+
if (line.style === "code") parts.push(tag("rect", {
|
|
143
|
+
x: rowLeft - 4,
|
|
144
|
+
y: baseline - CODE_BAND_RISE,
|
|
145
|
+
width: left + width - BOX_TEXT_INSET + 4 - rowLeft + 4,
|
|
146
|
+
height: CODE_BAND_HEIGHT,
|
|
147
|
+
rx: 3,
|
|
148
|
+
class: "wb-code-band"
|
|
149
|
+
}));
|
|
150
|
+
if (line.style === "item" && line.isFirstRow) parts.push(tag("circle", {
|
|
151
|
+
cx: rowLeft + 4,
|
|
152
|
+
cy: baseline - 4,
|
|
153
|
+
r: ITEM_DOT_RADIUS,
|
|
154
|
+
class: "wb-item-dot"
|
|
155
|
+
}));
|
|
156
|
+
if (line.marker !== null) parts.push(text(line.marker, rowLeft, baseline, line.style === "kv" ? "wb-line-key" : "wb-line-marker"));
|
|
157
|
+
if (line.text) parts.push(text(line.text, rowLeft + line.indentChars * MONO_CHAR_WIDTH, baseline, lineClassOf(line)));
|
|
158
|
+
return parts;
|
|
159
|
+
}
|
|
160
|
+
function bodyLinesMarkup(lines, left, width, top) {
|
|
161
|
+
return lines.flatMap((line, index) => lineRowMarkup(line, left, width, top + index * BODY_LINE_HEIGHT));
|
|
162
|
+
}
|
|
163
|
+
function panelMarkup(panel) {
|
|
164
|
+
const parts = [tag("rect", {
|
|
165
|
+
x: panel.x,
|
|
166
|
+
y: panel.y,
|
|
167
|
+
width: panel.width,
|
|
168
|
+
height: panel.height,
|
|
169
|
+
rx: 6,
|
|
170
|
+
class: "wb-panel-outline"
|
|
171
|
+
})];
|
|
172
|
+
panel.titleLines.forEach((line, index) => {
|
|
173
|
+
parts.push(text(line, panel.x + BOX_TEXT_INSET, panel.y + TITLE_BASELINE + index * TITLE_LINE_HEIGHT, "wb-box-title"));
|
|
174
|
+
});
|
|
175
|
+
const bodyTop = panel.y + TITLE_BASELINE + panel.titleLines.length * TITLE_LINE_HEIGHT;
|
|
176
|
+
if (panel.bodyLines.length > 0) parts.push(tag("line", {
|
|
177
|
+
x1: panel.x + BOX_TEXT_INSET,
|
|
178
|
+
y1: bodyTop - 12,
|
|
179
|
+
x2: panel.x + panel.width - BOX_TEXT_INSET,
|
|
180
|
+
y2: bodyTop - 12,
|
|
181
|
+
class: "wb-panel-rule"
|
|
182
|
+
}));
|
|
183
|
+
parts.push(...bodyLinesMarkup(panel.bodyLines, panel.x, panel.width, bodyTop));
|
|
184
|
+
return elementGroup(panel, "wb-panel", parts);
|
|
185
|
+
}
|
|
123
186
|
function boxOutlineMarkup(box) {
|
|
124
187
|
if (box.shape === "decision") return tag("path", {
|
|
125
188
|
d: decisionOutlinePath(box),
|
|
@@ -155,10 +218,7 @@ function boxMarkup(box) {
|
|
|
155
218
|
parts.push(text(line, box.x + BOX_TEXT_INSET, box.y + TITLE_BASELINE + index * TITLE_LINE_HEIGHT, "wb-box-title"));
|
|
156
219
|
});
|
|
157
220
|
const bodyTop = box.y + TITLE_BASELINE + box.titleLines.length * TITLE_LINE_HEIGHT;
|
|
158
|
-
box.bodyLines.
|
|
159
|
-
const x = box.x + BOX_TEXT_INSET + (line.muted ? MUTED_INDENT : 0);
|
|
160
|
-
parts.push(text(line.text, x, bodyTop + index * BODY_LINE_HEIGHT, line.muted ? "wb-box-line wb-muted" : "wb-box-line"));
|
|
161
|
-
});
|
|
221
|
+
parts.push(...bodyLinesMarkup(box.bodyLines, box.x, box.width, bodyTop));
|
|
162
222
|
if (box.lane && box.showsLanePill) {
|
|
163
223
|
const pillY = box.y + box.headerHeight - 28;
|
|
164
224
|
const pillWidth = Math.min(box.width - 24, 16 + box.lane.label.length * 8);
|
|
@@ -252,9 +312,7 @@ function unitMarkup(unit) {
|
|
|
252
312
|
parts.push(text(line, unit.x + BOX_TEXT_INSET, titleTop + index * TITLE_LINE_HEIGHT, "wb-box-title"));
|
|
253
313
|
});
|
|
254
314
|
const bodyTop = titleTop + unit.titleLines.length * TITLE_LINE_HEIGHT;
|
|
255
|
-
unit.bodyLines.
|
|
256
|
-
parts.push(text(line, unit.x + BOX_TEXT_INSET, bodyTop + index * BODY_LINE_HEIGHT, "wb-box-line"));
|
|
257
|
-
});
|
|
315
|
+
parts.push(...bodyLinesMarkup(unit.bodyLines, unit.x, unit.width, bodyTop));
|
|
258
316
|
if (unit.linkedBoardId) parts.push(text(LINKED_BOARD_TEXT, unit.x + BOX_TEXT_INSET, bodyTop + unit.bodyLines.length * BODY_LINE_HEIGHT, "wb-unit-link", { "data-linked-board-id": unit.linkedBoardId }));
|
|
259
317
|
return elementGroup(unit, "wb-unit", parts);
|
|
260
318
|
}
|
|
@@ -265,6 +323,7 @@ function elementMarkup(element) {
|
|
|
265
323
|
case "wire": return wireMarkup(element);
|
|
266
324
|
case "note": return noteMarkup(element);
|
|
267
325
|
case "unit": return unitMarkup(element);
|
|
326
|
+
case "panel": return panelMarkup(element);
|
|
268
327
|
}
|
|
269
328
|
}
|
|
270
329
|
function chromeMarkup(layout) {
|
|
@@ -300,17 +359,31 @@ function chromeMarkup(layout) {
|
|
|
300
359
|
class: "wb-column-rule"
|
|
301
360
|
}));
|
|
302
361
|
}
|
|
303
|
-
for (const entry of layout.legend) parts.push(
|
|
362
|
+
for (const entry of layout.legend) parts.push(legendRowMarkup(entry));
|
|
363
|
+
if (layout.caption) parts.push(text(layout.caption.text, layout.caption.x, layout.caption.y + 16, "wb-caption"));
|
|
364
|
+
return tag("g", { class: "wb-chrome" }, parts.join(""));
|
|
365
|
+
}
|
|
366
|
+
function legendSwatchMarkup(entry) {
|
|
367
|
+
const { swatch } = entry;
|
|
368
|
+
if (swatch.kind === "lane") return tag("rect", {
|
|
304
369
|
x: entry.x,
|
|
305
370
|
y: entry.y,
|
|
306
371
|
width: 14,
|
|
307
372
|
height: 14,
|
|
308
373
|
rx: 3,
|
|
309
374
|
class: "wb-legend-swatch",
|
|
310
|
-
style: `fill:${
|
|
311
|
-
})
|
|
312
|
-
|
|
313
|
-
|
|
375
|
+
style: `fill:${swatch.hex}`
|
|
376
|
+
});
|
|
377
|
+
const sample = tag("path", {
|
|
378
|
+
d: `M${entry.x},${entry.y + 7} H${entry.x + LEGEND_SAMPLE_WIDTH}`,
|
|
379
|
+
"marker-end": "url(#wb-arrow)",
|
|
380
|
+
class: swatch.isDashed ? "wb-wire-line wb-dashed" : "wb-wire-line"
|
|
381
|
+
});
|
|
382
|
+
return tag("g", { class: swatch.isBack ? `wb-back wb-tone-${swatch.tone}` : `wb-tone-${swatch.tone}` }, sample);
|
|
383
|
+
}
|
|
384
|
+
function legendRowMarkup(entry) {
|
|
385
|
+
const labelX = entry.x + (entry.swatch.kind === "lane" ? 22 : 40);
|
|
386
|
+
return legendSwatchMarkup(entry) + text(entry.label, labelX, entry.y + 12, "wb-legend-text");
|
|
314
387
|
}
|
|
315
388
|
function arrowDefinitionsMarkup() {
|
|
316
389
|
return tag("defs", {}, tag("marker", {
|
|
@@ -330,6 +403,7 @@ var LAYER_ORDER = [
|
|
|
330
403
|
"frame",
|
|
331
404
|
"wire",
|
|
332
405
|
"box",
|
|
406
|
+
"panel",
|
|
333
407
|
"note",
|
|
334
408
|
"unit"
|
|
335
409
|
];
|
|
@@ -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-41zrgwoW.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as RefinedTaskTitle,
|
|
2
|
-
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
3
|
-
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-
|
|
1
|
+
import { C as RefinedTaskTitle, Q as WhiteboardAgentRequest, 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, u as AgentPullRequestRequest } from "./session-BSUqcZuL.js";
|
|
2
|
+
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-DTrIRWu3.js";
|
|
3
|
+
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-286EKAs6.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { parseArgs } from "node:util";
|
|
6
6
|
import crypto from "node:crypto";
|
|
@@ -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-BIf4aMG8.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 "./session-
|
|
2
|
-
import { C as ONBOARDING_STEPS, E as OPERATOR_SURFACES, T as OPERATOR_ACTIONS_BY_SURFACE, b as DASHBOARD_VIEWS, j as HintFeature, n as BUILTIN_AGENT_IDS, w as ONBOARDING_STEP_STATES } from "./config-
|
|
1
|
+
import "./session-BSUqcZuL.js";
|
|
2
|
+
import { C as ONBOARDING_STEPS, E as OPERATOR_SURFACES, T as OPERATOR_ACTIONS_BY_SURFACE, b as DASHBOARD_VIEWS, j as HintFeature, n as BUILTIN_AGENT_IDS, w as ONBOARDING_STEP_STATES } from "./config-DTrIRWu3.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region shared/contracts/telemetry.ts
|
|
5
5
|
var TELEMETRY_ADAPTERS = Object.freeze([...BUILTIN_AGENT_IDS, "custom"]);
|
|
@@ -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-DTrIRWu3.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 {
|
|
1
|
+
import { B as UnseenOutcome, Bt as TeamReviewActionResult, Ct as CommitSha, Dt as GithubReviewDecision, E as SESSION_DOC_PATH_MAX_CHARS, F as ShownFile, M as SessionDoc, Mt as ReviewChecksState, N as SessionSnapshot, P as SessionState, St as repositoryName, U as BoardSummary, V as Board, Wt as TeamReviewStatus, X as WHITEBOARD_LIMITS, Xt as hasRequiredActionHead, an as GithubPollingRefreshRequest, at as MyPrKeepMergeableRequest, bt as SessionPrLinks, cn as githubPollingShape, et as LinkedPr, ft as MyPrMergeWhenReadyRequest, in as repoParts, lt as MyPrMergeRequest, mt as MyPrSearchNode, on as GithubPollingRefreshResult, ot as MyPrKeepMergeableResult, pt as MyPrMergeWhenReadyResult, q as Op, rn as REPO_SLUG_RE, sn as GithubPrsFreshness, tn as GH_SEGMENT, tt as MyPr, ut as MyPrMergeResult, x as CoherenceHooksState, xt as pullRequestKeyFormat, yt as MyPrsStatus, z as TaskTitle, zt as TeamReviewActionRequest } from "./session-BSUqcZuL.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,10 +1,10 @@
|
|
|
1
1
|
import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { a as packageRoot, l as equalsIgnoringCaseOnWindows } from "./runtime-paths-D_ZjJLE0.js";
|
|
3
3
|
import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
4
|
-
import { $ as FLYING_ANIMALS_DEFAULTS, Ot as UPDATE_CHANNELS, Q as COMMUNITY_INTERVAL_MINUTES_RANGE, _t as USAGE_RETAIN_DAYS_RANGE, at as NON_NEGATIVE_NUMBER_RANGE, 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, 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, yt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE } from "./config-
|
|
4
|
+
import { $ as FLYING_ANIMALS_DEFAULTS, Ot as UPDATE_CHANNELS, Q as COMMUNITY_INTERVAL_MINUTES_RANGE, _t as USAGE_RETAIN_DAYS_RANGE, at as NON_NEGATIVE_NUMBER_RANGE, 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, 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, yt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE } from "./config-DTrIRWu3.js";
|
|
5
5
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
6
6
|
import { d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync } from "./json-file-AKRVPqG1.js";
|
|
7
|
-
import { f as FeatureFlagsResponse, g as TELEMETRY_KILL_SWITCH_FLAG, n as isExperimentalBuild, p as MAX_TEXT_LENGTH } from "./build-channel-
|
|
7
|
+
import { f as FeatureFlagsResponse, g as TELEMETRY_KILL_SWITCH_FLAG, n as isExperimentalBuild, p as MAX_TEXT_LENGTH } from "./build-channel-CgvY4dxz.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { c as loadConfigFile } from "./config-store-D8YvdWZC.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { o as relayPath } from "./runtime-paths-D_ZjJLE0.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-v4KHnYF-.js";
|
|
5
5
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "./kimi-qgayeMfe.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as relayPath } from "./runtime-paths-D_ZjJLE0.js";
|
|
2
|
-
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-
|
|
2
|
+
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-BSUqcZuL.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
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
5
|
+
import { t as buildAgentEnv } from "./spawn-env-v4KHnYF-.js";
|
|
6
6
|
import { l as KIMI_HOME_PROFILE, m as renderKimiHooksBlock } from "./agent-home-core-DgW3orTE.js";
|
|
7
7
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, o as prepareScratchAgentHome, s as realAgentHome } from "./agent-home-BzANIIVe.js";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -3,11 +3,11 @@ 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 caseFoldedPathKey, d as safePathSegment, f as sanitizeWorktreeName, i as clientDir, l as equalsIgnoringCaseOnWindows, n as bundled, o as relayPath, r as cliPath, s as resolvePackageBin, t as assetRoot, u as isPathInside } from "./runtime-paths-D_ZjJLE0.js";
|
|
5
5
|
import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
6
|
-
import { $ as
|
|
6
|
+
import { $ as Wire, $t as HEX_SHA_RE, A as SIGN_URL_ENV, At as PostingPlan, Ct as CommitSha, D as SESSION_NAME_PATTERN, Et as FindingSeverity, F as ShownFile, Ft as ReviewFinding, G as Frame, Gt as TeamReviewThreadCommentsResponse, H as BoardRecord, Ht as TeamReviewResolveResponse, It as ReviewResult, J as Panel, Jt as canApproveAfterComment, K as Note, Kt as TeamReviewThreadResult, L as SshSignRequest, Lt as ReviewThreadId, Nt as ReviewComment, O as SESSION_NAME_RULE_TEXT, Ot as GithubReviewState, Pt as ReviewDraft, Rt as ReviewVerdict, S as ConversationQuestion, T as SESSION_DOC_BODY_CAP_BYTES, Tt as EarlierReview, Ut as TeamReviewStateEntry, Vt as TeamReviewCompareFiles, W as Box, Wt as TeamReviewStatus, X as WHITEBOARD_LIMITS, Y as Unit, Yt as decisionAsIfApprovalRequired, Zt as hasStandingViewerApproval, _ as COHERENCE_HOOKS_INACTIVE, _t as MyPrsSnapshot, at as MyPrKeepMergeableRequest, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, ct as MyPrMergeMethod, dn as MERGEABLE_LIVE_STATES, dt as MyPrMergeStateResponse, en as shortSha, et as LinkedPr, fn as RESTARTABLE_STATES, ft as MyPrMergeWhenReadyRequest, gt as MyPrThreadsResponse, ht as MyPrThreadNode, i as ASK_USER_QUESTION_TOOL_NAME, in as repoParts, it as MyPrCheckContextsResponse, j as SSH_SIGN_BODY_CAP_BYTES, jt as PrDetail, k as SHOWN_FILE_CAP_BYTES, kt as PostedReviewEvent, ln as BADGE_LABELS, lt as MyPrMergeRequest, nn as NODE_ID_RE, nt as MyPrAutoRebase, pn as STATES, qt as TeamReviewThreadsRepository, r as AGENT_URL_ENV, rn as REPO_SLUG_RE, rt as MyPrCheckContext, st as MyPrLaneEntry, tn as GH_SEGMENT, tt as MyPr, un as KILLABLE_STATES, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, vt as MyPrsState, wt as DECIDING_REVIEW_STATES, y as CONVERSATION_PERMISSION_HOOK_EVENT, z as TaskTitle, zt as TeamReviewActionRequest } from "./session-BSUqcZuL.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 IssuesStatus, 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 GithubIssueResponse, 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 IssuesState, 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 IssueUpdate, Y as WorkflowLabelName, Yt as IssueKey, Z as WorkflowsState, Zt as IssuesSearchResponse, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, en as issuePullRequestStateFromGithub, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as SessionSetup, k as HINT_FEATURES, p as USAGE_VENDOR_KEYS, q as comparablePrKey, qt as GithubIssuePullRequestsRepository, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, 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 { 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, R as pickAutoResume, S as cleanTaskPrompt, T as extractHookTaskTitle, U as listRepoConversations, V as shouldAdoptReportedResumeId, W as listRepoWorktreePaths, _ as projectReviewDetail, a as checkAgentReply, b as buildTaskTitleRefinementPrompt, c as deriveChildSessionName, d as describePushLanding, 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, 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-
|
|
10
|
-
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-
|
|
8
|
+
import { $t as IssuesStatus, 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 GithubIssueResponse, 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 IssuesState, 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 IssueUpdate, Y as WorkflowLabelName, Yt as IssueKey, Z as WorkflowsState, Zt as IssuesSearchResponse, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, en as issuePullRequestStateFromGithub, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as SessionSetup, k as HINT_FEATURES, p as USAGE_VENDOR_KEYS, q as comparablePrKey, qt as GithubIssuePullRequestsRepository, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, 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-DTrIRWu3.js";
|
|
9
|
+
import { 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, R as pickAutoResume, S as cleanTaskPrompt, T as extractHookTaskTitle, U as listRepoConversations, V as shouldAdoptReportedResumeId, W as listRepoWorktreePaths, _ as projectReviewDetail, a as checkAgentReply, b as buildTaskTitleRefinementPrompt, c as deriveChildSessionName, d as describePushLanding, 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, 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-M5jYQbGI.js";
|
|
10
|
+
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-286EKAs6.js";
|
|
11
11
|
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";
|
|
12
12
|
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-xS1GFU8P.js";
|
|
13
13
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
@@ -15,20 +15,20 @@ import { r as refocusReplyFor, t as promptContextReplyOf } from "./refocus-core-
|
|
|
15
15
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
16
16
|
import { a as saneYoloFiles } from "./sane-yolo-BjUkqIoH.js";
|
|
17
17
|
import { r as knownWriteHookInput } from "./posthog-read-gate-core-CeSY56AB.js";
|
|
18
|
-
import { a as readPageTitle, c as layoutBoard, d as unitsOf, i as filesAfterRetention, l as findDependencyCycle, n as decideShownKind, o as shownMimeForFilename, r as describeOverCap, s as escapeMarkup, t as SHOWN_SNIFF_BYTES } from "./shown-files-core-
|
|
18
|
+
import { a as readPageTitle, c as layoutBoard, d as unitsOf, i as filesAfterRetention, l as findDependencyCycle, n as decideShownKind, o as shownMimeForFilename, r as describeOverCap, s as escapeMarkup, t as SHOWN_SNIFF_BYTES } from "./shown-files-core-BhWD7r12.js";
|
|
19
19
|
import { n as shellQuote } from "./hook-command-core-qTNK-xMF.js";
|
|
20
20
|
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";
|
|
21
|
-
import { $ as stableConfigKey, B as buildPersonProperties, F as TELEMETRY_FLAGS_URL, G as decideRemoteTelemetryState, H as claudeAccountUuidOf, I as adapterBucket, J as nodeMajorVersion, K as decideTelemetryConsent, L as buildAiGenerationEvents, M as isExperimentalSetting, N as FIRST_RUN_NOTICE, P as TELEMETRY_BATCH_URL, R as buildBrowserExceptionProperties, U as codexUserIdOf, V as classifySessionExit, W as decideIsDevInstall, X as resolveProjectToken, Y as parsePosthogReleaseId, _ as settingsBlockSpecFor, a as ensureProjectIds, at as sessionIdFromBranch, ct as canonicalizePath, f as DEFAULT_TIMER_FNS, g as mergeSettingsBlock, i as createConfigStore, it as planWorktreeGc, k as valueAtPath, lt as comparableDirectoryPath, n as DEFAULT_CONFIG, nt as matchedPrefix, o as generateProjectId, ot as usablePrefixes, p as unrefTimer, q as exceptionFingerprint, rt as planBranchGc, s as glimmervoidHomeDir$1, st as worktreeIntegrationTips, t as ABORT_CONFIG_SAVE, tt as DEFAULT_BRANCH_GC_PREFIXES, ut as isSameDirectoryPath, v as validateSettingsBlock, y as SETTINGS_INDEX, z as buildExceptionProperties } from "./config-store-
|
|
22
|
-
import { _ as TelemetryState, a as DEEP_HISTORY_SCROLLBACK_LINES, c as describeDataAttach, d as DashboardTelemetryReport, h as TELEMETRY_EVENT_SCHEMAS, i as HookEnvelope, l as parseDataAttach, m as PendingCrashReport, r as HTTP_URL_RE, s as LOGGED_FAST_CLOSE_COUNTS, u as parseDataClientMessage } from "./build-channel-
|
|
23
|
-
import { i as resolveArgvCommandMatches } from "./kimi-
|
|
24
|
-
import { $ as grokHomes, A as decideUploadType, B as containmentRefusalReason, C as parseRegistryLatest, Ct as shouldReplace, D as openContainedFile, Dt as claudeCode, E as shortSha$1, Et as HOOK_TOOLS, F as planUploadRetention, G as codexFallbackRoots, H as planContiguousRead, I as MAX_TRANSCRIPT_READ_BYTES, J as codexSessionIdFromPath, K as codexHomes, L as TRACE_TAIL_SCAN_BYTES, M as framePathPaste, N as imageMimeForUploadFilename, O as MAX_UPLOAD_BYTES, P as isSafePathSegment, Q as expandTilde, R as committedOffsetFromTraceTailOrNull, S as parseRegistryDeprecation, St as parseUsageLine, T as pickNewestPublished, Tt as vendorUsageEntry, U as resumeOffsetFrom, V as isOversizedPartialLine, W as withCommittedOffset, X as decideFileRead, Y as continuationDelayMs, 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, k as buildUploadFilename, 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, 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 } from "./adapters-
|
|
21
|
+
import { $ as stableConfigKey, B as buildPersonProperties, F as TELEMETRY_FLAGS_URL, G as decideRemoteTelemetryState, H as claudeAccountUuidOf, I as adapterBucket, J as nodeMajorVersion, K as decideTelemetryConsent, L as buildAiGenerationEvents, M as isExperimentalSetting, N as FIRST_RUN_NOTICE, P as TELEMETRY_BATCH_URL, R as buildBrowserExceptionProperties, U as codexUserIdOf, V as classifySessionExit, W as decideIsDevInstall, X as resolveProjectToken, Y as parsePosthogReleaseId, _ as settingsBlockSpecFor, a as ensureProjectIds, at as sessionIdFromBranch, ct as canonicalizePath, f as DEFAULT_TIMER_FNS, g as mergeSettingsBlock, i as createConfigStore, it as planWorktreeGc, k as valueAtPath, lt as comparableDirectoryPath, n as DEFAULT_CONFIG, nt as matchedPrefix, o as generateProjectId, ot as usablePrefixes, p as unrefTimer, q as exceptionFingerprint, rt as planBranchGc, s as glimmervoidHomeDir$1, st as worktreeIntegrationTips, t as ABORT_CONFIG_SAVE, tt as DEFAULT_BRANCH_GC_PREFIXES, ut as isSameDirectoryPath, v as validateSettingsBlock, y as SETTINGS_INDEX, z as buildExceptionProperties } from "./config-store-D8YvdWZC.js";
|
|
22
|
+
import { _ as TelemetryState, a as DEEP_HISTORY_SCROLLBACK_LINES, c as describeDataAttach, d as DashboardTelemetryReport, h as TELEMETRY_EVENT_SCHEMAS, i as HookEnvelope, l as parseDataAttach, m as PendingCrashReport, r as HTTP_URL_RE, s as LOGGED_FAST_CLOSE_COUNTS, u as parseDataClientMessage } from "./build-channel-CgvY4dxz.js";
|
|
23
|
+
import { i as resolveArgvCommandMatches } from "./kimi-qgayeMfe.js";
|
|
24
|
+
import { $ as grokHomes, A as decideUploadType, B as containmentRefusalReason, C as parseRegistryLatest, Ct as shouldReplace, D as openContainedFile, Dt as claudeCode, E as shortSha$1, Et as HOOK_TOOLS, F as planUploadRetention, G as codexFallbackRoots, H as planContiguousRead, I as MAX_TRANSCRIPT_READ_BYTES, J as codexSessionIdFromPath, K as codexHomes, L as TRACE_TAIL_SCAN_BYTES, M as framePathPaste, N as imageMimeForUploadFilename, O as MAX_UPLOAD_BYTES, P as isSafePathSegment, Q as expandTilde, R as committedOffsetFromTraceTailOrNull, S as parseRegistryDeprecation, St as parseUsageLine, T as pickNewestPublished, Tt as vendorUsageEntry, U as resumeOffsetFrom, V as isOversizedPartialLine, W as withCommittedOffset, X as decideFileRead, Y as continuationDelayMs, 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, k as buildUploadFilename, 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, 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 } from "./adapters-DlhmQZw0.js";
|
|
25
25
|
import { c as CODEX_HOME_PROFILE, l as KIMI_HOME_PROFILE } from "./agent-home-core-DgW3orTE.js";
|
|
26
26
|
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-BzANIIVe.js";
|
|
27
27
|
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";
|
|
28
|
-
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-
|
|
29
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
28
|
+
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-vL5BXTa2.js";
|
|
29
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-23WWufsy.js";
|
|
30
30
|
import { n as normalizeRemoteConfig, r as validateRemoteConfig, t as decideBindHost } from "./remote-config-Dcejfz01.js";
|
|
31
|
-
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-
|
|
31
|
+
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-DGdVPr2u.js";
|
|
32
32
|
import { createRequire } from "node:module";
|
|
33
33
|
import fs, { readFileSync } from "node:fs";
|
|
34
34
|
import path, { join, resolve } from "node:path";
|
|
@@ -3880,7 +3880,8 @@ var ELEMENT_SCHEMAS = Object.freeze({
|
|
|
3880
3880
|
frame: Frame,
|
|
3881
3881
|
wire: Wire,
|
|
3882
3882
|
note: Note,
|
|
3883
|
-
unit: Unit
|
|
3883
|
+
unit: Unit,
|
|
3884
|
+
panel: Panel
|
|
3884
3885
|
});
|
|
3885
3886
|
var NOTE_PREVIEW_CHARS = 80;
|
|
3886
3887
|
var OK = { ok: true };
|
|
@@ -4092,6 +4093,7 @@ function applyOne(board, op, author) {
|
|
|
4092
4093
|
case "board":
|
|
4093
4094
|
if (op.title !== void 0) board.title = op.title;
|
|
4094
4095
|
if (op.caption !== void 0) board.caption = op.caption;
|
|
4096
|
+
if (op.legend !== void 0) board.legend = op.legend;
|
|
4095
4097
|
return OK;
|
|
4096
4098
|
}
|
|
4097
4099
|
}
|
|
@@ -4136,7 +4138,7 @@ function changedElementId(op) {
|
|
|
4136
4138
|
}
|
|
4137
4139
|
function nameOf(board, id, element = board.elements[id]) {
|
|
4138
4140
|
if (!element) return id;
|
|
4139
|
-
if (element.kind === "box" || element.kind === "frame" || element.kind === "unit") return `"${element.title || id}"`;
|
|
4141
|
+
if (element.kind === "box" || element.kind === "frame" || element.kind === "unit" || element.kind === "panel") return `"${element.title || id}"`;
|
|
4140
4142
|
if (element.kind === "wire") return `wire ${nameOf(board, element.from)} to ${nameOf(board, element.to)}`;
|
|
4141
4143
|
return `note ${id}`;
|
|
4142
4144
|
}
|
|
@@ -4153,6 +4155,11 @@ function describeSet(op, previous, after) {
|
|
|
4153
4155
|
if (previous?.kind === "box" && afterElement?.kind === "box" && fieldNames.length === 1 && fieldNames[0] === "title") return `renamed "${previous.title}" to "${afterElement.title}"`;
|
|
4154
4156
|
return `changed ${fieldNames.join(", ")} of ${nameOf(after, op.id)}`;
|
|
4155
4157
|
}
|
|
4158
|
+
function describeBoardOp(op) {
|
|
4159
|
+
if (op.title !== void 0) return `renamed the board to "${op.title}"`;
|
|
4160
|
+
if (op.caption !== void 0) return "changed the caption";
|
|
4161
|
+
return "set the legend";
|
|
4162
|
+
}
|
|
4156
4163
|
function describeOp(op, previous, after) {
|
|
4157
4164
|
switch (op.op) {
|
|
4158
4165
|
case "add": {
|
|
@@ -4165,7 +4172,7 @@ function describeOp(op, previous, after) {
|
|
|
4165
4172
|
case "resolve": return previous?.kind === "note" ? `resolved note ${op.id} on ${nameOf(after, previous.on)}` : `resolved note ${op.id}`;
|
|
4166
4173
|
case "columns": return `set the columns to ${op.columns.map((column) => column.title || column.id).join(", ") || "none"}`;
|
|
4167
4174
|
case "lanes": return `set the lanes to ${op.lanes.map((lane) => lane.label || lane.id).join(", ") || "none"}`;
|
|
4168
|
-
case "board": return op
|
|
4175
|
+
case "board": return describeBoardOp(op);
|
|
4169
4176
|
}
|
|
4170
4177
|
}
|
|
4171
4178
|
function createBoard({ id, title, nowMs }) {
|
|
@@ -4179,6 +4186,7 @@ function createBoard({ id, title, nowMs }) {
|
|
|
4179
4186
|
title: ""
|
|
4180
4187
|
}],
|
|
4181
4188
|
lanes: [],
|
|
4189
|
+
legend: [],
|
|
4182
4190
|
elements: {},
|
|
4183
4191
|
createdAt: nowMs,
|
|
4184
4192
|
updatedAt: nowMs
|
|
@@ -4350,11 +4358,13 @@ var PUT_GUIDE = [
|
|
|
4350
4358
|
"{\"op\":\"add\",\"element\":{\"kind\":\"box\",\"id\":\"parse\",\"title\":\"Parse\",\"column\":\"intake\",\"lane\":\"pr1\",\"lines\":[{\"text\":\"reads the feed\"},{\"text\":\"skips drafts\",\"muted\":true}]}},",
|
|
4351
4359
|
"{\"op\":\"add\",\"element\":{\"kind\":\"wire\",\"id\":\"w1\",\"from\":\"parse\",\"to\":\"store\",\"dashed\":true,\"label\":\"on retry\"}},",
|
|
4352
4360
|
"{\"op\":\"set\",\"id\":\"parse\",\"fields\":{\"title\":\"Parse feed\"}},{\"op\":\"remove\",\"id\":\"w1\"}]'.",
|
|
4353
|
-
"Element kinds: box (title, column, lane, near, at, lines, ghost, order, shape box|decision, outputs), wire (from, to, fromOutput, dashed, tone plain|fail|join|lane, label, fromSide and toSide left|right|top|bottom, back), frame (title, contains, loop), note (on, text), unit (title, lines, after, linkedBoardId).",
|
|
4361
|
+
"Element kinds: box (title, column, lane, near, at, lines, ghost, order, shape box|decision, outputs), wire (from, to, fromOutput, dashed, tone plain|fail|join|lane, label, fromSide and toSide left|right|top|bottom, back), frame (title, contains, loop), note (on, text), unit (title, lines, after, linkedBoardId), panel (title, lines, order) for side notes such as prior art, stacked right of the board.",
|
|
4362
|
+
"A line takes style text|code|item|numbered|kv; kv needs a key, as in {\"style\":\"kv\",\"key\":\"timeout\",\"text\":\"30s\"}, and numbered lines count up through each run.",
|
|
4354
4363
|
"Units lay out work in dependency order: glimmervoid whiteboard plan add|after|show edits and reads them.",
|
|
4355
4364
|
"Place a box by column and lane, which make a grid of columns and lane row bands; or near another box with near {\"of\":\"parse\",\"side\":\"right|left|top|bottom\",\"gap\":60}; or at {\"x\",\"y\"} pixels as a last resort.",
|
|
4356
4365
|
"A decision is a box with shape:\"decision\" and outputs [{id, label}] drawn as rows in that order; a wire with fromOutput set to an output id leaves from that row, so each branch starts at its own named exit.",
|
|
4357
4366
|
"Wires route around every box on their own; set fromSide or toSide to pick where one attaches, back:true for a return edge that loops around the outside, and loop:true on a frame to mark what repeats.",
|
|
4367
|
+
"The legend lists every wire style in use on its own; a board op with legend [{tone, dashed, back, label}] renames an entry or adds one.",
|
|
4358
4368
|
"A columns op takes move {\"old-column\":\"new-column\"} to carry boxes when it drops or renames a column. A put is applied whole or refused whole.",
|
|
4359
4369
|
"glimmervoid whiteboard get <board> returns the board and a one-line summary of each change others made since this session last read it;",
|
|
4360
4370
|
"add --layout to see where every box, wire and label landed, or run glimmervoid whiteboard render <board> --out board.svg to draw it as the dashboard does."
|
|
@@ -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-D8YvdWZC.js";
|
|
3
|
+
import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store-vL5BXTa2.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 { l as equalsIgnoringCaseOnWindows } from "./runtime-paths-D_ZjJLE0.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 { ct as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-
|
|
5
|
+
import { ct as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-D8YvdWZC.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import crypto from "node:crypto";
|