glimmervoid 0.52.3-next.810 → 0.52.3-next.813
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 -18
- package/dist/chunks/{adapters-CegV3T42.js → adapters-Cm8OfxJ-.js} +1 -1
- package/dist/chunks/{adapters-Bg-l7NBf.js → adapters-ZSls_tCx.js} +7 -7
- package/dist/chunks/agent-api-cli-BjMX0BWV.js +1 -0
- package/dist/chunks/{agent-api-cli-BkLD2K18.js → agent-api-cli-gDkCS2Sc.js} +3 -3
- package/dist/chunks/{agent-api-core-CADmSdvT.js → agent-api-core-BEroy0sS.js} +3 -3
- package/dist/chunks/{agent-setup-cli-D7XCboR8.js → agent-setup-cli-QUJ_PnAy.js} +1 -1
- package/dist/chunks/{config-CdUCPp52.js → config-CkV0C-0V.js} +2 -2
- package/dist/chunks/config-store-D_mx40Nb.js +1 -0
- package/dist/chunks/{config-store-RJTZlSL9.js → config-store-TJra5h8r.js} +3 -3
- package/dist/chunks/{control-messages-Cx_1p9iz.js → control-messages-BZms3f5z.js} +10 -12
- package/dist/chunks/{grok-DA9Dmmu3.js → grok-CR-AgrA2.js} +1 -1
- package/dist/chunks/{host-cli-CbCKHk5C.js → host-cli-BkPZk9qB.js} +3 -3
- package/dist/chunks/{host-registry-core-Cj9x_2Yr.js → host-registry-core-B9QtetVh.js} +1 -1
- package/dist/chunks/{kimi-Ck2t9UVT.js → kimi-Bns2rsve.js} +2 -2
- package/dist/chunks/kimi-DDuEOC7-.js +1 -0
- package/dist/chunks/{main-CcKJjRfc.js → main-D6uGScyA.js} +682 -904
- package/dist/chunks/{pack-agent-D9TcEpR3.js → pack-agent-BEsplgwO.js} +5 -5
- package/dist/chunks/{pack-bridge-BKP_4o4G.js → pack-bridge-BoiZXSUH.js} +1 -1
- package/dist/chunks/{pack-files-Cquc-WhV.js → pack-files-D-rDdLxB.js} +3 -3
- package/dist/chunks/{packs-cli-B8AP2zKu.js → packs-cli-awbr6FRB.js} +5 -5
- package/dist/chunks/{pair-cli-DJWfqOj3.js → pair-cli-BwYyx_rg.js} +2 -2
- package/dist/chunks/{pr-flows-cli-NUyOxO9a.js → pr-flows-cli-mCpN_Onm.js} +6 -6
- package/dist/chunks/{pr-flows-core-C5EdQcdl.js → pr-flows-core-BobD-dTi.js} +72 -30
- package/dist/chunks/{pr-flows-external-Bwwtnh-u.js → pr-flows-external-C4aO8Cz-.js} +3 -3
- package/dist/chunks/{remote-config-BxXgPLrF.js → remote-config-CldHW_6m.js} +1 -1
- package/dist/chunks/{session-C0cPFaQs.js → session-BvcMZ7BH.js} +10 -2
- package/dist/chunks/settings-cli-B25LN6Jx.js +1 -0
- package/dist/chunks/{settings-cli-Ce4-Yr_8.js → settings-cli-BnFILc3V.js} +5 -5
- package/dist/chunks/{settings-readout-core-O6-uLAi3.js → settings-readout-core-CvAedAf3.js} +2 -2
- package/dist/chunks/{spawn-env-CapiuFtq.js → spawn-env-C28Mf5v_.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-zx7cdsL_.js → ssh-sign-cli-C0dooqO3.js} +2 -2
- package/dist/chunks/watch-cli-B_eClujk.js +949 -0
- package/dist/chunks/{watchee-settings-CjkenTD8.js → watchee-settings-Cn-9FKNw.js} +668 -69
- package/dist/chunks/{whiteboard-svg-core-CFm2oj-T.js → whiteboard-svg-core-ChuwroP9.js} +1 -1
- package/dist/client/assets/{action-status-CgUlY1YC.js → action-status-BbtDsUki.js} +1 -1
- package/dist/client/assets/action-status-BbtDsUki.js.br +0 -0
- package/dist/client/assets/{agent-mark---dx0kxc.js → agent-mark-B_oODF_J.js} +1 -1
- package/dist/client/assets/agent-mark-B_oODF_J.js.br +0 -0
- package/dist/client/assets/{arena-panel-CUfSZv_I.js → arena-panel-DVY5odKK.js} +2 -2
- package/dist/client/assets/arena-panel-DVY5odKK.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-BJeO8SUk.js → benchmark-panel-Bx9vigxf.js} +1 -1
- package/dist/client/assets/benchmark-panel-Bx9vigxf.js.br +0 -0
- package/dist/client/assets/{boards-view-BsiGwzeZ.js → boards-view-BHEKyM11.js} +1 -1
- package/dist/client/assets/boards-view-BHEKyM11.js.br +0 -0
- package/dist/client/assets/button-5BtNNKgp.js +1 -0
- package/dist/client/assets/button-5BtNNKgp.js.br +0 -0
- package/dist/client/assets/{card-actions-D7SrqW9f.js → card-actions-Bf3QxhvD.js} +1 -1
- package/dist/client/assets/{card-registry-DdJYrnbX.js → card-registry-DKWiYa6i.js} +1 -1
- package/dist/client/assets/card-registry-DKWiYa6i.js.br +0 -0
- package/dist/client/assets/{community-panel-DyUUTirE.js → community-panel-JiOh829l.js} +1 -1
- package/dist/client/assets/community-panel-JiOh829l.js.br +0 -0
- package/dist/client/assets/{control-ws-C9XYFFfj.js → control-ws-yLgkhscU.js} +1 -1
- package/dist/client/assets/control-ws-yLgkhscU.js.br +0 -0
- package/dist/client/assets/{dialogs-C73Q7kRh.js → dialogs-DExVx25q.js} +1 -1
- package/dist/client/assets/dialogs-DExVx25q.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-BpAYQZti.js → doc-editor-ui-CbyajNKy.js} +1 -1
- package/dist/client/assets/doc-editor-ui-CbyajNKy.js.br +0 -0
- package/dist/client/assets/{feature-hint-DR9DbsF6.js → feature-hint-DgTIhWye.js} +1 -1
- package/dist/client/assets/feature-hint-DgTIhWye.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-CdEsX89N.js → first-run-checklist-DTdRfGmD.js} +1 -1
- package/dist/client/assets/first-run-checklist-DTdRfGmD.js.br +0 -0
- package/dist/client/assets/{hooks-panel-DjzkfX42.js → hooks-panel-CaEZNndU.js} +1 -1
- package/dist/client/assets/hooks-panel-CaEZNndU.js.br +0 -0
- package/dist/client/assets/{index-BbMMfZ-e.js → index-CsCIzYnc.js} +5 -5
- package/dist/client/assets/index-CsCIzYnc.js.br +0 -0
- package/dist/client/assets/{issues-panel-L44tTW8x.js → issues-panel-DC6QuTMT.js} +1 -1
- package/dist/client/assets/issues-panel-DC6QuTMT.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-BX3-5r1Z.js → lane-read-token-step-DIKcunI3.js} +1 -1
- package/dist/client/assets/lane-read-token-step-DIKcunI3.js.br +0 -0
- package/dist/client/assets/{menu-Dazd3nW4.js → menu-B0zH_ttc.js} +1 -1
- package/dist/client/assets/menu-B0zH_ttc.js.br +0 -0
- package/dist/client/assets/{modal-B4PM2625.js → modal-Blqoecg2.js} +1 -1
- package/dist/client/assets/modal-Blqoecg2.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-U4DkNVLl.js → my-prs-panel-BPAiG9R1.js} +1 -1
- package/dist/client/assets/my-prs-panel-BPAiG9R1.js.br +0 -0
- package/dist/client/assets/{nyan-cat-COn-mH4R.js → nyan-cat-BP8yrw3D.js} +1 -1
- package/dist/client/assets/nyan-cat-BP8yrw3D.js.br +0 -0
- package/dist/client/assets/{phone-shell-50_qMdWC.js → phone-shell-BLU0zhrd.js} +1 -1
- package/dist/client/assets/phone-shell-BLU0zhrd.js.br +0 -0
- package/dist/client/assets/{plan-face-hmsHFcdA.js → plan-face-BPobB1Lo.js} +1 -1
- package/dist/client/assets/plan-face-BPobB1Lo.js.br +0 -0
- package/dist/client/assets/{plan-render-ZZG0vbhY.js → plan-render-C5lxEWBl.js} +1 -1
- package/dist/client/assets/plan-render-C5lxEWBl.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-B5suDlYb.js → pr-queue-columns-CcdMFcBt.js} +1 -1
- package/dist/client/assets/pr-queue-columns-CcdMFcBt.js.br +0 -0
- package/dist/client/assets/{pr-status-icon-2dbYpTqp.js → pr-status-icon-D7rv3sS4.js} +1 -1
- package/dist/client/assets/pr-status-icon-D7rv3sS4.js.br +0 -0
- package/dist/client/assets/{radar-panel-BI1lBZDe.js → radar-panel-D5h01_Bn.js} +1 -1
- package/dist/client/assets/radar-panel-D5h01_Bn.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-Bf7mQo3-.js → repo-roots-adder-ME6scsNf.js} +1 -1
- package/dist/client/assets/repo-roots-adder-ME6scsNf.js.br +0 -0
- package/dist/client/assets/{resume-dialog-BA-hMjm5.js → resume-dialog-DKLEjjEN.js} +1 -1
- package/dist/client/assets/resume-dialog-DKLEjjEN.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-CkHzEJ3Y.js → review-queue-panel-RgttbaLn.js} +1 -1
- package/dist/client/assets/review-queue-panel-RgttbaLn.js.br +0 -0
- package/dist/client/assets/{session-actions-BNiEWwbs.js → session-actions-CcRSsbu2.js} +2 -2
- package/dist/client/assets/session-actions-CcRSsbu2.js.br +0 -0
- package/dist/client/assets/{session-row-BnV-B0fL.js → session-row-D15uVSu_.js} +1 -1
- package/dist/client/assets/session-row-D15uVSu_.js.br +0 -0
- package/dist/client/assets/{session-tick-DkL0Rymq.js → session-tick-BujhndlK.js} +1 -1
- package/dist/client/assets/session-tick-BujhndlK.js.br +0 -0
- package/dist/client/assets/{settings-panel-B_T0712G.js → settings-panel-9Dn5fb9d.js} +2 -2
- package/dist/client/assets/settings-panel-9Dn5fb9d.js.br +0 -0
- package/dist/client/assets/{setup-step-C6Me6J42.js → setup-step-DWDiLWhL.js} +1 -1
- package/dist/client/assets/setup-step-DWDiLWhL.js.br +0 -0
- package/dist/client/assets/{trace-panel-BudhU9Bv.js → trace-panel-5NH6yM4d.js} +1 -1
- package/dist/client/assets/trace-panel-5NH6yM4d.js.br +0 -0
- package/dist/client/assets/{usage-panel-DHoAftpA.js → usage-panel-DVYzxmFJ.js} +1 -1
- package/dist/client/assets/usage-panel-DVYzxmFJ.js.br +0 -0
- package/dist/client/assets/{your-day-tip-Cpzaxh1I.js → your-day-tip-_5L4i0k0.js} +1 -1
- package/dist/client/assets/your-day-tip-_5L4i0k0.js.br +0 -0
- package/dist/client/index.html +13 -13
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/agent-api-cli-BNz1cOp2.js +0 -1
- package/dist/chunks/config-store-BG2_KF9v.js +0 -1
- package/dist/chunks/kimi-CZSsNDJi.js +0 -1
- package/dist/chunks/settings-cli-DdSs9MOa.js +0 -1
- package/dist/chunks/watch-cli-CMxNbyZx.js +0 -484
- package/dist/client/assets/action-status-CgUlY1YC.js.br +0 -0
- package/dist/client/assets/agent-mark---dx0kxc.js.br +0 -0
- package/dist/client/assets/arena-panel-CUfSZv_I.js.br +0 -0
- package/dist/client/assets/benchmark-panel-BJeO8SUk.js.br +0 -0
- package/dist/client/assets/boards-view-BsiGwzeZ.js.br +0 -0
- package/dist/client/assets/button-DOiRqykb.js +0 -1
- package/dist/client/assets/button-DOiRqykb.js.br +0 -0
- package/dist/client/assets/card-registry-DdJYrnbX.js.br +0 -0
- package/dist/client/assets/community-panel-DyUUTirE.js.br +0 -0
- package/dist/client/assets/control-ws-C9XYFFfj.js.br +0 -0
- package/dist/client/assets/dialogs-C73Q7kRh.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-BpAYQZti.js.br +0 -0
- package/dist/client/assets/feature-hint-DR9DbsF6.js.br +0 -0
- package/dist/client/assets/first-run-checklist-CdEsX89N.js.br +0 -0
- package/dist/client/assets/hooks-panel-DjzkfX42.js.br +0 -0
- package/dist/client/assets/index-BbMMfZ-e.js.br +0 -0
- package/dist/client/assets/issues-panel-L44tTW8x.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-BX3-5r1Z.js.br +0 -0
- package/dist/client/assets/menu-Dazd3nW4.js.br +0 -0
- package/dist/client/assets/modal-B4PM2625.js.br +0 -0
- package/dist/client/assets/my-prs-panel-U4DkNVLl.js.br +0 -0
- package/dist/client/assets/nyan-cat-COn-mH4R.js.br +0 -0
- package/dist/client/assets/phone-shell-50_qMdWC.js.br +0 -0
- package/dist/client/assets/plan-face-hmsHFcdA.js.br +0 -0
- package/dist/client/assets/plan-render-ZZG0vbhY.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-B5suDlYb.js.br +0 -0
- package/dist/client/assets/pr-status-icon-2dbYpTqp.js.br +0 -0
- package/dist/client/assets/radar-panel-BI1lBZDe.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-Bf7mQo3-.js.br +0 -0
- package/dist/client/assets/resume-dialog-BA-hMjm5.js.br +0 -0
- package/dist/client/assets/review-queue-panel-CkHzEJ3Y.js.br +0 -0
- package/dist/client/assets/session-actions-BNiEWwbs.js.br +0 -0
- package/dist/client/assets/session-row-BnV-B0fL.js.br +0 -0
- package/dist/client/assets/session-tick-DkL0Rymq.js.br +0 -0
- package/dist/client/assets/settings-panel-B_T0712G.js.br +0 -0
- package/dist/client/assets/setup-step-C6Me6J42.js.br +0 -0
- package/dist/client/assets/trace-panel-BudhU9Bv.js.br +0 -0
- package/dist/client/assets/usage-panel-DHoAftpA.js.br +0 -0
- package/dist/client/assets/your-day-tip-Cpzaxh1I.js.br +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ClientMessage } from "./control-messages-
|
|
3
|
-
import { c as PanelActionRequest, l as packBridgeJsonSchemaText, p as REVIEW_ACTION_TYPES, t as PACK_DATA_MAX_BYTES } from "./pack-bridge-
|
|
1
|
+
import { bn as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-BvcMZ7BH.js";
|
|
2
|
+
import { t as ClientMessage } from "./control-messages-BZms3f5z.js";
|
|
3
|
+
import { c as PanelActionRequest, l as packBridgeJsonSchemaText, p as REVIEW_ACTION_TYPES, t as PACK_DATA_MAX_BYTES } from "./pack-bridge-BoiZXSUH.js";
|
|
4
4
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
5
|
-
import {
|
|
6
|
-
import { c as PackHeader, n as declaredPanels, o as readPackDir, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, u as packJsonSchemaText } from "./pack-files-
|
|
5
|
+
import { D as unknownPlaceholderMessage, d as packApproval, i as expandPlaceholders, p as packRuleErrors, y as prFlowsPacksOf } from "./pr-flows-core-BobD-dTi.js";
|
|
6
|
+
import { c as PackHeader, n as declaredPanels, o as readPackDir, s as PACK_FILE_NAME, t as PACKS_DIR_NAME, u as packJsonSchemaText } from "./pack-files-D-rDdLxB.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as InFlightReview, Qt as ReviewDraft, W as UnseenOutcome, Yt as QueuedReview, cr as STATES, gt as MyPr } from "./session-BvcMZ7BH.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
// shared/contracts/theme-palette.ts
|
|
4
4
|
var HexColor = z.string().regex(/^#[0-9a-fA-F]{6}$/, { error: (issue) => issue.input === void 0 ? "missing; a theme sets every color as #rrggbb" : `a color is #rrggbb, not ${JSON.stringify(issue.input)}` });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as REVIEW_ACTIONS_GRANT_TEXT, h as ThemePalette, i as PackPanelAct, n as PackBridgeTopic, r as PackName } from "./pack-bridge-
|
|
2
|
-
import {
|
|
3
|
-
import { r as withoutGlimmervoidSecrets } from "./spawn-env-
|
|
1
|
+
import { f as REVIEW_ACTIONS_GRANT_TEXT, h as ThemePalette, i as PackPanelAct, n as PackBridgeTopic, r as PackName } from "./pack-bridge-BoiZXSUH.js";
|
|
2
|
+
import { An as PrFlowPackRequires, Fn as PrFlowSourceCommand, Gn as prFlowRulesJsonSchema, Hn as RepoScope, Mn as PrFlowPrAction, On as PrFlowItemAction, xn as PackPrFlowRule } from "./session-BvcMZ7BH.js";
|
|
3
|
+
import { r as withoutGlimmervoidSecrets } from "./spawn-env-C28Mf5v_.js";
|
|
4
4
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
5
5
|
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
2
|
-
import { _ as decideHostAllowed, a as packReportText, g as readCappedBody, i as packCheckHasProblem, o as panelActionDecision, r as checkPack, s as panelActionsJsonSchemaText, t as packGuideText, u as packFileHeaders } from "./pack-agent-
|
|
2
|
+
import { _ as decideHostAllowed, a as packReportText, g as readCappedBody, i as packCheckHasProblem, o as panelActionDecision, r as checkPack, s as panelActionsJsonSchemaText, t as packGuideText, u as packFileHeaders } from "./pack-agent-BEsplgwO.js";
|
|
3
3
|
import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Kn as prFlowsOutputJsonSchemaText, cr as STATES, n as AGENT_REPLY_SCHEMAS } from "./session-BvcMZ7BH.js";
|
|
5
5
|
import { n as glimmervoidHomeDir } from "./config-path-core-qUZH9-0F.js";
|
|
6
6
|
import { a as examplePacksDir } from "./runtime-paths-YS6tWGDa.js";
|
|
7
|
-
import { l as packBridgeJsonSchemaText, m as THEME_STATE_NAMES, n as PackBridgeTopic, t as PACK_DATA_MAX_BYTES } from "./pack-bridge-
|
|
8
|
-
import { a as readApprovedPackFingerprints, o as readPackDir, u as packJsonSchemaText } from "./pack-files-
|
|
7
|
+
import { l as packBridgeJsonSchemaText, m as THEME_STATE_NAMES, n as PackBridgeTopic, t as PACK_DATA_MAX_BYTES } from "./pack-bridge-BoiZXSUH.js";
|
|
8
|
+
import { a as readApprovedPackFingerprints, o as readPackDir, u as packJsonSchemaText } from "./pack-files-D-rDdLxB.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { z } from "zod";
|
|
@@ -559,7 +559,7 @@ async function runList() {
|
|
|
559
559
|
process.stderr.write("glimmervoid packs list reads the running Glimmervoid, so it works inside a Glimmervoid session; the operator sees the same list in Settings, Packs\n");
|
|
560
560
|
return 1;
|
|
561
561
|
}
|
|
562
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
562
|
+
const { askAgentApi } = await import("./agent-api-cli-BjMX0BWV.js");
|
|
563
563
|
const reply = AGENT_REPLY_SCHEMAS.packs.safeParse(await askAgentApi("packs", { command: "list" }));
|
|
564
564
|
if (!reply.success) {
|
|
565
565
|
process.stderr.write("glimmervoid packs list: Glimmervoid did not answer with a pack list\n");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as resolveConfigPath } from "./config-store-
|
|
2
|
-
import { a as createPairingsStore, c as defaultSeenPath, n as normalizeRemoteConfig, o as createSeenStore, s as defaultPairingsPath } from "./remote-config-
|
|
1
|
+
import { c as resolveConfigPath } from "./config-store-TJra5h8r.js";
|
|
2
|
+
import { a as createPairingsStore, c as defaultSeenPath, n as normalizeRemoteConfig, o as createSeenStore, s as defaultPairingsPath } from "./remote-config-CldHW_6m.js";
|
|
3
3
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
// server/text-format.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Rn as PrFlowsState, Sn as PrActionReportBody, bn as PR_FLOW_PLACEHOLDERS_BY_KIND, g as AgentSettingsReply, vn as PR_ACTION_REPORT_URL_ENV, yn as PR_ACTION_TOKEN_ENV } from "./session-BvcMZ7BH.js";
|
|
2
2
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
3
3
|
import { c as runCommandSafely } from "./child-process-safe-NR7PjPcL.js";
|
|
4
4
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-qUZH9-0F.js";
|
|
5
5
|
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
6
|
-
import {
|
|
7
|
-
import { a as readApprovedPackFingerprints, o as readPackDir, r as packDirsUnder } from "./pack-files-
|
|
8
|
-
import { t as createPrFlowsExternal } from "./pr-flows-external-
|
|
6
|
+
import { D as unknownPlaceholderMessage, _ as prFlowSetup, f as packPathsOf, i as expandPlaceholders, r as commandFingerprint, v as prFlowsConfig, x as scopedToRepo } from "./pr-flows-core-BobD-dTi.js";
|
|
7
|
+
import { a as readApprovedPackFingerprints, o as readPackDir, r as packDirsUnder } from "./pack-files-D-rDdLxB.js";
|
|
8
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-C4aO8Cz-.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
@@ -122,7 +122,7 @@ async function readServerConfig(askSetting) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
async function readConfigFromServer() {
|
|
125
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
125
|
+
const { askAgentApi } = await import("./agent-api-cli-BjMX0BWV.js");
|
|
126
126
|
return readServerConfig((settingPath) => askAgentApi("settings", {
|
|
127
127
|
command: "get",
|
|
128
128
|
path: settingPath
|
|
@@ -268,7 +268,7 @@ async function runPrActionReport({ outcome, message, env }, io) {
|
|
|
268
268
|
io.writeError("--outcome must be started, done, failed or refused, and --message at most 500 characters\n");
|
|
269
269
|
return 1;
|
|
270
270
|
}
|
|
271
|
-
const { postToAgentIngress } = await import("./agent-api-cli-
|
|
271
|
+
const { postToAgentIngress } = await import("./agent-api-cli-BjMX0BWV.js");
|
|
272
272
|
const reply = await postToAgentIngress({
|
|
273
273
|
endpoint: new URL(reportUrl),
|
|
274
274
|
token,
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fn as PrFlowSourceCommand, Ln as PrFlowsSettings, Mn as PrFlowPrAction, Nn as PrFlowRule, Tn as PrFlowCommand, bn as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-BvcMZ7BH.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
|
+
// shared/state-transitions.ts
|
|
5
|
+
function defineTransitions(table) {
|
|
6
|
+
for (const moves of Object.values(table)) Object.freeze(moves);
|
|
7
|
+
const frozenTable = Object.freeze(table);
|
|
8
|
+
return { next: (from, event) => frozenTable[from][event] ?? null };
|
|
9
|
+
}
|
|
4
10
|
// server/github/core/pr-flows-core.ts
|
|
5
11
|
var MERGE_LINE_DISTANCE = 3;
|
|
6
12
|
var BODY_PREFIX_CHARACTERS = 120;
|
|
@@ -181,7 +187,7 @@ function withOnlyOpenPrs(state, openPrKeys) {
|
|
|
181
187
|
ruleRunsByPr: Object.fromEntries(Object.entries(state.ruleRunsByPr).filter(isOpen)),
|
|
182
188
|
prActionRunByPr: Object.fromEntries(Object.entries(state.prActionRunByPr).flatMap(([prKey, runsByAction]) => {
|
|
183
189
|
if (openPrKeys.has(prKey)) return [[prKey, runsByAction]];
|
|
184
|
-
const liveRuns = Object.entries(runsByAction).filter(([, run]) => run
|
|
190
|
+
const liveRuns = Object.entries(runsByAction).filter(([, run]) => isLiveRun(run));
|
|
185
191
|
return liveRuns.length === 0 ? [] : [[prKey, Object.fromEntries(liveRuns)]];
|
|
186
192
|
}))
|
|
187
193
|
};
|
|
@@ -484,27 +490,72 @@ function withPrActionRun(state, prKey, run) {
|
|
|
484
490
|
}
|
|
485
491
|
};
|
|
486
492
|
}
|
|
487
|
-
|
|
488
|
-
|
|
493
|
+
var PR_ACTION_RUN_EVENTS = [
|
|
494
|
+
"done",
|
|
495
|
+
"started",
|
|
496
|
+
"refused",
|
|
497
|
+
"failed",
|
|
498
|
+
"server_restarted"
|
|
499
|
+
];
|
|
500
|
+
var PR_ACTION_RUN_MOVES = defineTransitions({
|
|
501
|
+
running: {
|
|
502
|
+
started: "started",
|
|
503
|
+
done: "done",
|
|
504
|
+
failed: "failed",
|
|
505
|
+
refused: "refused",
|
|
506
|
+
server_restarted: "interrupted"
|
|
507
|
+
},
|
|
508
|
+
started: {
|
|
509
|
+
started: "started",
|
|
510
|
+
done: "done",
|
|
511
|
+
failed: "failed",
|
|
512
|
+
refused: "refused"
|
|
513
|
+
},
|
|
514
|
+
done: {},
|
|
515
|
+
failed: {},
|
|
516
|
+
refused: {},
|
|
517
|
+
interrupted: {}
|
|
518
|
+
});
|
|
519
|
+
function newPrActionRun(fields) {
|
|
520
|
+
return {
|
|
521
|
+
...fields,
|
|
522
|
+
finishedAt: null,
|
|
523
|
+
state: "running",
|
|
524
|
+
message: ""
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
function isCommandStillRunning(run) {
|
|
528
|
+
return PR_ACTION_RUN_MOVES.next(run.state, "server_restarted") !== null;
|
|
529
|
+
}
|
|
530
|
+
function isLiveRun(run) {
|
|
531
|
+
return PR_ACTION_RUN_EVENTS.some((event) => PR_ACTION_RUN_MOVES.next(run.state, event) !== null);
|
|
532
|
+
}
|
|
533
|
+
function runAfter(run, event, message, nowMs) {
|
|
534
|
+
const state = PR_ACTION_RUN_MOVES.next(run.state, event);
|
|
535
|
+
if (state === null) return null;
|
|
536
|
+
if (isLiveRun({ state })) return {
|
|
489
537
|
...run,
|
|
490
|
-
state
|
|
491
|
-
message
|
|
538
|
+
state,
|
|
539
|
+
message
|
|
492
540
|
};
|
|
493
541
|
return {
|
|
494
542
|
...run,
|
|
495
|
-
state
|
|
496
|
-
message
|
|
543
|
+
state,
|
|
544
|
+
message,
|
|
497
545
|
finishedAt: nowMs,
|
|
498
546
|
reportToken: null
|
|
499
547
|
};
|
|
500
548
|
}
|
|
549
|
+
function prActionRunAfterExit(run, output, nowMs) {
|
|
550
|
+
return runAfter(run, output.outcome, output.message, nowMs);
|
|
551
|
+
}
|
|
501
552
|
function isSameToken(presented, expected) {
|
|
502
553
|
const presentedBytes = Buffer.from(presented, "utf8");
|
|
503
554
|
const expectedBytes = Buffer.from(expected, "utf8");
|
|
504
555
|
return presentedBytes.length === expectedBytes.length && crypto.timingSafeEqual(presentedBytes, expectedBytes);
|
|
505
556
|
}
|
|
506
557
|
function acceptReport(run, presentedToken, body, nowMs) {
|
|
507
|
-
if (run
|
|
558
|
+
if (!isLiveRun(run)) return {
|
|
508
559
|
ok: false,
|
|
509
560
|
status: 409
|
|
510
561
|
};
|
|
@@ -512,33 +563,24 @@ function acceptReport(run, presentedToken, body, nowMs) {
|
|
|
512
563
|
ok: false,
|
|
513
564
|
status: 401
|
|
514
565
|
};
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
message: body.message ?? run.message
|
|
521
|
-
}
|
|
566
|
+
const reportedMessage = body.message ?? (body.outcome === "started" ? run.message : "");
|
|
567
|
+
const reported = runAfter(run, body.outcome, reportedMessage, nowMs);
|
|
568
|
+
if (!reported) return {
|
|
569
|
+
ok: false,
|
|
570
|
+
status: 409
|
|
522
571
|
};
|
|
523
572
|
return {
|
|
524
573
|
ok: true,
|
|
525
|
-
run:
|
|
526
|
-
...run,
|
|
527
|
-
state: body.outcome,
|
|
528
|
-
message: body.message ?? "",
|
|
529
|
-
finishedAt: nowMs,
|
|
530
|
-
reportToken: null
|
|
531
|
-
}
|
|
574
|
+
run: reported
|
|
532
575
|
};
|
|
533
576
|
}
|
|
534
577
|
var INTERRUPTED_MESSAGE = "Glimmervoid restarted";
|
|
535
578
|
function interruptedOnLoad(run) {
|
|
536
|
-
|
|
579
|
+
const interrupted = runAfter(run, "server_restarted", INTERRUPTED_MESSAGE, run.finishedAt ?? run.startedAt);
|
|
580
|
+
if (!interrupted) return run;
|
|
537
581
|
return {
|
|
538
|
-
...
|
|
539
|
-
|
|
540
|
-
message: INTERRUPTED_MESSAGE,
|
|
541
|
-
reportToken: null
|
|
582
|
+
...interrupted,
|
|
583
|
+
finishedAt: run.finishedAt
|
|
542
584
|
};
|
|
543
585
|
}
|
|
544
586
|
function withInterruptedRuns(state) {
|
|
@@ -550,7 +592,7 @@ function withInterruptedRuns(state) {
|
|
|
550
592
|
}
|
|
551
593
|
function visibleRun(run, pr) {
|
|
552
594
|
if (!run) return null;
|
|
553
|
-
if (!(run
|
|
595
|
+
if (!isLiveRun(run) && run.head !== pr.headRefOid) return null;
|
|
554
596
|
return {
|
|
555
597
|
actionId: run.actionId,
|
|
556
598
|
label: run.label,
|
|
@@ -717,4 +759,4 @@ function fixLocallyPrompt(prUrl, item, fence) {
|
|
|
717
759
|
"Fix it if it is right, then commit. If it is wrong, say why instead of changing the code."
|
|
718
760
|
].join("\n\n");
|
|
719
761
|
}
|
|
720
|
-
export {
|
|
762
|
+
export { withInterruptedRuns as A, sourceCandidates as C, unknownPlaceholderMessage as D, threadCandidates as E, defineTransitions as F, withPrActionRun as M, withReopened as N, visibleRun as O, withRuleRun as P, shouldTellBranchMoved as S, teammateThreadItems as T, prFlowSetup as _, fixLocallyPrompt as a, savedRuleFor as b, itemLocation as c, packApproval as d, packPathsOf as f, prActionRunAfterExit as g, prActionPlaceholderValues as h, expandPlaceholders as i, withOnlyOpenPrs as j, withHandled as k, mergeItems as l, plannedActions as m, branchMovedNote as n, flaggingReviewers as o, packRuleErrors as p, commandFingerprint as r, isCommandStillRunning as s, acceptReport as t, newPrActionRun as u, prFlowsConfig as v, sourcePlaceholderValues as w, scopedToRepo as x, prFlowsPacksOf as y };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as runCommandSafely } from "./child-process-safe-NR7PjPcL.js";
|
|
2
|
-
import { r as withoutGlimmervoidSecrets } from "./spawn-env-
|
|
3
|
-
import {
|
|
2
|
+
import { r as withoutGlimmervoidSecrets } from "./spawn-env-C28Mf5v_.js";
|
|
3
|
+
import { In as PrFlowSourceOutput, Un as ReportedPrFlowActionOutcome } from "./session-BvcMZ7BH.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
5
|
-
import {
|
|
5
|
+
import { D as unknownPlaceholderMessage, h as prActionPlaceholderValues, i as expandPlaceholders, w as sourcePlaceholderValues } from "./pr-flows-core-BobD-dTi.js";
|
|
6
6
|
// server/github/pr-flows-external.ts
|
|
7
7
|
var OUTPUT_MAX_BYTES = 1048576;
|
|
8
8
|
var ACTION_OUTPUT_MAX_BYTES = 67108864;
|
|
@@ -3,7 +3,7 @@ import { n as equalsIgnoringCaseOnWindows } from "./paths-C2u2R_6l.js";
|
|
|
3
3
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
4
4
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-BkbEyRoH.js";
|
|
5
5
|
import { a as unrefTimer, i as DEFAULT_TIMER_FNS, t as canonicalizePath } from "./canonical-paths-tdQPG3Kv.js";
|
|
6
|
-
import { o as glimmervoidHomeDir } from "./config-store-
|
|
6
|
+
import { o as glimmervoidHomeDir } from "./config-store-TJra5h8r.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import crypto from "node:crypto";
|
|
@@ -1568,6 +1568,14 @@ function sparseBoardReply(body) {
|
|
|
1568
1568
|
board: withoutDefaults(Board, board.data)
|
|
1569
1569
|
} : body;
|
|
1570
1570
|
}
|
|
1571
|
+
// shared/contracts/session.ts
|
|
1572
|
+
var MergeStatus = z.enum([
|
|
1573
|
+
"none",
|
|
1574
|
+
"pending-review",
|
|
1575
|
+
"merging",
|
|
1576
|
+
"parked",
|
|
1577
|
+
"merged"
|
|
1578
|
+
]);
|
|
1571
1579
|
var SESSION_NAME_PATTERN = /^[a-zA-Z0-9_\-. ()]{1,64}$/;
|
|
1572
1580
|
var SESSION_NAME_RULE_TEXT = "Session name may only contain letters, numbers, spaces, dashes, dots, underscores, and parentheses (max 64 chars)";
|
|
1573
1581
|
var TASK_TITLE_CONTROL_CHARACTERS = /[\x00-\x1f\x7f-\x9f]/;
|
|
@@ -1633,7 +1641,7 @@ var SessionSnapshot = z.object({
|
|
|
1633
1641
|
awaitingBackgroundTasks: z.boolean(),
|
|
1634
1642
|
pendingPromptKind: z.string().nullable(),
|
|
1635
1643
|
hasPlan: z.boolean().default(false),
|
|
1636
|
-
mergeStatus:
|
|
1644
|
+
mergeStatus: MergeStatus.nullable(),
|
|
1637
1645
|
mergeReason: z.string().nullable(),
|
|
1638
1646
|
worktreeNotice: z.string().nullable(),
|
|
1639
1647
|
failureReason: z.string().nullable().optional(),
|
|
@@ -1908,4 +1916,4 @@ var AGENT_REPLY_SCHEMAS = Object.freeze({
|
|
|
1908
1916
|
limits: z.union([AgentLimitsReply, AgentRefusal]),
|
|
1909
1917
|
answer: z.union([AgentOkReply, AgentRefusal])
|
|
1910
1918
|
});
|
|
1911
|
-
export {
|
|
1919
|
+
export { BoardSummary as $, repoParts as $n, ReviewFinding as $t, SESSION_DOC_BODY_CAP_BYTES as A, PrFlowPackRequires as An, MyPrStage as At, SshSignReply as B, PrThreadReplyResponse as Bn, DECIDING_REVIEW_STATES as Bt, CONVERSATION_TOOL_RESULT_HOOK_EVENT as C, PrActionRunRequest as Cn, MyPrMergeMethod as Ct, REQUEST_USER_INPUT_TOOL_NAME as D, PrFlowDisposeResult as Dn, MyPrMergeWhenReadyRequest as Dt, MergeStatus as E, PrFlowDisposeRequest as En, MyPrMergeStateResponse as Et, SIGN_URL_ENV as F, PrFlowSourceCommand as Fn, MyPrsStatus as Ft, BOARD_DOC_CAP_BYTES as G, prFlowRulesJsonSchema as Gn, InFlightReview as Gt, TASK_TITLE_CONTROL_CHARACTERS as H, RepoScope as Hn, FindingSeverity as Ht, SSH_SIGN_BODY_CAP_BYTES as I, PrFlowSourceOutput as In, SessionPrLinks as It, BOARD_PAGE_VIEWER_PARAM as J, HEX_SHA_RE as Jn, PrDetail as Jt, BOARD_MEDIA_MAX_EDGE_PX as K, prFlowsOutputJsonSchemaText as Kn, PostedReviewEvent as Kt, SessionDoc as L, PrFlowsSettings as Ln, pullRequestKeyFormat as Lt, SESSION_NAME_PATTERN as M, PrFlowPrAction as Mn, MyPrThreadsResponse as Mt, SESSION_NAME_RULE_TEXT as N, PrFlowRule as Nn, MyPrsSnapshot as Nt, RefinedTaskTitle as O, PrFlowItemAction as On, MyPrMergeWhenReadyResult as Ot, SHOWN_FILE_CAP_BYTES as P, PrFlowSaveRuleRequest as Pn, MyPrsState as Pt, BoardReview as Q, REPO_SLUG_RE as Qn, ReviewDraft as Qt, SessionSnapshot as R, PrFlowsState as Rn, repositoryName as Rt, CONVERSATION_PERMISSION_HOOK_EVENT as S, PrActionReportBody as Sn, MyPrLaneEntry as St, ConversationQuestion as T, PrFlowCommand as Tn, MyPrMergeResult as Tt, TaskTitle as U, ReportedPrFlowActionOutcome as Un, GithubReviewDecision as Ut, SshSignRequest as V, PrThreadUnresolveResponse as Vn, EarlierReview as Vt, UnseenOutcome as W, prActionReportPath as Wn, GithubReviewState as Wt, Board as X, GH_SEGMENT as Xn, ReviewChecksState as Xt, BOX_CHANGES as Y, shortSha as Yn, QueuedReview as Yt, BoardRecord as Z, NODE_ID_RE as Zn, ReviewComment as Zt, AgentSettingsRequest as _, PR_ACTION_REPORT_ROUTE as _n, MyPrAutoRebase as _t, AgentAnswerRequest as a, TeamReviewCompareFiles as an, KILLABLE_STATES as ar, Note as at, COHERENCE_HOOKS_INACTIVE as b, PR_FLOW_PLACEHOLDERS_BY_KIND as bn, MyPrKeepMergeableRequest as bt, AgentCloseRequest as c, TeamReviewStatus as cn, STATES as cr, WHITEBOARD_ASSET_ROUTE as ct, AgentPacksRequest as d, TeamReviewThreadsRepository as dn, WhiteboardAgentRequest as dt, ReviewResult as en, GithubPollingRefreshRequest as er, Box as et, AgentPullRequestRequest as f, canApproveAfterComment as fn, Wire as ft, AgentSettingsReply as g, PR_ACTION_REPORT_BODY_CAP_BYTES as gn, MyPr as gt, AgentSendRequest as h, hasStandingViewerApproval as hn, LinkedPr as ht, ASK_USER_QUESTION_TOOL_NAME as i, TeamReviewActionResult as in, BADGE_LABELS as ir, Frame as it, SESSION_DOC_PATH_MAX_CHARS as j, PrFlowPendingApproval as jn, MyPrThreadNode as jt, SESSION_COMMANDS as k, PrFlowItemRequest as kn, MyPrSearchNode as kt, AgentEditRequest as l, TeamReviewThreadCommentsResponse as ln, WHITEBOARD_LIMITS as lt, AgentReviewsRequest as m, hasRequiredActionHead as mn, sparseBoardReply as mt, AGENT_REPLY_SCHEMAS as n, ReviewVerdict as nn, GithubPrsFreshness as nr, BoxMedia as nt, AgentAttentionRequest as o, TeamReviewResolveResponse as on, MERGEABLE_LIVE_STATES as or, Op as ot, AgentReadRequest as p, decisionAsIfApprovalRequired as pn, sparseBoardRecord as pt, BOARD_PAGE_ESCAPE_MESSAGE as q, FULL_SHA_RE as qn, PostingPlan as qt, AGENT_URL_ENV as r, TeamReviewActionRequest as rn, githubPollingShape as rr, Element as rt, AgentCheckoutRequest as s, TeamReviewStateEntry as sn, RESTARTABLE_STATES as sr, STEP_STATUSES as st, AGENT_API_VERBS as t, ReviewThreadId as tn, GithubPollingRefreshResult as tr, BoxLine as tt, AgentLimitsReply as u, TeamReviewThreadResult as un, WhiteboardAgentReply as ut, AgentSpawnRequest as v, PR_ACTION_REPORT_URL_ENV as vn, MyPrCheckContext as vt, CoherenceHooksState as w, PrFlowApproveRequest as wn, MyPrMergeRequest as wt, CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS as x, PackPrFlowRule as xn, MyPrKeepMergeableResult as xt, AgentWhyRequest as y, PR_ACTION_TOKEN_ENV as yn, MyPrCheckContextsResponse as yt, SessionState as z, PrFlowsStatus as zn, CommitSha as zt };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runParsedSettingsCli } from "./settings-cli-BnFILc3V.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
2
|
-
import { r as BrowserConfig } from "./config-
|
|
3
|
-
import { g as AgentSettingsReply } from "./session-
|
|
4
|
-
import { L as valueAtPath, M as parsePosthogProjectSelection, N as scoreSettingsSearch, O as cloneValue, P as setValueAtPath, S as isSettingAvailable, gt as readEnvSecrets, ht as ENV_SECRET_BINDINGS, k as deleteValueAtPath, l as saveConfigFileOnce, s as loadConfigFile, t as IS_EXPERIMENTAL_BUILD, u as validateConfig, vt as withEnvSecrets, z as SETTINGS_REGISTRY } from "./config-store-
|
|
2
|
+
import { r as BrowserConfig } from "./config-CkV0C-0V.js";
|
|
3
|
+
import { g as AgentSettingsReply } from "./session-BvcMZ7BH.js";
|
|
4
|
+
import { L as valueAtPath, M as parsePosthogProjectSelection, N as scoreSettingsSearch, O as cloneValue, P as setValueAtPath, S as isSettingAvailable, gt as readEnvSecrets, ht as ENV_SECRET_BINDINGS, k as deleteValueAtPath, l as saveConfigFileOnce, s as loadConfigFile, t as IS_EXPERIMENTAL_BUILD, u as validateConfig, vt as withEnvSecrets, z as SETTINGS_REGISTRY } from "./config-store-TJra5h8r.js";
|
|
5
5
|
import { r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
6
6
|
import { t as renderTable } from "./ascii-figure-core-BegIbndz.js";
|
|
7
7
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-qUZH9-0F.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 availableSettings } from "./settings-readout-core-
|
|
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 availableSettings } from "./settings-readout-core-CvAedAf3.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
// server/settings-cli.ts
|
|
@@ -321,7 +321,7 @@ function runParsedSettingsCommand(parsed, io) {
|
|
|
321
321
|
async function runParsedSettingsCli(parsed, io = processIo()) {
|
|
322
322
|
const serverRequest = settingsRequestForServer(parsed, process.env);
|
|
323
323
|
if (!serverRequest) return runParsedSettingsCommand(parsed, io);
|
|
324
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
324
|
+
const { askAgentApi } = await import("./agent-api-cli-BjMX0BWV.js");
|
|
325
325
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
326
326
|
ok: false,
|
|
327
327
|
error: errorMessage(error)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as AgentSettingsRequest } from "./session-
|
|
2
|
-
import { A as displayText, D as SETTINGS_INDEX, F as settingsGroupOf, I as settingsOf, L as valueAtPath, O as cloneValue, R as FILE_ONLY_GROUPS, S as isSettingAvailable, gt as readEnvSecrets, j as hasScaledUnit, z as SETTINGS_REGISTRY } from "./config-store-
|
|
1
|
+
import { _ as AgentSettingsRequest } from "./session-BvcMZ7BH.js";
|
|
2
|
+
import { A as displayText, D as SETTINGS_INDEX, F as settingsGroupOf, I as settingsOf, L as valueAtPath, O as cloneValue, R as FILE_ONLY_GROUPS, S as isSettingAvailable, gt as readEnvSecrets, j as hasScaledUnit, z as SETTINGS_REGISTRY } from "./config-store-TJra5h8r.js";
|
|
3
3
|
import { t as renderTable } from "./ascii-figure-core-BegIbndz.js";
|
|
4
4
|
// server/core/settings-readout-core.ts
|
|
5
5
|
var VALUE_COLUMN_WIDTH = 40;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as SIGN_URL_ENV, r as AGENT_URL_ENV } from "./session-BvcMZ7BH.js";
|
|
2
2
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-ne0rkTgG.js";
|
|
3
3
|
import { r as MCP_CREDENTIAL_ENV } from "./agent-config-BJVJpVzX.js";
|
|
4
4
|
import { o as SANE_YOLO_PATH_ENV, s as saneYoloEnv } from "./sane-yolo-BJM6ju1w.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as spawn, r as execFileAsync } from "./child-process-safe-NR7PjPcL.js";
|
|
2
|
-
import { n as postToAgentIngress } from "./agent-api-cli-
|
|
2
|
+
import { n as postToAgentIngress } from "./agent-api-cli-gDkCS2Sc.js";
|
|
3
3
|
import { l as parseSshPublicKey } from "./ssh-signing-core-C7Dohjcn.js";
|
|
4
4
|
import { t as isLoopbackHostname } from "./loopback-hosts-CpQsUSmU.js";
|
|
5
|
-
import {
|
|
5
|
+
import { B as SshSignReply, F as SIGN_URL_ENV } from "./session-BvcMZ7BH.js";
|
|
6
6
|
import { r as errorMessage } from "./text-BDF4aFhQ.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|