glimmervoid 0.43.5 → 0.44.1
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-43NBaf3J.js → adapters-B2IgKmuZ.js} +1 -1
- package/dist/chunks/{adapters-DCXbfZ2V.js → adapters-BsoXEvlZ.js} +5 -5
- package/dist/chunks/{agent-api-cli-CgQTmmLd.js → agent-api-cli-B-QxkZAQ.js} +1 -1
- package/dist/chunks/{agent-api-cli-6W5lx3AO.js → agent-api-cli-DIl92JjQ.js} +3 -3
- package/dist/chunks/{agent-api-core-DniJGdf6.js → agent-api-core-BCFplxXu.js} +6 -5
- package/dist/chunks/{agent-setup-cli-B5vnfQXA.js → agent-setup-cli-7hG401Io.js} +1 -1
- package/dist/chunks/{config-bGil1wqg.js → config-Dh4e-Mkv.js} +34 -5
- package/dist/chunks/{config-store-GsSGMu08.js → config-store-CEsetno2.js} +52 -8
- package/dist/chunks/config-store-DVwdcnub.js +1 -0
- package/dist/chunks/{contracts-s0s0gCZJ.js → contracts-dj-GFptp.js} +63 -17
- package/dist/chunks/{git-version-BwJ-H5Gl.js → git-version-C3lznLS_.js} +1 -1
- package/dist/chunks/{grok-BYvOJJMV.js → grok-Di4aQGre.js} +1 -1
- package/dist/chunks/{main-uV_6B2Am.js → main-CA3ONCUS.js} +4677 -4221
- package/dist/chunks/{pair-cli-BFg0PF9X.js → pair-cli-CWHMbInF.js} +2 -2
- package/dist/chunks/{remote-config-yLvSEm11.js → remote-config-CtcoO10O.js} +1 -1
- package/dist/chunks/{session-GoNLV4AT.js → session-CUc6d7aS.js} +11 -2
- package/dist/chunks/{session-routes-BBWZ5xmv.js → session-routes--hrsvv7a.js} +1 -1
- package/dist/chunks/{settings-cli-Do404URB.js → settings-cli-DGOkkmW-.js} +5 -5
- package/dist/chunks/{settings-readout-core-x331h4CR.js → settings-readout-core-BVb6tTLq.js} +2 -2
- package/dist/chunks/{ssh-sign-cli-BG0t2-3v.js → ssh-sign-cli-BdvvBKkj.js} +2 -2
- package/dist/client/assets/index-BR-wN5UF.js +177 -0
- package/dist/client/assets/index-QxVyoSUP.css +2 -0
- package/dist/client/index.html +6 -5
- package/dist/server/index.js +1 -1
- package/package.json +6 -5
- package/dist/chunks/config-store-C2CaymPs.js +0 -1
- package/dist/client/assets/index-BhMm8IuJ.css +0 -2
- package/dist/client/assets/index-DRT1ZGFh.js +0 -177
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { c 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 { c as resolveConfigPath } from "./config-store-CEsetno2.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-CtcoO10O.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 { n as equalsIgnoringCaseOnWindows } from "./paths-Bu4eH1Yd.js";
|
|
|
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-DFCTvPjj.js";
|
|
6
|
-
import {
|
|
6
|
+
import { lt as canonicalizePath, o as glimmervoidHomeDir } from "./config-store-CEsetno2.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import crypto from "node:crypto";
|
|
@@ -75,9 +75,12 @@ function repoParts(repo) {
|
|
|
75
75
|
if (parts.length !== 2 || !parts.every((part) => GH_SEGMENT.test(part))) return null;
|
|
76
76
|
return [parts[0], parts[1]];
|
|
77
77
|
}
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region shared/git-text.ts
|
|
80
|
+
var SHORT_SHA_CHARS = 7;
|
|
78
81
|
var HEX_SHA_RE = /^[0-9a-f]{7,40}$/i;
|
|
79
82
|
var FULL_SHA_RE = /^[0-9a-f]{40}$/;
|
|
80
|
-
function shortSha(sha, { chars =
|
|
83
|
+
function shortSha(sha, { chars = SHORT_SHA_CHARS, validate = false } = {}) {
|
|
81
84
|
if (typeof sha !== "string" || !sha) return "";
|
|
82
85
|
if (!validate) return sha.slice(0, chars);
|
|
83
86
|
const text = sha.trim();
|
|
@@ -154,11 +157,17 @@ var ReviewFinding = z.object({
|
|
|
154
157
|
]).nullable(),
|
|
155
158
|
body: z.string().min(1)
|
|
156
159
|
});
|
|
160
|
+
var HandCheck = z.object({
|
|
161
|
+
text: z.string().min(1),
|
|
162
|
+
paths: z.array(z.string()),
|
|
163
|
+
isFallback: z.boolean().default(false)
|
|
164
|
+
});
|
|
157
165
|
var ReviewAssessment = z.object({
|
|
158
166
|
goal: z.string().default(""),
|
|
159
167
|
change: z.string(),
|
|
160
168
|
checked: z.array(z.string()),
|
|
161
|
-
gaps: z.array(z.string())
|
|
169
|
+
gaps: z.array(z.string()),
|
|
170
|
+
handChecks: z.array(HandCheck).default([])
|
|
162
171
|
});
|
|
163
172
|
var ReviewResult = z.object({
|
|
164
173
|
verdict: ReviewVerdict,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as SESSION_COMMANDS } from "./session-
|
|
1
|
+
import { E as SESSION_COMMANDS } from "./session-CUc6d7aS.js";
|
|
2
2
|
//#region session/core/session-routes.ts
|
|
3
3
|
var SUPERVISION_LINE = "Glimmervoid supervises this session. Run glimmervoid --help for the commands it gives you and this session's limits.";
|
|
4
4
|
var SPAWN_LINE = "To delegate work that edits files or runs long, use glimmervoid spawn rather than an in-process subagent: the spawned session gets its own dashboard card the operator can watch. An in-process subagent stays fine for a quick read-only lookup.";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
|
|
2
|
-
import { f as AgentSettingsReply } from "./session-
|
|
3
|
-
import { r as BrowserConfig } from "./config-
|
|
2
|
+
import { f as AgentSettingsReply } from "./session-CUc6d7aS.js";
|
|
3
|
+
import { r as BrowserConfig } from "./config-Dh4e-Mkv.js";
|
|
4
4
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
5
5
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
6
6
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-DFt-TemS.js";
|
|
7
|
-
import { C as deleteValueAtPath, D as scoreSettingsSearch, E as parsePosthogProjectSelection, N as SETTINGS_REGISTRY, O as setValueAtPath, Q as
|
|
8
|
-
import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as ALL_SETTINGS } from "./settings-readout-core-
|
|
7
|
+
import { $ as readEnvSecrets, C as deleteValueAtPath, D as scoreSettingsSearch, E as parsePosthogProjectSelection, N as SETTINGS_REGISTRY, O as setValueAtPath, Q as ENV_SECRET_BINDINGS, S as cloneValue, j as valueAtPath, l as saveConfigFileOnce, s as loadConfigFile, tt as withEnvSecrets, u as validateConfig } from "./config-store-CEsetno2.js";
|
|
8
|
+
import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as ALL_SETTINGS } from "./settings-readout-core-BVb6tTLq.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { parseArgs } from "node:util";
|
|
@@ -329,7 +329,7 @@ function processIo() {
|
|
|
329
329
|
async function runSettingsCli(commandArguments, io = processIo()) {
|
|
330
330
|
const serverRequest = settingsRequestForServer(commandArguments, process.env);
|
|
331
331
|
if (!serverRequest) return runSettingsCommand(commandArguments, io);
|
|
332
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
332
|
+
const { askAgentApi } = await import("./agent-api-cli-B-QxkZAQ.js");
|
|
333
333
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
334
334
|
ok: false,
|
|
335
335
|
error: errorMessage(error)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as AgentSettingsRequest } from "./session-
|
|
1
|
+
import { p as AgentSettingsRequest } from "./session-CUc6d7aS.js";
|
|
2
2
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
3
|
-
import { A as settingsOf, M as FILE_ONLY_GROUPS, N as SETTINGS_REGISTRY, S as cloneValue, T as hasScaledUnit,
|
|
3
|
+
import { $ as readEnvSecrets, A as settingsOf, M as FILE_ONLY_GROUPS, N as SETTINGS_REGISTRY, S as cloneValue, T as hasScaledUnit, j as valueAtPath, k as settingsGroupOf, w as displayText, x as SETTINGS_INDEX } from "./config-store-CEsetno2.js";
|
|
4
4
|
import { parseArgs } from "node:util";
|
|
5
5
|
//#region server/core/settings-readout-core.ts
|
|
6
6
|
var VALUE_COLUMN_WIDTH = 40;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { I as SshSignReply, j as SIGN_URL_ENV } from "./session-
|
|
2
|
+
import { I as SshSignReply, j as SIGN_URL_ENV } from "./session-CUc6d7aS.js";
|
|
3
3
|
import { n as execFileAsync, o as spawn } from "./child-process-safe-D4hyVIXj.js";
|
|
4
4
|
import { a as isLoopbackHostname } from "./hook-relay-core-DA_bz2KA.js";
|
|
5
|
-
import { n as postToAgentIngress } from "./agent-api-cli-
|
|
5
|
+
import { n as postToAgentIngress } from "./agent-api-cli-DIl92JjQ.js";
|
|
6
6
|
import { l as parseSshPublicKey } from "./ssh-signing-core-CRhVVWNW.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|