glimmervoid 0.48.4-next.347 → 0.48.4-next.348
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 +13 -13
- package/dist/chunks/{adapters-CqIiC4wy.js → adapters-B47g1uBI.js} +1 -1
- package/dist/chunks/{adapters-D3A-v_38.js → adapters-lD0EO5bK.js} +7 -7
- package/dist/chunks/{agent-api-cli-CC5UBJ2s.js → agent-api-cli-CBm0QA1p.js} +130 -4
- package/dist/chunks/{agent-api-cli-w8p3TM5U.js → agent-api-cli-DkVhPYuM.js} +1 -1
- package/dist/chunks/{agent-api-core-B4dswEWq.js → agent-api-core-D_f8pw2Q.js} +58 -5
- package/dist/chunks/{agent-setup-cli-BKmMokta.js → agent-setup-cli-CgjdTtDl.js} +1 -1
- package/dist/chunks/{build-channel-DzwSAk14.js → build-channel-CCRC9F60.js} +2 -2
- package/dist/chunks/{config-VQsMVZIQ.js → config-BWa_HecL.js} +1 -1
- package/dist/chunks/config-store-BUckLoDP.js +1 -0
- package/dist/chunks/{config-store-CShBORR1.js → config-store-D8bzPCxK.js} +2 -2
- package/dist/chunks/{grok-BKgSFzBi.js → grok-Dnbs7V9T.js} +1 -1
- package/dist/chunks/{kimi-D9tvTcda.js → kimi-DGnMgNsj.js} +2 -2
- package/dist/chunks/kimi-GVihxAiR.js +1 -0
- package/dist/chunks/{main-CIv1KpwZ.js → main-DVq5LLD2.js} +77 -15
- package/dist/chunks/{pair-cli-SoQE_iE3.js → pair-cli-CkRuFX6c.js} +2 -2
- package/dist/chunks/{remote-config-CZtuA1zc.js → remote-config-BTgp5KoH.js} +1 -1
- package/dist/chunks/{session-Disk6UCW.js → session-CmkfJxzB.js} +16 -4
- package/dist/chunks/{session-routes-DgjC1v_s.js → session-routes-CgqWd0bR.js} +1 -1
- package/dist/chunks/{settings-cli-DEH7vB4p.js → settings-cli-BqIXNngN.js} +5 -5
- package/dist/chunks/{settings-readout-core-C9idkO4T.js → settings-readout-core-Bl5TqUnb.js} +2 -2
- package/dist/chunks/{shown-files-core-CQXipC3W.js → shown-files-core-D6dE97vA.js} +80 -2
- package/dist/chunks/{spawn-env-DGiSmxnR.js → spawn-env-CV-vkj60.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-B2VR82P7.js → ssh-sign-cli-Dlhu1bbp.js} +2 -2
- package/dist/client/assets/{action-status-DN2GDs7f.js → action-status-pHVg6Bgs.js} +1 -1
- package/dist/client/assets/action-status-pHVg6Bgs.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-DF0MuvaO.js → benchmark-panel-Ciz7js8s.js} +1 -1
- package/dist/client/assets/benchmark-panel-Ciz7js8s.js.br +0 -0
- package/dist/client/assets/{boards-view-MUucO49O.js → boards-view-CwsoX0Fp.js} +1 -1
- package/dist/client/assets/boards-view-CwsoX0Fp.js.br +0 -0
- package/dist/client/assets/{card-registry-BB1ieZuJ.js → card-registry-s8eOzqNh.js} +1 -1
- package/dist/client/assets/card-registry-s8eOzqNh.js.br +0 -0
- package/dist/client/assets/{community-panel-DrhjEKbT.js → community-panel-DTCifWrQ.js} +1 -1
- package/dist/client/assets/community-panel-DTCifWrQ.js.br +0 -0
- package/dist/client/assets/{control-ws-mJyFaLSl.js → control-ws-DCUjVE8E.js} +1 -1
- package/dist/client/assets/control-ws-DCUjVE8E.js.br +0 -0
- package/dist/client/assets/{dialogs-L2PjYO-M.js → dialogs-fB0q3Mw5.js} +1 -1
- package/dist/client/assets/dialogs-fB0q3Mw5.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-l3mHrh7o.js → doc-editor-ui-nIsqImec.js} +1 -1
- package/dist/client/assets/doc-editor-ui-nIsqImec.js.br +0 -0
- package/dist/client/assets/{feature-hint-BbzVfbyp.js → feature-hint-Bhd5_Z27.js} +1 -1
- package/dist/client/assets/feature-hint-Bhd5_Z27.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-sH_xfIDa.js → first-run-checklist-DeL-kJfo.js} +1 -1
- package/dist/client/assets/first-run-checklist-DeL-kJfo.js.br +0 -0
- package/dist/client/assets/{hooks-panel-CyVbgk10.js → hooks-panel-DZq_y-H3.js} +1 -1
- package/dist/client/assets/hooks-panel-DZq_y-H3.js.br +0 -0
- package/dist/client/assets/index-DGWfOWbg.js +78 -0
- package/dist/client/assets/index-DGWfOWbg.js.br +0 -0
- package/dist/client/assets/{issues-panel--Krm01rC.js → issues-panel-YakGSPFx.js} +1 -1
- package/dist/client/assets/issues-panel-YakGSPFx.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-SVqjDQgF.js → my-prs-panel-BQikaa9-.js} +1 -1
- package/dist/client/assets/my-prs-panel-BQikaa9-.js.br +0 -0
- package/dist/client/assets/{nyan-cat-BolWyVr8.js → nyan-cat-BVE2CPSX.js} +1 -1
- package/dist/client/assets/nyan-cat-BVE2CPSX.js.br +0 -0
- package/dist/client/assets/{phone-shell-CySaNt4c.js → phone-shell-BKsNat_r.js} +1 -1
- package/dist/client/assets/phone-shell-BKsNat_r.js.br +0 -0
- package/dist/client/assets/{plan-face-OZtTupoL.js → plan-face-BtSGYLjh.js} +2 -2
- package/dist/client/assets/plan-face-BtSGYLjh.js.br +0 -0
- package/dist/client/assets/{plan-render-CZ0wGdfR.js → plan-render-NNoaguFz.js} +1 -1
- package/dist/client/assets/plan-render-NNoaguFz.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-72Z28yop.js → pr-queue-columns-qUMKDjRP.js} +1 -1
- package/dist/client/assets/pr-queue-columns-qUMKDjRP.js.br +0 -0
- package/dist/client/assets/{radar-panel-CpvHkRNN.js → radar-panel-DoPArxKC.js} +1 -1
- package/dist/client/assets/radar-panel-DoPArxKC.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-6vKjgmqk.js → repo-roots-adder-qKpzQsSZ.js} +1 -1
- package/dist/client/assets/repo-roots-adder-qKpzQsSZ.js.br +0 -0
- package/dist/client/assets/{resume-dialog-T0zNAvy-.js → resume-dialog-C--Qlh5J.js} +1 -1
- package/dist/client/assets/resume-dialog-C--Qlh5J.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-BgWF78jF.js → review-queue-panel-CeVppKwO.js} +1 -1
- package/dist/client/assets/review-queue-panel-CeVppKwO.js.br +0 -0
- package/dist/client/assets/{session-tick-C8B6gywP.js → session-tick-KFF-EmmX.js} +1 -1
- package/dist/client/assets/settings-panel-JQ7KOjQ2.js +4 -0
- package/dist/client/assets/settings-panel-JQ7KOjQ2.js.br +0 -0
- package/dist/client/assets/{shown-lightbox-MioRE0LI.js → shown-lightbox-CBLpQjGy.js} +1 -1
- package/dist/client/assets/shown-lightbox-CBLpQjGy.js.br +0 -0
- package/dist/client/assets/{team-review-panel-CACb9XAy.js → team-review-panel-D-Xww7bD.js} +6 -6
- package/dist/client/assets/team-review-panel-D-Xww7bD.js.br +0 -0
- package/dist/client/assets/{trace-panel-BgI-NKtc.js → trace-panel-D1WFW_3t.js} +1 -1
- package/dist/client/assets/trace-panel-D1WFW_3t.js.br +0 -0
- package/dist/client/assets/updates-view-core-haJSbqvx.js +1 -0
- package/dist/client/assets/updates-view-core-haJSbqvx.js.br +0 -0
- package/dist/client/assets/{usage-panel-Ca4TAVTh.js → usage-panel-Dv_NXrwG.js} +1 -1
- package/dist/client/assets/usage-panel-Dv_NXrwG.js.br +0 -0
- package/dist/client/assets/{your-day-tip-DdOA3aTL.js → your-day-tip-BAjRvSAk.js} +1 -1
- package/dist/client/assets/your-day-tip-BAjRvSAk.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-DEkwz-6k.js +0 -1
- package/dist/chunks/kimi-Cm2sK8Tx.js +0 -1
- package/dist/client/assets/action-status-DN2GDs7f.js.br +0 -0
- package/dist/client/assets/benchmark-panel-DF0MuvaO.js.br +0 -0
- package/dist/client/assets/boards-view-MUucO49O.js.br +0 -0
- package/dist/client/assets/card-registry-BB1ieZuJ.js.br +0 -0
- package/dist/client/assets/community-panel-DrhjEKbT.js.br +0 -0
- package/dist/client/assets/control-ws-mJyFaLSl.js.br +0 -0
- package/dist/client/assets/dialogs-L2PjYO-M.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-l3mHrh7o.js.br +0 -0
- package/dist/client/assets/feature-hint-BbzVfbyp.js.br +0 -0
- package/dist/client/assets/first-run-checklist-sH_xfIDa.js.br +0 -0
- package/dist/client/assets/hooks-panel-CyVbgk10.js.br +0 -0
- package/dist/client/assets/index-DTfdKfJe.js +0 -78
- package/dist/client/assets/index-DTfdKfJe.js.br +0 -0
- package/dist/client/assets/issues-panel--Krm01rC.js.br +0 -0
- package/dist/client/assets/my-prs-panel-SVqjDQgF.js.br +0 -0
- package/dist/client/assets/nyan-cat-BolWyVr8.js.br +0 -0
- package/dist/client/assets/phone-shell-CySaNt4c.js.br +0 -0
- package/dist/client/assets/plan-face-OZtTupoL.js.br +0 -0
- package/dist/client/assets/plan-render-CZ0wGdfR.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-72Z28yop.js.br +0 -0
- package/dist/client/assets/radar-panel-CpvHkRNN.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-6vKjgmqk.js.br +0 -0
- package/dist/client/assets/resume-dialog-T0zNAvy-.js.br +0 -0
- package/dist/client/assets/review-queue-panel-BgWF78jF.js.br +0 -0
- package/dist/client/assets/settings-panel-BiUkVE56.js +0 -4
- package/dist/client/assets/settings-panel-BiUkVE56.js.br +0 -0
- package/dist/client/assets/shown-lightbox-MioRE0LI.js.br +0 -0
- package/dist/client/assets/team-review-panel-CACb9XAy.js.br +0 -0
- package/dist/client/assets/trace-panel-BgI-NKtc.js.br +0 -0
- package/dist/client/assets/updates-view-core-DiTFcS0H.js +0 -1
- package/dist/client/assets/updates-view-core-DiTFcS0H.js.br +0 -0
- package/dist/client/assets/usage-panel-Ca4TAVTh.js.br +0 -0
- package/dist/client/assets/your-day-tip-DdOA3aTL.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -3,9 +3,9 @@ import { r as firstLine, s as nodePtyRebuildHint, t as probeNodePty } from "../c
|
|
|
3
3
|
import { i as errorText } from "../chunks/text-DoirglWV.js";
|
|
4
4
|
import { a as packageRoot } from "../chunks/runtime-paths-D_ZjJLE0.js";
|
|
5
5
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DUWk0Lui.js";
|
|
6
|
-
import { t as AGENT_API_VERBS } from "../chunks/session-
|
|
6
|
+
import { t as AGENT_API_VERBS } from "../chunks/session-CmkfJxzB.js";
|
|
7
7
|
import { a as execSync } from "../chunks/child-process-safe-BCOoKfxG.js";
|
|
8
|
-
import { J as isOwnedCommandName, Y as parseCommand, q as OWNED_COMMAND_SPECS, r as agentCommandHelpLines } from "../chunks/agent-api-core-
|
|
8
|
+
import { J as isOwnedCommandName, Y as parseCommand, q as OWNED_COMMAND_SPECS, r as agentCommandHelpLines } from "../chunks/agent-api-core-D_f8pw2Q.js";
|
|
9
9
|
import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
|
|
10
10
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-xS1GFU8P.js";
|
|
11
11
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
@@ -61,7 +61,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
61
61
|
return await runDoctor() ? 0 : 1;
|
|
62
62
|
},
|
|
63
63
|
pair: async ({ values }) => {
|
|
64
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
64
|
+
const { runPairCli } = await import("../chunks/pair-cli-CkRuFX6c.js");
|
|
65
65
|
return runPairCli({
|
|
66
66
|
isListing: values.list === true,
|
|
67
67
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -69,15 +69,15 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
69
69
|
});
|
|
70
70
|
},
|
|
71
71
|
agent: async () => {
|
|
72
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
72
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-CgjdTtDl.js");
|
|
73
73
|
return runAgentSetupCli();
|
|
74
74
|
},
|
|
75
75
|
settings: async (parsed) => {
|
|
76
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
76
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-BqIXNngN.js");
|
|
77
77
|
return runParsedSettingsCli(parsed);
|
|
78
78
|
},
|
|
79
79
|
"ssh-sign": async ({ rawArgs }) => {
|
|
80
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
80
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-Dlhu1bbp.js");
|
|
81
81
|
return runSshSignCli(rawArgs);
|
|
82
82
|
}
|
|
83
83
|
};
|
|
@@ -99,7 +99,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
99
99
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
100
100
|
}
|
|
101
101
|
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) => {
|
|
102
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
102
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-DkVhPYuM.js");
|
|
103
103
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
104
104
|
}])]);
|
|
105
105
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -113,7 +113,7 @@ function missingAgentText(agentId) {
|
|
|
113
113
|
}
|
|
114
114
|
async function printSessionLimits() {
|
|
115
115
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
116
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
116
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-DkVhPYuM.js");
|
|
117
117
|
const limitsLines = await sessionLimitsHelpLines();
|
|
118
118
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
119
119
|
}
|
|
@@ -170,7 +170,7 @@ async function readDeclaredCustomAgents() {
|
|
|
170
170
|
declared: [],
|
|
171
171
|
error: null
|
|
172
172
|
};
|
|
173
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
173
|
+
const { loadConfigFile } = await import("../chunks/config-store-BUckLoDP.js");
|
|
174
174
|
try {
|
|
175
175
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
176
176
|
if (!loaded.config) return {
|
|
@@ -246,7 +246,7 @@ async function runDoctor() {
|
|
|
246
246
|
}
|
|
247
247
|
switchSection("Agents");
|
|
248
248
|
try {
|
|
249
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
249
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-B47g1uBI.js");
|
|
250
250
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
251
251
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
252
252
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -254,10 +254,10 @@ async function runDoctor() {
|
|
|
254
254
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
255
255
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
256
256
|
}
|
|
257
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
257
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CgjdTtDl.js");
|
|
258
258
|
const grokSetup = inspectGrokAgentSetup();
|
|
259
259
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
260
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
260
|
+
const { default: kimi } = await import("../chunks/kimi-GVihxAiR.js");
|
|
261
261
|
const { describeAgentHome } = await import("../chunks/agent-home-Bg2CwnwX.js");
|
|
262
262
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-CgoT45SE.js");
|
|
263
263
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
@@ -268,7 +268,7 @@ async function runDoctor() {
|
|
|
268
268
|
try {
|
|
269
269
|
const { resolvePackageBin } = await import("../chunks/runtime-paths-DUfaYypN.js");
|
|
270
270
|
const { execFileSync } = await import("../chunks/child-process-safe-BKjzSEYd.js");
|
|
271
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
271
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CgjdTtDl.js");
|
|
272
272
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
273
273
|
line("Sane YOLO", binPath || "not installed");
|
|
274
274
|
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-lD0EO5bK.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { o as relayPath, u as isPathInside } from "./runtime-paths-D_ZjJLE0.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $t as shortSha$1, Zt as FULL_SHA_RE } from "./session-CmkfJxzB.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-BWa_HecL.js";
|
|
6
|
+
import { o as supervisionLine } from "./session-routes-CgqWd0bR.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-CV-vkj60.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-Dnbs7V9T.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-CCRC9F60.js";
|
|
15
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-DGnMgNsj.js";
|
|
16
16
|
import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-DgW3orTE.js";
|
|
17
17
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-BzANIIVe.js";
|
|
18
18
|
import fs from "node:fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { 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-CmkfJxzB.js";
|
|
2
|
+
import { Y as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-D_f8pw2Q.js";
|
|
3
|
+
import { i as formatSessionLimits } from "./session-routes-CgqWd0bR.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 { r as describeOverCap } from "./shown-files-core-
|
|
6
|
+
import { c as planSteps, r as describeOverCap } from "./shown-files-core-D6dE97vA.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import http from "node:http";
|
|
@@ -285,6 +285,131 @@ async function runShowCommand(parsed) {
|
|
|
285
285
|
}));
|
|
286
286
|
return 0;
|
|
287
287
|
}
|
|
288
|
+
var MAX_UNIT_ID_LENGTH = 40;
|
|
289
|
+
function unitIdFromTitle(title) {
|
|
290
|
+
return title.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+/, "").slice(0, MAX_UNIT_ID_LENGTH).replace(/-+$/, "") || "unit";
|
|
291
|
+
}
|
|
292
|
+
function commaSeparatedIds(text) {
|
|
293
|
+
if (typeof text !== "string") return [];
|
|
294
|
+
return text.split(",").map((id) => id.trim()).filter(Boolean);
|
|
295
|
+
}
|
|
296
|
+
async function askWhiteboard(body) {
|
|
297
|
+
const reply = await askAgentApi("whiteboard", body);
|
|
298
|
+
const parsed = WhiteboardAgentReply.safeParse(reply);
|
|
299
|
+
if (parsed.success) return parsed.data;
|
|
300
|
+
const error = typeof reply === "object" && reply !== null ? reply.error : null;
|
|
301
|
+
return typeof error === "string" ? error : "Glimmervoid gave no usable answer";
|
|
302
|
+
}
|
|
303
|
+
async function listBoards() {
|
|
304
|
+
const reply = await askWhiteboard({ sub: "list" });
|
|
305
|
+
if (typeof reply === "string") return reply;
|
|
306
|
+
return "boards" in reply ? reply.boards : "Glimmervoid did not list the boards";
|
|
307
|
+
}
|
|
308
|
+
async function resolveLinkedBoardId(ref) {
|
|
309
|
+
const boards = await listBoards();
|
|
310
|
+
if (typeof boards === "string") return { error: boards };
|
|
311
|
+
const byId = boards.find((board) => board.id === ref);
|
|
312
|
+
if (byId) return { boardId: byId.id };
|
|
313
|
+
const byTitle = boards.filter((board) => board.title.toLowerCase() === ref.trim().toLowerCase());
|
|
314
|
+
if (byTitle.length === 1 && byTitle[0]) return { boardId: byTitle[0].id };
|
|
315
|
+
if (byTitle.length > 1) return { error: `${byTitle.length} boards are titled "${ref}", so link it by id` };
|
|
316
|
+
return { error: `no board is called ${ref}, so run glimmervoid whiteboard list to see the boards` };
|
|
317
|
+
}
|
|
318
|
+
async function putPlanOps(boardRef, ops, doneText) {
|
|
319
|
+
const reply = await askWhiteboard({
|
|
320
|
+
sub: "put",
|
|
321
|
+
board: boardRef,
|
|
322
|
+
ops
|
|
323
|
+
});
|
|
324
|
+
if (typeof reply === "string") return {
|
|
325
|
+
ok: false,
|
|
326
|
+
text: reply
|
|
327
|
+
};
|
|
328
|
+
return {
|
|
329
|
+
ok: true,
|
|
330
|
+
text: doneText
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
async function addUnit({ values, positionals }, boardRef) {
|
|
334
|
+
const title = joinedText(positionals.slice(1));
|
|
335
|
+
const unitId = typeof values.id === "string" ? values.id : unitIdFromTitle(title);
|
|
336
|
+
const linkRef = typeof values.link === "string" ? values.link : null;
|
|
337
|
+
const link = linkRef === null ? { boardId: null } : await resolveLinkedBoardId(linkRef);
|
|
338
|
+
if ("error" in link) return {
|
|
339
|
+
ok: false,
|
|
340
|
+
text: link.error
|
|
341
|
+
};
|
|
342
|
+
return putPlanOps(boardRef, [{
|
|
343
|
+
op: "add",
|
|
344
|
+
element: {
|
|
345
|
+
kind: "unit",
|
|
346
|
+
id: unitId,
|
|
347
|
+
title,
|
|
348
|
+
lines: [],
|
|
349
|
+
after: commaSeparatedIds(values.after),
|
|
350
|
+
linkedBoardId: link.boardId
|
|
351
|
+
}
|
|
352
|
+
}], `added unit ${unitId} "${title}"; run glimmervoid whiteboard plan show ${boardRef} for the order`);
|
|
353
|
+
}
|
|
354
|
+
function setUnitAfter(boardRef, unitId, afterIds) {
|
|
355
|
+
return putPlanOps(boardRef, [{
|
|
356
|
+
op: "set",
|
|
357
|
+
id: unitId,
|
|
358
|
+
fields: { after: afterIds }
|
|
359
|
+
}], afterIds.length === 0 ? `${unitId} now comes after nothing` : `${unitId} now comes after ${afterIds.join(", ")}`);
|
|
360
|
+
}
|
|
361
|
+
function formatPlan(board, boards, changes) {
|
|
362
|
+
const steps = planSteps(board);
|
|
363
|
+
if (steps.length === 0) return `Board "${board.title}" has no plan yet; add a unit with glimmervoid whiteboard plan add ${board.id} <title>`;
|
|
364
|
+
const titleById = new Map(boards.map((summary) => [summary.id, summary.title]));
|
|
365
|
+
const labelWidth = Math.max(...steps.map((step) => step.label.length));
|
|
366
|
+
const idWidth = Math.max(...steps.map((step) => step.unitId.length));
|
|
367
|
+
const lines = [`Plan on "${board.title}" (${steps.length} ${steps.length === 1 ? "unit" : "units"})`];
|
|
368
|
+
for (const step of steps) {
|
|
369
|
+
const after = step.afterLabels.length > 0 ? ` after ${step.afterLabels.join(", ")}` : "";
|
|
370
|
+
const link = step.linkedBoardId === null ? "" : ` board "${titleById.get(step.linkedBoardId) ?? step.linkedBoardId}"`;
|
|
371
|
+
lines.push(`${step.label.padEnd(labelWidth)} ${step.unitId.padEnd(idWidth)} ${step.title}${after}${link}`);
|
|
372
|
+
}
|
|
373
|
+
if (changes.length > 0) lines.push("", "Changes since this session last read the board:", ...changes.map((change) => `- ${change.summary}`));
|
|
374
|
+
return lines.join("\n");
|
|
375
|
+
}
|
|
376
|
+
async function showPlan(boardRef) {
|
|
377
|
+
const reply = await askWhiteboard({
|
|
378
|
+
sub: "get",
|
|
379
|
+
board: boardRef
|
|
380
|
+
});
|
|
381
|
+
if (typeof reply === "string") return {
|
|
382
|
+
ok: false,
|
|
383
|
+
text: reply
|
|
384
|
+
};
|
|
385
|
+
if (!("changes" in reply)) return {
|
|
386
|
+
ok: false,
|
|
387
|
+
text: "Glimmervoid did not return the board"
|
|
388
|
+
};
|
|
389
|
+
const boards = await listBoards();
|
|
390
|
+
return {
|
|
391
|
+
ok: true,
|
|
392
|
+
text: formatPlan(reply.board, typeof boards === "string" ? [] : boards, reply.changes)
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
function runPlanAction(parsed, boardRef) {
|
|
396
|
+
const action = parsed.commandPath[2];
|
|
397
|
+
if (action === "add") return addUnit(parsed, boardRef);
|
|
398
|
+
if (action === "after") return setUnitAfter(boardRef, parsed.positionals[1] ?? "", parsed.positionals.slice(2));
|
|
399
|
+
return showPlan(boardRef);
|
|
400
|
+
}
|
|
401
|
+
async function runPlanCommand(parsed) {
|
|
402
|
+
const reply = await runPlanAction(parsed, parsed.commandPath[2] === "show" ? joinedText(parsed.positionals) : parsed.positionals[0] ?? "");
|
|
403
|
+
if (!reply.ok) {
|
|
404
|
+
console.log(JSON.stringify({
|
|
405
|
+
ok: false,
|
|
406
|
+
error: reply.text
|
|
407
|
+
}));
|
|
408
|
+
return 1;
|
|
409
|
+
}
|
|
410
|
+
console.log(reply.text);
|
|
411
|
+
return 0;
|
|
412
|
+
}
|
|
288
413
|
async function runAgentApiCli(args) {
|
|
289
414
|
const verb = args[0];
|
|
290
415
|
if (!verb || !isAgentApiVerb(verb)) {
|
|
@@ -301,6 +426,7 @@ async function runAgentApiCli(args) {
|
|
|
301
426
|
return 1;
|
|
302
427
|
}
|
|
303
428
|
if (verb === "show") return runShowCommand(parsed);
|
|
429
|
+
if (verb === "whiteboard" && parsed.commandPath[1] === "plan") return runPlanCommand(parsed);
|
|
304
430
|
const body = BODY_BUILDERS[verb](parsed);
|
|
305
431
|
if (!body) {
|
|
306
432
|
console.error(`glimmervoid ${parsed.commandPath.join(" ")}: ${AGENT_COMMAND_HELP[verb].missingArgumentHint ?? "those arguments are not understood"}; run it with --help for its usage`);
|
|
@@ -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-CBm0QA1p.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS,
|
|
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-CmkfJxzB.js";
|
|
2
|
+
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-BWa_HecL.js";
|
|
3
|
+
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-CgqWd0bR.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { parseArgs } from "node:util";
|
|
6
6
|
import crypto from "node:crypto";
|
|
@@ -1082,6 +1082,53 @@ function optionalText(usage) {
|
|
|
1082
1082
|
};
|
|
1083
1083
|
}
|
|
1084
1084
|
var BOARD_REFERENCE = requiredText("<board>");
|
|
1085
|
+
var PLAN_SUBCOMMANDS = [
|
|
1086
|
+
{
|
|
1087
|
+
name: "add",
|
|
1088
|
+
summary: "Add a unit of work to the plan on a board; a unit is any size, from one ticket to a whole pull request",
|
|
1089
|
+
positionals: {
|
|
1090
|
+
usage: "<board> <title>",
|
|
1091
|
+
min: 2,
|
|
1092
|
+
max: null
|
|
1093
|
+
},
|
|
1094
|
+
options: [
|
|
1095
|
+
{
|
|
1096
|
+
name: "after",
|
|
1097
|
+
type: "string",
|
|
1098
|
+
valueName: "units",
|
|
1099
|
+
summary: "Comma-separated ids of the units this one comes after"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
name: "link",
|
|
1103
|
+
type: "string",
|
|
1104
|
+
valueName: "board",
|
|
1105
|
+
summary: "Another board, by id or title, that holds this unit's detail"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
name: "id",
|
|
1109
|
+
type: "string",
|
|
1110
|
+
valueName: "id",
|
|
1111
|
+
summary: "The unit id, when the one made from its title is taken"
|
|
1112
|
+
}
|
|
1113
|
+
],
|
|
1114
|
+
missingArgumentHint: "plan add needs a board and a title, for example \"glimmervoid whiteboard plan add release-plan Diff index schema\""
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
name: "after",
|
|
1118
|
+
summary: "Set which units a unit comes after; naming none clears them. A dependency cycle is refused",
|
|
1119
|
+
positionals: {
|
|
1120
|
+
usage: "<board> <unit> [<unit>...]",
|
|
1121
|
+
min: 2,
|
|
1122
|
+
max: null
|
|
1123
|
+
},
|
|
1124
|
+
missingArgumentHint: "plan after needs a board and a unit"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
name: "show",
|
|
1128
|
+
summary: "Print the plan on a board in dependency order; units that can run in parallel share a number, as 2a and 2b",
|
|
1129
|
+
positionals: BOARD_REFERENCE
|
|
1130
|
+
}
|
|
1131
|
+
];
|
|
1085
1132
|
var WHITEBOARD_SUBCOMMANDS = [
|
|
1086
1133
|
{
|
|
1087
1134
|
name: "new",
|
|
@@ -1130,6 +1177,12 @@ var WHITEBOARD_SUBCOMMANDS = [
|
|
|
1130
1177
|
name: "delete",
|
|
1131
1178
|
summary: "Delete a board this session created; the operator deletes any board from the dashboard",
|
|
1132
1179
|
positionals: BOARD_REFERENCE
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
name: "plan",
|
|
1183
|
+
summary: "Lay out units of work on a board in dependency order, beside its free drawing",
|
|
1184
|
+
subcommands: PLAN_SUBCOMMANDS,
|
|
1185
|
+
missingArgumentHint: null
|
|
1133
1186
|
}
|
|
1134
1187
|
];
|
|
1135
1188
|
var AGENT_COMMAND_HELP = Object.freeze({
|
|
@@ -1241,9 +1294,9 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1241
1294
|
isPassthrough: true
|
|
1242
1295
|
},
|
|
1243
1296
|
whiteboard: {
|
|
1244
|
-
usage: "whiteboard new|list|connect|disconnect|get|put|resolve|delete",
|
|
1297
|
+
usage: "whiteboard new|list|connect|disconnect|get|put|resolve|delete|plan",
|
|
1245
1298
|
subcommands: WHITEBOARD_SUBCOMMANDS,
|
|
1246
|
-
summary: "Create, connect to, read, edit and delete a shared whiteboard the operator and connected sessions edit together",
|
|
1299
|
+
summary: "Create, connect to, read, edit, plan on and delete a shared whiteboard the operator and connected sessions edit together",
|
|
1247
1300
|
missingArgumentHint: null
|
|
1248
1301
|
},
|
|
1249
1302
|
limits: {
|
|
@@ -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-Dnbs7V9T.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-CmkfJxzB.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-BWa_HecL.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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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-CmkfJxzB.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-D8bzPCxK.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-BWa_HecL.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-CCRC9F60.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-CV-vkj60.js";
|
|
5
5
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,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-CmkfJxzB.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-CV-vkj60.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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "./kimi-DGnMgNsj.js";
|