glimmervoid 0.31.0 → 0.32.0
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 +18 -14
- package/dist/chunks/{adapters-ClA_GbtA.js → adapters-BU74M4QZ.js} +1 -1
- package/dist/chunks/{adapters-gn7ulNO4.js → adapters-CoC18rdt.js} +28 -23
- package/dist/chunks/{agent-api-cli-DAA7Jx8N.js → agent-api-cli-V_BkYhBI.js} +12 -5
- package/dist/chunks/agent-api-core-B3YI8SYs.js +192 -0
- package/dist/chunks/{agent-setup-cli-CiJSDWSo.js → agent-setup-cli-D4956BfN.js} +1 -1
- package/dist/chunks/child-process-safe-B3zcPdFM.js +2 -0
- package/dist/chunks/{child-process-safe-Ch-Zgxqs.js → child-process-safe-DDELk9XC.js} +2 -1
- package/dist/chunks/{config-W1Sv-iPK.js → config-CZ4H51D0.js} +20 -6
- package/dist/chunks/{config-store-BCy4FHNG.js → config-store-BVtdHkDK.js} +14 -5
- package/dist/chunks/config-store-Cp62jN1O.js +2 -0
- package/dist/chunks/{contracts-3LkrilQX.js → contracts-DXujp-Zn.js} +60 -7
- package/dist/chunks/git-version-CrLW4a6r.js +58 -0
- package/dist/chunks/{grok-CXKeSt2z.js → grok-C4lzPFEg.js} +1 -2
- package/dist/chunks/{knowledge-graph-cli-D2tt5hPn.js → knowledge-graph-cli-Bjy9_kv5.js} +2 -2
- package/dist/chunks/{main-DyTCWIu2.js → main-DSbpYn2Y.js} +3337 -1965
- package/dist/chunks/{pair-cli-BbCBfd6l.js → pair-cli-CKn-wUw9.js} +2 -2
- package/dist/chunks/{remote-config-DKIH_VxM.js → remote-config-DP44Ybt9.js} +2 -2
- package/dist/chunks/rtk-resolver-CIVLE_xk.js +2 -0
- package/dist/chunks/{rtk-resolver-BGDzw5XK.js → rtk-resolver-jJxy_Mrt.js} +1 -1
- package/dist/chunks/{sandbox-deps-BPKE-ylr.js → sandbox-deps-DuaNFq7n.js} +1 -1
- package/dist/chunks/{session-fc4pFbon.js → session-B8fJb_Or.js} +19 -2
- package/dist/chunks/{visions-cli-CT5rjiwf.js → visions-cli-BhFdym5n.js} +1 -1
- package/dist/chunks/{visions-setup-BmOkI-QE.js → visions-setup-CfgNHiG3.js} +1 -1
- package/dist/client/assets/index-C_XKsDFx.css +1 -0
- package/dist/client/assets/index-CoqWjYxP.js +254 -0
- package/dist/client/index.html +2 -2
- package/dist/scripts/postinstall-path-check.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/session/hook-tool-relay.js +1 -1
- package/dist/session/sandbox-open-launcher.js +1 -1
- package/dist/session/statusline-relay.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-api-core-hVcT26JW.js +0 -112
- package/dist/chunks/child-process-safe-BKPZ-5qQ.js +0 -2
- package/dist/chunks/config-store-DbBp7LJZ.js +0 -2
- package/dist/chunks/rtk-resolver-D4Nke1Fr.js +0 -2
- package/dist/client/assets/index-C6KD8lgZ.css +0 -1
- package/dist/client/assets/index-CThQEAEy.js +0 -249
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { l as resolveConfigPath } from "./config-store-
|
|
3
|
-
import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-
|
|
2
|
+
import { l as resolveConfigPath } from "./config-store-BVtdHkDK.js";
|
|
3
|
+
import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-DP44Ybt9.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
//#region server/text-format.ts
|
|
6
6
|
function trimIso(iso) {
|
|
@@ -3,7 +3,7 @@ import { i as equalsIgnoringCaseOnWindows, t as canonicalizePath } from "./paths
|
|
|
3
3
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
4
4
|
import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.js";
|
|
5
5
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-oEH9vt-0.js";
|
|
6
|
-
import { s as glimmervoidHomeDir } from "./config-store-
|
|
6
|
+
import { s as glimmervoidHomeDir } from "./config-store-BVtdHkDK.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import crypto from "node:crypto";
|
|
@@ -419,7 +419,7 @@ function createSeenStore({ filePath = defaultSeenPath(), throttleMs = 6e4, now =
|
|
|
419
419
|
if (last != null && at - last < throttleMs) return;
|
|
420
420
|
lastWriteByDevice.set(deviceId, at);
|
|
421
421
|
doc[deviceId] = at;
|
|
422
|
-
pending = writeJsonAtomic(filePath, doc, { mode: 384 }).catch(() => {});
|
|
422
|
+
pending = (pending ?? Promise.resolve()).then(() => writeJsonAtomic(filePath, doc, { mode: 384 })).catch(() => {});
|
|
423
423
|
}
|
|
424
424
|
return {
|
|
425
425
|
touch,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as execSync } from "./child-process-safe-
|
|
1
|
+
import { i as execSync } from "./child-process-safe-DDELk9XC.js";
|
|
2
2
|
import { n as glimmervoidHomeDir } from "./config-path-core-DFt-TemS.js";
|
|
3
3
|
import { r as resolveRtkPath } from "./hook-tools-UX2fmt81.js";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as execSync } from "./child-process-safe-
|
|
1
|
+
import { i as execSync } from "./child-process-safe-DDELk9XC.js";
|
|
2
2
|
import { r as resolvePathCommandMatches } from "./spawn-command-Cc40FiZI.js";
|
|
3
3
|
//#region server/core/sandbox-deps-core.ts
|
|
4
4
|
var LINUX_SANDBOX_BINARIES = Object.freeze([
|
|
@@ -140,7 +140,15 @@ var AGENT_API_VERBS = [
|
|
|
140
140
|
"spawn",
|
|
141
141
|
"attention",
|
|
142
142
|
"board",
|
|
143
|
-
"dispatch"
|
|
143
|
+
"dispatch",
|
|
144
|
+
"reopen",
|
|
145
|
+
"cancel",
|
|
146
|
+
"push"
|
|
147
|
+
];
|
|
148
|
+
var ORCHESTRATOR_AGENT_VERBS = [
|
|
149
|
+
"dispatch",
|
|
150
|
+
"reopen",
|
|
151
|
+
"cancel"
|
|
144
152
|
];
|
|
145
153
|
var AgentSpawnRequest = z.object({
|
|
146
154
|
prompt: z.string({ error: "prompt must be a string" }).min(1, { error: "prompt must not be empty" }).max(2e4, { error: "prompt must be at most 20000 characters" }).refine((prompt) => !prompt.trimStart().startsWith("-"), { message: "prompt must not start with a dash, which the agent CLI would read as an option" }),
|
|
@@ -166,5 +174,14 @@ var AgentDispatchRequest = z.object({
|
|
|
166
174
|
workId: z.string().regex(/^wrk-[0-9a-f]{16}$/).optional(),
|
|
167
175
|
readyIntent: z.string().regex(/^wrk-[0-9a-f]{16}$/).optional()
|
|
168
176
|
}).strict().refine((request) => Boolean(request.workId) !== Boolean(request.readyIntent), "Expected exactly one work id or ready intent");
|
|
177
|
+
var AgentTicketRequest = z.object({ workId: z.string({ error: "workId must be a string" }).regex(/^wrk-[0-9a-f]{16}$/, { error: "workId must match wrk-[0-9a-f]{16}" }) }).strict();
|
|
178
|
+
z.discriminatedUnion("ok", [z.object({
|
|
179
|
+
ok: z.literal(true),
|
|
180
|
+
workId: z.string(),
|
|
181
|
+
state: z.enum(["open", "cancelled"])
|
|
182
|
+
}), z.object({
|
|
183
|
+
ok: z.literal(false),
|
|
184
|
+
reason: z.string()
|
|
185
|
+
})]);
|
|
169
186
|
//#endregion
|
|
170
|
-
export {
|
|
187
|
+
export { MERGEABLE_LIVE_STATES as C, KILLABLE_STATES as S, STATES as T, TaskTitle as _, AgentDispatchRequest as a, toolDetailFieldValue as b, ORCHESTRATOR_AGENT_VERBS as c, PendingPromptQuestion as d, PendingWakeup as f, TASK_TITLE_CONTROL_CHARACTERS as g, SessionState as h, AgentAttentionRequest as i, PROMPT_DETAIL_HIDDEN_CHARACTERS as l, SessionSnapshot as m, AGENT_URL_ENV as n, AgentSpawnRequest as o, RefinedTaskTitle as p, ASK_USER_QUESTION_TOOL_NAME as r, AgentTicketRequest as s, AGENT_API_VERBS as t, PendingPromptDetail as u, isSamePromptQuestion as v, RESTARTABLE_STATES as w, toolDetailLine as x, firstDetailLine as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
2
|
-
import { a as relayInvocationOptions, c as unwireEverything, d as extensionIdOf, f as buildSetupGuide, h as isExtensionInstalled, i as packVsix, l as wireEverything, m as recipeIds, o as resolveRelayInvocation, p as commandLine, r as editorExtensions, s as resolvedEditorPaths, t as RELAY_PATH, u as editorTargets } from "./visions-setup-
|
|
2
|
+
import { a as relayInvocationOptions, c as unwireEverything, d as extensionIdOf, f as buildSetupGuide, h as isExtensionInstalled, i as packVsix, l as wireEverything, m as recipeIds, o as resolveRelayInvocation, p as commandLine, r as editorExtensions, s as resolvedEditorPaths, t as RELAY_PATH, u as editorTargets } from "./visions-setup-CfgNHiG3.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
//#region server/visions-cli.ts
|
|
5
5
|
function fileOutcomeRows(files) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { a as isPathInside } from "./paths-CeJl2Vcg.js";
|
|
3
3
|
import { a as packageRoot, i as extensionDir, n as cliPath, o as relayPath, t as bundled } from "./runtime-paths-BPoxENmK.js";
|
|
4
|
-
import { i as execSync, n as execFileAsync } from "./child-process-safe-
|
|
4
|
+
import { i as execSync, n as execFileAsync } from "./child-process-safe-DDELk9XC.js";
|
|
5
5
|
import { r as resolvePathCommandMatches } from "./spawn-command-Cc40FiZI.js";
|
|
6
6
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
7
7
|
import { stripTypeScriptTypes } from "node:module";
|