glimmervoid 0.43.3 → 0.43.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/glimmervoid.js +13 -13
- package/dist/chunks/{adapters-CxM7iyI_.js → adapters-43NBaf3J.js} +1 -1
- package/dist/chunks/{adapters-BrJVO21n.js → adapters-DCXbfZ2V.js} +5 -5
- package/dist/chunks/{agent-api-cli-DQDeXBP_.js → agent-api-cli-6W5lx3AO.js} +17 -3
- package/dist/chunks/{agent-api-cli-DbipciSb.js → agent-api-cli-CgQTmmLd.js} +1 -1
- package/dist/chunks/{agent-api-core-Da2UAN7U.js → agent-api-core-DniJGdf6.js} +10 -4
- package/dist/chunks/{agent-setup-cli-DAPHGpRA.js → agent-setup-cli-B5vnfQXA.js} +1 -1
- package/dist/chunks/{config-DkjpKAoc.js → config-bGil1wqg.js} +2 -1
- package/dist/chunks/config-store-C2CaymPs.js +1 -0
- package/dist/chunks/{config-store-DJ_imLTg.js → config-store-GsSGMu08.js} +22 -2
- package/dist/chunks/{contracts-D5KEXrcX.js → contracts-s0s0gCZJ.js} +5 -3
- package/dist/chunks/{git-version-ByOV7a_h.js → git-version-BwJ-H5Gl.js} +1 -1
- package/dist/chunks/{grok-2z-LqPHN.js → grok-BYvOJJMV.js} +1 -1
- package/dist/chunks/{main-BPyE0fvz.js → main-uV_6B2Am.js} +193 -34
- package/dist/chunks/{pair-cli-CKBA5XVU.js → pair-cli-BFg0PF9X.js} +2 -2
- package/dist/chunks/{remote-config-C-Rc55Vf.js → remote-config-yLvSEm11.js} +1 -1
- package/dist/chunks/{session-BUcx9uJa.js → session-GoNLV4AT.js} +13 -2
- package/dist/chunks/{session-routes-BQPy81dm.js → session-routes-BBWZ5xmv.js} +2 -1
- package/dist/chunks/{settings-cli-bDyDiLRy.js → settings-cli-Do404URB.js} +5 -5
- package/dist/chunks/{settings-readout-core-BKSVNO7q.js → settings-readout-core-x331h4CR.js} +2 -2
- package/dist/chunks/{ssh-sign-cli-COMPYoNe.js → ssh-sign-cli-BG0t2-3v.js} +2 -2
- package/dist/client/assets/{index-CFJ6Pl08.css → index-BhMm8IuJ.css} +1 -1
- package/dist/client/assets/index-DRT1ZGFh.js +177 -0
- package/dist/client/index.html +2 -2
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/config-store-Wbcvb0f3.js +0 -1
- package/dist/client/assets/index-BA0smAG8.js +0 -177
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { o as nodePtyRebuildHint, r as firstLine, t as probeNodePty } from "../chunks/node-pty-preflight-C8QIlrtU.js";
|
|
3
3
|
import { i as errorText } from "../chunks/text-DoirglWV.js";
|
|
4
4
|
import { o as packageRoot } from "../chunks/runtime-paths-ghcH9CeW.js";
|
|
5
|
-
import { t as AGENT_API_VERBS } from "../chunks/session-
|
|
5
|
+
import { t as AGENT_API_VERBS } from "../chunks/session-GoNLV4AT.js";
|
|
6
6
|
import { i as execSync } from "../chunks/child-process-safe-D4hyVIXj.js";
|
|
7
|
-
import { r as agentCommandHelpLines } from "../chunks/agent-api-core-
|
|
7
|
+
import { r as agentCommandHelpLines } from "../chunks/agent-api-core-DniJGdf6.js";
|
|
8
8
|
import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
|
|
9
9
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DFt-TemS.js";
|
|
10
|
-
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-
|
|
10
|
+
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-BwJ-H5Gl.js";
|
|
11
11
|
import { i as guardrailsDoctorRows, r as probeGuardrailsDependencies } from "../chunks/guardrails-deps-BjPzk1rE.js";
|
|
12
12
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -65,15 +65,15 @@ var OWN_SUBCOMMAND_RUNNERS = [
|
|
|
65
65
|
return 0;
|
|
66
66
|
}],
|
|
67
67
|
["pair", async (subcommandArgs) => {
|
|
68
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
68
|
+
const { runPairCli } = await import("../chunks/pair-cli-BFg0PF9X.js");
|
|
69
69
|
return runPairCli(subcommandArgs);
|
|
70
70
|
}],
|
|
71
71
|
["agent", async (subcommandArgs) => {
|
|
72
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
72
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-B5vnfQXA.js");
|
|
73
73
|
return runAgentSetupCli(subcommandArgs);
|
|
74
74
|
}],
|
|
75
75
|
["settings", async (subcommandArgs) => {
|
|
76
|
-
const { runSettingsCli } = await import("../chunks/settings-cli-
|
|
76
|
+
const { runSettingsCli } = await import("../chunks/settings-cli-Do404URB.js");
|
|
77
77
|
return runSettingsCli(subcommandArgs);
|
|
78
78
|
}],
|
|
79
79
|
["visions", async (subcommandArgs) => {
|
|
@@ -81,13 +81,13 @@ var OWN_SUBCOMMAND_RUNNERS = [
|
|
|
81
81
|
return runVisionsCli(subcommandArgs);
|
|
82
82
|
}],
|
|
83
83
|
["ssh-sign", async (subcommandArgs) => {
|
|
84
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
84
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-BG0t2-3v.js");
|
|
85
85
|
return runSshSignCli(subcommandArgs);
|
|
86
86
|
}]
|
|
87
87
|
];
|
|
88
88
|
var ownSubcommandNames = new Set(OWN_SUBCOMMAND_RUNNERS.map(([name]) => name));
|
|
89
89
|
var SUBCOMMAND_RUNNERS = new Map([...OWN_SUBCOMMAND_RUNNERS, ...AGENT_API_VERBS.filter((verb) => !ownSubcommandNames.has(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
|
|
90
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
90
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-CgQTmmLd.js");
|
|
91
91
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
92
92
|
}])]);
|
|
93
93
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -101,7 +101,7 @@ function missingAgentText(agentId) {
|
|
|
101
101
|
}
|
|
102
102
|
async function printSessionLimits() {
|
|
103
103
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
104
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
104
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-CgQTmmLd.js");
|
|
105
105
|
const limitsLines = await sessionLimitsHelpLines();
|
|
106
106
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
107
107
|
}
|
|
@@ -158,7 +158,7 @@ async function readDeclaredCustomAgents() {
|
|
|
158
158
|
declared: [],
|
|
159
159
|
error: null
|
|
160
160
|
};
|
|
161
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
161
|
+
const { loadConfigFile } = await import("../chunks/config-store-C2CaymPs.js");
|
|
162
162
|
try {
|
|
163
163
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
164
164
|
if (!loaded.config) return {
|
|
@@ -234,7 +234,7 @@ async function runDoctor() {
|
|
|
234
234
|
}
|
|
235
235
|
switchSection("Agents");
|
|
236
236
|
try {
|
|
237
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
237
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-43NBaf3J.js");
|
|
238
238
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
239
239
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
240
240
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -242,7 +242,7 @@ async function runDoctor() {
|
|
|
242
242
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
243
243
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
244
244
|
}
|
|
245
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
245
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-B5vnfQXA.js");
|
|
246
246
|
const grokSetup = inspectGrokAgentSetup();
|
|
247
247
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
248
248
|
} catch (err) {
|
|
@@ -259,7 +259,7 @@ async function runDoctor() {
|
|
|
259
259
|
try {
|
|
260
260
|
const { resolvePackageBin } = await import("../chunks/runtime-paths-Cc0_ZR6V.js");
|
|
261
261
|
const { execFileSync } = await import("../chunks/child-process-safe-CjVtRjDD.js");
|
|
262
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
262
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-B5vnfQXA.js");
|
|
263
263
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
264
264
|
line("Sane YOLO", binPath || "not installed");
|
|
265
265
|
if (binPath) line("cc-safety-net version", execFileSync(process.execPath, [binPath, "--version"], {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-
|
|
1
|
+
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-DCXbfZ2V.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as relayPath } from "./runtime-paths-ghcH9CeW.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Vt as shortSha$1, zt as FULL_SHA_RE } from "./session-GoNLV4AT.js";
|
|
3
3
|
import { n as execFileAsync, r as execFileSync } from "./child-process-safe-D4hyVIXj.js";
|
|
4
|
-
import { y as InstallFlavor } from "./config-
|
|
5
|
-
import { o as supervisionLine } from "./session-routes-
|
|
4
|
+
import { y as InstallFlavor } from "./config-bGil1wqg.js";
|
|
5
|
+
import { o as supervisionLine } from "./session-routes-BBWZ5xmv.js";
|
|
6
6
|
import { c as textOr, s as rawTextOr } from "./coerce-NSst8oRP.js";
|
|
7
7
|
import { n as resolveAgentCommand, t as buildAgentSpawnCommand } from "./spawn-command-Cc40FiZI.js";
|
|
8
8
|
import { r as nextBackoffMs } from "./backoff-DjVpfHk7.js";
|
|
9
|
-
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, s as buildAgentEnv, t as grok } from "./grok-
|
|
9
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, s as buildAgentEnv, t as grok } from "./grok-BYvOJJMV.js";
|
|
10
10
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
11
|
-
import "./contracts-
|
|
11
|
+
import "./contracts-s0s0gCZJ.js";
|
|
12
12
|
import { n as mergeCodexPreToolUse, t as HOOK_TOOLS } from "./hook-tools-Dl7-r2Eb.js";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as errorCode } from "./text-DoirglWV.js";
|
|
2
|
-
import {
|
|
3
|
-
import { i as formatSessionLimits } from "./session-routes-
|
|
4
|
-
import { f as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
2
|
+
import { c as AgentLimitsReply, n as AGENT_URL_ENV } from "./session-GoNLV4AT.js";
|
|
3
|
+
import { i as formatSessionLimits } from "./session-routes-BBWZ5xmv.js";
|
|
4
|
+
import { f as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-DniJGdf6.js";
|
|
5
5
|
import { i as resolveHookTarget } from "./hook-relay-core-DA_bz2KA.js";
|
|
6
6
|
import { n as decideGuardrailsProxy } from "./guardrails-proxy-core-BI3rdY-m.js";
|
|
7
7
|
import { t as parseJsonOrNull } from "./json-core-dfa_7Fak.js";
|
|
@@ -34,6 +34,20 @@ var BODY_BUILDERS = {
|
|
|
34
34
|
discard
|
|
35
35
|
} : { child };
|
|
36
36
|
},
|
|
37
|
+
answer: ([child, answerText, ...extra]) => {
|
|
38
|
+
if (!child?.trim() || !answerText || extra.length > 0) return null;
|
|
39
|
+
if (answerText === "--operator") return {
|
|
40
|
+
child,
|
|
41
|
+
toOperator: true
|
|
42
|
+
};
|
|
43
|
+
const answers = parseJsonOrNull(answerText);
|
|
44
|
+
if (typeof answers !== "object" || answers === null || Array.isArray(answers)) return null;
|
|
45
|
+
if (!Object.values(answers).every((answer) => typeof answer === "string")) return null;
|
|
46
|
+
return {
|
|
47
|
+
child,
|
|
48
|
+
answers
|
|
49
|
+
};
|
|
50
|
+
},
|
|
37
51
|
attention: (rest) => {
|
|
38
52
|
const note = rest.join(" ").trim();
|
|
39
53
|
return note ? { note } : null;
|
|
@@ -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-6W5lx3AO.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as pullRequestKeyFromReference, c as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
3
|
-
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-
|
|
1
|
+
import { R as TASK_TITLE_CONTROL_CHARACTERS, T as RefinedTaskTitle, a as AgentAttentionRequest, d as AgentSendRequest, i as AgentAnswerRequest, l as AgentPullRequestRequest, m as AgentSpawnRequest, o as AgentCloseRequest, p as AgentSettingsRequest, s as AgentEditRequest, t as AGENT_API_VERBS, u as AgentReadRequest } from "./session-GoNLV4AT.js";
|
|
2
|
+
import { S as pullRequestKeyFromReference, c as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-bGil1wqg.js";
|
|
3
|
+
import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-BBWZ5xmv.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
//#region shared/session-naming.ts
|
|
@@ -559,6 +559,7 @@ var REQUEST_PARSERS = Object.freeze({
|
|
|
559
559
|
send: bodyParser(AgentSendRequest),
|
|
560
560
|
read: bodyParser(AgentReadRequest),
|
|
561
561
|
close: bodyParser(AgentCloseRequest),
|
|
562
|
+
answer: bodyParser(AgentAnswerRequest),
|
|
562
563
|
attention: bodyParser(AgentAttentionRequest),
|
|
563
564
|
board: parseEmptyBody,
|
|
564
565
|
push: parseEmptyBody,
|
|
@@ -724,6 +725,11 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
724
725
|
summary: "End a session this one spawned and discard its worktree; refused while it holds unpushed work unless --discard",
|
|
725
726
|
missingArgumentHint: "glimmervoid close: this command needs the spawned session, for example \"glimmervoid close <child>\""
|
|
726
727
|
},
|
|
728
|
+
answer: {
|
|
729
|
+
usage: "answer <child> <json>|--operator",
|
|
730
|
+
summary: "Answer a spawned session's held question, or pass it to the operator with --operator",
|
|
731
|
+
missingArgumentHint: "glimmervoid answer: this command needs a child and a JSON object of answers, or --operator"
|
|
732
|
+
},
|
|
727
733
|
attention: {
|
|
728
734
|
usage: "attention <note>",
|
|
729
735
|
summary: "Flag this session as needing the operator",
|
|
@@ -776,7 +782,7 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
776
782
|
}
|
|
777
783
|
});
|
|
778
784
|
function agentCommandHelpLines() {
|
|
779
|
-
return Object.values(AGENT_COMMAND_HELP).map(({ usage, summary }) => ` ${usage.padEnd(USAGE_COLUMN_WIDTH)}${summary}`);
|
|
785
|
+
return Object.values(AGENT_COMMAND_HELP).map(({ usage, summary }) => ` ${usage.padEnd(Math.max(USAGE_COLUMN_WIDTH, usage.length + 1))}${summary}`);
|
|
780
786
|
}
|
|
781
787
|
//#endregion
|
|
782
788
|
export { seedTaskTitleSources as A, listRepoWorktreePaths as B, extractPromptTaskTitle as C, parseRefinedTaskTitle as D, parseRefinedSessionName as E, resumePromptFor as F, shouldAdoptReportedResumeId as I, claudeProjectsDir as L, RESUME_ID_RE as M, pickAutoResume as N, resolveRefocusTaskTitle as O, resolveResumeTarget as P, encodeProjectDir as R, extractOscTaskTitle as S, isSubstantivePrompt as T, isAutoNameOf as V, buildTaskTitleRefinementPrompt as _, decideSpawnAllowance as a, decideTaskTitleRefinement as b, describeKeptChildAttention as c, describeUnpushedCloseRefusal as d, isAgentApiVerb as f, buildPersistedTaskTitle as g, projectReviews as h, decideAgentRequest as i, AUTO_CONTINUE_PROMPT as j, resolveTaskTitle as k, describePushLanding as l, projectMyPrs as m, REFUSAL_REASON as n, deriveChildSessionName as o, parseAgentVerb as p, agentCommandHelpLines as r, describeChildEndNote as s, AGENT_COMMAND_HELP as t, describeRoleRefusal as u, chooseRefinedSessionName as v, isSelfWakePrompt as w, extractAiTitle as x, cleanTaskPrompt as y, listRepoConversations as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { a as classifyGrokHooksFile, o as renderGrokHooksFile, t as grok } from "./grok-
|
|
2
|
+
import { a as classifyGrokHooksFile, o as renderGrokHooksFile, t as grok } from "./grok-BYvOJJMV.js";
|
|
3
3
|
import { p as writeTextAtomicSync } from "./json-file-DFCTvPjj.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as MyPrMergeWhenReadyRequest, B as UnseenOutcome, Dt as TeamReviewActionResult, Et as TeamReviewActionRequest, F as SessionState, Gt as repoParts, H as MyPr, Ht as GH_SEGMENT, Jt as GithubPrsFreshness, K as MyPrKeepMergeableRequest, Kt as GithubPollingRefreshRequest, Lt as hasRequiredActionHead, N as SessionDoc, O as SESSION_DOC_PATH_MAX_CHARS, P as SessionSnapshot, S as ConversationApprovalDecision, V as LinkedPr, Wt as REPO_SLUG_RE, X as MyPrMergeRequest, Yt as githubPollingShape, Z as MyPrMergeResult, b as ConversationAnswers, ct as pullRequestKeyFormat, et as MyPrMergeWhenReadyResult, jt as TeamReviewStatus, lt as repositoryName, mt as GithubReviewDecision, ot as MyPrsStatus, q as MyPrKeepMergeableResult, qt as GithubPollingRefreshResult, st as SessionPrLinks, tt as MyPrSearchNode, ut as CommitSha, w as PendingWakeup, x as ConversationApproval, y as CoherenceHooksState, yt as ReviewChecksState, z as TaskTitle } from "./session-GoNLV4AT.js";
|
|
2
2
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -2623,6 +2623,7 @@ var createBrowserConfigShape = (isAbsolutePath) => ({
|
|
|
2623
2623
|
conversationView: optionalBoolean("conversationView"),
|
|
2624
2624
|
streamerMode: optionalBoolean("streamerMode"),
|
|
2625
2625
|
zenView: optionalBoolean("zenView"),
|
|
2626
|
+
viewTabOrder: z.array(z.string({ error: "viewTabOrder must be an array of view ids" }), { error: "viewTabOrder must be an array of view ids" }).optional(),
|
|
2626
2627
|
remoteSessions: optionalBoolean("remoteSessions"),
|
|
2627
2628
|
detectBackgroundAgents: optionalBoolean("detectBackgroundAgents"),
|
|
2628
2629
|
recordSignals: optionalBoolean("recordSignals"),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as loadConfigFile } from "./config-store-GsSGMu08.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { n as equalsIgnoringCaseOnWindows } from "./paths-Bu4eH1Yd.js";
|
|
3
|
-
import { $ as POSTHOG_TRAFFIC_BASELINE_RANGE, G as FLYING_ANIMALS_GAP_RANGE, J as MEMORY_RESERVE_MB_RANGE, K as FLYING_ANIMALS_SCALE_RANGE, Q as POSTHOG_FIX_TIMEOUT_RANGE, U as FLYING_ANIMALS_DEFAULTS, W as FLYING_ANIMALS_DURATION_RANGE, X as PORT_RANGE, Y as NON_NEGATIVE_NUMBER_RANGE, Z as POSITIVE_NUMBER_RANGE, at as USAGE_INTEGER_RANGES, ct as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE, d as POST_TURN_CHECK_MODES, et as POSTHOG_TRAFFIC_MIN_USERS_RANGE, f as UPDATE_CHANNELS, h as normalizeLegacyConfigNumbers, i as Config, it as USAGE_BUDGET_RANGE, l as configIssueMessage, lt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, n as BUILTIN_AGENT_IDS, nt as REPLAY_BUFFER_KB_RANGE, ot as USAGE_RETAIN_DAYS_RANGE, p as USAGE_COST_MODES, q as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, rt as TASK_TITLE_TIMEOUT_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as USAGE_SCAN_INTERVAL_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, u as BranchGcFileSettings } from "./config-
|
|
3
|
+
import { $ as POSTHOG_TRAFFIC_BASELINE_RANGE, G as FLYING_ANIMALS_GAP_RANGE, J as MEMORY_RESERVE_MB_RANGE, K as FLYING_ANIMALS_SCALE_RANGE, Q as POSTHOG_FIX_TIMEOUT_RANGE, U as FLYING_ANIMALS_DEFAULTS, W as FLYING_ANIMALS_DURATION_RANGE, X as PORT_RANGE, Y as NON_NEGATIVE_NUMBER_RANGE, Z as POSITIVE_NUMBER_RANGE, at as USAGE_INTEGER_RANGES, ct as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE, d as POST_TURN_CHECK_MODES, et as POSTHOG_TRAFFIC_MIN_USERS_RANGE, f as UPDATE_CHANNELS, h as normalizeLegacyConfigNumbers, i as Config, it as USAGE_BUDGET_RANGE, l as configIssueMessage, lt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, n as BUILTIN_AGENT_IDS, nt as REPLAY_BUFFER_KB_RANGE, ot as USAGE_RETAIN_DAYS_RANGE, p as USAGE_COST_MODES, q as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, rt as TASK_TITLE_TIMEOUT_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as USAGE_SCAN_INTERVAL_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, u as BranchGcFileSettings } from "./config-bGil1wqg.js";
|
|
4
4
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
5
5
|
import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-DFt-TemS.js";
|
|
6
6
|
import { d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync } from "./json-file-DFCTvPjj.js";
|
|
7
|
-
import { s as FeatureFlagsResponse, u as TELEMETRY_KILL_SWITCH_FLAG } from "./contracts-
|
|
7
|
+
import { s as FeatureFlagsResponse, u as TELEMETRY_KILL_SWITCH_FLAG } from "./contracts-s0s0gCZJ.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1031,6 +1031,24 @@ var SECTIONS = Object.freeze([
|
|
|
1031
1031
|
defaultValue: false,
|
|
1032
1032
|
...MACHINE_NOW
|
|
1033
1033
|
},
|
|
1034
|
+
{
|
|
1035
|
+
id: "tab-order",
|
|
1036
|
+
path: "viewTabOrder",
|
|
1037
|
+
title: "Tab order",
|
|
1038
|
+
description: "The order of the dashboard tabs in every browser: the header on desktop and the More menu on a phone. You can also drag a tab in the desktop header.",
|
|
1039
|
+
control: "tab-order",
|
|
1040
|
+
keywords: [
|
|
1041
|
+
"tabs",
|
|
1042
|
+
"order",
|
|
1043
|
+
"rearrange",
|
|
1044
|
+
"reorder",
|
|
1045
|
+
"header",
|
|
1046
|
+
"more",
|
|
1047
|
+
"menu"
|
|
1048
|
+
],
|
|
1049
|
+
defaultValue: [],
|
|
1050
|
+
...MACHINE_NOW
|
|
1051
|
+
},
|
|
1034
1052
|
{
|
|
1035
1053
|
id: "remote-sessions",
|
|
1036
1054
|
path: "remoteSessions",
|
|
@@ -3378,6 +3396,7 @@ var DEFAULT_CONFIG = {
|
|
|
3378
3396
|
conversationView: false,
|
|
3379
3397
|
streamerMode: false,
|
|
3380
3398
|
zenView: false,
|
|
3399
|
+
viewTabOrder: [],
|
|
3381
3400
|
remoteSessions: false,
|
|
3382
3401
|
detectBackgroundAgents: true,
|
|
3383
3402
|
detectScheduledWakeups: true,
|
|
@@ -3811,6 +3830,7 @@ function createConfigStore({ settingsDefaults } = {}) {
|
|
|
3811
3830
|
conversationView: config.conversationView ?? effectiveDefaults.conversationView,
|
|
3812
3831
|
streamerMode: config.streamerMode ?? effectiveDefaults.streamerMode,
|
|
3813
3832
|
zenView: config.zenView ?? effectiveDefaults.zenView,
|
|
3833
|
+
viewTabOrder: config.viewTabOrder ?? DEFAULT_CONFIG.viewTabOrder,
|
|
3814
3834
|
remoteSessions: config.remoteSessions ?? effectiveDefaults.remoteSessions,
|
|
3815
3835
|
detectBackgroundAgents: config.detectBackgroundAgents ?? effectiveDefaults.detectBackgroundAgents,
|
|
3816
3836
|
recordSignals: config.recordSignals ?? effectiveDefaults.recordSignals,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./session-
|
|
2
|
-
import { b as OPERATOR_ACTIONS_BY_SURFACE, n as BUILTIN_AGENT_IDS, v as DASHBOARD_VIEWS, x as OPERATOR_SURFACES } from "./config-
|
|
1
|
+
import "./session-GoNLV4AT.js";
|
|
2
|
+
import { b as OPERATOR_ACTIONS_BY_SURFACE, n as BUILTIN_AGENT_IDS, v as DASHBOARD_VIEWS, x as OPERATOR_SURFACES } from "./config-bGil1wqg.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region shared/contracts/telemetry.ts
|
|
5
5
|
var TELEMETRY_ADAPTERS = Object.freeze([...BUILTIN_AGENT_IDS, "custom"]);
|
|
@@ -235,7 +235,9 @@ var DataClientMessage = z.discriminatedUnion("type", [
|
|
|
235
235
|
cols: viewerCols,
|
|
236
236
|
rows: viewerRows
|
|
237
237
|
}),
|
|
238
|
-
z.object({ type: z.literal("unview") })
|
|
238
|
+
z.object({ type: z.literal("unview") }),
|
|
239
|
+
z.object({ type: z.literal("pause-output") }),
|
|
240
|
+
z.object({ type: z.literal("resume-output") })
|
|
239
241
|
]);
|
|
240
242
|
z.object({
|
|
241
243
|
type: z.literal("pty-size"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AGENT_API_VERBS } from "./session-
|
|
1
|
+
import { t as AGENT_API_VERBS } from "./session-GoNLV4AT.js";
|
|
2
2
|
import { r as execFileSync } from "./child-process-safe-D4hyVIXj.js";
|
|
3
3
|
//#region server/core/command-line-core.ts
|
|
4
4
|
var SUBCOMMANDS_HONORING_TRAILING_GLOBAL_OPTIONS = /* @__PURE__ */ new Set([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { s as relayPath } from "./runtime-paths-ghcH9CeW.js";
|
|
3
|
-
import {
|
|
3
|
+
import { j as SIGN_URL_ENV, n as AGENT_URL_ENV } from "./session-GoNLV4AT.js";
|
|
4
4
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
5
5
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
|
|
6
6
|
import { a as SANE_YOLO_PATH_ENV, o as saneYoloEnv, r as RTK_PATH_ENV } from "./rtk-hook-core-B-MpzPin.js";
|