glimmervoid 0.53.2-next.966 → 0.53.2-next.968
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 +12 -12
- package/dist/chunks/{adapters-L_kCsJoV.js → adapters-BKAruwl6.js} +1 -1
- package/dist/chunks/{adapters-mKn9rSYO.js → adapters-Bvg4IsdW.js} +2 -2
- package/dist/chunks/{agent-api-cli-EA42jg6w.js → agent-api-cli-BxM3JxWj.js} +1 -1
- package/dist/chunks/agent-api-cli-ly6UBwlj.js +1 -0
- package/dist/chunks/{agent-api-core-D0w78vXc.js → agent-api-core-BGpJNhH5.js} +1 -1
- package/dist/chunks/{config-DjZbYmaB.js → config-CHKlCDpY.js} +1 -0
- package/dist/chunks/config-store-BCB2IgBC.js +1 -0
- package/dist/chunks/{config-store-D0ubZ2ez.js → config-store-CQpMnLFi.js} +23 -1
- package/dist/chunks/{host-cli-CdlM5GxF.js → host-cli-CtHOXwr5.js} +1 -1
- package/dist/chunks/{main-Bl8sEyrl.js → main-COJdeh96.js} +48 -10
- package/dist/chunks/{packs-cli-CBKiDwJT.js → packs-cli-Cf5nsDBr.js} +1 -1
- package/dist/chunks/{pair-cli-BPg8tauu.js → pair-cli-CXd8czCK.js} +2 -2
- package/dist/chunks/{pr-flows-cli-CihO3h7H.js → pr-flows-cli-H-G7ndCk.js} +2 -2
- package/dist/chunks/{remote-config-BfGYhhKn.js → remote-config-CX87T8kk.js} +1 -1
- package/dist/chunks/{settings-cli-CkVAoy96.js → settings-cli-D5FDGWpl.js} +4 -4
- package/dist/chunks/settings-cli-O5kaFTNh.js +1 -0
- package/dist/chunks/{settings-readout-core-KDIYBU8v.js → settings-readout-core-CawQ72Tn.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-DvXSmQm4.js → ssh-sign-cli-pSVnAjqf.js} +1 -1
- package/dist/client/assets/{agent-core-BjRsd_gB.js → agent-core-BmzljZal.js} +2 -2
- package/dist/client/assets/agent-core-BmzljZal.js.br +0 -0
- package/dist/client/assets/{agent-mark-CDiDVO9j.js → agent-mark-vCo0zsWP.js} +1 -1
- package/dist/client/assets/agent-mark-vCo0zsWP.js.br +0 -0
- package/dist/client/assets/arena-panel-azL51Ses.js +2 -0
- package/dist/client/assets/arena-panel-azL51Ses.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-C70lz2RD.js → benchmark-panel-8mimXsjK.js} +1 -1
- package/dist/client/assets/benchmark-panel-8mimXsjK.js.br +0 -0
- package/dist/client/assets/boards-view-DIh7lkLS.js +183 -0
- package/dist/client/assets/boards-view-DIh7lkLS.js.br +0 -0
- package/dist/client/assets/card-registry-BM0Py2ky.js +1 -0
- package/dist/client/assets/card-registry-BM0Py2ky.js.br +0 -0
- package/dist/client/assets/community-panel-oPNEjWVB.js +1 -0
- package/dist/client/assets/community-panel-oPNEjWVB.js.br +0 -0
- package/dist/client/assets/{dialogs-Vj2cSZa1.js → dialogs-BJQhXF-i.js} +2 -2
- package/dist/client/assets/dialogs-BJQhXF-i.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-BakXuPjb.js → doc-editor-ui-qzAOMLgj.js} +2 -2
- package/dist/client/assets/doc-editor-ui-qzAOMLgj.js.br +0 -0
- package/dist/client/assets/{feature-hint-DrInq99N.js → feature-hint-DYaAH_FS.js} +1 -1
- package/dist/client/assets/feature-hint-DYaAH_FS.js.br +0 -0
- package/dist/client/assets/first-run-checklist-B-J9-hZq.js +1 -0
- package/dist/client/assets/first-run-checklist-B-J9-hZq.js.br +0 -0
- package/dist/client/assets/{hooks-panel-2UGBYtKp.js → hooks-panel-leiYaWxz.js} +1 -1
- package/dist/client/assets/hooks-panel-leiYaWxz.js.br +0 -0
- package/dist/client/assets/{index-DUTKiLsv.css → index-CAx91VKi.css} +1 -1
- package/dist/client/assets/index-CAx91VKi.css.br +0 -0
- package/dist/client/assets/index-CCAFwpgb.js +77 -0
- package/dist/client/assets/index-CCAFwpgb.js.br +0 -0
- package/dist/client/assets/issues-panel-I6N9hEcg.js +1 -0
- package/dist/client/assets/issues-panel-I6N9hEcg.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-B2OUP3Ve.js → lane-read-token-step-nbabpx3_.js} +5 -5
- package/dist/client/assets/lane-read-token-step-nbabpx3_.js.br +0 -0
- package/dist/client/assets/my-prs-panel-8vwDuQYH.js +1 -0
- package/dist/client/assets/my-prs-panel-8vwDuQYH.js.br +0 -0
- package/dist/client/assets/{nyan-cat-CpNy7YH7.js → nyan-cat-CyLs6Ah3.js} +1 -1
- package/dist/client/assets/nyan-cat-CyLs6Ah3.js.br +0 -0
- package/dist/client/assets/phone-shell-6J_LT8oK.js +1 -0
- package/dist/client/assets/phone-shell-6J_LT8oK.js.br +0 -0
- package/dist/client/assets/{plan-face-CjhU3G9b.js → plan-face-VwtdBhdq.js} +2 -2
- package/dist/client/assets/plan-face-VwtdBhdq.js.br +0 -0
- package/dist/client/assets/{plan-render-DY2Uplgx.js → plan-render-BeX_KU2k.js} +1 -1
- package/dist/client/assets/plan-render-BeX_KU2k.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-CW_j5U77.js → pr-queue-columns-BwjW6ZSu.js} +1 -1
- package/dist/client/assets/pr-queue-columns-BwjW6ZSu.js.br +0 -0
- package/dist/client/assets/{radar-panel-Br_Ycirr.js → radar-panel-U8kArKZ3.js} +1 -1
- package/dist/client/assets/radar-panel-U8kArKZ3.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-BHxNnfhf.js → repo-roots-adder-C57e0__D.js} +1 -1
- package/dist/client/assets/repo-roots-adder-C57e0__D.js.br +0 -0
- package/dist/client/assets/{resume-dialog-D7j5M1ii.js → resume-dialog-DRD_GKrw.js} +1 -1
- package/dist/client/assets/resume-dialog-DRD_GKrw.js.br +0 -0
- package/dist/client/assets/review-queue-panel-DAk2WHrm.js +1 -0
- package/dist/client/assets/review-queue-panel-DAk2WHrm.js.br +0 -0
- package/dist/client/assets/{session-row-BCKiSx86.js → session-row-U1g9MCRj.js} +2 -2
- package/dist/client/assets/session-row-U1g9MCRj.js.br +0 -0
- package/dist/client/assets/{session-tick-DrUXWyvz.js → session-tick-DxsZqUxX.js} +1 -1
- package/dist/client/assets/session-tick-DxsZqUxX.js.br +0 -0
- package/dist/client/assets/settings-panel-CMQPJBaI.js +4 -0
- package/dist/client/assets/settings-panel-CMQPJBaI.js.br +0 -0
- package/dist/client/assets/{trace-panel-D6kgTDzM.js → trace-panel-CHusMzMn.js} +2 -2
- package/dist/client/assets/trace-panel-CHusMzMn.js.br +0 -0
- package/dist/client/assets/usage-panel-CuIScVal.js +1 -0
- package/dist/client/assets/usage-panel-CuIScVal.js.br +0 -0
- package/dist/client/assets/{whiteboard-undo-core-CPx7qi5j.js → whiteboard-undo-core-DFpJR7c5.js} +1 -1
- package/dist/client/assets/whiteboard-undo-core-DFpJR7c5.js.br +0 -0
- package/dist/client/assets/{your-day-tip-BxvmMpdt.js → your-day-tip-_pFQLziL.js} +1 -1
- package/dist/client/assets/your-day-tip-_pFQLziL.js.br +0 -0
- package/dist/client/index.html +7 -7
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-api-cli-BfjInV6a.js +0 -1
- package/dist/chunks/config-store-imHubfK9.js +0 -1
- package/dist/chunks/settings-cli-BcK_pgdx.js +0 -1
- package/dist/client/assets/agent-core-BjRsd_gB.js.br +0 -0
- package/dist/client/assets/agent-mark-CDiDVO9j.js.br +0 -0
- package/dist/client/assets/arena-panel-CseMEQvb.js +0 -2
- package/dist/client/assets/arena-panel-CseMEQvb.js.br +0 -0
- package/dist/client/assets/benchmark-panel-C70lz2RD.js.br +0 -0
- package/dist/client/assets/boards-view-DVuZx8aO.js +0 -183
- package/dist/client/assets/boards-view-DVuZx8aO.js.br +0 -0
- package/dist/client/assets/card-registry-D1_v6Lbm.js +0 -1
- package/dist/client/assets/card-registry-D1_v6Lbm.js.br +0 -0
- package/dist/client/assets/community-panel-DlYOXeZ0.js +0 -1
- package/dist/client/assets/community-panel-DlYOXeZ0.js.br +0 -0
- package/dist/client/assets/dialogs-Vj2cSZa1.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-BakXuPjb.js.br +0 -0
- package/dist/client/assets/feature-hint-DrInq99N.js.br +0 -0
- package/dist/client/assets/first-run-checklist-BM8OOWJL.js +0 -1
- package/dist/client/assets/first-run-checklist-BM8OOWJL.js.br +0 -0
- package/dist/client/assets/hooks-panel-2UGBYtKp.js.br +0 -0
- package/dist/client/assets/index-DUTKiLsv.css.br +0 -0
- package/dist/client/assets/index-k6lh2SOM.js +0 -77
- package/dist/client/assets/index-k6lh2SOM.js.br +0 -0
- package/dist/client/assets/issues-panel-DUaYxMKd.js +0 -1
- package/dist/client/assets/issues-panel-DUaYxMKd.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-B2OUP3Ve.js.br +0 -0
- package/dist/client/assets/my-prs-panel-CCQ4BCqV.js +0 -1
- package/dist/client/assets/my-prs-panel-CCQ4BCqV.js.br +0 -0
- package/dist/client/assets/nyan-cat-CpNy7YH7.js.br +0 -0
- package/dist/client/assets/phone-shell-B4cWHH1y.js +0 -1
- package/dist/client/assets/phone-shell-B4cWHH1y.js.br +0 -0
- package/dist/client/assets/plan-face-CjhU3G9b.js.br +0 -0
- package/dist/client/assets/plan-render-DY2Uplgx.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-CW_j5U77.js.br +0 -0
- package/dist/client/assets/radar-panel-Br_Ycirr.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-BHxNnfhf.js.br +0 -0
- package/dist/client/assets/resume-dialog-D7j5M1ii.js.br +0 -0
- package/dist/client/assets/review-queue-panel-BXn-FdBS.js +0 -1
- package/dist/client/assets/review-queue-panel-BXn-FdBS.js.br +0 -0
- package/dist/client/assets/session-row-BCKiSx86.js.br +0 -0
- package/dist/client/assets/session-tick-DrUXWyvz.js.br +0 -0
- package/dist/client/assets/settings-panel-BeQeq5Re.js +0 -4
- package/dist/client/assets/settings-panel-BeQeq5Re.js.br +0 -0
- package/dist/client/assets/trace-panel-D6kgTDzM.js.br +0 -0
- package/dist/client/assets/usage-panel-BTxYkMQA.js +0 -1
- package/dist/client/assets/usage-panel-BTxYkMQA.js.br +0 -0
- package/dist/client/assets/whiteboard-undo-core-CPx7qi5j.js.br +0 -0
- package/dist/client/assets/your-day-tip-BxvmMpdt.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as AGENT_API_VERBS } from "../chunks/session-BygOlxkV.js";
|
|
3
3
|
import { a as execSync } from "../chunks/child-process-safe-DAaWFLd1.js";
|
|
4
|
-
import { at as OWNED_COMMAND_SPECS, ot as isOwnedCommandName, r as agentCommandHelpLines, st as parseCommand } from "../chunks/agent-api-core-
|
|
4
|
+
import { at as OWNED_COMMAND_SPECS, ot as isOwnedCommandName, r as agentCommandHelpLines, st as parseCommand } from "../chunks/agent-api-core-BGpJNhH5.js";
|
|
5
5
|
import { t as renderTable } from "../chunks/ascii-figure-core-BegIbndz.js";
|
|
6
6
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-qUZH9-0F.js";
|
|
7
7
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-Nd3lkOqC.js";
|
|
@@ -68,7 +68,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
68
68
|
return await runDoctor() ? 0 : 1;
|
|
69
69
|
},
|
|
70
70
|
pair: async ({ values }) => {
|
|
71
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
71
|
+
const { runPairCli } = await import("../chunks/pair-cli-CXd8czCK.js");
|
|
72
72
|
return runPairCli({
|
|
73
73
|
isListing: values.list === true,
|
|
74
74
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -80,23 +80,23 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
80
80
|
return runAgentSetupCli();
|
|
81
81
|
},
|
|
82
82
|
settings: async (parsed) => {
|
|
83
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
83
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-O5kaFTNh.js");
|
|
84
84
|
return runParsedSettingsCli(parsed);
|
|
85
85
|
},
|
|
86
86
|
host: async (parsed) => {
|
|
87
|
-
const { runHostCli } = await import("../chunks/host-cli-
|
|
87
|
+
const { runHostCli } = await import("../chunks/host-cli-CtHOXwr5.js");
|
|
88
88
|
return runHostCli(parsed);
|
|
89
89
|
},
|
|
90
90
|
"pr-flows": async (parsed) => {
|
|
91
|
-
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-
|
|
91
|
+
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-H-G7ndCk.js");
|
|
92
92
|
return runPrFlowsCheckCli(parsed);
|
|
93
93
|
},
|
|
94
94
|
packs: async (parsed) => {
|
|
95
|
-
const { runPacksCli } = await import("../chunks/packs-cli-
|
|
95
|
+
const { runPacksCli } = await import("../chunks/packs-cli-Cf5nsDBr.js");
|
|
96
96
|
return runPacksCli(parsed);
|
|
97
97
|
},
|
|
98
98
|
"pr-action": async (parsed) => {
|
|
99
|
-
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-
|
|
99
|
+
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-H-G7ndCk.js");
|
|
100
100
|
return runPrActionReportCli(parsed);
|
|
101
101
|
},
|
|
102
102
|
vault: async ({ values }) => {
|
|
@@ -112,7 +112,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
112
112
|
return runWatchCli({ rawPort: typeof values.port === "string" ? values.port : null });
|
|
113
113
|
},
|
|
114
114
|
"ssh-sign": async ({ rawArgs }) => {
|
|
115
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
115
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-pSVnAjqf.js");
|
|
116
116
|
return runSshSignCli(rawArgs);
|
|
117
117
|
}
|
|
118
118
|
};
|
|
@@ -134,7 +134,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
134
134
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
135
135
|
}
|
|
136
136
|
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) => {
|
|
137
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
137
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-ly6UBwlj.js");
|
|
138
138
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
139
139
|
}])]);
|
|
140
140
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -148,7 +148,7 @@ function missingAgentText(agentId) {
|
|
|
148
148
|
}
|
|
149
149
|
async function printSessionLimits() {
|
|
150
150
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
151
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
151
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-ly6UBwlj.js");
|
|
152
152
|
const limitsLines = await sessionLimitsHelpLines();
|
|
153
153
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
154
154
|
}
|
|
@@ -205,7 +205,7 @@ async function readDeclaredCustomAgents() {
|
|
|
205
205
|
declared: [],
|
|
206
206
|
error: null
|
|
207
207
|
};
|
|
208
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
208
|
+
const { loadConfigFile } = await import("../chunks/config-store-BCB2IgBC.js");
|
|
209
209
|
try {
|
|
210
210
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
211
211
|
if (!loaded.config) return {
|
|
@@ -281,7 +281,7 @@ async function runDoctor() {
|
|
|
281
281
|
}
|
|
282
282
|
switchSection("Agents");
|
|
283
283
|
try {
|
|
284
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
284
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-BKAruwl6.js");
|
|
285
285
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
286
286
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
287
287
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as describeAgentResolvability, f as listAgentIds, g as setCustomAgents } from "./adapters-
|
|
1
|
+
export { o as describeAgentResolvability, f as listAgentIds, g as setCustomAgents } from "./adapters-Bvg4IsdW.js";
|
|
@@ -4,7 +4,7 @@ import { n as buildAgentEnv } from "./spawn-env-VKivL0Ed.js";
|
|
|
4
4
|
import { i as execFileSync, l as spawn, r as execFileAsync } from "./child-process-safe-DAaWFLd1.js";
|
|
5
5
|
import { o as isMissingFileError, r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
6
6
|
import { c as loadedJsonValue, f as writeJsonAtomicSync, m as writeTextAtomicSync, p as writeTextAtomic, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-BmnDu2ZM.js";
|
|
7
|
-
import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-
|
|
7
|
+
import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-CQpMnLFi.js";
|
|
8
8
|
import { Dn as FULL_SHA_RE, E as CONVERSATION_TOOL_RESULT_HOOK_EVENT, T as CONVERSATION_PERMISSION_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME, j as REQUEST_USER_INPUT_TOOL_NAME, kn as shortSha$1 } from "./session-BygOlxkV.js";
|
|
9
9
|
import { a as rawTextOr, n as isRecord, o as textOr, r as numberOr } from "./coerce-D6vRlIGO.js";
|
|
10
10
|
import { n as shellLaunchText, r as shellQuote, t as buildHookCommand } from "./hook-command-core-9E3QR9Bk.js";
|
|
@@ -17,7 +17,7 @@ import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
|
|
|
17
17
|
import { S as cleanJsonc, _ as renderCodexHookTables, c as CODEX_HOME_PROFILE, f as QWEN_HOME_PROFILE, l as COPILOT_HOME_PROFILE, p as doesProjectConfigTurnHooksOff, t as AGENT_HOME_CONFIG_NAME, u as GEMINI_HOME_PROFILE, v as renderCodexHooksBlock, x as tomlBasicString } from "./agent-home-core-DxJ5_9_c.js";
|
|
18
18
|
import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, s as readOptionalText } from "./agent-home-KhnohDHV.js";
|
|
19
19
|
import { t as kimi } from "./kimi-bJFSfqLq.js";
|
|
20
|
-
import { c as SHELL_AGENT_ID } from "./config-
|
|
20
|
+
import { c as SHELL_AGENT_ID } from "./config-CHKlCDpY.js";
|
|
21
21
|
import fs from "node:fs";
|
|
22
22
|
import path from "node:path";
|
|
23
23
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveHookTarget } from "./hook-relay-core-COOPCFwv.js";
|
|
2
|
-
import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
2
|
+
import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-BGpJNhH5.js";
|
|
3
3
|
import { t as AgentNeedReply } from "./secrets-DUjhXqjU.js";
|
|
4
4
|
import { d as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-BygOlxkV.js";
|
|
5
5
|
import { D as STEP_STATUSES, E as Op, F as WhiteboardAgentReply } from "./whiteboard-BRwReLkT.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-BxM3JxWj.js";
|
|
@@ -4,7 +4,7 @@ import { n as AgentNeedRequest } from "./secrets-DUjhXqjU.js";
|
|
|
4
4
|
import { I as WhiteboardAgentRequest } from "./whiteboard-BRwReLkT.js";
|
|
5
5
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
6
6
|
import { a as firstCodePoints } from "./text-BDF4aFhQ.js";
|
|
7
|
-
import { l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
7
|
+
import { l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-CHKlCDpY.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { parseArgs } from "node:util";
|
|
10
10
|
import crypto from "node:crypto";
|
|
@@ -201,6 +201,7 @@ var createBrowserConfigShape = (isAbsolutePath) => ({
|
|
|
201
201
|
streamerMode: optionalBoolean("streamerMode"),
|
|
202
202
|
linkPreviews: optionalBoolean("linkPreviews"),
|
|
203
203
|
viewTabOrder: z.array(z.string({ error: "viewTabOrder must be an array of view ids" }), { error: "viewTabOrder must be an array of view ids" }).optional(),
|
|
204
|
+
sessionOrder: z.array(z.string({ error: "sessionOrder must be an array of session ids" }), { error: "sessionOrder must be an array of session ids" }).optional(),
|
|
204
205
|
hiddenAgents: z.array(z.string({ error: "hiddenAgents must be an array of agent ids" }), { error: "hiddenAgents must be an array of agent ids" }).optional(),
|
|
205
206
|
remoteSessions: optionalBoolean("remoteSessions"),
|
|
206
207
|
hintCards: optionalBoolean("hintCards"),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as loadConfigFile } from "./config-store-CQpMnLFi.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as equalsIgnoringCaseOnWindows, r as isPathInside } from "./paths-C2u2R_6l.js";
|
|
2
2
|
import { a as withoutEnvSecrets, i as withEnvSecrets, n as readEnvSecrets } from "./config-secrets-core-Dl2-_qLd.js";
|
|
3
|
-
import { d as BranchGcFileSettings, f as USAGE_COST_MODES, i as Config, m as normalizeLegacyConfigNumbers, n as BUILTIN_AGENT_IDS, s as RUNTIME_CONFIG_SCALAR_KEYS, t as AGENT_ID_SHAPE_MESSAGE, u as configIssueMessage } from "./config-
|
|
3
|
+
import { d as BranchGcFileSettings, f as USAGE_COST_MODES, i as Config, m as normalizeLegacyConfigNumbers, n as BUILTIN_AGENT_IDS, s as RUNTIME_CONFIG_SCALAR_KEYS, t as AGENT_ID_SHAPE_MESSAGE, u as configIssueMessage } from "./config-CHKlCDpY.js";
|
|
4
4
|
import { At as USAGE_SCAN_INTERVAL_RANGE, Dt as USAGE_BUDGET_RANGE, Et as TASK_TITLE_TIMEOUT_RANGE, Mt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, Ot as USAGE_INTEGER_RANGES, S as DEFAULT_MODELS, St as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, Tt as REVIEWS_TURN_LIMIT_RANGE, _t as POSTHOG_PROJECT_ID_RANGE, an as OPERATOR_ACTIONS_BY_SURFACE, at as FLYING_ANIMALS_SCALE_RANGE, cn as UPDATE_CHANNELS, ct as NON_NEGATIVE_NUMBER_RANGE, en as DASHBOARD_VIEWS, et as COMMUNITY_INTERVAL_MINUTES_RANGE, ft as POSTHOG_FIX_TIMEOUT_RANGE, in as ONBOARDING_STEP_STATES, it as FLYING_ANIMALS_GAP_RANGE, jt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE, kt as USAGE_RETAIN_DAYS_RANGE, lt as PORT_RANGE, nt as FLYING_ANIMALS_DEFAULTS, on as OPERATOR_SURFACES, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, rn as ONBOARDING_STEPS, rt as FLYING_ANIMALS_DURATION_RANGE, st as MEMORY_RESERVE_MB_RANGE, tt as FIXED_PORT_RANGE, u as HintFeature, ut as POSITIVE_NUMBER_RANGE, wt as REPLAY_BUFFER_KB_RANGE, xt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, yt as POSTHOG_TRAFFIC_BASELINE_RANGE } from "./control-messages-DkKr9vbw.js";
|
|
5
5
|
import { N as SESSION_COMMANDS, Tn as prFlowRulesJsonSchema, an as PrFlowCommand, fn as PrFlowPrAction, hn as PrFlowSourceCommand, pn as PrFlowRule } from "./session-BygOlxkV.js";
|
|
6
6
|
import { l as PROBE_CREDENTIALS, m as WATCHER_LANE_IDS } from "./watcher-link-xW9PMs77.js";
|
|
@@ -2359,6 +2359,26 @@ var FILE_ONLY_SETTINGS = Object.freeze([
|
|
|
2359
2359
|
fileOnlyReason: DIAGNOSTIC,
|
|
2360
2360
|
...FILE_ONLY
|
|
2361
2361
|
},
|
|
2362
|
+
{
|
|
2363
|
+
id: "file-session-order",
|
|
2364
|
+
path: "sessionOrder",
|
|
2365
|
+
title: "Session order",
|
|
2366
|
+
group: "machine-sessions",
|
|
2367
|
+
description: "Order of sessions within each project in the sidebar and the phone Board, as session ids; a session not listed goes after the listed ones.",
|
|
2368
|
+
control: "list",
|
|
2369
|
+
keywords: [
|
|
2370
|
+
"sidebar",
|
|
2371
|
+
"rail",
|
|
2372
|
+
"order",
|
|
2373
|
+
"reorder",
|
|
2374
|
+
"drag",
|
|
2375
|
+
"rearrange"
|
|
2376
|
+
],
|
|
2377
|
+
defaultValue: [],
|
|
2378
|
+
takesEffect: "now",
|
|
2379
|
+
fileOnlyReason: "Set by dragging sessions in the sidebar, or pressing and holding them on the phone Board.",
|
|
2380
|
+
...FILE_ONLY
|
|
2381
|
+
},
|
|
2362
2382
|
{
|
|
2363
2383
|
id: "file-replay-buffer",
|
|
2364
2384
|
path: "replayBufferKB",
|
|
@@ -4138,6 +4158,7 @@ var DEFAULT_CONFIG = {
|
|
|
4138
4158
|
streamerMode: false,
|
|
4139
4159
|
linkPreviews: true,
|
|
4140
4160
|
viewTabOrder: [],
|
|
4161
|
+
sessionOrder: [],
|
|
4141
4162
|
hiddenAgents: [],
|
|
4142
4163
|
remoteSessions: false,
|
|
4143
4164
|
hintCards: false,
|
|
@@ -4587,6 +4608,7 @@ function createConfigStore({ settingsDefaults, readTelemetryInstallId, isExperim
|
|
|
4587
4608
|
streamerMode: config.streamerMode ?? effectiveDefaults.streamerMode,
|
|
4588
4609
|
linkPreviews: config.linkPreviews ?? effectiveDefaults.linkPreviews,
|
|
4589
4610
|
viewTabOrder: config.viewTabOrder ?? DEFAULT_CONFIG.viewTabOrder,
|
|
4611
|
+
sessionOrder: config.sessionOrder ?? DEFAULT_CONFIG.sessionOrder,
|
|
4590
4612
|
hiddenAgents: config.hiddenAgents ?? DEFAULT_CONFIG.hiddenAgents,
|
|
4591
4613
|
remoteSessions: config.remoteSessions ?? effectiveDefaults.remoteSessions,
|
|
4592
4614
|
hintCards: config.hintCards ?? effectiveDefaults.hintCards,
|
|
@@ -2,7 +2,7 @@ import { i as HostEntries } from "./control-messages-DkKr9vbw.js";
|
|
|
2
2
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
3
3
|
import { t as renderTable } from "./ascii-figure-core-BegIbndz.js";
|
|
4
4
|
import { r as removeHostFrom, t as addHostTo } from "./host-registry-core-BZJqNz7o.js";
|
|
5
|
-
import { i as saveValidatedConfig, n as requireView, t as processIo } from "./settings-cli-
|
|
5
|
+
import { i as saveValidatedConfig, n as requireView, t as processIo } from "./settings-cli-D5FDGWpl.js";
|
|
6
6
|
// server/hosts/host-cli.ts
|
|
7
7
|
var DEFAULT_DASHBOARD_PORT = 3e3;
|
|
8
8
|
function registeredHosts() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $t as CONTROL_FRAME_MAX_BYTES, A as BenchmarkSuite, B as DISCORD_CHANNEL_NAME_RE, Bt as issuePullRequestStateFromGithub, C as EFFORT_OPTION_ID, D as BenchmarkJudgement, E as BenchmarkId, F as CommunityActionRequest, Ft as IssueKey, G as GithubPrsFrame, Gt as TraceCheckpoint, H as GithubPrDetailNode, Ht as HookEnvelope, I as CommunityDraft, It as IssueUpdate, J as WorkflowLabelName, Jt as ChangeMap, K as comparablePrKey, Kt as TraceRecord, L as CommunityItem, Lt as IssuesSearchResponse, M as MergedPrListing, N as MinedPrReviewData, Nt as GithubIssuePullRequestsRepository, O as BenchmarkRun, Ot as USAGE_INTEGER_RANGES, P as PrCheckoutCaseInput, Pt as GithubIssueResponse, Qt as CLIENT_LOG_TEXT_MAX_CHARS, R as CommunityState, Rt as IssuesState, S as DEFAULT_MODELS, T as BenchmarkCase, U as GithubPrKey, Ut as SessionSetup, V as SKILL_NAME_RE, W as GithubPrLightSearchNode, Wt as MAX_RAW_LINE_CHARS, Xt as CHANGES_POLL_INTERVAL_MS, Y as WorkflowsSettings, Yt as changeMapFactId, Z as WorkflowsState, _ as RaceSpec, _n as PlanRevision, b as CATALOG_AGENT_IDS, c as HINT_FEATURES, d as ContestantMetrics, dn as PLAN_BODY_CAP_BYTES, fn as PLAN_HOOK_EVENT, g as RaceRecord, gn as PlanDecision, h as RaceJudgeAgent, hn as PLAN_TOOL_NAME, j as CommitComparison, k as BenchmarkStatus, l as HINT_VIEW_BY_FEATURE, mn as PLAN_RESULT_HOOK_EVENT, n as PackApproveRequest, o as HubPhoneAlertFrame, ot as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, p as RACE_CRITERIA, pn as PLAN_HOOK_OUTPUT_MAX_CHARS, q as WorkflowCommentBody, qt as CoherenceJournalOutput, r as HUB_PHONE_ALERT_TEXT_MAX, s as FeatureHintState, sn as pullRequestKeyFromReference, t as ClientMessage, tn as GithubTeam, un as UpdateJournal, vn as parseExitPlanModeHookPayload, w as BenchmarkActionRequest, x as CatalogAgentId, yn as planTitle, z as CommunityVerdict, zt as IssuesStatus } from "./control-messages-DkKr9vbw.js";
|
|
2
2
|
import { a as rawTextOr, i as positiveNumberOr, n as isRecord$2, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-D6vRlIGO.js";
|
|
3
|
-
import { $ as codexHomes, $t as appendRemovalRecordSync, A as parseRegistryLatest, At as shouldReplace, B as imageMimeForUploadFilename, Bt as HOOK_EVENT_CATALOG, C as NATIVE_INSTALL_SCRIPTS_FLAG, Ct as foldEntryIntoGenerationRollup, D as normalizeSha, Dt as mergeGenerationRollups, E as isCheckFresh, Et as isWithinGenerationRecencyWindow, F as MAX_UPLOAD_BYTES, Ft as PLAN_HOLD_RELEASE_MS, G as committedOffsetFromTraceTailOrNull, Gt as normalizeHook, H as planUploadRetention, Ht as agentHookGroupOf, I as buildUploadFilename, It as buildHookSettings, J as isOversizedPartialLine, Jt as removeHook, K as completeLineBytes, Kt as rawStoredHooks, L as decideUploadType, Lt as generateToken, M as pickNewestPublished, Mt as vendorUsageEntry, N as shortSha, Nt as claudeCode, O as normalizeUpdateChannel, Ot as parseJsonLine$1, P as openContainedFile, Pt as HOOK_EVENTS, Q as codexFallbackRoots, Qt as appendRemovalRecord, R as exceedsUploadCap, Rt as sweepOrphans, S as HOMEBREW_COMMAND, St as expandAdvisorIterations, T as decideUpdateStatus, Tt as identityFromRelPath, U as MAX_TRANSCRIPT_READ_BYTES, Ut as appendUserHooks, V as isSafePathSegment, Vt as ID_RE, W as TRACE_TAIL_SCAN_BYTES, Wt as hooksForProject, X as resumeOffsetFrom, Xt as makeHostScratchDirectory, Y as planContiguousRead, Yt as upsertHook, Z as withCommittedOffset, Zt as sweepOrphanedHostScratch, _ as folderTrustRoot, _t as kimiDedupIdentity, a as customAgentFingerprint, at as expandTilde, b as requestCodexAppServer, bt as dedupKeys, c as hookProfileOf, ct as kimiHomes, d as isKnownAgentId, dt as resolveProjectsDirs, en as recordSweptPath, et as codexRootCandidates, f as listAgentIds, ft as scopedClaudeRoots, g as setCustomAgents, gt as splitLines, h as resolveAdapter, ht as shouldPersistWarehouse, i as commandFor, it as dedupeCodexFiles, j as parseResolvedSha, jt as totalTokensOf$1, k as parseRegistryDeprecation, kt as parseUsageLine, l as isBuiltInAgentId, lt as passOutcome, m as resetCommandCache, mt as shouldEvaluateDespiteIoFailures, n as DEFAULT_AGENT_ID$1, nn as listClaudeGlobalConfigPathCandidates, nt as continuationDelayMs, o as describeAgentResolvability, ot as grokHomes, p as projectHookConfigRelPaths, pt as sessionsRootCandidates, q as containmentRefusalReason, qt as readStoredHooks, r as cachedAgentResolvability, rn as HOOK_TOOLS, rt as decideFileRead, s as getAdapter, st as isUsageFile, tn as removalsJournalPath, tt as codexSessionIdFromPath, u as isFirstClassAgent, ut as projectDirCandidates, v as codex, vt as parseKimiUsageLine, w as decideInstallFlavor, wt as foldReplacementIntoGenerationRollup, x as BINARY_UPDATER_NAME, xt as emptyTotals, y as readHostCodexVersion, yt as addEntryToTotals, z as framePathPaste, zt as writeSessionSettings } from "./adapters-
|
|
4
|
-
import { $ as buildBrowserExceptionProperties, C as isExperimentalBuild, D as settingsBlockSpecFor, E as mergeSettingsBlock, G as LOGGED_FAST_CLOSE_COUNTS, H as isExperimentalSetting, J as parseDataClientMessage, K as describeDataAttach, O as validateSettingsBlock, Q as buildAiGenerationEvents, S as compareReleaseVersions, U as DEEP_HISTORY_SCROLLBACK_LINES, X as POSTHOG_INGEST_HOST_ENV, Y as FIRST_RUN_NOTICE, Z as adapterBucket, _ as sessionIdFromBranch, _t as TELEMETRY_EVENT_SCHEMAS, a as generateProjectId, at as decideIsDevInstall, b as DEFAULT_TIMER_FNS, bt as comparableDirectoryPath, ct as exceptionFingerprint, d as DEFAULT_CONFIG, dt as parsePosthogReleaseId, et as buildExceptionProperties, f as DEFAULT_BRANCH_GC_PREFIXES, ft as resolveProjectToken, g as planWorktreeGc, gt as PendingCrashReport, h as planBranchGc, ht as DashboardTelemetryReport, i as ensureProjectIds, it as codexUserIdOf, k as SETTINGS_INDEX, lt as isIngestOverrideIgnored, m as matchedPrefix, mt as telemetryFlagsUrl, n as createConfigStore, nt as classifySessionExit, o as glimmervoidHomeDir, ot as decideRemoteTelemetryState, p as isGcCandidateWorktree, pt as telemetryBatchUrl, q as parseDataAttach, r as ABORT_CONFIG_SAVE, rt as claudeAccountUuidOf, st as decideTelemetryConsent, tt as buildPersonProperties, ut as nodeMajorVersion, v as usablePrefixes, vt as TelemetryState, x as unrefTimer, xt as isSameDirectoryPath, y as worktreeIntegrationTips, yt as canonicalizePath, z as valueAtPath } from "./config-store-
|
|
3
|
+
import { $ as codexHomes, $t as appendRemovalRecordSync, A as parseRegistryLatest, At as shouldReplace, B as imageMimeForUploadFilename, Bt as HOOK_EVENT_CATALOG, C as NATIVE_INSTALL_SCRIPTS_FLAG, Ct as foldEntryIntoGenerationRollup, D as normalizeSha, Dt as mergeGenerationRollups, E as isCheckFresh, Et as isWithinGenerationRecencyWindow, F as MAX_UPLOAD_BYTES, Ft as PLAN_HOLD_RELEASE_MS, G as committedOffsetFromTraceTailOrNull, Gt as normalizeHook, H as planUploadRetention, Ht as agentHookGroupOf, I as buildUploadFilename, It as buildHookSettings, J as isOversizedPartialLine, Jt as removeHook, K as completeLineBytes, Kt as rawStoredHooks, L as decideUploadType, Lt as generateToken, M as pickNewestPublished, Mt as vendorUsageEntry, N as shortSha, Nt as claudeCode, O as normalizeUpdateChannel, Ot as parseJsonLine$1, P as openContainedFile, Pt as HOOK_EVENTS, Q as codexFallbackRoots, Qt as appendRemovalRecord, R as exceedsUploadCap, Rt as sweepOrphans, S as HOMEBREW_COMMAND, St as expandAdvisorIterations, T as decideUpdateStatus, Tt as identityFromRelPath, U as MAX_TRANSCRIPT_READ_BYTES, Ut as appendUserHooks, V as isSafePathSegment, Vt as ID_RE, W as TRACE_TAIL_SCAN_BYTES, Wt as hooksForProject, X as resumeOffsetFrom, Xt as makeHostScratchDirectory, Y as planContiguousRead, Yt as upsertHook, Z as withCommittedOffset, Zt as sweepOrphanedHostScratch, _ as folderTrustRoot, _t as kimiDedupIdentity, a as customAgentFingerprint, at as expandTilde, b as requestCodexAppServer, bt as dedupKeys, c as hookProfileOf, ct as kimiHomes, d as isKnownAgentId, dt as resolveProjectsDirs, en as recordSweptPath, et as codexRootCandidates, f as listAgentIds, ft as scopedClaudeRoots, g as setCustomAgents, gt as splitLines, h as resolveAdapter, ht as shouldPersistWarehouse, i as commandFor, it as dedupeCodexFiles, j as parseResolvedSha, jt as totalTokensOf$1, k as parseRegistryDeprecation, kt as parseUsageLine, l as isBuiltInAgentId, lt as passOutcome, m as resetCommandCache, mt as shouldEvaluateDespiteIoFailures, n as DEFAULT_AGENT_ID$1, nn as listClaudeGlobalConfigPathCandidates, nt as continuationDelayMs, o as describeAgentResolvability, ot as grokHomes, p as projectHookConfigRelPaths, pt as sessionsRootCandidates, q as containmentRefusalReason, qt as readStoredHooks, r as cachedAgentResolvability, rn as HOOK_TOOLS, rt as decideFileRead, s as getAdapter, st as isUsageFile, tn as removalsJournalPath, tt as codexSessionIdFromPath, u as isFirstClassAgent, ut as projectDirCandidates, v as codex, vt as parseKimiUsageLine, w as decideInstallFlavor, wt as foldReplacementIntoGenerationRollup, x as BINARY_UPDATER_NAME, xt as emptyTotals, y as readHostCodexVersion, yt as addEntryToTotals, z as framePathPaste, zt as writeSessionSettings } from "./adapters-Bvg4IsdW.js";
|
|
4
|
+
import { $ as buildBrowserExceptionProperties, C as isExperimentalBuild, D as settingsBlockSpecFor, E as mergeSettingsBlock, G as LOGGED_FAST_CLOSE_COUNTS, H as isExperimentalSetting, J as parseDataClientMessage, K as describeDataAttach, O as validateSettingsBlock, Q as buildAiGenerationEvents, S as compareReleaseVersions, U as DEEP_HISTORY_SCROLLBACK_LINES, X as POSTHOG_INGEST_HOST_ENV, Y as FIRST_RUN_NOTICE, Z as adapterBucket, _ as sessionIdFromBranch, _t as TELEMETRY_EVENT_SCHEMAS, a as generateProjectId, at as decideIsDevInstall, b as DEFAULT_TIMER_FNS, bt as comparableDirectoryPath, ct as exceptionFingerprint, d as DEFAULT_CONFIG, dt as parsePosthogReleaseId, et as buildExceptionProperties, f as DEFAULT_BRANCH_GC_PREFIXES, ft as resolveProjectToken, g as planWorktreeGc, gt as PendingCrashReport, h as planBranchGc, ht as DashboardTelemetryReport, i as ensureProjectIds, it as codexUserIdOf, k as SETTINGS_INDEX, lt as isIngestOverrideIgnored, m as matchedPrefix, mt as telemetryFlagsUrl, n as createConfigStore, nt as classifySessionExit, o as glimmervoidHomeDir, ot as decideRemoteTelemetryState, p as isGcCandidateWorktree, pt as telemetryBatchUrl, q as parseDataAttach, r as ABORT_CONFIG_SAVE, rt as claudeAccountUuidOf, st as decideTelemetryConsent, tt as buildPersonProperties, ut as nodeMajorVersion, v as usablePrefixes, vt as TelemetryState, x as unrefTimer, xt as isSameDirectoryPath, y as worktreeIntegrationTips, yt as canonicalizePath, z as valueAtPath } from "./config-store-CQpMnLFi.js";
|
|
5
5
|
import { C as memoryReserveBytes, E as parseMemAvailableBytes, S as headroomFromReadings, T as parseCgroupV2Path, _ as createSerialQueue, a as jsonStateLoadError, b as cgroupAncestorPaths, c as loadedJsonValue, d as writeJsonAtomic, f as writeJsonAtomicSync, g as createMemoryAdmission, h as createKeyedSerialQueue, i as createJsonStateWriter, m as writeTextAtomicSync, n as appendJsonLines, o as loadJsonStateFile, p as writeTextAtomic, r as createJsonStateStore, s as loadJsonStateFileSync, t as appendJsonLine, v as createSpawnGate, w as parseCgroupBytes, x as cgroupLimitBytes, y as isQueueAdmissionTimeout } from "./json-file-BmnDu2ZM.js";
|
|
6
6
|
import { a as sanitizeWorktreeName, i as safePathSegment, n as equalsIgnoringCaseOnWindows, r as isPathInside, t as caseFoldedPathKey } from "./paths-C2u2R_6l.js";
|
|
7
7
|
import { o as isMissingFileError, r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
@@ -11,14 +11,14 @@ import { $ as MyPrCheckContextsResponse, $t as PR_ACTION_TOKEN_ENV, A as QUIET_N
|
|
|
11
11
|
import { a as QUESTION_ANSWERED_NOTIFY_CATEGORY, c as QuestionManagerSettings, i as ManagerLaneResult, n as MANAGER_DECISION_EVENT, r as ManagerDecision, t as MANAGER_DECISION_AUDIT_KIND } from "./question-manager-C_RzS1Ot.js";
|
|
12
12
|
import { E as Op, H as mediaOfBox, M as WHITEBOARD_ASSET_ROUTE, N as WHITEBOARD_LIMITS, O as STICKY_TONES, Q as ICON_NAMES, U as sparseBoardReply, V as linesOfBox, a as BOARD_PAGE_PARAMS_MESSAGE, b as DialManifest, i as BOARD_PAGE_GESTURE_MESSAGE, m as BoardRegion, n as BOARD_MEDIA_MAX_EDGE_PX, nt as DEVICE_NAMES, o as BOARD_PAGE_THEME_MESSAGE, p as BoardRecord, r as BOARD_PAGE_ESCAPE_MESSAGE, s as BOARD_PAGE_ZOOMED_MESSAGE, t as BOARD_DOC_CAP_BYTES } from "./whiteboard-BRwReLkT.js";
|
|
13
13
|
import { n as promptContextReplyOf, o as toolHookContextReplyOf, r as refocusReplyFor, t as REFOCUS_NOTE } from "./refocus-core-DlEDNY3E.js";
|
|
14
|
-
import { $ as hintFor, A as fencedUntrustedSections, B as RESUME_ID_RE, C as cleanTaskPrompt, D as extractNotifiedTaskIds, E as extractHookTaskTitle, F as resolveRefocusTaskTitle, G as shouldAdoptReportedResumeId, H as pickAutoResume, I as resolveTaskTitle, J as listRepoWorktreePaths, K as claudeProjectsDir, L as seedTaskTitleSources, M as isSubstantivePrompt, N as parseRefinedSessionName, O as extractOscTaskTitle, P as parseRefinedTaskTitle, R as startsWithSessionName, S as chooseRefinedSessionName, T as extractAiTitle, U as resolveResumeTarget, V as isConversationReplacedAtStartup, W as resumePromptFor, X as nextSuggestedName, Y as isAutoNameOf, Z as describeSessionLimits, _ as projectReviewDetail, a as checkAgentReply, b as buildPersistedTaskTitle, c as deriveChildSessionName, d as describePushLanding, et as permitsHelpCommand, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, it as toolHookFactsOf, j as isSelfWakePrompt, k as extractPromptTaskTitle, l as describeChildEndNote, n as REFUSAL_REASON, nt as routeAgentNotes, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as listRepoConversations, rt as supervisionLine, s as decideSpawnAllowance, tt as promptHintFor, u as describeKeptChildAttention, v as projectReviews, w as decideTaskTitleRefinement, x as buildTaskTitleRefinementPrompt, y as tokensMatch, z as AUTO_CONTINUE_PROMPT } from "./agent-api-core-
|
|
14
|
+
import { $ as hintFor, A as fencedUntrustedSections, B as RESUME_ID_RE, C as cleanTaskPrompt, D as extractNotifiedTaskIds, E as extractHookTaskTitle, F as resolveRefocusTaskTitle, G as shouldAdoptReportedResumeId, H as pickAutoResume, I as resolveTaskTitle, J as listRepoWorktreePaths, K as claudeProjectsDir, L as seedTaskTitleSources, M as isSubstantivePrompt, N as parseRefinedSessionName, O as extractOscTaskTitle, P as parseRefinedTaskTitle, R as startsWithSessionName, S as chooseRefinedSessionName, T as extractAiTitle, U as resolveResumeTarget, V as isConversationReplacedAtStartup, W as resumePromptFor, X as nextSuggestedName, Y as isAutoNameOf, Z as describeSessionLimits, _ as projectReviewDetail, a as checkAgentReply, b as buildPersistedTaskTitle, c as deriveChildSessionName, d as describePushLanding, et as permitsHelpCommand, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, it as toolHookFactsOf, j as isSelfWakePrompt, k as extractPromptTaskTitle, l as describeChildEndNote, n as REFUSAL_REASON, nt as routeAgentNotes, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as listRepoConversations, rt as supervisionLine, s as decideSpawnAllowance, tt as promptHintFor, u as describeKeptChildAttention, v as projectReviews, w as decideTaskTitleRefinement, x as buildTaskTitleRefinementPrompt, y as tokensMatch, z as AUTO_CONTINUE_PROMPT } from "./agent-api-core-BGpJNhH5.js";
|
|
15
15
|
import { a as mcpLaunchFor, o as parsePresentedCredential } from "./agent-config-BJVJpVzX.js";
|
|
16
16
|
import { a as elementPageOf, c as tileKeysFor, l as pictureRefusalOf, o as fitsOnePage, s as tileIdOf } from "./layout-worker-core-Bo1IQfa3.js";
|
|
17
17
|
import { c as VAULT_REPLACED_CLOSE_CODE, d as VaultCompanionMessage, f as VaultJob, l as VAULT_SOCKET_PATH, n as AgentNeedRequest } from "./secrets-DUjhXqjU.js";
|
|
18
|
-
import { a as ConfigUpdate, c as SHELL_AGENT_ID, f as USAGE_COST_MODES, n as BUILTIN_AGENT_IDS, p as USAGE_VENDOR_KEYS, r as BrowserConfig, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage } from "./config-
|
|
18
|
+
import { a as ConfigUpdate, c as SHELL_AGENT_ID, f as USAGE_COST_MODES, n as BUILTIN_AGENT_IDS, p as USAGE_VENDOR_KEYS, r as BrowserConfig, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage } from "./config-CHKlCDpY.js";
|
|
19
19
|
import { _ as decideHostAllowed, c as approvedPackPanels, d as packRow, f as pendingPackNote, g as readCappedBody, h as parseJsonBody, l as approvedPackThemes, m as decodeHeaderText, n as readPacksForAgent, p as declaredContentLength, u as packFileHeaders } from "./pack-agent-D-Uh314s.js";
|
|
20
20
|
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, u as wellKnownAgentSocketPaths } from "./ssh-signing-core-CmYFjvrx.js";
|
|
21
|
-
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, i as validateRemoteConfig, l as defaultSeenPath, n as isLoopbackHost, o as createPairingsStore, p as hashSecret, r as normalizeRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-
|
|
21
|
+
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, i as validateRemoteConfig, l as defaultSeenPath, n as isLoopbackHost, o as createPairingsStore, p as hashSecret, r as normalizeRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-CX87T8kk.js";
|
|
22
22
|
import { r as shellQuote } from "./hook-command-core-9E3QR9Bk.js";
|
|
23
23
|
import { c as realAgentHome, f as createHeldSessionTempFolder, h as trashSessionTempFolderOnceUnheld, m as sessionIdOfLockFile, p as releaseSessionLock, u as releaseEveryUnheldAgentHomeSecrets } from "./agent-home-KhnohDHV.js";
|
|
24
24
|
import { A as savedRuleFor, B as withInterruptedRuns, D as prFlowSetup, E as prActionRunAfterExit, F as teammateThreadItems, G as defineTransitions, H as withPrActionRun, I as threadCandidates, M as shouldTellBranchMoved, N as sourceCandidates$1, O as prFlowsConfig, R as visibleRun, S as packPathsOf, U as withReopened, V as withOnlyOpenPrs, W as withRuleRun, _ as isCommandStillRunning, b as newPrActionRun, d as acceptReport, f as branchMovedNote, g as flaggingReviewers, h as fixLocallyPrompt, i as packsStatePath, j as scopedToRepo, l as PacksState, o as readPackDir, p as commandFingerprint, r as packDirsUnder, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, v as itemLocation, w as plannedActions, y as mergeItems, z as withHandled } from "./pack-files-DggkYpgV.js";
|
|
@@ -27,7 +27,7 @@ import { B as planSteps$1, G as boardIndexOf, T as cappedWarnings, U as assetIdO
|
|
|
27
27
|
import { n as createLayoutClient, t as createBoardStore } from "./board-store-client-DNlvZvGx.js";
|
|
28
28
|
import { t as LAYOUT_CACHE_FILENAME } from "./layout-cache-msy3RopJ.js";
|
|
29
29
|
import { C as createTsconfigPathsResolver, E as resolveExtendsPath, T as parseTsconfigJsonc, d as KIMI_HOME_PROFILE, w as matchPathPatterns } from "./agent-home-core-DxJ5_9_c.js";
|
|
30
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
30
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-CawQ72Tn.js";
|
|
31
31
|
import { n as escapeMarkup } from "./whiteboard-svg-core-C8es_jiE.js";
|
|
32
32
|
import { n as DEFAULT_MAX_MS, r as nextBackoffMs, t as DEFAULT_BASE_MS } from "./backoff-CMhw1Fu8.js";
|
|
33
33
|
import { _ as WatcherStatus, a as LINK_SERVER_URL_ENV, c as Nudge, f as STATUS_PATH, i as LINK_SECRET_ENV, m as WATCHER_LANE_IDS, n as GITHUB_API_BASE_ENV, p as WATCHER_HOME_ENV, v as githubApiOrigin } from "./watcher-link-xW9PMs77.js";
|
|
@@ -22635,9 +22635,22 @@ function describeInstallWarnings(outcome) {
|
|
|
22635
22635
|
if (outcome.unsupportedDirs.length) warnings.push(`node_modules in ${outcome.unsupportedDirs.join(", ")} was not installed because the worktree has no package-lock.json or pnpm-lock.yaml there; install dependencies there`);
|
|
22636
22636
|
return warnings;
|
|
22637
22637
|
}
|
|
22638
|
+
function uniquePackageNamesOf(unbuiltInstallPaths) {
|
|
22639
|
+
return [...new Set(unbuiltInstallPaths.map(packageNameOfInstallPath))];
|
|
22640
|
+
}
|
|
22641
|
+
function rebuildArgsFor(unbuiltInstallPaths) {
|
|
22642
|
+
return [
|
|
22643
|
+
"rebuild",
|
|
22644
|
+
...uniquePackageNamesOf(unbuiltInstallPaths),
|
|
22645
|
+
"--ignore-scripts=false",
|
|
22646
|
+
"--dangerously-allow-all-scripts",
|
|
22647
|
+
"--no-audit",
|
|
22648
|
+
"--no-fund"
|
|
22649
|
+
];
|
|
22650
|
+
}
|
|
22638
22651
|
function describeUnbuiltPackages(dir, unbuiltPackages) {
|
|
22639
|
-
const names = unbuiltPackages
|
|
22640
|
-
return `${names.join(", ")} in ${dir}
|
|
22652
|
+
const names = uniquePackageNamesOf(unbuiltPackages);
|
|
22653
|
+
return `${names.join(", ")} in ${dir} could not be built: npm rebuild ${names.join(" ")} failed; run it there`;
|
|
22641
22654
|
}
|
|
22642
22655
|
function describeDependencyCloneSkip(reason) {
|
|
22643
22656
|
return SKIP_DESCRIPTIONS[reason];
|
|
@@ -60644,7 +60657,8 @@ async function installDependencies(mainCheckout, worktreeDir, signal, isRootSeed
|
|
|
60644
60657
|
if (signal.aborted) break;
|
|
60645
60658
|
const isStagedRootInstall = isRootSeeded && install.dir === "." && install.command === "npm";
|
|
60646
60659
|
const mainPackageDir = path.join(mainCheckout, install.dir);
|
|
60647
|
-
|
|
60660
|
+
const result = await (isStagedRootInstall ? runStagedRootInstall(mainPackageDir, worktreeDir, install, signal) : runInstall(mainPackageDir, worktreeDir, install, signal));
|
|
60661
|
+
results.push(await withUnbuiltPackagesRebuilt(path.join(worktreeDir, install.dir), install, result, signal));
|
|
60648
60662
|
}
|
|
60649
60663
|
return {
|
|
60650
60664
|
results,
|
|
@@ -60711,6 +60725,19 @@ async function swapNodeModules(stagedNodeModules, liveNodeModules, previousNodeM
|
|
|
60711
60725
|
if (hasLiveNodeModules) await renamed(previousNodeModules, liveNodeModules);
|
|
60712
60726
|
return false;
|
|
60713
60727
|
}
|
|
60728
|
+
async function withUnbuiltPackagesRebuilt(packageDir, install, result, signal) {
|
|
60729
|
+
if (!result.ok || result.unbuiltPackages.length === 0) return result;
|
|
60730
|
+
const rebuild = await runInstallCommand(packageDir, {
|
|
60731
|
+
...install,
|
|
60732
|
+
args: rebuildArgsFor(result.unbuiltPackages)
|
|
60733
|
+
}, signal);
|
|
60734
|
+
if (rebuild.ok) return {
|
|
60735
|
+
...result,
|
|
60736
|
+
unbuiltPackages: []
|
|
60737
|
+
};
|
|
60738
|
+
console.log(`[dependency-clone] npm rebuild in ${packageDir} failed: ${lastOutputLineOf(rebuild.stderr ?? "") || lastOutputLineOf(rebuild.err) || "no output"}`);
|
|
60739
|
+
return result;
|
|
60740
|
+
}
|
|
60714
60741
|
function runInstallCommand(cwd, install, signal) {
|
|
60715
60742
|
return runCommand(install.command, install.args, {
|
|
60716
60743
|
cwd,
|
|
@@ -65453,9 +65480,20 @@ function createBackend(httpServer, options = {}) {
|
|
|
65453
65480
|
relayToHost: (request, socket, head) => hostLinks.relayUpgrade(request, socket, head)
|
|
65454
65481
|
});
|
|
65455
65482
|
const { controlWss, onControlConnection, dataWss, controlReplayLog, sessionDataClients, broadcastControl: broadcastControlFromWebSockets, closeSessionDataClients, viewerControlClientCount, isViewerConnected, isHubControlSocket, hubControlClientCount, sendToHubControlSockets } = webSockets;
|
|
65483
|
+
function forgetSessionInSavedOrder(sessionId) {
|
|
65484
|
+
if (!config.sessionOrder?.includes(sessionId)) return;
|
|
65485
|
+
configStore.saveAsync((savedConfig) => {
|
|
65486
|
+
if (!savedConfig.sessionOrder?.includes(sessionId)) return ABORT_CONFIG_SAVE;
|
|
65487
|
+
savedConfig.sessionOrder = savedConfig.sessionOrder.filter((id) => id !== sessionId);
|
|
65488
|
+
}).then((saved) => {
|
|
65489
|
+
if (saved) config.sessionOrder = saved.sessionOrder;
|
|
65490
|
+
}).catch((error) => console.warn(`[config] Failed to drop a removed session from sessionOrder: ${errorMessage(error)}`));
|
|
65491
|
+
}
|
|
65456
65492
|
broadcastControl = (message) => {
|
|
65457
65493
|
broadcastControlFromWebSockets(message);
|
|
65458
|
-
if (message.type
|
|
65494
|
+
if (message.type !== "session-removed" || typeof message.id !== "string") return;
|
|
65495
|
+
whiteboards.forgetSession(message.id);
|
|
65496
|
+
forgetSessionInSavedOrder(message.id);
|
|
65459
65497
|
};
|
|
65460
65498
|
const hostLinks = createHostLinksWiring({
|
|
65461
65499
|
hosts: config.hosts ?? [],
|
|
@@ -559,7 +559,7 @@ async function runList() {
|
|
|
559
559
|
process.stderr.write("glimmervoid packs list reads the running Glimmervoid, so it works inside a Glimmervoid session; the operator sees the same list in Settings, Packs\n");
|
|
560
560
|
return 1;
|
|
561
561
|
}
|
|
562
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
562
|
+
const { askAgentApi } = await import("./agent-api-cli-ly6UBwlj.js");
|
|
563
563
|
const reply = AGENT_REPLY_SCHEMAS.packs.safeParse(await askAgentApi("packs", { command: "list" }));
|
|
564
564
|
if (!reply.success) {
|
|
565
565
|
process.stderr.write("glimmervoid packs list: Glimmervoid did not answer with a pack list\n");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as resolveConfigPath } from "./config-store-
|
|
2
|
-
import { c as defaultPairingsPath, l as defaultSeenPath, o as createPairingsStore, r as normalizeRemoteConfig, s as createSeenStore } from "./remote-config-
|
|
1
|
+
import { c as resolveConfigPath } from "./config-store-CQpMnLFi.js";
|
|
2
|
+
import { c as defaultPairingsPath, l as defaultSeenPath, o as createPairingsStore, r as normalizeRemoteConfig, s as createSeenStore } from "./remote-config-CX87T8kk.js";
|
|
3
3
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
// server/text-format.ts
|
|
@@ -121,7 +121,7 @@ async function readServerConfig(askSetting) {
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
async function readConfigFromServer() {
|
|
124
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
124
|
+
const { askAgentApi } = await import("./agent-api-cli-ly6UBwlj.js");
|
|
125
125
|
return readServerConfig((settingPath) => askAgentApi("settings", {
|
|
126
126
|
command: "get",
|
|
127
127
|
path: settingPath
|
|
@@ -267,7 +267,7 @@ async function runPrActionReport({ outcome, message, env }, io) {
|
|
|
267
267
|
io.writeError("--outcome must be started, done, failed or refused, and --message at most 500 characters\n");
|
|
268
268
|
return 1;
|
|
269
269
|
}
|
|
270
|
-
const { postToAgentIngress } = await import("./agent-api-cli-
|
|
270
|
+
const { postToAgentIngress } = await import("./agent-api-cli-ly6UBwlj.js");
|
|
271
271
|
const reply = await postToAgentIngress({
|
|
272
272
|
endpoint: new URL(reportUrl),
|
|
273
273
|
token,
|
|
@@ -2,7 +2,7 @@ import { n as errorLabel, r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
|
2
2
|
import { n as equalsIgnoringCaseOnWindows } from "./paths-C2u2R_6l.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
4
4
|
import { a as jsonStateLoadError, d as writeJsonAtomic, f as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync } from "./json-file-BmnDu2ZM.js";
|
|
5
|
-
import { b as DEFAULT_TIMER_FNS, o as glimmervoidHomeDir, x as unrefTimer, yt as canonicalizePath } from "./config-store-
|
|
5
|
+
import { b as DEFAULT_TIMER_FNS, o as glimmervoidHomeDir, x as unrefTimer, yt as canonicalizePath } from "./config-store-CQpMnLFi.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
2
|
-
import { r as BrowserConfig } from "./config-
|
|
2
|
+
import { r as BrowserConfig } from "./config-CHKlCDpY.js";
|
|
3
3
|
import { _ as AgentSettingsReply } from "./session-BygOlxkV.js";
|
|
4
|
-
import { A as cloneValue, F as scoreSettingsSearch, I as setValueAtPath, P as parsePosthogProjectSelection, V as SETTINGS_REGISTRY, j as deleteValueAtPath, l as saveConfigFileOnce, s as loadConfigFile, t as IS_EXPERIMENTAL_BUILD, u as validateConfig, w as isSettingAvailable, z as valueAtPath } from "./config-store-
|
|
4
|
+
import { A as cloneValue, F as scoreSettingsSearch, I as setValueAtPath, P as parsePosthogProjectSelection, V as SETTINGS_REGISTRY, j as deleteValueAtPath, l as saveConfigFileOnce, s as loadConfigFile, t as IS_EXPERIMENTAL_BUILD, u as validateConfig, w as isSettingAvailable, z as valueAtPath } from "./config-store-CQpMnLFi.js";
|
|
5
5
|
import { r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
6
6
|
import { t as renderTable } from "./ascii-figure-core-BegIbndz.js";
|
|
7
7
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-qUZH9-0F.js";
|
|
8
8
|
import { i as withEnvSecrets, n as readEnvSecrets, t as ENV_SECRET_BINDINGS } from "./config-secrets-core-Dl2-_qLd.js";
|
|
9
|
-
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-
|
|
9
|
+
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-CawQ72Tn.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
// server/settings-cli.ts
|
|
@@ -322,7 +322,7 @@ function runParsedSettingsCommand(parsed, io) {
|
|
|
322
322
|
async function runParsedSettingsCli(parsed, io = processIo()) {
|
|
323
323
|
const serverRequest = settingsRequestForServer(parsed, process.env);
|
|
324
324
|
if (!serverRequest) return runParsedSettingsCommand(parsed, io);
|
|
325
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
325
|
+
const { askAgentApi } = await import("./agent-api-cli-ly6UBwlj.js");
|
|
326
326
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
327
327
|
ok: false,
|
|
328
328
|
error: errorMessage(error)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runParsedSettingsCli } from "./settings-cli-D5FDGWpl.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as AgentSettingsRequest } from "./session-BygOlxkV.js";
|
|
2
|
-
import { A as cloneValue, B as FILE_ONLY_GROUPS, L as settingsGroupOf, M as displayText, N as hasScaledUnit, R as settingsOf, V as SETTINGS_REGISTRY, k as SETTINGS_INDEX, w as isSettingAvailable, z as valueAtPath } from "./config-store-
|
|
2
|
+
import { A as cloneValue, B as FILE_ONLY_GROUPS, L as settingsGroupOf, M as displayText, N as hasScaledUnit, R as settingsOf, V as SETTINGS_REGISTRY, k as SETTINGS_INDEX, w as isSettingAvailable, z as valueAtPath } from "./config-store-CQpMnLFi.js";
|
|
3
3
|
import { t as renderTable } from "./ascii-figure-core-BegIbndz.js";
|
|
4
4
|
import { n as readEnvSecrets } from "./config-secrets-core-Dl2-_qLd.js";
|
|
5
5
|
// server/core/settings-readout-core.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as spawn, r as execFileAsync } from "./child-process-safe-DAaWFLd1.js";
|
|
2
|
-
import { n as postToAgentIngress } from "./agent-api-cli-
|
|
2
|
+
import { n as postToAgentIngress } from "./agent-api-cli-BxM3JxWj.js";
|
|
3
3
|
import { l as parseSshPublicKey } from "./ssh-signing-core-CmYFjvrx.js";
|
|
4
4
|
import { t as isLoopbackHostname } from "./loopback-hosts-L-YKCy4U.js";
|
|
5
5
|
import { W as SshSignReply, z as SIGN_URL_ENV } from "./session-BygOlxkV.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dialogs-
|
|
2
|
-
import{d as e,f as t}from"./control-ws-DEfwcMni.js";import{un as n}from"./dom-helpers-1xKy7VX6.js";import{M as r}from"./button-CfhUK7Jn.js";import{a as i}from"./modal-CjIIQMho.js";import{a,d as o,o as s}from"./card-registry-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dialogs-BJQhXF-i.js","assets/action-status-rETkOMJb.js","assets/button-CfhUK7Jn.js","assets/zod-CeKr261e.js","assets/dom-helpers-1xKy7VX6.js","assets/control-ws-DEfwcMni.js","assets/index-CCAFwpgb.js","assets/modal-CjIIQMho.js","assets/session-row-U1g9MCRj.js","assets/card-registry-BM0Py2ky.js","assets/menu-DzZGGGGN.js","assets/roving-keys-core-BDobx2It.js","assets/agent-mark-vCo0zsWP.js","assets/card-actions-tzD2Tm0H.js","assets/session-tick-DxsZqUxX.js","assets/pr-status-icon-dpJOgyIo.js","assets/ui-state-core-Nssh-6QJ.js","assets/preload-helper-BLdHbfdN.js","assets/local-store-CVQ5ByvB.js","assets/ui-prefs-D3kfa1nO.js","assets/alert-sound-core-CmJhj4qI.js","assets/index-CAx91VKi.css","assets/repo-roots-adder-C57e0__D.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as e,f as t}from"./control-ws-DEfwcMni.js";import{un as n}from"./dom-helpers-1xKy7VX6.js";import{M as r}from"./button-CfhUK7Jn.js";import{a as i}from"./modal-CjIIQMho.js";import{a,d as o,o as s}from"./card-registry-BM0Py2ky.js";import{n as c}from"./ui-state-core-Nssh-6QJ.js";import{t as ee}from"./preload-helper-BLdHbfdN.js";import{n as te,o as l,s as u,t as d}from"./action-status-rETkOMJb.js";import{K as f,l as ne}from"./ui-prefs-D3kfa1nO.js";import{t as p}from"./card-actions-tzD2Tm0H.js";function m(e,t=`explicit-state`){let r=t===`dormant-fallback`?e||n.DORMANT:e;return r===n.DORMANT?`start-session`:r===n.COMPLETE?`dismiss`:null}function h({previousState:e,nextState:t,isPhoneLayout:r,isDocumentVisible:i,isDocumentFocused:a,isActiveViewer:o,hasFocusInsideTerminal:s}){return t!==n.COMPLETE||!e||e===n.COMPLETE||!i?!1:r?o:a&&s}function g(e,t){if(!e)return null;let r=t.get(e);return!r||(r.currentState||n.DORMANT)===n.DORMANT?null:e}function _(e,t){let n=new Set(t);if(!n.has(e))return e;for(let t=2;t<1e3;t++){let r=`${e} (${t})`;if(!n.has(r))return r}return`${e} (${Date.now()})`}function re(){let e=[];for(let[,t]of s)e.push(t.card.dataset.session??``);return e}function v(e){return _(e??``,re())}function y(){return c.snapshot().selectedSessionId}function b(e){c.dispatch(`selectSession`,e)}function x(e){return c.subscribe((t,n)=>{n.includes(`selectedSessionId`)&&e(t.selectedSessionId)})}var S=new Set,C=!1,w=()=>{};function ie(e){w=e}function T(e){S.add(e),C||(C=!0,requestAnimationFrame(E))}function E(){if(C=!1,S.size===0)return;let e=new Set(S);S.clear(),w(e)}document.addEventListener(`visibilitychange`,()=>{document.hidden||E()});function ae(e){let t=[],n=[],r=n=>e[t[n]??0]??0;e.forEach((e,i)=>{if(e<0)return;let a=0,o=t.length;for(;a<o;){let t=a+o>>1;r(t)<e?a=t+1:o=t}n[i]=a>0?t[a-1]??-1:-1,t[a]=i});let i=new Set,a=t.at(-1)??-1;for(;a>=0;)i.add(a),a=n[a]??-1;return i}function oe(e,t){let n=new Map;Array.from(e.children).forEach((e,t)=>{n.set(e,t)});let r=ae(t.map(e=>n.get(e)??-1)),i=null;for(let n=t.length-1;n>=0;--n){let a=t[n];a&&(r.has(n)||e.insertBefore(a,i),i=a)}}function se(e,t){e.textContent!==t&&(e.textContent=t)}function ce(e,t){e.hidden!==t&&(e.hidden=t)}function le(e,t,n){e.getAttribute(t)!==n&&e.setAttribute(t,n)}function ue(e,t,n){e.dataset[t]!==n&&(e.dataset[t]=n)}function de(e,t=`explicit-state`){let n=s.get(e);if(!n)return null;let r=m(n.currentState,t);return r&&p(n,{type:r,id:e}),n}function D(e,{rememberFocus:t=!0}={}){b(e),t&&f(e)}function fe(){return g(ne(),s)}var O=new Set;function pe(e=a){let t=[...s].filter(([e])=>!O.has(e));return o(t,e).map(e=>Y.has(e.id)?{...e,state:J,unseenOutcome:null}:e)}function k(t,n){let i=s.get(t);return i?p(i,n):e(n)?!0:(l({source:`Session action`,sessionId:t,message:`${r} Try the action again once the header shows Connected.`}),!1)}var A=`Add session`;function j(e){return e.type===`add-session-result`&&e.error?e.error:e.type===`error`?e.message:`The session was not added.`}var M=!1;function N(e){M||(M=!0,ee(()=>import(`./dialogs-BJQhXF-i.js`).then(t=>{M=!1,e(t)},()=>{M=!1,l({source:A,message:`The Add session dialog did not load. Reload the page, then add the session again.`})}),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])))}function P(){N(e=>e.createAddSessionDialog())}var F=D;function I(e){F=e}function L(e){te(A),e&&F(e)}async function R(e,n){try{let r=v(n),i=await t(`add-session`,{name:r,path:e},{timeoutMs:d});if(i.type===`add-session-result`&&i.ok){L(i.sessionId);return}l({source:A,message:j(i)})}catch(e){l({source:A,message:`The session was not added: ${u(e,d)} Add it again once the server answers.`})}}function z(e,t){e&&R(e,t)}async function B(e){try{let n=await t(`quick-session`,{id:e},{timeoutMs:d});if(n.type===`add-session-result`&&n.ok){L(n.sessionId);return}l({source:A,sessionId:e,message:j(n)})}catch(t){l({source:A,sessionId:e,message:`The session was not added: ${u(t,d)} Add it again once the server answers.`})}}function me(e){B(e)}var V=39e5,H=`Remove session`;function U(e,t,n){n.canDiscardWork?i({title:`Remove Session`,message:n.error??`Remove session "${a(e)}"?`,confirmLabel:`Remove`,danger:!0,onConfirm:()=>{K(e,t,!0,(n.keptPaths??[]).map(e=>e.path))}}):l({source:H,sessionId:t,message:`"${a(e)}" was not removed: ${n.error??`the server gave no reason`}. Try Remove again from its actions menu.`})}function W(e,t,n,r){l({source:H,sessionId:t,message:`"${a(e)}" was not removed: ${u(n,r)} Try Remove again from its actions menu.`})}function G(e){O.delete(e),T(e)}async function K(e,n,r,i=[]){O.add(n),T(n);try{let a=await t(`remove-session`,{id:n,discardWork:r,confirmedKeptPaths:i},{timeoutMs:V});if(a.type===`remove-session-result`&&a.ok||(G(n),a.type!==`remove-session-result`))return;U(e,n,a)}catch(t){G(n),W(e,n,t,V)}}var q=8e3,J=`CLOSING`,Y=new Map;function he(e){return Y.get(e)?.startedAt??null}function ge(e){return s.has(e)&&!Y.has(e)&&!O.has(e)}function X(e){let t=Y.get(e);return t?(window.clearTimeout(t.timer),Y.delete(e),T(e),t):null}function _e(e){if(!X(e))return;let t=s.get(e);t&&K(t,e,!1)}function ve(e){if(Y.has(e))return;let t=window.setTimeout(()=>_e(e),q);Y.set(e,{timer:t,wasOpen:y()===e,startedAt:performance.now()}),T(e)}function Z(e){let t=X(e);return t?(t.wasOpen&&s.has(e)&&F(e),!0):!1}function ye(){let e=[...Y.keys()].at(-1);return e!==void 0&&Z(e)}async function be(e,n){try{let r=await t(`remove-session`,{id:n,checkOnly:!0},{timeoutMs:d});if(r.type!==`remove-session-result`)return;if(r.ok){ve(n);return}U(e,n,r)}catch(t){W(e,n,t,d)}}function xe(e){let t=s.get(e);t&&!Y.has(e)&&be(t,e)}function Se(e){let t=s.get(e);t&&K(t,e,!1)}var Q=`claude-code`,Ce=`shell`;function $(e){let t=(Array.isArray(e)?e:[]).filter(e=>e?.resolvable&&typeof e.id==`string`&&e.id).map(e=>{let t=String(e.id);return{id:t,label:typeof e.label==`string`&&e.label?e.label:t,isHidden:e.hidden===!0&&t!==`claude-code`}}),n=t.filter(e=>!e.isHidden),r=(n.length>0?n:t).map(({id:e,label:t})=>({id:e,label:t})),i=r.some(e=>e.id===`claude-code`)?Q:r.length>0?r[0].id:Q;return{show:r.length>1,options:r,selectedId:i}}var we=`No supported agent CLI was found on the PATH Glimmervoid runs with. Install Claude Code (or another supported agent), make sure its command is on that PATH, then run glimmervoid doctor to confirm.`;function Te(e){let t=typeof e==`object`&&e?e:null;return t===null||!Array.isArray(t.agents)||t.error||$(t.agents).options.length>0?{canSpawn:!0,guidance:``}:{canSpawn:!1,guidance:we}}export{se as A,Z as C,le as D,ie as E,h as F,x as M,b as N,ue as O,v as P,ye as S,oe as T,L as _,J as a,I as b,fe as c,he as d,z as f,Se as g,xe as h,$ as i,y as j,ce as k,ge as l,de as m,Ce as n,q as o,pe as p,Te as r,j as s,Q as t,P as u,D as v,T as w,me as x,k as y};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as e}from"./dom-helpers-1xKy7VX6.js";import"./agent-core-BjRsd_gB.js";var t=new Map([[`claude-code`,{dark:`#d97757`,light:`#c66647`}],[`gemini`,{dark:`#3186ff`,light:`#287ef6`}],[`kimi`,{dark:`#007cff`,light:`#007cff`}],[`qwen`,{dark:`#6950ef`,light:`#6950ef`}]]);function n(e){return`--agent-brand-${e}`}function r(e){return Object.fromEntries([...t].map(([t,r])=>[n(t),r[e]]))}function i(e){return`var(${n(e)}, var(--text-head))`}function a(e){return e instanceof Error?e.message:String(e)}function o(e,t){return Array.from(e).slice(0,t).join(``)}var s=new Map([[`claude-code`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z"></path></svg>`],[`codex`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"></path></svg>`],[`copilot`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z"></path></svg>`],[`cursor`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z"></path></svg>`],[`gemini`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z"></path></svg>`],[`goose`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M21.595 23.61c1.167-.254 2.405-.944 2.405-.944l-2.167-1.784a12.124 12.124 0 01-2.695-3.131 12.127 12.127 0 00-3.97-4.049l-.794-.462a1.115 1.115 0 01-.488-.815.844.844 0 01.154-.575c.413-.582 2.548-3.115 2.94-3.44.503-.416 1.065-.762 1.586-1.159.074-.056.148-.112.221-.17.003-.002.007-.004.009-.007.167-.131.325-.272.45-.438.453-.524.563-.988.59-1.193-.061-.197-.244-.639-.753-1.148.319.02.705.272 1.056.569.235-.376.481-.773.727-1.171.165-.266-.08-.465-.086-.471h-.001V3.22c-.007-.007-.206-.25-.471-.086-.567.35-1.134.702-1.639 1.021 0 0-.597-.012-1.305.599a2.464 2.464 0 00-.438.45l-.007.009c-.058.072-.114.147-.17.221-.397.521-.743 1.083-1.16 1.587-.323.391-2.857 2.526-3.44 2.94a.842.842 0 01-.574.153 1.115 1.115 0 01-.815-.488l-.462-.794a12.123 12.123 0 00-4.049-3.97 12.133 12.133 0 01-3.13-2.695L1.332 0S.643 1.238.39 2.405c.352.428 1.27 1.49 2.34 2.302C1.58 4.167.73 3.75.06 3.4c-.103.765-.063 1.92.043 2.816.726.317 1.961.806 3.219 1.066-1.006.236-2.11.278-2.961.262.15.554.358 1.119.64 1.688.119.263.25.52.39.77.452.125 2.222.383 3.164.171l-2.51.897a27.776 27.776 0 002.544 2.726c2.031-1.092 2.494-1.241 4.018-2.238-2.467 2.008-3.108 2.828-3.8 3.67l-.483.678c-.25.351-.469.725-.65 1.117-.61 1.31-1.47 4.1-1.47 4.1-.154.486.202.842.674.674 0 0 2.79-.861 4.1-1.47.392-.182.766-.4 1.118-.65l.677-.483c.227-.187.453-.37.701-.586 0 0 1.705 2.02 3.458 3.349l.896-2.511c-.211.942.046 2.712.17 3.163.252.142.509.272.772.392.569.28 1.134.49 1.688.64-.016-.853.026-1.956.261-2.962.26 1.258.75 2.493 1.067 3.219.895.106 2.051.146 2.816.043a73.87 73.87 0 01-1.308-2.67c.811 1.07 1.874 1.988 2.302 2.34h-.001z"></path></svg>`],[`grok`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"></path></svg>`],[`kimi`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M21.846 0a1.923 1.923 0 110 3.846H20.15a.226.226 0 01-.227-.226V1.923C19.923.861 20.784 0 21.846 0z"></path><path d="M11.065 11.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164 0 00-.117.051l-7.82 7.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103 0-.186.103-.186.23V19.77c0 .128.083.23.186.23h2.69c.103 0 .186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158 0 01.205-.023l6.484 4.772a7.677 7.677 0 003.453 1.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028 5.028 0 01-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z"></path></svg>`],[`opencode`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M16 6H8v12h8V6zm4 16H4V2h16v20z"></path></svg>`],[`qwen`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M19.713 2.825h-5.907c0-.251-.066-.503-.196-.728L12.819.728A1.46 1.46 0 0 0 11.559 0h-1.58c-.52 0-1 .275-1.26.728l-2.42 4.19a1.45 1.45 0 0 0 0 1.453l.791 1.37c.26.448.74.727 1.26.727h11.36c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451l-.79-1.37a1.46 1.46 0 0 0-1.26-.728zM.195 9.905l2.951 5.115a1.46 1.46 0 0 0-.531.531l-.791 1.37a1.45 1.45 0 0 0 0 1.452l.79 1.37c.26.448.74.727 1.26.727h4.84c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451L5.086 7.083a1.46 1.46 0 0 0-1.26-.728h-1.58c-.52 0-1 .276-1.26.728l-.79 1.37a1.45 1.45 0 0 0 0 1.452m15.888 13.367 2.951-5.115c.217.125.469.196.728.196h1.582c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451l-2.42-4.191a1.46 1.46 0 0 0-1.259-.728h-1.582c-.52 0-1 .276-1.259.728l-5.678 9.838a1.45 1.45 0 0 0 0 1.452l.79 1.37c.26.448.74.727 1.26.727h1.582c.52 0 1-.275 1.26-.728z"></path></svg>`]]);function c(t,n,r=null){let a=n===`shell`?null:n;if(t.dataset.agent===(a??``))return;if(t.dataset.agent=a??``,t.hidden=a===null,a===null){t.replaceChildren(),t.style.removeProperty(`--agent-brand`);return}t.style.setProperty(`--agent-brand`,i(a));let o=s.get(a);t.toggleAttribute(`data-monogram`,o===void 0),o===void 0?t.textContent=e(r??a):t.innerHTML=o}export{r as i,a as n,o as r,c as t};
|
|
1
|
+
import{x as e}from"./dom-helpers-1xKy7VX6.js";import"./agent-core-BmzljZal.js";var t=new Map([[`claude-code`,{dark:`#d97757`,light:`#c66647`}],[`gemini`,{dark:`#3186ff`,light:`#287ef6`}],[`kimi`,{dark:`#007cff`,light:`#007cff`}],[`qwen`,{dark:`#6950ef`,light:`#6950ef`}]]);function n(e){return`--agent-brand-${e}`}function r(e){return Object.fromEntries([...t].map(([t,r])=>[n(t),r[e]]))}function i(e){return`var(${n(e)}, var(--text-head))`}function a(e){return e instanceof Error?e.message:String(e)}function o(e,t){return Array.from(e).slice(0,t).join(``)}var s=new Map([[`claude-code`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z"></path></svg>`],[`codex`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"></path></svg>`],[`copilot`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z"></path></svg>`],[`cursor`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z"></path></svg>`],[`gemini`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z"></path></svg>`],[`goose`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M21.595 23.61c1.167-.254 2.405-.944 2.405-.944l-2.167-1.784a12.124 12.124 0 01-2.695-3.131 12.127 12.127 0 00-3.97-4.049l-.794-.462a1.115 1.115 0 01-.488-.815.844.844 0 01.154-.575c.413-.582 2.548-3.115 2.94-3.44.503-.416 1.065-.762 1.586-1.159.074-.056.148-.112.221-.17.003-.002.007-.004.009-.007.167-.131.325-.272.45-.438.453-.524.563-.988.59-1.193-.061-.197-.244-.639-.753-1.148.319.02.705.272 1.056.569.235-.376.481-.773.727-1.171.165-.266-.08-.465-.086-.471h-.001V3.22c-.007-.007-.206-.25-.471-.086-.567.35-1.134.702-1.639 1.021 0 0-.597-.012-1.305.599a2.464 2.464 0 00-.438.45l-.007.009c-.058.072-.114.147-.17.221-.397.521-.743 1.083-1.16 1.587-.323.391-2.857 2.526-3.44 2.94a.842.842 0 01-.574.153 1.115 1.115 0 01-.815-.488l-.462-.794a12.123 12.123 0 00-4.049-3.97 12.133 12.133 0 01-3.13-2.695L1.332 0S.643 1.238.39 2.405c.352.428 1.27 1.49 2.34 2.302C1.58 4.167.73 3.75.06 3.4c-.103.765-.063 1.92.043 2.816.726.317 1.961.806 3.219 1.066-1.006.236-2.11.278-2.961.262.15.554.358 1.119.64 1.688.119.263.25.52.39.77.452.125 2.222.383 3.164.171l-2.51.897a27.776 27.776 0 002.544 2.726c2.031-1.092 2.494-1.241 4.018-2.238-2.467 2.008-3.108 2.828-3.8 3.67l-.483.678c-.25.351-.469.725-.65 1.117-.61 1.31-1.47 4.1-1.47 4.1-.154.486.202.842.674.674 0 0 2.79-.861 4.1-1.47.392-.182.766-.4 1.118-.65l.677-.483c.227-.187.453-.37.701-.586 0 0 1.705 2.02 3.458 3.349l.896-2.511c-.211.942.046 2.712.17 3.163.252.142.509.272.772.392.569.28 1.134.49 1.688.64-.016-.853.026-1.956.261-2.962.26 1.258.75 2.493 1.067 3.219.895.106 2.051.146 2.816.043a73.87 73.87 0 01-1.308-2.67c.811 1.07 1.874 1.988 2.302 2.34h-.001z"></path></svg>`],[`grok`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"></path></svg>`],[`kimi`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M21.846 0a1.923 1.923 0 110 3.846H20.15a.226.226 0 01-.227-.226V1.923C19.923.861 20.784 0 21.846 0z"></path><path d="M11.065 11.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164 0 00-.117.051l-7.82 7.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103 0-.186.103-.186.23V19.77c0 .128.083.23.186.23h2.69c.103 0 .186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158 0 01.205-.023l6.484 4.772a7.677 7.677 0 003.453 1.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028 5.028 0 01-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z"></path></svg>`],[`opencode`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M16 6H8v12h8V6zm4 16H4V2h16v20z"></path></svg>`],[`qwen`,`<svg aria-hidden="true" fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M19.713 2.825h-5.907c0-.251-.066-.503-.196-.728L12.819.728A1.46 1.46 0 0 0 11.559 0h-1.58c-.52 0-1 .275-1.26.728l-2.42 4.19a1.45 1.45 0 0 0 0 1.453l.791 1.37c.26.448.74.727 1.26.727h11.36c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451l-.79-1.37a1.46 1.46 0 0 0-1.26-.728zM.195 9.905l2.951 5.115a1.46 1.46 0 0 0-.531.531l-.791 1.37a1.45 1.45 0 0 0 0 1.452l.79 1.37c.26.448.74.727 1.26.727h4.84c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451L5.086 7.083a1.46 1.46 0 0 0-1.26-.728h-1.58c-.52 0-1 .276-1.26.728l-.79 1.37a1.45 1.45 0 0 0 0 1.452m15.888 13.367 2.951-5.115c.217.125.469.196.728.196h1.582c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451l-2.42-4.191a1.46 1.46 0 0 0-1.259-.728h-1.582c-.52 0-1 .276-1.259.728l-5.678 9.838a1.45 1.45 0 0 0 0 1.452l.79 1.37c.26.448.74.727 1.26.727h1.582c.52 0 1-.275 1.26-.728z"></path></svg>`]]);function c(t,n,r=null){let a=n===`shell`?null:n;if(t.dataset.agent===(a??``))return;if(t.dataset.agent=a??``,t.hidden=a===null,a===null){t.replaceChildren(),t.style.removeProperty(`--agent-brand`);return}t.style.setProperty(`--agent-brand`,i(a));let o=s.get(a);t.toggleAttribute(`data-monogram`,o===void 0),o===void 0?t.textContent=e(r??a):t.innerHTML=o}export{r as i,a as n,o as r,c as t};
|
|
Binary file
|