glimmervoid 0.43.1 → 0.43.3
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 +14 -14
- package/dist/chunks/{adapters-jRUJYLhH.js → adapters-BrJVO21n.js} +16 -10
- package/dist/chunks/{adapters-EqOJN5vD.js → adapters-CxM7iyI_.js} +1 -1
- package/dist/chunks/{agent-api-cli-B0fpc41n.js → agent-api-cli-DQDeXBP_.js} +2 -2
- package/dist/chunks/{agent-api-cli-DYwXyAmN.js → agent-api-cli-DbipciSb.js} +1 -1
- package/dist/chunks/agent-api-core-Da2UAN7U.js +782 -0
- package/dist/chunks/{agent-setup-cli-NfJQxNdp.js → agent-setup-cli-DAPHGpRA.js} +1 -1
- package/dist/chunks/{control-messages-CD99vE0V.js → config-DkjpKAoc.js} +556 -2
- package/dist/chunks/{config-store-CBjnq-OI.js → config-store-DJ_imLTg.js} +39 -5
- package/dist/chunks/config-store-Wbcvb0f3.js +1 -0
- package/dist/chunks/contracts-D5KEXrcX.js +293 -0
- package/dist/chunks/{grok-DPmX1ozS.js → grok-2z-LqPHN.js} +2 -2
- package/dist/chunks/{main-_78bVmTr.js → main-BPyE0fvz.js} +335 -534
- package/dist/chunks/{pair-cli-DAJNPgsi.js → pair-cli-CKBA5XVU.js} +2 -2
- package/dist/chunks/{remote-config-BdCTswa1.js → remote-config-C-Rc55Vf.js} +1 -1
- package/dist/chunks/runtime-paths-Cc0_ZR6V.js +1 -0
- package/dist/chunks/{runtime-paths-BkeftE60.js → runtime-paths-ghcH9CeW.js} +1 -1
- package/dist/chunks/{session-routes-DdeSkLqC.js → session-routes-BQPy81dm.js} +6 -3
- package/dist/chunks/{settings-cli-CMLEvC05.js → settings-cli-bDyDiLRy.js} +5 -5
- package/dist/chunks/{settings-readout-core-CBqSjZiW.js → settings-readout-core-BKSVNO7q.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-CvqtQNQe.js → ssh-sign-cli-COMPYoNe.js} +1 -1
- package/dist/chunks/{visions-cli-CVRB9IWA.js → visions-cli-COYRIdXy.js} +1 -1
- package/dist/chunks/{visions-setup-DB2P8JUL.js → visions-setup-VMMyqOpl.js} +2 -2
- package/dist/client/assets/index-BA0smAG8.js +177 -0
- package/dist/client/assets/index-CFJ6Pl08.css +2 -0
- package/dist/client/index.html +2 -2
- package/dist/server/index.js +2 -2
- package/dist/session/remote-setup/SKILL.md +120 -0
- package/dist/session/remote-setup/glimmervoid.service +20 -0
- package/dist/session/statusline-relay.js +1 -1
- package/dist/session/visions-relay.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-api-core-BeSecYrA.js +0 -336
- package/dist/chunks/config-store-DCrosJLg.js +0 -1
- package/dist/chunks/contracts-BJGgl8et.js +0 -831
- package/dist/chunks/runtime-paths-DSmormp7.js +0 -1
- package/dist/client/assets/index-CaLUqLuu.css +0 -2
- package/dist/client/assets/index-DAC9sWrV.js +0 -177
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
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
|
-
import {
|
|
4
|
+
import { o as packageRoot } from "../chunks/runtime-paths-ghcH9CeW.js";
|
|
5
5
|
import { t as AGENT_API_VERBS } from "../chunks/session-BUcx9uJa.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-Da2UAN7U.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
10
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-ByOV7a_h.js";
|
|
@@ -65,29 +65,29 @@ 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-CKBA5XVU.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-DAPHGpRA.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-bDyDiLRy.js");
|
|
77
77
|
return runSettingsCli(subcommandArgs);
|
|
78
78
|
}],
|
|
79
79
|
["visions", async (subcommandArgs) => {
|
|
80
|
-
const { runVisionsCli } = await import("../chunks/visions-cli-
|
|
80
|
+
const { runVisionsCli } = await import("../chunks/visions-cli-COYRIdXy.js");
|
|
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-COMPYoNe.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-DbipciSb.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-DbipciSb.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-Wbcvb0f3.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-CxM7iyI_.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-DAPHGpRA.js");
|
|
246
246
|
const grokSetup = inspectGrokAgentSetup();
|
|
247
247
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
248
248
|
} catch (err) {
|
|
@@ -257,9 +257,9 @@ async function runDoctor() {
|
|
|
257
257
|
}
|
|
258
258
|
switchSection("Sane YOLO");
|
|
259
259
|
try {
|
|
260
|
-
const { resolvePackageBin } = await import("../chunks/runtime-paths-
|
|
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-DAPHGpRA.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,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as relayPath } from "./runtime-paths-ghcH9CeW.js";
|
|
2
2
|
import { Bt as shortSha$1, Rt as FULL_SHA_RE } from "./session-BUcx9uJa.js";
|
|
3
3
|
import { n as execFileAsync, r as execFileSync } from "./child-process-safe-D4hyVIXj.js";
|
|
4
|
-
import {
|
|
5
|
-
import { o as supervisionLine } from "./session-routes-
|
|
6
|
-
import { n as resolveAgentCommand, t as buildAgentSpawnCommand } from "./spawn-command-Cc40FiZI.js";
|
|
4
|
+
import { y as InstallFlavor } from "./config-DkjpKAoc.js";
|
|
5
|
+
import { o as supervisionLine } from "./session-routes-BQPy81dm.js";
|
|
7
6
|
import { c as textOr, s as rawTextOr } from "./coerce-NSst8oRP.js";
|
|
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-2z-LqPHN.js";
|
|
10
10
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
11
|
-
import "./contracts-
|
|
11
|
+
import "./contracts-D5KEXrcX.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";
|
|
@@ -155,10 +155,13 @@ var APPENDED_SYSTEM_PROMPT_FLAGS = Object.freeze([APPEND_SYSTEM_PROMPT_FLAG, "--
|
|
|
155
155
|
function isAppendedSystemPromptArgument(launchArgument) {
|
|
156
156
|
return APPENDED_SYSTEM_PROMPT_FLAGS.some((flag) => launchArgument === flag || launchArgument.startsWith(`${flag}=`));
|
|
157
157
|
}
|
|
158
|
-
function buildArgs$1({ dangerouslySkipPermissions = false, resumeSessionId = null, extraArgs = [], initialPrompt = null, hasOuterGuardrails = false, canRunHelpCommand = true } = {}) {
|
|
158
|
+
function buildArgs$1({ dangerouslySkipPermissions = false, resumeSessionId = null, extraArgs = [], initialPrompt = null, hasOuterGuardrails = false, canRunHelpCommand = true, canSpawn = false } = {}) {
|
|
159
159
|
const args = dangerouslySkipPermissions ? ["--dangerously-skip-permissions"] : [];
|
|
160
160
|
if (resumeSessionId) args.push("--resume", resumeSessionId);
|
|
161
|
-
if (canRunHelpCommand && !extraArgs.some(isAppendedSystemPromptArgument)) args.push(APPEND_SYSTEM_PROMPT_FLAG, supervisionLine({
|
|
161
|
+
if (canRunHelpCommand && !extraArgs.some(isAppendedSystemPromptArgument)) args.push(APPEND_SYSTEM_PROMPT_FLAG, supervisionLine({
|
|
162
|
+
isGuarded: hasOuterGuardrails,
|
|
163
|
+
canSpawn
|
|
164
|
+
}));
|
|
162
165
|
for (let index = 0; index < extraArgs.length; index += 1) {
|
|
163
166
|
const argument = extraArgs[index];
|
|
164
167
|
if (resumeSessionId && argument === "--session-id") {
|
|
@@ -864,9 +867,12 @@ function setsOperatorInstructions(operatorConfigText) {
|
|
|
864
867
|
function isDeveloperInstructionsOverride(launchArgument) {
|
|
865
868
|
return launchArgument.startsWith(`${DEVELOPER_INSTRUCTIONS_KEY}=`);
|
|
866
869
|
}
|
|
867
|
-
function buildArgs({ dangerouslySkipPermissions = false, resumeSessionId = null, extraArgs = [], initialPrompt = null, hasOuterGuardrails = false, hasOperatorInstructions = false, canRunHelpCommand = true } = {}) {
|
|
870
|
+
function buildArgs({ dangerouslySkipPermissions = false, resumeSessionId = null, extraArgs = [], initialPrompt = null, hasOuterGuardrails = false, hasOperatorInstructions = false, canRunHelpCommand = true, canSpawn = false } = {}) {
|
|
868
871
|
const args = [...UPDATE_CHECK_ARGS];
|
|
869
|
-
if (canRunHelpCommand && !hasOperatorInstructions && !extraArgs.some(isDeveloperInstructionsOverride)) args.push("-c", `${DEVELOPER_INSTRUCTIONS_KEY}='''${supervisionLine({
|
|
872
|
+
if (canRunHelpCommand && !hasOperatorInstructions && !extraArgs.some(isDeveloperInstructionsOverride)) args.push("-c", `${DEVELOPER_INSTRUCTIONS_KEY}='''${supervisionLine({
|
|
873
|
+
isGuarded: hasOuterGuardrails,
|
|
874
|
+
canSpawn
|
|
875
|
+
})}'''`);
|
|
870
876
|
if (resumeSessionId) args.push("resume", resumeSessionId);
|
|
871
877
|
args.push(...permissionArgs(dangerouslySkipPermissions, hasOuterGuardrails));
|
|
872
878
|
if (extraArgs.length > 0) args.push(...extraArgs);
|
|
@@ -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-BrJVO21n.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as errorCode } from "./text-DoirglWV.js";
|
|
2
2
|
import { n as AGENT_URL_ENV, s as AgentLimitsReply } from "./session-BUcx9uJa.js";
|
|
3
|
-
import { i as formatSessionLimits } from "./session-routes-
|
|
4
|
-
import { f as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
3
|
+
import { i as formatSessionLimits } from "./session-routes-BQPy81dm.js";
|
|
4
|
+
import { f as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-Da2UAN7U.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";
|
|
@@ -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-DQDeXBP_.js";
|