glimmervoid 0.52.3-next.808 → 0.52.3-next.809
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-Bq3sVA-7.js → adapters-Bg-l7NBf.js} +7 -7
- package/dist/chunks/{adapters-Cif1e_fP.js → adapters-CegV3T42.js} +1 -1
- package/dist/chunks/agent-api-cli-BNz1cOp2.js +1 -0
- package/dist/chunks/{agent-api-cli-B1Lm41jZ.js → agent-api-cli-BkLD2K18.js} +3 -8
- package/dist/chunks/{agent-api-core-CmJmNXHY.js → agent-api-core-CADmSdvT.js} +3 -3
- package/dist/chunks/{agent-setup-cli-BvyJ7W3D.js → agent-setup-cli-D7XCboR8.js} +1 -1
- package/dist/chunks/{config-hcKmUJ2t.js → config-CdUCPp52.js} +2 -2
- package/dist/chunks/config-store-BG2_KF9v.js +1 -0
- package/dist/chunks/{config-store-Dzq01hvT.js → config-store-RJTZlSL9.js} +3 -3
- package/dist/chunks/{control-messages-D80GziBN.js → control-messages-Cx_1p9iz.js} +2 -28
- package/dist/chunks/{grok-BfCsc-Ug.js → grok-DA9Dmmu3.js} +1 -1
- package/dist/chunks/{host-cli-DzPkkY1z.js → host-cli-CbCKHk5C.js} +3 -3
- package/dist/chunks/{host-registry-core-BF59C8CL.js → host-registry-core-Cj9x_2Yr.js} +1 -1
- package/dist/chunks/kimi-CZSsNDJi.js +1 -0
- package/dist/chunks/{kimi-DjqiEGA_.js → kimi-Ck2t9UVT.js} +2 -2
- package/dist/chunks/{main-DDeTdHQp.js → main-BDFQ_0lM.js} +93 -69
- package/dist/chunks/{pack-agent-Bh94_6ag.js → pack-agent-D9TcEpR3.js} +5 -5
- package/dist/chunks/{pack-bridge-DEQjMXc8.js → pack-bridge-BKP_4o4G.js} +1 -1
- package/dist/chunks/{pack-files-hCPnBVIX.js → pack-files-Cquc-WhV.js} +3 -3
- package/dist/chunks/{packs-cli-DGmNq9PU.js → packs-cli-B8AP2zKu.js} +5 -5
- package/dist/chunks/{pair-cli-B47gQfRT.js → pair-cli-DJWfqOj3.js} +2 -2
- package/dist/chunks/{pr-flows-cli-CVCoQqzM.js → pr-flows-cli-NUyOxO9a.js} +6 -6
- package/dist/chunks/{pr-flows-core-DFjQtTGH.js → pr-flows-core-C5EdQcdl.js} +1 -1
- package/dist/chunks/{pr-flows-external-RllLTLIH.js → pr-flows-external-Bwwtnh-u.js} +3 -3
- package/dist/chunks/{remote-config-Bcr18Kia.js → remote-config-BxXgPLrF.js} +1 -1
- package/dist/chunks/{session-Zcs0sNth.js → session-C0cPFaQs.js} +4 -37
- package/dist/chunks/{settings-cli-BXjVMoJr.js → settings-cli-Ce4-Yr_8.js} +5 -5
- package/dist/chunks/settings-cli-DdSs9MOa.js +1 -0
- package/dist/chunks/{settings-readout-core-BbKW3i3D.js → settings-readout-core-O6-uLAi3.js} +2 -2
- package/dist/chunks/{spawn-env--9LX1EW5.js → spawn-env-CapiuFtq.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-B-O715JD.js → ssh-sign-cli-zx7cdsL_.js} +2 -2
- package/dist/chunks/{watch-cli-lERa_dWO.js → watch-cli-CMxNbyZx.js} +1 -1
- package/dist/chunks/{watchee-settings-1Kt5GcHv.js → watchee-settings-CjkenTD8.js} +3 -3
- package/dist/chunks/{whiteboard-svg-core-CJIeBPHQ.js → whiteboard-svg-core-CFm2oj-T.js} +58 -347
- package/dist/client/assets/{action-status-Wfjulygh.js → action-status-CgUlY1YC.js} +1 -1
- package/dist/client/assets/action-status-CgUlY1YC.js.br +0 -0
- package/dist/client/assets/{agent-mark-DpH0TP-a.js → agent-mark-THy-kVQg.js} +1 -1
- package/dist/client/assets/agent-mark-THy-kVQg.js.br +0 -0
- package/dist/client/assets/{arena-panel-Cw0kL5lK.js → arena-panel-HS-Ic5pF.js} +2 -2
- package/dist/client/assets/arena-panel-HS-Ic5pF.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-DypGRaD3.js → benchmark-panel-DvYTVuxO.js} +1 -1
- package/dist/client/assets/benchmark-panel-DvYTVuxO.js.br +0 -0
- package/dist/client/assets/boards-view-CLz0huLQ.js +2 -0
- package/dist/client/assets/boards-view-CLz0huLQ.js.br +0 -0
- package/dist/client/assets/boards-view-DKK7CYMF.css +1 -0
- package/dist/client/assets/boards-view-DKK7CYMF.css.br +0 -0
- package/dist/client/assets/button-DOiRqykb.js +1 -0
- package/dist/client/assets/button-DOiRqykb.js.br +0 -0
- package/dist/client/assets/{card-actions-DAfSTpjg.js → card-actions-D7SrqW9f.js} +1 -1
- package/dist/client/assets/{card-registry-InnaVlZU.js → card-registry-DdJYrnbX.js} +1 -1
- package/dist/client/assets/card-registry-DdJYrnbX.js.br +0 -0
- package/dist/client/assets/{community-panel-BLM9Uqfj.js → community-panel-C1ZnZmyC.js} +1 -1
- package/dist/client/assets/community-panel-C1ZnZmyC.js.br +0 -0
- package/dist/client/assets/{control-ws-BDnpduaw.js → control-ws-C9XYFFfj.js} +1 -1
- package/dist/client/assets/control-ws-C9XYFFfj.js.br +0 -0
- package/dist/client/assets/{dialogs-BUI7tlXn.js → dialogs-CFFU4wdM.js} +1 -1
- package/dist/client/assets/dialogs-CFFU4wdM.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-Gje7jsdj.js → doc-editor-ui-B2minZMx.js} +1 -1
- package/dist/client/assets/doc-editor-ui-B2minZMx.js.br +0 -0
- package/dist/client/assets/{feature-hint-SPeLuS-9.js → feature-hint-CY5bwdoa.js} +1 -1
- package/dist/client/assets/feature-hint-CY5bwdoa.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-B1XKdmHg.js → first-run-checklist-Cve6sTAe.js} +1 -1
- package/dist/client/assets/first-run-checklist-Cve6sTAe.js.br +0 -0
- package/dist/client/assets/{hooks-panel-DkJzCECb.js → hooks-panel-C2gUg-Tf.js} +1 -1
- package/dist/client/assets/hooks-panel-C2gUg-Tf.js.br +0 -0
- package/dist/client/assets/{index-c2fCCvV0.js → index-CoTWg1Fo.js} +5 -5
- package/dist/client/assets/index-CoTWg1Fo.js.br +0 -0
- package/dist/client/assets/{issues-panel-BHn7qfvQ.js → issues-panel-DaFkHMzP.js} +1 -1
- package/dist/client/assets/issues-panel-DaFkHMzP.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-WuVBGyYu.js → lane-read-token-step-C_S545ce.js} +1 -1
- package/dist/client/assets/lane-read-token-step-C_S545ce.js.br +0 -0
- package/dist/client/assets/layout-worker-Cz085QBZ.js +113 -0
- package/dist/client/assets/layout-worker-Cz085QBZ.js.br +0 -0
- package/dist/client/assets/{menu-CSn2J4Mi.js → menu-Dazd3nW4.js} +1 -1
- package/dist/client/assets/menu-Dazd3nW4.js.br +0 -0
- package/dist/client/assets/{modal-D5goJav_.js → modal-B4PM2625.js} +1 -1
- package/dist/client/assets/modal-B4PM2625.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-nYYEGzil.js → my-prs-panel-CPRpiJiG.js} +1 -1
- package/dist/client/assets/my-prs-panel-CPRpiJiG.js.br +0 -0
- package/dist/client/assets/{nyan-cat-B0uGcp81.js → nyan-cat-BTHG0UUv.js} +1 -1
- package/dist/client/assets/nyan-cat-BTHG0UUv.js.br +0 -0
- package/dist/client/assets/{phone-shell-DeC9PKSZ.js → phone-shell-C43cJPVc.js} +1 -1
- package/dist/client/assets/phone-shell-C43cJPVc.js.br +0 -0
- package/dist/client/assets/{plan-face-BTzIvCh6.js → plan-face-CNBCZxLX.js} +1 -1
- package/dist/client/assets/plan-face-CNBCZxLX.js.br +0 -0
- package/dist/client/assets/{plan-render-Du-jT2t6.js → plan-render-LqcxVigZ.js} +1 -1
- package/dist/client/assets/plan-render-LqcxVigZ.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-CBpQKZcq.js → pr-queue-columns-CzkapYZn.js} +1 -1
- package/dist/client/assets/pr-queue-columns-CzkapYZn.js.br +0 -0
- package/dist/client/assets/{pr-status-icon-CzzQ4Ue8.js → pr-status-icon-2dbYpTqp.js} +1 -1
- package/dist/client/assets/pr-status-icon-2dbYpTqp.js.br +0 -0
- package/dist/client/assets/{radar-panel-BUxwHqCl.js → radar-panel-DFrSdu-f.js} +1 -1
- package/dist/client/assets/radar-panel-DFrSdu-f.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-DR_9MOGz.js → repo-roots-adder-D8YNdS3c.js} +1 -1
- package/dist/client/assets/repo-roots-adder-D8YNdS3c.js.br +0 -0
- package/dist/client/assets/{resume-dialog-C5mVgRoI.js → resume-dialog-CirMYf43.js} +1 -1
- package/dist/client/assets/resume-dialog-CirMYf43.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-Do5W-m18.js → review-queue-panel-DUlerBsN.js} +1 -1
- package/dist/client/assets/review-queue-panel-DUlerBsN.js.br +0 -0
- package/dist/client/assets/{session-actions-Dg9Hv9fn.js → session-actions-BKJSUQcv.js} +2 -2
- package/dist/client/assets/session-actions-BKJSUQcv.js.br +0 -0
- package/dist/client/assets/{session-row-B1Aqh7mE.js → session-row-DEOAjVZN.js} +1 -1
- package/dist/client/assets/session-row-DEOAjVZN.js.br +0 -0
- package/dist/client/assets/{session-tick-DEhuj5ux.js → session-tick-DkL0Rymq.js} +1 -1
- package/dist/client/assets/session-tick-DkL0Rymq.js.br +0 -0
- package/dist/client/assets/{settings-panel-DcDknMS5.js → settings-panel-DqO2JCXH.js} +2 -2
- package/dist/client/assets/settings-panel-DqO2JCXH.js.br +0 -0
- package/dist/client/assets/{setup-step-Bx6iZK7x.js → setup-step-C6Me6J42.js} +1 -1
- package/dist/client/assets/setup-step-C6Me6J42.js.br +0 -0
- package/dist/client/assets/{trace-panel-OBLw9DIU.js → trace-panel-D6LbAUay.js} +1 -1
- package/dist/client/assets/trace-panel-D6LbAUay.js.br +0 -0
- package/dist/client/assets/{usage-panel-C0I3Mnaz.js → usage-panel-Cgwhpoqh.js} +1 -1
- package/dist/client/assets/usage-panel-Cgwhpoqh.js.br +0 -0
- package/dist/client/assets/{your-day-tip-CX7U22RX.js → your-day-tip-D5XAfj4s.js} +1 -1
- package/dist/client/assets/your-day-tip-D5XAfj4s.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-DdGmiWOh.js +0 -1
- package/dist/chunks/config-store-CEbbzbRf.js +0 -1
- package/dist/chunks/kimi-SNFpnw7d.js +0 -1
- package/dist/chunks/settings-cli-TAX3FC-m.js +0 -1
- package/dist/client/assets/action-status-Wfjulygh.js.br +0 -0
- package/dist/client/assets/agent-mark-DpH0TP-a.js.br +0 -0
- package/dist/client/assets/arena-panel-Cw0kL5lK.js.br +0 -0
- package/dist/client/assets/benchmark-panel-DypGRaD3.js.br +0 -0
- package/dist/client/assets/boards-view-Dl2wgk93.css +0 -1
- package/dist/client/assets/boards-view-Dl2wgk93.css.br +0 -0
- package/dist/client/assets/boards-view-DzrKgnK3.js +0 -2
- package/dist/client/assets/boards-view-DzrKgnK3.js.br +0 -0
- package/dist/client/assets/button-racu9zpQ.js +0 -1
- package/dist/client/assets/button-racu9zpQ.js.br +0 -0
- package/dist/client/assets/card-registry-InnaVlZU.js.br +0 -0
- package/dist/client/assets/community-panel-BLM9Uqfj.js.br +0 -0
- package/dist/client/assets/control-ws-BDnpduaw.js.br +0 -0
- package/dist/client/assets/dialogs-BUI7tlXn.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-Gje7jsdj.js.br +0 -0
- package/dist/client/assets/feature-hint-SPeLuS-9.js.br +0 -0
- package/dist/client/assets/first-run-checklist-B1XKdmHg.js.br +0 -0
- package/dist/client/assets/hooks-panel-DkJzCECb.js.br +0 -0
- package/dist/client/assets/index-c2fCCvV0.js.br +0 -0
- package/dist/client/assets/issues-panel-BHn7qfvQ.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-WuVBGyYu.js.br +0 -0
- package/dist/client/assets/layout-worker-CRS1Shs-.js +0 -113
- package/dist/client/assets/layout-worker-CRS1Shs-.js.br +0 -0
- package/dist/client/assets/menu-CSn2J4Mi.js.br +0 -0
- package/dist/client/assets/modal-D5goJav_.js.br +0 -0
- package/dist/client/assets/my-prs-panel-nYYEGzil.js.br +0 -0
- package/dist/client/assets/nyan-cat-B0uGcp81.js.br +0 -0
- package/dist/client/assets/phone-shell-DeC9PKSZ.js.br +0 -0
- package/dist/client/assets/plan-face-BTzIvCh6.js.br +0 -0
- package/dist/client/assets/plan-render-Du-jT2t6.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-CBpQKZcq.js.br +0 -0
- package/dist/client/assets/pr-status-icon-CzzQ4Ue8.js.br +0 -0
- package/dist/client/assets/radar-panel-BUxwHqCl.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-DR_9MOGz.js.br +0 -0
- package/dist/client/assets/resume-dialog-C5mVgRoI.js.br +0 -0
- package/dist/client/assets/review-queue-panel-Do5W-m18.js.br +0 -0
- package/dist/client/assets/session-actions-Dg9Hv9fn.js.br +0 -0
- package/dist/client/assets/session-row-B1Aqh7mE.js.br +0 -0
- package/dist/client/assets/session-tick-DEhuj5ux.js.br +0 -0
- package/dist/client/assets/settings-panel-DcDknMS5.js.br +0 -0
- package/dist/client/assets/setup-step-Bx6iZK7x.js.br +0 -0
- package/dist/client/assets/trace-panel-OBLw9DIU.js.br +0 -0
- package/dist/client/assets/usage-panel-C0I3Mnaz.js.br +0 -0
- package/dist/client/assets/your-day-tip-CX7U22RX.js.br +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { $ as codexSessionIdFromPath, $t as removalsJournalPath, A as pickNewestPublished, At as vendorUsageEntry, B as planUploadRetention, Bt as agentHookGroupOf, C as decideUpdateStatus, Ct as identityFromRelPath, D as parseRegistryDeprecation, Dt as parseUsageLine, E as normalizeUpdateChannel, Et as parseJsonLine, F as decideUploadType, Ft as generateToken, G as containmentRefusalReason, Gt as readStoredHooks, H as TRACE_TAIL_SCAN_BYTES, Ht as hooksForProject, I as exceedsUploadCap, It as sweepOrphans, J as resumeOffsetFrom, Jt as makeHostScratchDirectory, K as isOversizedPartialLine, Kt as removeHook, L as framePathPaste, Lt as writeSessionSettings, M as openContainedFile, Mt as HOOK_EVENTS, N as MAX_UPLOAD_BYTES, Nt as PLAN_HOLD_RELEASE_MS, O as parseRegistryLatest, Ot as shouldReplace, P as buildUploadFilename, Pt as buildHookSettings, Q as codexRootCandidates, Qt as recordSweptPath, R as imageMimeForUploadFilename, Rt as HOOK_EVENT_CATALOG, S as decideInstallFlavor, St as foldReplacementIntoGenerationRollup, T as normalizeSha, Tt as mergeGenerationRollups, U as committedOffsetFromTraceTailOrNull, Ut as normalizeHook, V as MAX_TRANSCRIPT_READ_BYTES, Vt as appendUserHooks, W as completeLineBytes, Wt as rawStoredHooks, X as codexFallbackRoots, Xt as appendRemovalRecord, Y as withCommittedOffset, Yt as sweepOrphanedHostScratch, Z as codexHomes, Zt as appendRemovalRecordSync, _ as folderTrustRoot, _t as addEntryToTotals, a as customAgentFingerprint, at as isUsageFile, b as requestCodexAppServer, bt as expandAdvisorIterations, c as hookProfileOf, ct as projectDirCandidates, d as isKnownAgentId, dt as sessionsRootCandidates, en as listClaudeGlobalConfigPathCandidates, et as continuationDelayMs, f as listAgentIds, ft as shouldEvaluateDespiteIoFailures, g as setCustomAgents, gt as parseKimiUsageLine, h as resolveAdapter, ht as kimiDedupIdentity, i as commandFor, it as grokHomes, j as shortSha, jt as claudeCode, k as parseResolvedSha, kt as totalTokensOf$1, l as isBuiltInAgentId, lt as resolveProjectsDirs, m as resetCommandCache, mt as splitLines, n as DEFAULT_AGENT_ID$1, nt as dedupeCodexFiles, o as describeAgentResolvability, ot as kimiHomes, p as projectHookConfigRelPaths, pt as shouldPersistWarehouse, q as planContiguousRead, qt as upsertHook, r as cachedAgentResolvability, rt as expandTilde, s as getAdapter, st as passOutcome, tt as decideFileRead, u as isFirstClassAgent, ut as scopedClaudeRoots, v as codex, vt as dedupKeys, w as isCheckFresh, wt as isWithinGenerationRecencyWindow, x as NODE_PTY_INSTALL_SCRIPT_FLAG, xt as foldEntryIntoGenerationRollup, y as readHostCodexVersion, yt as emptyTotals, z as isSafePathSegment, zt as ID_RE } from "./adapters-
|
|
2
|
-
import { $ as buildExceptionProperties, B as isExperimentalSetting, D as SETTINGS_INDEX, E as validateSettingsBlock, G as parseDataAttach, J as TELEMETRY_BATCH_URL, K as parseDataClientMessage, L as valueAtPath, Q as buildBrowserExceptionProperties, T as settingsBlockSpecFor, U as LOGGED_FAST_CLOSE_COUNTS, V as DEEP_HISTORY_SCROLLBACK_LINES, W as describeDataAttach, X as adapterBucket, Y as TELEMETRY_FLAGS_URL, Z as buildAiGenerationEvents, _ as sessionIdFromBranch, _t as stableConfigKey, a as generateProjectId, at as decideRemoteTelemetryState, ct as nodeMajorVersion, d as DEFAULT_CONFIG, dt as DashboardTelemetryReport, et as buildPersonProperties, f as DEFAULT_BRANCH_GC_PREFIXES, ft as PendingCrashReport, g as planWorktreeGc, h as planBranchGc, i as ensureProjectIds, it as decideIsDevInstall, lt as parsePosthogReleaseId, m as matchedPrefix, mt as TelemetryState, n as createConfigStore, nt as claudeAccountUuidOf, o as glimmervoidHomeDir, ot as decideTelemetryConsent, p as isGcCandidateWorktree, pt as TELEMETRY_EVENT_SCHEMAS, q as FIRST_RUN_NOTICE, r as ABORT_CONFIG_SAVE, rt as codexUserIdOf, st as exceptionFingerprint, tt as classifySessionExit, ut as resolveProjectToken, v as usablePrefixes, w as mergeSettingsBlock, y as worktreeIntegrationTips } from "./config-store-
|
|
1
|
+
import { $ as codexSessionIdFromPath, $t as removalsJournalPath, A as pickNewestPublished, At as vendorUsageEntry, B as planUploadRetention, Bt as agentHookGroupOf, C as decideUpdateStatus, Ct as identityFromRelPath, D as parseRegistryDeprecation, Dt as parseUsageLine, E as normalizeUpdateChannel, Et as parseJsonLine, F as decideUploadType, Ft as generateToken, G as containmentRefusalReason, Gt as readStoredHooks, H as TRACE_TAIL_SCAN_BYTES, Ht as hooksForProject, I as exceedsUploadCap, It as sweepOrphans, J as resumeOffsetFrom, Jt as makeHostScratchDirectory, K as isOversizedPartialLine, Kt as removeHook, L as framePathPaste, Lt as writeSessionSettings, M as openContainedFile, Mt as HOOK_EVENTS, N as MAX_UPLOAD_BYTES, Nt as PLAN_HOLD_RELEASE_MS, O as parseRegistryLatest, Ot as shouldReplace, P as buildUploadFilename, Pt as buildHookSettings, Q as codexRootCandidates, Qt as recordSweptPath, R as imageMimeForUploadFilename, Rt as HOOK_EVENT_CATALOG, S as decideInstallFlavor, St as foldReplacementIntoGenerationRollup, T as normalizeSha, Tt as mergeGenerationRollups, U as committedOffsetFromTraceTailOrNull, Ut as normalizeHook, V as MAX_TRANSCRIPT_READ_BYTES, Vt as appendUserHooks, W as completeLineBytes, Wt as rawStoredHooks, X as codexFallbackRoots, Xt as appendRemovalRecord, Y as withCommittedOffset, Yt as sweepOrphanedHostScratch, Z as codexHomes, Zt as appendRemovalRecordSync, _ as folderTrustRoot, _t as addEntryToTotals, a as customAgentFingerprint, at as isUsageFile, b as requestCodexAppServer, bt as expandAdvisorIterations, c as hookProfileOf, ct as projectDirCandidates, d as isKnownAgentId, dt as sessionsRootCandidates, en as listClaudeGlobalConfigPathCandidates, et as continuationDelayMs, f as listAgentIds, ft as shouldEvaluateDespiteIoFailures, g as setCustomAgents, gt as parseKimiUsageLine, h as resolveAdapter, ht as kimiDedupIdentity, i as commandFor, it as grokHomes, j as shortSha, jt as claudeCode, k as parseResolvedSha, kt as totalTokensOf$1, l as isBuiltInAgentId, lt as resolveProjectsDirs, m as resetCommandCache, mt as splitLines, n as DEFAULT_AGENT_ID$1, nt as dedupeCodexFiles, o as describeAgentResolvability, ot as kimiHomes, p as projectHookConfigRelPaths, pt as shouldPersistWarehouse, q as planContiguousRead, qt as upsertHook, r as cachedAgentResolvability, rt as expandTilde, s as getAdapter, st as passOutcome, tt as decideFileRead, u as isFirstClassAgent, ut as scopedClaudeRoots, v as codex, vt as dedupKeys, w as isCheckFresh, wt as isWithinGenerationRecencyWindow, x as NODE_PTY_INSTALL_SCRIPT_FLAG, xt as foldEntryIntoGenerationRollup, y as readHostCodexVersion, yt as emptyTotals, z as isSafePathSegment, zt as ID_RE } from "./adapters-Bg-l7NBf.js";
|
|
2
|
+
import { $ as buildExceptionProperties, B as isExperimentalSetting, D as SETTINGS_INDEX, E as validateSettingsBlock, G as parseDataAttach, J as TELEMETRY_BATCH_URL, K as parseDataClientMessage, L as valueAtPath, Q as buildBrowserExceptionProperties, T as settingsBlockSpecFor, U as LOGGED_FAST_CLOSE_COUNTS, V as DEEP_HISTORY_SCROLLBACK_LINES, W as describeDataAttach, X as adapterBucket, Y as TELEMETRY_FLAGS_URL, Z as buildAiGenerationEvents, _ as sessionIdFromBranch, _t as stableConfigKey, a as generateProjectId, at as decideRemoteTelemetryState, ct as nodeMajorVersion, d as DEFAULT_CONFIG, dt as DashboardTelemetryReport, et as buildPersonProperties, f as DEFAULT_BRANCH_GC_PREFIXES, ft as PendingCrashReport, g as planWorktreeGc, h as planBranchGc, i as ensureProjectIds, it as decideIsDevInstall, lt as parsePosthogReleaseId, m as matchedPrefix, mt as TelemetryState, n as createConfigStore, nt as claudeAccountUuidOf, o as glimmervoidHomeDir, ot as decideTelemetryConsent, p as isGcCandidateWorktree, pt as TELEMETRY_EVENT_SCHEMAS, q as FIRST_RUN_NOTICE, r as ABORT_CONFIG_SAVE, rt as codexUserIdOf, st as exceptionFingerprint, tt as classifySessionExit, ut as resolveProjectToken, v as usablePrefixes, w as mergeSettingsBlock, y as worktreeIntegrationTips } from "./config-store-RJTZlSL9.js";
|
|
3
3
|
import { C as parseCgroupBytes, S as memoryReserveBytes, T as parseMemAvailableBytes, _ as createSpawnGate, a as jsonStateLoadError, b as cgroupLimitBytes, c as loadedJsonValue, d as writeJsonAtomicSync, f as writeTextAtomic, g as createSerialQueue, h as createMemoryAdmission, i as createJsonStateWriter, m as createKeyedSerialQueue, n as appendJsonLines, o as loadJsonStateFile, p as writeTextAtomicSync, r as createJsonStateStore, s as loadJsonStateFileSync, t as appendJsonLine, u as writeJsonAtomic, v as isQueueAdmissionTimeout, w as parseCgroupV2Path, x as headroomFromReadings, y as cgroupAncestorPaths } from "./json-file-BkbEyRoH.js";
|
|
4
4
|
import { a as sanitizeWorktreeName, i as safePathSegment, n as equalsIgnoringCaseOnWindows, r as isPathInside, t as caseFoldedPathKey } from "./paths-C2u2R_6l.js";
|
|
5
5
|
import { o as isMissingFileError, r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
|
|
6
6
|
import { a as unrefTimer, i as DEFAULT_TIMER_FNS, n as comparableDirectoryPath, r as isSameDirectoryPath, t as canonicalizePath } from "./canonical-paths-tdQPG3Kv.js";
|
|
7
|
-
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-
|
|
7
|
+
import { i as resolveArgvCommandMatches, t as kimi } from "./kimi-Ck2t9UVT.js";
|
|
8
8
|
import { c as runCommandSafely$1, i as execFileSync, l as spawn, n as execFile, r as execFileAsync, s as refuseLaunchesOf, t as assertLaunchable } from "./child-process-safe-NR7PjPcL.js";
|
|
9
|
-
import { Bt as HookEnvelope, C as BenchmarkId, D as BenchmarkSuite, E as BenchmarkStatus, Et as USAGE_INTEGER_RANGES, F as CommunityState, Gt as CoherenceJournalOutput, Ht as MAX_RAW_LINE_CHARS, I as CommunityVerdict, It as IssuesState, Jt as CHANGES_POLL_INTERVAL_MS, Kt as ChangeMap, L as DISCORD_CHANNEL_NAME_RE, Lt as IssuesStatus, M as CommunityActionRequest, N as CommunityDraft, Nt as IssueKey, P as CommunityItem, R as SKILL_NAME_RE, S as BenchmarkCase, T as BenchmarkRun, U as GithubPrsFrame, Ut as TraceCheckpoint, Vt as SessionSetup, W as comparablePrKey, Wt as TraceRecord, Xt as CLIENT_LOG_TEXT_MAX_CHARS, Y as WorkflowsState, Zt as CONTROL_FRAME_MAX_BYTES, _n as planTitle, an as pullRequestKeyFromReference, c as HINT_FEATURES, cn as UpdateJournal, dn as PLAN_HOOK_OUTPUT_MAX_CHARS, f as JudgeResult, fn as PLAN_RESULT_HOOK_EVENT, g as RaceSpec, gn as parseExitPlanModeHookPayload, h as RaceRecord, hn as PlanRevision, j as PrCheckoutCaseInput, l as HINT_VIEW_BY_FEATURE, ln as PLAN_BODY_CAP_BYTES, mn as PlanDecision, n as PackApproveRequest, o as HubPhoneAlertFrame, pn as PLAN_TOOL_NAME, q as WorkflowsSettings, qt as changeMapFactId, r as HUB_PHONE_ALERT_TEXT_MAX, s as FeatureHintState, t as ClientMessage, un as PLAN_HOOK_EVENT, v as CATALOG_AGENT_IDS, w as BenchmarkJudgement, x as BenchmarkActionRequest, y as DEFAULT_MODELS } from "./control-messages-
|
|
10
|
-
import { $ as Box, B as SshSignRequest, C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Cn as PrFlowApproveRequest, Ct as MyPrMergeRequest, E as REQUEST_USER_INPUT_TOOL_NAME, Et as MyPrMergeWhenReadyRequest, F as SSH_SIGN_BODY_CAP_BYTES, G as BOARD_MEDIA_MAX_EDGE_PX, H as TaskTitle, In as PrFlowsSettings, Jn as shortSha$1, K as BOARD_PAGE_ESCAPE_MESSAGE, Ln as PrFlowsState, M as SESSION_NAME_RULE_TEXT, Mn as PrFlowRule, Mt as MyPrsSnapshot, N as SHOWN_FILE_CAP_BYTES, Nn as PrFlowSaveRuleRequest, On as PrFlowItemRequest, P as SIGN_URL_ENV, Qn as repoParts, Rt as CommitSha$1, S as CONVERSATION_PERMISSION_HOOK_EVENT, Sn as PrActionRunRequest, T as ConversationQuestion, Tn as PrFlowDisposeRequest, Un as prActionReportPath, W as BOARD_DOC_CAP_BYTES, X as BoardRecord, Y as Board, Yn as GH_SEGMENT, Zt as ReviewDraft, _ as AgentSettingsRequest, _n as PR_ACTION_REPORT_URL_ENV, ar as MERGEABLE_LIVE_STATES, at as Op, b as COHERENCE_HOOKS_INACTIVE, c as AgentCloseRequest, ct as WHITEBOARD_LIMITS, d as AgentPacksRequest, dt as Wire, f as AgentPullRequestRequest, ft as sparseBoardRecord, gn as PR_ACTION_REPORT_ROUTE, hn as PR_ACTION_REPORT_BODY_CAP_BYTES, i as ASK_USER_QUESTION_TOOL_NAME, ir as KILLABLE_STATES, it as Note, j as SESSION_NAME_PATTERN, k as SESSION_DOC_BODY_CAP_BYTES, l as AgentEditRequest, mn as hasStandingViewerApproval, mt as LinkedPr, nn as TeamReviewActionRequest, o as AgentAttentionRequest, on as TeamReviewStateEntry, or as RESTARTABLE_STATES, pt as sparseBoardReply, qn as HEX_SHA_RE, r as AGENT_URL_ENV, rr as BADGE_LABELS, rt as Frame, sn as TeamReviewStatus, sr as STATES, st as WHITEBOARD_ASSET_ROUTE, v as AgentSpawnRequest, vn as PR_ACTION_TOKEN_ENV, x as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, xn as PrActionReportBody, y as AgentWhyRequest, yt as MyPrKeepMergeableRequest } from "./session-
|
|
9
|
+
import { Bt as HookEnvelope, C as BenchmarkId, D as BenchmarkSuite, E as BenchmarkStatus, Et as USAGE_INTEGER_RANGES, F as CommunityState, Gt as CoherenceJournalOutput, Ht as MAX_RAW_LINE_CHARS, I as CommunityVerdict, It as IssuesState, Jt as CHANGES_POLL_INTERVAL_MS, Kt as ChangeMap, L as DISCORD_CHANNEL_NAME_RE, Lt as IssuesStatus, M as CommunityActionRequest, N as CommunityDraft, Nt as IssueKey, P as CommunityItem, R as SKILL_NAME_RE, S as BenchmarkCase, T as BenchmarkRun, U as GithubPrsFrame, Ut as TraceCheckpoint, Vt as SessionSetup, W as comparablePrKey, Wt as TraceRecord, Xt as CLIENT_LOG_TEXT_MAX_CHARS, Y as WorkflowsState, Zt as CONTROL_FRAME_MAX_BYTES, _n as planTitle, an as pullRequestKeyFromReference, c as HINT_FEATURES, cn as UpdateJournal, dn as PLAN_HOOK_OUTPUT_MAX_CHARS, f as JudgeResult, fn as PLAN_RESULT_HOOK_EVENT, g as RaceSpec, gn as parseExitPlanModeHookPayload, h as RaceRecord, hn as PlanRevision, j as PrCheckoutCaseInput, l as HINT_VIEW_BY_FEATURE, ln as PLAN_BODY_CAP_BYTES, mn as PlanDecision, n as PackApproveRequest, o as HubPhoneAlertFrame, pn as PLAN_TOOL_NAME, q as WorkflowsSettings, qt as changeMapFactId, r as HUB_PHONE_ALERT_TEXT_MAX, s as FeatureHintState, t as ClientMessage, un as PLAN_HOOK_EVENT, v as CATALOG_AGENT_IDS, w as BenchmarkJudgement, x as BenchmarkActionRequest, y as DEFAULT_MODELS } from "./control-messages-Cx_1p9iz.js";
|
|
10
|
+
import { $ as Box, B as SshSignRequest, C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, Cn as PrFlowApproveRequest, Ct as MyPrMergeRequest, E as REQUEST_USER_INPUT_TOOL_NAME, Et as MyPrMergeWhenReadyRequest, F as SSH_SIGN_BODY_CAP_BYTES, G as BOARD_MEDIA_MAX_EDGE_PX, H as TaskTitle, In as PrFlowsSettings, Jn as shortSha$1, K as BOARD_PAGE_ESCAPE_MESSAGE, Ln as PrFlowsState, M as SESSION_NAME_RULE_TEXT, Mn as PrFlowRule, Mt as MyPrsSnapshot, N as SHOWN_FILE_CAP_BYTES, Nn as PrFlowSaveRuleRequest, On as PrFlowItemRequest, P as SIGN_URL_ENV, Qn as repoParts, Rt as CommitSha$1, S as CONVERSATION_PERMISSION_HOOK_EVENT, Sn as PrActionRunRequest, T as ConversationQuestion, Tn as PrFlowDisposeRequest, Un as prActionReportPath, W as BOARD_DOC_CAP_BYTES, X as BoardRecord, Y as Board, Yn as GH_SEGMENT, Zt as ReviewDraft, _ as AgentSettingsRequest, _n as PR_ACTION_REPORT_URL_ENV, ar as MERGEABLE_LIVE_STATES, at as Op, b as COHERENCE_HOOKS_INACTIVE, c as AgentCloseRequest, ct as WHITEBOARD_LIMITS, d as AgentPacksRequest, dt as Wire, f as AgentPullRequestRequest, ft as sparseBoardRecord, gn as PR_ACTION_REPORT_ROUTE, hn as PR_ACTION_REPORT_BODY_CAP_BYTES, i as ASK_USER_QUESTION_TOOL_NAME, ir as KILLABLE_STATES, it as Note, j as SESSION_NAME_PATTERN, k as SESSION_DOC_BODY_CAP_BYTES, l as AgentEditRequest, mn as hasStandingViewerApproval, mt as LinkedPr, nn as TeamReviewActionRequest, o as AgentAttentionRequest, on as TeamReviewStateEntry, or as RESTARTABLE_STATES, pt as sparseBoardReply, qn as HEX_SHA_RE, r as AGENT_URL_ENV, rr as BADGE_LABELS, rt as Frame, sn as TeamReviewStatus, sr as STATES, st as WHITEBOARD_ASSET_ROUTE, v as AgentSpawnRequest, vn as PR_ACTION_TOKEN_ENV, x as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, xn as PrActionReportBody, y as AgentWhyRequest, yt as MyPrKeepMergeableRequest } from "./session-C0cPFaQs.js";
|
|
11
11
|
import { a as QUESTION_ANSWERED_NOTIFY_CATEGORY, c as QuestionManagerSettings, i as ManagerLaneResult, n as MANAGER_DECISION_EVENT, r as ManagerDecision, t as MANAGER_DECISION_AUDIT_KIND } from "./question-manager-C_RzS1Ot.js";
|
|
12
12
|
import { n as promptContextReplyOf, o as toolHookContextReplyOf, r as refocusReplyFor, t as REFOCUS_NOTE } from "./refocus-core-DlEDNY3E.js";
|
|
13
|
-
import { $ as promptHintFor, A as isSelfWakePrompt, B as pickAutoResume, C as cleanTaskPrompt, D as extractNotifiedTaskIds, E as extractHookTaskTitle, F as resolveTaskTitle, G as listRepoConversations, H as resumePromptFor, I as seedTaskTitleSources, J as nextSuggestedName, K as listRepoWorktreePaths, L as AUTO_CONTINUE_PROMPT, M as parseRefinedSessionName, N as parseRefinedTaskTitle, O as extractOscTaskTitle, P as resolveRefocusTaskTitle, Q as permitsHelpCommand, R as RESUME_ID_RE, S as chooseRefinedSessionName, T as extractAiTitle, U as shouldAdoptReportedResumeId, V as resolveResumeTarget, W as claudeProjectsDir, Y as describeSessionLimits, Z as hintFor, _ as projectReviewDetail, a as checkAgentReply, b as buildPersistedTaskTitle, c as deriveChildSessionName, d as describePushLanding, et as routeAgentNotes, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as isSubstantivePrompt, k as extractPromptTaskTitle, l as describeChildEndNote, n as REFUSAL_REASON, nt as toolHookFactsOf, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as isAutoNameOf, s as decideSpawnAllowance, tt as supervisionLine, u as describeKeptChildAttention, v as projectReviews, w as decideTaskTitleRefinement, x as buildTaskTitleRefinementPrompt, y as tokensMatch, z as isConversationReplacedAtStartup } from "./agent-api-core-
|
|
13
|
+
import { $ as promptHintFor, A as isSelfWakePrompt, B as pickAutoResume, C as cleanTaskPrompt, D as extractNotifiedTaskIds, E as extractHookTaskTitle, F as resolveTaskTitle, G as listRepoConversations, H as resumePromptFor, I as seedTaskTitleSources, J as nextSuggestedName, K as listRepoWorktreePaths, L as AUTO_CONTINUE_PROMPT, M as parseRefinedSessionName, N as parseRefinedTaskTitle, O as extractOscTaskTitle, P as resolveRefocusTaskTitle, Q as permitsHelpCommand, R as RESUME_ID_RE, S as chooseRefinedSessionName, T as extractAiTitle, U as shouldAdoptReportedResumeId, V as resolveResumeTarget, W as claudeProjectsDir, Y as describeSessionLimits, Z as hintFor, _ as projectReviewDetail, a as checkAgentReply, b as buildPersistedTaskTitle, c as deriveChildSessionName, d as describePushLanding, et as routeAgentNotes, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as isSubstantivePrompt, k as extractPromptTaskTitle, l as describeChildEndNote, n as REFUSAL_REASON, nt as toolHookFactsOf, o as decideAgentRequest, p as describeUnpushedCloseRefusal, q as isAutoNameOf, s as decideSpawnAllowance, tt as supervisionLine, u as describeKeptChildAttention, v as projectReviews, w as decideTaskTitleRefinement, x as buildTaskTitleRefinementPrompt, y as tokensMatch, z as isConversationReplacedAtStartup } from "./agent-api-core-CADmSdvT.js";
|
|
14
14
|
import { a as mcpLaunchFor, o as parsePresentedCredential } from "./agent-config-BJVJpVzX.js";
|
|
15
|
-
import { a as layoutBoardWithMemory, i as layoutBoard, l as planSteps$1, n as escapeMarkup, o as cappedWarnings, r as isStackedPanel, s as dependencyWireId, t as boardSvgDocument, u as stepBoxesOf } from "./whiteboard-svg-core-
|
|
16
|
-
import { a as ConfigUpdate, c as SHELL_AGENT_ID, f as USAGE_COST_MODES, n as BUILTIN_AGENT_IDS, p as USAGE_VENDOR_KEYS, r as BrowserConfig, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage } from "./config-
|
|
17
|
-
import { _ as decideHostAllowed, c as approvedPackPanels, d as packRow, f as pendingPackNote, g as readCappedBody, h as parseJsonBody$1, l as approvedPackThemes, m as decodeHeaderText, n as readPacksForAgent, p as declaredContentLength, u as packFileHeaders } from "./pack-agent-
|
|
15
|
+
import { a as layoutBoardWithMemory, i as layoutBoard, l as planSteps$1, n as escapeMarkup, o as cappedWarnings, r as isStackedPanel, s as dependencyWireId, t as boardSvgDocument, u as stepBoxesOf } from "./whiteboard-svg-core-CFm2oj-T.js";
|
|
16
|
+
import { a as ConfigUpdate, c as SHELL_AGENT_ID, f as USAGE_COST_MODES, n as BUILTIN_AGENT_IDS, p as USAGE_VENDOR_KEYS, r as BrowserConfig, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage } from "./config-CdUCPp52.js";
|
|
17
|
+
import { _ as decideHostAllowed, c as approvedPackPanels, d as packRow, f as pendingPackNote, g as readCappedBody, h as parseJsonBody$1, l as approvedPackThemes, m as decodeHeaderText, n as readPacksForAgent, p as declaredContentLength, u as packFileHeaders } from "./pack-agent-D9TcEpR3.js";
|
|
18
18
|
import { a as formatSshPublicKey, c as orderAgentSockets, i as commitSigningShimText, l as parseSshPublicKey, n as NO_AGENT_HOLDS_KEY, o as isForwardedAgentDirName, r as agentListsKey, s as isSignableGitObject, t as COMMIT_SIGNING_SHIM_NAME, u as wellKnownAgentSocketPaths } from "./ssh-signing-core-C7Dohjcn.js";
|
|
19
|
-
import { a as createPairingsStore, c as defaultSeenPath, d as deviceNameFromUserAgent, f as hashSecret, i as configSiblingPath, l as DEFAULT_DEVICE_MAX_AGE_MS, n as normalizeRemoteConfig, o as createSeenStore, r as validateRemoteConfig, s as defaultPairingsPath, t as decideBindHost, u as decideDeviceAuth } from "./remote-config-
|
|
19
|
+
import { a as createPairingsStore, c as defaultSeenPath, d as deviceNameFromUserAgent, f as hashSecret, i as configSiblingPath, l as DEFAULT_DEVICE_MAX_AGE_MS, n as normalizeRemoteConfig, o as createSeenStore, r as validateRemoteConfig, s as defaultPairingsPath, t as decideBindHost, u as decideDeviceAuth } from "./remote-config-BxXgPLrF.js";
|
|
20
20
|
import { a as examplePacksDir, c as resolveFfmpegPath, i as clientDir, l as resolvePackageBin, n as bundled, o as packageRoot, r as cliPath, s as relayPath, t as assetRoot } from "./runtime-paths-YS6tWGDa.js";
|
|
21
21
|
import { n as shellQuote } from "./hook-command-core-Bu5xBKp3.js";
|
|
22
22
|
import { c as realAgentHome, d as createHeldSessionTempFolder, f as releaseSessionLock, m as trashSessionTempFolderOnceUnheld, n as generatedAgentHomePath, p as sessionIdOfLockFile, u as releaseUnheldAgentHomeSecrets } from "./agent-home-SIFHgJP-.js";
|
|
23
|
-
import { $ as stampStageSince, $n as issueKey, $r as codexMcpServers, $t as reReviewResult, A as keepMergeableAttemptKey, Ai as isWatcherJobKind, An as PENDING_FIX_TTL_MS, Ar as parseKimiModels, At as earlierReviewToKeep, B as mergeQueuePositions, Bn as buildIssueSessionPrompt, Br as shouldAutoResolveThread, Bt as markDraftStale, C as autoRebaseRecord, Ci as restartDelayMs, Cn as fencedUntrusted, Cr as validateIssueRef, Ct as applyReviewProgress, D as isFailedAttemptRetryDue, Dn as FIX_VERDICTS, Dr as launchArgs, Dt as commentableLines, E as emptyMyPrsLaneState, Ei as WATCHER_JOB_KINDS, En as withoutControlCharacters, Er as choiceSelection, Et as canPost, F as keepMergeablePrompt, Fn as RADAR_UNTRUSTED_SOURCE, Fr as answeredViewerThreads, Ft as hasViewerReviewedAt, G as prunedFailedAutoRebaseAttempts, Gn as dailyVolumeSeries, Gr as UNTRUSTED_PREAMBLE, Gt as parseReviewReport, H as mergedSinceDate, Hn as claimPendingFix, Hr as threadJudgePatch, I as keepMergeablePushArgs, In as appendInvestigation, Ir as buildThreadJudgeRequest, It as invalidComments, J as pushFailureReason, Jn as decideJobMode, Jr as ACCEPT_EDITS_MODE, Jt as prHeadRef, K as prunedKeepMergeableState, Kn as decideFixHandoff, Kr as UNTRUSTED_REF_MAX_CHARS, Kt as postedReviewBody, L as keepMergeablePushTarget, Ln as approvedFixSessionPrompt, Lr as hasPresentableThreads, Lt as isPostableStatus, M as keepMergeableFixesToCancel, Mn as RADAR_REPORT_FILENAME, Mr as THREAD_JUDGE_BACKOFF_MS, Mt as eventForAction, N as keepMergeableHandoff, Nn as RADAR_RESULT_FILENAME, Nr as THREAD_JUDGE_ITEM_MAX_CHARS, Nt as githubRepoSlugFromRemote, O as isHeadPushedByKeepMergeable, On as INVESTIGATIONS_KEY, Or as parseClaudeInitialize, Ot as diffHeaderPath, P as keepMergeablePermissions, Pn as RADAR_UNTRUSTED_ITEM_MAX_CHARS, Pr as THREAD_PLACEHOLDER_ERROR, Pt as githubReviewsFrom, Q as sortedMyPrs, Qn as isAbsolutePathish, Qr as codexLaneMcpPosture, Qt as priorReviewFor, R as keepMergeableTimeoutSeconds, Rn as belowMinimumInvestigationChange, Rr as isThreadPlaceholderDraft, Rt as isSameGithubReviews, S as autoRebaseAttemptKey, Sn as bulletsIn, Sr as validateInvestigationId, St as advanceAwakeElapsed, T as currentKeepMergeableAttempt, Tn as sectionAfter$1, Tr as readGithubTeams, Tt as buildReviewPrompt, U as myPrsShouldStart, Un as classifyIssueChange, Ur as viewerThreadTally, Ut as parseFindingLine, V as mergeQueuePrsToMerge, Vn as claimExpiredPendingFixes, Vr as shouldJudgeThread, Vt as notMineDraft, W as myPrsStatus, Wn as dailyVolumeQuery, Wr as UNTRUSTED_PAYLOAD_FILENAME, Wt as parsePostingPlan, X as shouldFixMergeability, Xn as fixDetailLine, Xr as LANE_CONFIG_EDIT_DENY_RULES, Xt as prSessionName, Y as readMyPrsFeatureSettings, Yn as decideVanishedEntry, Yr as CLOSED_LANE_ACCESS_CONFIG, Yt as prKey, Z as shouldRebaseMyPr, Zn as investigationTrigger, Zr as buildLanePermissions, Zt as prSessionPrompt, _ as MY_PRS_FIX_PROMPT_FILENAME, _n as startReviewProgress, _r as slotDeferredInvestigationChange, _t as REVIEW_TIMEOUT_SECONDS, a as createPrGh, ai as laneMcpConfig, an as resumeDecision, ar as normalizePrTitle, at as myPrMergeRefusal, b as MY_PRS_STATE_FILENAME, bn as uiFilesOf, br as unarchivedInvestigations, bt as TEAM_REVIEW_STATE_FILENAME, c as runGh, ci as withAllowRules, cn as reviewSnapshotFromGithubPr, cr as pingFor, ct as HUNK_HEADER, d as githubStoreRateLimitedError, dn as reviewerFor, dr as pruneInvestigations, dt as REVIEW_AGENT_ADAPTER_ID, ei as findPosthogServer, en as readTeamReviewSettings, er as issueUrl, et as toMyPrsWireStatus, f as isBotAuthor, fn as sectionAfter, fr as radarUntrustedItems, ft as REVIEW_BOOTSTRAP_PROMPT, g as MY_PRS_FIX_CHECKOUT_DIRNAME, gi as secondaryRateLimitWaitMs, gn as shouldPruneEntry$1, gr as scrubForPaste, gt as REVIEW_RESUME_PROMPT, h as MY_PRS_FIX_BOOTSTRAP_PROMPT, hi as createTickLoop, hn as shouldAutoReview, hr as sanitizeSessionName, ht as REVIEW_REPORT_FILENAME, i as writeWatcheeSettings, ii as laneAccessEnvBlocker, in as restoreDraftAtReviewedHead, ir as normalizePrBody, it as myPrFromGithubPr, j as keepMergeableClaudeArgs, jn as RADAR_EXCEPTION_EVENTS_QUERY, jr as selectionArgs, jt as errorDraft, k as isMovedBranchPushRejection, ki as WatcherJobEnvelope, kn as JOB_MODES, kr as parseCodexModels, kt as draftsNewestFirst, l as runGit, li as withLaneAccessRules, ln as reviewUntrustedItems, lr as planInvestigations, lt as PROGRESS_EMIT_INTERVAL_MS, m as MY_PRS_FIX_BASE_BRANCH, mi as createLaneRunner, mn as sessionLinkedToPr, mr as resolvePosthogHost, mt as REVIEW_PROMPT_FILENAME, ni as laneAccess, nn as remergeGitEnvPrefix, nr as nextState, nt as withAutoRebase, o as gitCommandFailure, oi as laneMcpPosture, on as resumeTimeoutMs, or as pendingFixesDropped, pi as WATCHER_HOME_ENV, pn as selectCandidates, pr as resolveIssueProject, pt as REVIEW_POSTING_FILENAME, q as prunedMergeQueueKeys, qn as decideIssueAction, qr as UntrustedPayload, qt as prBaseRef, r as watcherHomeDir, ri as laneAccessConfigOf, rn as remoteMatchesGithubRepo, rr as normalizeJobMode, rt as withStageSince, s as runCommand, si as readOnlyGitAllowRules, sn as reviewAttemptsAfter, sr as pickDirectoryForProjectName, st as DEFAULT_REVIEWER, ti as kimiLaneMcpPosture, tn as readyDraft, tr as markInvestigationArchived, tt as truncatedSearchNote, u as createGithubStorePoller, ui as GITHUB_RATE_LIMIT_WINDOW_MS, un as reviewerAgentArgs, ur as projectParentDirs, ut as REMERGE_OBJECTS_DIRNAME, v as MY_PRS_FIX_WORK_BRANCH, vn as teamReviewStatus, vr as summaryLineFromReportText, vt as REVIEW_UNTRUSTED_ITEM_MAX_CHARS, w as consecutiveKeepMergeableAttempts, wi as watcherChildInboxUrl, wn as parsePostingFile, wr as nulSeparatedPaths, wt as askedForRefusal, x as MyPrsLaneState, xi as nextCrashCount, xn as watcherFeedError, xr as underlyingInvestigationChange, xt as absolutePathReadRule, y as MY_PRS_LANE_ID, yn as triagePr, yr as toCount, yt as TEAM_REVIEW_LANE_ID, z as mergeAttemptKey, zn as buildInvestigationRecord, zr as parseThreadJudgeResult, zt as isUnreviewedDraft } from "./watchee-settings-
|
|
23
|
+
import { $ as stampStageSince, $n as issueKey, $r as codexMcpServers, $t as reReviewResult, A as keepMergeableAttemptKey, Ai as isWatcherJobKind, An as PENDING_FIX_TTL_MS, Ar as parseKimiModels, At as earlierReviewToKeep, B as mergeQueuePositions, Bn as buildIssueSessionPrompt, Br as shouldAutoResolveThread, Bt as markDraftStale, C as autoRebaseRecord, Ci as restartDelayMs, Cn as fencedUntrusted, Cr as validateIssueRef, Ct as applyReviewProgress, D as isFailedAttemptRetryDue, Dn as FIX_VERDICTS, Dr as launchArgs, Dt as commentableLines, E as emptyMyPrsLaneState, Ei as WATCHER_JOB_KINDS, En as withoutControlCharacters, Er as choiceSelection, Et as canPost, F as keepMergeablePrompt, Fn as RADAR_UNTRUSTED_SOURCE, Fr as answeredViewerThreads, Ft as hasViewerReviewedAt, G as prunedFailedAutoRebaseAttempts, Gn as dailyVolumeSeries, Gr as UNTRUSTED_PREAMBLE, Gt as parseReviewReport, H as mergedSinceDate, Hn as claimPendingFix, Hr as threadJudgePatch, I as keepMergeablePushArgs, In as appendInvestigation, Ir as buildThreadJudgeRequest, It as invalidComments, J as pushFailureReason, Jn as decideJobMode, Jr as ACCEPT_EDITS_MODE, Jt as prHeadRef, K as prunedKeepMergeableState, Kn as decideFixHandoff, Kr as UNTRUSTED_REF_MAX_CHARS, Kt as postedReviewBody, L as keepMergeablePushTarget, Ln as approvedFixSessionPrompt, Lr as hasPresentableThreads, Lt as isPostableStatus, M as keepMergeableFixesToCancel, Mn as RADAR_REPORT_FILENAME, Mr as THREAD_JUDGE_BACKOFF_MS, Mt as eventForAction, N as keepMergeableHandoff, Nn as RADAR_RESULT_FILENAME, Nr as THREAD_JUDGE_ITEM_MAX_CHARS, Nt as githubRepoSlugFromRemote, O as isHeadPushedByKeepMergeable, On as INVESTIGATIONS_KEY, Or as parseClaudeInitialize, Ot as diffHeaderPath, P as keepMergeablePermissions, Pn as RADAR_UNTRUSTED_ITEM_MAX_CHARS, Pr as THREAD_PLACEHOLDER_ERROR, Pt as githubReviewsFrom, Q as sortedMyPrs, Qn as isAbsolutePathish, Qr as codexLaneMcpPosture, Qt as priorReviewFor, R as keepMergeableTimeoutSeconds, Rn as belowMinimumInvestigationChange, Rr as isThreadPlaceholderDraft, Rt as isSameGithubReviews, S as autoRebaseAttemptKey, Sn as bulletsIn, Sr as validateInvestigationId, St as advanceAwakeElapsed, T as currentKeepMergeableAttempt, Tn as sectionAfter$1, Tr as readGithubTeams, Tt as buildReviewPrompt, U as myPrsShouldStart, Un as classifyIssueChange, Ur as viewerThreadTally, Ut as parseFindingLine, V as mergeQueuePrsToMerge, Vn as claimExpiredPendingFixes, Vr as shouldJudgeThread, Vt as notMineDraft, W as myPrsStatus, Wn as dailyVolumeQuery, Wr as UNTRUSTED_PAYLOAD_FILENAME, Wt as parsePostingPlan, X as shouldFixMergeability, Xn as fixDetailLine, Xr as LANE_CONFIG_EDIT_DENY_RULES, Xt as prSessionName, Y as readMyPrsFeatureSettings, Yn as decideVanishedEntry, Yr as CLOSED_LANE_ACCESS_CONFIG, Yt as prKey, Z as shouldRebaseMyPr, Zn as investigationTrigger, Zr as buildLanePermissions, Zt as prSessionPrompt, _ as MY_PRS_FIX_PROMPT_FILENAME, _n as startReviewProgress, _r as slotDeferredInvestigationChange, _t as REVIEW_TIMEOUT_SECONDS, a as createPrGh, ai as laneMcpConfig, an as resumeDecision, ar as normalizePrTitle, at as myPrMergeRefusal, b as MY_PRS_STATE_FILENAME, bn as uiFilesOf, br as unarchivedInvestigations, bt as TEAM_REVIEW_STATE_FILENAME, c as runGh, ci as withAllowRules, cn as reviewSnapshotFromGithubPr, cr as pingFor, ct as HUNK_HEADER, d as githubStoreRateLimitedError, dn as reviewerFor, dr as pruneInvestigations, dt as REVIEW_AGENT_ADAPTER_ID, ei as findPosthogServer, en as readTeamReviewSettings, er as issueUrl, et as toMyPrsWireStatus, f as isBotAuthor, fn as sectionAfter, fr as radarUntrustedItems, ft as REVIEW_BOOTSTRAP_PROMPT, g as MY_PRS_FIX_CHECKOUT_DIRNAME, gi as secondaryRateLimitWaitMs, gn as shouldPruneEntry$1, gr as scrubForPaste, gt as REVIEW_RESUME_PROMPT, h as MY_PRS_FIX_BOOTSTRAP_PROMPT, hi as createTickLoop, hn as shouldAutoReview, hr as sanitizeSessionName, ht as REVIEW_REPORT_FILENAME, i as writeWatcheeSettings, ii as laneAccessEnvBlocker, in as restoreDraftAtReviewedHead, ir as normalizePrBody, it as myPrFromGithubPr, j as keepMergeableClaudeArgs, jn as RADAR_EXCEPTION_EVENTS_QUERY, jr as selectionArgs, jt as errorDraft, k as isMovedBranchPushRejection, ki as WatcherJobEnvelope, kn as JOB_MODES, kr as parseCodexModels, kt as draftsNewestFirst, l as runGit, li as withLaneAccessRules, ln as reviewUntrustedItems, lr as planInvestigations, lt as PROGRESS_EMIT_INTERVAL_MS, m as MY_PRS_FIX_BASE_BRANCH, mi as createLaneRunner, mn as sessionLinkedToPr, mr as resolvePosthogHost, mt as REVIEW_PROMPT_FILENAME, ni as laneAccess, nn as remergeGitEnvPrefix, nr as nextState, nt as withAutoRebase, o as gitCommandFailure, oi as laneMcpPosture, on as resumeTimeoutMs, or as pendingFixesDropped, pi as WATCHER_HOME_ENV, pn as selectCandidates, pr as resolveIssueProject, pt as REVIEW_POSTING_FILENAME, q as prunedMergeQueueKeys, qn as decideIssueAction, qr as UntrustedPayload, qt as prBaseRef, r as watcherHomeDir, ri as laneAccessConfigOf, rn as remoteMatchesGithubRepo, rr as normalizeJobMode, rt as withStageSince, s as runCommand, si as readOnlyGitAllowRules, sn as reviewAttemptsAfter, sr as pickDirectoryForProjectName, st as DEFAULT_REVIEWER, ti as kimiLaneMcpPosture, tn as readyDraft, tr as markInvestigationArchived, tt as truncatedSearchNote, u as createGithubStorePoller, ui as GITHUB_RATE_LIMIT_WINDOW_MS, un as reviewerAgentArgs, ur as projectParentDirs, ut as REMERGE_OBJECTS_DIRNAME, v as MY_PRS_FIX_WORK_BRANCH, vn as teamReviewStatus, vr as summaryLineFromReportText, vt as REVIEW_UNTRUSTED_ITEM_MAX_CHARS, w as consecutiveKeepMergeableAttempts, wi as watcherChildInboxUrl, wn as parsePostingFile, wr as nulSeparatedPaths, wt as askedForRefusal, x as MyPrsLaneState, xi as nextCrashCount, xn as watcherFeedError, xr as underlyingInvestigationChange, xt as absolutePathReadRule, y as MY_PRS_LANE_ID, yn as triagePr, yr as toCount, yt as TEAM_REVIEW_LANE_ID, z as mergeAttemptKey, zn as buildInvestigationRecord, zr as parseThreadJudgeResult, zt as isUnreviewedDraft } from "./watchee-settings-CjkenTD8.js";
|
|
24
24
|
import { a as rawTextOr, i as positiveNumberOr, n as isRecord$1, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-D6vRlIGO.js";
|
|
25
25
|
import { C as createTsconfigPathsResolver, E as resolveExtendsPath, T as parseTsconfigJsonc, d as KIMI_HOME_PROFILE, i as AGENT_HOME_PROFILES, w as matchPathPatterns } from "./agent-home-core-fVTGZwNk.js";
|
|
26
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
26
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-O6-uLAi3.js";
|
|
27
27
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
28
28
|
import { t as HOOK_TOOLS } from "./hook-tools-CytPV0RW.js";
|
|
29
29
|
import { a as showHomeAsTilde, i as sanitizeOneLine, n as requireExecutableSpawnHelper, r as firstLine$2 } from "./node-pty-preflight-B6wME-M3.js";
|
|
30
|
-
import { t as DETACHED_DESKTOP_BUS_ADDRESS } from "./spawn-env
|
|
30
|
+
import { t as DETACHED_DESKTOP_BUS_ADDRESS } from "./spawn-env-CapiuFtq.js";
|
|
31
31
|
import { t as HOOK_URL_ENV } from "./hook-relay-core-ne0rkTgG.js";
|
|
32
32
|
import { c as saneYoloFiles } from "./sane-yolo-BJM6ju1w.js";
|
|
33
33
|
import { n as glimmervoidHomeDir$1, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-qUZH9-0F.js";
|
|
34
34
|
import { r as knownWriteHookInput } from "./posthog-read-gate-core-D_5rXRpS.js";
|
|
35
|
-
import { A as withPrActionRun, C as teammateThreadItems, D as withHandled, E as visibleRun, M as withRuleRun, O as withInterruptedRuns, a as fixLocallyPrompt, b as shouldTellBranchMoved, c as mergeItems, f as plannedActions, g as prFlowsConfig, h as prFlowSetup, j as withReopened, k as withOnlyOpenPrs, m as prActionRunAfterExit, n as branchMovedNote, r as commandFingerprint, s as itemLocation, t as acceptReport, u as packPathsOf, v as savedRuleFor, w as threadCandidates, x as sourceCandidates$1, y as scopedToRepo } from "./pr-flows-core-
|
|
36
|
-
import { i as packsStatePath, l as PacksState, o as readPackDir, r as packDirsUnder, s as PACK_FILE_NAME, t as PACKS_DIR_NAME } from "./pack-files-
|
|
37
|
-
import { a as PackStoreData, d as packStoreSizeError, u as packStoreAfterSet } from "./pack-bridge-
|
|
38
|
-
import { t as createPrFlowsExternal } from "./pr-flows-external-
|
|
39
|
-
import { n as isSameHostEntry, r as removeHostFrom, t as addHostTo } from "./host-registry-core-
|
|
35
|
+
import { A as withPrActionRun, C as teammateThreadItems, D as withHandled, E as visibleRun, M as withRuleRun, O as withInterruptedRuns, a as fixLocallyPrompt, b as shouldTellBranchMoved, c as mergeItems, f as plannedActions, g as prFlowsConfig, h as prFlowSetup, j as withReopened, k as withOnlyOpenPrs, m as prActionRunAfterExit, n as branchMovedNote, r as commandFingerprint, s as itemLocation, t as acceptReport, u as packPathsOf, v as savedRuleFor, w as threadCandidates, x as sourceCandidates$1, y as scopedToRepo } from "./pr-flows-core-C5EdQcdl.js";
|
|
36
|
+
import { i as packsStatePath, l as PacksState, o as readPackDir, r as packDirsUnder, s as PACK_FILE_NAME, t as PACKS_DIR_NAME } from "./pack-files-Cquc-WhV.js";
|
|
37
|
+
import { a as PackStoreData, d as packStoreSizeError, u as packStoreAfterSet } from "./pack-bridge-BKP_4o4G.js";
|
|
38
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-Bwwtnh-u.js";
|
|
39
|
+
import { n as isSameHostEntry, r as removeHostFrom, t as addHostTo } from "./host-registry-core-Cj9x_2Yr.js";
|
|
40
40
|
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-Bs9G8R8w.js";
|
|
41
41
|
import { createRequire } from "node:module";
|
|
42
42
|
import fs, { readFileSync } from "node:fs";
|
|
@@ -5166,8 +5166,6 @@ var DIFFED_BOARD_FIELDS = [
|
|
|
5166
5166
|
"title",
|
|
5167
5167
|
"caption",
|
|
5168
5168
|
"legend",
|
|
5169
|
-
"columns",
|
|
5170
|
-
"lanes",
|
|
5171
5169
|
"codeSessionId"
|
|
5172
5170
|
];
|
|
5173
5171
|
var OPERATOR_AUTHOR = Object.freeze({
|
|
@@ -5237,16 +5235,14 @@ function checkBoxReferences(board, box, previous) {
|
|
|
5237
5235
|
const outputs = checkBoxOutputs(board, box, previous);
|
|
5238
5236
|
if (!outputs.ok) return outputs;
|
|
5239
5237
|
if (box.change === "relabeled" && !box.was) return refuse(`box ${box.id} is relabeled, so give its old title in was`);
|
|
5240
|
-
if (box.step === null && box.shape !== "panel" && box.
|
|
5238
|
+
if (box.step === null && box.shape !== "panel" && box.near === null && box.at === null) return refuse(`box ${box.id} needs a place: near another box or at a point`);
|
|
5241
5239
|
const sittingNear = isStackedPanel(box) && previous?.kind === "box" && !isStackedPanel(previous) ? boxSittingNear(board, box.id) : null;
|
|
5242
|
-
if (sittingNear) return refuse(`box ${sittingNear.id} sits near ${box.id}, so ${box.id} cannot go back to the panel stack with no place: keep a
|
|
5243
|
-
if (box.column !== null && !board.columns.some((column) => column.id === box.column)) return refuse(`box ${box.id} names column ${box.column}, which the board does not have, so add it with a columns op first`);
|
|
5244
|
-
if (box.lane !== null && !board.lanes.some((lane) => lane.id === box.lane)) return refuse(`box ${box.id} names lane ${box.lane}, which the board does not have, so add it with a lanes op first`);
|
|
5240
|
+
if (sittingNear) return refuse(`box ${sittingNear.id} sits near ${box.id}, so ${box.id} cannot go back to the panel stack with no place: keep a near or at on it, or move box ${sittingNear.id} first`);
|
|
5245
5241
|
if (box.near === null) return OK;
|
|
5246
5242
|
if (box.near.of === box.id) return refuse(`box ${box.id} cannot sit near itself`);
|
|
5247
5243
|
const nearTarget = board.elements[box.near.of];
|
|
5248
5244
|
if (nearTarget?.kind !== "box") return refuse(`box ${box.id} sits near ${box.near.of}, which is not a box`);
|
|
5249
|
-
if (isStackedPanel(nearTarget)) return refuse(`box ${box.id} sits near ${box.near.of}, a panel with no place yet, so give that panel a
|
|
5245
|
+
if (isStackedPanel(nearTarget)) return refuse(`box ${box.id} sits near ${box.near.of}, a panel with no place yet, so give that panel a near or at first`);
|
|
5250
5246
|
if (nearChainReaches(board, box.near.of, box.id)) return refuse(`box ${box.id} sits near ${box.near.of}, which already sits near ${box.id}, so they would place each other`);
|
|
5251
5247
|
return OK;
|
|
5252
5248
|
}
|
|
@@ -5398,34 +5394,6 @@ function resolveNote(board, id, author) {
|
|
|
5398
5394
|
};
|
|
5399
5395
|
return OK;
|
|
5400
5396
|
}
|
|
5401
|
-
function replaceColumns(board, columns, moveByColumnId) {
|
|
5402
|
-
const columnIds = new Set(columns.map((column) => column.id));
|
|
5403
|
-
if (columnIds.size !== columns.length) return refuse("column ids must be unique");
|
|
5404
|
-
const strayTarget = Object.entries(moveByColumnId).find(([, targetId]) => !columnIds.has(targetId));
|
|
5405
|
-
if (strayTarget) return refuse(`move sends column ${strayTarget[0]} to ${strayTarget[1]}, which is not in the new columns`);
|
|
5406
|
-
const movedBoxes = Object.values(board.elements).flatMap((element) => {
|
|
5407
|
-
if (element.kind !== "box" || element.column === null) return [];
|
|
5408
|
-
return [{
|
|
5409
|
-
...element,
|
|
5410
|
-
column: Object.hasOwn(moveByColumnId, element.column) ? moveByColumnId[element.column] ?? element.column : element.column
|
|
5411
|
-
}];
|
|
5412
|
-
});
|
|
5413
|
-
const strandedBox = movedBoxes.find((box) => box.column !== null && !columnIds.has(box.column));
|
|
5414
|
-
if (strandedBox) return refuse(`box ${strandedBox.id} is still in removed column ${strandedBox.column}, so name it in move or remove the box first`);
|
|
5415
|
-
for (const box of movedBoxes) board.elements[box.id] = box;
|
|
5416
|
-
board.columns = columns;
|
|
5417
|
-
return OK;
|
|
5418
|
-
}
|
|
5419
|
-
function replaceLanes(board, lanes) {
|
|
5420
|
-
const laneIds = new Set(lanes.map((lane) => lane.id));
|
|
5421
|
-
if (laneIds.size !== lanes.length) return refuse("lane ids must be unique");
|
|
5422
|
-
board.lanes = lanes;
|
|
5423
|
-
for (const element of Object.values(board.elements)) if (element.kind === "box" && element.lane !== null && !laneIds.has(element.lane)) board.elements[element.id] = {
|
|
5424
|
-
...element,
|
|
5425
|
-
lane: null
|
|
5426
|
-
};
|
|
5427
|
-
return OK;
|
|
5428
|
-
}
|
|
5429
5397
|
function applyOne(draft, op, author) {
|
|
5430
5398
|
const { board } = draft;
|
|
5431
5399
|
if (op.op !== "remove") {
|
|
@@ -5437,8 +5405,6 @@ function applyOne(draft, op, author) {
|
|
|
5437
5405
|
case "set": return setFields(board, op.id, op.fields, author);
|
|
5438
5406
|
case "remove": return removeElement(draft, op.id);
|
|
5439
5407
|
case "resolve": return resolveNote(board, op.id, author);
|
|
5440
|
-
case "columns": return replaceColumns(board, op.columns, op.move);
|
|
5441
|
-
case "lanes": return replaceLanes(board, op.lanes);
|
|
5442
5408
|
case "board":
|
|
5443
5409
|
if (op.title !== void 0) board.title = op.title;
|
|
5444
5410
|
if (op.caption !== void 0) board.caption = op.caption;
|
|
@@ -5567,8 +5533,6 @@ function describeOp(op, previous, after) {
|
|
|
5567
5533
|
case "set": return describeSet(op, previous, after);
|
|
5568
5534
|
case "remove": return `removed ${previous?.kind ?? "element"} ${nameOf(after, op.id, previous)}`;
|
|
5569
5535
|
case "resolve": return previous?.kind === "note" ? `resolved note ${op.id} on ${nameOf(after, previous.on)}` : `resolved note ${op.id}`;
|
|
5570
|
-
case "columns": return `set the columns to ${op.columns.map((column) => column.title || column.id).join(", ") || "none"}`;
|
|
5571
|
-
case "lanes": return `set the lanes to ${op.lanes.map((lane) => lane.label || lane.id).join(", ") || "none"}`;
|
|
5572
5536
|
case "board": return describeBoardOp(op);
|
|
5573
5537
|
}
|
|
5574
5538
|
}
|
|
@@ -5578,11 +5542,6 @@ function createBoard({ id, title, nowMs, codeSessionId = null }) {
|
|
|
5578
5542
|
title,
|
|
5579
5543
|
version: 0,
|
|
5580
5544
|
caption: null,
|
|
5581
|
-
columns: [{
|
|
5582
|
-
id: "main",
|
|
5583
|
-
title: ""
|
|
5584
|
-
}],
|
|
5585
|
-
lanes: [],
|
|
5586
5545
|
legend: [],
|
|
5587
5546
|
codeSessionId,
|
|
5588
5547
|
elements: {},
|
|
@@ -6036,16 +5995,81 @@ function elementsWithStepBoxesForUnits(elements) {
|
|
|
6036
5995
|
}
|
|
6037
5996
|
return upgraded;
|
|
6038
5997
|
}
|
|
5998
|
+
var UPGRADE_MARGIN = 40;
|
|
5999
|
+
var UPGRADE_COLUMN_WIDTH = 220;
|
|
6000
|
+
var UPGRADE_COLUMN_GAP = 90;
|
|
6001
|
+
var UPGRADE_BOX_GAP = 30;
|
|
6002
|
+
function idsOf(entries) {
|
|
6003
|
+
if (!Array.isArray(entries)) return [];
|
|
6004
|
+
return entries.flatMap((entry) => isRecord$1(entry) && typeof entry.id === "string" ? [entry.id] : []);
|
|
6005
|
+
}
|
|
6006
|
+
function isGridPlacedBox(element, columnId) {
|
|
6007
|
+
return isRecord$1(element) && element.kind === "box" && element.column === columnId && (element.at ?? null) === null && (element.near ?? null) === null;
|
|
6008
|
+
}
|
|
6009
|
+
function freePlacementByBoxId(board, elements) {
|
|
6010
|
+
const laneIds = idsOf(board.lanes);
|
|
6011
|
+
const laneRankOf = (box) => typeof box.lane === "string" ? laneIds.indexOf(box.lane) + 1 : 0;
|
|
6012
|
+
const orderOf = (box) => typeof box.order === "number" ? box.order : 0;
|
|
6013
|
+
const placementByBoxId = /* @__PURE__ */ new Map();
|
|
6014
|
+
let columnLeftEdge = UPGRADE_MARGIN;
|
|
6015
|
+
for (const columnId of idsOf(board.columns)) {
|
|
6016
|
+
const columnBoxes = Object.values(elements).filter((element) => isGridPlacedBox(element, columnId)).map((box, index) => ({
|
|
6017
|
+
box,
|
|
6018
|
+
index
|
|
6019
|
+
})).sort((left, right) => laneRankOf(left.box) - laneRankOf(right.box) || orderOf(left.box) - orderOf(right.box) || left.index - right.index).map(({ box }) => box);
|
|
6020
|
+
columnBoxes.forEach((box, index) => {
|
|
6021
|
+
const boxAbove = columnBoxes[index - 1];
|
|
6022
|
+
placementByBoxId.set(String(box.id), boxAbove ? { near: {
|
|
6023
|
+
of: boxAbove.id,
|
|
6024
|
+
side: "bottom",
|
|
6025
|
+
gap: UPGRADE_BOX_GAP
|
|
6026
|
+
} } : { at: {
|
|
6027
|
+
x: columnLeftEdge,
|
|
6028
|
+
y: UPGRADE_MARGIN
|
|
6029
|
+
} });
|
|
6030
|
+
});
|
|
6031
|
+
const widestBox = Math.max(UPGRADE_COLUMN_WIDTH, ...columnBoxes.map((box) => typeof box.width === "number" ? box.width : UPGRADE_COLUMN_WIDTH));
|
|
6032
|
+
columnLeftEdge += widestBox + UPGRADE_COLUMN_GAP;
|
|
6033
|
+
}
|
|
6034
|
+
return placementByBoxId;
|
|
6035
|
+
}
|
|
6036
|
+
function withoutColumnAndLane(element, placementByBoxId) {
|
|
6037
|
+
if (!isRecord$1(element)) return element;
|
|
6038
|
+
if (element.kind === "wire" && element.tone === "lane") return {
|
|
6039
|
+
...element,
|
|
6040
|
+
tone: "plain"
|
|
6041
|
+
};
|
|
6042
|
+
if (element.kind !== "box") return element;
|
|
6043
|
+
const { column: _column, lane: _lane, ...freeBox } = element;
|
|
6044
|
+
return {
|
|
6045
|
+
...freeBox,
|
|
6046
|
+
...placementByBoxId.get(String(element.id))
|
|
6047
|
+
};
|
|
6048
|
+
}
|
|
6049
|
+
function legendWithoutLaneTone(legend) {
|
|
6050
|
+
if (!Array.isArray(legend)) return legend;
|
|
6051
|
+
return legend.map((entry) => isRecord$1(entry) && entry.tone === "lane" ? {
|
|
6052
|
+
...entry,
|
|
6053
|
+
tone: "plain"
|
|
6054
|
+
} : entry);
|
|
6055
|
+
}
|
|
6056
|
+
function freeCanvasBoard(board, elements) {
|
|
6057
|
+
const placementByBoxId = freePlacementByBoxId(board, elements);
|
|
6058
|
+
const { columns: _columns, lanes: _lanes, ...freeBoard } = board;
|
|
6059
|
+
const freeElements = Object.fromEntries(Object.entries(elements).map(([elementId, element]) => [elementId, withoutColumnAndLane(element, placementByBoxId)]));
|
|
6060
|
+
return {
|
|
6061
|
+
...freeBoard,
|
|
6062
|
+
..."legend" in board ? { legend: legendWithoutLaneTone(board.legend) } : {},
|
|
6063
|
+
elements: freeElements
|
|
6064
|
+
};
|
|
6065
|
+
}
|
|
6039
6066
|
function upgradedBoardRecord(raw) {
|
|
6040
6067
|
const board = isRecord$1(raw) ? raw.board : null;
|
|
6041
6068
|
if (!isRecord$1(raw) || !isRecord$1(board) || !isRecord$1(board.elements)) return raw;
|
|
6042
6069
|
const elements = Object.fromEntries(Object.entries(elementsWithStepBoxesForUnits(board.elements)).map(([elementId, element]) => [elementId, boxForPanel(elementWithMediaForImage(element))]));
|
|
6043
6070
|
return {
|
|
6044
6071
|
...raw,
|
|
6045
|
-
board:
|
|
6046
|
-
...board,
|
|
6047
|
-
elements
|
|
6048
|
-
}
|
|
6072
|
+
board: freeCanvasBoard(board, elements)
|
|
6049
6073
|
};
|
|
6050
6074
|
}
|
|
6051
6075
|
function lowestCursor(record) {
|
|
@@ -6244,19 +6268,19 @@ var PUT_GUIDE = [
|
|
|
6244
6268
|
"{\"op\":\"add\",\"element\":{\"kind\":\"wire\",\"id\":\"w1\",\"from\":\"parse\",\"to\":\"store\",\"dashed\":true,\"label\":\"on retry\"}},",
|
|
6245
6269
|
"{\"op\":\"set\",\"id\":\"parse\",\"fields\":{\"title\":\"Parse feed\"}},{\"op\":\"remove\",\"id\":\"w1\"}]'.",
|
|
6246
6270
|
"Pick the layout that fits what you draw; the example shows op syntax, not a preferred shape.",
|
|
6247
|
-
"Element kinds: box (title,
|
|
6271
|
+
"Element kinds: box (title, near, at, lines, refs, change none|added|removed|relabeled, was, order, shape box|decision|panel, outputs, step {status planned|building|landed, linkedBoardId} to make it a plan step), wire (from, to, fromOutput, dashed, tone plain|fail|join, label, fromSide and toSide left|right|top|bottom, back), frame (title, contains, loop), note (on, text, ref).",
|
|
6248
6272
|
"To show a picture, video, HTML page or Markdown document, run glimmervoid whiteboard attach <path> (PNG, JPEG, WebP, GIF, SVG, MP4, WebM, HTML or Markdown) and set the media it returns on a box unchanged except alt, as in \"media\":{\"kind\":\"image\",\"asset\":\"<id>\",\"mime\":\"image/png\",\"width\":800,\"height\":600,\"alt\":\"login screen\",\"hasPreview\":false}; a picture or video first frame draws under the box lines, a page or a video without a first frame shows as a labelled placeholder, and a Markdown document shows the operator its rendered text, which they can edit and save on the board.",
|
|
6249
6273
|
"A line takes style text|code|item|numbered|kv; kv needs a key, as in {\"style\":\"kv\",\"key\":\"timeout\",\"text\":\"30s\"}, and numbered lines count up through each run.",
|
|
6250
6274
|
"A plan step is a box with a step; a wire from one step to another means the second is built after the first, cycles allowed. A step with no place sits in the build-order band above the free drawing until moved. glimmervoid whiteboard plan add|after|status|show edits and reads them.",
|
|
6251
6275
|
"A box with shape panel is a side note card for text such as prior art: with no place it stacks right of the drawing, lowest order first, until it is given one, and no box can sit near it while it is stacked.",
|
|
6252
|
-
"
|
|
6276
|
+
"The board is a free canvas: every box but a plan step or a panel needs one place, near another box with near {\"of\":\"parse\",\"side\":\"right|left|top|bottom\",\"gap\":60} or at {\"x\",\"y\"} pixels; build columns, rows or lanes yourself from at positions, frames and text boxes.",
|
|
6253
6277
|
"A planned step whose ref files already changed, or a landed one whose ref files are unchanged or uncommitted, comes back as a warning.",
|
|
6254
6278
|
"Point a box at code with refs [\"path\", \"path#L12\", \"path#L12-L30\"], relative to the board code session worktree (codeSessionId, the creating session by default); any line or note takes one ref. A ref that names no file or runs past the end comes back as a warning.",
|
|
6255
6279
|
"Mark what a change does to a box with change: added and removed for parts it brings or takes away, relabeled with was set to the old title for a rename.",
|
|
6256
6280
|
"A decision is a box with shape:\"decision\" and outputs [{id, label}] drawn as rows in that order; a wire with fromOutput set to an output id leaves from that row, so each branch starts at its own named exit.",
|
|
6257
6281
|
"Wires route around every box on their own; set fromSide or toSide to pick where one attaches, back:true for a return edge that loops around the outside, and loop:true on a frame to mark what repeats.",
|
|
6258
6282
|
"The legend lists every wire style in use on its own; a board op with legend [{tone, dashed, back, label}] renames an entry or adds one.",
|
|
6259
|
-
"A
|
|
6283
|
+
"A put is applied whole or refused whole.",
|
|
6260
6284
|
"glimmervoid whiteboard get <board> returns the board and a one-line summary of each change others made since this session last read it;",
|
|
6261
6285
|
"add --layout to see where every box, wire and label landed, which refs need fixing, which changed files no ref covers and which referenced files the review tab calls worth a look, or run glimmervoid whiteboard render <board> --out board.svg to draw it as the dashboard does."
|
|
6262
6286
|
].join(" ");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { yn as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-
|
|
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 { yn as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-C0cPFaQs.js";
|
|
2
|
+
import { t as ClientMessage } from "./control-messages-Cx_1p9iz.js";
|
|
3
|
+
import { c as PanelActionRequest, l as packBridgeJsonSchemaText, p as REVIEW_ACTION_TYPES, t as PACK_DATA_MAX_BYTES } from "./pack-bridge-BKP_4o4G.js";
|
|
4
4
|
import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
5
|
-
import { T as unknownPlaceholderMessage, _ as prFlowsPacksOf, d as packRuleErrors, i as expandPlaceholders, l as packApproval } from "./pr-flows-core-
|
|
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 { T as unknownPlaceholderMessage, _ as prFlowsPacksOf, d as packRuleErrors, i as expandPlaceholders, l as packApproval } from "./pr-flows-core-C5EdQcdl.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-Cquc-WhV.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 { Jt as QueuedReview, U as UnseenOutcome, Wt as InFlightReview, Zt as ReviewDraft, ht as MyPr, sr as STATES } from "./session-
|
|
1
|
+
import { Jt as QueuedReview, U as UnseenOutcome, Wt as InFlightReview, Zt as ReviewDraft, ht as MyPr, sr as STATES } from "./session-C0cPFaQs.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 { Dn as PrFlowItemAction, Pn as PrFlowSourceCommand, Vn as RepoScope, Wn as prFlowRulesJsonSchema, bn as PackPrFlowRule, jn as PrFlowPrAction, kn as PrFlowPackRequires } from "./session-
|
|
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-BKP_4o4G.js";
|
|
2
|
+
import { Dn as PrFlowItemAction, Pn as PrFlowSourceCommand, Vn as RepoScope, Wn as prFlowRulesJsonSchema, bn as PackPrFlowRule, jn as PrFlowPrAction, kn as PrFlowPackRequires } from "./session-C0cPFaQs.js";
|
|
3
|
+
import { r as withoutGlimmervoidSecrets } from "./spawn-env-CapiuFtq.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-D9TcEpR3.js";
|
|
3
3
|
import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
|
|
4
|
-
import { Gn as prFlowsOutputJsonSchemaText, n as AGENT_REPLY_SCHEMAS, sr as STATES } from "./session-
|
|
4
|
+
import { Gn as prFlowsOutputJsonSchemaText, n as AGENT_REPLY_SCHEMAS, sr as STATES } from "./session-C0cPFaQs.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-BKP_4o4G.js";
|
|
8
|
+
import { a as readApprovedPackFingerprints, o as readPackDir, u as packJsonSchemaText } from "./pack-files-Cquc-WhV.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-BNz1cOp2.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-RJTZlSL9.js";
|
|
2
|
+
import { a as createPairingsStore, c as defaultSeenPath, n as normalizeRemoteConfig, o as createSeenStore, s as defaultPairingsPath } from "./remote-config-BxXgPLrF.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 { Ln as PrFlowsState, _n as PR_ACTION_REPORT_URL_ENV, g as AgentSettingsReply, vn as PR_ACTION_TOKEN_ENV, xn as PrActionReportBody, yn as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-
|
|
1
|
+
import { Ln as PrFlowsState, _n as PR_ACTION_REPORT_URL_ENV, g as AgentSettingsReply, vn as PR_ACTION_TOKEN_ENV, xn as PrActionReportBody, yn as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-C0cPFaQs.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 { T as unknownPlaceholderMessage, g as prFlowsConfig, h as prFlowSetup, i as expandPlaceholders, r as commandFingerprint, u as packPathsOf, y as scopedToRepo } from "./pr-flows-core-
|
|
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 { T as unknownPlaceholderMessage, g as prFlowsConfig, h as prFlowSetup, i as expandPlaceholders, r as commandFingerprint, u as packPathsOf, y as scopedToRepo } from "./pr-flows-core-C5EdQcdl.js";
|
|
7
|
+
import { a as readApprovedPackFingerprints, o as readPackDir, r as packDirsUnder } from "./pack-files-Cquc-WhV.js";
|
|
8
|
+
import { t as createPrFlowsExternal } from "./pr-flows-external-Bwwtnh-u.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-BNz1cOp2.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-BNz1cOp2.js");
|
|
272
272
|
const reply = await postToAgentIngress({
|
|
273
273
|
endpoint: new URL(reportUrl),
|
|
274
274
|
token,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { In as PrFlowsSettings, Mn as PrFlowRule, Pn as PrFlowSourceCommand, jn as PrFlowPrAction, wn as PrFlowCommand, yn as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-
|
|
1
|
+
import { In as PrFlowsSettings, Mn as PrFlowRule, Pn as PrFlowSourceCommand, jn as PrFlowPrAction, wn as PrFlowCommand, yn as PR_FLOW_PLACEHOLDERS_BY_KIND } from "./session-C0cPFaQs.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
// server/github/core/pr-flows-core.ts
|
|
@@ -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 { Fn as PrFlowSourceOutput, Hn as ReportedPrFlowActionOutcome } from "./session-
|
|
2
|
+
import { r as withoutGlimmervoidSecrets } from "./spawn-env-CapiuFtq.js";
|
|
3
|
+
import { Fn as PrFlowSourceOutput, Hn as ReportedPrFlowActionOutcome } from "./session-C0cPFaQs.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
5
|
-
import { S as sourcePlaceholderValues, T as unknownPlaceholderMessage, i as expandPlaceholders, p as prActionPlaceholderValues } from "./pr-flows-core-
|
|
5
|
+
import { S as sourcePlaceholderValues, T as unknownPlaceholderMessage, i as expandPlaceholders, p as prActionPlaceholderValues } from "./pr-flows-core-C5EdQcdl.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-RJTZlSL9.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import crypto from "node:crypto";
|
|
@@ -1220,22 +1220,12 @@ var WHITEBOARD_LIMITS = Object.freeze({
|
|
|
1220
1220
|
title: 80,
|
|
1221
1221
|
line: 120,
|
|
1222
1222
|
linesPerBox: 12,
|
|
1223
|
-
columns: 12,
|
|
1224
|
-
lanes: 12,
|
|
1225
1223
|
noteText: 400,
|
|
1226
1224
|
logEntries: 2e3,
|
|
1227
1225
|
layoutWarnings: 20,
|
|
1228
1226
|
boxWidthMin: 160,
|
|
1229
1227
|
boxWidthMax: 960
|
|
1230
1228
|
});
|
|
1231
|
-
var LANE_COLORS = [
|
|
1232
|
-
"blue",
|
|
1233
|
-
"green",
|
|
1234
|
-
"orange",
|
|
1235
|
-
"pink",
|
|
1236
|
-
"cyan",
|
|
1237
|
-
"yellow"
|
|
1238
|
-
];
|
|
1239
1229
|
var ElementId = z.string({ error: "an id must be a string" }).regex(/^[a-z0-9][a-z0-9-]{0,39}$/, { error: "an id is 1 to 40 lowercase letters, digits or dashes, starting with a letter or digit" }).meta({ id: "ElementId" });
|
|
1240
1230
|
var Title = z.string().max(WHITEBOARD_LIMITS.title, { error: `a title is at most ${WHITEBOARD_LIMITS.title} characters` });
|
|
1241
1231
|
var AnchorRef = z.string().min(1).max(200, { error: "a ref is at most 200 characters" }).regex(/^[^#\s]+(#L[1-9]\d*(-L[1-9]\d*)?)?$/, { error: "a ref is path, path#L12 or path#L12-L30" }).meta({
|
|
@@ -1331,13 +1321,11 @@ var Box = z.object({
|
|
|
1331
1321
|
id: ElementId,
|
|
1332
1322
|
title: Title.min(1, { error: "a box needs a title" }),
|
|
1333
1323
|
lines: z.array(BoxLine).max(WHITEBOARD_LIMITS.linesPerBox, { error: `a box holds at most ${WHITEBOARD_LIMITS.linesPerBox} lines` }).default([]),
|
|
1334
|
-
lane: ElementId.nullable().default(null).describe("a lane id from a lanes op"),
|
|
1335
1324
|
refs: AnchorRefs,
|
|
1336
1325
|
change: z.enum(BOX_CHANGES).default("none").describe("marks the box in a diff"),
|
|
1337
1326
|
was: Title.nullable().default(null).describe("the old title, required when change is relabeled"),
|
|
1338
|
-
column: ElementId.nullable().default(null).describe("place: a column id from a columns op"),
|
|
1339
1327
|
near: Near.nullable().default(null).describe("place: beside another box"),
|
|
1340
|
-
order: z.number().int().default(0).describe("position in
|
|
1328
|
+
order: z.number().int().default(0).describe("position in the panel stack, lowest first"),
|
|
1341
1329
|
at: Point.nullable().default(null).describe("place: a point on the board"),
|
|
1342
1330
|
shape: z.enum([
|
|
1343
1331
|
"box",
|
|
@@ -1348,7 +1336,7 @@ var Box = z.object({
|
|
|
1348
1336
|
media: BoxMedia.nullable().default(null).describe("media drawn under the lines, from whiteboard attach"),
|
|
1349
1337
|
width: z.number().int().min(WHITEBOARD_LIMITS.boxWidthMin, { error: `a box width is ${WHITEBOARD_LIMITS.boxWidthMin} to ${WHITEBOARD_LIMITS.boxWidthMax}` }).max(WHITEBOARD_LIMITS.boxWidthMax, { error: `a box width is ${WHITEBOARD_LIMITS.boxWidthMin} to ${WHITEBOARD_LIMITS.boxWidthMax}` }).nullable().default(null).describe(`the box width in board units, ${WHITEBOARD_LIMITS.boxWidthMin} to ${WHITEBOARD_LIMITS.boxWidthMax}; null is the 220 default`),
|
|
1350
1338
|
step: Step.nullable().default(null).describe("makes the box a plan step; a wire from one step to another means the second is built after the first")
|
|
1351
|
-
}).strict().describe("a box needs one place:
|
|
1339
|
+
}).strict().describe("a box needs one place: near or at; a plan step may have none and joins the build-order band, and a panel may have none and stacks right of the drawing");
|
|
1352
1340
|
var Frame = z.object({
|
|
1353
1341
|
kind: z.literal("frame"),
|
|
1354
1342
|
id: ElementId,
|
|
@@ -1366,8 +1354,7 @@ var Wire = z.object({
|
|
|
1366
1354
|
tone: z.enum([
|
|
1367
1355
|
"plain",
|
|
1368
1356
|
"fail",
|
|
1369
|
-
"join"
|
|
1370
|
-
"lane"
|
|
1357
|
+
"join"
|
|
1371
1358
|
]).default("plain"),
|
|
1372
1359
|
label: z.string().max(40, { error: "a wire label is at most 40 characters" }).nullable().default(null),
|
|
1373
1360
|
fromSide: Side.nullable().default(null),
|
|
@@ -1395,23 +1382,12 @@ var LegendEntries = z.array(z.object({
|
|
|
1395
1382
|
back: z.boolean().default(false),
|
|
1396
1383
|
label: z.string().min(1, { error: "a legend entry needs a label" }).max(40, { error: "a legend label is at most 40 characters" })
|
|
1397
1384
|
}).strict()).max(12, { error: "a legend has at most 12 entries" });
|
|
1398
|
-
var BoardColumns = z.array(z.object({
|
|
1399
|
-
id: ElementId,
|
|
1400
|
-
title: z.string().max(60)
|
|
1401
|
-
}).strict()).max(WHITEBOARD_LIMITS.columns, { error: `a board has at most ${WHITEBOARD_LIMITS.columns} columns` });
|
|
1402
|
-
var BoardLanes = z.array(z.object({
|
|
1403
|
-
id: ElementId,
|
|
1404
|
-
label: z.string().max(60),
|
|
1405
|
-
color: z.enum(LANE_COLORS)
|
|
1406
|
-
}).strict()).max(WHITEBOARD_LIMITS.lanes, { error: `a board has at most ${WHITEBOARD_LIMITS.lanes} lanes` });
|
|
1407
1385
|
var CodeSessionId = z.string().min(1).max(64);
|
|
1408
1386
|
var Board = z.object({
|
|
1409
1387
|
id: z.string().min(1).max(64),
|
|
1410
1388
|
title: Title.min(1),
|
|
1411
1389
|
version: z.number().int().nonnegative(),
|
|
1412
1390
|
caption: z.string().max(400).nullable(),
|
|
1413
|
-
columns: BoardColumns,
|
|
1414
|
-
lanes: BoardLanes,
|
|
1415
1391
|
legend: LegendEntries.default([]),
|
|
1416
1392
|
codeSessionId: CodeSessionId.nullable().default(null),
|
|
1417
1393
|
elements: z.record(ElementId, Element).refine((elements) => Object.keys(elements).length <= WHITEBOARD_LIMITS.elements, { error: `a board holds at most ${WHITEBOARD_LIMITS.elements} elements` }).refine((elements) => Object.entries(elements).every(([id, element]) => element.id === id), { error: "every element is stored under its own id" }),
|
|
@@ -1436,15 +1412,6 @@ var Op = z.discriminatedUnion("op", [
|
|
|
1436
1412
|
op: z.literal("resolve"),
|
|
1437
1413
|
id: ElementId.describe("a note id")
|
|
1438
1414
|
}).strict(),
|
|
1439
|
-
z.object({
|
|
1440
|
-
op: z.literal("columns"),
|
|
1441
|
-
columns: BoardColumns.describe("every column, in order"),
|
|
1442
|
-
move: z.record(ElementId, ElementId).default({}).describe("element id to its new column id")
|
|
1443
|
-
}).strict(),
|
|
1444
|
-
z.object({
|
|
1445
|
-
op: z.literal("lanes"),
|
|
1446
|
-
lanes: BoardLanes
|
|
1447
|
-
}).strict(),
|
|
1448
1415
|
z.object({
|
|
1449
1416
|
op: z.literal("board"),
|
|
1450
1417
|
title: Title.min(1).optional(),
|
|
@@ -1452,7 +1419,7 @@ var Op = z.discriminatedUnion("op", [
|
|
|
1452
1419
|
legend: LegendEntries.optional(),
|
|
1453
1420
|
codeSessionId: CodeSessionId.nullable().optional()
|
|
1454
1421
|
}).strict()
|
|
1455
|
-
], { error: "an op is add, set, remove, resolve
|
|
1422
|
+
], { error: "an op is add, set, remove, resolve or board" });
|
|
1456
1423
|
var BoardChange = z.object({
|
|
1457
1424
|
version: z.number().int(),
|
|
1458
1425
|
author: z.string(),
|
|
@@ -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-CdUCPp52.js";
|
|
3
|
+
import { g as AgentSettingsReply } from "./session-C0cPFaQs.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-RJTZlSL9.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-O6-uLAi3.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-BNz1cOp2.js");
|
|
325
325
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
326
326
|
ok: false,
|
|
327
327
|
error: errorMessage(error)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runParsedSettingsCli } from "./settings-cli-Ce4-Yr_8.js";
|