glimmervoid 0.48.4-next.414 → 0.48.4-next.416
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 +9 -9
- package/dist/chunks/{adapters-Bhk2OHKK.js → adapters-BS55FUxm.js} +1 -1
- package/dist/chunks/{adapters-BZta5YXd.js → adapters-DuuCbOaH.js} +1 -1
- package/dist/chunks/{agent-api-cli-C7kjhS-n.js → agent-api-cli-BzQYDEj_.js} +1 -1
- package/dist/chunks/{agent-api-cli-Bw1zDedd.js → agent-api-cli-D8xE_dS5.js} +1 -1
- package/dist/chunks/{agent-api-core-BmK4WpZb.js → agent-api-core-CRHvD0tB.js} +18 -1
- package/dist/chunks/{build-channel-guTpzLpI.js → build-channel-42hofoDo.js} +15 -1
- package/dist/chunks/{config-store-B0giprqv.js → config-store-BkKPPaOY.js} +1 -1
- package/dist/chunks/config-store-mhvpnAZ4.js +1 -0
- package/dist/chunks/{main-C3U0o8wI.js → main-BB2lLRsX.js} +37 -14
- package/dist/chunks/{pair-cli-DQLG9jfo.js → pair-cli-B97rTTHz.js} +2 -2
- package/dist/chunks/{pairings-store--ZTDvKy1.js → pairings-store-D1on6q4k.js} +1 -1
- package/dist/chunks/{settings-cli-D3XWbj_U.js → settings-cli-qymspjS0.js} +3 -3
- package/dist/chunks/{settings-readout-core-BwCVKTdA.js → settings-readout-core-Bne29GM5.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-ChtYyUPC.js → ssh-sign-cli-B0gWlWTO.js} +1 -1
- package/dist/chunks/{why-cli-BBunPugS.js → why-cli-bGmPB4l3.js} +1 -1
- package/dist/client/assets/{benchmark-panel-B6wcbj81.js → benchmark-panel-c25QGdmz.js} +1 -1
- package/dist/client/assets/benchmark-panel-c25QGdmz.js.br +0 -0
- package/dist/client/assets/{boards-view-ElEfval-.js → boards-view-CCam5tbN.js} +1 -1
- package/dist/client/assets/boards-view-CCam5tbN.js.br +0 -0
- package/dist/client/assets/{community-panel-Cd-pc2h4.js → community-panel-C8MegL8U.js} +1 -1
- package/dist/client/assets/community-panel-C8MegL8U.js.br +0 -0
- package/dist/client/assets/{dialogs-19lNfUNy.js → dialogs-BZqY-p6k.js} +1 -1
- package/dist/client/assets/dialogs-BZqY-p6k.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-cApX91kF.js → doc-editor-ui-zSnvsKHy.js} +1 -1
- package/dist/client/assets/doc-editor-ui-zSnvsKHy.js.br +0 -0
- package/dist/client/assets/{feature-hint-B1AFQ9b7.js → feature-hint-B0ObTPky.js} +1 -1
- package/dist/client/assets/feature-hint-B0ObTPky.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-_dcoQezB.js → first-run-checklist-CUxJtHQe.js} +1 -1
- package/dist/client/assets/first-run-checklist-CUxJtHQe.js.br +0 -0
- package/dist/client/assets/{hooks-panel-WxtI4g7o.js → hooks-panel-DnzKkFjQ.js} +1 -1
- package/dist/client/assets/hooks-panel-DnzKkFjQ.js.br +0 -0
- package/dist/client/assets/{index-Bi1OOIak.js → index-CbSPM-RX.js} +5 -5
- package/dist/client/assets/index-CbSPM-RX.js.br +0 -0
- package/dist/client/assets/{issues-panel-CCqdO0fd.js → issues-panel-enfgtYY_.js} +1 -1
- package/dist/client/assets/issues-panel-enfgtYY_.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-C9wyjwCa.js → my-prs-panel-D2UE5R5i.js} +1 -1
- package/dist/client/assets/my-prs-panel-D2UE5R5i.js.br +0 -0
- package/dist/client/assets/{nyan-cat-31cLDuzC.js → nyan-cat-CNave90_.js} +1 -1
- package/dist/client/assets/nyan-cat-CNave90_.js.br +0 -0
- package/dist/client/assets/{phone-shell-dGknjcfJ.js → phone-shell-BmiBncHY.js} +1 -1
- package/dist/client/assets/phone-shell-BmiBncHY.js.br +0 -0
- package/dist/client/assets/{plan-face-Dx8Atbyj.js → plan-face-DWTbBXfj.js} +1 -1
- package/dist/client/assets/plan-face-DWTbBXfj.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-CvORxzKX.js → pr-queue-columns-Dj8axsq-.js} +1 -1
- package/dist/client/assets/pr-queue-columns-Dj8axsq-.js.br +5 -0
- package/dist/client/assets/{radar-panel-CmKU5zEh.js → radar-panel-4j15Tjrb.js} +1 -1
- package/dist/client/assets/radar-panel-4j15Tjrb.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-TkcmConE.js → repo-roots-adder-CeXEfGtW.js} +1 -1
- package/dist/client/assets/repo-roots-adder-CeXEfGtW.js.br +0 -0
- package/dist/client/assets/{resume-dialog-CUkqkT0b.js → resume-dialog-CJv1Xy15.js} +1 -1
- package/dist/client/assets/resume-dialog-CJv1Xy15.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-CBD-aDnc.js → review-queue-panel-Cy6aguai.js} +1 -1
- package/dist/client/assets/review-queue-panel-Cy6aguai.js.br +0 -0
- package/dist/client/assets/{settings-panel-DPlBnmfo.js → settings-panel-CYImBB12.js} +2 -2
- package/dist/client/assets/settings-panel-CYImBB12.js.br +0 -0
- package/dist/client/assets/{shown-face-BuH61OT5.js → shown-face-BQOejZfQ.js} +1 -1
- package/dist/client/assets/shown-face-BQOejZfQ.js.br +0 -0
- package/dist/client/assets/{team-review-panel-CLoavyVG.js → team-review-panel-DY9JIptH.js} +1 -1
- package/dist/client/assets/team-review-panel-DY9JIptH.js.br +0 -0
- package/dist/client/assets/{trace-panel-Cb1xz6_Y.js → trace-panel-Ci3EOgEE.js} +1 -1
- package/dist/client/assets/trace-panel-Ci3EOgEE.js.br +0 -0
- package/dist/client/assets/{usage-panel-DcPAyawi.js → usage-panel-zryONRXt.js} +1 -1
- package/dist/client/assets/usage-panel-zryONRXt.js.br +0 -0
- package/dist/client/assets/{your-day-tip-zlJGdC2c.js → your-day-tip-DWE80ssw.js} +1 -1
- package/dist/client/assets/your-day-tip-DWE80ssw.js.br +0 -0
- package/dist/client/index.html +1 -1
- 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-DFFHadY6.js +0 -1
- package/dist/client/assets/benchmark-panel-B6wcbj81.js.br +0 -0
- package/dist/client/assets/boards-view-ElEfval-.js.br +0 -0
- package/dist/client/assets/community-panel-Cd-pc2h4.js.br +0 -0
- package/dist/client/assets/dialogs-19lNfUNy.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-cApX91kF.js.br +0 -0
- package/dist/client/assets/feature-hint-B1AFQ9b7.js.br +0 -0
- package/dist/client/assets/first-run-checklist-_dcoQezB.js.br +0 -0
- package/dist/client/assets/hooks-panel-WxtI4g7o.js.br +0 -0
- package/dist/client/assets/index-Bi1OOIak.js.br +0 -0
- package/dist/client/assets/issues-panel-CCqdO0fd.js.br +0 -0
- package/dist/client/assets/my-prs-panel-C9wyjwCa.js.br +0 -0
- package/dist/client/assets/nyan-cat-31cLDuzC.js.br +0 -0
- package/dist/client/assets/phone-shell-dGknjcfJ.js.br +0 -0
- package/dist/client/assets/plan-face-Dx8Atbyj.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-CvORxzKX.js.br +0 -0
- package/dist/client/assets/radar-panel-CmKU5zEh.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-TkcmConE.js.br +0 -0
- package/dist/client/assets/resume-dialog-CUkqkT0b.js.br +0 -0
- package/dist/client/assets/review-queue-panel-CBD-aDnc.js.br +0 -0
- package/dist/client/assets/settings-panel-DPlBnmfo.js.br +0 -0
- package/dist/client/assets/shown-face-BuH61OT5.js.br +0 -0
- package/dist/client/assets/team-review-panel-CLoavyVG.js.br +0 -0
- package/dist/client/assets/trace-panel-Cb1xz6_Y.js.br +0 -0
- package/dist/client/assets/usage-panel-DcPAyawi.js.br +0 -0
- package/dist/client/assets/your-day-tip-zlJGdC2c.js.br +0 -3
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -6,7 +6,7 @@ import { a as packageRoot } from "../chunks/runtime-paths-CYwF658V.js";
|
|
|
6
6
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DUWk0Lui.js";
|
|
7
7
|
import { t as AGENT_API_VERBS } from "../chunks/session-DUFWokKF.js";
|
|
8
8
|
import { a as execSync } from "../chunks/child-process-safe-BCOoKfxG.js";
|
|
9
|
-
import { $ as OWNED_COMMAND_SPECS, et as isOwnedCommandName, r as agentCommandHelpLines, tt as parseCommand } from "../chunks/agent-api-core-
|
|
9
|
+
import { $ as OWNED_COMMAND_SPECS, et as isOwnedCommandName, r as agentCommandHelpLines, tt as parseCommand } from "../chunks/agent-api-core-CRHvD0tB.js";
|
|
10
10
|
import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
|
|
11
11
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-xS1GFU8P.js";
|
|
12
12
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
@@ -63,7 +63,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
63
63
|
return await runDoctor() ? 0 : 1;
|
|
64
64
|
},
|
|
65
65
|
pair: async ({ values }) => {
|
|
66
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
66
|
+
const { runPairCli } = await import("../chunks/pair-cli-B97rTTHz.js");
|
|
67
67
|
return runPairCli({
|
|
68
68
|
isListing: values.list === true,
|
|
69
69
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -75,15 +75,15 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
75
75
|
return runAgentSetupCli();
|
|
76
76
|
},
|
|
77
77
|
settings: async (parsed) => {
|
|
78
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
78
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-qymspjS0.js");
|
|
79
79
|
return runParsedSettingsCli(parsed);
|
|
80
80
|
},
|
|
81
81
|
why: async ({ positionals }) => {
|
|
82
|
-
const { runWhyCli } = await import("../chunks/why-cli-
|
|
82
|
+
const { runWhyCli } = await import("../chunks/why-cli-bGmPB4l3.js");
|
|
83
83
|
return runWhyCli({ targetArgument: positionals[0] ?? "" });
|
|
84
84
|
},
|
|
85
85
|
"ssh-sign": async ({ rawArgs }) => {
|
|
86
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
86
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-B0gWlWTO.js");
|
|
87
87
|
return runSshSignCli(rawArgs);
|
|
88
88
|
}
|
|
89
89
|
};
|
|
@@ -105,7 +105,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
105
105
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
106
106
|
}
|
|
107
107
|
var SUBCOMMAND_RUNNERS = new Map([...Object.keys(OWNED_COMMAND_SPECS).filter(isOwnedCommandName).map((name) => [name, (subcommandArgs) => runOwnedCommand(name, subcommandArgs)]), ...AGENT_API_VERBS.filter((verb) => !isOwnedCommandName(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
|
|
108
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
108
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-BzQYDEj_.js");
|
|
109
109
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
110
110
|
}])]);
|
|
111
111
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -119,7 +119,7 @@ function missingAgentText(agentId) {
|
|
|
119
119
|
}
|
|
120
120
|
async function printSessionLimits() {
|
|
121
121
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
122
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
122
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-BzQYDEj_.js");
|
|
123
123
|
const limitsLines = await sessionLimitsHelpLines();
|
|
124
124
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
125
125
|
}
|
|
@@ -176,7 +176,7 @@ async function readDeclaredCustomAgents() {
|
|
|
176
176
|
declared: [],
|
|
177
177
|
error: null
|
|
178
178
|
};
|
|
179
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
179
|
+
const { loadConfigFile } = await import("../chunks/config-store-mhvpnAZ4.js");
|
|
180
180
|
try {
|
|
181
181
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
182
182
|
if (!loaded.config) return {
|
|
@@ -252,7 +252,7 @@ async function runDoctor() {
|
|
|
252
252
|
}
|
|
253
253
|
switchSection("Agents");
|
|
254
254
|
try {
|
|
255
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
255
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-BS55FUxm.js");
|
|
256
256
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
257
257
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
258
258
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -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-DuuCbOaH.js";
|
|
@@ -10,7 +10,7 @@ import { t as buildAgentEnv } from "./spawn-env-POxyFuJA.js";
|
|
|
10
10
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
11
11
|
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-BXv_dMaP.js";
|
|
12
12
|
import { O as nextBackoffMs } from "./json-file-AKRVPqG1.js";
|
|
13
|
-
import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-
|
|
13
|
+
import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-42hofoDo.js";
|
|
14
14
|
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-2Q_zNAyk.js";
|
|
15
15
|
import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-gp8KlW8i.js";
|
|
16
16
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-BHtmhtJA.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-D8xE_dS5.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Z as UNIT_STATUSES, et as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-DUFWokKF.js";
|
|
2
|
-
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP, tt as parseCommand } from "./agent-api-core-
|
|
2
|
+
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP, tt as parseCommand } from "./agent-api-core-CRHvD0tB.js";
|
|
3
3
|
import { i as resolveHookTarget } from "./hook-relay-core-DA_bz2KA.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
5
5
|
import { d as layoutBoard, m as planSteps, r as describeOverCap, u as escapeMarkup } from "./shown-files-core-BmJUuTS4.js";
|
|
@@ -1484,24 +1484,28 @@ var WHITEBOARD_SUBCOMMANDS = [
|
|
|
1484
1484
|
];
|
|
1485
1485
|
var AGENT_COMMAND_HELP = Object.freeze({
|
|
1486
1486
|
spawn: {
|
|
1487
|
+
whenToUse: "Use it for work that edits files or runs long; an in-process subagent stays fine for a quick read-only lookup",
|
|
1487
1488
|
usage: "spawn <prompt>",
|
|
1488
1489
|
positionals: requiredText("<prompt>"),
|
|
1489
1490
|
summary: "Start a session on that prompt, with its own dashboard card, that this session owns until its task is done",
|
|
1490
1491
|
missingArgumentHint: "this command needs text, for example \"glimmervoid spawn check the failing test\""
|
|
1491
1492
|
},
|
|
1492
1493
|
send: {
|
|
1494
|
+
whenToUse: "Use it to steer a spawned session, or to report back to the parent",
|
|
1493
1495
|
usage: "send [child] <text>",
|
|
1494
1496
|
positionals: requiredText("[child] <text>"),
|
|
1495
1497
|
summary: "Message a session this one spawned; a spawned session messages its parent with send <text>",
|
|
1496
1498
|
missingArgumentHint: "this command needs text, for example \"glimmervoid send the tests pass\" or, to a spawned session, \"glimmervoid send <child> fix the failing test\""
|
|
1497
1499
|
},
|
|
1498
1500
|
read: {
|
|
1501
|
+
whenToUse: "Use it when a spawned session or the parent has messaged this session",
|
|
1499
1502
|
usage: "read [child]",
|
|
1500
1503
|
positionals: optionalText("[child]"),
|
|
1501
1504
|
summary: "Read what this session's spawned sessions sent; a spawned session reads its parent's messages",
|
|
1502
1505
|
missingArgumentHint: null
|
|
1503
1506
|
},
|
|
1504
1507
|
close: {
|
|
1508
|
+
whenToUse: "Use it once a spawned session's work has landed or is no longer wanted",
|
|
1505
1509
|
usage: "close <child>",
|
|
1506
1510
|
positionals: requiredText("<child>"),
|
|
1507
1511
|
options: [{
|
|
@@ -1513,6 +1517,7 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1513
1517
|
missingArgumentHint: "this command needs the spawned session, for example \"glimmervoid close <child>\""
|
|
1514
1518
|
},
|
|
1515
1519
|
answer: {
|
|
1520
|
+
whenToUse: "Use it when a spawned session waits on a question this session can settle",
|
|
1516
1521
|
usage: "answer <child> <json>|--operator",
|
|
1517
1522
|
positionals: {
|
|
1518
1523
|
usage: "<child> [json]",
|
|
@@ -1528,6 +1533,7 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1528
1533
|
missingArgumentHint: "this command needs a child and a JSON object of answers, or --operator"
|
|
1529
1534
|
},
|
|
1530
1535
|
attention: {
|
|
1536
|
+
whenToUse: "Use it when the task is blocked on the operator, such as a refused call a retry will not change",
|
|
1531
1537
|
usage: "attention <note>",
|
|
1532
1538
|
positionals: requiredText("<note>"),
|
|
1533
1539
|
summary: "Flag this session as needing the operator",
|
|
@@ -1535,21 +1541,25 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1535
1541
|
},
|
|
1536
1542
|
board: {
|
|
1537
1543
|
usage: "board",
|
|
1544
|
+
whenToUse: "Use it to see what other sessions are working on before touching shared code",
|
|
1538
1545
|
summary: "List the live sessions",
|
|
1539
1546
|
missingArgumentHint: null
|
|
1540
1547
|
},
|
|
1541
1548
|
push: {
|
|
1542
1549
|
usage: "push",
|
|
1550
|
+
whenToUse: "Use it when this session's commits are ready to land",
|
|
1543
1551
|
summary: "Land this session's commits on the integration branch and push it",
|
|
1544
1552
|
missingArgumentHint: null
|
|
1545
1553
|
},
|
|
1546
1554
|
edit: {
|
|
1555
|
+
whenToUse: "Use it when the operator should write or correct text, such as a plan or a prompt",
|
|
1547
1556
|
usage: "edit <path>",
|
|
1548
1557
|
positionals: requiredText("<path>"),
|
|
1549
1558
|
summary: "Open a text file for the operator to edit in the dashboard",
|
|
1550
1559
|
missingArgumentHint: "this command needs a file path, for example \"glimmervoid edit drafts/post.md\""
|
|
1551
1560
|
},
|
|
1552
1561
|
show: {
|
|
1562
|
+
whenToUse: "Use it after making a screenshot, chart, recording or HTML page the operator should see",
|
|
1553
1563
|
usage: "show <path>... [--caption <text>]",
|
|
1554
1564
|
positionals: requiredText("<path>..."),
|
|
1555
1565
|
options: [{
|
|
@@ -1562,6 +1572,7 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1562
1572
|
missingArgumentHint: "this command needs a file path, for example \"glimmervoid show out/diagram.png --caption 'the new layout'\""
|
|
1563
1573
|
},
|
|
1564
1574
|
review: {
|
|
1575
|
+
whenToUse: "Use it instead of gh pr review when a pull request needs a review the operator posts",
|
|
1565
1576
|
usage: "review <pr>",
|
|
1566
1577
|
positionals: requiredText("<pr>"),
|
|
1567
1578
|
summary: "Queue a team review of a pull request; the draft waits in the Reviews tab for the operator to post",
|
|
@@ -1569,16 +1580,19 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1569
1580
|
},
|
|
1570
1581
|
reviews: {
|
|
1571
1582
|
usage: "reviews [pr]",
|
|
1583
|
+
whenToUse: "Use it to follow a queued review or read its draft",
|
|
1572
1584
|
positionals: optionalText("[pr]"),
|
|
1573
1585
|
summary: "List the Reviews tab: reviews running, queued and drafted; with a pull request, read its draft in full",
|
|
1574
1586
|
missingArgumentHint: null
|
|
1575
1587
|
},
|
|
1576
1588
|
prs: {
|
|
1577
1589
|
usage: "prs",
|
|
1590
|
+
whenToUse: "Use it to find which of the operator's pull requests need work",
|
|
1578
1591
|
summary: "List the operator's open pull requests with their checks, reviews and merge state",
|
|
1579
1592
|
missingArgumentHint: null
|
|
1580
1593
|
},
|
|
1581
1594
|
"link-pr": {
|
|
1595
|
+
whenToUse: "Use it after opening a pull request for this session's work",
|
|
1582
1596
|
usage: "link-pr <pr>",
|
|
1583
1597
|
positionals: requiredText("<pr>"),
|
|
1584
1598
|
summary: "Link a pull request to this session's card",
|
|
@@ -1586,11 +1600,13 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1586
1600
|
},
|
|
1587
1601
|
settings: {
|
|
1588
1602
|
usage: "settings list|get",
|
|
1603
|
+
whenToUse: "Use it instead of reading config.json",
|
|
1589
1604
|
summary: "Read Glimmervoid's settings; a secret shows only as configured or not",
|
|
1590
1605
|
missingArgumentHint: null,
|
|
1591
1606
|
isPassthrough: true
|
|
1592
1607
|
},
|
|
1593
1608
|
whiteboard: {
|
|
1609
|
+
whenToUse: "Use it to plan or explain a design with the operator or other sessions",
|
|
1594
1610
|
usage: "whiteboard new|list|connect|disconnect|get|put|render|resolve|delete|plan",
|
|
1595
1611
|
subcommands: WHITEBOARD_SUBCOMMANDS,
|
|
1596
1612
|
summary: "Create, connect to, read, edit, plan on and delete a shared whiteboard the operator and connected sessions edit together",
|
|
@@ -1598,12 +1614,13 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1598
1614
|
},
|
|
1599
1615
|
limits: {
|
|
1600
1616
|
usage: "limits",
|
|
1617
|
+
whenToUse: "Use it when a command is refused, to see why",
|
|
1601
1618
|
summary: "List which of these commands answer here and why the rest do not",
|
|
1602
1619
|
missingArgumentHint: null
|
|
1603
1620
|
}
|
|
1604
1621
|
});
|
|
1605
1622
|
function agentCommandHelpLines() {
|
|
1606
|
-
return Object.values(AGENT_COMMAND_HELP).map(({ usage, summary }) => renderOverviewLine(usage, summary));
|
|
1623
|
+
return Object.values(AGENT_COMMAND_HELP).map(({ usage, summary, whenToUse }) => renderOverviewLine(usage, `${summary}. ${whenToUse}`));
|
|
1607
1624
|
}
|
|
1608
1625
|
function agentCommandSpec(verb) {
|
|
1609
1626
|
const { summary, missingArgumentHint, positionals, options, subcommands, isPassthrough } = AGENT_COMMAND_HELP[verb];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./session-DUFWokKF.js";
|
|
1
|
+
import { w as SESSION_COMMANDS } from "./session-DUFWokKF.js";
|
|
2
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-Bx-mkPue.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region shared/contracts/telemetry.ts
|
|
@@ -89,6 +89,10 @@ var SessionEndedProperties = z.object({
|
|
|
89
89
|
exit_kind: z.enum(SESSION_EXIT_KINDS),
|
|
90
90
|
duration_seconds: nonNegativeInteger
|
|
91
91
|
}).strict();
|
|
92
|
+
var CommandHintProperties = z.object({
|
|
93
|
+
command: z.enum(SESSION_COMMANDS),
|
|
94
|
+
adapter: z.enum(TELEMETRY_ADAPTERS)
|
|
95
|
+
}).strict();
|
|
92
96
|
var ViewShownProperties = z.object({ view: z.enum(DASHBOARD_VIEWS) }).strict();
|
|
93
97
|
function isActionOfSurface({ surface, action }) {
|
|
94
98
|
return OPERATOR_ACTIONS_BY_SURFACE[surface].includes(action);
|
|
@@ -186,6 +190,8 @@ var TELEMETRY_EVENT_SCHEMAS = Object.freeze({
|
|
|
186
190
|
session_ended: SessionEndedProperties,
|
|
187
191
|
$exception: ExceptionProperties,
|
|
188
192
|
$ai_generation: AiGenerationProperties,
|
|
193
|
+
command_hint_shown: CommandHintProperties,
|
|
194
|
+
command_hint_followed: CommandHintProperties,
|
|
189
195
|
view_shown: ViewShownProperties,
|
|
190
196
|
operator_action: OperatorActionProperties,
|
|
191
197
|
onboarding_step: OnboardingStepProperties,
|
|
@@ -222,6 +228,14 @@ Object.freeze([
|
|
|
222
228
|
name: "$ai_generation",
|
|
223
229
|
description: "Per agent session and model, after each usage scan, for usage recorded in the last 24 hours: token counts, the model name and estimated cost, under a one-way hash of the session. A model name outside the shipped pricing table is sent as unknown. No prompts or output."
|
|
224
230
|
},
|
|
231
|
+
{
|
|
232
|
+
name: "command_hint_shown",
|
|
233
|
+
description: "An agent was handed a one-time line naming a Glimmervoid command when its tool call made the command fit, with which command and which kind of agent. Never the tool call."
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: "command_hint_followed",
|
|
237
|
+
description: "An agent ran a Glimmervoid command it had been handed a one-time line about earlier in the same conversation, with which command and which kind of agent."
|
|
238
|
+
},
|
|
225
239
|
{
|
|
226
240
|
name: "view_shown",
|
|
227
241
|
description: "A dashboard tab opened, on desktop or phone, with which tab. Sent on every open."
|
|
@@ -4,7 +4,7 @@ import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-
|
|
|
4
4
|
import { $ as FLYING_ANIMALS_DEFAULTS, Ot as UPDATE_CHANNELS, Q as COMMUNITY_INTERVAL_MINUTES_RANGE, _t as USAGE_RETAIN_DAYS_RANGE, at as NON_NEGATIVE_NUMBER_RANGE, bt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, ct as POSTHOG_FIX_TIMEOUT_RANGE, d as BranchGcFileSettings, dt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, et as FLYING_ANIMALS_DURATION_RANGE, f as USAGE_COST_MODES, ft as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, gt as USAGE_INTEGER_RANGES, ht as USAGE_BUDGET_RANGE, i as Config, it as MEMORY_RESERVE_MB_RANGE, lt as POSTHOG_PROJECT_ID_RANGE, m as normalizeLegacyConfigNumbers, mt as TASK_TITLE_TIMEOUT_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_SCALE_RANGE, ot as PORT_RANGE, pt as REPLAY_BUFFER_KB_RANGE, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as POSITIVE_NUMBER_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as FLYING_ANIMALS_GAP_RANGE, u as configIssueMessage, ut as POSTHOG_TRAFFIC_BASELINE_RANGE, vt as USAGE_SCAN_INTERVAL_RANGE, yt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE } from "./config-Bx-mkPue.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-42hofoDo.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { c as loadConfigFile } from "./config-store-BkKPPaOY.js";
|
|
@@ -6,7 +6,7 @@ import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfi
|
|
|
6
6
|
import { $ as WHITEBOARD_LIMITS, A as SIGN_URL_ENV, Bt as ReviewThreadId, D as SESSION_NAME_PATTERN, Dt as DECIDING_REVIEW_STATES, Et as CommitSha, F as ShownFile, Gt as TeamReviewResolveResponse, Ht as TeamReviewActionRequest, It as ReviewComment, J as Note, Jt as TeamReviewThreadCommentsResponse, K as Box, Kt as TeamReviewStateEntry, L as SshSignRequest, Lt as ReviewDraft, Mt as PostedReviewEvent, Nt as PostingPlan, O as SESSION_NAME_RULE_TEXT, Ot as EarlierReview, Pt as PrDetail, Q as Unit, Qt as decisionAsIfApprovalRequired, Rt as ReviewFinding, S as ConversationQuestion, T as SESSION_DOC_BODY_CAP_BYTES, U as BoardRecord, Vt as ReviewVerdict, Wt as TeamReviewCompareFiles, X as Panel, Xt as TeamReviewThreadsRepository, Yt as TeamReviewThreadResult, Zt as canApproveAfterComment, _ as COHERENCE_HOOKS_INACTIVE, an as NODE_ID_RE, at as MyPrAutoRebase, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, bt as MyPrsSnapshot, ct as MyPrKeepMergeableRequest, dt as MyPrMergeMethod, en as hasStandingViewerApproval, fn as BADGE_LABELS, ft as MyPrMergeRequest, gn as STATES, hn as RESTARTABLE_STATES, ht as MyPrMergeWhenReadyRequest, i as ASK_USER_QUESTION_TOOL_NAME, in as GH_SEGMENT, it as MyPr, j as SSH_SIGN_BODY_CAP_BYTES, jt as GithubReviewState, k as SHOWN_FILE_CAP_BYTES, kt as FindingSeverity, mn as MERGEABLE_LIVE_STATES, mt as MyPrMergeStateResponse, nn as HEX_SHA_RE, nt as Wire, on as REPO_SLUG_RE, ot as MyPrCheckContext, pn as KILLABLE_STATES, q as Frame, qt as TeamReviewStatus, r as AGENT_URL_ENV, rn as shortSha, rt as LinkedPr, sn as repoParts, st as MyPrCheckContextsResponse, ut as MyPrLaneEntry, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, vt as MyPrThreadNode, xt as MyPrsState, y as CONVERSATION_PERMISSION_HOOK_EVENT, yt as MyPrThreadsResponse, z as TaskTitle, zt as ReviewResult } from "./session-DUFWokKF.js";
|
|
7
7
|
import { c as spawn, i as execFileSync, n as execFile, r as execFileAsync, s as refuseLaunchesOf, t as assertLaunchable } from "./child-process-safe-BCOoKfxG.js";
|
|
8
8
|
import { $t as IssuesStatus, A as HINT_VIEW_BY_FEATURE, At as UpdateJournal, B as MergedPrListing, Bt as PLAN_HOOK_OUTPUT_MAX_CHARS, Ct as CommunityItem, D as pullRequestKeyFromReference, Dt as SKILL_NAME_RE, Et as DISCORD_CHANNEL_NAME_RE, F as BenchmarkJudgement, Ft as CoherenceJournalOutput, G as GithubPrLightSearchNode, Gt as parseExitPlanModeHookPayload, H as PrCheckoutCaseInput, Ht as PLAN_TOOL_NAME, I as BenchmarkRun, It as ChangeMap, J as WorkflowCommentBody, Jt as GithubIssueResponse, K as GithubPrsFrame, Kt as planTitle, L as BenchmarkStatus, Lt as changeMapFactId, M as BenchmarkActionRequest, Mt as MAX_RAW_LINE_CHARS, N as BenchmarkCase, Nt as TraceCheckpoint, O as FeatureHintState, P as BenchmarkId, Pt as TraceRecord, Qt as IssuesState, R as BenchmarkSuite, Rt as PLAN_BODY_CAP_BYTES, St as CommunityDraft, Tt as CommunityVerdict, U as GithubPrDetailNode, Ut as PlanDecision, V as MinedPrReviewData, Vt as PLAN_RESULT_HOOK_EVENT, W as GithubPrKey, Wt as PlanRevision, X as WorkflowsSettings, Xt as IssueUpdate, Y as WorkflowLabelName, Yt as IssueKey, Z as WorkflowsState, Zt as IssuesSearchResponse, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, en as issuePullRequestStateFromGithub, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as SessionSetup, k as HINT_FEATURES, p as USAGE_VENDOR_KEYS, q as comparablePrKey, qt as GithubIssuePullRequestsRepository, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage, v as CONTROL_FRAME_MAX_BYTES, wt as CommunityState, x as GithubTeam, xt as CommunityActionRequest, y as ClientMessage, z as CommitComparison, zt as PLAN_HOOK_EVENT } from "./config-Bx-mkPue.js";
|
|
9
|
-
import { A as parseRefinedSessionName, B as resumePromptFor, C as decideTaskTitleRefinement, D as extractPromptTaskTitle, E as extractOscTaskTitle, F as AUTO_CONTINUE_PROMPT, G as isAutoNameOf, H as claudeProjectsDir, I as RESUME_ID_RE, K as nextSuggestedName, L as isConversationReplacedAtStartup, M as resolveRefocusTaskTitle, N as resolveTaskTitle, O as isSelfWakePrompt, P as seedTaskTitleSources, Q as toolHookFactsOf, R as pickAutoResume, S as cleanTaskPrompt, T as extractHookTaskTitle, U as listRepoConversations, V as shouldAdoptReportedResumeId, W as listRepoWorktreePaths, X as permitsHelpCommand, Y as hintFor, Z as supervisionLine, _ as projectReviewDetail, a as checkAgentReply, b as buildTaskTitleRefinementPrompt, c as deriveChildSessionName, d as describePushLanding, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as parseRefinedTaskTitle, k as isSubstantivePrompt, l as describeChildEndNote, n as REFUSAL_REASON, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as describeSessionLimits, s as decideSpawnAllowance, u as describeKeptChildAttention, v as projectReviews, w as extractAiTitle, x as chooseRefinedSessionName, y as buildPersistedTaskTitle, z as resolveResumeTarget } from "./agent-api-core-
|
|
9
|
+
import { A as parseRefinedSessionName, B as resumePromptFor, C as decideTaskTitleRefinement, D as extractPromptTaskTitle, E as extractOscTaskTitle, F as AUTO_CONTINUE_PROMPT, G as isAutoNameOf, H as claudeProjectsDir, I as RESUME_ID_RE, K as nextSuggestedName, L as isConversationReplacedAtStartup, M as resolveRefocusTaskTitle, N as resolveTaskTitle, O as isSelfWakePrompt, P as seedTaskTitleSources, Q as toolHookFactsOf, R as pickAutoResume, S as cleanTaskPrompt, T as extractHookTaskTitle, U as listRepoConversations, V as shouldAdoptReportedResumeId, W as listRepoWorktreePaths, X as permitsHelpCommand, Y as hintFor, Z as supervisionLine, _ as projectReviewDetail, a as checkAgentReply, b as buildTaskTitleRefinementPrompt, c as deriveChildSessionName, d as describePushLanding, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as parseRefinedTaskTitle, k as isSubstantivePrompt, l as describeChildEndNote, n as REFUSAL_REASON, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as describeSessionLimits, s as decideSpawnAllowance, u as describeKeptChildAttention, v as projectReviews, w as extractAiTitle, x as chooseRefinedSessionName, y as buildPersistedTaskTitle, z as resolveResumeTarget } from "./agent-api-core-CRHvD0tB.js";
|
|
10
10
|
import { a as rawTextOr, i as positiveNumberOr, n as isRecord$1, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-oz_Z_6E7.js";
|
|
11
11
|
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-xS1GFU8P.js";
|
|
12
12
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
@@ -17,16 +17,16 @@ import { r as knownWriteHookInput } from "./posthog-read-gate-core-CeSY56AB.js";
|
|
|
17
17
|
import { a as readPageTitle, c as thumbnailOwnerIdOf, d as layoutBoard, f as cappedWarnings, h as unitsOf, i as filesAfterRetention, l as thumbnailRecipeFor, n as decideShownKind, o as shownMimeForFilename, p as findDependencyCycle, r as describeOverCap, s as thumbnailFilenameOf, t as SHOWN_SNIFF_BYTES, u as escapeMarkup } from "./shown-files-core-BmJUuTS4.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-
|
|
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-BkKPPaOY.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-42hofoDo.js";
|
|
22
22
|
import { i as resolveArgvCommandMatches } from "./kimi-2Q_zNAyk.js";
|
|
23
|
-
import { $ as grokHomes, A as decideUploadType, B as containmentRefusalReason, C as parseRegistryLatest, Ct as shouldReplace, D as openContainedFile, Dt as claudeCode, E as shortSha$1, Et as HOOK_TOOLS, F as planUploadRetention, G as codexFallbackRoots, H as planContiguousRead, I as MAX_TRANSCRIPT_READ_BYTES, J as codexSessionIdFromPath, K as codexHomes, L as TRACE_TAIL_SCAN_BYTES, M as framePathPaste, N as imageMimeForUploadFilename, O as MAX_UPLOAD_BYTES, P as isSafePathSegment, Q as expandTilde, R as committedOffsetFromTraceTailOrNull, S as parseRegistryDeprecation, St as parseUsageLine, T as pickNewestPublished, Tt as vendorUsageEntry, U as resumeOffsetFrom, V as isOversizedPartialLine, W as withCommittedOffset, X as decideFileRead, Y as continuationDelayMs, Z as dedupeCodexFiles, _ as decideInstallFlavor, _t as foldReplacementIntoGenerationRollup, a as describeAgentResolvability, at as scopedClaudeRoots, b as normalizeSha, bt as mergeGenerationRollups, c as isKnownAgentId, ct as shouldPersistWarehouse, d as resolveAdapter, dt as parseKimiUsageLine, et as isUsageFile, f as setCustomAgents, ft as addEntryToTotals, g as NODE_PTY_INSTALL_SCRIPT_FLAG, gt as foldEntryIntoGenerationRollup, h as requestCodexAppServer, ht as expandAdvisorIterations, i as customAgentFingerprint, it as resolveProjectsDirs, j as exceedsUploadCap, k as buildUploadFilename, l as listAgentIds, lt as splitLines, m as readHostCodexVersion, mt as emptyTotals, n as cachedAgentResolvability, nt as passOutcome, o as getAdapter, ot as sessionsRootCandidates, p as codex, pt as dedupKeys, q as codexRootCandidates, r as commandFor, rt as projectDirCandidates, s as hookProfileOf, st as shouldEvaluateDespiteIoFailures, t as DEFAULT_AGENT_ID$1, tt as kimiHomes, u as resetCommandCache, ut as kimiDedupIdentity, v as decideUpdateStatus, vt as identityFromRelPath, w as parseResolvedSha, wt as totalTokensOf$1, x as normalizeUpdateChannel, xt as parseJsonLine, y as isCheckFresh, yt as isWithinGenerationRecencyWindow, z as completeLineBytes } from "./adapters-
|
|
23
|
+
import { $ as grokHomes, A as decideUploadType, B as containmentRefusalReason, C as parseRegistryLatest, Ct as shouldReplace, D as openContainedFile, Dt as claudeCode, E as shortSha$1, Et as HOOK_TOOLS, F as planUploadRetention, G as codexFallbackRoots, H as planContiguousRead, I as MAX_TRANSCRIPT_READ_BYTES, J as codexSessionIdFromPath, K as codexHomes, L as TRACE_TAIL_SCAN_BYTES, M as framePathPaste, N as imageMimeForUploadFilename, O as MAX_UPLOAD_BYTES, P as isSafePathSegment, Q as expandTilde, R as committedOffsetFromTraceTailOrNull, S as parseRegistryDeprecation, St as parseUsageLine, T as pickNewestPublished, Tt as vendorUsageEntry, U as resumeOffsetFrom, V as isOversizedPartialLine, W as withCommittedOffset, X as decideFileRead, Y as continuationDelayMs, Z as dedupeCodexFiles, _ as decideInstallFlavor, _t as foldReplacementIntoGenerationRollup, a as describeAgentResolvability, at as scopedClaudeRoots, b as normalizeSha, bt as mergeGenerationRollups, c as isKnownAgentId, ct as shouldPersistWarehouse, d as resolveAdapter, dt as parseKimiUsageLine, et as isUsageFile, f as setCustomAgents, ft as addEntryToTotals, g as NODE_PTY_INSTALL_SCRIPT_FLAG, gt as foldEntryIntoGenerationRollup, h as requestCodexAppServer, ht as expandAdvisorIterations, i as customAgentFingerprint, it as resolveProjectsDirs, j as exceedsUploadCap, k as buildUploadFilename, l as listAgentIds, lt as splitLines, m as readHostCodexVersion, mt as emptyTotals, n as cachedAgentResolvability, nt as passOutcome, o as getAdapter, ot as sessionsRootCandidates, p as codex, pt as dedupKeys, q as codexRootCandidates, r as commandFor, rt as projectDirCandidates, s as hookProfileOf, st as shouldEvaluateDespiteIoFailures, t as DEFAULT_AGENT_ID$1, tt as kimiHomes, u as resetCommandCache, ut as kimiDedupIdentity, v as decideUpdateStatus, vt as identityFromRelPath, w as parseResolvedSha, wt as totalTokensOf$1, x as normalizeUpdateChannel, xt as parseJsonLine, y as isCheckFresh, yt as isWithinGenerationRecencyWindow, z as completeLineBytes } from "./adapters-DuuCbOaH.js";
|
|
24
24
|
import { c as CODEX_HOME_PROFILE, l as KIMI_HOME_PROFILE } from "./agent-home-core-gp8KlW8i.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-BHtmhtJA.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 defaultPairingsPath, c as decideDeviceAuth, i as createSeenStore, l as deviceNameFromUserAgent, n as configSiblingPath, o as defaultSeenPath, r as createPairingsStore, s as DEFAULT_DEVICE_MAX_AGE_MS, u as hashSecret } from "./pairings-store
|
|
27
|
+
import { a as defaultPairingsPath, c as decideDeviceAuth, i as createSeenStore, l as deviceNameFromUserAgent, n as configSiblingPath, o as defaultSeenPath, r as createPairingsStore, s as DEFAULT_DEVICE_MAX_AGE_MS, u as hashSecret } from "./pairings-store-D1on6q4k.js";
|
|
28
28
|
import { g as runGit, h as runGh, i as createCommitSessions, m as runCommand, p as gitCommandFailure, t as COMMIT_SESSIONS_FOLDER_NAME } from "./commit-sessions-rQzcyti3.js";
|
|
29
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
29
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-Bne29GM5.js";
|
|
30
30
|
import { n as normalizeRemoteConfig, r as validateRemoteConfig, t as decideBindHost } from "./remote-config-Dcejfz01.js";
|
|
31
31
|
import { createRequire } from "node:module";
|
|
32
32
|
import fs, { readFileSync } from "node:fs";
|
|
@@ -10628,6 +10628,12 @@ function createSessionEventWiring(dependencies) {
|
|
|
10628
10628
|
}), planTitleForCopy === null ? null : "plan");
|
|
10629
10629
|
if (agentNoteForCopy !== null) pendingAgentNote = null;
|
|
10630
10630
|
});
|
|
10631
|
+
session.on("command-hint", ({ command, outcome }) => {
|
|
10632
|
+
dependencies.telemetry?.capture(outcome === "shown" ? "command_hint_shown" : "command_hint_followed", {
|
|
10633
|
+
command,
|
|
10634
|
+
adapter: adapterBucket(session.agentId)
|
|
10635
|
+
});
|
|
10636
|
+
});
|
|
10631
10637
|
session.on("agent-attention", ({ note }) => {
|
|
10632
10638
|
pendingAgentNote = pendingAgentNote === null ? note : `${pendingAgentNote} | ${note}`;
|
|
10633
10639
|
});
|
|
@@ -19722,8 +19728,9 @@ var Session = class extends EventEmitter {
|
|
|
19722
19728
|
_initialPrompt;
|
|
19723
19729
|
_pendingPromptSupervisionLine;
|
|
19724
19730
|
_hintedCommands;
|
|
19731
|
+
_shownHintCommands;
|
|
19725
19732
|
_ranCommands;
|
|
19726
|
-
|
|
19733
|
+
_queuedCommandHints;
|
|
19727
19734
|
_extraClaudeArgs;
|
|
19728
19735
|
_resumeSessionId;
|
|
19729
19736
|
workspaceRepos;
|
|
@@ -19870,8 +19877,9 @@ var Session = class extends EventEmitter {
|
|
|
19870
19877
|
this._initialPrompt = initialPrompt;
|
|
19871
19878
|
this._pendingPromptSupervisionLine = null;
|
|
19872
19879
|
this._hintedCommands = /* @__PURE__ */ new Set();
|
|
19880
|
+
this._shownHintCommands = /* @__PURE__ */ new Set();
|
|
19873
19881
|
this._ranCommands = /* @__PURE__ */ new Set();
|
|
19874
|
-
this.
|
|
19882
|
+
this._queuedCommandHints = [];
|
|
19875
19883
|
this._extraClaudeArgs = Array.isArray(extraClaudeArgs) ? extraClaudeArgs : [];
|
|
19876
19884
|
this._resumeSessionId = resumeSessionId || null;
|
|
19877
19885
|
this.workspaceRepos = workspaceRepos ? [...workspaceRepos] : null;
|
|
@@ -20230,8 +20238,9 @@ var Session = class extends EventEmitter {
|
|
|
20230
20238
|
}
|
|
20231
20239
|
_forgetCommandHints() {
|
|
20232
20240
|
this._hintedCommands.clear();
|
|
20241
|
+
this._shownHintCommands.clear();
|
|
20233
20242
|
this._ranCommands.clear();
|
|
20234
|
-
this.
|
|
20243
|
+
this._queuedCommandHints = [];
|
|
20235
20244
|
}
|
|
20236
20245
|
_captureClaudeSessionId(id, source, transcriptPath, signal, confidence) {
|
|
20237
20246
|
if (this._suppressResumeCapture) return;
|
|
@@ -20947,7 +20956,16 @@ var Session = class extends EventEmitter {
|
|
|
20947
20956
|
return this._adapter.promptContextReply ?? null;
|
|
20948
20957
|
}
|
|
20949
20958
|
noteCommandRan(command) {
|
|
20959
|
+
const followedHint = this._ranCommands.has(command) ? void 0 : [...this._shownHintCommands].find((shown) => shown === command);
|
|
20950
20960
|
this._ranCommands.add(command);
|
|
20961
|
+
if (followedHint !== void 0) this._noteCommandHint(followedHint, "followed");
|
|
20962
|
+
}
|
|
20963
|
+
_noteCommandHint(command, outcome) {
|
|
20964
|
+
if (outcome === "shown") this._shownHintCommands.add(command);
|
|
20965
|
+
this.emit("command-hint", {
|
|
20966
|
+
command,
|
|
20967
|
+
outcome
|
|
20968
|
+
});
|
|
20951
20969
|
}
|
|
20952
20970
|
takeCommandHint(event, payload, answers) {
|
|
20953
20971
|
const facts = toolHookFactsOf(event, payload);
|
|
@@ -20959,14 +20977,19 @@ var Session = class extends EventEmitter {
|
|
|
20959
20977
|
});
|
|
20960
20978
|
if (hint === null) return null;
|
|
20961
20979
|
this._hintedCommands.add(hint.command);
|
|
20962
|
-
if (this._can("toolHookContext"))
|
|
20963
|
-
|
|
20964
|
-
|
|
20980
|
+
if (!this._can("toolHookContext")) {
|
|
20981
|
+
this._queuedCommandHints.push(hint);
|
|
20982
|
+
return null;
|
|
20983
|
+
}
|
|
20984
|
+
this._noteCommandHint(hint.command, "shown");
|
|
20985
|
+
return hint;
|
|
20965
20986
|
}
|
|
20966
20987
|
takePromptNotes() {
|
|
20967
|
-
const
|
|
20988
|
+
const queuedHints = this._queuedCommandHints;
|
|
20989
|
+
const notes = [this._pendingPromptSupervisionLine, ...queuedHints.map((hint) => hint.text)].filter((note) => note !== null);
|
|
20968
20990
|
this._pendingPromptSupervisionLine = null;
|
|
20969
|
-
this.
|
|
20991
|
+
this._queuedCommandHints = [];
|
|
20992
|
+
for (const hint of queuedHints) this._noteCommandHint(hint.command, "shown");
|
|
20970
20993
|
return notes;
|
|
20971
20994
|
}
|
|
20972
20995
|
_deliverPtyInitialPrompt(prompt, env) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { l as resolveConfigPath } from "./config-store-
|
|
3
|
-
import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store
|
|
2
|
+
import { l as resolveConfigPath } from "./config-store-BkKPPaOY.js";
|
|
3
|
+
import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store-D1on6q4k.js";
|
|
4
4
|
import { n as normalizeRemoteConfig } from "./remote-config-Dcejfz01.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
//#region server/text-format.ts
|
|
@@ -2,7 +2,7 @@ import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
|
2
2
|
import { u as equalsIgnoringCaseOnWindows } from "./runtime-paths-CYwF658V.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-AKRVPqG1.js";
|
|
5
|
-
import { ct as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-
|
|
5
|
+
import { ct as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-BkKPPaOY.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -4,8 +4,8 @@ import { m as AgentSettingsReply } from "./session-DUFWokKF.js";
|
|
|
4
4
|
import { r as BrowserConfig } from "./config-Bx-mkPue.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-BkKPPaOY.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-Bne29GM5.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
//#region server/settings-cli.ts
|
|
@@ -303,7 +303,7 @@ function runParsedSettingsCommand(parsed, io) {
|
|
|
303
303
|
async function runParsedSettingsCli(parsed, io = processIo()) {
|
|
304
304
|
const serverRequest = settingsRequestForServer(parsed, process.env);
|
|
305
305
|
if (!serverRequest) return runParsedSettingsCommand(parsed, io);
|
|
306
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
306
|
+
const { askAgentApi } = await import("./agent-api-cli-BzQYDEj_.js");
|
|
307
307
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
308
308
|
ok: false,
|
|
309
309
|
error: errorMessage(error)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as AgentSettingsRequest } from "./session-DUFWokKF.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-BkKPPaOY.js";
|
|
4
4
|
//#region server/core/settings-readout-core.ts
|
|
5
5
|
var VALUE_COLUMN_WIDTH = 40;
|
|
6
6
|
var SECTION_BY_SETTING_ID = new Map([...SETTINGS_REGISTRY.sections.flatMap((section) => section.settings.map((setting) => [setting.id, {
|
|
@@ -2,7 +2,7 @@ import { r as errorMessage } from "./text-DoirglWV.js";
|
|
|
2
2
|
import { A as SIGN_URL_ENV, I as SshSignReply } from "./session-DUFWokKF.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-D8xE_dS5.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,5 +1,5 @@
|
|
|
1
1
|
import { t as firstLine } from "./text-core-rXHoQWP9.js";
|
|
2
|
-
import { n as configSiblingPath } from "./pairings-store
|
|
2
|
+
import { n as configSiblingPath } from "./pairings-store-D1on6q4k.js";
|
|
3
3
|
import { a as gitCommonDirectoryOf, c as findRecord, d as parseCommitLog, f as parseWhyTarget, g as runGit, l as formatWhy, n as GIT_MAX_BUFFER, o as patchIdsOfBatch, r as GIT_TIMEOUT_MS, s as storePathFor, t as COMMIT_SESSIONS_FOLDER_NAME, u as lastPromptBefore } from "./commit-sessions-rQzcyti3.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./updates-view-core-Bq22PcCJ.js";import{n as e,r as t,s as n}from"./dom-helpers-BoQbx8VU.js";import{Ei as r,Ti as i,wi as a}from"./index-
|
|
1
|
+
import"./updates-view-core-Bq22PcCJ.js";import{n as e,r as t,s as n}from"./dom-helpers-BoQbx8VU.js";import{Ei as r,Ti as i,wi as a}from"./index-CbSPM-RX.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,r){let a=n(`button`,`bench-action-button`,o[t]);return a.type=`button`,a.disabled=r,a.addEventListener(`click`,()=>i(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:i,pendingActionBySuite:o,outcomeBySuite:s}=a(),c=n(`div`,`bench-suite`),l=e.inFlight?.suiteId===r.id,f=!!e.inFlight&&!l,m=o.has(r.id)||!i,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`,(i?``:`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}=a(),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),r(h),h())}var _={mount:g};export{_ as view};
|
|
Binary file
|