glimmervoid 0.52.2-next.682 → 0.52.2-next.683
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 +17 -17
- package/dist/chunks/{adapters-BVZYqHuD.js → adapters-B33MPRTY.js} +1 -1
- package/dist/chunks/{adapters-CIL6g9R2.js → adapters-CuQ_RvlA.js} +7 -7
- package/dist/chunks/agent-api-cli-CRUTYJQq.js +1 -0
- package/dist/chunks/{agent-api-cli-7xxfflVL.js → agent-api-cli-D4CfxnZM.js} +7 -3
- package/dist/chunks/{agent-api-core-BxJOL6Ye.js → agent-api-core-BeeBFOwI.js} +12 -3
- package/dist/chunks/{agent-setup-cli-DWGQIduP.js → agent-setup-cli-CEU_RVfh.js} +1 -1
- package/dist/chunks/{config-C43Ovt64.js → config-C8KXay7k.js} +64 -3
- package/dist/chunks/{config-store-Co0IYv_B.js → config-store-1YxK7Fcc.js} +11 -9
- package/dist/chunks/config-store-C_U_TeZA.js +1 -0
- package/dist/chunks/{grok-CstIMQXr.js → grok-TfN6HhpF.js} +2 -2
- package/dist/chunks/kimi-8LeTccgZ.js +1 -0
- package/dist/chunks/{kimi-DjNUuBkC.js → kimi-CVxsh_Id.js} +3 -3
- package/dist/chunks/{main-7iEQ-1lZ.js → main-2BCXYvF3.js} +495 -33
- package/dist/chunks/pack-bridge-DifQHfqf.js +152 -0
- package/dist/chunks/{pair-cli-Dy0bFL9m.js → pair-cli-Bo-NjR4Z.js} +2 -2
- package/dist/chunks/{pr-flows-cli-Bdt0p04k.js → pr-flows-cli-D5gjtXla.js} +14 -72
- package/dist/chunks/{pr-flows-external-CbLPEQzZ.js → pr-flows-external-BRtHbSYM.js} +372 -94
- package/dist/chunks/{remote-config-qbb1pXRE.js → remote-config-JwAqVJzu.js} +2 -2
- package/dist/chunks/{runtime-paths-CYwF658V.js → runtime-paths-DfoHzN15.js} +3 -2
- package/dist/chunks/runtime-paths-j5rMoZKx.js +1 -0
- package/dist/chunks/{session-D0gNPAv6.js → session-BrX33men.js} +17 -4
- package/dist/chunks/{settings-cli-BTzrqRKC.js → settings-cli-BG8y7lry.js} +5 -5
- package/dist/chunks/{settings-readout-core-Be3O8D0x.js → settings-readout-core-D737OjDD.js} +2 -2
- package/dist/chunks/{shown-files-core-DJ4Uu8g4.js → shown-files-core-Dw46r34m.js} +1 -1
- package/dist/chunks/{spawn-env-gxqKNJaO.js → spawn-env-C9TqrBFa.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-B8sdxV3y.js → ssh-sign-cli-TniUat4i.js} +2 -2
- package/dist/client/assets/{action-status-B0E-UYey.js → action-status-CZYIePIi.js} +1 -1
- package/dist/client/assets/action-status-CZYIePIi.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-CeADmzc1.js → benchmark-panel-Bw8N6GK2.js} +1 -1
- package/dist/client/assets/benchmark-panel-Bw8N6GK2.js.br +0 -0
- package/dist/client/assets/boards-view-qc5Ngfb3.js +1 -0
- package/dist/client/assets/boards-view-qc5Ngfb3.js.br +0 -0
- package/dist/client/assets/button-DmPsawUI.js +1 -0
- package/dist/client/assets/button-DmPsawUI.js.br +0 -0
- package/dist/client/assets/{card-actions-unth0mGA.js → card-actions-DqN_LeXp.js} +1 -1
- package/dist/client/assets/{card-registry-W9ss4JHS.js → card-registry-Cv71lBTz.js} +1 -1
- package/dist/client/assets/card-registry-Cv71lBTz.js.br +0 -0
- package/dist/client/assets/community-panel-CWjsICRJ.js +1 -0
- package/dist/client/assets/community-panel-CWjsICRJ.js.br +0 -0
- package/dist/client/assets/{control-ws-t9cKDDGy.js → control-ws-DPZ9etoz.js} +3 -3
- package/dist/client/assets/control-ws-DPZ9etoz.js.br +0 -0
- package/dist/client/assets/dialogs-DDJIQOLH.js +62 -0
- package/dist/client/assets/dialogs-DDJIQOLH.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-CUmnGPuA.js → doc-editor-ui-CgjO3Lnt.js} +1 -1
- package/dist/client/assets/doc-editor-ui-CgjO3Lnt.js.br +0 -0
- package/dist/client/assets/{feature-hint-CSxFk4_I.js → feature-hint-DK-4CryY.js} +1 -1
- package/dist/client/assets/feature-hint-DK-4CryY.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-Cvy09PVe.js → first-run-checklist-DhoHWVJq.js} +1 -1
- package/dist/client/assets/first-run-checklist-DhoHWVJq.js.br +0 -0
- package/dist/client/assets/{hooks-panel--CPyMcai.js → hooks-panel-Yq_L-te7.js} +1 -1
- package/dist/client/assets/hooks-panel-Yq_L-te7.js.br +0 -0
- package/dist/client/assets/{index-BCYtNn4q.css → index-DuILhRN2.css} +1 -1
- package/dist/client/assets/index-DuILhRN2.css.br +0 -0
- package/dist/client/assets/index-Yn1u5uR-.js +75 -0
- package/dist/client/assets/index-Yn1u5uR-.js.br +0 -0
- package/dist/client/assets/issues-panel-6Gxf7cee.js +1 -0
- package/dist/client/assets/issues-panel-6Gxf7cee.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-DOv8AcER.js +10 -0
- package/dist/client/assets/lane-read-token-step-DOv8AcER.js.br +0 -0
- package/dist/client/assets/{menu-DK4rQWp6.js → menu-Bmp-V2w9.js} +1 -1
- package/dist/client/assets/menu-Bmp-V2w9.js.br +0 -0
- package/dist/client/assets/{modal-C-Lb5-jJ.js → modal-DAKyfQs6.js} +1 -1
- package/dist/client/assets/modal-DAKyfQs6.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-BxhBLlrC.js → my-prs-panel-C5dGa_OW.js} +1 -1
- package/dist/client/assets/my-prs-panel-C5dGa_OW.js.br +0 -0
- package/dist/client/assets/{nyan-cat-C0SuX0Ul.js → nyan-cat-Cw67zd4C.js} +1 -1
- package/dist/client/assets/nyan-cat-Cw67zd4C.js.br +0 -0
- package/dist/client/assets/phone-shell-bUqLE2_q.js +1 -0
- package/dist/client/assets/phone-shell-bUqLE2_q.js.br +0 -0
- package/dist/client/assets/{plan-face-DOHTjQIm.js → plan-face-DBr_qpxa.js} +2 -2
- package/dist/client/assets/plan-face-DBr_qpxa.js.br +0 -0
- package/dist/client/assets/{plan-render-BxqPQmb3.js → plan-render-ysX1IWmF.js} +1 -1
- package/dist/client/assets/plan-render-ysX1IWmF.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-DUXJglbf.js → pr-queue-columns-BOCHpq03.js} +1 -1
- package/dist/client/assets/pr-queue-columns-BOCHpq03.js.br +5 -0
- package/dist/client/assets/{pr-status-icon-D1RIxNiH.js → pr-status-icon-tznMLhQo.js} +1 -1
- package/dist/client/assets/pr-status-icon-tznMLhQo.js.br +0 -0
- package/dist/client/assets/radar-panel-wqAgTOI3.js +1 -0
- package/dist/client/assets/radar-panel-wqAgTOI3.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-Bja_yxRQ.js → repo-roots-adder-K4WcaTgy.js} +1 -1
- package/dist/client/assets/repo-roots-adder-K4WcaTgy.js.br +0 -0
- package/dist/client/assets/{resume-dialog-DbmQjZ54.js → resume-dialog-Cqd2khFs.js} +1 -1
- package/dist/client/assets/resume-dialog-Cqd2khFs.js.br +0 -0
- package/dist/client/assets/review-queue-panel-DF9DcX9y.js +1 -0
- package/dist/client/assets/review-queue-panel-DF9DcX9y.js.br +0 -0
- package/dist/client/assets/{session-actions-Cpe0WcNw.js → session-actions-DSNLKleZ.js} +2 -2
- package/dist/client/assets/session-actions-DSNLKleZ.js.br +0 -0
- package/dist/client/assets/{session-row-Bx0e1IqT.js → session-row-CXMMlw0t.js} +2 -2
- package/dist/client/assets/session-row-CXMMlw0t.js.br +0 -0
- package/dist/client/assets/{session-tick-CY_ByGke.js → session-tick-DuSCNqbg.js} +1 -1
- package/dist/client/assets/session-tick-DuSCNqbg.js.br +0 -0
- package/dist/client/assets/settings-panel-BQr7kr-A.js +4 -0
- package/dist/client/assets/settings-panel-BQr7kr-A.js.br +0 -0
- package/dist/client/assets/{setup-step-DTtM5S-5.js → setup-step-CriQNZxc.js} +1 -1
- package/dist/client/assets/setup-step-CriQNZxc.js.br +0 -0
- package/dist/client/assets/shown-face-BXtBnUOJ.js +1 -0
- package/dist/client/assets/shown-face-BXtBnUOJ.js.br +0 -0
- package/dist/client/assets/trace-panel-GIXoh7_b.js +2 -0
- package/dist/client/assets/trace-panel-GIXoh7_b.js.br +0 -0
- package/dist/client/assets/usage-panel-BtWL4_uZ.js +1 -0
- package/dist/client/assets/usage-panel-BtWL4_uZ.js.br +0 -0
- package/dist/client/assets/your-day-tip-BPaWavzg.js +1 -0
- package/dist/client/assets/your-day-tip-BPaWavzg.js.br +0 -0
- package/dist/client/index.html +13 -13
- package/dist/client/index.html.br +0 -0
- package/dist/examples/packs/night-shift/pack.json +42 -0
- package/dist/examples/packs/pr-radar/icon.svg +1 -0
- package/dist/examples/packs/pr-radar/pack.json +17 -0
- package/dist/examples/packs/pr-radar/panel/bridge.js +23 -0
- package/dist/examples/packs/pr-radar/panel/index.html +17 -0
- package/dist/examples/packs/pr-radar/panel/panel.css +12 -0
- package/dist/examples/packs/pr-radar/panel/panel.js +37 -0
- package/dist/examples/packs/pr-radar/review-checklist.mjs +11 -0
- package/dist/examples/packs/session-board/icon.svg +1 -0
- package/dist/examples/packs/session-board/pack.json +11 -0
- package/dist/examples/packs/session-board/panel/bridge.js +23 -0
- package/dist/examples/packs/session-board/panel/index.html +15 -0
- package/dist/examples/packs/session-board/panel/panel.css +12 -0
- package/dist/examples/packs/session-board/panel/panel.js +36 -0
- package/dist/schema/pack.v1.json +502 -0
- package/dist/server/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunks/agent-api-cli-ivGOfIyv.js +0 -1
- package/dist/chunks/config-store-CuPthoVo.js +0 -1
- package/dist/chunks/kimi-DgpeyWvz.js +0 -1
- package/dist/chunks/runtime-paths-CKqE4LXP.js +0 -1
- package/dist/client/assets/action-status-B0E-UYey.js.br +0 -0
- package/dist/client/assets/benchmark-panel-CeADmzc1.js.br +0 -0
- package/dist/client/assets/boards-view-B72AQTO3.js +0 -1
- package/dist/client/assets/boards-view-B72AQTO3.js.br +0 -0
- package/dist/client/assets/button-Cnom-MQM.js +0 -1
- package/dist/client/assets/button-Cnom-MQM.js.br +0 -0
- package/dist/client/assets/card-registry-W9ss4JHS.js.br +0 -0
- package/dist/client/assets/community-panel-DqzC7L9D.js +0 -1
- package/dist/client/assets/community-panel-DqzC7L9D.js.br +0 -0
- package/dist/client/assets/control-ws-t9cKDDGy.js.br +0 -0
- package/dist/client/assets/dialogs-CYxttI_-.js +0 -62
- package/dist/client/assets/dialogs-CYxttI_-.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-CUmnGPuA.js.br +0 -0
- package/dist/client/assets/feature-hint-CSxFk4_I.js.br +0 -0
- package/dist/client/assets/first-run-checklist-Cvy09PVe.js.br +0 -0
- package/dist/client/assets/hooks-panel--CPyMcai.js.br +0 -0
- package/dist/client/assets/index-BCYtNn4q.css.br +0 -0
- package/dist/client/assets/index-BJ91HtGW.js +0 -75
- package/dist/client/assets/index-BJ91HtGW.js.br +0 -0
- package/dist/client/assets/issues-panel-DUcdzzVj.js +0 -1
- package/dist/client/assets/issues-panel-DUcdzzVj.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-DafWgu6v.js +0 -10
- package/dist/client/assets/lane-read-token-step-DafWgu6v.js.br +0 -0
- package/dist/client/assets/menu-DK4rQWp6.js.br +0 -0
- package/dist/client/assets/modal-C-Lb5-jJ.js.br +0 -0
- package/dist/client/assets/my-prs-panel-BxhBLlrC.js.br +0 -0
- package/dist/client/assets/nyan-cat-C0SuX0Ul.js.br +0 -0
- package/dist/client/assets/phone-shell-DVuMA67-.js +0 -1
- package/dist/client/assets/phone-shell-DVuMA67-.js.br +0 -0
- package/dist/client/assets/plan-face-DOHTjQIm.js.br +0 -0
- package/dist/client/assets/plan-render-BxqPQmb3.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-DUXJglbf.js.br +0 -0
- package/dist/client/assets/pr-status-icon-D1RIxNiH.js.br +0 -0
- package/dist/client/assets/radar-panel-do7jZZzb.js +0 -1
- package/dist/client/assets/radar-panel-do7jZZzb.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-Bja_yxRQ.js.br +0 -0
- package/dist/client/assets/resume-dialog-DbmQjZ54.js.br +0 -0
- package/dist/client/assets/review-queue-panel-Bj94aFOM.js +0 -1
- package/dist/client/assets/review-queue-panel-Bj94aFOM.js.br +0 -0
- package/dist/client/assets/sandboxed-frame-DDgtJ2Ng.js +0 -1
- package/dist/client/assets/session-actions-Cpe0WcNw.js.br +0 -0
- package/dist/client/assets/session-row-Bx0e1IqT.js.br +0 -0
- package/dist/client/assets/session-tick-CY_ByGke.js.br +0 -0
- package/dist/client/assets/settings-panel-DLFX7wgj.js +0 -4
- package/dist/client/assets/settings-panel-DLFX7wgj.js.br +0 -0
- package/dist/client/assets/setup-step-DTtM5S-5.js.br +0 -0
- package/dist/client/assets/shown-face-Dg0-lsQK.js +0 -1
- package/dist/client/assets/shown-face-Dg0-lsQK.js.br +0 -0
- package/dist/client/assets/trace-panel-CMGxUa6n.js +0 -2
- package/dist/client/assets/trace-panel-CMGxUa6n.js.br +0 -0
- package/dist/client/assets/usage-panel-CH5ByEKC.js +0 -1
- package/dist/client/assets/usage-panel-CH5ByEKC.js.br +0 -0
- package/dist/client/assets/your-day-tip-BX7i62Mj.js +0 -1
- package/dist/client/assets/your-day-tip-BX7i62Mj.js.br +0 -0
- package/dist/schema/pr-pack.v1.json +0 -272
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { r as firstLine, s as nodePtyRebuildHint, t as probeNodePty } from "../chunks/node-pty-preflight-DbfWP9Rc.js";
|
|
3
3
|
import { i as errorText } from "../chunks/text-DoirglWV.js";
|
|
4
|
-
import {
|
|
4
|
+
import { o as packageRoot } from "../chunks/runtime-paths-DfoHzN15.js";
|
|
5
5
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DUWk0Lui.js";
|
|
6
|
-
import { t as AGENT_API_VERBS } from "../chunks/session-
|
|
6
|
+
import { t as AGENT_API_VERBS } from "../chunks/session-BrX33men.js";
|
|
7
7
|
import { a as execSync } from "../chunks/child-process-safe-BIh8yQ0I.js";
|
|
8
|
-
import { nt as isOwnedCommandName, r as agentCommandHelpLines, rt as parseCommand, tt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-
|
|
8
|
+
import { nt as isOwnedCommandName, r as agentCommandHelpLines, rt as parseCommand, tt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-BeeBFOwI.js";
|
|
9
9
|
import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
|
|
10
10
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-BfOQqktJ.js";
|
|
11
11
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
@@ -63,7 +63,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
63
63
|
return await runDoctor() ? 0 : 1;
|
|
64
64
|
},
|
|
65
65
|
pair: async ({ values }) => {
|
|
66
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
66
|
+
const { runPairCli } = await import("../chunks/pair-cli-Bo-NjR4Z.js");
|
|
67
67
|
return runPairCli({
|
|
68
68
|
isListing: values.list === true,
|
|
69
69
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -71,23 +71,23 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
71
71
|
});
|
|
72
72
|
},
|
|
73
73
|
agent: async () => {
|
|
74
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
74
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-CEU_RVfh.js");
|
|
75
75
|
return runAgentSetupCli();
|
|
76
76
|
},
|
|
77
77
|
settings: async (parsed) => {
|
|
78
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
78
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-BG8y7lry.js");
|
|
79
79
|
return runParsedSettingsCli(parsed);
|
|
80
80
|
},
|
|
81
81
|
"pr-flows": async (parsed) => {
|
|
82
|
-
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-
|
|
82
|
+
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-D5gjtXla.js");
|
|
83
83
|
return runPrFlowsCheckCli(parsed);
|
|
84
84
|
},
|
|
85
85
|
"pr-action": async (parsed) => {
|
|
86
|
-
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-
|
|
86
|
+
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-D5gjtXla.js");
|
|
87
87
|
return runPrActionReportCli(parsed);
|
|
88
88
|
},
|
|
89
89
|
"ssh-sign": async ({ rawArgs }) => {
|
|
90
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
90
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-TniUat4i.js");
|
|
91
91
|
return runSshSignCli(rawArgs);
|
|
92
92
|
}
|
|
93
93
|
};
|
|
@@ -109,7 +109,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
109
109
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
110
110
|
}
|
|
111
111
|
var SUBCOMMAND_RUNNERS = new Map([...Object.keys(OWNED_COMMAND_SPECS).filter(isOwnedCommandName).map((name) => [name, (subcommandArgs) => runOwnedCommand(name, subcommandArgs)]), ...AGENT_API_VERBS.filter((verb) => !isOwnedCommandName(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
|
|
112
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
112
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-CRUTYJQq.js");
|
|
113
113
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
114
114
|
}])]);
|
|
115
115
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -123,7 +123,7 @@ function missingAgentText(agentId) {
|
|
|
123
123
|
}
|
|
124
124
|
async function printSessionLimits() {
|
|
125
125
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
126
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
126
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-CRUTYJQq.js");
|
|
127
127
|
const limitsLines = await sessionLimitsHelpLines();
|
|
128
128
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
129
129
|
}
|
|
@@ -180,7 +180,7 @@ async function readDeclaredCustomAgents() {
|
|
|
180
180
|
declared: [],
|
|
181
181
|
error: null
|
|
182
182
|
};
|
|
183
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
183
|
+
const { loadConfigFile } = await import("../chunks/config-store-C_U_TeZA.js");
|
|
184
184
|
try {
|
|
185
185
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
186
186
|
if (!loaded.config) return {
|
|
@@ -256,7 +256,7 @@ async function runDoctor() {
|
|
|
256
256
|
}
|
|
257
257
|
switchSection("Agents");
|
|
258
258
|
try {
|
|
259
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
259
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-B33MPRTY.js");
|
|
260
260
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
261
261
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
262
262
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -264,10 +264,10 @@ async function runDoctor() {
|
|
|
264
264
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
265
265
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
266
266
|
}
|
|
267
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
267
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CEU_RVfh.js");
|
|
268
268
|
const grokSetup = inspectGrokAgentSetup();
|
|
269
269
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
270
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
270
|
+
const { default: kimi } = await import("../chunks/kimi-8LeTccgZ.js");
|
|
271
271
|
const { describeAgentHome } = await import("../chunks/agent-home-Chl-ukFf.js");
|
|
272
272
|
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-3HONviqr.js");
|
|
273
273
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
@@ -276,9 +276,9 @@ async function runDoctor() {
|
|
|
276
276
|
}
|
|
277
277
|
switchSection("Sane YOLO");
|
|
278
278
|
try {
|
|
279
|
-
const { resolvePackageBin } = await import("../chunks/runtime-paths-
|
|
279
|
+
const { resolvePackageBin } = await import("../chunks/runtime-paths-j5rMoZKx.js");
|
|
280
280
|
const { execFileSync } = await import("../chunks/child-process-safe-D5RpuuyW.js");
|
|
281
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
281
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CEU_RVfh.js");
|
|
282
282
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
283
283
|
line("Sane YOLO", binPath || "not installed");
|
|
284
284
|
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-CuQ_RvlA.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { f as isPathInside, p as safePathSegment, s as relayPath } from "./runtime-paths-DfoHzN15.js";
|
|
3
|
+
import { C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Fn as shortSha$1, Nn as FULL_SHA_RE, S as CONVERSATION_PERMISSION_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME } from "./session-BrX33men.js";
|
|
4
4
|
import { i as execFileSync, l as spawn, r as execFileAsync } from "./child-process-safe-BIh8yQ0I.js";
|
|
5
|
-
import {
|
|
5
|
+
import { $t as PLAN_TOOL_NAME, Bt as InstallFlavor, Qt as PLAN_RESULT_HOOK_EVENT, Tt as HTTP_URL_RE, Xt as PLAN_HOOK_EVENT, c as SHELL_AGENT_ID, qt as UpdateChannel } from "./config-C8KXay7k.js";
|
|
6
6
|
import { a as rawTextOr, n as isRecord, o as textOr, r as numberOr } from "./coerce-oz_Z_6E7.js";
|
|
7
7
|
import { n as parseJsonRecord } from "./json-core-If8h-Qgy.js";
|
|
8
8
|
import { i as saneYoloEnv, r as SANE_YOLO_PATH_ENV, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
|
|
9
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
9
|
+
import { t as buildAgentEnv } from "./spawn-env-C9TqrBFa.js";
|
|
10
10
|
import { n as shellQuote, t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
11
|
-
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-
|
|
11
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-TfN6HhpF.js";
|
|
12
12
|
import { O as nextBackoffMs, c as loadedJsonValue, d as writeJsonAtomicSync, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-AKRVPqG1.js";
|
|
13
|
-
import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-
|
|
14
|
-
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-
|
|
13
|
+
import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-1YxK7Fcc.js";
|
|
14
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-CVxsh_Id.js";
|
|
15
15
|
import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-BGvFYDNV.js";
|
|
16
16
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-Bt3Itm9c.js";
|
|
17
17
|
import fs from "node:fs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-D4CfxnZM.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, rt as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
1
|
+
import { at as WhiteboardAgentReply, r as AGENT_URL_ENV, tt as UNIT_STATUSES, u as AgentLimitsReply } from "./session-BrX33men.js";
|
|
2
|
+
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, rt as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-BeeBFOwI.js";
|
|
3
3
|
import { i as resolveHookTarget } from "./hook-relay-core-DA_bz2KA.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
5
|
-
import { h as layoutBoard, i as describeOverCap, p as boardSvgDocument, v as planSteps } from "./shown-files-core-
|
|
5
|
+
import { h as layoutBoard, i as describeOverCap, p as boardSvgDocument, v as planSteps } from "./shown-files-core-Dw46r34m.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import http from "node:http";
|
|
@@ -124,6 +124,10 @@ var BODY_BUILDERS = {
|
|
|
124
124
|
}),
|
|
125
125
|
why: ({ positionals: [target] }) => target ? { target: absoluteWhyTarget(target) } : null,
|
|
126
126
|
whiteboard: whiteboardBody,
|
|
127
|
+
packs: ({ positionals: [command, packPath] }) => ({
|
|
128
|
+
command,
|
|
129
|
+
...packPath === void 0 ? {} : { path: path.resolve(packPath) }
|
|
130
|
+
}),
|
|
127
131
|
checkout: ({ positionals: [repo] }) => repo ? { repo: /[\\/]|^\./.test(repo) ? path.resolve(repo) : repo } : null
|
|
128
132
|
};
|
|
129
133
|
function bodySaysOk(text) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { D as SESSION_COMMANDS, E as RefinedTaskTitle, V as TASK_TITLE_CONTROL_CHARACTERS, _ as AgentSettingsRequest, a as AgentAnswerRequest, c as AgentCloseRequest, d as AgentPacksRequest, f as AgentPullRequestRequest, h as AgentSendRequest, l as AgentEditRequest, m as AgentReviewsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, ot as WhiteboardAgentRequest, p as AgentReadRequest, s as AgentCheckoutRequest, t as AGENT_API_VERBS, v as AgentSpawnRequest, y as AgentWhyRequest } from "./session-BrX33men.js";
|
|
2
|
+
import { Gt as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-C8KXay7k.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { parseArgs } from "node:util";
|
|
@@ -473,6 +473,7 @@ var COMMAND_ROUTES = Object.freeze({
|
|
|
473
473
|
why: () => ANSWERS,
|
|
474
474
|
whiteboard: whiteboardRoute,
|
|
475
475
|
checkout: checkoutRoute,
|
|
476
|
+
packs: operatorStateRoute,
|
|
476
477
|
limits: () => ANSWERS
|
|
477
478
|
});
|
|
478
479
|
var SHOWABLE_PATH = /\.(png|jpe?g|gif|webp|svg|mp4|webm|html?)(?=$|[\s'"`)|;&,])/i;
|
|
@@ -1291,7 +1292,8 @@ var REQUEST_PARSERS = Object.freeze({
|
|
|
1291
1292
|
settings: bodyParser(AgentSettingsRequest),
|
|
1292
1293
|
why: bodyParser(AgentWhyRequest),
|
|
1293
1294
|
whiteboard: bodyParser(WhiteboardAgentRequest),
|
|
1294
|
-
checkout: bodyParser(AgentCheckoutRequest)
|
|
1295
|
+
checkout: bodyParser(AgentCheckoutRequest),
|
|
1296
|
+
packs: bodyParser(AgentPacksRequest)
|
|
1295
1297
|
});
|
|
1296
1298
|
function checkAgentReply(verb, reply) {
|
|
1297
1299
|
const checked = AGENT_REPLY_SCHEMAS[verb].safeParse(reply.body);
|
|
@@ -1756,6 +1758,13 @@ var AGENT_COMMAND_HELP = Object.freeze({
|
|
|
1756
1758
|
summary: "Link a pull request to this session's card",
|
|
1757
1759
|
missingArgumentHint: "this command needs a pull request, for example \"glimmervoid link-pr acme/app#12\""
|
|
1758
1760
|
},
|
|
1761
|
+
packs: {
|
|
1762
|
+
usage: "packs guide|check|list",
|
|
1763
|
+
whenToUse: "Use it before writing or changing a Glimmervoid pack, and to check one before asking the operator to approve it",
|
|
1764
|
+
summary: "Read how to build a pack (its schema, the panel bridge and example packs to copy), check a pack folder, or list the packs installed here",
|
|
1765
|
+
missingArgumentHint: null,
|
|
1766
|
+
isPassthrough: true
|
|
1767
|
+
},
|
|
1759
1768
|
settings: {
|
|
1760
1769
|
usage: "settings list|get",
|
|
1761
1770
|
whenToUse: "Use it instead of reading config.json",
|
|
@@ -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-TfN6HhpF.js";
|
|
3
3
|
import { p as writeTextAtomicSync } from "./json-file-AKRVPqG1.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $ as Op, At as SessionPrLinks, Bn as GithubPollingRefreshRequest, Cn as PrFlowSaveRuleRequest, Ct as MyPrMergeWhenReadyResult, Dn as PrFlowsStatus, F as SessionDoc, H as TaskTitle, Hn as GithubPrsFreshness, Ht as ReviewChecksState, I as SessionSnapshot, In as GH_SEGMENT, J as BoardReview, K as Board, L as SessionState, Lt as GithubReviewDecision, Mt as repositoryName, Nt as CommitSha, R as ShownFile, Rn as REPO_SLUG_RE, St as MyPrMergeWhenReadyRequest, Tn as PrFlowsSettings, U as UnseenOutcome, Un as githubPollingShape, Vn as GithubPollingRefreshResult, Xt as TeamReviewActionResult, Y as BoardSummary, Yt as TeamReviewActionRequest, _n as PrFlowDisposeResult, bn as PrFlowPendingApproval, bt as MyPrMergeResult, dt as MyPr, en as TeamReviewStatus, gn as PrFlowDisposeRequest, gt as MyPrKeepMergeableResult, ht as MyPrKeepMergeableRequest, it as WHITEBOARD_LIMITS, jt as pullRequestKeyFormat, k as SESSION_DOC_PATH_MAX_CHARS, kt as MyPrsStatus, mn as PrFlowApproveRequest, on as hasRequiredActionHead, pn as PrActionRunRequest, ut as LinkedPr, vn as PrFlowItemRequest, w as CoherenceHooksState, wt as MyPrSearchNode, yt as MyPrMergeRequest, zn as repoParts } from "./session-BrX33men.js";
|
|
2
|
+
import { r as ThemePalette, t as PackBridgeTopic } from "./pack-bridge-DifQHfqf.js";
|
|
2
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
3
4
|
import path from "node:path";
|
|
4
5
|
import { z } from "zod";
|
|
@@ -2670,6 +2671,63 @@ var systemServerVariants = [
|
|
|
2670
2671
|
loose("star-hint")
|
|
2671
2672
|
];
|
|
2672
2673
|
//#endregion
|
|
2674
|
+
//#region shared/contracts/control/pack-messages.ts
|
|
2675
|
+
var PackRowState = z.enum([
|
|
2676
|
+
"pending",
|
|
2677
|
+
"approved",
|
|
2678
|
+
"invalid"
|
|
2679
|
+
]);
|
|
2680
|
+
var PackRow = z.strictObject({
|
|
2681
|
+
name: z.string(),
|
|
2682
|
+
version: z.number().nullable(),
|
|
2683
|
+
description: z.string().nullable(),
|
|
2684
|
+
dir: z.string(),
|
|
2685
|
+
state: PackRowState,
|
|
2686
|
+
fingerprint: z.string().nullable(),
|
|
2687
|
+
files: z.array(z.string()),
|
|
2688
|
+
needs: z.array(z.string()),
|
|
2689
|
+
missingRequires: z.array(z.string()),
|
|
2690
|
+
prFlows: PrFlowPendingApproval.nullable(),
|
|
2691
|
+
themes: z.array(z.strictObject({
|
|
2692
|
+
id: z.string(),
|
|
2693
|
+
label: z.string(),
|
|
2694
|
+
mode: ThemePalette.shape.mode
|
|
2695
|
+
})),
|
|
2696
|
+
panels: z.array(z.strictObject({
|
|
2697
|
+
id: z.string(),
|
|
2698
|
+
label: z.string(),
|
|
2699
|
+
reads: z.array(PackBridgeTopic)
|
|
2700
|
+
})),
|
|
2701
|
+
errors: z.array(z.string())
|
|
2702
|
+
});
|
|
2703
|
+
var ApprovedPackTheme = z.strictObject({
|
|
2704
|
+
id: z.string(),
|
|
2705
|
+
palette: ThemePalette
|
|
2706
|
+
});
|
|
2707
|
+
var ApprovedPackPanel = z.strictObject({
|
|
2708
|
+
viewId: z.string(),
|
|
2709
|
+
label: z.string(),
|
|
2710
|
+
entryUrl: z.string(),
|
|
2711
|
+
iconUrl: z.string().nullable(),
|
|
2712
|
+
reads: z.array(PackBridgeTopic)
|
|
2713
|
+
});
|
|
2714
|
+
var PacksStatus = loose("packs-status", {
|
|
2715
|
+
packs: z.array(PackRow),
|
|
2716
|
+
themes: z.array(ApprovedPackTheme),
|
|
2717
|
+
panels: z.array(ApprovedPackPanel),
|
|
2718
|
+
warnings: z.array(z.string())
|
|
2719
|
+
});
|
|
2720
|
+
var PackApproveRequest = z.strictObject({ fingerprint: z.string().min(1).max(128) });
|
|
2721
|
+
var packClientVariants = [loose("pack-approve", {
|
|
2722
|
+
...PackApproveRequest.shape,
|
|
2723
|
+
requestId
|
|
2724
|
+
})];
|
|
2725
|
+
var packServerVariants = [PacksStatus, loose("pack-approve-result", {
|
|
2726
|
+
requestId,
|
|
2727
|
+
ok: z.boolean(),
|
|
2728
|
+
error: optionalError
|
|
2729
|
+
})];
|
|
2730
|
+
//#endregion
|
|
2673
2731
|
//#region shared/contracts/control-messages.ts
|
|
2674
2732
|
var idOnlyClientTypes = [
|
|
2675
2733
|
"kill",
|
|
@@ -2703,6 +2761,7 @@ var clientVariants = [
|
|
|
2703
2761
|
...laneClientVariants,
|
|
2704
2762
|
...whiteboardClientVariants,
|
|
2705
2763
|
...systemClientVariants,
|
|
2764
|
+
...packClientVariants,
|
|
2706
2765
|
...idOnlyClientVariants
|
|
2707
2766
|
];
|
|
2708
2767
|
var ClientMessage = z.discriminatedUnion("type", clientVariants);
|
|
@@ -2716,7 +2775,8 @@ var serverVariants = [
|
|
|
2716
2775
|
...communityServerVariants,
|
|
2717
2776
|
...laneServerVariants,
|
|
2718
2777
|
...whiteboardServerVariants,
|
|
2719
|
-
...systemServerVariants
|
|
2778
|
+
...systemServerVariants,
|
|
2779
|
+
...packServerVariants
|
|
2720
2780
|
];
|
|
2721
2781
|
z.discriminatedUnion("type", serverVariants);
|
|
2722
2782
|
//#endregion
|
|
@@ -3106,6 +3166,7 @@ var FILE_CONFIG_SHAPE = {
|
|
|
3106
3166
|
telegram: optionalLooseObject("telegram"),
|
|
3107
3167
|
workflows: optionalLooseObject("workflows"),
|
|
3108
3168
|
prFlows: optionalLooseObject("prFlows"),
|
|
3169
|
+
packs: z.array(z.string({ error: "packs must list pack directory paths" }).min(1, { error: "packs must list pack directory paths" }), { error: "packs must be an array of pack directory paths" }).optional(),
|
|
3109
3170
|
guardrails: optionalLooseObject("guardrails"),
|
|
3110
3171
|
telemetry: TelemetryFileSettings,
|
|
3111
3172
|
trace: TraceSettings,
|
|
@@ -3207,4 +3268,4 @@ function configIssueMessage(error) {
|
|
|
3207
3268
|
return error.issues[0]?.message || "settings are invalid";
|
|
3208
3269
|
}
|
|
3209
3270
|
//#endregion
|
|
3210
|
-
export {
|
|
3271
|
+
export { KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE as $, PLAN_TOOL_NAME as $t, MinedPrReviewData as A, TraceRecord as At, GithubPrKey as B, InstallFlavor as Bt, BenchmarkId as C, IssuesStatus as Ct, BenchmarkSuite as D, SessionSetup as Dt, BenchmarkStatus as E, HookEnvelope as Et, CommunityState as F, CHANGES_WATCH_LEASE_MS as Ft, WorkflowLabelName as G, pullRequestKeyFromReference as Gt, GithubPrsFrame as H, ONBOARDING_STEP_STATES as Ht, CommunityVerdict as I, CLIENT_LOG_TEXT_MAX_CHARS as It, COMMUNITY_INTERVAL_MINUTES_RANGE as J, UpdateJournal as Jt, WorkflowsSettings as K, UPDATE_CHANNELS as Kt, DISCORD_CHANNEL_NAME_RE as L, CONTROL_FRAME_MAX_BYTES as Lt, CommunityActionRequest as M, ChangeMap as Mt, CommunityDraft as N, changeMapFactId as Nt, CommitComparison as O, MAX_RAW_LINE_CHARS as Ot, CommunityItem as P, CHANGES_POLL_INTERVAL_MS as Pt, FLYING_ANIMALS_SCALE_RANGE as Q, PLAN_RESULT_HOOK_EVENT as Qt, SKILL_NAME_RE as R, DASHBOARD_VIEWS as Rt, BenchmarkCase as S, IssuesState as St, BenchmarkRun as T, HTTP_URL_RE as Tt, comparablePrKey as U, OPERATOR_ACTIONS_BY_SURFACE as Ut, GithubPrLightSearchNode as V, ONBOARDING_STEPS as Vt, WorkflowCommentBody as W, OPERATOR_SURFACES as Wt, FLYING_ANIMALS_DURATION_RANGE as X, PLAN_HOOK_EVENT as Xt, FLYING_ANIMALS_DEFAULTS as Y, PLAN_BODY_CAP_BYTES as Yt, FLYING_ANIMALS_GAP_RANGE as Z, PLAN_HOOK_OUTPUT_MAX_CHARS as Zt, FeatureHintState as _, GithubIssuePullRequestsRepository as _t, ConfigUpdate as a, POSTHOG_PROJECT_ID_RANGE as at, HintFeature as b, IssueUpdate as bt, SHELL_AGENT_ID as c, POSTHOG_TRAFFIC_MULTIPLIER_RANGE as ct, BranchGcFileSettings as d, USAGE_BUDGET_RANGE as dt, PlanDecision as en, MEMORY_RESERVE_MB_RANGE as et, USAGE_COST_MODES as f, USAGE_INTEGER_RANGES as ft, PackApproveRequest as g, WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE as gt, ClientMessage as h, WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE as ht, Config as i, POSTHOG_FIX_TIMEOUT_RANGE as it, PrCheckoutCaseInput as j, CoherenceJournalOutput as jt, MergedPrListing as k, TraceCheckpoint as kt, TASK_TITLE_SOURCE_PRIORITY as l, REPLAY_BUFFER_KB_RANGE as lt, normalizeLegacyConfigNumbers as m, USAGE_SCAN_INTERVAL_RANGE as mt, BUILTIN_AGENT_IDS as n, parseExitPlanModeHookPayload as nn, PORT_RANGE as nt, PersistedTaskTitle as o, POSTHOG_TRAFFIC_BASELINE_RANGE as ot, USAGE_VENDOR_KEYS as p, USAGE_RETAIN_DAYS_RANGE as pt, WorkflowsState as q, UpdateChannel as qt, BrowserConfig as r, planTitle as rn, POSITIVE_NUMBER_RANGE as rt, RUNTIME_CONFIG_SCALAR_KEYS as s, POSTHOG_TRAFFIC_MIN_USERS_RANGE as st, AGENT_ID_SHAPE_MESSAGE as t, PlanRevision as tn, NON_NEGATIVE_NUMBER_RANGE as tt, configIssueMessage as u, TASK_TITLE_TIMEOUT_RANGE as ut, HINT_FEATURES as v, GithubIssueResponse as vt, BenchmarkJudgement as w, issuePullRequestStateFromGithub as wt, BenchmarkActionRequest as x, IssuesSearchResponse as xt, HINT_VIEW_BY_FEATURE as y, IssueKey as yt, GithubPrDetailNode as z, GithubTeam as zt };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d as equalsIgnoringCaseOnWindows, f as isPathInside, o as packageRoot } from "./runtime-paths-DfoHzN15.js";
|
|
3
3
|
import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
4
|
-
import {
|
|
5
|
-
import { $ as
|
|
4
|
+
import { D as SESSION_COMMANDS, Mn as prFlowRulesJsonSchema, Sn as PrFlowRule, hn as PrFlowCommand, xn as PrFlowPrAction } from "./session-BrX33men.js";
|
|
5
|
+
import { $ as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, Ht as ONBOARDING_STEP_STATES, J as COMMUNITY_INTERVAL_MINUTES_RANGE, Kt as UPDATE_CHANNELS, Q as FLYING_ANIMALS_SCALE_RANGE, Rt as DASHBOARD_VIEWS, Ut as OPERATOR_ACTIONS_BY_SURFACE, Vt as ONBOARDING_STEPS, Wt as OPERATOR_SURFACES, X as FLYING_ANIMALS_DURATION_RANGE, Y as FLYING_ANIMALS_DEFAULTS, Z as FLYING_ANIMALS_GAP_RANGE, at as POSTHOG_PROJECT_ID_RANGE, b as HintFeature, ct as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, d as BranchGcFileSettings, dt as USAGE_BUDGET_RANGE, et as MEMORY_RESERVE_MB_RANGE, f as USAGE_COST_MODES, ft as USAGE_INTEGER_RANGES, gt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, ht as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE, i as Config, it as POSTHOG_FIX_TIMEOUT_RANGE, lt as REPLAY_BUFFER_KB_RANGE, m as normalizeLegacyConfigNumbers, mt as USAGE_SCAN_INTERVAL_RANGE, n as BUILTIN_AGENT_IDS, nt as PORT_RANGE, ot as POSTHOG_TRAFFIC_BASELINE_RANGE, pt as USAGE_RETAIN_DAYS_RANGE, rt as POSITIVE_NUMBER_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as POSTHOG_TRAFFIC_MIN_USERS_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as NON_NEGATIVE_NUMBER_RANGE, u as configIssueMessage, ut as TASK_TITLE_TIMEOUT_RANGE } from "./config-C8KXay7k.js";
|
|
6
6
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
7
7
|
import { d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync } from "./json-file-AKRVPqG1.js";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -3218,21 +3218,22 @@ var FILE_ONLY_SETTINGS = Object.freeze([
|
|
|
3218
3218
|
...FILE_ONLY
|
|
3219
3219
|
},
|
|
3220
3220
|
{
|
|
3221
|
-
id: "file-
|
|
3222
|
-
path: "
|
|
3223
|
-
title: "
|
|
3221
|
+
id: "file-packs",
|
|
3222
|
+
path: "packs",
|
|
3223
|
+
title: "Packs",
|
|
3224
3224
|
group: "lanes-team-review",
|
|
3225
|
-
description: "More pack directories to load besides every directory under ~/.glimmervoid/packs/. A pack is a pack.json (name, version, requires, prActions, sources, actions
|
|
3225
|
+
description: "More pack directories to load besides every directory under ~/.glimmervoid/packs/. A pack is a pack.json (name, version, description, requires, and sections such as prFlows with prActions, sources, actions and rules) plus the files it uses, shared by copying the directory; its commands can use {packDir}, its ids show as <pack>/<id>, and it waits for one approval in Settings, Packs that any edit to a file in it asks again.",
|
|
3226
3226
|
control: "list",
|
|
3227
3227
|
keywords: [
|
|
3228
|
-
"pull requests",
|
|
3229
3228
|
"packs",
|
|
3230
3229
|
"share",
|
|
3230
|
+
"plugins",
|
|
3231
|
+
"pull requests",
|
|
3231
3232
|
"commands"
|
|
3232
3233
|
],
|
|
3233
3234
|
defaultValue: [],
|
|
3234
3235
|
takesEffect: "now",
|
|
3235
|
-
fileOnlyReason: "A pack
|
|
3236
|
+
fileOnlyReason: "A pack can run commands on this machine, so its directory is written in config.json and the pack waits for your approval.",
|
|
3236
3237
|
...FILE_ONLY
|
|
3237
3238
|
},
|
|
3238
3239
|
{
|
|
@@ -4007,6 +4008,7 @@ var DEFAULT_CONFIG = {
|
|
|
4007
4008
|
},
|
|
4008
4009
|
repoRoots: [],
|
|
4009
4010
|
customAgents: [],
|
|
4011
|
+
packs: [],
|
|
4010
4012
|
remote: {
|
|
4011
4013
|
enabled: false,
|
|
4012
4014
|
port: null,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as loadConfigFile } from "./config-store-1YxK7Fcc.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { s as relayPath } from "./runtime-paths-DfoHzN15.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
4
|
+
import { t as buildAgentEnv } from "./spawn-env-C9TqrBFa.js";
|
|
5
5
|
import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "./kimi-CVxsh_Id.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-
|
|
1
|
+
import { s as relayPath } from "./runtime-paths-DfoHzN15.js";
|
|
2
|
+
import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-BrX33men.js";
|
|
3
3
|
import { i as execFileSync } from "./child-process-safe-BIh8yQ0I.js";
|
|
4
4
|
import { n as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
|
|
5
5
|
import { i as kimiMcpFiles, n as KIMI_MCP_CONFIG_NAME, t as KIMI_MCP_BASE_NAME } from "./agent-config-DDpOIcFv.js";
|
|
6
|
-
import { t as buildAgentEnv } from "./spawn-env-
|
|
6
|
+
import { t as buildAgentEnv } from "./spawn-env-C9TqrBFa.js";
|
|
7
7
|
import { l as KIMI_HOME_PROFILE, m as renderKimiHooksBlock } from "./agent-home-core-BGvFYDNV.js";
|
|
8
8
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, o as prepareScratchAgentHome, s as realAgentHome } from "./agent-home-Bt3Itm9c.js";
|
|
9
9
|
import fs from "node:fs";
|