glimmervoid 0.47.1-next.229 → 0.47.1-next.230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/glimmervoid.js +14 -14
- package/dist/chunks/{adapters-CKVPSK_7.js → adapters-BUIhxDpx.js} +7 -7
- package/dist/chunks/{adapters-CygniY1v.js → adapters-apJyEvwX.js} +1 -1
- package/dist/chunks/{agent-api-cli-BNhdK4kD.js → agent-api-cli-iIZ-SXbs.js} +1 -1
- package/dist/chunks/{agent-api-cli-DIyFHMQ_.js → agent-api-cli-r9ldOM9F.js} +5 -5
- package/dist/chunks/{agent-api-core-DRLkUcDo.js → agent-api-core-feDdu5Am.js} +54 -7
- package/dist/chunks/{agent-setup-cli-CwjtzaC0.js → agent-setup-cli-DTTCMv-f.js} +1 -1
- package/dist/chunks/{build-channel-DTsNiNtD.js → build-channel-BCFPJ4rP.js} +2 -2
- package/dist/chunks/{config-B4X9G6EN.js → config-UtUuBh34.js} +1 -1
- package/dist/chunks/{config-store-CdZUjqvn.js → config-store-C3qyzEl_.js} +2 -2
- package/dist/chunks/config-store-CJ7_YyFS.js +1 -0
- package/dist/chunks/{git-version-CtTo5o6G.js → git-version-CohfIeM0.js} +1 -1
- package/dist/chunks/{grok-z6bXbyuG.js → grok-Y1HM5jhN.js} +1 -1
- package/dist/chunks/kimi-BTc4hmgt.js +1 -0
- package/dist/chunks/{kimi-C0-lIyFc.js → kimi-CAffJDfn.js} +2 -2
- package/dist/chunks/{main-BUeQr1zB.js → main-BZKYGoyA.js} +27 -16
- package/dist/chunks/{pair-cli-CIIEfyMa.js → pair-cli-C93DQVOx.js} +2 -2
- package/dist/chunks/{remote-config-geigo1iu.js → remote-config-DzZEUfOF.js} +1 -1
- package/dist/chunks/{session-B2Wieg0a.js → session-Cwin6Vf4.js} +14 -1
- package/dist/chunks/{session-routes-Cr9S--Nf.js → session-routes-DmqMJgpO.js} +1 -1
- package/dist/chunks/{settings-cli-De3PF699.js → settings-cli-BLACT8DG.js} +5 -5
- package/dist/chunks/{settings-readout-core-BWm0p8no.js → settings-readout-core-CvQg3SzL.js} +2 -2
- package/dist/chunks/{shown-files-core-C7ER2sw2.js → shown-files-core-ChMpMUtF.js} +1 -1
- package/dist/chunks/{spawn-env-C-PfRa2d.js → spawn-env-Drn9KM_F.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-BMkCBbTf.js → ssh-sign-cli-D459lRU7.js} +2 -2
- package/dist/client/assets/{action-status-BmCLf994.js → action-status-BfWv-4XO.js} +1 -1
- package/dist/client/assets/action-status-BfWv-4XO.js.br +0 -0
- package/dist/client/assets/{alert-sound-CHUOs9qA.js → alert-sound-C1fB79kI.js} +1 -1
- package/dist/client/assets/alert-sound-C1fB79kI.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-Dg2LUV_K.js → benchmark-panel-CB0oQ-mY.js} +1 -1
- package/dist/client/assets/benchmark-panel-CB0oQ-mY.js.br +0 -0
- package/dist/client/assets/{card-registry-TiXTLzQ_.js → card-registry-DXgFHjkf.js} +1 -1
- package/dist/client/assets/card-registry-DXgFHjkf.js.br +0 -0
- package/dist/client/assets/{celebration-player-DlXl8jYm.js → celebration-player-CvVk0SSe.js} +1 -1
- package/dist/client/assets/celebration-player-CvVk0SSe.js.br +0 -0
- package/dist/client/assets/{community-panel-B8_oX6Nf.js → community-panel-Dp3NmbmW.js} +1 -1
- package/dist/client/assets/community-panel-Dp3NmbmW.js.br +0 -0
- package/dist/client/assets/{control-ws-MHGZwhmZ.js → control-ws-Bx5tYYqN.js} +1 -1
- package/dist/client/assets/control-ws-Bx5tYYqN.js.br +0 -0
- package/dist/client/assets/{dialogs-CJKkG6cZ.js → dialogs-1ZrNdxAb.js} +1 -1
- package/dist/client/assets/dialogs-1ZrNdxAb.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-o1VDYOK8.js → doc-editor-ui-BVi0_g9M.js} +1 -1
- package/dist/client/assets/doc-editor-ui-BVi0_g9M.js.br +0 -0
- package/dist/client/assets/{feature-hint-B2hJ0SjB.js → feature-hint-DVjaA0yX.js} +1 -1
- package/dist/client/assets/feature-hint-DVjaA0yX.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-CYwnZeLA.js → first-run-checklist-Mn-CliuR.js} +1 -1
- package/dist/client/assets/first-run-checklist-Mn-CliuR.js.br +0 -0
- package/dist/client/assets/{hooks-panel-DfDJyS4q.js → hooks-panel-DrX5Q3zY.js} +1 -1
- package/dist/client/assets/hooks-panel-DrX5Q3zY.js.br +0 -0
- package/dist/client/assets/{index-HmvxniAw.js → index-CuZHb6bb.js} +5 -5
- package/dist/client/assets/index-CuZHb6bb.js.br +0 -0
- package/dist/client/assets/{issues-panel-nfSCPAUe.js → issues-panel-NvMofF8-.js} +1 -1
- package/dist/client/assets/issues-panel-NvMofF8-.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-C2wVleEA.js → my-prs-panel-CjNsFAs-.js} +1 -1
- package/dist/client/assets/my-prs-panel-CjNsFAs-.js.br +0 -0
- package/dist/client/assets/{nyan-cat-BmmNNHu4.js → nyan-cat-DfxwpI_S.js} +1 -1
- package/dist/client/assets/nyan-cat-DfxwpI_S.js.br +0 -0
- package/dist/client/assets/{phone-shell-E7vGVTrv.js → phone-shell-Dar-xtyT.js} +1 -1
- package/dist/client/assets/phone-shell-Dar-xtyT.js.br +0 -0
- package/dist/client/assets/{plan-face-DYBUphuX.js → plan-face-CHVDkpAL.js} +1 -1
- package/dist/client/assets/plan-face-CHVDkpAL.js.br +0 -0
- package/dist/client/assets/{plan-render-Bd6JE_y9.js → plan-render-M9325LXC.js} +1 -1
- package/dist/client/assets/plan-render-M9325LXC.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-DQ5dqb8Y.js → pr-queue-columns-DX1WsMRb.js} +1 -1
- package/dist/client/assets/pr-queue-columns-DX1WsMRb.js.br +0 -0
- package/dist/client/assets/{radar-panel-CxXbJzxA.js → radar-panel-DbiPEx8v.js} +1 -1
- package/dist/client/assets/radar-panel-DbiPEx8v.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-D1Cw-1yf.js → repo-roots-adder-eKS_3qUK.js} +1 -1
- package/dist/client/assets/repo-roots-adder-eKS_3qUK.js.br +0 -0
- package/dist/client/assets/{resume-dialog-CQn64KVs.js → resume-dialog-RAWtORKD.js} +1 -1
- package/dist/client/assets/resume-dialog-RAWtORKD.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-DgI3YkW_.js → review-queue-panel-BH3ajsQK.js} +1 -1
- package/dist/client/assets/review-queue-panel-BH3ajsQK.js.br +0 -0
- package/dist/client/assets/{session-tick-DaSgyLUw.js → session-tick-Cg2L5fWP.js} +1 -1
- package/dist/client/assets/session-tick-Cg2L5fWP.js.br +0 -0
- package/dist/client/assets/{settings-panel-axhyHBh7.js → settings-panel-CHj05jkd.js} +2 -2
- package/dist/client/assets/settings-panel-CHj05jkd.js.br +0 -0
- package/dist/client/assets/{shown-lightbox-4in4QXod.js → shown-lightbox-BU8GeB7E.js} +1 -1
- package/dist/client/assets/shown-lightbox-BU8GeB7E.js.br +0 -0
- package/dist/client/assets/{team-review-panel-us78gY1D.js → team-review-panel-0dfRjYqi.js} +1 -1
- package/dist/client/assets/team-review-panel-0dfRjYqi.js.br +0 -0
- package/dist/client/assets/{trace-panel-tFDwG3h5.js → trace-panel-BWJUphz5.js} +1 -1
- package/dist/client/assets/trace-panel-BWJUphz5.js.br +0 -0
- package/dist/client/assets/updates-view-core-QY1hyfQz.js +1 -0
- package/dist/client/assets/updates-view-core-QY1hyfQz.js.br +0 -0
- package/dist/client/assets/{usage-panel-DDKzBK3q.js → usage-panel-0py3MqMW.js} +1 -1
- package/dist/client/assets/usage-panel-0py3MqMW.js.br +0 -0
- package/dist/client/assets/{visions-panel-DR1x-xHl.js → visions-panel-DLJ1He3E.js} +1 -1
- package/dist/client/assets/visions-panel-DLJ1He3E.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-BoOtYk7l.js +0 -1
- package/dist/chunks/kimi-CZzNBlEO.js +0 -1
- package/dist/client/assets/action-status-BmCLf994.js.br +0 -0
- package/dist/client/assets/alert-sound-CHUOs9qA.js.br +0 -0
- package/dist/client/assets/benchmark-panel-Dg2LUV_K.js.br +0 -0
- package/dist/client/assets/card-registry-TiXTLzQ_.js.br +0 -0
- package/dist/client/assets/celebration-player-DlXl8jYm.js.br +0 -0
- package/dist/client/assets/community-panel-B8_oX6Nf.js.br +0 -0
- package/dist/client/assets/control-ws-MHGZwhmZ.js.br +0 -0
- package/dist/client/assets/dialogs-CJKkG6cZ.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-o1VDYOK8.js.br +0 -0
- package/dist/client/assets/feature-hint-B2hJ0SjB.js.br +0 -0
- package/dist/client/assets/first-run-checklist-CYwnZeLA.js.br +0 -0
- package/dist/client/assets/hooks-panel-DfDJyS4q.js.br +0 -0
- package/dist/client/assets/index-HmvxniAw.js.br +0 -0
- package/dist/client/assets/issues-panel-nfSCPAUe.js.br +0 -0
- package/dist/client/assets/my-prs-panel-C2wVleEA.js.br +0 -0
- package/dist/client/assets/nyan-cat-BmmNNHu4.js.br +0 -0
- package/dist/client/assets/phone-shell-E7vGVTrv.js.br +0 -0
- package/dist/client/assets/plan-face-DYBUphuX.js.br +0 -0
- package/dist/client/assets/plan-render-Bd6JE_y9.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-DQ5dqb8Y.js.br +0 -0
- package/dist/client/assets/radar-panel-CxXbJzxA.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-D1Cw-1yf.js.br +0 -0
- package/dist/client/assets/resume-dialog-CQn64KVs.js.br +0 -0
- package/dist/client/assets/review-queue-panel-DgI3YkW_.js.br +0 -0
- package/dist/client/assets/session-tick-DaSgyLUw.js.br +0 -0
- package/dist/client/assets/settings-panel-axhyHBh7.js.br +0 -0
- package/dist/client/assets/shown-lightbox-4in4QXod.js.br +0 -0
- package/dist/client/assets/team-review-panel-us78gY1D.js.br +0 -0
- package/dist/client/assets/trace-panel-tFDwG3h5.js.br +0 -0
- package/dist/client/assets/updates-view-core-Dxvxlb5s.js +0 -1
- package/dist/client/assets/updates-view-core-Dxvxlb5s.js.br +0 -0
- package/dist/client/assets/usage-panel-DDKzBK3q.js.br +0 -0
- package/dist/client/assets/visions-panel-DR1x-xHl.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -3,11 +3,11 @@ 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 { o as packageRoot } from "../chunks/runtime-paths-ghcH9CeW.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-Cwin6Vf4.js";
|
|
7
7
|
import { a as execSync } from "../chunks/child-process-safe-BCOoKfxG.js";
|
|
8
|
-
import { r as agentCommandHelpLines } from "../chunks/agent-api-core-
|
|
8
|
+
import { r as agentCommandHelpLines } from "../chunks/agent-api-core-feDdu5Am.js";
|
|
9
9
|
import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
|
|
10
|
-
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-
|
|
10
|
+
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-CohfIeM0.js";
|
|
11
11
|
import { i as guardrailsDoctorRows, r as probeGuardrailsDependencies } from "../chunks/guardrails-deps-BfZSPpNs.js";
|
|
12
12
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -65,15 +65,15 @@ var OWN_SUBCOMMAND_RUNNERS = [
|
|
|
65
65
|
return 0;
|
|
66
66
|
}],
|
|
67
67
|
["pair", async (subcommandArgs) => {
|
|
68
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
68
|
+
const { runPairCli } = await import("../chunks/pair-cli-C93DQVOx.js");
|
|
69
69
|
return runPairCli(subcommandArgs);
|
|
70
70
|
}],
|
|
71
71
|
["agent", async (subcommandArgs) => {
|
|
72
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
72
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-DTTCMv-f.js");
|
|
73
73
|
return runAgentSetupCli(subcommandArgs);
|
|
74
74
|
}],
|
|
75
75
|
["settings", async (subcommandArgs) => {
|
|
76
|
-
const { runSettingsCli } = await import("../chunks/settings-cli-
|
|
76
|
+
const { runSettingsCli } = await import("../chunks/settings-cli-BLACT8DG.js");
|
|
77
77
|
return runSettingsCli(subcommandArgs);
|
|
78
78
|
}],
|
|
79
79
|
["visions", async (subcommandArgs) => {
|
|
@@ -81,13 +81,13 @@ var OWN_SUBCOMMAND_RUNNERS = [
|
|
|
81
81
|
return runVisionsCli(subcommandArgs);
|
|
82
82
|
}],
|
|
83
83
|
["ssh-sign", async (subcommandArgs) => {
|
|
84
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
84
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-D459lRU7.js");
|
|
85
85
|
return runSshSignCli(subcommandArgs);
|
|
86
86
|
}]
|
|
87
87
|
];
|
|
88
88
|
var ownSubcommandNames = new Set(OWN_SUBCOMMAND_RUNNERS.map(([name]) => name));
|
|
89
89
|
var SUBCOMMAND_RUNNERS = new Map([...OWN_SUBCOMMAND_RUNNERS, ...AGENT_API_VERBS.filter((verb) => !ownSubcommandNames.has(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
|
|
90
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
90
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-iIZ-SXbs.js");
|
|
91
91
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
92
92
|
}])]);
|
|
93
93
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -101,7 +101,7 @@ function missingAgentText(agentId) {
|
|
|
101
101
|
}
|
|
102
102
|
async function printSessionLimits() {
|
|
103
103
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
104
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
104
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-iIZ-SXbs.js");
|
|
105
105
|
const limitsLines = await sessionLimitsHelpLines();
|
|
106
106
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
107
107
|
}
|
|
@@ -158,7 +158,7 @@ async function readDeclaredCustomAgents() {
|
|
|
158
158
|
declared: [],
|
|
159
159
|
error: null
|
|
160
160
|
};
|
|
161
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
161
|
+
const { loadConfigFile } = await import("../chunks/config-store-CJ7_YyFS.js");
|
|
162
162
|
try {
|
|
163
163
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
164
164
|
if (!loaded.config) return {
|
|
@@ -234,7 +234,7 @@ async function runDoctor() {
|
|
|
234
234
|
}
|
|
235
235
|
switchSection("Agents");
|
|
236
236
|
try {
|
|
237
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
237
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-apJyEvwX.js");
|
|
238
238
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
239
239
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
240
240
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -242,10 +242,10 @@ async function runDoctor() {
|
|
|
242
242
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
243
243
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
244
244
|
}
|
|
245
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
245
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-DTTCMv-f.js");
|
|
246
246
|
const grokSetup = inspectGrokAgentSetup();
|
|
247
247
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
248
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
248
|
+
const { default: kimi } = await import("../chunks/kimi-BTc4hmgt.js");
|
|
249
249
|
const { describeKimiHome } = await import("../chunks/kimi-home-DEuu2e0l.js");
|
|
250
250
|
line("kimi home", describeKimiHome(kimi.expectedHooksBlock()));
|
|
251
251
|
} catch (err) {
|
|
@@ -255,7 +255,7 @@ async function runDoctor() {
|
|
|
255
255
|
try {
|
|
256
256
|
const { resolvePackageBin } = await import("../chunks/runtime-paths-Cc0_ZR6V.js");
|
|
257
257
|
const { execFileSync } = await import("../chunks/child-process-safe-BKjzSEYd.js");
|
|
258
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
258
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-DTTCMv-f.js");
|
|
259
259
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
260
260
|
line("Sane YOLO", binPath || "not installed");
|
|
261
261
|
if (binPath) line("cc-safety-net version", execFileSync(process.execPath, [binPath, "--version"], {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { s as relayPath } from "./runtime-paths-ghcH9CeW.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Bt as shortSha$1, Rt as FULL_SHA_RE } from "./session-Cwin6Vf4.js";
|
|
3
3
|
import { i as execFileSync, r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
4
|
-
import { Ot as UpdateChannel, S as InstallFlavor, c as SHELL_AGENT_ID } from "./config-
|
|
5
|
-
import { o as supervisionLine } from "./session-routes-
|
|
4
|
+
import { Ot as UpdateChannel, S as InstallFlavor, c as SHELL_AGENT_ID } from "./config-UtUuBh34.js";
|
|
5
|
+
import { o as supervisionLine } from "./session-routes-DmqMJgpO.js";
|
|
6
6
|
import { c as textOr, i as numberOr, s as rawTextOr } from "./coerce-NSst8oRP.js";
|
|
7
7
|
import { n as resolveAgentCommand, t as buildAgentSpawnCommand } from "./spawn-command-CQECOvjC.js";
|
|
8
8
|
import { n as parseJsonRecord } from "./json-core-dfa_7Fak.js";
|
|
9
9
|
import { n as SANE_YOLO_PATH_ENV, r as saneYoloEnv } from "./sane-yolo-DSyFqbVE.js";
|
|
10
10
|
import { r as nextBackoffMs } from "./backoff-DjVpfHk7.js";
|
|
11
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
11
|
+
import { t as buildAgentEnv } from "./spawn-env-Drn9KM_F.js";
|
|
12
12
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
13
|
-
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-
|
|
14
|
-
import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-
|
|
15
|
-
import { t as kimi } from "./kimi-
|
|
13
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-Y1HM5jhN.js";
|
|
14
|
+
import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-BCFPJ4rP.js";
|
|
15
|
+
import { t as kimi } from "./kimi-CAffJDfn.js";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
//#region session/adapters/claude-code.ts
|
|
@@ -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-BUIhxDpx.js";
|
|
@@ -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-r9ldOM9F.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as errorCode } from "./text-DoirglWV.js";
|
|
2
|
-
import { c as AgentLimitsReply, n as AGENT_URL_ENV } from "./session-
|
|
3
|
-
import { i as formatSessionLimits } from "./session-routes-
|
|
4
|
-
import { f as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
2
|
+
import { c as AgentLimitsReply, n as AGENT_URL_ENV } from "./session-Cwin6Vf4.js";
|
|
3
|
+
import { i as formatSessionLimits } from "./session-routes-DmqMJgpO.js";
|
|
4
|
+
import { f as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-feDdu5Am.js";
|
|
5
5
|
import { i as resolveHookTarget } from "./hook-relay-core-DA_bz2KA.js";
|
|
6
6
|
import { n as decideGuardrailsProxy } from "./guardrails-proxy-core-BI3rdY-m.js";
|
|
7
7
|
import { t as parseJsonOrNull } from "./json-core-dfa_7Fak.js";
|
|
8
|
-
import { r as describeOverCap } from "./shown-files-core-
|
|
8
|
+
import { r as describeOverCap } from "./shown-files-core-ChMpMUtF.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import http from "node:http";
|
|
@@ -63,7 +63,7 @@ var BODY_BUILDERS = {
|
|
|
63
63
|
},
|
|
64
64
|
limits: () => ({}),
|
|
65
65
|
review: pullRequestBody,
|
|
66
|
-
reviews: () => ({}
|
|
66
|
+
reviews: (rest) => pullRequestBody(rest) ?? {},
|
|
67
67
|
prs: () => ({}),
|
|
68
68
|
"link-pr": pullRequestBody,
|
|
69
69
|
settings: ([command, settingPath]) => ({
|
|
@@ -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 { L as TASK_TITLE_CONTROL_CHARACTERS, S as RefinedTaskTitle, a as AgentAttentionRequest, d as AgentReviewsRequest, f as AgentSendRequest, h as AgentSpawnRequest, i as AgentAnswerRequest, l as AgentPullRequestRequest, m as AgentSettingsRequest, o as AgentCloseRequest, s as AgentEditRequest, t as AGENT_API_VERBS, u as AgentReadRequest } from "./session-Cwin6Vf4.js";
|
|
2
|
+
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-UtUuBh34.js";
|
|
3
|
+
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-DmqMJgpO.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
//#region shared/session-naming.ts
|
|
@@ -564,6 +564,20 @@ var parsePullRequestBody = (payload) => {
|
|
|
564
564
|
request: { pullRequestKey }
|
|
565
565
|
};
|
|
566
566
|
};
|
|
567
|
+
var parseReviewsBody = (payload) => {
|
|
568
|
+
const parsed = AgentReviewsRequest.safeParse(payload);
|
|
569
|
+
if (!parsed.success) return refuseInvalidBody(parsed.error.issues);
|
|
570
|
+
if (parsed.data.pr === void 0) return {
|
|
571
|
+
ok: true,
|
|
572
|
+
request: { pullRequestKey: null }
|
|
573
|
+
};
|
|
574
|
+
const pullRequest = parsePullRequestBody({ pr: parsed.data.pr });
|
|
575
|
+
if (!pullRequest.ok) return pullRequest;
|
|
576
|
+
return {
|
|
577
|
+
ok: true,
|
|
578
|
+
request: { pullRequestKey: pullRequest.request.pullRequestKey }
|
|
579
|
+
};
|
|
580
|
+
};
|
|
567
581
|
var REQUEST_PARSERS = Object.freeze({
|
|
568
582
|
spawn: bodyParser(AgentSpawnRequest),
|
|
569
583
|
send: bodyParser(AgentSendRequest),
|
|
@@ -577,7 +591,7 @@ var REQUEST_PARSERS = Object.freeze({
|
|
|
577
591
|
show: parseEmptyBody,
|
|
578
592
|
limits: parseEmptyBody,
|
|
579
593
|
review: parsePullRequestBody,
|
|
580
|
-
reviews:
|
|
594
|
+
reviews: parseReviewsBody,
|
|
581
595
|
prs: parseEmptyBody,
|
|
582
596
|
"link-pr": parsePullRequestBody,
|
|
583
597
|
settings: bodyParser(AgentSettingsRequest)
|
|
@@ -674,6 +688,39 @@ function projectReviews({ configured, reason, inFlight, queued, drafts }) {
|
|
|
674
688
|
}))
|
|
675
689
|
};
|
|
676
690
|
}
|
|
691
|
+
var UNTRUSTED_DRAFT_NOTE = "the draft was written by a model that read the untrusted pull request, so verify each point before acting on it";
|
|
692
|
+
function projectReviewDetail({ drafts, inFlight, queued }, pullRequestKey) {
|
|
693
|
+
const requestedKey = pullRequestKey.toLowerCase();
|
|
694
|
+
const isRequested = (review) => review.key.toLowerCase() === requestedKey;
|
|
695
|
+
const running = inFlight.find(isRequested);
|
|
696
|
+
const draft = drafts.find(isRequested);
|
|
697
|
+
if (draft) return {
|
|
698
|
+
ok: true,
|
|
699
|
+
key: draft.key,
|
|
700
|
+
state: "drafted",
|
|
701
|
+
phase: running?.phase ?? null,
|
|
702
|
+
note: UNTRUSTED_DRAFT_NOTE,
|
|
703
|
+
draft
|
|
704
|
+
};
|
|
705
|
+
if (running) return {
|
|
706
|
+
ok: true,
|
|
707
|
+
key: running.key,
|
|
708
|
+
state: "reviewing",
|
|
709
|
+
phase: running.phase,
|
|
710
|
+
note: null,
|
|
711
|
+
draft: null
|
|
712
|
+
};
|
|
713
|
+
const waiting = queued.find(isRequested);
|
|
714
|
+
if (!waiting) return null;
|
|
715
|
+
return {
|
|
716
|
+
ok: true,
|
|
717
|
+
key: waiting.key,
|
|
718
|
+
state: "queued",
|
|
719
|
+
phase: null,
|
|
720
|
+
note: null,
|
|
721
|
+
draft: null
|
|
722
|
+
};
|
|
723
|
+
}
|
|
677
724
|
function projectMyPrs(snapshot) {
|
|
678
725
|
if (!snapshot) return {
|
|
679
726
|
ok: true,
|
|
@@ -772,8 +819,8 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
772
819
|
missingArgumentHint: "glimmervoid review: this command needs a pull request, for example \"glimmervoid review https://github.com/acme/app/pull/12\" or \"glimmervoid review acme/app#12\""
|
|
773
820
|
},
|
|
774
821
|
reviews: {
|
|
775
|
-
usage: "reviews",
|
|
776
|
-
summary: "List the Reviews tab: reviews running, queued and drafted",
|
|
822
|
+
usage: "reviews [pr]",
|
|
823
|
+
summary: "List the Reviews tab: reviews running, queued and drafted; with a pull request, read its draft in full",
|
|
777
824
|
missingArgumentHint: null
|
|
778
825
|
},
|
|
779
826
|
prs: {
|
|
@@ -801,4 +848,4 @@ function agentCommandHelpLines() {
|
|
|
801
848
|
return Object.values(AGENT_COMMAND_HELP).map(({ usage, summary }) => ` ${usage.padEnd(Math.max(USAGE_COLUMN_WIDTH, usage.length + 1))}${summary}`);
|
|
802
849
|
}
|
|
803
850
|
//#endregion
|
|
804
|
-
export {
|
|
851
|
+
export { resolveRefocusTaskTitle as A, encodeProjectDir as B, extractHookTaskTitle as C, isSubstantivePrompt as D, isSelfWakePrompt as E, pickAutoResume as F, listRepoWorktreePaths as H, resolveResumeTarget as I, resumePromptFor as L, seedTaskTitleSources as M, AUTO_CONTINUE_PROMPT as N, parseRefinedSessionName as O, RESUME_ID_RE as P, shouldAdoptReportedResumeId as R, extractAiTitle as S, extractPromptTaskTitle as T, isAutoNameOf as U, listRepoConversations as V, nextSuggestedName as W, buildPersistedTaskTitle as _, decideSpawnAllowance as a, cleanTaskPrompt as b, describeKeptChildAttention as c, describeUnpushedCloseRefusal as d, isAgentApiVerb as f, projectReviews as g, projectReviewDetail as h, decideAgentRequest as i, resolveTaskTitle as j, parseRefinedTaskTitle as k, describePushLanding as l, projectMyPrs as m, REFUSAL_REASON as n, deriveChildSessionName as o, parseAgentVerb as p, agentCommandHelpLines as r, describeChildEndNote as s, AGENT_COMMAND_HELP as t, describeRoleRefusal as u, buildTaskTitleRefinementPrompt as v, extractOscTaskTitle as w, decideTaskTitleRefinement as x, chooseRefinedSessionName as y, claudeProjectsDir as z };
|
|
@@ -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-Y1HM5jhN.js";
|
|
3
3
|
import { p as writeTextAtomicSync } from "./json-file-BjFK_eSH.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, j as HintFeature, n as BUILTIN_AGENT_IDS, w as ONBOARDING_STEP_STATES, x as DASHBOARD_VIEWS } from "./config-
|
|
1
|
+
import "./session-Cwin6Vf4.js";
|
|
2
|
+
import { C as ONBOARDING_STEPS, E as OPERATOR_SURFACES, T as OPERATOR_ACTIONS_BY_SURFACE, j as HintFeature, n as BUILTIN_AGENT_IDS, w as ONBOARDING_STEP_STATES, x as DASHBOARD_VIEWS } from "./config-UtUuBh34.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 { $ as
|
|
1
|
+
import { $ as MyPrMergeWhenReadyResult, At as TeamReviewStatus, B as LinkedPr, Et as TeamReviewActionResult, G as MyPrKeepMergeableRequest, Gt as GithubPollingRefreshRequest, It as hasRequiredActionHead, Jt as githubPollingShape, K as MyPrKeepMergeableResult, Kt as GithubPollingRefreshResult, M as SessionSnapshot, N as SessionState, P as ShownFile, Q as MyPrMergeWhenReadyRequest, R as TaskTitle, T as SESSION_DOC_PATH_MAX_CHARS, Tt as TeamReviewActionRequest, Ut as REPO_SLUG_RE, V as MyPr, Vt as GH_SEGMENT, Wt as repoParts, X as MyPrMergeResult, Y as MyPrMergeRequest, at as MyPrsStatus, b as CoherenceHooksState, ct as repositoryName, et as MyPrSearchNode, j as SessionDoc, lt as CommitSha, ot as SessionPrLinks, pt as GithubReviewDecision, qt as GithubPrsFreshness, st as pullRequestKeyFormat, vt as ReviewChecksState, z as UnseenOutcome } from "./session-Cwin6Vf4.js";
|
|
2
2
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -2,11 +2,11 @@ import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
|
2
2
|
import { n as equalsIgnoringCaseOnWindows } from "./paths-Bu4eH1Yd.js";
|
|
3
3
|
import { o as packageRoot } from "./runtime-paths-ghcH9CeW.js";
|
|
4
4
|
import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
5
|
-
import { $ as FLYING_ANIMALS_DEFAULTS, Dt 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, ft as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, gt as USAGE_INTEGER_RANGES, h as normalizeLegacyConfigNumbers, ht as USAGE_BUDGET_RANGE, i as Config, it as MEMORY_RESERVE_MB_RANGE, lt as POSTHOG_PROJECT_ID_RANGE, mt as TASK_TITLE_TIMEOUT_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_SCALE_RANGE, ot as PORT_RANGE, p as USAGE_COST_MODES, 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-
|
|
5
|
+
import { $ as FLYING_ANIMALS_DEFAULTS, Dt 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, ft as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, gt as USAGE_INTEGER_RANGES, h as normalizeLegacyConfigNumbers, ht as USAGE_BUDGET_RANGE, i as Config, it as MEMORY_RESERVE_MB_RANGE, lt as POSTHOG_PROJECT_ID_RANGE, mt as TASK_TITLE_TIMEOUT_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_SCALE_RANGE, ot as PORT_RANGE, p as USAGE_COST_MODES, 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-UtUuBh34.js";
|
|
6
6
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
7
7
|
import { t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.js";
|
|
8
8
|
import { d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync } from "./json-file-BjFK_eSH.js";
|
|
9
|
-
import { f as FeatureFlagsResponse, g as TELEMETRY_KILL_SWITCH_FLAG, n as isExperimentalBuild, p as MAX_TEXT_LENGTH } from "./build-channel-
|
|
9
|
+
import { f as FeatureFlagsResponse, g as TELEMETRY_KILL_SWITCH_FLAG, n as isExperimentalBuild, p as MAX_TEXT_LENGTH } from "./build-channel-BCFPJ4rP.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import os from "node:os";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { c as loadConfigFile } from "./config-store-C3qyzEl_.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AGENT_API_VERBS } from "./session-
|
|
1
|
+
import { t as AGENT_API_VERBS } from "./session-Cwin6Vf4.js";
|
|
2
2
|
import { i as execFileSync } from "./child-process-safe-BCOoKfxG.js";
|
|
3
3
|
//#region server/core/command-line-core.ts
|
|
4
4
|
var SUBCOMMANDS_HONORING_TRAILING_GLOBAL_OPTIONS = /* @__PURE__ */ new Set([
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { s as relayPath } from "./runtime-paths-ghcH9CeW.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
4
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
4
|
+
import { t as buildAgentEnv } from "./spawn-env-Drn9KM_F.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-CAffJDfn.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as relayPath } from "./runtime-paths-ghcH9CeW.js";
|
|
2
|
-
import { r as ASK_USER_QUESTION_TOOL_NAME } from "./session-
|
|
2
|
+
import { r as ASK_USER_QUESTION_TOOL_NAME } from "./session-Cwin6Vf4.js";
|
|
3
3
|
import { i as execFileSync } from "./child-process-safe-BCOoKfxG.js";
|
|
4
4
|
import { n as resolveAgentCommand, t as buildAgentSpawnCommand } from "./spawn-command-CQECOvjC.js";
|
|
5
5
|
import { t as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-DSyFqbVE.js";
|
|
6
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
6
|
+
import { t as buildAgentEnv } from "./spawn-env-Drn9KM_F.js";
|
|
7
7
|
import { a as prepareKimiHome, i as kimiHomeLinkRefusal, n as generatedKimiHomePath, o as realKimiHome, p as renderKimiHooksBlock, r as holdKimiHome, s as releaseKimiHome } from "./kimi-home-WZ9E4f-u.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
@@ -3,13 +3,13 @@ import { a as isMissingFileError, r as errorMessage, t as errorCode } from "./te
|
|
|
3
3
|
import { a as sanitizeWorktreeName, i as safePathSegment, n as equalsIgnoringCaseOnWindows, r as isPathInside, t as caseFoldedPathKey } from "./paths-Bu4eH1Yd.js";
|
|
4
4
|
import { c as resolvePackageBin, i as clientDir, n as bundled, o as packageRoot, r as cliPath, s as relayPath, t as assetRoot } from "./runtime-paths-ghcH9CeW.js";
|
|
5
5
|
import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
6
|
-
import {
|
|
6
|
+
import { $t as STATES, A as SSH_SIGN_BODY_CAP_BYTES, At as TeamReviewStatus, B as LinkedPr, Bt as shortSha, Ct as ReviewThreadId, D as SESSION_NAME_RULE_TEXT, Dt as TeamReviewCompareFiles, E as SESSION_NAME_PATTERN, Ft as decisionAsIfApprovalRequired, G as MyPrKeepMergeableRequest, H as MyPrAutoRebase, Ht as NODE_ID_RE, I as SshSignRequest, J as MyPrMergeMethod, Lt as hasStandingViewerApproval, Mt as TeamReviewThreadResult, Nt as TeamReviewThreadsRepository, O as SHOWN_FILE_CAP_BYTES, Ot as TeamReviewResolveResponse, P as ShownFile, Pt as canApproveAfterComment, Q as MyPrMergeWhenReadyRequest, Qt as RESTARTABLE_STATES, R as TaskTitle, St as ReviewResult, Tt as TeamReviewActionRequest, U as MyPrCheckContext, Ut as REPO_SLUG_RE, V as MyPr, Vt as GH_SEGMENT, W as MyPrCheckContextsResponse, Wt as repoParts, Xt as KILLABLE_STATES, Y as MyPrMergeRequest, Yt as BADGE_LABELS, Z as MyPrMergeStateResponse, Zt as MERGEABLE_LIVE_STATES, _ as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, _t as PrDetail, bt as ReviewDraft, dt as EarlierReview, ft as FindingSeverity, g as COHERENCE_HOOKS_INACTIVE, gt as PostingPlan, ht as PostedReviewEvent, it as MyPrsState, jt as TeamReviewThreadCommentsResponse, k as SIGN_URL_ENV, kt as TeamReviewStateEntry, lt as CommitSha, mt as GithubReviewState, n as AGENT_URL_ENV, nt as MyPrThreadsResponse, q as MyPrLaneEntry, r as ASK_USER_QUESTION_TOOL_NAME, rt as MyPrsSnapshot, tt as MyPrThreadNode, ut as DECIDING_REVIEW_STATES, v as CONVERSATION_PERMISSION_HOOK_EVENT, w as SESSION_DOC_BODY_CAP_BYTES, wt as ReviewVerdict, x as ConversationQuestion, xt as ReviewFinding, y as CONVERSATION_TOOL_RESULT_HOOK_EVENT, yt as ReviewComment, zt as HEX_SHA_RE } from "./session-Cwin6Vf4.js";
|
|
7
7
|
import { c as spawn, i as execFileSync, n as execFile, r as execFileAsync, t as assertLaunchable } from "./child-process-safe-BCOoKfxG.js";
|
|
8
|
-
import { $t as issuePullRequestStateFromGithub, A as HINT_VIEW_BY_FEATURE, At as SessionSetup, B as MergedPrListing, Bt as PLAN_RESULT_HOOK_EVENT, Ct as CommunityItem, D as pullRequestKeyFromReference, Et as DISCORD_CHANNEL_NAME_RE, F as BenchmarkJudgement, Ft as ChangeMap, G as GithubPrLightSearchNode, Gt as planTitle, H as PrCheckoutCaseInput, Ht as PlanDecision, I as BenchmarkRun, It as changeMapFactId, J as WorkflowCommentBody, Jt as IssueKey, K as GithubPrsFrame, Kt as GithubIssuePullRequestsRepository, L as BenchmarkStatus, Lt as PLAN_BODY_CAP_BYTES, M as BenchmarkActionRequest, Mt as TraceCheckpoint, N as BenchmarkCase, Nt as TraceRecord, O as FeatureHintState, P as BenchmarkId, Pt as CoherenceJournalOutput, Qt as IssuesStatus, R as BenchmarkSuite, Rt as PLAN_HOOK_EVENT, St as CommunityDraft, Tt as CommunityVerdict, U as GithubPrDetailNode, Ut as PlanRevision, V as MinedPrReviewData, Vt as PLAN_TOOL_NAME, W as GithubPrKey, Wt as parseExitPlanModeHookPayload, X as WorkflowsSettings, Xt as IssuesSearchResponse, Y as WorkflowLabelName, Yt as IssueUpdate, Z as WorkflowsState, Zt as IssuesState, a as ConfigUpdate, b as ClientMessage, c as SHELL_AGENT_ID, f as ReviewAgentId, g as CHANGES_POLL_INTERVAL_MS, gt as USAGE_INTEGER_RANGES, jt as MAX_RAW_LINE_CHARS, k as HINT_FEATURES, kt as UpdateJournal, m as USAGE_VENDOR_KEYS, p as USAGE_COST_MODES, q as comparablePrKey, qt as GithubIssueResponse, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage, v as CLIENT_LOG_TEXT_MAX_CHARS, wt as CommunityState, xt as CommunityActionRequest, y as CONTROL_FRAME_MAX_BYTES, z as CommitComparison, zt as PLAN_HOOK_OUTPUT_MAX_CHARS } from "./config-
|
|
9
|
-
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-
|
|
10
|
-
import { A as
|
|
8
|
+
import { $t as issuePullRequestStateFromGithub, A as HINT_VIEW_BY_FEATURE, At as SessionSetup, B as MergedPrListing, Bt as PLAN_RESULT_HOOK_EVENT, Ct as CommunityItem, D as pullRequestKeyFromReference, Et as DISCORD_CHANNEL_NAME_RE, F as BenchmarkJudgement, Ft as ChangeMap, G as GithubPrLightSearchNode, Gt as planTitle, H as PrCheckoutCaseInput, Ht as PlanDecision, I as BenchmarkRun, It as changeMapFactId, J as WorkflowCommentBody, Jt as IssueKey, K as GithubPrsFrame, Kt as GithubIssuePullRequestsRepository, L as BenchmarkStatus, Lt as PLAN_BODY_CAP_BYTES, M as BenchmarkActionRequest, Mt as TraceCheckpoint, N as BenchmarkCase, Nt as TraceRecord, O as FeatureHintState, P as BenchmarkId, Pt as CoherenceJournalOutput, Qt as IssuesStatus, R as BenchmarkSuite, Rt as PLAN_HOOK_EVENT, St as CommunityDraft, Tt as CommunityVerdict, U as GithubPrDetailNode, Ut as PlanRevision, V as MinedPrReviewData, Vt as PLAN_TOOL_NAME, W as GithubPrKey, Wt as parseExitPlanModeHookPayload, X as WorkflowsSettings, Xt as IssuesSearchResponse, Y as WorkflowLabelName, Yt as IssueUpdate, Z as WorkflowsState, Zt as IssuesState, a as ConfigUpdate, b as ClientMessage, c as SHELL_AGENT_ID, f as ReviewAgentId, g as CHANGES_POLL_INTERVAL_MS, gt as USAGE_INTEGER_RANGES, jt as MAX_RAW_LINE_CHARS, k as HINT_FEATURES, kt as UpdateJournal, m as USAGE_VENDOR_KEYS, p as USAGE_COST_MODES, q as comparablePrKey, qt as GithubIssueResponse, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage, v as CLIENT_LOG_TEXT_MAX_CHARS, wt as CommunityState, xt as CommunityActionRequest, y as CONTROL_FRAME_MAX_BYTES, z as CommitComparison, zt as PLAN_HOOK_OUTPUT_MAX_CHARS } from "./config-UtUuBh34.js";
|
|
9
|
+
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-DmqMJgpO.js";
|
|
10
|
+
import { A as resolveRefocusTaskTitle, B as encodeProjectDir, C as extractHookTaskTitle, D as isSubstantivePrompt, E as isSelfWakePrompt, F as pickAutoResume, H as listRepoWorktreePaths, I as resolveResumeTarget, L as resumePromptFor, M as seedTaskTitleSources, N as AUTO_CONTINUE_PROMPT, O as parseRefinedSessionName, P as RESUME_ID_RE, R as shouldAdoptReportedResumeId, S as extractAiTitle, T as extractPromptTaskTitle, U as isAutoNameOf, V as listRepoConversations, W as nextSuggestedName, _ as buildPersistedTaskTitle, a as decideSpawnAllowance, b as cleanTaskPrompt, c as describeKeptChildAttention, d as describeUnpushedCloseRefusal, g as projectReviews, h as projectReviewDetail, i as decideAgentRequest, j as resolveTaskTitle, k as parseRefinedTaskTitle, l as describePushLanding, m as projectMyPrs, n as REFUSAL_REASON, o as deriveChildSessionName, p as parseAgentVerb, s as describeChildEndNote, u as describeRoleRefusal, v as buildTaskTitleRefinementPrompt, w as extractOscTaskTitle, x as decideTaskTitleRefinement, y as chooseRefinedSessionName, z as claudeProjectsDir } from "./agent-api-core-feDdu5Am.js";
|
|
11
11
|
import { a as positiveIntOr, c as textOr, i as numberOr, n as isRecord, o as positiveNumberOr, r as nonNegativeIntOr, s as rawTextOr, t as coercedNumberOr } from "./coerce-NSst8oRP.js";
|
|
12
|
-
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-
|
|
12
|
+
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-CohfIeM0.js";
|
|
13
13
|
import { n as checkGuardrailsDependencies, t as allowGuardedSpawn } from "./guardrails-deps-BfZSPpNs.js";
|
|
14
14
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
15
15
|
import { t as HOOK_VIA_GUARDRAILS_PROXY_ENV } from "./guardrails-proxy-core-BI3rdY-m.js";
|
|
@@ -19,18 +19,18 @@ import { i as saneYoloFiles } from "./sane-yolo-DSyFqbVE.js";
|
|
|
19
19
|
import { _ as lineStartOffsets, a as projectForUri, b as replacedSpanOfWholeTextChange, c as visionsLaneReloadSignature, d as applyDidOpen, f as createDocStore, g as lineOfOffset, h as getDoc, i as isUriInProjects, l as applyDidChange, m as formatRange, n as applyEditorNotification, o as resolveVisionsScopeProjects, p as detectBlankLineBoundary, r as createEditorState, s as scopePathsOf, t as ACTIVITY_METHOD, u as applyDidClose, v as listDocs, x as uriOfParams, y as offsetOfPosition } from "./ingest-editor-core-B2tycW_m.js";
|
|
20
20
|
import { n as DEFAULT_MAX_MS, r as nextBackoffMs, t as DEFAULT_BASE_MS } from "./backoff-DjVpfHk7.js";
|
|
21
21
|
import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.js";
|
|
22
|
-
import { a as readPageTitle, i as filesAfterRetention, n as decideShownKind, o as shownMimeForFilename, r as describeOverCap, t as SHOWN_SNIFF_BYTES } from "./shown-files-core-
|
|
22
|
+
import { a as readPageTitle, i as filesAfterRetention, n as decideShownKind, o as shownMimeForFilename, r as describeOverCap, t as SHOWN_SNIFF_BYTES } from "./shown-files-core-ChMpMUtF.js";
|
|
23
23
|
import { n as shellQuote } from "./hook-command-core-qTNK-xMF.js";
|
|
24
24
|
import { C as parseCgroupBytes, S as memoryReserveBytes, T as parseMemAvailableBytes, _ as createSpawnGate, a as jsonStateLoadError, b as cgroupLimitBytes, c as loadedJsonValue, d as writeJsonAtomicSync, f as writeTextAtomic, 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-BjFK_eSH.js";
|
|
25
|
-
import { $ as DEFAULT_BRANCH_GC_PREFIXES, A as isExperimentalSetting, B as claudeAccountUuidOf, F as buildAiGenerationEvents, G as exceptionFingerprint, H as decideIsDevInstall, I as buildBrowserExceptionProperties, J as resolveProjectToken, K as nodeMajorVersion, L as buildExceptionProperties, M as TELEMETRY_BATCH_URL, N as TELEMETRY_FLAGS_URL, P as adapterBucket, R as buildPersonProperties, U as decideRemoteTelemetryState, V as codexUserIdOf, W as decideTelemetryConsent, Z as stableConfigKey, _ as SETTINGS_INDEX, a as ensureProjectIds, at as worktreeIntegrationTips, ct as isSameDirectoryPath, et as matchedPrefix, g as validateSettingsBlock, h as settingsBlockSpecFor, i as createConfigStore, it as usablePrefixes, j as FIRST_RUN_NOTICE, m as mergeSettingsBlock, n as DEFAULT_CONFIG, nt as planWorktreeGc, o as generateProjectId, ot as canonicalizePath, q as parsePosthogReleaseId, rt as sessionIdFromBranch, s as glimmervoidHomeDir$1, st as comparableDirectoryPath, t as ABORT_CONFIG_SAVE, tt as planBranchGc, z as classifySessionExit } from "./config-store-
|
|
26
|
-
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-
|
|
27
|
-
import { $ as identityFromRelPath, A as decideFileRead, B as sessionsRootCandidates, C as pickNewestPublished, D as codexRootCandidates, E as codexHomes, F as kimiHomes, G as kimiSessionIdFromPath, H as shouldPersistWarehouse, I as passOutcome, J as dedupKeys, K as parseKimiUsageLine, L as projectDirCandidates, M as expandTilde, N as grokHomes, O as codexSessionIdFromPath, P as isUsageFile, Q as foldReplacementIntoGenerationRollup, R as resolveProjectsDirs, S as parseResolvedSha, T as codexFallbackRoots, U as splitLines$1, V as shouldEvaluateDespiteIoFailures, W as kimiDedupIdentity, X as expandAdvisorIterations, Y as emptyTotals, Z as foldEntryIntoGenerationRollup, _ as isCheckFresh, a as describeAgentResolvability, at as totalTokensOf$1, b as parseRegistryDeprecation, c as isKnownAgentId, ct as claudeCode, d as resolveAdapter, et as isWithinGenerationRecencyWindow, f as setCustomAgents, g as decideUpdateStatus, h as decideInstallFlavor, i as customAgentFingerprint, it as shouldReplace, j as dedupeCodexFiles, k as continuationDelayMs, l as listAgentIds, m as readHostCodexVersion, n as cachedAgentResolvability, nt as parseJsonLine, o as getAdapter, ot as vendorUsageEntry, p as codex, q as addEntryToTotals, r as commandFor, rt as parseUsageLine, s as hookProfileOf, st as HOOK_TOOLS, t as DEFAULT_AGENT_ID, tt as mergeGenerationRollups, u as resetCommandCache, v as normalizeSha, w as shortSha$1, x as parseRegistryLatest, y as normalizeUpdateChannel, z as scopedClaudeRoots } from "./adapters-
|
|
25
|
+
import { $ as DEFAULT_BRANCH_GC_PREFIXES, A as isExperimentalSetting, B as claudeAccountUuidOf, F as buildAiGenerationEvents, G as exceptionFingerprint, H as decideIsDevInstall, I as buildBrowserExceptionProperties, J as resolveProjectToken, K as nodeMajorVersion, L as buildExceptionProperties, M as TELEMETRY_BATCH_URL, N as TELEMETRY_FLAGS_URL, P as adapterBucket, R as buildPersonProperties, U as decideRemoteTelemetryState, V as codexUserIdOf, W as decideTelemetryConsent, Z as stableConfigKey, _ as SETTINGS_INDEX, a as ensureProjectIds, at as worktreeIntegrationTips, ct as isSameDirectoryPath, et as matchedPrefix, g as validateSettingsBlock, h as settingsBlockSpecFor, i as createConfigStore, it as usablePrefixes, j as FIRST_RUN_NOTICE, m as mergeSettingsBlock, n as DEFAULT_CONFIG, nt as planWorktreeGc, o as generateProjectId, ot as canonicalizePath, q as parsePosthogReleaseId, rt as sessionIdFromBranch, s as glimmervoidHomeDir$1, st as comparableDirectoryPath, t as ABORT_CONFIG_SAVE, tt as planBranchGc, z as classifySessionExit } from "./config-store-C3qyzEl_.js";
|
|
26
|
+
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-BCFPJ4rP.js";
|
|
27
|
+
import { $ as identityFromRelPath, A as decideFileRead, B as sessionsRootCandidates, C as pickNewestPublished, D as codexRootCandidates, E as codexHomes, F as kimiHomes, G as kimiSessionIdFromPath, H as shouldPersistWarehouse, I as passOutcome, J as dedupKeys, K as parseKimiUsageLine, L as projectDirCandidates, M as expandTilde, N as grokHomes, O as codexSessionIdFromPath, P as isUsageFile, Q as foldReplacementIntoGenerationRollup, R as resolveProjectsDirs, S as parseResolvedSha, T as codexFallbackRoots, U as splitLines$1, V as shouldEvaluateDespiteIoFailures, W as kimiDedupIdentity, X as expandAdvisorIterations, Y as emptyTotals, Z as foldEntryIntoGenerationRollup, _ as isCheckFresh, a as describeAgentResolvability, at as totalTokensOf$1, b as parseRegistryDeprecation, c as isKnownAgentId, ct as claudeCode, d as resolveAdapter, et as isWithinGenerationRecencyWindow, f as setCustomAgents, g as decideUpdateStatus, h as decideInstallFlavor, i as customAgentFingerprint, it as shouldReplace, j as dedupeCodexFiles, k as continuationDelayMs, l as listAgentIds, m as readHostCodexVersion, n as cachedAgentResolvability, nt as parseJsonLine, o as getAdapter, ot as vendorUsageEntry, p as codex, q as addEntryToTotals, r as commandFor, rt as parseUsageLine, s as hookProfileOf, st as HOOK_TOOLS, t as DEFAULT_AGENT_ID, tt as mergeGenerationRollups, u as resetCommandCache, v as normalizeSha, w as shortSha$1, x as parseRegistryLatest, y as normalizeUpdateChannel, z as scopedClaudeRoots } from "./adapters-BUIhxDpx.js";
|
|
28
28
|
import { c as releaseUnheldKimiHomeSecrets, d as sessionIdOfLockFile, f as trashSessionTempFolderOnceUnheld, i as kimiHomeLinkRefusal, l as createHeldSessionTempFolder, n as generatedKimiHomePath, o as realKimiHome, u as releaseSessionLock } from "./kimi-home-WZ9E4f-u.js";
|
|
29
|
-
import { t as kimi } from "./kimi-
|
|
29
|
+
import { t as kimi } from "./kimi-CAffJDfn.js";
|
|
30
30
|
import { _ as escapeMarkup, g as createLaneLog, n as createVisionsSetup, v as refuseRunningNodeLaunches, y as stableNodePath } from "./visions-setup-DVl9-SzU.js";
|
|
31
31
|
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";
|
|
32
|
-
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, p as hashSecret, r as validateRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-
|
|
33
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
32
|
+
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, p as hashSecret, r as validateRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-DzZEUfOF.js";
|
|
33
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-CvQg3SzL.js";
|
|
34
34
|
import { createRequire } from "node:module";
|
|
35
35
|
import fs, { readFileSync, readlinkSync } from "node:fs";
|
|
36
36
|
import path, { join, resolve } from "node:path";
|
|
@@ -4759,6 +4759,20 @@ function createAgentApiWiring({ config, agentSessions, listAllSessions, listBoar
|
|
|
4759
4759
|
}
|
|
4760
4760
|
};
|
|
4761
4761
|
}
|
|
4762
|
+
function reviews(pullRequestKey) {
|
|
4763
|
+
if (!operatorState) return githubLanesUnavailable();
|
|
4764
|
+
const status = operatorState.teamReviewStatus();
|
|
4765
|
+
if (pullRequestKey === null) return {
|
|
4766
|
+
status: 200,
|
|
4767
|
+
body: projectReviews(status)
|
|
4768
|
+
};
|
|
4769
|
+
const detail = projectReviewDetail(status, pullRequestKey);
|
|
4770
|
+
if (!detail) return refusal(404, `${pullRequestKey} is not in the Reviews tab, so run glimmervoid review ${pullRequestKey} to queue one`);
|
|
4771
|
+
return {
|
|
4772
|
+
status: 200,
|
|
4773
|
+
body: detail
|
|
4774
|
+
};
|
|
4775
|
+
}
|
|
4762
4776
|
function linkPr(session, pullRequestKey) {
|
|
4763
4777
|
const link = manualPrLink(pullRequestKey, operatorState?.myPrsStatus()?.prs ?? [], Date.now());
|
|
4764
4778
|
if (!link) return refusal(400, `not a GitHub pull request: ${pullRequestKey}`);
|
|
@@ -4944,10 +4958,7 @@ function createAgentApiWiring({ config, agentSessions, listAllSessions, listBoar
|
|
|
4944
4958
|
body: limits(session)
|
|
4945
4959
|
}),
|
|
4946
4960
|
review: (_session, { pullRequestKey }) => review(pullRequestKey),
|
|
4947
|
-
reviews: () =>
|
|
4948
|
-
status: 200,
|
|
4949
|
-
body: projectReviews(operatorState.teamReviewStatus())
|
|
4950
|
-
} : githubLanesUnavailable(),
|
|
4961
|
+
reviews: (_session, { pullRequestKey }) => reviews(pullRequestKey),
|
|
4951
4962
|
prs: () => operatorState ? {
|
|
4952
4963
|
status: 200,
|
|
4953
4964
|
body: projectMyPrs(operatorState.myPrsStatus())
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { l as resolveConfigPath } from "./config-store-
|
|
3
|
-
import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-
|
|
2
|
+
import { l as resolveConfigPath } from "./config-store-C3qyzEl_.js";
|
|
3
|
+
import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-DzZEUfOF.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
//#region server/text-format.ts
|
|
6
6
|
function trimIso(iso) {
|
|
@@ -3,7 +3,7 @@ import { n as equalsIgnoringCaseOnWindows } from "./paths-Bu4eH1Yd.js";
|
|
|
3
3
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
4
4
|
import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.js";
|
|
5
5
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-BjFK_eSH.js";
|
|
6
|
-
import { ot as canonicalizePath, s as glimmervoidHomeDir } from "./config-store-
|
|
6
|
+
import { ot as canonicalizePath, s as glimmervoidHomeDir } from "./config-store-C3qyzEl_.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import crypto from "node:crypto";
|
|
@@ -1037,6 +1037,7 @@ z.object({
|
|
|
1037
1037
|
ephemeral: SessionSnapshot.shape.ephemeral
|
|
1038
1038
|
}).strict();
|
|
1039
1039
|
var AgentPullRequestRequest = z.object({ pr: z.string({ error: "pr must be a string" }).min(1, { error: "pr must not be empty" }).max(300, { error: "pr must be at most 300 characters" }) }).strict();
|
|
1040
|
+
var AgentReviewsRequest = z.object({ pr: AgentPullRequestRequest.shape.pr.optional() }).strict();
|
|
1040
1041
|
var AgentSettingsRequest = z.object({
|
|
1041
1042
|
command: z.enum(["list", "get"], { error: "command must be list or get" }),
|
|
1042
1043
|
path: z.string({ error: "path must be a string" }).min(1, { error: "path must not be empty" }).max(200, { error: "path must be at most 200 characters" }).optional()
|
|
@@ -1069,6 +1070,18 @@ z.object({
|
|
|
1069
1070
|
isOutOfDate: z.boolean()
|
|
1070
1071
|
}))
|
|
1071
1072
|
}).strict();
|
|
1073
|
+
z.object({
|
|
1074
|
+
ok: z.literal(true),
|
|
1075
|
+
key: z.string(),
|
|
1076
|
+
state: z.enum([
|
|
1077
|
+
"drafted",
|
|
1078
|
+
"reviewing",
|
|
1079
|
+
"queued"
|
|
1080
|
+
]),
|
|
1081
|
+
phase: InFlightReview.shape.phase.nullable(),
|
|
1082
|
+
note: z.string().nullable(),
|
|
1083
|
+
draft: ReviewDraft.nullable()
|
|
1084
|
+
}).strict();
|
|
1072
1085
|
z.object({
|
|
1073
1086
|
ok: z.literal(true),
|
|
1074
1087
|
configured: z.boolean(),
|
|
@@ -1137,4 +1150,4 @@ var AgentLimitsReply = z.object({
|
|
|
1137
1150
|
}).strict())
|
|
1138
1151
|
}).strict().extend({ ok: z.literal(true) }).strict();
|
|
1139
1152
|
//#endregion
|
|
1140
|
-
export {
|
|
1153
|
+
export { MyPrMergeWhenReadyResult as $, STATES as $t, SSH_SIGN_BODY_CAP_BYTES as A, TeamReviewStatus as At, LinkedPr as B, shortSha as Bt, SESSION_COMMANDS as C, ReviewThreadId as Ct, SESSION_NAME_RULE_TEXT as D, TeamReviewCompareFiles as Dt, SESSION_NAME_PATTERN as E, TeamReviewActionResult as Et, SshSignReply as F, decisionAsIfApprovalRequired as Ft, MyPrKeepMergeableRequest as G, GithubPollingRefreshRequest as Gt, MyPrAutoRebase as H, NODE_ID_RE as Ht, SshSignRequest as I, hasRequiredActionHead as It, MyPrMergeMethod as J, githubPollingShape as Jt, MyPrKeepMergeableResult as K, GithubPollingRefreshResult as Kt, TASK_TITLE_CONTROL_CHARACTERS as L, hasStandingViewerApproval as Lt, SessionSnapshot as M, TeamReviewThreadResult as Mt, SessionState as N, TeamReviewThreadsRepository as Nt, SHOWN_FILE_CAP_BYTES as O, TeamReviewResolveResponse as Ot, ShownFile as P, canApproveAfterComment as Pt, MyPrMergeWhenReadyRequest as Q, RESTARTABLE_STATES as Qt, TaskTitle as R, FULL_SHA_RE as Rt, RefinedTaskTitle as S, ReviewResult as St, SESSION_DOC_PATH_MAX_CHARS as T, TeamReviewActionRequest as Tt, MyPrCheckContext as U, REPO_SLUG_RE as Ut, MyPr as V, GH_SEGMENT as Vt, MyPrCheckContextsResponse as W, repoParts as Wt, MyPrMergeResult as X, KILLABLE_STATES as Xt, MyPrMergeRequest as Y, BADGE_LABELS as Yt, MyPrMergeStateResponse as Z, MERGEABLE_LIVE_STATES as Zt, CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS as _, PrDetail as _t, AgentAttentionRequest as a, MyPrsStatus as at, CoherenceHooksState as b, ReviewDraft as bt, AgentLimitsReply as c, repositoryName as ct, AgentReviewsRequest as d, EarlierReview as dt, MyPrSearchNode as et, AgentSendRequest as f, FindingSeverity as ft, COHERENCE_HOOKS_INACTIVE as g, PostingPlan as gt, AgentSpawnRequest as h, PostedReviewEvent as ht, AgentAnswerRequest as i, MyPrsState as it, SessionDoc as j, TeamReviewThreadCommentsResponse as jt, SIGN_URL_ENV as k, TeamReviewStateEntry as kt, AgentPullRequestRequest as l, CommitSha as lt, AgentSettingsRequest as m, GithubReviewState as mt, AGENT_URL_ENV as n, MyPrThreadsResponse as nt, AgentCloseRequest as o, SessionPrLinks as ot, AgentSettingsReply as p, GithubReviewDecision as pt, MyPrLaneEntry as q, GithubPrsFreshness as qt, ASK_USER_QUESTION_TOOL_NAME as r, MyPrsSnapshot as rt, AgentEditRequest as s, pullRequestKeyFormat as st, AGENT_API_VERBS as t, MyPrThreadNode as tt, AgentReadRequest as u, DECIDING_REVIEW_STATES as ut, CONVERSATION_PERMISSION_HOOK_EVENT as v, ReviewChecksState as vt, SESSION_DOC_BODY_CAP_BYTES as w, ReviewVerdict as wt, ConversationQuestion as x, ReviewFinding as xt, CONVERSATION_TOOL_RESULT_HOOK_EVENT as y, ReviewComment as yt, UnseenOutcome as z, HEX_SHA_RE as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as SESSION_COMMANDS } from "./session-Cwin6Vf4.js";
|
|
2
2
|
//#region session/core/session-routes.ts
|
|
3
3
|
var SUPERVISION_LINE = "Glimmervoid supervises this session. Run glimmervoid --help for the commands it gives you and this session's limits.";
|
|
4
4
|
var SPAWN_LINE = "To delegate work that edits files or runs long, use glimmervoid spawn rather than an in-process subagent: the spawned session gets its own dashboard card the operator can watch. An in-process subagent stays fine for a quick read-only lookup.";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
|
|
2
2
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
3
|
-
import {
|
|
4
|
-
import { r as BrowserConfig } from "./config-
|
|
3
|
+
import { p as AgentSettingsReply } from "./session-Cwin6Vf4.js";
|
|
4
|
+
import { r as BrowserConfig } from "./config-UtUuBh34.js";
|
|
5
5
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
6
6
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
7
|
-
import { C as scoreSettingsSearch, D as valueAtPath, Q as withEnvSecrets, S as parsePosthogProjectSelection, X as readEnvSecrets, Y as ENV_SECRET_BINDINGS, c as loadConfigFile, d as validateConfig, f as isSettingAvailable, k as SETTINGS_REGISTRY, r as IS_EXPERIMENTAL_BUILD, u as saveConfigFileOnce, v as cloneValue, w as setValueAtPath, y as deleteValueAtPath } from "./config-store-
|
|
8
|
-
import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as availableSettings } from "./settings-readout-core-
|
|
7
|
+
import { C as scoreSettingsSearch, D as valueAtPath, Q as withEnvSecrets, S as parsePosthogProjectSelection, X as readEnvSecrets, Y as ENV_SECRET_BINDINGS, c as loadConfigFile, d as validateConfig, f as isSettingAvailable, k as SETTINGS_REGISTRY, r as IS_EXPERIMENTAL_BUILD, u as saveConfigFileOnce, v as cloneValue, w as setValueAtPath, y as deleteValueAtPath } from "./config-store-C3qyzEl_.js";
|
|
8
|
+
import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as availableSettings } from "./settings-readout-core-CvQg3SzL.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { parseArgs } from "node:util";
|
|
@@ -330,7 +330,7 @@ function processIo() {
|
|
|
330
330
|
async function runSettingsCli(commandArguments, io = processIo()) {
|
|
331
331
|
const serverRequest = settingsRequestForServer(commandArguments, process.env);
|
|
332
332
|
if (!serverRequest) return runSettingsCommand(commandArguments, io);
|
|
333
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
333
|
+
const { askAgentApi } = await import("./agent-api-cli-iIZ-SXbs.js");
|
|
334
334
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
335
335
|
ok: false,
|
|
336
336
|
error: errorMessage(error)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as AgentSettingsRequest } from "./session-Cwin6Vf4.js";
|
|
2
2
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
3
|
-
import { D as valueAtPath, E as settingsOf, O as FILE_ONLY_GROUPS, T as settingsGroupOf, X as readEnvSecrets, _ as SETTINGS_INDEX, b as displayText, f as isSettingAvailable, k as SETTINGS_REGISTRY, v as cloneValue, x as hasScaledUnit } from "./config-store-
|
|
3
|
+
import { D as valueAtPath, E as settingsOf, O as FILE_ONLY_GROUPS, T as settingsGroupOf, X as readEnvSecrets, _ as SETTINGS_INDEX, b as displayText, f as isSettingAvailable, k as SETTINGS_REGISTRY, v as cloneValue, x as hasScaledUnit } from "./config-store-C3qyzEl_.js";
|
|
4
4
|
import { parseArgs } from "node:util";
|
|
5
5
|
//#region server/core/settings-readout-core.ts
|
|
6
6
|
var VALUE_COLUMN_WIDTH = 40;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as SIGN_URL_ENV, n as AGENT_URL_ENV } from "./session-Cwin6Vf4.js";
|
|
2
2
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
3
3
|
import { n as SANE_YOLO_PATH_ENV, r as saneYoloEnv } from "./sane-yolo-DSyFqbVE.js";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { F as SshSignReply, k as SIGN_URL_ENV } from "./session-Cwin6Vf4.js";
|
|
3
3
|
import { c as spawn, r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
4
4
|
import { a as isLoopbackHostname } from "./hook-relay-core-DA_bz2KA.js";
|
|
5
|
-
import { n as postToAgentIngress } from "./agent-api-cli-
|
|
5
|
+
import { n as postToAgentIngress } from "./agent-api-cli-r9ldOM9F.js";
|
|
6
6
|
import { l as parseSshPublicKey } from "./ssh-signing-core-CRhVVWNW.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|