glimmervoid 0.48.1-next.308 → 0.48.1-next.309
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-BgAz8U6R.js → adapters-BEvV83qQ.js} +7 -7
- package/dist/chunks/{adapters-BIpSPnds.js → adapters-TE3rN6nc.js} +1 -1
- package/dist/chunks/{agent-api-cli-C4fE96v_.js → agent-api-cli-DD9EE5Ab.js} +4 -4
- package/dist/chunks/{agent-api-cli-BwRA1z2X.js → agent-api-cli-Wsuo3vry.js} +1 -1
- package/dist/chunks/{agent-api-core-CrnLG9oR.js → agent-api-core-CRjUWPzJ.js} +3 -3
- package/dist/chunks/{agent-setup-cli-H6oYXIuI.js → agent-setup-cli-C3R5_hr1.js} +1 -1
- package/dist/chunks/{build-channel-DWe9n-Gs.js → build-channel-Cu5g6SF6.js} +2 -2
- package/dist/chunks/{config-BXVVIJtj.js → config-BIVF12fQ.js} +5 -1
- package/dist/chunks/config-store-Cwj6Cw4J.js +1 -0
- package/dist/chunks/{config-store-BzNDzpMK.js → config-store-DDyjZ3_N.js} +2 -2
- package/dist/chunks/{git-version-BeOjhVq9.js → git-version-1GAmaB1a.js} +1 -1
- package/dist/chunks/{grok-CRZfS-M5.js → grok-DfDmKxvq.js} +1 -1
- package/dist/chunks/kimi-CGoGWhyH.js +1 -0
- package/dist/chunks/{kimi-Dzr2-y9R.js → kimi-Ca_TUWvR.js} +2 -2
- package/dist/chunks/{main-BxZwFpFF.js → main-DaTZd6uF.js} +19 -13
- package/dist/chunks/{pair-cli-jaTEZHZS.js → pair-cli-tUavzZpc.js} +2 -2
- package/dist/chunks/{remote-config-CLoClQAY.js → remote-config-BHAebIxM.js} +1 -1
- package/dist/chunks/{session-DfOgGb2N.js → session-CcJLn3EZ.js} +2 -1
- package/dist/chunks/{session-routes-D-8mGNXo.js → session-routes-BGK07awr.js} +1 -1
- package/dist/chunks/{settings-cli-D-yPOfmb.js → settings-cli-tATjhUS6.js} +5 -5
- package/dist/chunks/{settings-readout-core-Bhl50wBz.js → settings-readout-core-CDAv-bJS.js} +2 -2
- package/dist/chunks/{shown-files-core-Dji9dyEZ.js → shown-files-core-hKeo7SMT.js} +1 -1
- package/dist/chunks/{spawn-env-D418d7G5.js → spawn-env-BjrDpxkx.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-COBpw0mq.js → ssh-sign-cli-CCE8l4Ed.js} +2 -2
- package/dist/client/assets/{action-status-kk44Chh1.js → action-status-DN4P3ZYj.js} +1 -1
- package/dist/client/assets/action-status-DN4P3ZYj.js.br +0 -0
- package/dist/client/assets/benchmark-panel-DLBDIB8b.js +1 -0
- package/dist/client/assets/benchmark-panel-DLBDIB8b.js.br +0 -0
- package/dist/client/assets/{boards-view-DNE6erO_.js → boards-view-8JP3htiD.js} +1 -1
- package/dist/client/assets/boards-view-8JP3htiD.js.br +0 -0
- package/dist/client/assets/{card-registry-B64dcSts.js → card-registry-KOEOaX0K.js} +1 -1
- package/dist/client/assets/card-registry-KOEOaX0K.js.br +0 -0
- package/dist/client/assets/{celebration-player-Dm1-IsWw.js → celebration-player-BV8Jvx23.js} +1 -1
- package/dist/client/assets/celebration-player-BV8Jvx23.js.br +0 -0
- package/dist/client/assets/community-panel-YAlcaw3T.js +1 -0
- package/dist/client/assets/community-panel-YAlcaw3T.js.br +0 -0
- package/dist/client/assets/{control-ws-BD6vmr_v.js → control-ws-ZZY6O0nz.js} +1 -1
- package/dist/client/assets/control-ws-ZZY6O0nz.js.br +0 -0
- package/dist/client/assets/{dialogs-uXqnNqqP.js → dialogs-C-0vcr-Z.js} +1 -1
- package/dist/client/assets/dialogs-C-0vcr-Z.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-xWniSv3t.js → doc-editor-ui-CFPTrDxh.js} +1 -1
- package/dist/client/assets/doc-editor-ui-CFPTrDxh.js.br +0 -0
- package/dist/client/assets/dom-helpers-DBbFg1c_.js +1 -0
- package/dist/client/assets/dom-helpers-DBbFg1c_.js.br +0 -0
- package/dist/client/assets/{feature-hint-D2LVkzdH.js → feature-hint-XHjTBSJr.js} +1 -1
- package/dist/client/assets/feature-hint-XHjTBSJr.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-C8De_VC7.js → first-run-checklist-DGaGx9QD.js} +1 -1
- package/dist/client/assets/first-run-checklist-DGaGx9QD.js.br +0 -0
- package/dist/client/assets/{hooks-panel-Dn_PSSSI.js → hooks-panel-XOpL0N6D.js} +1 -1
- package/dist/client/assets/hooks-panel-XOpL0N6D.js.br +0 -0
- package/dist/client/assets/{index-DsASf_a6.js → index-D1hl_mom.js} +6 -6
- package/dist/client/assets/index-D1hl_mom.js.br +0 -0
- package/dist/client/assets/index-D8xWXarK.css +2 -0
- package/dist/client/assets/index-D8xWXarK.css.br +0 -0
- package/dist/client/assets/issues-panel-7RvTnkH7.js +1 -0
- package/dist/client/assets/issues-panel-7RvTnkH7.js.br +0 -0
- package/dist/client/assets/{modal-BRwbyxA2.js → modal-USMHOKBI.js} +1 -1
- package/dist/client/assets/modal-USMHOKBI.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-Dv63YqRm.js → my-prs-panel-BRTjfX7n.js} +1 -1
- package/dist/client/assets/my-prs-panel-BRTjfX7n.js.br +0 -0
- package/dist/client/assets/{nyan-cat-DNVfPnk5.js → nyan-cat-A9-kyvwg.js} +1 -1
- package/dist/client/assets/nyan-cat-A9-kyvwg.js.br +0 -0
- package/dist/client/assets/{phone-shell-BZMnSiWr.js → phone-shell-B8Tnhiej.js} +1 -1
- package/dist/client/assets/phone-shell-B8Tnhiej.js.br +0 -0
- package/dist/client/assets/{plan-face-DfH5aMiO.js → plan-face-Cjp2md9w.js} +1 -1
- package/dist/client/assets/plan-face-Cjp2md9w.js.br +0 -0
- package/dist/client/assets/{plan-render-C8l7emEk.js → plan-render-BpbFTInV.js} +1 -1
- package/dist/client/assets/plan-render-BpbFTInV.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-OAxWJaio.js → pr-queue-columns-C2bJ4jXT.js} +1 -1
- package/dist/client/assets/pr-queue-columns-C2bJ4jXT.js.br +0 -0
- package/dist/client/assets/{radar-panel-DVzBeQoh.js → radar-panel-CEQfXiI9.js} +1 -1
- package/dist/client/assets/radar-panel-CEQfXiI9.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-4VM3AOoo.js → repo-roots-adder-DzaMqYTR.js} +1 -1
- package/dist/client/assets/repo-roots-adder-DzaMqYTR.js.br +0 -0
- package/dist/client/assets/{resume-dialog-vBulzoIE.js → resume-dialog-DxAaTzLW.js} +1 -1
- package/dist/client/assets/resume-dialog-DxAaTzLW.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-C2Y5oEcS.js → review-queue-panel-CT2mfqYi.js} +1 -1
- package/dist/client/assets/review-queue-panel-CT2mfqYi.js.br +0 -0
- package/dist/client/assets/{sandboxed-frame-qKHbOuc_.js → sandboxed-frame-D9MEfNuX.js} +1 -1
- package/dist/client/assets/{session-tick-l9b2ubm6.js → session-tick-BScyNMec.js} +1 -1
- package/dist/client/assets/session-tick-BScyNMec.js.br +0 -0
- package/dist/client/assets/{settings-panel-DEf3oRtw.js → settings-panel-BcodF_Nh.js} +3 -3
- package/dist/client/assets/settings-panel-BcodF_Nh.js.br +0 -0
- package/dist/client/assets/setup-step-D0y3riKj.js +1 -0
- package/dist/client/assets/setup-step-D0y3riKj.js.br +0 -0
- package/dist/client/assets/{shown-lightbox-D8F7rYN3.js → shown-lightbox-KGYmvsXw.js} +1 -1
- package/dist/client/assets/shown-lightbox-KGYmvsXw.js.br +0 -0
- package/dist/client/assets/team-review-panel-BzhQmoJg.js +10 -0
- package/dist/client/assets/team-review-panel-BzhQmoJg.js.br +0 -0
- package/dist/client/assets/{trace-panel-DOHGSjXT.js → trace-panel-jst4yjmY.js} +2 -2
- package/dist/client/assets/trace-panel-jst4yjmY.js.br +0 -0
- package/dist/client/assets/{ui-prefs-D3IzhnZj.js → ui-prefs-DfBm2IRm.js} +1 -1
- package/dist/client/assets/ui-prefs-DfBm2IRm.js.br +0 -0
- package/dist/client/assets/updates-view-core-D9wi2i2r.js +1 -0
- package/dist/client/assets/updates-view-core-D9wi2i2r.js.br +0 -0
- package/dist/client/assets/{usage-panel-CwCgKA77.js → usage-panel-DE3i6GNA.js} +1 -1
- package/dist/client/assets/usage-panel-DE3i6GNA.js.br +0 -0
- package/dist/client/assets/{your-day-tip-DHQwhLEU.js → your-day-tip-CGlchP6_.js} +1 -1
- package/dist/client/assets/your-day-tip-CGlchP6_.js.br +3 -0
- package/dist/client/index.html +10 -10
- 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-CIWjVjZt.js +0 -1
- package/dist/chunks/kimi-C91jlxf4.js +0 -1
- package/dist/client/assets/action-status-kk44Chh1.js.br +0 -0
- package/dist/client/assets/benchmark-panel-CGNccVOV.js +0 -1
- package/dist/client/assets/benchmark-panel-CGNccVOV.js.br +0 -0
- package/dist/client/assets/boards-view-DNE6erO_.js.br +0 -0
- package/dist/client/assets/card-registry-B64dcSts.js.br +0 -0
- package/dist/client/assets/celebration-player-Dm1-IsWw.js.br +0 -0
- package/dist/client/assets/community-panel-DerV4vGP.js +0 -1
- package/dist/client/assets/community-panel-DerV4vGP.js.br +0 -0
- package/dist/client/assets/control-ws-BD6vmr_v.js.br +0 -0
- package/dist/client/assets/dialogs-uXqnNqqP.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-xWniSv3t.js.br +0 -0
- package/dist/client/assets/dom-helpers-I_SDCPvs.js +0 -1
- package/dist/client/assets/dom-helpers-I_SDCPvs.js.br +0 -0
- package/dist/client/assets/feature-hint-D2LVkzdH.js.br +0 -0
- package/dist/client/assets/first-run-checklist-C8De_VC7.js.br +0 -0
- package/dist/client/assets/hooks-panel-Dn_PSSSI.js.br +0 -0
- package/dist/client/assets/index-DsASf_a6.js.br +0 -0
- package/dist/client/assets/index-oJJ-0XMR.css +0 -2
- package/dist/client/assets/index-oJJ-0XMR.css.br +0 -0
- package/dist/client/assets/issues-panel-B0zpSdc8.js +0 -1
- package/dist/client/assets/issues-panel-B0zpSdc8.js.br +0 -0
- package/dist/client/assets/modal-BRwbyxA2.js.br +0 -0
- package/dist/client/assets/my-prs-panel-Dv63YqRm.js.br +0 -0
- package/dist/client/assets/nyan-cat-DNVfPnk5.js.br +0 -0
- package/dist/client/assets/phone-shell-BZMnSiWr.js.br +0 -0
- package/dist/client/assets/plan-face-DfH5aMiO.js.br +0 -0
- package/dist/client/assets/plan-render-C8l7emEk.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-OAxWJaio.js.br +0 -0
- package/dist/client/assets/radar-panel-DVzBeQoh.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-4VM3AOoo.js.br +0 -0
- package/dist/client/assets/resume-dialog-vBulzoIE.js.br +0 -0
- package/dist/client/assets/review-queue-panel-C2Y5oEcS.js.br +0 -0
- package/dist/client/assets/session-tick-l9b2ubm6.js.br +0 -0
- package/dist/client/assets/settings-panel-DEf3oRtw.js.br +0 -0
- package/dist/client/assets/setup-step-A17VjQwT.js +0 -1
- package/dist/client/assets/setup-step-A17VjQwT.js.br +0 -0
- package/dist/client/assets/shown-lightbox-D8F7rYN3.js.br +0 -0
- package/dist/client/assets/team-review-panel-DlcpDZV4.js +0 -10
- package/dist/client/assets/team-review-panel-DlcpDZV4.js.br +0 -0
- package/dist/client/assets/trace-panel-DOHGSjXT.js.br +0 -0
- package/dist/client/assets/ui-prefs-D3IzhnZj.js.br +0 -0
- package/dist/client/assets/updates-view-core-CNVI84GM.js +0 -1
- package/dist/client/assets/updates-view-core-CNVI84GM.js.br +0 -0
- package/dist/client/assets/usage-panel-CwCgKA77.js.br +0 -0
- package/dist/client/assets/your-day-tip-DHQwhLEU.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 { 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-CcJLn3EZ.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-CRjUWPzJ.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-1GAmaB1a.js";
|
|
11
11
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
@@ -57,25 +57,25 @@ var OWN_SUBCOMMAND_RUNNERS = [
|
|
|
57
57
|
return 0;
|
|
58
58
|
}],
|
|
59
59
|
["pair", async (subcommandArgs) => {
|
|
60
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
60
|
+
const { runPairCli } = await import("../chunks/pair-cli-tUavzZpc.js");
|
|
61
61
|
return runPairCli(subcommandArgs);
|
|
62
62
|
}],
|
|
63
63
|
["agent", async (subcommandArgs) => {
|
|
64
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
64
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-C3R5_hr1.js");
|
|
65
65
|
return runAgentSetupCli(subcommandArgs);
|
|
66
66
|
}],
|
|
67
67
|
["settings", async (subcommandArgs) => {
|
|
68
|
-
const { runSettingsCli } = await import("../chunks/settings-cli-
|
|
68
|
+
const { runSettingsCli } = await import("../chunks/settings-cli-tATjhUS6.js");
|
|
69
69
|
return runSettingsCli(subcommandArgs);
|
|
70
70
|
}],
|
|
71
71
|
["ssh-sign", async (subcommandArgs) => {
|
|
72
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
72
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-CCE8l4Ed.js");
|
|
73
73
|
return runSshSignCli(subcommandArgs);
|
|
74
74
|
}]
|
|
75
75
|
];
|
|
76
76
|
var ownSubcommandNames = new Set(OWN_SUBCOMMAND_RUNNERS.map(([name]) => name));
|
|
77
77
|
var SUBCOMMAND_RUNNERS = new Map([...OWN_SUBCOMMAND_RUNNERS, ...AGENT_API_VERBS.filter((verb) => !ownSubcommandNames.has(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
|
|
78
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
78
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-Wsuo3vry.js");
|
|
79
79
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
80
80
|
}])]);
|
|
81
81
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -89,7 +89,7 @@ function missingAgentText(agentId) {
|
|
|
89
89
|
}
|
|
90
90
|
async function printSessionLimits() {
|
|
91
91
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
92
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
92
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-Wsuo3vry.js");
|
|
93
93
|
const limitsLines = await sessionLimitsHelpLines();
|
|
94
94
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
95
95
|
}
|
|
@@ -146,7 +146,7 @@ async function readDeclaredCustomAgents() {
|
|
|
146
146
|
declared: [],
|
|
147
147
|
error: null
|
|
148
148
|
};
|
|
149
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
149
|
+
const { loadConfigFile } = await import("../chunks/config-store-Cwj6Cw4J.js");
|
|
150
150
|
try {
|
|
151
151
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
152
152
|
if (!loaded.config) return {
|
|
@@ -222,7 +222,7 @@ async function runDoctor() {
|
|
|
222
222
|
}
|
|
223
223
|
switchSection("Agents");
|
|
224
224
|
try {
|
|
225
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
225
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-TE3rN6nc.js");
|
|
226
226
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
227
227
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
228
228
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -230,10 +230,10 @@ async function runDoctor() {
|
|
|
230
230
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
231
231
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
232
232
|
}
|
|
233
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
233
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-C3R5_hr1.js");
|
|
234
234
|
const grokSetup = inspectGrokAgentSetup();
|
|
235
235
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
236
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
236
|
+
const { default: kimi } = await import("../chunks/kimi-CGoGWhyH.js");
|
|
237
237
|
const { describeAgentHome } = await import("../chunks/agent-home-Bg2CwnwX.js");
|
|
238
238
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-CgoT45SE.js");
|
|
239
239
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
@@ -244,7 +244,7 @@ async function runDoctor() {
|
|
|
244
244
|
try {
|
|
245
245
|
const { resolvePackageBin } = await import("../chunks/runtime-paths-DUfaYypN.js");
|
|
246
246
|
const { execFileSync } = await import("../chunks/child-process-safe-BKjzSEYd.js");
|
|
247
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
247
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-C3R5_hr1.js");
|
|
248
248
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
249
249
|
line("Sane YOLO", binPath || "not installed");
|
|
250
250
|
if (binPath) line("cc-safety-net version", execFileSync(process.execPath, [binPath, "--version"], {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { o as relayPath, u as isPathInside } from "./runtime-paths-D_ZjJLE0.js";
|
|
3
|
-
import { Yt as FULL_SHA_RE, Zt as shortSha$1 } from "./session-
|
|
3
|
+
import { Yt as FULL_SHA_RE, Zt as shortSha$1 } from "./session-CcJLn3EZ.js";
|
|
4
4
|
import { c as spawn, i as execFileSync, r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
5
|
-
import { Ot as UpdateChannel, S as InstallFlavor, c as SHELL_AGENT_ID } from "./config-
|
|
6
|
-
import { o as supervisionLine } from "./session-routes-
|
|
5
|
+
import { Ot as UpdateChannel, S as InstallFlavor, c as SHELL_AGENT_ID } from "./config-BIVF12fQ.js";
|
|
6
|
+
import { o as supervisionLine } from "./session-routes-BGK07awr.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-BjrDpxkx.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-DfDmKxvq.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-Cu5g6SF6.js";
|
|
15
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-Ca_TUWvR.js";
|
|
16
16
|
import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-DgW3orTE.js";
|
|
17
17
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-BzANIIVe.js";
|
|
18
18
|
import fs from "node:fs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-
|
|
1
|
+
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-BEvV83qQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-
|
|
2
|
-
import { i as formatSessionLimits } from "./session-routes-
|
|
3
|
-
import { p as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
1
|
+
import { l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-CcJLn3EZ.js";
|
|
2
|
+
import { i as formatSessionLimits } from "./session-routes-BGK07awr.js";
|
|
3
|
+
import { p as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-CRjUWPzJ.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 { r as describeOverCap } from "./shown-files-core-hKeo7SMT.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import http from "node:http";
|
|
@@ -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-DD9EE5Ab.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, Y as WhiteboardAgentRequest, a as AgentAnswerRequest, c as AgentEditRequest, d as AgentReadRequest, f as AgentReviewsRequest, g as AgentSpawnRequest, h as AgentSettingsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, p as AgentSendRequest, s as AgentCloseRequest, t as AGENT_API_VERBS, u as AgentPullRequestRequest } from "./session-
|
|
2
|
-
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
3
|
-
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-
|
|
1
|
+
import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, Y 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-CcJLn3EZ.js";
|
|
2
|
+
import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-BIVF12fQ.js";
|
|
3
|
+
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-BGK07awr.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
//#region shared/session-naming.ts
|
|
@@ -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-DfDmKxvq.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-CcJLn3EZ.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-BIVF12fQ.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 { B as UnseenOutcome, E as SESSION_DOC_PATH_MAX_CHARS, F as ShownFile, It as TeamReviewActionRequest, J as WHITEBOARD_LIMITS, Lt as TeamReviewActionResult, M as SessionDoc, N as SessionSnapshot, P as SessionState, Q as MyPr, Qt as GH_SEGMENT, U as BoardSummary, V as Board, Vt as TeamReviewStatus, Z as LinkedPr, _t as SessionPrLinks, an as githubPollingShape, bt as CommitSha, dt as MyPrSearchNode, en as REPO_SLUG_RE, gt as MyPrsStatus, in as GithubPrsFreshness, kt as ReviewChecksState, lt as MyPrMergeWhenReadyRequest, nn as GithubPollingRefreshRequest, nt as MyPrKeepMergeableRequest, ot as MyPrMergeRequest, q as Op, qt as hasRequiredActionHead, rn as GithubPollingRefreshResult, rt as MyPrKeepMergeableResult, st as MyPrMergeResult, tn as repoParts, ut as MyPrMergeWhenReadyResult, vt as pullRequestKeyFormat, wt as GithubReviewDecision, x as CoherenceHooksState, yt as repositoryName, z as TaskTitle } from "./session-
|
|
1
|
+
import { B as UnseenOutcome, E as SESSION_DOC_PATH_MAX_CHARS, F as ShownFile, It as TeamReviewActionRequest, J as WHITEBOARD_LIMITS, Lt as TeamReviewActionResult, M as SessionDoc, N as SessionSnapshot, P as SessionState, Q as MyPr, Qt as GH_SEGMENT, U as BoardSummary, V as Board, Vt as TeamReviewStatus, Z as LinkedPr, _t as SessionPrLinks, an as githubPollingShape, bt as CommitSha, dt as MyPrSearchNode, en as REPO_SLUG_RE, gt as MyPrsStatus, in as GithubPrsFreshness, kt as ReviewChecksState, lt as MyPrMergeWhenReadyRequest, nn as GithubPollingRefreshRequest, nt as MyPrKeepMergeableRequest, ot as MyPrMergeRequest, q as Op, qt as hasRequiredActionHead, rn as GithubPollingRefreshResult, rt as MyPrKeepMergeableResult, st as MyPrMergeResult, tn as repoParts, ut as MyPrMergeWhenReadyResult, vt as pullRequestKeyFormat, wt as GithubReviewDecision, x as CoherenceHooksState, yt as repositoryName, z as TaskTitle } from "./session-CcJLn3EZ.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";
|
|
@@ -41,6 +41,7 @@ var issueFields = {
|
|
|
41
41
|
labels: z.array(z.string()),
|
|
42
42
|
assignees: z.array(z.string()),
|
|
43
43
|
author: z.string(),
|
|
44
|
+
isAuthorOrgMember: z.boolean().nullable().default(null),
|
|
44
45
|
comments: z.number().int().nonnegative(),
|
|
45
46
|
createdAt: z.iso.datetime(),
|
|
46
47
|
updatedAt: z.iso.datetime()
|
|
@@ -74,6 +75,7 @@ var GithubIssueResponse = z.object({
|
|
|
74
75
|
labels: z.array(z.union([z.string(), z.object({ name: z.string() })])),
|
|
75
76
|
assignees: z.array(z.object({ login: z.string() })),
|
|
76
77
|
user: z.object({ login: z.string() }).nullable(),
|
|
78
|
+
author_association: z.string().optional(),
|
|
77
79
|
comments: issueFields.comments,
|
|
78
80
|
created_at: issueFields.createdAt,
|
|
79
81
|
updated_at: issueFields.updatedAt,
|
|
@@ -1071,6 +1073,7 @@ var GithubPrLightSearchNode = z.object({
|
|
|
1071
1073
|
});
|
|
1072
1074
|
var GithubPrDetailNode = MyPrSearchNode.extend({
|
|
1073
1075
|
author: WorkflowSearchNode.shape.author.unwrap().extend({ __typename: z.string().optional() }).nullable(),
|
|
1076
|
+
authorAssociation: z.string().optional(),
|
|
1074
1077
|
labels: WorkflowSearchNode.shape.labels,
|
|
1075
1078
|
comments: WorkflowSearchNode.shape.comments,
|
|
1076
1079
|
latestReviews: z.object({ nodes: z.array(MyPrSearchNode.shape.latestReviews.shape.nodes.element.extend({ commit: z.object({ oid: z.string() }).nullable().optional() })) }),
|
|
@@ -1085,6 +1088,7 @@ var GithubPr = z.strictObject({
|
|
|
1085
1088
|
url: MyPr.shape.url,
|
|
1086
1089
|
author: WorkflowPr.shape.author,
|
|
1087
1090
|
isAuthorBot: z.boolean(),
|
|
1091
|
+
isAuthorOrgMember: z.boolean().nullable(),
|
|
1088
1092
|
labels: WorkflowPr.shape.labels,
|
|
1089
1093
|
commentCount: WorkflowPr.shape.commentCount,
|
|
1090
1094
|
isDraft: MyPr.shape.isDraft,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { c as loadConfigFile } from "./config-store-DDyjZ3_N.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, 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, 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, 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, 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-BIVF12fQ.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-Cu5g6SF6.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AGENT_API_VERBS } from "./session-
|
|
1
|
+
import { t as AGENT_API_VERBS } from "./session-CcJLn3EZ.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(["doctor", "pair"]);
|
|
@@ -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-BjrDpxkx.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-Ca_TUWvR.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as relayPath } from "./runtime-paths-D_ZjJLE0.js";
|
|
2
|
-
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-
|
|
2
|
+
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-CcJLn3EZ.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-BjrDpxkx.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";
|
|
@@ -2,30 +2,30 @@ import { a as showHomeAsTilde, i as sanitizeOneLine, n as requireExecutableSpawn
|
|
|
2
2
|
import { a as isMissingFileError, r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
|
|
3
3
|
import { a as packageRoot, c as caseFoldedPathKey, d as safePathSegment, f as sanitizeWorktreeName, i as clientDir, l as equalsIgnoringCaseOnWindows, n as bundled, o as relayPath, r as cliPath, s as resolvePackageBin, t as assetRoot, u as isPathInside } from "./runtime-paths-D_ZjJLE0.js";
|
|
4
4
|
import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
5
|
-
import { $ as MyPrAutoRebase, $t as NODE_ID_RE, A as SIGN_URL_ENV, At as ReviewComment, Bt as TeamReviewStateEntry, Ct as FindingSeverity, D as SESSION_NAME_PATTERN, Dt as PostingPlan, Et as PostedReviewEvent, F as ShownFile, Ft as ReviewVerdict, G as Frame, Gt as canApproveAfterComment, H as BoardRecord, Ht as TeamReviewThreadCommentsResponse, It as TeamReviewActionRequest, J as WHITEBOARD_LIMITS, Jt as hasStandingViewerApproval, K as Note, Kt as decisionAsIfApprovalRequired, L as SshSignRequest, Mt as ReviewFinding, Nt as ReviewResult, O as SESSION_NAME_RULE_TEXT, Ot as PrDetail, Pt as ReviewThreadId, Q as MyPr, Qt as GH_SEGMENT, Rt as TeamReviewCompareFiles, S as ConversationQuestion, St as EarlierReview, T as SESSION_DOC_BODY_CAP_BYTES, Tt as GithubReviewState, Ut as TeamReviewThreadResult, Vt as TeamReviewStatus, W as Box, Wt as TeamReviewThreadsRepository, X as Wire, Xt as HEX_SHA_RE, Z as LinkedPr, Zt as shortSha, _ as COHERENCE_HOOKS_INACTIVE, at as MyPrMergeMethod, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, bt as CommitSha, cn as MERGEABLE_LIVE_STATES, ct as MyPrMergeStateResponse, en as REPO_SLUG_RE, et as MyPrCheckContext, ft as MyPrThreadNode, ht as MyPrsState, i as ASK_USER_QUESTION_TOOL_NAME, it as MyPrLaneEntry, j as SSH_SIGN_BODY_CAP_BYTES, jt as ReviewDraft, k as SHOWN_FILE_CAP_BYTES, ln as RESTARTABLE_STATES, lt as MyPrMergeWhenReadyRequest, mt as MyPrsSnapshot, nt as MyPrKeepMergeableRequest, on as BADGE_LABELS, ot as MyPrMergeRequest, pt as MyPrThreadsResponse, r as AGENT_URL_ENV, sn as KILLABLE_STATES, tn as repoParts, tt as MyPrCheckContextsResponse, un as STATES, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, xt as DECIDING_REVIEW_STATES, y as CONVERSATION_PERMISSION_HOOK_EVENT, z as TaskTitle, zt as TeamReviewResolveResponse } from "./session-
|
|
5
|
+
import { $ as MyPrAutoRebase, $t as NODE_ID_RE, A as SIGN_URL_ENV, At as ReviewComment, Bt as TeamReviewStateEntry, Ct as FindingSeverity, D as SESSION_NAME_PATTERN, Dt as PostingPlan, Et as PostedReviewEvent, F as ShownFile, Ft as ReviewVerdict, G as Frame, Gt as canApproveAfterComment, H as BoardRecord, Ht as TeamReviewThreadCommentsResponse, It as TeamReviewActionRequest, J as WHITEBOARD_LIMITS, Jt as hasStandingViewerApproval, K as Note, Kt as decisionAsIfApprovalRequired, L as SshSignRequest, Mt as ReviewFinding, Nt as ReviewResult, O as SESSION_NAME_RULE_TEXT, Ot as PrDetail, Pt as ReviewThreadId, Q as MyPr, Qt as GH_SEGMENT, Rt as TeamReviewCompareFiles, S as ConversationQuestion, St as EarlierReview, T as SESSION_DOC_BODY_CAP_BYTES, Tt as GithubReviewState, Ut as TeamReviewThreadResult, Vt as TeamReviewStatus, W as Box, Wt as TeamReviewThreadsRepository, X as Wire, Xt as HEX_SHA_RE, Z as LinkedPr, Zt as shortSha, _ as COHERENCE_HOOKS_INACTIVE, at as MyPrMergeMethod, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, bt as CommitSha, cn as MERGEABLE_LIVE_STATES, ct as MyPrMergeStateResponse, en as REPO_SLUG_RE, et as MyPrCheckContext, ft as MyPrThreadNode, ht as MyPrsState, i as ASK_USER_QUESTION_TOOL_NAME, it as MyPrLaneEntry, j as SSH_SIGN_BODY_CAP_BYTES, jt as ReviewDraft, k as SHOWN_FILE_CAP_BYTES, ln as RESTARTABLE_STATES, lt as MyPrMergeWhenReadyRequest, mt as MyPrsSnapshot, nt as MyPrKeepMergeableRequest, on as BADGE_LABELS, ot as MyPrMergeRequest, pt as MyPrThreadsResponse, r as AGENT_URL_ENV, sn as KILLABLE_STATES, tn as repoParts, tt as MyPrCheckContextsResponse, un as STATES, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, xt as DECIDING_REVIEW_STATES, y as CONVERSATION_PERMISSION_HOOK_EVENT, z as TaskTitle, zt as TeamReviewResolveResponse } from "./session-CcJLn3EZ.js";
|
|
6
6
|
import { c as spawn, i as execFileSync, n as execFile, r as execFileAsync, s as refuseLaunchesOf, t as assertLaunchable } from "./child-process-safe-BCOoKfxG.js";
|
|
7
|
-
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, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as MAX_RAW_LINE_CHARS, k as HINT_FEATURES, kt as UpdateJournal, p as USAGE_VENDOR_KEYS, 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 CONTROL_FRAME_MAX_BYTES, wt as CommunityState, x as GithubTeam, xt as CommunityActionRequest, y as ClientMessage, z as CommitComparison, zt as PLAN_HOOK_OUTPUT_MAX_CHARS } from "./config-
|
|
8
|
-
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-
|
|
9
|
-
import { A as parseRefinedTaskTitle, B as shouldAdoptReportedResumeId, C as extractAiTitle, D as isSelfWakePrompt, E as extractPromptTaskTitle, F as RESUME_ID_RE, G as nextSuggestedName, H as listRepoConversations, I as isConversationReplacedAtStartup, L as pickAutoResume, M as resolveTaskTitle, N as seedTaskTitleSources, O as isSubstantivePrompt, P as AUTO_CONTINUE_PROMPT, R as resolveResumeTarget, S as decideTaskTitleRefinement, T as extractOscTaskTitle, U as listRepoWorktreePaths, V as claudeProjectsDir, W as isAutoNameOf, _ as projectReviews, a as decideAgentRequest, b as chooseRefinedSessionName, c as describeChildEndNote, d as describeRoleRefusal, f as describeUnpushedCloseRefusal, g as projectReviewDetail, h as projectMyPrs, i as checkAgentReply, j as resolveRefocusTaskTitle, k as parseRefinedSessionName, l as describeKeptChildAttention, m as parseAgentVerb, n as REFUSAL_REASON, o as decideSpawnAllowance, s as deriveChildSessionName, u as describePushLanding, v as buildPersistedTaskTitle, w as extractHookTaskTitle, x as cleanTaskPrompt, y as buildTaskTitleRefinementPrompt, z as resumePromptFor } from "./agent-api-core-
|
|
7
|
+
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, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as MAX_RAW_LINE_CHARS, k as HINT_FEATURES, kt as UpdateJournal, p as USAGE_VENDOR_KEYS, 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 CONTROL_FRAME_MAX_BYTES, wt as CommunityState, x as GithubTeam, xt as CommunityActionRequest, y as ClientMessage, z as CommitComparison, zt as PLAN_HOOK_OUTPUT_MAX_CHARS } from "./config-BIVF12fQ.js";
|
|
8
|
+
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-BGK07awr.js";
|
|
9
|
+
import { A as parseRefinedTaskTitle, B as shouldAdoptReportedResumeId, C as extractAiTitle, D as isSelfWakePrompt, E as extractPromptTaskTitle, F as RESUME_ID_RE, G as nextSuggestedName, H as listRepoConversations, I as isConversationReplacedAtStartup, L as pickAutoResume, M as resolveTaskTitle, N as seedTaskTitleSources, O as isSubstantivePrompt, P as AUTO_CONTINUE_PROMPT, R as resolveResumeTarget, S as decideTaskTitleRefinement, T as extractOscTaskTitle, U as listRepoWorktreePaths, V as claudeProjectsDir, W as isAutoNameOf, _ as projectReviews, a as decideAgentRequest, b as chooseRefinedSessionName, c as describeChildEndNote, d as describeRoleRefusal, f as describeUnpushedCloseRefusal, g as projectReviewDetail, h as projectMyPrs, i as checkAgentReply, j as resolveRefocusTaskTitle, k as parseRefinedSessionName, l as describeKeptChildAttention, m as parseAgentVerb, n as REFUSAL_REASON, o as decideSpawnAllowance, s as deriveChildSessionName, u as describePushLanding, v as buildPersistedTaskTitle, w as extractHookTaskTitle, x as cleanTaskPrompt, y as buildTaskTitleRefinementPrompt, z as resumePromptFor } from "./agent-api-core-CRjUWPzJ.js";
|
|
10
10
|
import { a as rawTextOr, i as positiveNumberOr, n as isRecord, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-oz_Z_6E7.js";
|
|
11
|
-
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-
|
|
11
|
+
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-1GAmaB1a.js";
|
|
12
12
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
13
13
|
import { r as refocusReplyFor, t as promptContextReplyOf } from "./refocus-core-zXihqRvU.js";
|
|
14
14
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
15
15
|
import { a as saneYoloFiles } from "./sane-yolo-BjUkqIoH.js";
|
|
16
16
|
import { r as knownWriteHookInput } from "./posthog-read-gate-core-CeSY56AB.js";
|
|
17
|
-
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-
|
|
17
|
+
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-hKeo7SMT.js";
|
|
18
18
|
import { n as shellQuote } from "./hook-command-core-qTNK-xMF.js";
|
|
19
19
|
import { C as parseCgroupBytes, D as DEFAULT_MAX_MS, E as DEFAULT_BASE_MS, O as nextBackoffMs, S as memoryReserveBytes, T as parseMemAvailableBytes, _ as createSpawnGate, a as jsonStateLoadError, b as cgroupLimitBytes, c as loadedJsonValue, d as writeJsonAtomicSync, g as createSerialQueue, h as createMemoryAdmission, i as createJsonStateWriter, m as createKeyedSerialQueue, n as appendJsonLines, o as loadJsonStateFile, p as writeTextAtomicSync, r as createJsonStateStore, s as loadJsonStateFileSync, t as appendJsonLine, u as writeJsonAtomic, v as isQueueAdmissionTimeout, w as parseCgroupV2Path, x as headroomFromReadings, y as cgroupAncestorPaths } from "./json-file-AKRVPqG1.js";
|
|
20
|
-
import { $ as stableConfigKey, B as buildPersonProperties, F as TELEMETRY_FLAGS_URL, G as decideRemoteTelemetryState, H as claudeAccountUuidOf, I as adapterBucket, J as nodeMajorVersion, K as decideTelemetryConsent, L as buildAiGenerationEvents, M as isExperimentalSetting, N as FIRST_RUN_NOTICE, P as TELEMETRY_BATCH_URL, R as buildBrowserExceptionProperties, U as codexUserIdOf, V as classifySessionExit, W as decideIsDevInstall, X as resolveProjectToken, Y as parsePosthogReleaseId, _ as settingsBlockSpecFor, a as ensureProjectIds, at as sessionIdFromBranch, ct as canonicalizePath, f as DEFAULT_TIMER_FNS, g as mergeSettingsBlock, i as createConfigStore, it as planWorktreeGc, k as valueAtPath, lt as comparableDirectoryPath, n as DEFAULT_CONFIG, nt as matchedPrefix, o as generateProjectId, ot as usablePrefixes, p as unrefTimer, q as exceptionFingerprint, rt as planBranchGc, s as glimmervoidHomeDir$1, st as worktreeIntegrationTips, t as ABORT_CONFIG_SAVE, tt as DEFAULT_BRANCH_GC_PREFIXES, ut as isSameDirectoryPath, v as validateSettingsBlock, y as SETTINGS_INDEX, z as buildExceptionProperties } from "./config-store-
|
|
21
|
-
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-
|
|
22
|
-
import { i as resolveArgvCommandMatches } from "./kimi-
|
|
23
|
-
import { $ as isUsageFile, A as exceedsUploadCap, B as isOversizedPartialLine, C as parseResolvedSha, Ct as totalTokensOf$1, D as MAX_UPLOAD_BYTES, E as openContainedFile, Et as claudeCode, F as MAX_TRANSCRIPT_READ_BYTES, G as codexHomes, H as resumeOffsetFrom, I as TRACE_TAIL_SCAN_BYTES, J as continuationDelayMs, K as codexRootCandidates, L as committedOffsetFromTraceTailOrNull, M as imageMimeForUploadFilename, N as isSafePathSegment, O as buildUploadFilename, P as planUploadRetention, Q as grokHomes, R as completeLineBytes, S as parseRegistryLatest, St as shouldReplace, T as shortSha$1, Tt as HOOK_TOOLS, U as withCommittedOffset, V as planContiguousRead, W as codexFallbackRoots, X as dedupeCodexFiles, Y as decideFileRead, Z as expandTilde, _ as decideUpdateStatus, _t as identityFromRelPath, a as describeAgentResolvability, at as sessionsRootCandidates, b as normalizeUpdateChannel, bt as parseJsonLine, c as isKnownAgentId, ct as splitLines, d as resolveAdapter, dt as addEntryToTotals, et as kimiHomes, f as setCustomAgents, ft as dedupKeys, g as decideInstallFlavor, gt as foldReplacementIntoGenerationRollup, h as requestCodexAppServer, ht as foldEntryIntoGenerationRollup, i as customAgentFingerprint, it as scopedClaudeRoots, j as framePathPaste, k as decideUploadType, l as listAgentIds, lt as kimiDedupIdentity, m as readHostCodexVersion, mt as expandAdvisorIterations, n as cachedAgentResolvability, nt as projectDirCandidates, o as getAdapter, ot as shouldEvaluateDespiteIoFailures, p as codex, pt as emptyTotals, q as codexSessionIdFromPath, r as commandFor, rt as resolveProjectsDirs, s as hookProfileOf, st as shouldPersistWarehouse, t as DEFAULT_AGENT_ID$1, tt as passOutcome, u as resetCommandCache, ut as parseKimiUsageLine, v as isCheckFresh, vt as isWithinGenerationRecencyWindow, w as pickNewestPublished, wt as vendorUsageEntry, x as parseRegistryDeprecation, xt as parseUsageLine, y as normalizeSha, yt as mergeGenerationRollups, z as containmentRefusalReason } from "./adapters-
|
|
20
|
+
import { $ as stableConfigKey, B as buildPersonProperties, F as TELEMETRY_FLAGS_URL, G as decideRemoteTelemetryState, H as claudeAccountUuidOf, I as adapterBucket, J as nodeMajorVersion, K as decideTelemetryConsent, L as buildAiGenerationEvents, M as isExperimentalSetting, N as FIRST_RUN_NOTICE, P as TELEMETRY_BATCH_URL, R as buildBrowserExceptionProperties, U as codexUserIdOf, V as classifySessionExit, W as decideIsDevInstall, X as resolveProjectToken, Y as parsePosthogReleaseId, _ as settingsBlockSpecFor, a as ensureProjectIds, at as sessionIdFromBranch, ct as canonicalizePath, f as DEFAULT_TIMER_FNS, g as mergeSettingsBlock, i as createConfigStore, it as planWorktreeGc, k as valueAtPath, lt as comparableDirectoryPath, n as DEFAULT_CONFIG, nt as matchedPrefix, o as generateProjectId, ot as usablePrefixes, p as unrefTimer, q as exceptionFingerprint, rt as planBranchGc, s as glimmervoidHomeDir$1, st as worktreeIntegrationTips, t as ABORT_CONFIG_SAVE, tt as DEFAULT_BRANCH_GC_PREFIXES, ut as isSameDirectoryPath, v as validateSettingsBlock, y as SETTINGS_INDEX, z as buildExceptionProperties } from "./config-store-DDyjZ3_N.js";
|
|
21
|
+
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-Cu5g6SF6.js";
|
|
22
|
+
import { i as resolveArgvCommandMatches } from "./kimi-Ca_TUWvR.js";
|
|
23
|
+
import { $ as isUsageFile, A as exceedsUploadCap, B as isOversizedPartialLine, C as parseResolvedSha, Ct as totalTokensOf$1, D as MAX_UPLOAD_BYTES, E as openContainedFile, Et as claudeCode, F as MAX_TRANSCRIPT_READ_BYTES, G as codexHomes, H as resumeOffsetFrom, I as TRACE_TAIL_SCAN_BYTES, J as continuationDelayMs, K as codexRootCandidates, L as committedOffsetFromTraceTailOrNull, M as imageMimeForUploadFilename, N as isSafePathSegment, O as buildUploadFilename, P as planUploadRetention, Q as grokHomes, R as completeLineBytes, S as parseRegistryLatest, St as shouldReplace, T as shortSha$1, Tt as HOOK_TOOLS, U as withCommittedOffset, V as planContiguousRead, W as codexFallbackRoots, X as dedupeCodexFiles, Y as decideFileRead, Z as expandTilde, _ as decideUpdateStatus, _t as identityFromRelPath, a as describeAgentResolvability, at as sessionsRootCandidates, b as normalizeUpdateChannel, bt as parseJsonLine, c as isKnownAgentId, ct as splitLines, d as resolveAdapter, dt as addEntryToTotals, et as kimiHomes, f as setCustomAgents, ft as dedupKeys, g as decideInstallFlavor, gt as foldReplacementIntoGenerationRollup, h as requestCodexAppServer, ht as foldEntryIntoGenerationRollup, i as customAgentFingerprint, it as scopedClaudeRoots, j as framePathPaste, k as decideUploadType, l as listAgentIds, lt as kimiDedupIdentity, m as readHostCodexVersion, mt as expandAdvisorIterations, n as cachedAgentResolvability, nt as projectDirCandidates, o as getAdapter, ot as shouldEvaluateDespiteIoFailures, p as codex, pt as emptyTotals, q as codexSessionIdFromPath, r as commandFor, rt as resolveProjectsDirs, s as hookProfileOf, st as shouldPersistWarehouse, t as DEFAULT_AGENT_ID$1, tt as passOutcome, u as resetCommandCache, ut as parseKimiUsageLine, v as isCheckFresh, vt as isWithinGenerationRecencyWindow, w as pickNewestPublished, wt as vendorUsageEntry, x as parseRegistryDeprecation, xt as parseUsageLine, y as normalizeSha, yt as mergeGenerationRollups, z as containmentRefusalReason } from "./adapters-BEvV83qQ.js";
|
|
24
24
|
import { c as CODEX_HOME_PROFILE, l as KIMI_HOME_PROFILE } from "./agent-home-core-DgW3orTE.js";
|
|
25
25
|
import { d as releaseSessionLock, f as sessionIdOfLockFile, l as releaseUnheldAgentHomeSecrets, n as generatedAgentHomePath, p as trashSessionTempFolderOnceUnheld, s as realAgentHome, u as createHeldSessionTempFolder } from "./agent-home-BzANIIVe.js";
|
|
26
26
|
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";
|
|
27
|
-
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-
|
|
28
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
27
|
+
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-BHAebIxM.js";
|
|
28
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-CDAv-bJS.js";
|
|
29
29
|
import { createRequire } from "node:module";
|
|
30
30
|
import fs, { readFileSync } from "node:fs";
|
|
31
31
|
import path, { join, resolve } from "node:path";
|
|
@@ -9872,6 +9872,10 @@ function isBotAuthor(author) {
|
|
|
9872
9872
|
if (!author) return false;
|
|
9873
9873
|
return author.__typename === "Bot" || author.login.toLowerCase().endsWith("[bot]");
|
|
9874
9874
|
}
|
|
9875
|
+
function isOrgMemberAssociation(authorAssociation) {
|
|
9876
|
+
if (!authorAssociation) return null;
|
|
9877
|
+
return authorAssociation === "MEMBER" || authorAssociation === "OWNER";
|
|
9878
|
+
}
|
|
9875
9879
|
function normalizeGithubPr(node, behindBy = null, threadNodes = []) {
|
|
9876
9880
|
const myPr = toMyPr(node, behindBy, threadNodes);
|
|
9877
9881
|
return {
|
|
@@ -9883,6 +9887,7 @@ function normalizeGithubPr(node, behindBy = null, threadNodes = []) {
|
|
|
9883
9887
|
url: myPr.url,
|
|
9884
9888
|
author: node.author?.login ?? null,
|
|
9885
9889
|
isAuthorBot: isBotAuthor(node.author),
|
|
9890
|
+
isAuthorOrgMember: isOrgMemberAssociation(node.authorAssociation),
|
|
9886
9891
|
labels: node.labels.nodes.map((label) => label.name),
|
|
9887
9892
|
commentCount: node.comments.totalCount,
|
|
9888
9893
|
isDraft: myPr.isDraft,
|
|
@@ -20310,7 +20315,7 @@ var GITHUB_PRS_LIGHT_RESPONSE = z.object({
|
|
|
20310
20315
|
}) }),
|
|
20311
20316
|
errors: z.array(z.unknown()).optional()
|
|
20312
20317
|
});
|
|
20313
|
-
var GITHUB_PR_REVIEW_FIELDS = `author { __typename login }
|
|
20318
|
+
var GITHUB_PR_REVIEW_FIELDS = `author { __typename login } authorAssociation
|
|
20314
20319
|
latestReviews(first: 20) { nodes { state submittedAt author { login } commit { oid } } }
|
|
20315
20320
|
writerOpinionatedReviews: latestOpinionatedReviews(first: 20, writersOnly: true) { nodes { state } }`;
|
|
20316
20321
|
var GITHUB_PR_DETAIL_REPOSITORY = z.object({ pullRequest: GithubPrDetailNode.nullable() }).nullable();
|
|
@@ -20475,6 +20480,7 @@ function parseGithubIssue(candidate, repository) {
|
|
|
20475
20480
|
labels: issue.labels.map((label) => typeof label === "string" ? label : label.name),
|
|
20476
20481
|
assignees: issue.assignees.map((assignee) => assignee.login),
|
|
20477
20482
|
author: issue.user?.login ?? "",
|
|
20483
|
+
isAuthorOrgMember: isOrgMemberAssociation(issue.author_association),
|
|
20478
20484
|
comments: issue.comments,
|
|
20479
20485
|
createdAt: issue.created_at,
|
|
20480
20486
|
updatedAt: issue.updated_at,
|
|
@@ -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-DDyjZ3_N.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-BHAebIxM.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
//#region server/text-format.ts
|
|
6
6
|
function trimIso(iso) {
|
|
@@ -2,7 +2,7 @@ import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
|
2
2
|
import { l as equalsIgnoringCaseOnWindows } from "./runtime-paths-D_ZjJLE0.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-AKRVPqG1.js";
|
|
5
|
-
import { ct as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-
|
|
5
|
+
import { ct as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-DDyjZ3_N.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -224,7 +224,8 @@ var ReviewChecksState = z.enum([
|
|
|
224
224
|
var reviewPriorityShape = {
|
|
225
225
|
requestSource: z.enum(["direct", "team"]).default("team"),
|
|
226
226
|
isDraft: z.boolean().optional(),
|
|
227
|
-
checksState: ReviewChecksState.nullable().optional()
|
|
227
|
+
checksState: ReviewChecksState.nullable().optional(),
|
|
228
|
+
isAuthorOrgMember: z.boolean().nullable().optional()
|
|
228
229
|
};
|
|
229
230
|
var GithubReview = z.object({
|
|
230
231
|
login: z.string().min(1),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as SESSION_COMMANDS } from "./session-
|
|
1
|
+
import { w as SESSION_COMMANDS } from "./session-CcJLn3EZ.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 { m as AgentSettingsReply } from "./session-
|
|
4
|
-
import { r as BrowserConfig } from "./config-
|
|
3
|
+
import { m as AgentSettingsReply } from "./session-CcJLn3EZ.js";
|
|
4
|
+
import { r as BrowserConfig } from "./config-BIVF12fQ.js";
|
|
5
5
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
6
6
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
7
|
-
import { E as setValueAtPath, Q as readEnvSecrets, T as scoreSettingsSearch, Z as ENV_SECRET_BINDINGS, b as cloneValue, c as loadConfigFile, d as validateConfig, et as withEnvSecrets, j as SETTINGS_REGISTRY, k as valueAtPath, m as isSettingAvailable, r as IS_EXPERIMENTAL_BUILD, u as saveConfigFileOnce, w as parsePosthogProjectSelection, x 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 { E as setValueAtPath, Q as readEnvSecrets, T as scoreSettingsSearch, Z as ENV_SECRET_BINDINGS, b as cloneValue, c as loadConfigFile, d as validateConfig, et as withEnvSecrets, j as SETTINGS_REGISTRY, k as valueAtPath, m as isSettingAvailable, r as IS_EXPERIMENTAL_BUILD, u as saveConfigFileOnce, w as parsePosthogProjectSelection, x as deleteValueAtPath } from "./config-store-DDyjZ3_N.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-CDAv-bJS.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-Wsuo3vry.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 { h as AgentSettingsRequest } from "./session-
|
|
1
|
+
import { h as AgentSettingsRequest } from "./session-CcJLn3EZ.js";
|
|
2
2
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
3
|
-
import { A as FILE_ONLY_GROUPS, C as hasScaledUnit, D as settingsGroupOf, O as settingsOf, Q as readEnvSecrets, S as displayText, b as cloneValue, j as SETTINGS_REGISTRY, k as valueAtPath, m as isSettingAvailable, y as SETTINGS_INDEX } from "./config-store-
|
|
3
|
+
import { A as FILE_ONLY_GROUPS, C as hasScaledUnit, D as settingsGroupOf, O as settingsOf, Q as readEnvSecrets, S as displayText, b as cloneValue, j as SETTINGS_REGISTRY, k as valueAtPath, m as isSettingAvailable, y as SETTINGS_INDEX } from "./config-store-DDyjZ3_N.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 { A as SIGN_URL_ENV, r as AGENT_URL_ENV } from "./session-
|
|
1
|
+
import { A as SIGN_URL_ENV, r as AGENT_URL_ENV } from "./session-CcJLn3EZ.js";
|
|
2
2
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
3
3
|
import { i as saneYoloEnv, r as SANE_YOLO_PATH_ENV } from "./sane-yolo-BjUkqIoH.js";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { A as SIGN_URL_ENV, I as SshSignReply } from "./session-
|
|
2
|
+
import { A as SIGN_URL_ENV, I as SshSignReply } from "./session-CcJLn3EZ.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-DD9EE5Ab.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";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e,H as t,n}from"./updates-view-core-
|
|
1
|
+
import{G as e,H as t,n}from"./updates-view-core-D9wi2i2r.js";import{S as r,s as i}from"./dom-helpers-DBbFg1c_.js";import{c as a,d as o,u as s}from"./control-ws-ZZY6O0nz.js";var c=`http://www.w3.org/2000/svg`;function l(e,t){let n=document.createElementNS(c,e);for(let[e,r]of Object.entries(t))n.setAttribute(e,r);return n}function u(e,t){let n=document.createElementNS(c,`svg`);return n.setAttribute(`width`,String(e)),n.setAttribute(`height`,String(t)),n.setAttribute(`viewBox`,`0 0 ${e} ${t}`),n.setAttribute(`aria-hidden`,`true`),n}var d=`M4 4L12 12M12 4L4 12`,f=`M10 3L5 8L10 13`,p=`M3 8h0.01M8 8h0.01M13 8h0.01`,m=`M8 2.5v6M5 5.5h6M5 12.5h6`,h=`M4.5 12.5h7a3 3 0 0 0 0.4-5.97a4 4 0 0 0-7.7 0.57a2.7 2.7 0 0 0 0.3 5.4z`,g=`M8 1.8l5.2 2v4c0 3.2-2.2 5.4-5.2 6.4c-3-1-5.2-3.2-5.2-6.4v-4z`,_=`M9.2 1.5L3.5 9h4.3l-1 5.5L12.5 7H8.2z`,v=`M8.7 4.2L5.6 8.6h2.5l-.6 3.2l3.1-4.4H8.1z`,y=`M3 13V9M8 13V3M13 13V6.5`;function b(e,t=`2`){let n=u(16,16);return n.classList.add(`line-icon`),n.append(l(`path`,{d:e,fill:`none`,stroke:`currentColor`,"stroke-width":t,"stroke-linecap":`round`,"stroke-linejoin":`round`})),n}function x(e,t){let{class:n,...r}=t,i=u(16,16);return n!==void 0&&i.classList.add(n),i.append(l(e,r)),i}function S(e){let t=document.createElement(`span`);t.className=`status-icon`,t.dataset.icon=e;for(let n of r[e])t.append(x(n.tag,n.attributes));return t}function C(e,t){e.dataset.icon!==t&&(e.dataset.icon=t,e.replaceChildren(S(t)))}var w={busy:`text-text-muted`,ok:`text-state-done`,error:`text-state-failed`},T=15e3,E=`Something went wrong. Details are hidden in streamer mode.`;function D(e,t){return e!==`error`||t.startsWith(`Not connected to the server. Reconnecting.`)?t:document.documentElement.hasAttribute(`data-streamer`)?E:t}var O={busy:`working`,ok:`complete`,error:`failed`};function k(e){let t=e.querySelector(`:scope > .action-status-icon`),n=e.querySelector(`:scope > .action-status-text`);if(t&&n&&e.childNodes.length===2)return{iconElement:t,textElement:n};let r=i(`span`,`action-status-icon`);r.setAttribute(`aria-hidden`,`true`);let a=i(`span`,`action-status-text`);return e.replaceChildren(r,a),{iconElement:r,textElement:a}}function A(e){e.replaceChildren(),delete e.dataset.tone}function j(e,t,n){if(!n){A(e);return}if(!t){A(e),e.textContent=n;return}e.dataset.tone=t;let{iconElement:r,textElement:i}=k(e);C(r,O[t]),i.textContent=D(t,n)}function M(e=`action-status`){let t=i(`p`,e);return t.setAttribute(`role`,`status`),t.hidden=!0,{element:t,show:(n,r)=>{t.className=`${e} text-meta ${w[n]}`,j(t,n,r),t.hidden=!r},clear:()=>{t.hidden=!0,A(t)}}}function N(e,t){return s(e)?!0:(t.show(`error`,n),!1)}function P(e,t){let n=e instanceof Error?e.message:``;return n===`Request timed out`?`The server did not answer within ${Math.round(t/1e3)} s.`:n||`Not connected to the server. Reconnecting.`}async function F(e,t,n,{busyText:r,timeoutMs:i=T}={}){r&&n.show(`busy`,r);try{let r=await o(e,t,{timeoutMs:i});return n.clear(),r}catch(e){return n.show(`error`,P(e,i)),null}}var I=null,L=3e4,R=null;function z(){let e=document.getElementById(`header-status`),t=document.getElementById(`header-status-text`),n=document.getElementById(`header-status-age`),r=document.getElementById(`header-status-dismiss`);return!e||!t||!n||!r?null:(r.dataset.wired===void 0&&(r.dataset.wired=``,r.addEventListener(`click`,W)),{line:e,text:t,age:n})}function B(){let n=z();if(!n||!I)return;let r=e(Date.now()-I.raisedAt,{...t,justNowBelowSeconds:60});n.age.textContent!==r&&(n.age.textContent=r)}function V({source:e,sessionId:t,message:n,hidesInStreamerMode:r=!0}){a(e,n);let o=z();if(!o)return;let s=r?D(`error`,n):n,c=i(`strong`,`header-status-source`,e);o.text.replaceChildren(c,` ${s}`),o.text.title=`${e}: ${s}`,I={source:e,sessionId:t??null,raisedAt:Date.now()},B(),R??=window.setInterval(B,L),o.line.hidden=!1}function H(e,t){I?.source===e&&(t===void 0||I.sessionId===t)&&W()}function U(e){I?.sessionId===e&&W()}function W(){I=null,R!==null&&window.clearInterval(R),R=null;let e=z();e&&(e.line.hidden=!0,e.text.replaceChildren(),e.text.title=``,e.age.textContent=``)}export{l as S,v as _,j as a,b,F as c,f as d,_ as f,p as g,h,M as i,N as l,d as m,H as n,V as o,m as p,U as r,P as s,T as t,C as u,g as v,u as x,y};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./updates-view-core-D9wi2i2r.js";import{n as e,r as t,s as n}from"./dom-helpers-DBbFg1c_.js";import{$ as r,Q as i,et as a}from"./index-D1hl_mom.js";var o={mine:`Mine`,run:`Run`,cancel:`Cancel`},s=null;function c(e){return e===null?`n/a`:`${Math.round(e*100)}%`}function l(e){if(e===null)return`n/a`;let t=Math.round(e*100);return t>0?`+${t}`:String(t)}function u(e,t,i){let a=n(`button`,`bench-action-button`,o[t]);return a.type=`button`,a.disabled=i,a.addEventListener(`click`,()=>r(e.id,t)),a}function d(e,t){let n=e.inFlight;if(!n||n.suiteId!==t.id)return``;let r=n.caseId?`case ${n.caseId}, `:``;return`Cell ${n.cellIndex+1} of ${n.cellCount}: ${r}arm ${n.armId}, trial ${n.trial}, ${n.phase}.`}function f(e){let t=n(`td`,`bench-score`,c(e?.recall??null));return e&&e.invalid>0&&(t.title=`${e.invalid} invalid or failed cell(s)`),e&&e.degraded>0&&(t.dataset.degraded=`true`),t}function p(e){let t=e.armIds.filter(t=>t!==e.baselineArm),r=n(`table`,`bench-table`),i=n(`tr`);i.append(n(`th`,null,`Case`),...e.armIds.map(t=>n(`th`,null,t===e.baselineArm?`${t} (baseline)`:t))),i.append(...t.map(e=>n(`th`,null,`${e} vs baseline`))),r.append(i);for(let i of e.rows){let a=n(`tr`);a.append(n(`td`,`bench-case`,i.caseId),...e.armIds.map(e=>f(i.arms[e]))),a.append(...t.map(e=>n(`td`,`bench-delta`,l(i.deltaVsBaseline[e]??null)))),r.append(a)}let a=[...new Set(e.armIds.flatMap(t=>Object.keys(e.totals[t]?.recallByTag??{})))].sort(),o=n(`tr`,`bench-total`);o.append(n(`td`,`bench-case`,`Paired recall`),...e.armIds.map(t=>f(e.totals[t]))),r.append(o);for(let t of a){let i=n(`tr`,`bench-total`);i.append(n(`td`,`bench-case`,`Recall, ${t}`),...e.armIds.map(r=>n(`td`,`bench-score`,c(e.totals[r]?.recallByTag[t]??null)))),r.append(i)}return r}function m(e,r){let{isServerConnected:a,pendingActionBySuite:o,outcomeBySuite:s}=i(),c=n(`div`,`bench-suite`),l=e.inFlight?.suiteId===r.id,f=!!e.inFlight&&!l,m=o.has(r.id)||!a,h=n(`div`,`bench-summary`);h.append(n(`span`,`bench-suite-title`,r.title),t(`bench`,r.caseCount===1?`case`:`cases`,String(r.caseCount)),t(`bench`,r.candidateCount===1?`candidate`:`candidates`,String(r.candidateCount)),t(`bench`,`arms`,String(r.armIds.length))),c.append(h);let g=n(`div`,`bench-controls`),_=e.configured===!0&&r.error===null;g.append(u(r,`mine`,!_||m||l),u(r,`run`,!_||m||l||f||r.caseCount===0),u(r,`cancel`,m||!l));let v=n(`span`,`bench-status`,(a?``:`Not connected to the server. Reconnecting.`)||d(e,r)||s.get(r.id)||``);if(v.setAttribute(`role`,`status`),g.append(v),c.append(g),r.error)return c.append(n(`p`,`bench-error`,r.error)),c;let y=r.latestReport;return y?(c.append(n(`p`,`bench-run-line`,`Latest run ${y.runId}: ${y.status}. Only cases every arm scored count toward paired recall.`)),y.rows.length>0&&c.append(p(y)),c):(c.append(n(`p`,`bench-empty`,r.caseCount===0?`Move approved candidates into the cases folder, then choose Run.`:`No run yet.`)),c)}function h(){if(!s)return;s.textContent=``;let{status:t}=i(),r=e(`bench`,`Benchmarks`,`Suites from the benchmarks folder of the Glimmervoid home, one run at a time.`);if(s.append(r),!t)s.append(n(`p`,`bench-empty`,`Waiting for the server.`));else if(!t.configured)s.append(n(`p`,`bench-empty`,t.reason||`Benchmarks are off.`));else if(t.suites.length===0)s.append(n(`p`,`bench-empty`,`No suites yet. Create a folder holding suite.json under benchmarks in the Glimmervoid home.`));else for(let e of t.suites)s.append(m(t,e))}function g(e){s||(s=n(`div`,`bench-content`),e.append(s),a(h),h())}var _={mount:g};export{_ as view};
|
|
Binary file
|