glimmervoid 0.47.1-next.261 → 0.47.1-next.262
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 +4 -4
- package/dist/chunks/{adapters-Cq3sq9_D.js → adapters-DSLS47Kq.js} +1 -1
- package/dist/chunks/{adapters-BcdxBJrK.js → adapters-Eh_k0NYB.js} +3 -3
- package/dist/chunks/agent-home-BZB8hXrH.js +1 -0
- package/dist/chunks/{agent-home-DMK9PkOo.js → agent-home-Cc2oGNYa.js} +22 -4
- package/dist/chunks/agent-home-core-CgoT45SE.js +1 -0
- package/dist/chunks/{agent-home-core-DZ_zGHQJ.js → agent-home-core-DgW3orTE.js} +1 -1
- package/dist/chunks/{kimi-0sSirxxH.js → kimi-CKcgRTqA.js} +12 -2
- package/dist/chunks/kimi-Ch7mq51x.js +1 -0
- package/dist/chunks/{main-DnEif6TC.js → main-C8ay63SB.js} +133 -316
- package/dist/client/assets/{alert-sound-C2-mZeNL.js → alert-sound-BLAx-xt3.js} +1 -1
- package/dist/client/assets/alert-sound-BLAx-xt3.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-njN3YVaP.js → benchmark-panel-CyITqRhp.js} +1 -1
- package/dist/client/assets/benchmark-panel-CyITqRhp.js.br +0 -0
- package/dist/client/assets/{celebration-player-BZrN8yg4.js → celebration-player-AKPy1DW1.js} +1 -1
- package/dist/client/assets/celebration-player-AKPy1DW1.js.br +0 -0
- package/dist/client/assets/{community-panel-C1o92l5q.js → community-panel-D3yFBD4t.js} +1 -1
- package/dist/client/assets/community-panel-D3yFBD4t.js.br +0 -0
- package/dist/client/assets/{dialogs-PBl8O-4R.js → dialogs-CVxm4VIl.js} +1 -1
- package/dist/client/assets/dialogs-CVxm4VIl.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-ChdZVeTZ.js → doc-editor-ui-BhRh_qmd.js} +1 -1
- package/dist/client/assets/doc-editor-ui-BhRh_qmd.js.br +0 -0
- package/dist/client/assets/{feature-hint-Bp_XN05K.js → feature-hint-CmFeeJYQ.js} +1 -1
- package/dist/client/assets/feature-hint-CmFeeJYQ.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-DnvCvijN.js → first-run-checklist-CqYl2AM8.js} +1 -1
- package/dist/client/assets/first-run-checklist-CqYl2AM8.js.br +0 -0
- package/dist/client/assets/{hooks-panel-CuSGPfnh.js → hooks-panel-X79cGGRR.js} +1 -1
- package/dist/client/assets/hooks-panel-X79cGGRR.js.br +0 -0
- package/dist/client/assets/{index-D3Qn-Gpw.js → index-BSvjiJFk.js} +5 -5
- package/dist/client/assets/index-BSvjiJFk.js.br +0 -0
- package/dist/client/assets/{issues-panel-DPzD_uiu.js → issues-panel-DEAkaTg3.js} +1 -1
- package/dist/client/assets/issues-panel-DEAkaTg3.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-DjCpDC6O.js → my-prs-panel-BDBq0yzP.js} +1 -1
- package/dist/client/assets/my-prs-panel-BDBq0yzP.js.br +0 -0
- package/dist/client/assets/{nyan-cat-B5mOD_Ng.js → nyan-cat-DOawTW-t.js} +1 -1
- package/dist/client/assets/nyan-cat-DOawTW-t.js.br +0 -0
- package/dist/client/assets/{phone-shell-upbznUgo.js → phone-shell-DxKmg7Px.js} +1 -1
- package/dist/client/assets/phone-shell-DxKmg7Px.js.br +0 -0
- package/dist/client/assets/{plan-face-DYS6tmJt.js → plan-face-yvER-ySL.js} +1 -1
- package/dist/client/assets/plan-face-yvER-ySL.js.br +0 -0
- package/dist/client/assets/{plan-render-BiKsPFC1.js → plan-render-BJgA-ikE.js} +1 -1
- package/dist/client/assets/plan-render-BJgA-ikE.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-DR4D8r-k.js → pr-queue-columns-ChyyFGKh.js} +1 -1
- package/dist/client/assets/pr-queue-columns-ChyyFGKh.js.br +0 -0
- package/dist/client/assets/{radar-panel-DWe4snDi.js → radar-panel-DnEb-trC.js} +1 -1
- package/dist/client/assets/radar-panel-DnEb-trC.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-YpvdWtDn.js → repo-roots-adder-BMOUGorj.js} +1 -1
- package/dist/client/assets/repo-roots-adder-BMOUGorj.js.br +0 -0
- package/dist/client/assets/{resume-dialog-DdLqfQWG.js → resume-dialog-DgPM_35R.js} +1 -1
- package/dist/client/assets/resume-dialog-DgPM_35R.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-mLURWjYB.js → review-queue-panel-DlN1BVwa.js} +1 -1
- package/dist/client/assets/review-queue-panel-DlN1BVwa.js.br +0 -0
- package/dist/client/assets/{settings-panel-DhINS4En.js → settings-panel-CGwnb86R.js} +2 -2
- package/dist/client/assets/settings-panel-CGwnb86R.js.br +0 -0
- package/dist/client/assets/{shown-lightbox-BdPgIKWJ.js → shown-lightbox-CVrmyZgQ.js} +1 -1
- package/dist/client/assets/shown-lightbox-CVrmyZgQ.js.br +0 -0
- package/dist/client/assets/{team-review-panel-DAB0xU7c.js → team-review-panel-BKqKchPH.js} +1 -1
- package/dist/client/assets/team-review-panel-BKqKchPH.js.br +0 -0
- package/dist/client/assets/{trace-panel-DKWsPqwF.js → trace-panel-Dxvtm_db.js} +1 -1
- package/dist/client/assets/trace-panel-Dxvtm_db.js.br +0 -0
- package/dist/client/assets/{usage-panel-DpmKpTGU.js → usage-panel-CNBvq4Jo.js} +1 -1
- package/dist/client/assets/usage-panel-CNBvq4Jo.js.br +0 -0
- package/dist/client/index.html +1 -1
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-home-core-D0FRjVyC.js +0 -1
- package/dist/chunks/agent-home-w7C50GTe.js +0 -1
- package/dist/chunks/kimi-DvRVJFxU.js +0 -1
- package/dist/client/assets/alert-sound-C2-mZeNL.js.br +0 -0
- package/dist/client/assets/benchmark-panel-njN3YVaP.js.br +0 -0
- package/dist/client/assets/celebration-player-BZrN8yg4.js.br +0 -0
- package/dist/client/assets/community-panel-C1o92l5q.js.br +0 -0
- package/dist/client/assets/dialogs-PBl8O-4R.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-ChdZVeTZ.js.br +0 -0
- package/dist/client/assets/feature-hint-Bp_XN05K.js.br +0 -0
- package/dist/client/assets/first-run-checklist-DnvCvijN.js.br +0 -0
- package/dist/client/assets/hooks-panel-CuSGPfnh.js.br +0 -0
- package/dist/client/assets/index-D3Qn-Gpw.js.br +0 -0
- package/dist/client/assets/issues-panel-DPzD_uiu.js.br +0 -0
- package/dist/client/assets/my-prs-panel-DjCpDC6O.js.br +0 -0
- package/dist/client/assets/nyan-cat-B5mOD_Ng.js.br +0 -0
- package/dist/client/assets/phone-shell-upbznUgo.js.br +0 -0
- package/dist/client/assets/plan-face-DYS6tmJt.js.br +0 -0
- package/dist/client/assets/plan-render-BiKsPFC1.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-DR4D8r-k.js.br +0 -0
- package/dist/client/assets/radar-panel-DWe4snDi.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-YpvdWtDn.js.br +0 -0
- package/dist/client/assets/resume-dialog-DdLqfQWG.js.br +0 -0
- package/dist/client/assets/review-queue-panel-mLURWjYB.js.br +0 -0
- package/dist/client/assets/settings-panel-DhINS4En.js.br +0 -0
- package/dist/client/assets/shown-lightbox-BdPgIKWJ.js.br +0 -0
- package/dist/client/assets/team-review-panel-DAB0xU7c.js.br +0 -0
- package/dist/client/assets/trace-panel-DKWsPqwF.js.br +0 -0
- package/dist/client/assets/usage-panel-DpmKpTGU.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -223,7 +223,7 @@ async function runDoctor() {
|
|
|
223
223
|
}
|
|
224
224
|
switchSection("Agents");
|
|
225
225
|
try {
|
|
226
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
226
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-DSLS47Kq.js");
|
|
227
227
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
228
228
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
229
229
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -234,9 +234,9 @@ async function runDoctor() {
|
|
|
234
234
|
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-BTC5SZ-Q.js");
|
|
235
235
|
const grokSetup = inspectGrokAgentSetup();
|
|
236
236
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
237
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
238
|
-
const { describeAgentHome } = await import("../chunks/agent-home-
|
|
239
|
-
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-
|
|
237
|
+
const { default: kimi } = await import("../chunks/kimi-Ch7mq51x.js");
|
|
238
|
+
const { describeAgentHome } = await import("../chunks/agent-home-BZB8hXrH.js");
|
|
239
|
+
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-CgoT45SE.js");
|
|
240
240
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
241
241
|
} catch (err) {
|
|
242
242
|
line("agents", `probe failed: ${firstLine(errorText(err))}`);
|
|
@@ -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-Eh_k0NYB.js";
|
|
@@ -13,9 +13,9 @@ import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
|
13
13
|
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-9BcIdXH_.js";
|
|
14
14
|
import { O as nextBackoffMs } from "./json-file-AKRVPqG1.js";
|
|
15
15
|
import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-Cb8Y5B7_.js";
|
|
16
|
-
import { c as CODEX_HOME_PROFILE,
|
|
17
|
-
import { a as holdPreparedAgentHome, c as
|
|
18
|
-
import { t as kimi } from "./kimi-
|
|
16
|
+
import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-DgW3orTE.js";
|
|
17
|
+
import { a as holdPreparedAgentHome, c as realAgentHome, l as releaseAgentHome, r as generatedAgentHomePath } from "./agent-home-Cc2oGNYa.js";
|
|
18
|
+
import { t as kimi } from "./kimi-CKcgRTqA.js";
|
|
19
19
|
import fs from "node:fs";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import os from "node:os";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as describeAgentHome } from "./agent-home-Cc2oGNYa.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { n as glimmervoidHomeDir } from "./config-path-core-DUWk0Lui.js";
|
|
3
3
|
import { p as writeTextAtomicSync } from "./json-file-AKRVPqG1.js";
|
|
4
|
-
import { a as AGENT_HOME_SOURCES_NAME, d as
|
|
4
|
+
import { a as AGENT_HOME_SOURCES_NAME, d as planAgentHome, i as AGENT_HOME_IN_USE_LOCK_NAME, n as AGENT_HOME_CONFIG_NAME, r as AGENT_HOME_CONFLICTS_NAME, t as AGENT_HOME_BASE_NAME, u as fileStampKey } from "./agent-home-core-DgW3orTE.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import fs, { closeSync, mkdirSync, openSync, readdirSync, renameSync, rmSync, unlinkSync } from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
@@ -300,7 +300,7 @@ function readSourceStamps(generatedHome) {
|
|
|
300
300
|
}
|
|
301
301
|
function inspectAgentHome(profile, options) {
|
|
302
302
|
const realHome = realAgentHome(profile, options.env, options.homeDir);
|
|
303
|
-
const generatedHome = generatedAgentHomePath(profile, options.env, options.homeDir);
|
|
303
|
+
const generatedHome = options.generatedHome ?? generatedAgentHomePath(profile, options.env, options.homeDir);
|
|
304
304
|
try {
|
|
305
305
|
return {
|
|
306
306
|
generatedHome,
|
|
@@ -426,7 +426,7 @@ function realFileStamps(realHome) {
|
|
|
426
426
|
return stamps;
|
|
427
427
|
}
|
|
428
428
|
function prepareAgentHome(profile, options) {
|
|
429
|
-
const generatedHome = generatedAgentHomePath(profile, options.env, options.homeDir);
|
|
429
|
+
const generatedHome = options.generatedHome ?? generatedAgentHomePath(profile, options.env, options.homeDir);
|
|
430
430
|
try {
|
|
431
431
|
fs.mkdirSync(generatedHome, {
|
|
432
432
|
recursive: true,
|
|
@@ -469,6 +469,24 @@ function holdPreparedAgentHome(profile, env, renderBlock) {
|
|
|
469
469
|
if ("refusal" in prepared) releaseAgentHome(generatedHome);
|
|
470
470
|
return prepared;
|
|
471
471
|
}
|
|
472
|
+
function prepareScratchAgentHome(profile, { env, renderBlock, home, configSuffix, files }) {
|
|
473
|
+
const prepared = prepareAgentHome(profile, {
|
|
474
|
+
env,
|
|
475
|
+
renderBlock,
|
|
476
|
+
generatedHome: home
|
|
477
|
+
});
|
|
478
|
+
if ("refusal" in prepared) return prepared;
|
|
479
|
+
try {
|
|
480
|
+
for (const [name, text] of Object.entries(files)) {
|
|
481
|
+
fs.rmSync(path.join(home, name), { force: true });
|
|
482
|
+
fs.writeFileSync(path.join(home, name), text, { mode: GENERATED_FILE_MODE });
|
|
483
|
+
}
|
|
484
|
+
fs.appendFileSync(path.join(home, AGENT_HOME_CONFIG_NAME), configSuffix);
|
|
485
|
+
} catch (error) {
|
|
486
|
+
return { refusal: `${home} cannot take the lane files: ${errorMessage(error)}` };
|
|
487
|
+
}
|
|
488
|
+
return prepared;
|
|
489
|
+
}
|
|
472
490
|
function agentHomeNotes(profile, generatedHome, plan) {
|
|
473
491
|
const notes = [];
|
|
474
492
|
if (plan.hasStaleBlockInRealConfig) notes.push(`the real config.toml still holds an old Glimmervoid hooks block, which ${profile.vendor} sessions here ignore and you can delete`);
|
|
@@ -559,4 +577,4 @@ function releaseUnheldAgentHomeSecrets(generatedHome) {
|
|
|
559
577
|
releaseSecretsUnlessHeldElsewhere(generatedHome, { whenLocksMissing: "keep" });
|
|
560
578
|
}
|
|
561
579
|
//#endregion
|
|
562
|
-
export { holdPreparedAgentHome as a,
|
|
580
|
+
export { holdPreparedAgentHome as a, realAgentHome as c, createHeldSessionTempFolder as d, releaseSessionLock as f, holdAgentHome as i, releaseAgentHome as l, trashSessionTempFolderOnceUnheld as m, describeAgentHome as n, prepareAgentHome as o, sessionIdOfLockFile as p, generatedAgentHomePath as r, prepareScratchAgentHome as s, agentHomeLinkRefusal as t, releaseUnheldAgentHomeSecrets as u };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { l as KIMI_HOME_PROFILE } from "./agent-home-core-DgW3orTE.js";
|
|
@@ -438,4 +438,4 @@ function renderCodexHooksBlock(options) {
|
|
|
438
438
|
].join("\n")}\n`;
|
|
439
439
|
}
|
|
440
440
|
//#endregion
|
|
441
|
-
export { AGENT_HOME_SOURCES_NAME as a, CODEX_HOME_PROFILE as c,
|
|
441
|
+
export { AGENT_HOME_SOURCES_NAME as a, CODEX_HOME_PROFILE as c, planAgentHome as d, renderCodexHookTables as f, AGENT_HOME_IN_USE_LOCK_NAME as i, KIMI_HOME_PROFILE as l, renderKimiHooksBlock as m, AGENT_HOME_CONFIG_NAME as n, BLOCK_END as o, renderCodexHooksBlock as p, AGENT_HOME_CONFLICTS_NAME as r, BLOCK_START as s, AGENT_HOME_BASE_NAME as t, fileStampKey as u };
|
|
@@ -4,8 +4,8 @@ import { i as execFileSync } from "./child-process-safe-BCOoKfxG.js";
|
|
|
4
4
|
import { n as resolveAgentCommand, t as buildAgentSpawnCommand } from "./spawn-command-CQECOvjC.js";
|
|
5
5
|
import { n as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
|
|
6
6
|
import { t as buildAgentEnv } from "./spawn-env-mgD54MHq.js";
|
|
7
|
-
import {
|
|
8
|
-
import { a as holdPreparedAgentHome, c as releaseAgentHome, s as
|
|
7
|
+
import { l as KIMI_HOME_PROFILE, m as renderKimiHooksBlock } from "./agent-home-core-DgW3orTE.js";
|
|
8
|
+
import { a as holdPreparedAgentHome, c as realAgentHome, l as releaseAgentHome, s as prepareScratchAgentHome } from "./agent-home-Cc2oGNYa.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { createHash } from "node:crypto";
|
|
@@ -140,6 +140,15 @@ function prepareHome(env) {
|
|
|
140
140
|
if (hooksBlock === null) return { refusal: "the hook relay path cannot be written into a kimi hooks block" };
|
|
141
141
|
return holdPreparedAgentHome(KIMI_HOME_PROFILE, env, () => hooksBlock);
|
|
142
142
|
}
|
|
143
|
+
function prepareScratchHome(env, scratch) {
|
|
144
|
+
const hooksBlock = expectedHooksBlock();
|
|
145
|
+
if (hooksBlock === null) return { refusal: "the hook relay path cannot be written into a kimi hooks block" };
|
|
146
|
+
return prepareScratchAgentHome(KIMI_HOME_PROFILE, {
|
|
147
|
+
env,
|
|
148
|
+
renderBlock: () => hooksBlock,
|
|
149
|
+
...scratch
|
|
150
|
+
});
|
|
151
|
+
}
|
|
143
152
|
var WINDOWS_SHAPED_ROOT = /^(?:[A-Za-z]:\/|\/\/)/;
|
|
144
153
|
var MAX_WORKSPACE_SLUG_LENGTH = 40;
|
|
145
154
|
function slugifyWorkspaceName(name) {
|
|
@@ -205,6 +214,7 @@ var kimi = {
|
|
|
205
214
|
kind: "generated-home",
|
|
206
215
|
homeEnvName: HOME_ENV_NAME,
|
|
207
216
|
prepareHome,
|
|
217
|
+
prepareScratchHome,
|
|
208
218
|
releaseHome: releaseAgentHome
|
|
209
219
|
}
|
|
210
220
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "./kimi-CKcgRTqA.js";
|