glimmervoid 0.48.4-next.387 → 0.48.4-next.389
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/glimmervoid.js +16 -16
- package/dist/chunks/{adapters-BNh2OBuw.js → adapters-DUBAgJNX.js} +8 -8
- package/dist/chunks/{adapters-BquAyItK.js → adapters-igEBw_OX.js} +1 -1
- package/dist/chunks/{agent-api-cli-C3RBtnxc.js → agent-api-cli-B8A6VClE.js} +26 -9
- package/dist/chunks/{agent-api-cli-DHnfDocf.js → agent-api-cli-BJs-xXmv.js} +1 -1
- package/dist/chunks/{agent-api-core-RKdumDfb.js → agent-api-core-jq6vR13e.js} +3 -3
- package/dist/chunks/{agent-setup-cli-C_G5bqwU.js → agent-setup-cli-eVos7ynZ.js} +1 -1
- package/dist/chunks/{build-channel-f8mFWJa5.js → build-channel-BKm1gBwG.js} +2 -2
- package/dist/chunks/{commit-sessions-CFvS8wB_.js → commit-sessions-Cs-9V1qs.js} +1 -1
- package/dist/chunks/{config-DBtf-_XX.js → config-DIZ5SmjH.js} +1 -1
- package/dist/chunks/config-store-CZHJ-nSd.js +1 -0
- package/dist/chunks/{config-store-CdI_kVIv.js → config-store-IV04of10.js} +3 -3
- package/dist/chunks/{grok-D_GWIFFh.js → grok-DgType7c.js} +2 -2
- package/dist/chunks/kimi-BMl5Pn8g.js +1 -0
- package/dist/chunks/{kimi-BHC9nufJ.js → kimi-Cw59fBNw.js} +3 -3
- package/dist/chunks/{main-Dwu4VxtQ.js → main-rNa9a_gN.js} +98 -22
- package/dist/chunks/{pair-cli-C7BzJfzB.js → pair-cli-DgFZTzCl.js} +2 -2
- package/dist/chunks/{pairings-store-4Xo6rjkb.js → pairings-store-BgJT5Cct.js} +2 -2
- package/dist/chunks/runtime-paths-CKqE4LXP.js +1 -0
- package/dist/chunks/{runtime-paths-D_ZjJLE0.js → runtime-paths-CYwF658V.js} +16 -1
- package/dist/chunks/{session-pEBO6PNb.js → session-CMDu4xZJ.js} +11 -3
- package/dist/chunks/{session-routes-COZsWS6e.js → session-routes-DTbznjwQ.js} +1 -1
- package/dist/chunks/{settings-cli-D30owxN7.js → settings-cli-C4VqPLfL.js} +5 -5
- package/dist/chunks/{settings-readout-core-BnQMVFxu.js → settings-readout-core-zh8Uye_Z.js} +2 -2
- package/dist/chunks/{shown-files-core-C0_kJOF8.js → shown-files-core-C8rudyNn.js} +39 -5
- package/dist/chunks/{spawn-env-2vHSK7f2.js → spawn-env-BySQfWQ5.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-5G0aLtsT.js → ssh-sign-cli-BgUOh6q_.js} +2 -2
- package/dist/chunks/{why-cli-CKiM-sMe.js → why-cli-Bw7paxpA.js} +2 -2
- package/dist/client/assets/{action-status-BBueuleK.js → action-status-D9MbWvHM.js} +1 -1
- package/dist/client/assets/action-status-D9MbWvHM.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-B0eamlSl.js → benchmark-panel-CyCNJgoC.js} +1 -1
- package/dist/client/assets/benchmark-panel-CyCNJgoC.js.br +0 -0
- package/dist/client/assets/boards-view-BdTzafOO.css +1 -0
- package/dist/client/assets/boards-view-BdTzafOO.css.br +0 -0
- package/dist/client/assets/boards-view-cgtpxSSv.js +1 -0
- package/dist/client/assets/boards-view-cgtpxSSv.js.br +0 -0
- package/dist/client/assets/{card-registry-DezQj8KC.js → card-registry-DpM1fVL3.js} +1 -1
- package/dist/client/assets/card-registry-DpM1fVL3.js.br +0 -0
- package/dist/client/assets/{community-panel-Dxr64vbg.js → community-panel-CAFXWWU6.js} +1 -1
- package/dist/client/assets/community-panel-CAFXWWU6.js.br +0 -0
- package/dist/client/assets/{control-ws-D8h3yN6r.js → control-ws-BlKr7EBT.js} +1 -1
- package/dist/client/assets/control-ws-BlKr7EBT.js.br +0 -0
- package/dist/client/assets/{dialogs-Btj1E9Fk.js → dialogs-BWTvUXHR.js} +1 -1
- package/dist/client/assets/dialogs-BWTvUXHR.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-CZT23uEw.js → doc-editor-ui-BgAtkLJY.js} +1 -1
- package/dist/client/assets/doc-editor-ui-BgAtkLJY.js.br +0 -0
- package/dist/client/assets/{feature-hint-Blzhn4iF.js → feature-hint-BIUslwoK.js} +1 -1
- package/dist/client/assets/feature-hint-BIUslwoK.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-BB3EpOd8.js → first-run-checklist-ZAbW9af9.js} +1 -1
- package/dist/client/assets/first-run-checklist-ZAbW9af9.js.br +0 -0
- package/dist/client/assets/{hooks-panel-BGXLUVGX.js → hooks-panel-DXIPKz6N.js} +1 -1
- package/dist/client/assets/hooks-panel-DXIPKz6N.js.br +0 -0
- package/dist/client/assets/index-KdnP-QRl.js +78 -0
- package/dist/client/assets/index-KdnP-QRl.js.br +0 -0
- package/dist/client/assets/{issues-panel-U2iMQ0tn.js → issues-panel-EXM-4Y0I.js} +1 -1
- package/dist/client/assets/issues-panel-EXM-4Y0I.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-kaT2SXDt.js → my-prs-panel-88jojlPl.js} +1 -1
- package/dist/client/assets/my-prs-panel-88jojlPl.js.br +0 -0
- package/dist/client/assets/{nyan-cat-UdNZLFcd.js → nyan-cat-Bb6kKUUt.js} +1 -1
- package/dist/client/assets/nyan-cat-Bb6kKUUt.js.br +0 -0
- package/dist/client/assets/{phone-shell-J18KxLi0.js → phone-shell-BCSmLjZB.js} +1 -1
- package/dist/client/assets/phone-shell-BCSmLjZB.js.br +0 -0
- package/dist/client/assets/{plan-face-Dd05a3E6.js → plan-face-XclxPb1c.js} +1 -1
- package/dist/client/assets/plan-face-XclxPb1c.js.br +0 -0
- package/dist/client/assets/{plan-render-CvGiozsV.js → plan-render-DeTcut57.js} +1 -1
- package/dist/client/assets/plan-render-DeTcut57.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-CHcu2c8J.js → pr-queue-columns-DD5ctJU_.js} +1 -1
- package/dist/client/assets/pr-queue-columns-DD5ctJU_.js.br +0 -0
- package/dist/client/assets/{radar-panel-CwNAziuN.js → radar-panel-CB__n4kR.js} +1 -1
- package/dist/client/assets/radar-panel-CB__n4kR.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-Bxz4rZU9.js → repo-roots-adder-CV7YSM4P.js} +1 -1
- package/dist/client/assets/repo-roots-adder-CV7YSM4P.js.br +0 -0
- package/dist/client/assets/{resume-dialog-BTV7nczq.js → resume-dialog-Bta9BbV3.js} +1 -1
- package/dist/client/assets/resume-dialog-Bta9BbV3.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-DYYHPrjv.js → review-queue-panel-C53V1GCH.js} +1 -1
- package/dist/client/assets/review-queue-panel-C53V1GCH.js.br +0 -0
- package/dist/client/assets/{session-tick-BXdWB_z5.js → session-tick-JcLeWKuF.js} +1 -1
- package/dist/client/assets/{settings-panel-Cu-LsitN.js → settings-panel-DCaQmhIn.js} +2 -2
- package/dist/client/assets/settings-panel-DCaQmhIn.js.br +0 -0
- package/dist/client/assets/{shown-lightbox-BcKBUhVM.js → shown-lightbox-BtppukqJ.js} +1 -1
- package/dist/client/assets/shown-lightbox-BtppukqJ.js.br +0 -0
- package/dist/client/assets/{team-review-panel-C_sNcKxx.js → team-review-panel-DGXaCUjZ.js} +6 -6
- package/dist/client/assets/team-review-panel-DGXaCUjZ.js.br +0 -0
- package/dist/client/assets/{trace-panel-CexcED3q.js → trace-panel-DVwqxnUl.js} +1 -1
- package/dist/client/assets/trace-panel-DVwqxnUl.js.br +0 -0
- package/dist/client/assets/updates-view-core-DxgAYYQw.js +1 -0
- package/dist/client/assets/updates-view-core-DxgAYYQw.js.br +0 -0
- package/dist/client/assets/{usage-panel-BMKveI_X.js → usage-panel-CdHSQgVh.js} +1 -1
- package/dist/client/assets/usage-panel-CdHSQgVh.js.br +0 -0
- package/dist/client/assets/{your-day-tip-BZmfGCvB.js → your-day-tip-B79jMHdP.js} +1 -1
- package/dist/client/assets/your-day-tip-B79jMHdP.js.br +0 -0
- package/dist/client/index.html +6 -6
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +2 -2
- package/package.json +3 -1
- package/dist/chunks/config-store-BGbVjEFs.js +0 -1
- package/dist/chunks/kimi-D0JvCB6e.js +0 -1
- package/dist/chunks/runtime-paths-DUfaYypN.js +0 -1
- package/dist/client/assets/action-status-BBueuleK.js.br +0 -0
- package/dist/client/assets/benchmark-panel-B0eamlSl.js.br +0 -0
- package/dist/client/assets/boards-view-DXC6Frg-.js +0 -1
- package/dist/client/assets/boards-view-DXC6Frg-.js.br +0 -0
- package/dist/client/assets/boards-view-l_RyF93Y.css +0 -1
- package/dist/client/assets/boards-view-l_RyF93Y.css.br +0 -0
- package/dist/client/assets/card-registry-DezQj8KC.js.br +0 -0
- package/dist/client/assets/community-panel-Dxr64vbg.js.br +0 -0
- package/dist/client/assets/control-ws-D8h3yN6r.js.br +0 -0
- package/dist/client/assets/dialogs-Btj1E9Fk.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-CZT23uEw.js.br +0 -0
- package/dist/client/assets/feature-hint-Blzhn4iF.js.br +0 -0
- package/dist/client/assets/first-run-checklist-BB3EpOd8.js.br +0 -0
- package/dist/client/assets/hooks-panel-BGXLUVGX.js.br +0 -0
- package/dist/client/assets/index-CqNgGGvW.js +0 -78
- package/dist/client/assets/index-CqNgGGvW.js.br +0 -0
- package/dist/client/assets/issues-panel-U2iMQ0tn.js.br +0 -0
- package/dist/client/assets/my-prs-panel-kaT2SXDt.js.br +0 -0
- package/dist/client/assets/nyan-cat-UdNZLFcd.js.br +0 -0
- package/dist/client/assets/phone-shell-J18KxLi0.js.br +0 -0
- package/dist/client/assets/plan-face-Dd05a3E6.js.br +0 -0
- package/dist/client/assets/plan-render-CvGiozsV.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-CHcu2c8J.js.br +0 -0
- package/dist/client/assets/radar-panel-CwNAziuN.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-Bxz4rZU9.js.br +0 -0
- package/dist/client/assets/resume-dialog-BTV7nczq.js.br +0 -0
- package/dist/client/assets/review-queue-panel-DYYHPrjv.js.br +0 -0
- package/dist/client/assets/settings-panel-Cu-LsitN.js.br +0 -0
- package/dist/client/assets/shown-lightbox-BcKBUhVM.js.br +0 -0
- package/dist/client/assets/team-review-panel-C_sNcKxx.js.br +0 -0
- package/dist/client/assets/trace-panel-CexcED3q.js.br +0 -0
- package/dist/client/assets/updates-view-core-DLFtqt2r.js +0 -1
- package/dist/client/assets/updates-view-core-DLFtqt2r.js.br +0 -0
- package/dist/client/assets/usage-panel-BMKveI_X.js.br +0 -0
- package/dist/client/assets/your-day-tip-BZmfGCvB.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { i as nodePtyRebuildHint, t as probeNodePty } from "../chunks/node-pty-preflight-CQNBCDVM.js";
|
|
3
3
|
import { t as firstLine } from "../chunks/text-core-rXHoQWP9.js";
|
|
4
4
|
import { i as errorText } from "../chunks/text-DoirglWV.js";
|
|
5
|
-
import { a as packageRoot } from "../chunks/runtime-paths-
|
|
5
|
+
import { a as packageRoot } from "../chunks/runtime-paths-CYwF658V.js";
|
|
6
6
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DUWk0Lui.js";
|
|
7
|
-
import { t as AGENT_API_VERBS } from "../chunks/session-
|
|
7
|
+
import { t as AGENT_API_VERBS } from "../chunks/session-CMDu4xZJ.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-jq6vR13e.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-DgFZTzCl.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-eVos7ynZ.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-C4VqPLfL.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-Bw7paxpA.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-BgUOh6q_.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-BJs-xXmv.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-BJs-xXmv.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-CZHJ-nSd.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-igEBw_OX.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-eVos7ynZ.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-BMl5Pn8g.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()));
|
|
@@ -272,9 +272,9 @@ async function runDoctor() {
|
|
|
272
272
|
}
|
|
273
273
|
switchSection("Sane YOLO");
|
|
274
274
|
try {
|
|
275
|
-
const { resolvePackageBin } = await import("../chunks/runtime-paths-
|
|
275
|
+
const { resolvePackageBin } = await import("../chunks/runtime-paths-CKqE4LXP.js");
|
|
276
276
|
const { execFileSync } = await import("../chunks/child-process-safe-BKjzSEYd.js");
|
|
277
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
277
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-eVos7ynZ.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,18 +1,18 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { d as isPathInside, o as relayPath } from "./runtime-paths-CYwF658V.js";
|
|
3
|
+
import { $t as FULL_SHA_RE, tn as shortSha$1 } from "./session-CMDu4xZJ.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-DIZ5SmjH.js";
|
|
6
|
+
import { o as supervisionLine } from "./session-routes-DTbznjwQ.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-BySQfWQ5.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-DgType7c.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-BKm1gBwG.js";
|
|
15
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-Cw59fBNw.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 { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-
|
|
1
|
+
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-DUBAgJNX.js";
|
|
@@ -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 { Q as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-CMDu4xZJ.js";
|
|
2
|
+
import { Y as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-jq6vR13e.js";
|
|
3
|
+
import { i as formatSessionLimits } from "./session-routes-DTbznjwQ.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 {
|
|
6
|
+
import { d as layoutBoard, p as planSteps, r as describeOverCap, u as escapeMarkup } from "./shown-files-core-C8rudyNn.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import http from "node:http";
|
|
@@ -41,8 +41,13 @@ svg { font-family: 'ComicMono', 'CommitMono', 'Cascadia Code', 'Menlo', monospac
|
|
|
41
41
|
.wb-band-rule { stroke: #2a2440; stroke-width: 1; }
|
|
42
42
|
.wb-band-label { font-size: 12px; font-weight: 700; }
|
|
43
43
|
.wb-box-outline { fill: #15122a; stroke: #a79fc4; stroke-width: 1.6; }
|
|
44
|
-
.wb-
|
|
45
|
-
.wb-
|
|
44
|
+
.wb-change-added .wb-box-outline { stroke: #22c55e; stroke-dasharray: 7 5; }
|
|
45
|
+
.wb-change-removed { opacity: 0.6; }
|
|
46
|
+
.wb-change-removed .wb-box-outline { fill: transparent; stroke: #ef4444; stroke-dasharray: 7 5; }
|
|
47
|
+
.wb-change-removed .wb-box-title { text-decoration: line-through; }
|
|
48
|
+
.wb-change-relabeled .wb-box-outline { stroke: #f5c26b; }
|
|
49
|
+
.wb-box-was { fill: #a79fc4; font-size: 16px; text-decoration: line-through; }
|
|
50
|
+
.wb-legend-swatch.wb-box-outline { stroke-width: 1.6; }
|
|
46
51
|
.wb-box-title { fill: #e6e0f5; font-size: 16px; font-weight: 700; }
|
|
47
52
|
.wb-box-line { fill: #e6e0f5; font-size: 12px; }
|
|
48
53
|
.wb-box-line.wb-muted { fill: #a79fc4; }
|
|
@@ -214,10 +219,14 @@ function boxMarkup(box) {
|
|
|
214
219
|
r: PORT_RADIUS,
|
|
215
220
|
class: "wb-port"
|
|
216
221
|
}));
|
|
222
|
+
box.wasLines.forEach((line, index) => {
|
|
223
|
+
parts.push(text(line, box.x + BOX_TEXT_INSET, box.y + TITLE_BASELINE + index * TITLE_LINE_HEIGHT, "wb-box-was"));
|
|
224
|
+
});
|
|
225
|
+
const titleTop = box.y + TITLE_BASELINE + box.wasLines.length * TITLE_LINE_HEIGHT;
|
|
217
226
|
box.titleLines.forEach((line, index) => {
|
|
218
|
-
parts.push(text(line, box.x + BOX_TEXT_INSET,
|
|
227
|
+
parts.push(text(line, box.x + BOX_TEXT_INSET, titleTop + index * TITLE_LINE_HEIGHT, "wb-box-title"));
|
|
219
228
|
});
|
|
220
|
-
const bodyTop =
|
|
229
|
+
const bodyTop = titleTop + box.titleLines.length * TITLE_LINE_HEIGHT;
|
|
221
230
|
parts.push(...bodyLinesMarkup(box.bodyLines, box.x, box.width, bodyTop));
|
|
222
231
|
if (box.lane && box.showsLanePill) {
|
|
223
232
|
const pillY = box.y + box.headerHeight - 28;
|
|
@@ -232,7 +241,7 @@ function boxMarkup(box) {
|
|
|
232
241
|
style: laneStroke(box.lane.hex)
|
|
233
242
|
}), text(box.lane.label, box.x + BOX_TEXT_INSET + 8, pillY + 13, "wb-lane-pill-text", { style: `fill:${box.lane.hex}` }));
|
|
234
243
|
}
|
|
235
|
-
return elementGroup(box, box.
|
|
244
|
+
return elementGroup(box, box.change === "none" ? "wb-box" : `wb-box wb-change-${box.change}`, parts);
|
|
236
245
|
}
|
|
237
246
|
function loopBadgeMarkup(frame) {
|
|
238
247
|
const centerX = frame.x + frame.width - LOOP_BADGE_INSET;
|
|
@@ -374,6 +383,14 @@ function legendSwatchMarkup(entry) {
|
|
|
374
383
|
class: "wb-legend-swatch",
|
|
375
384
|
style: `fill:${swatch.hex}`
|
|
376
385
|
});
|
|
386
|
+
if (swatch.kind === "change") return tag("g", { class: `wb-change-${swatch.change}` }, tag("rect", {
|
|
387
|
+
x: entry.x,
|
|
388
|
+
y: entry.y,
|
|
389
|
+
width: LEGEND_SAMPLE_WIDTH,
|
|
390
|
+
height: 14,
|
|
391
|
+
rx: 3,
|
|
392
|
+
class: "wb-legend-swatch wb-box-outline"
|
|
393
|
+
}));
|
|
377
394
|
const sample = tag("path", {
|
|
378
395
|
d: `M${entry.x},${entry.y + 7} H${entry.x + LEGEND_SAMPLE_WIDTH}`,
|
|
379
396
|
"marker-end": "url(#wb-arrow)",
|
|
@@ -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-B8A6VClE.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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 { $ as WhiteboardAgentRequest, C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, a as AgentAnswerRequest, c as AgentEditRequest, d as AgentReadRequest, f as AgentReviewsRequest, g as AgentSpawnRequest, h as AgentSettingsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, p as AgentSendRequest, s as AgentCloseRequest, t as AGENT_API_VERBS, u as AgentPullRequestRequest } from "./session-CMDu4xZJ.js";
|
|
2
|
+
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-DIZ5SmjH.js";
|
|
3
|
+
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-DTbznjwQ.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-DgType7c.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-CMDu4xZJ.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-DIZ5SmjH.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-DIZ5SmjH.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 { B as UnseenOutcome, Bt as
|
|
1
|
+
import { B as UnseenOutcome, Bt as TeamReviewActionRequest, Ct as repositoryName, E as SESSION_DOC_PATH_MAX_CHARS, F as ShownFile, Gt as TeamReviewStatus, H as Board, J as Op, M as SessionDoc, N as SessionSnapshot, Nt as ReviewChecksState, Ot as GithubReviewDecision, P as SessionState, St as pullRequestKeyFormat, Vt as TeamReviewActionResult, W as BoardSummary, Z as WHITEBOARD_LIMITS, Zt as hasRequiredActionHead, an as repoParts, bt as MyPrsStatus, cn as GithubPrsFreshness, dt as MyPrMergeResult, ht as MyPrSearchNode, in as REPO_SLUG_RE, ln as githubPollingShape, mt as MyPrMergeWhenReadyResult, nn as GH_SEGMENT, nt as MyPr, on as GithubPollingRefreshRequest, ot as MyPrKeepMergeableRequest, pt as MyPrMergeWhenReadyRequest, sn as GithubPollingRefreshResult, st as MyPrKeepMergeableResult, tt as LinkedPr, ut as MyPrMergeRequest, wt as CommitSha, x as CoherenceHooksState, xt as SessionPrLinks, z as TaskTitle } from "./session-CMDu4xZJ.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-IV04of10.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { a as packageRoot,
|
|
2
|
+
import { a as packageRoot, u as equalsIgnoringCaseOnWindows } from "./runtime-paths-CYwF658V.js";
|
|
3
3
|
import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
4
|
-
import { $ 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-DIZ5SmjH.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-BKm1gBwG.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
|
-
import { o as relayPath } from "./runtime-paths-
|
|
2
|
+
import { o as relayPath } from "./runtime-paths-CYwF658V.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-BySQfWQ5.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-Cw59fBNw.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as relayPath } from "./runtime-paths-
|
|
2
|
-
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-
|
|
1
|
+
import { o as relayPath } from "./runtime-paths-CYwF658V.js";
|
|
2
|
+
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-CMDu4xZJ.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-BySQfWQ5.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";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as requireExecutableSpawnHelper } from "./node-pty-preflight-CQNBCDVM.js";
|
|
2
2
|
import { n as sanitizeOneLine, r as showHomeAsTilde, t as firstLine$1 } from "./text-core-rXHoQWP9.js";
|
|
3
3
|
import { a as isMissingFileError, r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
|
|
4
|
-
import { a as packageRoot, c as
|
|
4
|
+
import { a as packageRoot, c as resolvePackageBin, d as isPathInside, f as safePathSegment, i as clientDir, l as caseFoldedPathKey, n as bundled, o as relayPath, p as sanitizeWorktreeName, r as cliPath, s as resolveFfmpegPath, t as assetRoot, u as equalsIgnoringCaseOnWindows } from "./runtime-paths-CYwF658V.js";
|
|
5
5
|
import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
6
|
-
import {
|
|
6
|
+
import { A as SIGN_URL_ENV, At as PostedReviewEvent, Bt as TeamReviewActionRequest, D as SESSION_NAME_PATTERN, Dt as FindingSeverity, Et as EarlierReview, F as ShownFile, Ft as ReviewDraft, G as Box, Gt as TeamReviewStatus, Ht as TeamReviewCompareFiles, It as ReviewFinding, Jt as TeamReviewThreadsRepository, K as Frame, Kt as TeamReviewThreadCommentsResponse, L as SshSignRequest, Lt as ReviewResult, Mt as PrDetail, O as SESSION_NAME_RULE_TEXT, Pt as ReviewComment, Qt as hasStandingViewerApproval, Rt as ReviewThreadId, S as ConversationQuestion, T as SESSION_DOC_BODY_CAP_BYTES, Tt as DECIDING_REVIEW_STATES, U as BoardRecord, Ut as TeamReviewResolveResponse, Wt as TeamReviewStateEntry, X as Unit, Xt as decisionAsIfApprovalRequired, Y as Panel, Yt as canApproveAfterComment, Z as WHITEBOARD_LIMITS, _ as COHERENCE_HOOKS_INACTIVE, _t as MyPrThreadsResponse, an as repoParts, at as MyPrCheckContextsResponse, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, ct as MyPrLaneEntry, dn as KILLABLE_STATES, en as HEX_SHA_RE, et as Wire, fn as MERGEABLE_LIVE_STATES, ft as MyPrMergeStateResponse, gt as MyPrThreadNode, i as ASK_USER_QUESTION_TOOL_NAME, in as REPO_SLUG_RE, it as MyPrCheckContext, j as SSH_SIGN_BODY_CAP_BYTES, jt as PostingPlan, k as SHOWN_FILE_CAP_BYTES, kt as GithubReviewState, lt as MyPrMergeMethod, mn as STATES, nn as GH_SEGMENT, nt as MyPr, ot as MyPrKeepMergeableRequest, pn as RESTARTABLE_STATES, pt as MyPrMergeWhenReadyRequest, q as Note, qt as TeamReviewThreadResult, r as AGENT_URL_ENV, rn as NODE_ID_RE, rt as MyPrAutoRebase, tn as shortSha, tt as LinkedPr, un as BADGE_LABELS, ut as MyPrMergeRequest, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, vt as MyPrsSnapshot, wt as CommitSha, y as CONVERSATION_PERMISSION_HOOK_EVENT, yt as MyPrsState, z as TaskTitle, zt as ReviewVerdict } from "./session-CMDu4xZJ.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-DIZ5SmjH.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-jq6vR13e.js";
|
|
10
|
+
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-DTbznjwQ.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
|
|
18
|
+
import { a as readPageTitle, c as thumbnailOwnerIdOf, d as layoutBoard, f as findDependencyCycle, i as filesAfterRetention, l as thumbnailRecipeFor, m as unitsOf, n as decideShownKind, o as shownMimeForFilename, r as describeOverCap, s as thumbnailFilenameOf, t as SHOWN_SNIFF_BYTES, u as escapeMarkup } from "./shown-files-core-C8rudyNn.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-IV04of10.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-BKm1gBwG.js";
|
|
23
|
+
import { i as resolveArgvCommandMatches } from "./kimi-Cw59fBNw.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-DUBAgJNX.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-BgJT5Cct.js";
|
|
29
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-zh8Uye_Z.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-Cs-9V1qs.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";
|
|
@@ -3947,6 +3947,7 @@ function checkBoxOutputs(board, box) {
|
|
|
3947
3947
|
function checkBoxReferences(board, box) {
|
|
3948
3948
|
const outputs = checkBoxOutputs(board, box);
|
|
3949
3949
|
if (!outputs.ok) return outputs;
|
|
3950
|
+
if (box.change === "relabeled" && !box.was) return refuse(`box ${box.id} is relabeled, so give its old title in was`);
|
|
3950
3951
|
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`);
|
|
3951
3952
|
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`);
|
|
3952
3953
|
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`);
|
|
@@ -4372,10 +4373,11 @@ var PUT_GUIDE = [
|
|
|
4372
4373
|
"{\"op\":\"add\",\"element\":{\"kind\":\"box\",\"id\":\"parse\",\"title\":\"Parse\",\"column\":\"intake\",\"lane\":\"pr1\",\"lines\":[{\"text\":\"reads the feed\"},{\"text\":\"skips drafts\",\"muted\":true}]}},",
|
|
4373
4374
|
"{\"op\":\"add\",\"element\":{\"kind\":\"wire\",\"id\":\"w1\",\"from\":\"parse\",\"to\":\"store\",\"dashed\":true,\"label\":\"on retry\"}},",
|
|
4374
4375
|
"{\"op\":\"set\",\"id\":\"parse\",\"fields\":{\"title\":\"Parse feed\"}},{\"op\":\"remove\",\"id\":\"w1\"}]'.",
|
|
4375
|
-
"Element kinds: box (title, column, lane, near, at, lines,
|
|
4376
|
+
"Element kinds: box (title, column, lane, near, at, lines, change none|added|removed|relabeled, was, 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.",
|
|
4376
4377
|
"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.",
|
|
4377
4378
|
"Units lay out work in dependency order: glimmervoid whiteboard plan add|after|show edits and reads them.",
|
|
4378
4379
|
"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.",
|
|
4380
|
+
"Mark what a change does to a box with change: added and removed for parts it brings or takes away, relabeled with was set to the old title for a rename.",
|
|
4379
4381
|
"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.",
|
|
4380
4382
|
"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.",
|
|
4381
4383
|
"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.",
|
|
@@ -41836,6 +41838,51 @@ function createTraceChangeBroadcast({ source, broadcast, setTimeoutFunction = se
|
|
|
41836
41838
|
return { stop };
|
|
41837
41839
|
}
|
|
41838
41840
|
//#endregion
|
|
41841
|
+
//#region server/session/shown-thumbnails.ts
|
|
41842
|
+
var VIDEO_POSTER_TIMEOUT_MS = 15e3;
|
|
41843
|
+
var THUMBNAIL_WEBP_QUALITY = 80;
|
|
41844
|
+
async function writeImageThumbnail(sourcePath, thumbnailPath) {
|
|
41845
|
+
const { default: sharp } = await import("sharp");
|
|
41846
|
+
await sharp(sourcePath, { animated: false }).resize(320, 320, {
|
|
41847
|
+
fit: "inside",
|
|
41848
|
+
withoutEnlargement: true
|
|
41849
|
+
}).webp({ quality: THUMBNAIL_WEBP_QUALITY }).toFile(thumbnailPath);
|
|
41850
|
+
}
|
|
41851
|
+
async function writeVideoPoster(sourcePath, thumbnailPath) {
|
|
41852
|
+
const ffmpegPath = resolveFfmpegPath();
|
|
41853
|
+
if (!ffmpegPath) throw new Error("ffmpeg-static has no binary for this platform");
|
|
41854
|
+
await execFileAsync(ffmpegPath, [
|
|
41855
|
+
"-v",
|
|
41856
|
+
"error",
|
|
41857
|
+
"-i",
|
|
41858
|
+
sourcePath,
|
|
41859
|
+
"-frames:v",
|
|
41860
|
+
"1",
|
|
41861
|
+
"-vf",
|
|
41862
|
+
`scale='min(320,iw)':'min(320,ih)':force_original_aspect_ratio=decrease`,
|
|
41863
|
+
"-c:v",
|
|
41864
|
+
"libwebp",
|
|
41865
|
+
"-quality",
|
|
41866
|
+
String(THUMBNAIL_WEBP_QUALITY),
|
|
41867
|
+
"-y",
|
|
41868
|
+
thumbnailPath
|
|
41869
|
+
], { timeout: VIDEO_POSTER_TIMEOUT_MS });
|
|
41870
|
+
}
|
|
41871
|
+
var THUMBNAIL_WRITERS = {
|
|
41872
|
+
image: writeImageThumbnail,
|
|
41873
|
+
"video-poster": writeVideoPoster
|
|
41874
|
+
};
|
|
41875
|
+
async function makeShownThumbnail(recipe, sourcePath, thumbnailPath) {
|
|
41876
|
+
if (recipe === "none") return false;
|
|
41877
|
+
try {
|
|
41878
|
+
await THUMBNAIL_WRITERS[recipe](sourcePath, thumbnailPath);
|
|
41879
|
+
return true;
|
|
41880
|
+
} catch {
|
|
41881
|
+
await fs$1.unlink(thumbnailPath).catch(() => {});
|
|
41882
|
+
return false;
|
|
41883
|
+
}
|
|
41884
|
+
}
|
|
41885
|
+
//#endregion
|
|
41839
41886
|
//#region server/session/shown-files-wiring.ts
|
|
41840
41887
|
var SHOWN_FOLDER_NAME = "shown";
|
|
41841
41888
|
var INDEX_FILENAME = "index.json";
|
|
@@ -41865,6 +41912,7 @@ async function writeSessionIndex(indexPath, files) {
|
|
|
41865
41912
|
function createShownFilesWiring({ shownRoot, broadcastControl, now = Date.now }) {
|
|
41866
41913
|
const filesBySessionId = /* @__PURE__ */ new Map();
|
|
41867
41914
|
const indexQueue = createKeyedSerialQueue();
|
|
41915
|
+
const thumbnailSizeByPath = /* @__PURE__ */ new Map();
|
|
41868
41916
|
function sessionDir(sessionId) {
|
|
41869
41917
|
return path.join(shownRoot, sessionId);
|
|
41870
41918
|
}
|
|
@@ -41874,8 +41922,15 @@ function createShownFilesWiring({ shownRoot, broadcastControl, now = Date.now })
|
|
|
41874
41922
|
if (!isSafePathSegment(sessionId)) continue;
|
|
41875
41923
|
const files = await readSessionIndex(path.join(sessionDir(sessionId), INDEX_FILENAME));
|
|
41876
41924
|
if (files.length > 0 && !filesBySessionId.has(sessionId)) filesBySessionId.set(sessionId, files);
|
|
41925
|
+
for (const file of files) if (file.hasThumbnail) await recordThumbnailSize(path.join(sessionDir(sessionId), thumbnailFilenameOf(file.id)));
|
|
41877
41926
|
}
|
|
41878
41927
|
}
|
|
41928
|
+
async function recordThumbnailSize(thumbnailPath) {
|
|
41929
|
+
const stats = await fs$1.stat(thumbnailPath).catch(() => null);
|
|
41930
|
+
if (!stats) return false;
|
|
41931
|
+
thumbnailSizeByPath.set(thumbnailPath, stats.size);
|
|
41932
|
+
return true;
|
|
41933
|
+
}
|
|
41879
41934
|
async function reserveIncomingPath(sessionId) {
|
|
41880
41935
|
const dir = sessionDir(sessionId);
|
|
41881
41936
|
await fs$1.mkdir(dir, {
|
|
@@ -41894,7 +41949,9 @@ function createShownFilesWiring({ shownRoot, broadcastControl, now = Date.now })
|
|
|
41894
41949
|
const kept = filesAfterRetention(withNewest, droppedIds);
|
|
41895
41950
|
await writeSessionIndex(path.join(dir, INDEX_FILENAME), kept);
|
|
41896
41951
|
filesBySessionId.set(sessionId, kept);
|
|
41897
|
-
|
|
41952
|
+
const droppedFilenames = droppedIds.flatMap((droppedId) => [droppedId, thumbnailFilenameOf(droppedId)]);
|
|
41953
|
+
for (const droppedId of droppedIds) thumbnailSizeByPath.delete(path.join(dir, thumbnailFilenameOf(droppedId)));
|
|
41954
|
+
await Promise.all(droppedFilenames.map((droppedFilename) => fs$1.unlink(path.join(dir, droppedFilename)).catch(() => {})));
|
|
41898
41955
|
}
|
|
41899
41956
|
async function admit(session, arrival) {
|
|
41900
41957
|
const firstChunk = await readFirstChunk(arrival.incomingPath);
|
|
@@ -41913,7 +41970,10 @@ function createShownFilesWiring({ shownRoot, broadcastControl, now = Date.now })
|
|
|
41913
41970
|
randomSuffix: crypto.randomBytes(4).toString("hex"),
|
|
41914
41971
|
extension: verdict.extension
|
|
41915
41972
|
});
|
|
41916
|
-
|
|
41973
|
+
const storedPath = path.join(sessionDir(session.id), fileId);
|
|
41974
|
+
await fs$1.rename(arrival.incomingPath, storedPath);
|
|
41975
|
+
const thumbnailPath = path.join(sessionDir(session.id), thumbnailFilenameOf(fileId));
|
|
41976
|
+
const hasThumbnail = await makeShownThumbnail(thumbnailRecipeFor(verdict.kind), storedPath, thumbnailPath) && await recordThumbnailSize(thumbnailPath);
|
|
41917
41977
|
const file = {
|
|
41918
41978
|
id: fileId,
|
|
41919
41979
|
name: arrival.name,
|
|
@@ -41922,7 +41982,8 @@ function createShownFilesWiring({ shownRoot, broadcastControl, now = Date.now })
|
|
|
41922
41982
|
mime: verdict.mime,
|
|
41923
41983
|
sizeBytes: arrival.sizeBytes,
|
|
41924
41984
|
pageTitle: verdict.kind === "page" ? readPageTitle(firstChunk) : null,
|
|
41925
|
-
shownAt
|
|
41985
|
+
shownAt,
|
|
41986
|
+
hasThumbnail
|
|
41926
41987
|
};
|
|
41927
41988
|
await indexQueue.run(session.id, () => recordAdmitted(session.id, file));
|
|
41928
41989
|
broadcastControl({
|
|
@@ -41935,17 +41996,32 @@ function createShownFilesWiring({ shownRoot, broadcastControl, now = Date.now })
|
|
|
41935
41996
|
file
|
|
41936
41997
|
};
|
|
41937
41998
|
}
|
|
41938
|
-
function findServable(sessionId,
|
|
41939
|
-
if (!isSafePathSegment(sessionId) || !isSafePathSegment(
|
|
41940
|
-
const
|
|
41941
|
-
|
|
41999
|
+
function findServable(sessionId, filename) {
|
|
42000
|
+
if (!isSafePathSegment(sessionId) || !isSafePathSegment(filename)) return null;
|
|
42001
|
+
const thumbnailOwnerId = thumbnailOwnerIdOf(filename);
|
|
42002
|
+
if (thumbnailOwnerId !== null) return findServableThumbnail(sessionId, thumbnailOwnerId, filename);
|
|
42003
|
+
const file = filesBySessionId.get(sessionId)?.find((shown) => shown.id === filename);
|
|
42004
|
+
const mime = shownMimeForFilename(filename);
|
|
41942
42005
|
if (!file || !mime) return null;
|
|
41943
42006
|
return {
|
|
41944
|
-
path: path.join(sessionDir(sessionId),
|
|
42007
|
+
path: path.join(sessionDir(sessionId), filename),
|
|
41945
42008
|
mime,
|
|
41946
42009
|
sizeBytes: file.sizeBytes
|
|
41947
42010
|
};
|
|
41948
42011
|
}
|
|
42012
|
+
function findServableThumbnail(sessionId, ownerId, filename) {
|
|
42013
|
+
const owner = filesBySessionId.get(sessionId)?.find((shown) => shown.id === ownerId);
|
|
42014
|
+
const mime = shownMimeForFilename(filename);
|
|
42015
|
+
if (!owner?.hasThumbnail || !mime) return null;
|
|
42016
|
+
const thumbnailPath = path.join(sessionDir(sessionId), filename);
|
|
42017
|
+
const sizeBytes = thumbnailSizeByPath.get(thumbnailPath);
|
|
42018
|
+
if (sizeBytes === void 0) return null;
|
|
42019
|
+
return {
|
|
42020
|
+
path: thumbnailPath,
|
|
42021
|
+
mime,
|
|
42022
|
+
sizeBytes
|
|
42023
|
+
};
|
|
42024
|
+
}
|
|
41949
42025
|
function snapshotMessage() {
|
|
41950
42026
|
return {
|
|
41951
42027
|
type: "session-shown-snapshot",
|
|
@@ -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-IV04of10.js";
|
|
3
|
+
import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store-BgJT5Cct.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
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { u as equalsIgnoringCaseOnWindows } from "./runtime-paths-CYwF658V.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-AKRVPqG1.js";
|
|
5
|
-
import { 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-IV04of10.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { c as resolvePackageBin } from "./runtime-paths-CYwF658V.js";
|