glimmervoid 0.48.4-next.380 → 0.48.4-next.382
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-Dt7Vy7xi.js → adapters-BcwKF3LW.js} +1 -1
- package/dist/chunks/{adapters-BVLCw0n4.js → adapters-CEsBTu4n.js} +7 -7
- package/dist/chunks/{agent-api-cli--mZMWzAf.js → agent-api-cli-Bp_kyHxd.js} +1 -1
- package/dist/chunks/{agent-api-cli-CFOeTTMJ.js → agent-api-cli-DFB-z_hW.js} +70 -11
- package/dist/chunks/{agent-api-core-CACOe94F.js → agent-api-core-CM13M4LR.js} +3 -3
- package/dist/chunks/{agent-setup-cli-CwMoWSf9.js → agent-setup-cli-wABjgqSQ.js} +1 -1
- package/dist/chunks/{build-channel-Cfj9uuo5.js → build-channel-Cp0OtZpT.js} +2 -2
- package/dist/chunks/{commit-sessions-CrHwbj9O.js → commit-sessions-BmSqvgN8.js} +1 -1
- package/dist/chunks/{config-Ddt42Qmr.js → config-BK0Fo-7O.js} +1 -1
- package/dist/chunks/config-store-BLRJxVUo.js +1 -0
- package/dist/chunks/{config-store-B4s0GHHR.js → config-store-D60Ga3QG.js} +2 -2
- package/dist/chunks/{grok-DMIdh-KA.js → grok-H6m27UuP.js} +1 -1
- package/dist/chunks/kimi-DtI-wjwl.js +1 -0
- package/dist/chunks/{kimi-DCOmFCxr.js → kimi-DvfHJLz8.js} +2 -2
- package/dist/chunks/{main-DZU_G_aI.js → main-CFzE5ix_.js} +33 -14
- package/dist/chunks/{pair-cli-Bm3enFad.js → pair-cli-BVViusp-.js} +2 -2
- package/dist/chunks/{pairings-store-BQKjUb82.js → pairings-store-Cx9BNAtV.js} +1 -1
- package/dist/chunks/{session-BS5QLRE8.js → session-DfEHO6yE.js} +14 -3
- package/dist/chunks/{session-routes-CIrmVWAd.js → session-routes-pUaEwCDP.js} +1 -1
- package/dist/chunks/{settings-cli-BWnwPlCd.js → settings-cli-CrON08Ez.js} +5 -5
- package/dist/chunks/{settings-readout-core-BJkqCCUg.js → settings-readout-core-DSYeQ0ib.js} +2 -2
- package/dist/chunks/{shown-files-core-D2t71GI8.js → shown-files-core-dlVs6cW6.js} +985 -853
- package/dist/chunks/{spawn-env-DO22O2qW.js → spawn-env-DNddforI.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-CnHuRa0p.js → ssh-sign-cli-DTuwrMom.js} +2 -2
- package/dist/chunks/{why-cli-DcAfu0BY.js → why-cli-DavG8mrh.js} +2 -2
- package/dist/client/assets/{action-status-Bhz-cPG8.js → action-status-B6VUDz1D.js} +1 -1
- package/dist/client/assets/action-status-B6VUDz1D.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-tGgecADe.js → benchmark-panel-97omrMAt.js} +1 -1
- package/dist/client/assets/benchmark-panel-97omrMAt.js.br +0 -0
- package/dist/client/assets/boards-view-CSRqcod9.js +1 -0
- package/dist/client/assets/boards-view-CSRqcod9.js.br +0 -0
- package/dist/client/assets/{boards-view-K94rwHMF.css → boards-view-D_9_nMRF.css} +1 -1
- package/dist/client/assets/boards-view-D_9_nMRF.css.br +0 -0
- package/dist/client/assets/{card-registry-CVH4inc9.js → card-registry-BOUaw88C.js} +1 -1
- package/dist/client/assets/card-registry-BOUaw88C.js.br +0 -0
- package/dist/client/assets/{community-panel-CzXlXOrz.js → community-panel-AK9-z0dJ.js} +1 -1
- package/dist/client/assets/community-panel-AK9-z0dJ.js.br +0 -0
- package/dist/client/assets/{control-ws-BmQVWzhh.js → control-ws-DlKysLX6.js} +1 -1
- package/dist/client/assets/control-ws-DlKysLX6.js.br +0 -0
- package/dist/client/assets/{dialogs-sAUl9yYW.js → dialogs-B1tTPhUQ.js} +1 -1
- package/dist/client/assets/dialogs-B1tTPhUQ.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-CludYKF_.js → doc-editor-ui-Eruc5brR.js} +1 -1
- package/dist/client/assets/doc-editor-ui-Eruc5brR.js.br +0 -0
- package/dist/client/assets/{feature-hint-CtAG9vfo.js → feature-hint-BlaOEDpZ.js} +1 -1
- package/dist/client/assets/feature-hint-BlaOEDpZ.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-B9sSd4Pt.js → first-run-checklist-BncsGae_.js} +1 -1
- package/dist/client/assets/first-run-checklist-BncsGae_.js.br +0 -0
- package/dist/client/assets/{hooks-panel-BI7ZxafZ.js → hooks-panel-Cp0HpH8u.js} +1 -1
- package/dist/client/assets/hooks-panel-Cp0HpH8u.js.br +0 -0
- package/dist/client/assets/index-CGYgpp7E.js +78 -0
- package/dist/client/assets/index-CGYgpp7E.js.br +0 -0
- package/dist/client/assets/{issues-panel-gWV2PiRa.js → issues-panel-CnvvbYuS.js} +1 -1
- package/dist/client/assets/issues-panel-CnvvbYuS.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-CsrUMpp0.js → my-prs-panel-CUv8jH88.js} +1 -1
- package/dist/client/assets/my-prs-panel-CUv8jH88.js.br +0 -0
- package/dist/client/assets/{nyan-cat-DTYnyVrQ.js → nyan-cat-ELwlGpw_.js} +1 -1
- package/dist/client/assets/nyan-cat-ELwlGpw_.js.br +0 -0
- package/dist/client/assets/{phone-shell-qLY0YoPu.js → phone-shell-DPCcrueV.js} +1 -1
- package/dist/client/assets/phone-shell-DPCcrueV.js.br +0 -0
- package/dist/client/assets/{plan-face-BeROsjim.js → plan-face-BlHDpnwd.js} +1 -1
- package/dist/client/assets/plan-face-BlHDpnwd.js.br +0 -0
- package/dist/client/assets/{plan-render-BT27Mp4E.js → plan-render-Ue20gsFT.js} +1 -1
- package/dist/client/assets/plan-render-Ue20gsFT.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-BMRLMnB-.js → pr-queue-columns-C7x48KNy.js} +1 -1
- package/dist/client/assets/pr-queue-columns-C7x48KNy.js.br +0 -0
- package/dist/client/assets/{radar-panel-BlpV9dOm.js → radar-panel-De1cY05T.js} +1 -1
- package/dist/client/assets/radar-panel-De1cY05T.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-A97dxqMn.js → repo-roots-adder-CPeNJr5A.js} +1 -1
- package/dist/client/assets/repo-roots-adder-CPeNJr5A.js.br +0 -0
- package/dist/client/assets/{resume-dialog-Bbzxf5w_.js → resume-dialog-Bl5grRM1.js} +1 -1
- package/dist/client/assets/resume-dialog-Bl5grRM1.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-CyehpcSK.js → review-queue-panel-BMOWpMhy.js} +1 -1
- package/dist/client/assets/review-queue-panel-BMOWpMhy.js.br +0 -0
- package/dist/client/assets/{session-tick-DXwC-gCa.js → session-tick-3OXJsS0Y.js} +1 -1
- package/dist/client/assets/{settings-panel-Bzyo_vSO.js → settings-panel-DRRBsSno.js} +2 -2
- package/dist/client/assets/settings-panel-DRRBsSno.js.br +0 -0
- package/dist/client/assets/{shown-lightbox-Chu4J2_a.js → shown-lightbox-DCcANA6Y.js} +1 -1
- package/dist/client/assets/shown-lightbox-DCcANA6Y.js.br +0 -0
- package/dist/client/assets/{team-review-panel-D-nc_OBN.js → team-review-panel-BmDy70kj.js} +1 -1
- package/dist/client/assets/team-review-panel-BmDy70kj.js.br +0 -0
- package/dist/client/assets/{trace-panel-BIH-l7Vh.js → trace-panel-CBkJEuI2.js} +1 -1
- package/dist/client/assets/trace-panel-CBkJEuI2.js.br +0 -0
- package/dist/client/assets/updates-view-core-DCSdVLuf.js +1 -0
- package/dist/client/assets/updates-view-core-DCSdVLuf.js.br +0 -0
- package/dist/client/assets/{usage-panel-Cw93EBpx.js → usage-panel-CBLvfXF2.js} +1 -1
- package/dist/client/assets/usage-panel-CBLvfXF2.js.br +0 -0
- package/dist/client/assets/{your-day-tip-CQZdCe1Y.js → your-day-tip-D4UQz8eJ.js} +1 -1
- package/dist/client/assets/your-day-tip-D4UQz8eJ.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-CjE9d5xT.js +0 -1
- package/dist/chunks/kimi-DEQcpJ4G.js +0 -1
- package/dist/client/assets/action-status-Bhz-cPG8.js.br +0 -0
- package/dist/client/assets/benchmark-panel-tGgecADe.js.br +0 -0
- package/dist/client/assets/boards-view-K94rwHMF.css.br +0 -0
- package/dist/client/assets/boards-view-QVprzKu-.js +0 -1
- package/dist/client/assets/boards-view-QVprzKu-.js.br +0 -0
- package/dist/client/assets/card-registry-CVH4inc9.js.br +0 -0
- package/dist/client/assets/community-panel-CzXlXOrz.js.br +0 -0
- package/dist/client/assets/control-ws-BmQVWzhh.js.br +0 -0
- package/dist/client/assets/dialogs-sAUl9yYW.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-CludYKF_.js.br +0 -0
- package/dist/client/assets/feature-hint-CtAG9vfo.js.br +0 -0
- package/dist/client/assets/first-run-checklist-B9sSd4Pt.js.br +0 -0
- package/dist/client/assets/hooks-panel-BI7ZxafZ.js.br +0 -0
- package/dist/client/assets/index-B00xeocV.js +0 -78
- package/dist/client/assets/index-B00xeocV.js.br +0 -0
- package/dist/client/assets/issues-panel-gWV2PiRa.js.br +0 -0
- package/dist/client/assets/my-prs-panel-CsrUMpp0.js.br +0 -0
- package/dist/client/assets/nyan-cat-DTYnyVrQ.js.br +0 -0
- package/dist/client/assets/phone-shell-qLY0YoPu.js.br +0 -0
- package/dist/client/assets/plan-face-BeROsjim.js.br +0 -0
- package/dist/client/assets/plan-render-BT27Mp4E.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-BMRLMnB-.js.br +0 -3
- package/dist/client/assets/radar-panel-BlpV9dOm.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-A97dxqMn.js.br +0 -0
- package/dist/client/assets/resume-dialog-Bbzxf5w_.js.br +0 -0
- package/dist/client/assets/review-queue-panel-CyehpcSK.js.br +0 -0
- package/dist/client/assets/settings-panel-Bzyo_vSO.js.br +0 -0
- package/dist/client/assets/shown-lightbox-Chu4J2_a.js.br +0 -0
- package/dist/client/assets/team-review-panel-D-nc_OBN.js.br +0 -0
- package/dist/client/assets/trace-panel-BIH-l7Vh.js.br +0 -0
- package/dist/client/assets/updates-view-core-DKwEmHEc.js +0 -1
- package/dist/client/assets/updates-view-core-DKwEmHEc.js.br +0 -0
- package/dist/client/assets/usage-panel-Cw93EBpx.js.br +0 -0
- package/dist/client/assets/your-day-tip-CQZdCe1Y.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-DfEHO6yE.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-CM13M4LR.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-BVViusp-.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-wABjgqSQ.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-CrON08Ez.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-DavG8mrh.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-DTuwrMom.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-Bp_kyHxd.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-Bp_kyHxd.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-BLRJxVUo.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-BcwKF3LW.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-wABjgqSQ.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-DtI-wjwl.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-wABjgqSQ.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-CEsBTu4n.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 { $t as shortSha$1, Zt as FULL_SHA_RE } from "./session-
|
|
3
|
+
import { $t as shortSha$1, Zt as FULL_SHA_RE } from "./session-DfEHO6yE.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-BK0Fo-7O.js";
|
|
6
|
+
import { o as supervisionLine } from "./session-routes-pUaEwCDP.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-DNddforI.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-H6m27UuP.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-Cp0OtZpT.js";
|
|
15
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-DvfHJLz8.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 +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-DFB-z_hW.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { X as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-
|
|
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 { X as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-DfEHO6yE.js";
|
|
2
|
+
import { Y as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-CM13M4LR.js";
|
|
3
|
+
import { i as formatSessionLimits } from "./session-routes-pUaEwCDP.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-dlVs6cW6.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import http from "node:http";
|
|
@@ -23,6 +23,11 @@ var PLAN_TITLE = "Plan";
|
|
|
23
23
|
var LINKED_BOARD_TEXT = "open linked board";
|
|
24
24
|
var PORT_RADIUS = 5;
|
|
25
25
|
var BAND_LABEL_BASELINE = 17;
|
|
26
|
+
var LOOP_BADGE_RADIUS = 6;
|
|
27
|
+
var LOOP_BADGE_INSET = 20;
|
|
28
|
+
var DECISION_POINT_INSET = 12;
|
|
29
|
+
var OUTPUT_LABEL_BASELINE_OFFSET = 4;
|
|
30
|
+
var OUTPUT_DOT_RADIUS = 3;
|
|
26
31
|
var STANDALONE_STYLE = `
|
|
27
32
|
svg { font-family: 'ComicMono', 'CommitMono', 'Cascadia Code', 'Menlo', monospace; }
|
|
28
33
|
.wb-backdrop { fill: #0d0b16; }
|
|
@@ -36,12 +41,18 @@ svg { font-family: 'ComicMono', 'CommitMono', 'Cascadia Code', 'Menlo', monospac
|
|
|
36
41
|
.wb-box-title { fill: #e6e0f5; font-size: 16px; font-weight: 700; }
|
|
37
42
|
.wb-box-line { fill: #e6e0f5; font-size: 12px; }
|
|
38
43
|
.wb-box-line.wb-muted { fill: #a79fc4; }
|
|
44
|
+
.wb-output-divider { stroke: #4a4268; stroke-width: 1; }
|
|
45
|
+
.wb-output-label { fill: #e6e0f5; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
|
|
46
|
+
.wb-output-dot { fill: #a79fc4; }
|
|
39
47
|
.wb-lane-pill { fill: transparent; stroke-width: 1.2; }
|
|
40
48
|
.wb-lane-pill-text { font-size: 12px; font-weight: 700; }
|
|
41
49
|
.wb-unit-outline { fill: #15122a; stroke: #c084fc; stroke-width: 1.6; }
|
|
42
50
|
.wb-unit-label, .wb-unit-link { fill: #c084fc; font-size: 12px; font-weight: 700; }
|
|
43
51
|
.wb-frame-outline { fill: rgba(192, 132, 252, 0.04); stroke: #4a4268; stroke-width: 1.4; stroke-dasharray: 10 6; }
|
|
44
52
|
.wb-frame-title { fill: #a79fc4; font-size: 12px; font-weight: 700; }
|
|
53
|
+
.wb-loop .wb-frame-outline { stroke: #c084fc; }
|
|
54
|
+
.wb-loop-badge { fill: none; stroke: #c084fc; stroke-width: 1.6; }
|
|
55
|
+
.wb-back .wb-wire-line { stroke: #c084fc; }
|
|
45
56
|
.wb-wire-hit, .wb-port { display: none; }
|
|
46
57
|
.wb-wire-line { fill: none; stroke: #a79fc4; stroke-width: 1.6; }
|
|
47
58
|
.wb-wire-line.wb-dashed { stroke-dasharray: 7 6; }
|
|
@@ -80,8 +91,42 @@ function elementGroup(element, className, children) {
|
|
|
80
91
|
function laneStroke(hex) {
|
|
81
92
|
return hex ? `stroke:${hex}` : null;
|
|
82
93
|
}
|
|
83
|
-
function
|
|
84
|
-
const
|
|
94
|
+
function decisionOutlinePath(box) {
|
|
95
|
+
const right = box.x + box.width;
|
|
96
|
+
const headerMidY = box.y + box.headerHeight / 2;
|
|
97
|
+
const top = `M${box.x + DECISION_POINT_INSET},${box.y} H${right - DECISION_POINT_INSET} L${right},${headerMidY}`;
|
|
98
|
+
if (box.outputs.length === 0) return `${top} L${right - DECISION_POINT_INSET},${box.y + box.height} H${box.x + DECISION_POINT_INSET} L${box.x},${headerMidY} Z`;
|
|
99
|
+
return `${top} V${box.y + box.height} H${box.x} V${headerMidY} Z`;
|
|
100
|
+
}
|
|
101
|
+
function outputRowsMarkup(box) {
|
|
102
|
+
return box.outputs.flatMap((output) => {
|
|
103
|
+
const rowHalfHeight = (box.height - box.headerHeight) / box.outputs.length / 2;
|
|
104
|
+
const rowTop = output.port.y - rowHalfHeight;
|
|
105
|
+
return [
|
|
106
|
+
tag("line", {
|
|
107
|
+
x1: box.x,
|
|
108
|
+
y1: rowTop,
|
|
109
|
+
x2: box.x + box.width,
|
|
110
|
+
y2: rowTop,
|
|
111
|
+
class: "wb-output-divider"
|
|
112
|
+
}),
|
|
113
|
+
text(output.label, box.x + BOX_TEXT_INSET, output.port.y + OUTPUT_LABEL_BASELINE_OFFSET, "wb-output-label"),
|
|
114
|
+
tag("circle", {
|
|
115
|
+
cx: output.port.x,
|
|
116
|
+
cy: output.port.y,
|
|
117
|
+
r: OUTPUT_DOT_RADIUS,
|
|
118
|
+
class: "wb-output-dot"
|
|
119
|
+
})
|
|
120
|
+
];
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function boxOutlineMarkup(box) {
|
|
124
|
+
if (box.shape === "decision") return tag("path", {
|
|
125
|
+
d: decisionOutlinePath(box),
|
|
126
|
+
class: "wb-box-outline",
|
|
127
|
+
style: laneStroke(box.lane?.hex)
|
|
128
|
+
});
|
|
129
|
+
return tag("rect", {
|
|
85
130
|
x: box.x,
|
|
86
131
|
y: box.y,
|
|
87
132
|
width: box.width,
|
|
@@ -89,7 +134,10 @@ function boxMarkup(box) {
|
|
|
89
134
|
rx: 8,
|
|
90
135
|
class: "wb-box-outline",
|
|
91
136
|
style: laneStroke(box.lane?.hex)
|
|
92
|
-
})
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
function boxMarkup(box) {
|
|
140
|
+
const parts = [boxOutlineMarkup(box), ...outputRowsMarkup(box)];
|
|
93
141
|
const midX = box.x + box.width / 2;
|
|
94
142
|
const midY = box.y + box.height / 2;
|
|
95
143
|
for (const [cx, cy] of [
|
|
@@ -112,7 +160,7 @@ function boxMarkup(box) {
|
|
|
112
160
|
parts.push(text(line.text, x, bodyTop + index * BODY_LINE_HEIGHT, line.muted ? "wb-box-line wb-muted" : "wb-box-line"));
|
|
113
161
|
});
|
|
114
162
|
if (box.lane && box.showsLanePill) {
|
|
115
|
-
const pillY = box.y + box.
|
|
163
|
+
const pillY = box.y + box.headerHeight - 28;
|
|
116
164
|
const pillWidth = Math.min(box.width - 24, 16 + box.lane.label.length * 8);
|
|
117
165
|
parts.push(tag("rect", {
|
|
118
166
|
x: box.x + BOX_TEXT_INSET,
|
|
@@ -126,15 +174,26 @@ function boxMarkup(box) {
|
|
|
126
174
|
}
|
|
127
175
|
return elementGroup(box, box.isGhost ? "wb-box wb-ghost" : "wb-box", parts);
|
|
128
176
|
}
|
|
177
|
+
function loopBadgeMarkup(frame) {
|
|
178
|
+
const centerX = frame.x + frame.width - LOOP_BADGE_INSET;
|
|
179
|
+
const centerY = frame.y + LOOP_BADGE_RADIUS + 6;
|
|
180
|
+
return tag("path", {
|
|
181
|
+
d: `M ${centerX + LOOP_BADGE_RADIUS} ${centerY} A ${LOOP_BADGE_RADIUS} ${LOOP_BADGE_RADIUS} 0 1 1 ${centerX} ${centerY - LOOP_BADGE_RADIUS}`,
|
|
182
|
+
"marker-end": "url(#wb-arrow)",
|
|
183
|
+
class: "wb-loop-badge"
|
|
184
|
+
});
|
|
185
|
+
}
|
|
129
186
|
function frameMarkup(frame) {
|
|
130
|
-
|
|
187
|
+
const parts = [tag("rect", {
|
|
131
188
|
x: frame.x,
|
|
132
189
|
y: frame.y,
|
|
133
190
|
width: frame.width,
|
|
134
191
|
height: frame.height,
|
|
135
192
|
rx: 12,
|
|
136
193
|
class: "wb-frame-outline"
|
|
137
|
-
}), text(frame.title, frame.x + 14, frame.y + 18, "wb-frame-title")]
|
|
194
|
+
}), text(frame.title, frame.x + 14, frame.y + 18, "wb-frame-title")];
|
|
195
|
+
if (frame.isLoop) parts.push(loopBadgeMarkup(frame));
|
|
196
|
+
return elementGroup(frame, frame.isLoop ? "wb-frame wb-loop" : "wb-frame", parts);
|
|
138
197
|
}
|
|
139
198
|
function wireMarkup(wire) {
|
|
140
199
|
const parts = [
|
|
@@ -162,7 +221,7 @@ function wireMarkup(wire) {
|
|
|
162
221
|
class: "wb-wire-dot"
|
|
163
222
|
}));
|
|
164
223
|
if (wire.label) parts.push(text(wire.label, wire.labelAt.x, wire.labelAt.y, "wb-wire-label"));
|
|
165
|
-
return elementGroup(wire, `wb-wire wb-tone-${wire.tone}`, parts);
|
|
224
|
+
return elementGroup(wire, wire.isBack ? `wb-wire wb-back wb-tone-${wire.tone}` : `wb-wire wb-tone-${wire.tone}`, parts);
|
|
166
225
|
}
|
|
167
226
|
function noteMarkup(note) {
|
|
168
227
|
const parts = [tag("rect", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, Z as WhiteboardAgentRequest, 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-
|
|
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, R as TASK_TITLE_CONTROL_CHARACTERS, Z as WhiteboardAgentRequest, 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-DfEHO6yE.js";
|
|
2
|
+
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-BK0Fo-7O.js";
|
|
3
|
+
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-pUaEwCDP.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-H6m27UuP.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-DfEHO6yE.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-BK0Fo-7O.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-BK0Fo-7O.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 LinkedPr, B as UnseenOutcome, E as SESSION_DOC_PATH_MAX_CHARS, Et as GithubReviewDecision, F as ShownFile, M as SessionDoc, N as SessionSnapshot, P as SessionState, Rt as TeamReviewActionRequest, St as CommitSha, U as BoardSummary, Ut as TeamReviewStatus, V as Board, Y as WHITEBOARD_LIMITS, Yt as hasRequiredActionHead, an as GithubPollingRefreshResult, at as MyPrKeepMergeableResult, bt as pullRequestKeyFormat, ct as MyPrMergeRequest, dt as MyPrMergeWhenReadyRequest, en as GH_SEGMENT, et as MyPr, ft as MyPrMergeWhenReadyResult, in as GithubPollingRefreshRequest, it as MyPrKeepMergeableRequest, jt as ReviewChecksState, lt as MyPrMergeResult, nn as REPO_SLUG_RE, on as GithubPrsFreshness, pt as MyPrSearchNode, q as Op, rn as repoParts, sn as githubPollingShape, vt as MyPrsStatus, x as CoherenceHooksState, xt as repositoryName, yt as SessionPrLinks, z as TaskTitle, zt as TeamReviewActionResult } from "./session-
|
|
1
|
+
import { $ as LinkedPr, B as UnseenOutcome, E as SESSION_DOC_PATH_MAX_CHARS, Et as GithubReviewDecision, F as ShownFile, M as SessionDoc, N as SessionSnapshot, P as SessionState, Rt as TeamReviewActionRequest, St as CommitSha, U as BoardSummary, Ut as TeamReviewStatus, V as Board, Y as WHITEBOARD_LIMITS, Yt as hasRequiredActionHead, an as GithubPollingRefreshResult, at as MyPrKeepMergeableResult, bt as pullRequestKeyFormat, ct as MyPrMergeRequest, dt as MyPrMergeWhenReadyRequest, en as GH_SEGMENT, et as MyPr, ft as MyPrMergeWhenReadyResult, in as GithubPollingRefreshRequest, it as MyPrKeepMergeableRequest, jt as ReviewChecksState, lt as MyPrMergeResult, nn as REPO_SLUG_RE, on as GithubPrsFreshness, pt as MyPrSearchNode, q as Op, rn as repoParts, sn as githubPollingShape, vt as MyPrsStatus, x as CoherenceHooksState, xt as repositoryName, yt as SessionPrLinks, z as TaskTitle, zt as TeamReviewActionResult } from "./session-DfEHO6yE.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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { c as loadConfigFile } from "./config-store-D60Ga3QG.js";
|
|
@@ -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-BK0Fo-7O.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-Cp0OtZpT.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -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-DNddforI.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-DvfHJLz8.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-DfEHO6yE.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-DNddforI.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 LinkedPr, $t as shortSha, A as SIGN_URL_ENV, At as PrDetail, Bt as TeamReviewCompareFiles, Ct as DECIDING_REVIEW_STATES, D as SESSION_NAME_PATTERN, Dt as GithubReviewState, F as ShownFile, Ft as ReviewResult, G as Frame, Gt as TeamReviewThreadResult, H as BoardRecord, Ht as TeamReviewStateEntry, It as ReviewThreadId, J as Unit, Jt as decisionAsIfApprovalRequired, K as Note, Kt as TeamReviewThreadsRepository, L as SshSignRequest, Lt as ReviewVerdict, Mt as ReviewComment, Nt as ReviewDraft, O as SESSION_NAME_RULE_TEXT, Ot as PostedReviewEvent, Pt as ReviewFinding, Q as Wire, Qt as HEX_SHA_RE, Rt as TeamReviewActionRequest, S as ConversationQuestion, St as CommitSha, T as SESSION_DOC_BODY_CAP_BYTES, Tt as FindingSeverity, Ut as TeamReviewStatus, Vt as TeamReviewResolveResponse, W as Box, Wt as TeamReviewThreadCommentsResponse, Xt as hasStandingViewerApproval, Y as WHITEBOARD_LIMITS, _ as COHERENCE_HOOKS_INACTIVE, _t as MyPrsState, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, cn as BADGE_LABELS, ct as MyPrMergeRequest, dn as RESTARTABLE_STATES, dt as MyPrMergeWhenReadyRequest, en as GH_SEGMENT, et as MyPr, fn as STATES, gt as MyPrsSnapshot, ht as MyPrThreadsResponse, i as ASK_USER_QUESTION_TOOL_NAME, it as MyPrKeepMergeableRequest, j as SSH_SIGN_BODY_CAP_BYTES, k as SHOWN_FILE_CAP_BYTES, kt as PostingPlan, ln as KILLABLE_STATES, mt as MyPrThreadNode, nn as REPO_SLUG_RE, nt as MyPrCheckContext, ot as MyPrLaneEntry, qt as canApproveAfterComment, r as AGENT_URL_ENV, rn as repoParts, rt as MyPrCheckContextsResponse, st as MyPrMergeMethod, tn as NODE_ID_RE, tt as MyPrAutoRebase, un as MERGEABLE_LIVE_STATES, ut as MyPrMergeStateResponse, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, wt as EarlierReview, y as CONVERSATION_PERMISSION_HOOK_EVENT, z as TaskTitle } from "./session-
|
|
6
|
+
import { $ as LinkedPr, $t as shortSha, A as SIGN_URL_ENV, At as PrDetail, Bt as TeamReviewCompareFiles, Ct as DECIDING_REVIEW_STATES, D as SESSION_NAME_PATTERN, Dt as GithubReviewState, F as ShownFile, Ft as ReviewResult, G as Frame, Gt as TeamReviewThreadResult, H as BoardRecord, Ht as TeamReviewStateEntry, It as ReviewThreadId, J as Unit, Jt as decisionAsIfApprovalRequired, K as Note, Kt as TeamReviewThreadsRepository, L as SshSignRequest, Lt as ReviewVerdict, Mt as ReviewComment, Nt as ReviewDraft, O as SESSION_NAME_RULE_TEXT, Ot as PostedReviewEvent, Pt as ReviewFinding, Q as Wire, Qt as HEX_SHA_RE, Rt as TeamReviewActionRequest, S as ConversationQuestion, St as CommitSha, T as SESSION_DOC_BODY_CAP_BYTES, Tt as FindingSeverity, Ut as TeamReviewStatus, Vt as TeamReviewResolveResponse, W as Box, Wt as TeamReviewThreadCommentsResponse, Xt as hasStandingViewerApproval, Y as WHITEBOARD_LIMITS, _ as COHERENCE_HOOKS_INACTIVE, _t as MyPrsState, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, cn as BADGE_LABELS, ct as MyPrMergeRequest, dn as RESTARTABLE_STATES, dt as MyPrMergeWhenReadyRequest, en as GH_SEGMENT, et as MyPr, fn as STATES, gt as MyPrsSnapshot, ht as MyPrThreadsResponse, i as ASK_USER_QUESTION_TOOL_NAME, it as MyPrKeepMergeableRequest, j as SSH_SIGN_BODY_CAP_BYTES, k as SHOWN_FILE_CAP_BYTES, kt as PostingPlan, ln as KILLABLE_STATES, mt as MyPrThreadNode, nn as REPO_SLUG_RE, nt as MyPrCheckContext, ot as MyPrLaneEntry, qt as canApproveAfterComment, r as AGENT_URL_ENV, rn as repoParts, rt as MyPrCheckContextsResponse, st as MyPrMergeMethod, tn as NODE_ID_RE, tt as MyPrAutoRebase, un as MERGEABLE_LIVE_STATES, ut as MyPrMergeStateResponse, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, wt as EarlierReview, y as CONVERSATION_PERMISSION_HOOK_EVENT, z as TaskTitle } from "./session-DfEHO6yE.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-BK0Fo-7O.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-CM13M4LR.js";
|
|
10
|
+
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-pUaEwCDP.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-dlVs6cW6.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-D60Ga3QG.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-Cp0OtZpT.js";
|
|
23
|
+
import { i as resolveArgvCommandMatches } from "./kimi-DvfHJLz8.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-CEsBTu4n.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-Cx9BNAtV.js";
|
|
29
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-DSYeQ0ib.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-BmSqvgN8.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";
|
|
@@ -3899,7 +3899,7 @@ function checkReferences(board, element) {
|
|
|
3899
3899
|
if (element.kind === "wire") {
|
|
3900
3900
|
if (!isBox(board, element.from)) return refuse(`wire ${element.id} starts at ${element.from}, which is not a box`);
|
|
3901
3901
|
if (!isBox(board, element.to)) return refuse(`wire ${element.id} ends at ${element.to}, which is not a box`);
|
|
3902
|
-
return
|
|
3902
|
+
return checkWireOutput(board, element);
|
|
3903
3903
|
}
|
|
3904
3904
|
if (element.kind === "note") {
|
|
3905
3905
|
if (!isBox(board, element.on)) return refuse(`note ${element.id} is on ${element.on}, which is not a box`);
|
|
@@ -3910,7 +3910,24 @@ function checkReferences(board, element) {
|
|
|
3910
3910
|
if (strangerId) return refuse(`frame ${element.id} contains ${strangerId}, which is not a box`);
|
|
3911
3911
|
return OK;
|
|
3912
3912
|
}
|
|
3913
|
+
function checkWireOutput(board, wire) {
|
|
3914
|
+
if (wire.fromOutput === null) return OK;
|
|
3915
|
+
const from = board.elements[wire.from];
|
|
3916
|
+
if (from?.kind !== "box" || from.shape !== "decision") return refuse(`wire ${wire.id} starts at output ${wire.fromOutput}, but ${wire.from} is not a decision`);
|
|
3917
|
+
if (!from.outputs.some((output) => output.id === wire.fromOutput)) return refuse(`wire ${wire.id} starts at output ${wire.fromOutput}, which decision ${wire.from} does not have`);
|
|
3918
|
+
return OK;
|
|
3919
|
+
}
|
|
3920
|
+
function checkBoxOutputs(board, box) {
|
|
3921
|
+
if (box.shape !== "decision" && box.outputs.length > 0) return refuse(`box ${box.id} has outputs, which only a decision has, so set shape to decision`);
|
|
3922
|
+
const outputIds = new Set(box.outputs.map((output) => output.id));
|
|
3923
|
+
if (outputIds.size !== box.outputs.length) return refuse(`box ${box.id} has two outputs with the same id`);
|
|
3924
|
+
const strandedWire = Object.values(board.elements).find((element) => element.kind === "wire" && element.from === box.id && element.fromOutput !== null && !outputIds.has(element.fromOutput));
|
|
3925
|
+
if (strandedWire?.kind === "wire") return refuse(`wire ${strandedWire.id} still starts at output ${strandedWire.fromOutput} of ${box.id}, so change or remove that wire first`);
|
|
3926
|
+
return OK;
|
|
3927
|
+
}
|
|
3913
3928
|
function checkBoxReferences(board, box) {
|
|
3929
|
+
const outputs = checkBoxOutputs(board, box);
|
|
3930
|
+
if (!outputs.ok) return outputs;
|
|
3914
3931
|
if (box.column === null && box.near === null && box.at === null) return refuse(`box ${box.id} needs a place: a column, near another box, or at a point`);
|
|
3915
3932
|
if (box.column !== null && !board.columns.some((column) => column.id === box.column)) return refuse(`box ${box.id} names column ${box.column}, which the board does not have, so add it with a columns op first`);
|
|
3916
3933
|
if (box.lane !== null && !board.lanes.some((lane) => lane.id === box.lane)) return refuse(`box ${box.id} names lane ${box.lane}, which the board does not have, so add it with a lanes op first`);
|
|
@@ -4333,9 +4350,11 @@ var PUT_GUIDE = [
|
|
|
4333
4350
|
"{\"op\":\"add\",\"element\":{\"kind\":\"box\",\"id\":\"parse\",\"title\":\"Parse\",\"column\":\"intake\",\"lane\":\"pr1\",\"lines\":[{\"text\":\"reads the feed\"},{\"text\":\"skips drafts\",\"muted\":true}]}},",
|
|
4334
4351
|
"{\"op\":\"add\",\"element\":{\"kind\":\"wire\",\"id\":\"w1\",\"from\":\"parse\",\"to\":\"store\",\"dashed\":true,\"label\":\"on retry\"}},",
|
|
4335
4352
|
"{\"op\":\"set\",\"id\":\"parse\",\"fields\":{\"title\":\"Parse feed\"}},{\"op\":\"remove\",\"id\":\"w1\"}]'.",
|
|
4336
|
-
"Element kinds: box (title, column, lane, near, at, lines, ghost, order), wire (from, to, dashed, tone plain|fail|join|lane, label), frame (title, contains), note (on, text), unit (title, lines, after, linkedBoardId).",
|
|
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).",
|
|
4337
4354
|
"Units lay out work in dependency order: glimmervoid whiteboard plan add|after|show edits and reads them.",
|
|
4338
4355
|
"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
|
+
"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
|
+
"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.",
|
|
4339
4358
|
"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.",
|
|
4340
4359
|
"glimmervoid whiteboard get <board> returns the board and a one-line summary of each change others made since this session last read it;",
|
|
4341
4360
|
"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-D60Ga3QG.js";
|
|
3
|
+
import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store-Cx9BNAtV.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-D60Ga3QG.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -922,6 +922,10 @@ var Near = z.object({
|
|
|
922
922
|
side: Side,
|
|
923
923
|
gap: z.number().int().min(0).max(400).default(60)
|
|
924
924
|
}).strict();
|
|
925
|
+
var Output = z.object({
|
|
926
|
+
id: ElementId,
|
|
927
|
+
label: z.string().min(1, { error: "an output needs a label" }).max(30, { error: "an output label is at most 30 characters" })
|
|
928
|
+
}).strict();
|
|
925
929
|
var Box = z.object({
|
|
926
930
|
kind: z.literal("box"),
|
|
927
931
|
id: ElementId,
|
|
@@ -932,19 +936,23 @@ var Box = z.object({
|
|
|
932
936
|
column: ElementId.nullable().default(null),
|
|
933
937
|
near: Near.nullable().default(null),
|
|
934
938
|
order: z.number().int().default(0),
|
|
935
|
-
at: Point.nullable().default(null)
|
|
939
|
+
at: Point.nullable().default(null),
|
|
940
|
+
shape: z.enum(["box", "decision"]).default("box"),
|
|
941
|
+
outputs: z.array(Output).max(8, { error: "a decision has at most 8 outputs" }).default([])
|
|
936
942
|
}).strict();
|
|
937
943
|
var Frame = z.object({
|
|
938
944
|
kind: z.literal("frame"),
|
|
939
945
|
id: ElementId,
|
|
940
946
|
title: Title,
|
|
941
|
-
contains: z.array(ElementId).min(1, { error: "a frame contains at least one box" })
|
|
947
|
+
contains: z.array(ElementId).min(1, { error: "a frame contains at least one box" }),
|
|
948
|
+
loop: z.boolean().default(false)
|
|
942
949
|
}).strict();
|
|
943
950
|
var Wire = z.object({
|
|
944
951
|
kind: z.literal("wire"),
|
|
945
952
|
id: ElementId,
|
|
946
953
|
from: ElementId,
|
|
947
954
|
to: ElementId,
|
|
955
|
+
fromOutput: ElementId.nullable().default(null),
|
|
948
956
|
dashed: z.boolean().default(false),
|
|
949
957
|
tone: z.enum([
|
|
950
958
|
"plain",
|
|
@@ -952,7 +960,10 @@ var Wire = z.object({
|
|
|
952
960
|
"join",
|
|
953
961
|
"lane"
|
|
954
962
|
]).default("plain"),
|
|
955
|
-
label: z.string().max(40, { error: "a wire label is at most 40 characters" }).nullable().default(null)
|
|
963
|
+
label: z.string().max(40, { error: "a wire label is at most 40 characters" }).nullable().default(null),
|
|
964
|
+
fromSide: Side.nullable().default(null),
|
|
965
|
+
toSide: Side.nullable().default(null),
|
|
966
|
+
back: z.boolean().default(false)
|
|
956
967
|
}).strict();
|
|
957
968
|
var Note = z.object({
|
|
958
969
|
kind: z.literal("note"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as SESSION_COMMANDS } from "./session-
|
|
1
|
+
import { w as SESSION_COMMANDS } from "./session-DfEHO6yE.js";
|
|
2
2
|
//#region session/core/session-routes.ts
|
|
3
3
|
var SUPERVISION_LINE = "Glimmervoid supervises this session. Run glimmervoid --help for the commands it gives you and this session's limits.";
|
|
4
4
|
var SPAWN_LINE = "To delegate work that edits files or runs long, use glimmervoid spawn rather than an in-process subagent: the spawned session gets its own dashboard card the operator can watch. An in-process subagent stays fine for a quick read-only lookup.";
|