@overdeck/desktop 0.45.22 → 0.45.24
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/drizzle/overdeck/0000_overdeck_init.sql +2 -0
- package/package.json +1 -1
- package/server/{acceptance-criteria-BH7ac_1G.js → acceptance-criteria-DDCnXF58.js} +5 -5
- package/server/{advancing-selfheal-cSvXNZLZ.js → advancing-selfheal-BVwW4qRn.js} +6 -6
- package/server/{agent-gc-Dj2gncak.js → agent-gc-CHcnvonI.js} +4 -4
- package/server/agent-state-Bc3tzUC8.js +3 -0
- package/server/{agent-state-service-DistflNn.js → agent-state-service-BsgWxZuB.js} +5 -5
- package/server/{agent-state-service-CsQ07Pxe.js → agent-state-service-D5UGKIJL.js} +1 -1
- package/server/{agents-DXdHmRTC.js → agents-EbI0zCJl.js} +4 -4
- package/server/agents-wi9NWzs2.js +3 -0
- package/server/{archive-planning-Cp_DC1j-.js → archive-planning-BZDgzoEj.js} +1 -1
- package/server/{archive-planning-BvDuWNMo.js → archive-planning-Du25Jtst.js} +30 -6
- package/server/{artifact-index-jobs-CDBFL4OU.js → artifact-index-jobs-CbEDfCDu.js} +2 -2
- package/server/assemble-J2ZZ2C15.js +339 -0
- package/server/{backlog-auto-trigger-DmA1IbYf.js → backlog-auto-trigger-2R2jog7n.js} +3 -3
- package/server/{behavior-CGj16clS.js → behavior-B3exJ42O.js} +2 -2
- package/server/{briefing-freshness-C12WgkaB.js → briefing-freshness-D1wzUIWv.js} +2 -2
- package/server/{build-info-BRpqQvNd.js → build-info-CZk_TITh.js} +1 -1
- package/server/{build-info-NU3KbXYw.js → build-info-Ie_D0_BT.js} +3 -3
- package/server/{checkpoint-manager-CTPjAmtH.js → checkpoint-manager-BI1Wxoku.js} +2 -2
- package/server/{checkpoint-manager-rOgT98WY.js → checkpoint-manager-DwbQoqrC.js} +1 -1
- package/server/checkpoint-worker.js +1 -1
- package/server/{checkpoints-B5jFNi2G.js → checkpoints-BJIs5QIA.js} +1 -1
- package/server/{checkpoints-BJum14fs.js → checkpoints-CQB1h765.js} +2 -2
- package/server/{claude-hooks-provision-BhwWK-TQ.js → claude-hooks-provision-8Ngo8TpT.js} +1 -1
- package/server/{claude-hooks-provision-D7p5WcKZ.js → claude-hooks-provision-D8GXF3_s.js} +2 -2
- package/server/{claude-permissions-nSFKH78M.js → claude-permissions-DNWEVV6z.js} +2 -2
- package/server/{claude-settings-overlay-BI_UIke0.js → claude-settings-overlay-CEdaqpWI.js} +2 -2
- package/server/{claude-settings-overlay-DHBwjS1X.js → claude-settings-overlay-DWy-Bb4Y.js} +1 -1
- package/server/cli-B86rejVV.js +3 -0
- package/server/{cli-CbKNkFE5.js → cli-RoOx5DUf.js} +9 -9
- package/server/{cliproxy-Brf_5MuG.js → cliproxy-C8a1vtTU.js} +2 -2
- package/server/{cliproxy-bONZDBbC.js → cliproxy-fHfIeiGd.js} +1 -1
- package/server/{close-issue-CxReRxIc.js → close-issue-DoOifFIK.js} +5 -5
- package/server/{closed-issue-reaper-CQ3kqha7.js → closed-issue-reaper-Bk3SU4RC.js} +9 -9
- package/server/{closed-issue-reaper-DXP2Xyv3.js → closed-issue-reaper-CktPXo8m.js} +1 -1
- package/server/{codex-CbmztVcc.js → codex-BZXGhUVB.js} +27 -8
- package/server/codex-GcHuUF-k.js +3 -0
- package/server/{codex-parser-jl8AeAmB.js → codex-parser-CFZ1_1Jl.js} +2 -2
- package/server/{config-q4Gvd8dq.js → config-BZ0sHTju.js} +2 -2
- package/server/{config-DeTsoZdR.js → config-CKxYiCmX.js} +2 -2
- package/server/{config-BJKocXKd.js → config-DzV30TOm.js} +1 -1
- package/server/{config-yaml-ig8Nwtiw.js → config-yaml-DySPNmKN.js} +77 -194
- package/server/{conflict-gate-CFqPVxEg.js → conflict-gate-BaCVrH-N.js} +3 -3
- package/server/{conflict-gate-CHU9K1vU.js → conflict-gate-BhAY7TUd.js} +1 -1
- package/server/context-layers-BrPmE__h.js +4 -0
- package/server/context-layers-igZ4FI4_.js +37 -0
- package/server/{control-settings-D_odMIaC.js → control-settings-BQp7_4uD.js} +4 -4
- package/server/{conversation-compaction-B6YSRLda.js → conversation-compaction-CgrR8YYp.js} +8 -8
- package/server/{conversation-compaction-CN4-5YYt.js → conversation-compaction-eQB5CkOe.js} +1 -1
- package/server/{conversation-service-Dq33SYEj.js → conversation-service-BLd3MYsG.js} +1 -1
- package/server/{conversation-service-C3avRVEr.js → conversation-service-DPJ71F33.js} +329 -19
- package/server/{conversations-bYpM9-kZ.js → conversations-6AfUfbwc.js} +5 -5
- package/server/{conversations-H9if0bCQ.js → conversations-CAsJF9kh.js} +1 -1
- package/server/{cost-Codk1pc2.js → cost-B2ddP6wq.js} +18 -2
- package/server/{cost-wH46-WsJ.js → cost-R-m6Yi-W.js} +3 -3
- package/server/{cost-sync-D_cre6WM.js → cost-sync-BsN6ER0n.js} +3 -3
- package/server/{dag-CJpgf9A3.js → dag-B1ucnjDU.js} +9 -9
- package/server/{dangerous-git-ops-D6AF-Hg_.js → dangerous-git-ops-BXqeWVSf.js} +1 -1
- package/server/dashboard-db-worker.js +7 -7
- package/server/{deacon-CkT_kznS.js → deacon-CU_cAYSR.js} +406 -607
- package/server/{deacon-B8HbQdqU.js → deacon-kiQrb4ZT.js} +3 -3
- package/server/{deacon-nudge-log-D6K9K-rE.js → deacon-nudge-log-6wVqAaqz.js} +3 -3
- package/server/{deacon-swarm-BryRr6AO.js → deacon-swarm-BXZZ1Z2-.js} +17 -17
- package/server/deacon-swarm-C-GwfjJy.js +2 -0
- package/server/deacon.js +8 -8
- package/server/{deploy-patrol-1IrZxicY.js → deploy-patrol-AiFoP8dw.js} +136 -19
- package/server/{deploy-window-wDf4UgHt.js → deploy-window-C3F-tihF.js} +77 -10
- package/server/{deploy-window-7ZYHh7Zp.js → deploy-window-DkZraDyj.js} +1 -1
- package/server/{dev-supervisor-C7p9kEpc.js → dev-supervisor-bcOWqdQE.js} +2 -2
- package/server/{devcontainer-renderer-CNmQy0pL.js → devcontainer-renderer-_d6XhyND.js} +3 -3
- package/server/dist-Bzy0y69j.js +3 -0
- package/server/{dist-D-Ed5yVw.js → dist-Cb_0uvpS.js} +1 -1
- package/server/{docker-BCZ89M9X.js → docker-DcMTFTUC.js} +2 -2
- package/server/{dod-DbJLYcHv.js → dod-C6n9RV3G.js} +1 -1
- package/server/{ensure-devcontainer-Cs6W9Yzj.js → ensure-devcontainer-BZgOhRo7.js} +1 -1
- package/server/{ensure-devcontainer-V5JWaAva.js → ensure-devcontainer-DNi-ono3.js} +4 -4
- package/server/{esm-shims-dTeNdq7X.js → esm-shims-OSHAYaS1.js} +1 -1
- package/server/{event-store-TnWdydfB.js → event-store-CQL6NeqB.js} +3 -3
- package/server/{event-store-CpBGsO6_.js → event-store-EV2cMiXj.js} +1 -1
- package/server/{events-Dsuv6qyB.js → events-BTdrdEq8.js} +1 -1
- package/server/{events-DSUdR-04.js → events-DTfAe4My.js} +3 -3
- package/server/{factory-BMrK4TrE.js → factory-CFibJuaw.js} +50 -13
- package/server/{feature-registry-population-B-CI9hgE.js → feature-registry-population-DKZFMbFt.js} +4 -4
- package/server/{feature-registry-storage-B972ph_A.js → feature-registry-storage-BdPuLcBX.js} +2 -2
- package/server/{features-Bc-Bmiye.js → features-ez2271oH.js} +2 -2
- package/server/{feedback-target-DZ-iAnAa.js → feedback-target-7mqqwrX6.js} +7 -7
- package/server/{feedback-target-DS6NUuSs.js → feedback-target-CoFDHiM8.js} +1 -1
- package/server/{feedback-writer-BXP6g75N.js → feedback-writer-CY5L1lB7.js} +6 -5
- package/server/{feedback-writer-Bx5z11mF.js → feedback-writer-D3a22RCd.js} +1 -1
- package/server/flywheel-DHrgCphM.js +1084 -0
- package/server/flywheel-DzGtWnJ1.js +477 -0
- package/server/flywheel-SVF02Jpq.js +2 -0
- package/server/{flywheel-merge-order-CTgHeg-W.js → flywheel-merge-order-UU0tiUld.js} +10 -9
- package/server/{flywheel-merge-order-CNKAY489.js → flywheel-merge-order-UUcsCDb6.js} +1 -1
- package/server/{forge-B1S_KZv4.js → forge-CNFnyqps.js} +2 -2
- package/server/forge-DXnS_YFH.js +2 -0
- package/server/{from-DpwQ-sc3.js → from-kNxT0bZC.js} +1 -1
- package/server/{fts-db-DmAcuCkV.js → fts-db-CE46vDkZ.js} +2 -2
- package/server/{fts-operations-7d_RkmWp.js → fts-operations-CqY6zl-i.js} +2 -2
- package/server/{git-utils-Cc3FHDKd.js → git-utils-CRw2zLPC.js} +68 -3
- package/server/git-utils-D0_yhCgF.js +3 -0
- package/server/{github-app-CDPtGF7J.js → github-app-C3QrAUd0.js} +27 -8
- package/server/{github-app-CU14oYzP.js → github-app-ClZ2lk8D.js} +1 -1
- package/server/{github-client-XjTJbBm7.js → github-client-BnIsSrEN.js} +2 -2
- package/server/{github-client-CwBZZ3t7.js → github-client-DfQYVUaw.js} +1 -1
- package/server/{github-pr-lookup-CFGeVhqv.js → github-pr-lookup-D16NGsSO.js} +2 -2
- package/server/{harness-binary-B2CTcD84.js → harness-binary-DPUi-Pv8.js} +32 -6
- package/server/{harness-resolve-D5FVQTmy.js → harness-resolve-3lNZkyT4.js} +18 -9
- package/server/{health-events-DREeevle.js → health-events-BBcTYQKU.js} +2 -2
- package/server/{health-events-C1whmd58.js → health-events-BDOHby5Q.js} +1 -1
- package/server/{hooks-yxRsjk-z.js → hooks-CKZgXlJb.js} +2 -2
- package/server/{hooks-B-HItBiS.js → hooks-DPVX1rwQ.js} +1 -1
- package/server/{hume-Dz_OymXE.js → hume-Cz8igP9E.js} +2 -2
- package/server/hume-ccTf4wTX.js +3 -0
- package/server/{idle-stack-reaper-DrCv0OAG.js → idle-stack-reaper-CuLF0j2H.js} +1 -1
- package/server/{idle-stack-reaper-Yf34xXxY.js → idle-stack-reaper-DDIRwxUY.js} +2 -2
- package/server/{in-flight-guard-BoWm66Kh.js → in-flight-guard-CAAkqPLu.js} +2 -2
- package/server/{infra-D4iNWMA5.js → infra-BEqFxlJc.js} +14 -4
- package/server/{injection-D7T75Pye.js → injection-C8aiVJrF.js} +191 -183
- package/server/{injection-BVNa4MQW.js → injection-CPUIqNhI.js} +1 -1
- package/server/{inspect-agent-BXCgNeZ4.js → inspect-agent-BLuJ1AkT.js} +137 -81
- package/server/inspect-agent-Brtz0URj.js +2 -0
- package/server/{internal-token-C9DdEOKY.js → internal-token-BrcU6qfe.js} +1 -1
- package/server/{internal-token-CXsfxslp.js → internal-token-s0-oKybJ.js} +2 -2
- package/server/{io-DQR9PMgS.js → io-C9kF1wtJ.js} +160 -184
- package/server/{issue-closed-DtmJM0D0.js → issue-closed-CDJk4pIp.js} +7 -7
- package/server/{issue-lifecycle-8PSS9Anq.js → issue-lifecycle-B8sZHVHh.js} +1 -1
- package/server/{issue-lifecycle-CeyW_HoD.js → issue-lifecycle-ojZAzDBP.js} +22 -22
- package/server/{issue-service-singleton-DBZabEl7.js → issue-service-singleton-BvJ09SaR.js} +1 -1
- package/server/{issue-service-singleton-D_RVYBuL.js → issue-service-singleton-Yx5DdmVJ.js} +8 -8
- package/server/{issues-pDW9VUNz.js → issues-BMmP_77e.js} +2 -2
- package/server/{jsonl-parser-C3HVNR5d.js → jsonl-parser-BXSlHwEh.js} +3 -3
- package/server/{label-cleanup-DPwiZlWo.js → label-cleanup-B0UJwnv5.js} +3 -3
- package/server/{label-reconciler-Df1ZduPH.js → label-reconciler-B4iOAjlC.js} +4 -4
- package/server/{launcher-generator-COgR2By1.js → launcher-generator-BBWG_SiS.js} +105 -10
- package/server/{lifecycle-io-taIb0PoH.js → lifecycle-io-BREGpnLk.js} +37 -37
- package/server/lifecycle-io-DPo7x11I.js +3 -0
- package/server/{lifecycle-CtPDcZ9u.js → lifecycle-xmBfK2GJ.js} +6 -6
- package/server/lifecycle-yPd___5E.js +121 -0
- package/server/{linear-client-DsFkIxee.js → linear-client-BsuUvkdA.js} +2 -2
- package/server/{linear-client-YwZMDIwQ.js → linear-client-CTskEeT_.js} +1 -1
- package/server/memory-fts-worker.js +1 -1
- package/server/{merge-BwsyNRJV.js → merge-B1DiziGU.js} +1 -1
- package/server/{merge-C1t-bspg.js → merge-CefQNAnq.js} +3 -3
- package/server/{merge-agent-DDiIjzk-.js → merge-agent-4WOWlSYA.js} +28 -28
- package/server/{merge-agent-B-SnXOoc.js → merge-agent-CKkgIBPB.js} +1 -1
- package/server/{merge-batch-Byt-QnEl.js → merge-batch-ClFn2T-y.js} +1 -1
- package/server/merge-ops-CR44oU9-.js +2 -0
- package/server/{merge-rebase-Cm6fXaZN.js → merge-rebase-BfaTyXsw.js} +2 -2
- package/server/merge-set-DJ8-UErs.js +83 -0
- package/server/{merge-set-6LEglm6o.js → merge-set-bUqbm3yc.js} +1 -1
- package/server/{merge-sync-B95_4in_.js → merge-sync-BJYeOODr.js} +1 -1
- package/server/{merge-sync-Do8_q32h.js → merge-sync-VPV28g0g.js} +2 -2
- package/server/{merge-train-CKana8EH.js → merge-train-CHopycP0.js} +3 -3
- package/server/{merge-train-deps-BgmqwIfA.js → merge-train-deps-D1cOZzy2.js} +4 -4
- package/server/{merge-verification-CqnUzGEK.js → merge-verification-BkaOqPsw.js} +4 -4
- package/server/{multipart-parser-tdOQDJ3o.js → multipart-parser-duPAfSBw.js} +2 -2
- package/server/{no-resume-mode-BWOSZjWd.js → no-resume-mode-Nw29vaFb.js} +11 -8
- package/server/node_modules/.package-lock.json +8 -8
- package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/package.json +3 -3
- package/server/node_modules/undici/README.md +5 -0
- package/server/node_modules/undici/docs/docs/api/Client.md +4 -0
- package/server/node_modules/undici/docs/docs/api/Dispatcher.md +6 -0
- package/server/node_modules/undici/docs/docs/api/Interceptors.md +59 -0
- package/server/node_modules/undici/docs/docs/api/MockAgent.md +27 -0
- package/server/node_modules/undici/docs/docs/api/MockPool.md +28 -1
- package/server/node_modules/undici/docs/docs/index.md +5 -0
- package/server/node_modules/undici/lib/core/request.js +1 -1
- package/server/node_modules/undici/lib/core/util.js +6 -1
- package/server/node_modules/undici/lib/dispatcher/agent.js +3 -3
- package/server/node_modules/undici/lib/dispatcher/client-h1.js +31 -6
- package/server/node_modules/undici/lib/dispatcher/client-h2.js +34 -43
- package/server/node_modules/undici/lib/handler/cache-handler.js +93 -5
- package/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +10 -0
- package/server/node_modules/undici/lib/handler/redirect-handler.js +5 -2
- package/server/node_modules/undici/lib/handler/retry-handler.js +6 -4
- package/server/node_modules/undici/lib/interceptor/cache.js +21 -4
- package/server/node_modules/undici/lib/interceptor/decompress.js +4 -0
- package/server/node_modules/undici/lib/mock/mock-interceptor.js +25 -7
- package/server/node_modules/undici/lib/mock/mock-utils.js +39 -10
- package/server/node_modules/undici/lib/util/cache.js +49 -7
- package/server/node_modules/undici/lib/web/fetch/body.js +2 -1
- package/server/node_modules/undici/lib/web/fetch/response.js +1 -3
- package/server/node_modules/undici/package.json +2 -2
- package/server/node_modules/undici/types/client.d.ts +2 -2
- package/server/node_modules/undici/types/dispatcher.d.ts +3 -3
- package/server/node_modules/undici/types/mock-interceptor.d.ts +5 -1
- package/server/{orphan-proposed-reconciler-xklgvNA7.js → orphan-proposed-reconciler-BvKkWMJQ.js} +15 -13
- package/server/{orphan-proposed-reconciler-DSvsJ5M7.js → orphan-proposed-reconciler-CTSGcK8p.js} +1 -1
- package/server/package-lock.json +9 -9
- package/server/package.json +1 -1
- package/server/{pan-dir-DOcf6ug3.js → pan-dir-B0c3w0Ya.js} +78 -58
- package/server/{paths-DooHpt9p.js → paths-D-xWGHdh.js} +2 -2
- package/server/{pickup-CaskQ7j6.js → pickup-DUCLWrJY.js} +17 -16
- package/server/{pipeline-membership-1LGRjo-k.js → pipeline-membership-mY3GprlK.js} +186 -67
- package/server/{pipeline-notifier-CZsrU_nj.js → pipeline-notifier-BJr8gQX6.js} +1 -1
- package/server/{pipeline-notifier-B6FVsYF9.js → pipeline-notifier-BXkJzDC4.js} +2 -2
- package/server/{project-pipelines-CtNG_rvs.js → project-pipelines-C0MWUeCU.js} +2 -2
- package/server/project-repos-B6GycDh9.js +94 -0
- package/server/project-repos-DXKQsc_m.js +3 -0
- package/server/projects-vjjcmiN8.js +3 -0
- package/server/{prompts-EvhMeeHG.js → prompts-DxzFXuLl.js} +2 -2
- package/server/{providers-BDDPULlp.js → providers-qQAwGQDW.js} +7 -7
- package/server/{providers-DNSQqy2V.js → providers-u4Ga0jOr.js} +1 -1
- package/server/public/assets/{chunk-BO2N2NFS-sym_ufXe.js → chunk-BO2N2NFS-BamJdinX.js} +4 -4
- package/server/public/assets/{diagram-OG6HWLK6-CQJPBNBu.js → diagram-OG6HWLK6-DfOB8-w4.js} +1 -1
- package/server/public/assets/{dist-DukGS2YZ.js → dist-ByIuzMQW.js} +3 -3
- package/server/public/assets/{dist-Bio7THQU.js → dist-D7zYSEA6.js} +1 -1
- package/server/public/assets/{ganttDiagram-6RSMTGT7-D4lWwte3.js → ganttDiagram-6RSMTGT7-EdmRyXL3.js} +1 -1
- package/server/public/assets/{highlighted-body-OFNGDK62-CaLboCt5.js → highlighted-body-OFNGDK62-MerOfTX8.js} +1 -1
- package/server/public/assets/{index-Bwejq-5s.js → index-CWeMerGO.js} +147 -144
- package/server/public/assets/index-CenuJ3Cw.css +1 -0
- package/server/public/assets/{linear-qUWmMZ-c.js → linear-BBbArIcK.js} +1 -1
- package/server/public/assets/mermaid-GHXKKRXX-CpPWAFwE.js +1 -0
- package/server/public/assets/{pieDiagram-4H26LBE5-C4zYulEm.js → pieDiagram-4H26LBE5-BKIddiJN.js} +1 -1
- package/server/public/assets/{prod-C8VtLuWC.js → prod-B8vYiu52.js} +4 -4
- package/server/public/assets/{quadrantDiagram-W4KKPZXB-qP04zyZC.js → quadrantDiagram-W4KKPZXB-D6RtoULk.js} +1 -1
- package/server/public/assets/{sankeyDiagram-5OEKKPKP-eMPTX_cG.js → sankeyDiagram-5OEKKPKP-CLrCedZX.js} +1 -1
- package/server/public/assets/{xychartDiagram-2RQKCTM6-Dme1PIt6.js → xychartDiagram-2RQKCTM6-hznR8DYl.js} +1 -1
- package/server/public/index.html +2 -2
- package/server/{pull-requests-By_BteaL.js → pull-requests-7N8WKseP.js} +1 -1
- package/server/{pull-requests-8z2N1UOV.js → pull-requests-_lHueOHW.js} +13 -11
- package/server/{queries-ZABd5aXP.js → queries-CjNIf-Ub.js} +1200 -201
- package/server/{rally-i_goYmiA.js → rally-CyWT_lNO.js} +3 -3
- package/server/{rally-api-DqKqIMNR.js → rally-api-C8e_1JRi.js} +2 -2
- package/server/{rally-api-xHazRk0d.js → rally-api-ClOSd-Tt.js} +1 -1
- package/server/{rally-client-COYz1vYR.js → rally-client-lc-nokqr.js} +4 -4
- package/server/{rally-client-CGWEHaPd.js → rally-client-sgtVqzNU.js} +1 -1
- package/server/rally-zhhtXuDP.js +3 -0
- package/server/{reap-terminal-sessions-CaMkFOIH.js → reap-terminal-sessions-7KeHv1R1.js} +1 -1
- package/server/{reap-terminal-sessions-DG9eiMVz.js → reap-terminal-sessions-BtHPo6Xc.js} +1 -1
- package/server/rebuild-stack-CFvcBHsS.js +4 -0
- package/server/{rebuild-stack-JUm0jqYP.js → rebuild-stack-lwtsW0GO.js} +26 -35
- package/server/{reconstruct-cache-wU79aCee.js → reconstruct-cache-C3Ui7ojV.js} +6 -6
- package/server/record-CN0pj4_5.js +3 -0
- package/server/{record-update-D3N6WMFR.js → record-update-bLJxAXH4.js} +1 -1
- package/server/record-update-dE1Aw83j.js +310 -0
- package/server/{recovery-trip-DkzJSej9.js → recovery-trip-BvRWfUXM.js} +2 -2
- package/server/{release-engine-DMINVN8S.js → release-engine-Cx48W7z8.js} +5 -5
- package/server/{release-set-DeUSOEHy.js → release-set-CQfuN9-v.js} +3 -3
- package/server/{remote-b-c5bOce.js → remote-C_2hasl7.js} +3 -3
- package/server/{remote-Dr5kGYSZ.js → remote-ChgimyYa.js} +3 -3
- package/server/{remote-agents-Ct_WOyke.js → remote-agents-By1ige5O.js} +6 -6
- package/server/{remote-agents-D6O_zETW.js → remote-agents-CA3Ihlxj.js} +1 -1
- package/server/{remote-completion-Dca3hAaa.js → remote-completion-fVe9e_3u.js} +12 -12
- package/server/resume-BFv1PGpA.js +3 -0
- package/server/{review-agent-CThvgK2r.js → review-agent-CIGOQYBD.js} +29 -25
- package/server/{review-agent-CCum8sGe.js → review-agent-DNboMyW4.js} +1 -1
- package/server/{review-artifacts-CXywD0F2.js → review-artifacts-nRDPuMxd.js} +5 -5
- package/server/{review-context-OYfKUprb.js → review-context-2uj-YQ8J.js} +70 -26
- package/server/review-status-btEYlaxA.js +3 -0
- package/server/{review-status-enrichment-crNAtIpL.js → review-status-enrichment-Dci-ZwEt.js} +3 -3
- package/server/{review-status-DFRjDFef.js → review-status-kZj_KyCk.js} +77 -28
- package/server/{review-status-sync-DpAMD_WO.js → review-status-sync-BTOpxtTC.js} +10 -5
- package/server/{review-status-sync-D60PJWNL.js → review-status-sync-DSDK3OMy.js} +1 -1
- package/server/{review-verdict-feedback-CpUZl5aE.js → review-verdict-feedback-CCjVA7Uk.js} +6 -6
- package/server/{review-verdict-feedback-JImjut0z.js → review-verdict-feedback-CTd4QMBu.js} +1 -1
- package/server/{rollup-CZ02qgxk.js → rollup-BKQC7jp4.js} +1 -1
- package/server/{rollup-SyuF09e4.js → rollup-FGsKki9R.js} +8 -8
- package/server/{scanner-Br0Z5S6R.js → scanner-CnqEZeDy.js} +45 -14
- package/server/{sequence-io-fxU0DlwW.js → sequence-io-D909zgeH.js} +4 -4
- package/server/{sequencer-agent-B5YC5XVP.js → sequencer-agent-CzkcK6P5.js} +5 -5
- package/server/server.js +2961 -919
- package/server/{service-Bagb90KZ.js → service-CLeAoU6G.js} +55 -54
- package/server/{session-fork-BqQxd-V6.js → session-fork-CHI1XvL9.js} +2 -2
- package/server/{session-history-XdS0JKp3.js → session-history-BT3IvqhC.js} +4 -4
- package/server/settings-66A6uvIA.js +2 -0
- package/server/{settings-BNbocWOg.js → settings-BTMvpNFU.js} +3 -3
- package/server/{settings-uLc6DEYI.js → settings-C0zgxOGf.js} +2 -2
- package/server/{shadow-engineering-D4X_s3fA.js → shadow-engineering-BJfgm-hX.js} +2 -2
- package/server/{shadow-state-C_NkP-sa.js → shadow-state-7a-524T8.js} +2 -2
- package/server/{shadow-state-CbvsN3qG.js → shadow-state-DnDyjujH.js} +1 -1
- package/server/{shadow-utils-CYMRPeRT.js → shadow-utils-Db3oroFG.js} +2 -2
- package/server/{ship-log-__QtAFXG.js → ship-log-D9MlVzYU.js} +1 -1
- package/server/{smart-compaction-jdMkG1vo.js → smart-compaction-CV2ukKND.js} +1 -1
- package/server/{smart-compaction-CLZOWin1.js → smart-compaction-KCYScAU1.js} +7 -7
- package/server/{spawn-planning-session-D5OXo8pT.js → spawn-planning-session-DKpdFyOC.js} +35 -27
- package/server/{spawn-planning-session-8D6mE033.js → spawn-planning-session-qUC2VWu3.js} +1 -1
- package/server/{specialist-completion-CqmduO92.js → specialist-completion-Ky9wCDpb.js} +1 -1
- package/server/{specialist-context-CJ-QjFR-.js → specialist-context-Bn3dCGS2.js} +5 -5
- package/server/{specialist-handoff-logger-Dnjlwt7g.js → specialist-handoff-logger-CMEwYxa2.js} +2 -2
- package/server/{specialist-logs-CQnKzuZs.js → specialist-logs-C5p8G7tx.js} +3 -3
- package/server/{specialists-Bg9v4z3F.js → specialists-CC4r-c2s.js} +1015 -460
- package/server/{specialists-D0gGXMZx.js → specialists-CShuVGWT.js} +1 -1
- package/server/specialists-DM6bWjsi.js +3 -0
- package/server/{specialists-CwZHb5cb.js → specialists-jiuuyVkp.js} +66 -74
- package/server/specs-C8Wsn2XO.js +3 -0
- package/server/{src-BMMoA_ba.js → src-CXmtj0im.js} +6 -6
- package/server/{src-Bqdtd6po.js → src-CdmnTM2m.js} +5 -5
- package/server/{src-k039WVYY.js → src-DtcUOZCq.js} +112 -18
- package/server/stack-health-Bn3o8FBX.js +3 -0
- package/server/{stack-health-C-ifC7b0.js → stack-health-DxSdG9cW.js} +63 -9
- package/server/{stale-task-claims-L7pJkQFL.js → stale-task-claims-KJKxxiiQ.js} +4 -4
- package/server/{staleness-_Tr-GwdA.js → staleness-CT34nwr9.js} +1 -1
- package/server/{staleness-BID1BKdr.js → staleness-DPm7ClwA.js} +15 -3
- package/server/{state-home-CONQvZR0.js → state-home-Cn_Qu8IX.js} +96 -44
- package/server/{state-migrate-BeBW0KXA.js → state-migrate-BGg2ZaOt.js} +12 -3
- package/server/{stuck-remediation-CKnIryGT.js → stuck-remediation-DYuPRYYw.js} +307 -26
- package/server/{stuck-remediation-CsGD5Ksb.js → stuck-remediation-s9_2qfi6.js} +1 -1
- package/server/{substrate-bug-weights-service-CpIZILj9.js → substrate-bug-weights-service-B-FwCs5V.js} +3 -3
- package/server/{summary-fork-bX6ax6X7.js → summary-fork-D1RAk9rJ.js} +78 -12
- package/server/{summary-fork-agEMsPSo.js → summary-fork-DpcxN9tf.js} +2 -2
- package/server/supervisor/{injection-budget-C1iPirFS.js → injection-budget-Csw5tqfJ.js} +2 -41
- package/server/supervisor/pty-supervisor.js +2 -1
- package/server/supervisor/pty-token-x-ea28Us.js +43 -0
- package/server/supervisor-FTJAIsAK.js +2 -0
- package/server/{supervisor-Ctt4eRYz.js → supervisor-wM4ooB5O.js} +3 -3
- package/server/{swarm-readiness-DdmJVX7y.js → swarm-readiness-DlP_UjHq.js} +4 -4
- package/server/{system-prerequisites-DSXBvffY.js → system-prerequisites-DUDj1YHf.js} +56 -29
- package/server/{teardown-workspace-DDCf5n-a.js → teardown-workspace-DeTTImn-.js} +15 -15
- package/server/{test-agent-queue-BJZ9Nfcc.js → test-agent-queue-MbxX5vqq.js} +7 -7
- package/server/{test-verdict-Cp5tljlJ.js → test-verdict-bWYBtqBg.js} +1 -1
- package/server/{test-verdict-D_-sXIz_.js → test-verdict-gscuksPv.js} +1 -1
- package/server/{tldr-daemon-B8_oT5gx.js → tldr-daemon-BYFkts95.js} +1 -1
- package/server/{tldr-daemon-BQFmmFp0.js → tldr-daemon-C-69c3OI.js} +2 -2
- package/server/tmux-B6z7h_vZ.js +3 -0
- package/server/{tmux-L5LgvGLp.js → tmux-R7N7y-Mh.js} +76 -44
- package/server/{token-BkQLy4yS.js → token-BK6t8BIT.js} +2 -2
- package/server/token-util-DuPuNriz.js +3 -0
- package/server/{token-util-DI8sGlmF.js → token-util-DxXu-vd1.js} +1 -1
- package/server/{tracker-config-DdT-nUAM.js → tracker-config-G6latr8C.js} +2 -2
- package/server/{tracker-utils-DV3h1FYG.js → tracker-utils-B4ylXZQK.js} +1 -1
- package/server/{tracker-utils-CawsPSS2.js → tracker-utils-DHv5pSDT.js} +2 -2
- package/server/{traefik-connect-C6mJckNs.js → traefik-connect-Df2uXPsQ.js} +1 -1
- package/server/{tunnel-IdK1iTHx.js → tunnel-CDVKJpRv.js} +3 -3
- package/server/{tunnel-BIFl98rc.js → tunnel-DGdUkGoZ.js} +1 -1
- package/server/{types-7-GnJn0t.js → types-5M0lupud.js} +1 -1
- package/server/{uat-train-0Ujk8GCv.js → uat-train-B05BWkp-.js} +1 -1
- package/server/{uat-train-j0cPeMSj.js → uat-train-DDSrSoV1.js} +28 -28
- package/server/validate-IfDGkaVR.js +177 -0
- package/server/{validation-DcAgXTQp.js → validation-CC9OPqJZ.js} +1 -1
- package/server/{validation-CabEISJT.js → validation-Dw1pzDzr.js} +259 -9
- package/server/{verification-artifact-Ck1tefmz.js → verification-artifact-B3itKTxu.js} +1 -1
- package/server/{verification-artifact-BuTA1QbL.js → verification-artifact-TVFSz_q1.js} +1 -1
- package/server/{verification-runner-DlJezzef.js → verification-runner-BW4HOKAz.js} +1 -1
- package/server/{verification-runner-FiuAZ-H2.js → verification-runner-CkgX6EtI.js} +174 -124
- package/server/{vtt-parser-BnRsYzcz.js → vtt-parser-DYPbKcIJ.js} +1 -1
- package/server/{work-agent-prompt-DLthEPAq.js → work-agent-prompt-Du8Vh2aJ.js} +13 -13
- package/server/workflows-BQu4RFQ-.js +2 -0
- package/server/{workflows-BZNNYkGC.js → workflows-mbQzh6mQ.js} +39 -77
- package/server/{workspace-3IC-UkAi.js → workspace--8tnhDI0.js} +1 -1
- package/server/{workspace-D9ppycdg.js → workspace-BPUws1-_.js} +3 -3
- package/server/{workspace-config-Bigl_-Lk.js → workspace-config-CIVWZOQr.js} +1 -1
- package/server/{workspace-manager-ClkCIWTe.js → workspace-manager-CBhNdzE4.js} +76 -18
- package/server/workspace-manager-CWT55qeI.js +3 -0
- package/server/{workspace-metadata-BE0efUv_.js → workspace-metadata-BzHnwwX4.js} +1 -1
- package/server/{workspace-metadata-tiSRIWJP.js → workspace-metadata-_WygnyoX.js} +2 -2
- package/server/{workspaces-CFPcL0vl.js → workspaces-Do_9J0LQ.js} +309 -124
- package/sync-sources/agents/pan-inspect-agent.md +1 -1
- package/sync-sources/agents/pan-merge-agent.md +1 -1
- package/sync-sources/agents/pan-planning-agent.md +4 -4
- package/sync-sources/agents/pan-work-agent.md +1 -1
- package/sync-sources/dev-skills/pan-commit/SKILL.md +1 -1
- package/sync-sources/dev-skills/test-specialist-workflow/SKILL.md +1 -1
- package/sync-sources/hooks/record-cost-event.js +369 -75
- package/sync-sources/hooks/session-start-hook +7 -0
- package/sync-sources/hooks/work-agent-stop-hook +1 -1
- package/sync-sources/rules/per-bead-durability.md +1 -1
- package/sync-sources/rules/prd-authoring.md +1 -1
- package/sync-sources/skills/feature-work/SKILL.md +1 -1
- package/sync-sources/skills/okf/README.md +11 -3
- package/sync-sources/skills/okf/SKILL.md +12 -1
- package/sync-sources/skills/okf/docs/USAGE.md +15 -0
- package/sync-sources/skills/okf/references/overdeck.md +28 -0
- package/sync-sources/skills/pan/SKILL.md +2 -2
- package/sync-sources/skills/pan-admin-config/SKILL.md +1 -0
- package/sync-sources/skills/pan-approve/SKILL.md +1 -1
- package/sync-sources/skills/pan-close/SKILL.md +1 -1
- package/sync-sources/skills/pan-doctor/SKILL.md +1 -1
- package/sync-sources/skills/pan-flywheel/SKILL.md +18 -1
- package/sync-sources/skills/pan-knowledge/SKILL.md +10 -0
- package/sync-sources/skills/pan-new-project/SKILL.md +9 -11
- package/sync-sources/skills/pan-orders/SKILL.md +33 -0
- package/sync-sources/skills/pan-oversee/SKILL.md +5 -5
- package/sync-sources/skills/pan-plan/SKILL.md +6 -6
- package/sync-sources/skills/pan-quickstart/SKILL.md +1 -1
- package/sync-sources/skills/pan-recap/SKILL.md +2 -2
- package/sync-sources/skills/pan-review/SKILL.md +1 -1
- package/sync-sources/skills/pan-start/SKILL.md +7 -3
- package/sync-sources/skills/pan-swarm/SKILL.md +1 -1
- package/sync-sources/skills/pan-sync/SKILL.md +1 -1
- package/sync-sources/skills/pan-task/SKILL.md +2 -2
- package/sync-sources/skills/pan-wipe/SKILL.md +2 -2
- package/sync-sources/skills/pipeline-list/SKILL.md +1 -1
- package/sync-sources/skills/pipeline-status/SKILL.md +2 -2
- package/sync-sources/skills/plan/SKILL.md +11 -11
- package/sync-sources/skills/write-vbrief/SKILL.md +7 -282
- package/sync-sources/skills/write-xbrief/SKILL.md +295 -0
- package/sync-sources/templates/claude-md/sections/warnings.md +1 -1
- package/sync-sources/templates/traefik/dynamic/overdeck.yml.template +10 -0
- package/server/agent-state-Co5Sy2Fw.js +0 -3
- package/server/agents-DyHKlq1I.js +0 -3
- package/server/cli-BRORS9qY.js +0 -3
- package/server/codex-DNyiQDKW.js +0 -3
- package/server/context-layers-15gDOk20.js +0 -165
- package/server/context-layers-DlQKkHH2.js +0 -4
- package/server/deacon-swarm-CV54eNmU.js +0 -2
- package/server/dist-j64RzSrQ.js +0 -3
- package/server/flywheel-6WHU4O7A.js +0 -207
- package/server/flywheel-COR0mbRI.js +0 -522
- package/server/flywheel-Ctr5uuvo.js +0 -2
- package/server/forge-B0_opi-V.js +0 -2
- package/server/git-utils-CsKGnzFA.js +0 -3
- package/server/hume-BmhvfVbV.js +0 -3
- package/server/inspect-agent-Dq0z1k3H.js +0 -2
- package/server/layers-Cp1To4L8.js +0 -93
- package/server/lifecycle-io-DmY2qwCn.js +0 -3
- package/server/merge-blockers-BYjeXrVN.js +0 -41
- package/server/merge-ops-DwWCkSgo.js +0 -2
- package/server/merge-set-DiISXcC-.js +0 -139
- package/server/projects-BKkwpH6q.js +0 -3
- package/server/public/assets/index-Bdc4V9ba.css +0 -1
- package/server/public/assets/mermaid-GHXKKRXX-B5v_r7cI.js +0 -1
- package/server/rally-OSJXdiHK.js +0 -3
- package/server/rebuild-stack-CKjJAI8L.js +0 -3
- package/server/record-rwK-nKv_.js +0 -3
- package/server/record-update-Crz74r-6.js +0 -168
- package/server/resume-wZZsWtzz.js +0 -3
- package/server/review-status-Bnh-rdkY.js +0 -3
- package/server/settings-BlUsVaUc.js +0 -2
- package/server/specialists-Dqe6_HE5.js +0 -3
- package/server/specs-BhOKBzqk.js +0 -3
- package/server/stack-health-Bd06frFn.js +0 -3
- package/server/supervisor-COVHrBTg.js +0 -2
- package/server/tmux-BAvtac_u.js +0 -3
- package/server/token-util-BArZLN6w.js +0 -3
- package/server/workflows-C4mR0Reb.js +0 -2
- package/server/workspace-manager-B1WOfKvB.js +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./config-yaml-
|
|
2
|
-
import { E as handleAgentStoppedForOrphanReviewerSessions, T as handleAgentStoppedEvent, mt as handleWorkCompleted, pt as handleReviewCoordinatorDied, w as handleAgentHeartbeatDeadEvent } from "./deacon-
|
|
3
|
-
import "./deacon-swarm-
|
|
1
|
+
import "./config-yaml-DySPNmKN.js";
|
|
2
|
+
import { E as handleAgentStoppedForOrphanReviewerSessions, T as handleAgentStoppedEvent, mt as handleWorkCompleted, pt as handleReviewCoordinatorDied, w as handleAgentHeartbeatDeadEvent } from "./deacon-CU_cAYSR.js";
|
|
3
|
+
import "./deacon-swarm-BXZZ1Z2-.js";
|
|
4
4
|
export { handleAgentHeartbeatDeadEvent, handleAgentStoppedEvent, handleAgentStoppedForOrphanReviewerSessions, handleReviewCoordinatorDied, handleWorkCompleted };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Vr as init_paths, xr as CONFIG_FILE } from "./config-yaml-DySPNmKN.js";
|
|
2
2
|
import { t as require_toml } from "./toml-CeLDATih.js";
|
|
3
|
-
import { n as init_build_info, t as getBuildInfo } from "./build-info-
|
|
3
|
+
import { n as init_build_info, t as getBuildInfo } from "./build-info-Ie_D0_BT.js";
|
|
4
4
|
import { dirname, join, relative, resolve, sep } from "node:path";
|
|
5
5
|
import { homedir } from "node:os";
|
|
6
6
|
import { appendFileSync, existsSync, mkdirSync, readFileSync, statSync } from "node:fs";
|
|
@@ -78,4 +78,4 @@ function recordDeaconNudge(nudge) {
|
|
|
78
78
|
//#endregion
|
|
79
79
|
export { shouldRefuseHostDashboardPort as a, readHostDashboardApiPort as i, getDashboardIdentity as n, isNonPrimaryCheckoutRoot as r, recordDeaconNudge as t };
|
|
80
80
|
|
|
81
|
-
//# sourceMappingURL=deacon-nudge-log-
|
|
81
|
+
//# sourceMappingURL=deacon-nudge-log-6wVqAaqz.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as updateIssueRecord, r as updateIssueRecordForWorkspace, t as init_record_update } from "./record-update-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { C as init_specs, d as readPlanSync, i as findPlanSync, n as applyStatusOverrides, o as init_io, v as init_types, x as findSpecByIssue, y as subItemsOf } from "./io-
|
|
7
|
-
import { s as init_control_settings, u as isDeaconGloballyPausedSync } from "./control-settings-
|
|
8
|
-
import { i as createActiveSlice, l as init_dag, n as blockingParentCount, o as getDispatchableItems } from "./dag-
|
|
9
|
-
import { a as loadCloisterConfigSync, r as init_config } from "./config-
|
|
10
|
-
import { r as init_swarm_readiness, t as analyzeSwarmReadiness } from "./swarm-readiness-
|
|
11
|
-
import { t as recordRecoveryFailure } from "./recovery-trip-
|
|
1
|
+
import { D as resolveTieredExecutionEnabled, Dt as getProjectConfigFromWorkspacePath, Ft as resolveProjectForIssue, Mt as readIssueRecordForWorkspaceSync, Nt as readIssueRecordSync, Ot as init_record, T as init_tier_table, Tn as init_projects, Tt as getIssueRecordPathForWorkspace, Xt as isStatePlaneOnlyStatus, Yt as init_state_plane, f as loadConfigSync, kn as listProjectsSync, t as init_config_yaml, yn as getProjectSync, zn as resolveProjectFromIssueSync } from "./config-yaml-DySPNmKN.js";
|
|
2
|
+
import { n as updateIssueRecord, r as updateIssueRecordForWorkspace, t as init_record_update } from "./record-update-dE1Aw83j.js";
|
|
3
|
+
import { A as listPaneValues, E as isPaneDead, H as sessionExists, M as listSessionNames, i as capturePane, w as init_tmux } from "./tmux-R7N7y-Mh.js";
|
|
4
|
+
import { b as setReviewStatusSync, c as getReviewStatusSync, l as init_review_status } from "./review-status-kZj_KyCk.js";
|
|
5
|
+
import { A as spawnTierSupervisor, D as init_tier_supervisor, Dt as init_memory_verdict_cache, E as deliverCommitForReview, Et as getCachedMemoryVerdict, Ht as defaultRunWorkspace, I as init_slot_reconcile, Kn as getAgentResumeGateBlockReason, L as listSlotAssignments, M as broadcastCommit, Mr as init_agent_runtime, N as init_tier_feed, O as loadPrdDraft, Qt as resolveTier, R as reconcileSlotState, Ut as init_spawn_prep, Wn as decideResumeGate, X as messageAgent, Xn as init_agent_state, Y as init_messaging, Yn as getAgentStateSync, Zt as init_resolve_tier, ct as init_spawn, dt as init_termination, ft as stopAgent, ht as countRunningSwarmSlotsForIssue, j as supervisorAgentId, jr as getAgentRuntimeSnapshot, k as shouldSupervise, ut as spawnRun, vt as getConcurrencyLimits, wt as tryReserveSwarmSlot, xt as releaseSwarmSlot, yt as init_concurrency } from "./queries-CjNIf-Ub.js";
|
|
6
|
+
import { C as init_specs, d as readPlanSync, i as findPlanSync, n as applyStatusOverrides, o as init_io, v as init_types, x as findSpecByIssue, y as subItemsOf } from "./io-C9kF1wtJ.js";
|
|
7
|
+
import { s as init_control_settings, u as isDeaconGloballyPausedSync } from "./control-settings-BQp7_4uD.js";
|
|
8
|
+
import { i as createActiveSlice, l as init_dag, n as blockingParentCount, o as getDispatchableItems } from "./dag-B1ucnjDU.js";
|
|
9
|
+
import { a as loadCloisterConfigSync, r as init_config } from "./config-CKxYiCmX.js";
|
|
10
|
+
import { r as init_swarm_readiness, t as analyzeSwarmReadiness } from "./swarm-readiness-DlP_UjHq.js";
|
|
11
|
+
import { t as recordRecoveryFailure } from "./recovery-trip-BvRWfUXM.js";
|
|
12
12
|
import { join } from "node:path";
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { existsSync, readdirSync } from "fs";
|
|
@@ -132,7 +132,7 @@ function commandFailure(error) {
|
|
|
132
132
|
//#region ../../lib/pan-dir/task-door.ts
|
|
133
133
|
init_swarm_readiness();
|
|
134
134
|
init_slot_reconcile();
|
|
135
|
-
/** Single task-mutation write door over the immutable
|
|
135
|
+
/** Single task-mutation write door over the immutable xBRIEF specification. */
|
|
136
136
|
init_record_update();
|
|
137
137
|
var TaskStatusChangeError = class extends Error {
|
|
138
138
|
constructor(message, details) {
|
|
@@ -187,9 +187,9 @@ async function applyTaskStatusChange(project, issueId, operation) {
|
|
|
187
187
|
let result;
|
|
188
188
|
await updateIssueRecord(project, normalizedIssueId, (record) => {
|
|
189
189
|
const planPath = findPlanSync(join(project.path, "workspaces", `feature-${normalizedIssueId.toLowerCase()}`));
|
|
190
|
-
if (!planPath) throw new Error(`The
|
|
190
|
+
if (!planPath) throw new Error(`The xBRIEF for ${normalizedIssueId} is missing or unreadable. Return the issue to planning before changing task state.`);
|
|
191
191
|
const item = applyStatusOverrides(readPlanSync(planPath), record.statusOverrides ?? {}).plan.items.find(({ id }) => id === operation.itemId);
|
|
192
|
-
if (!item) throw new Error(`Task ${operation.itemId} does not exist in the immutable
|
|
192
|
+
if (!item) throw new Error(`Task ${operation.itemId} does not exist in the immutable xBRIEF for ${normalizedIssueId}. Return the issue to planning to change scope.`);
|
|
193
193
|
const currentStatus = item.status;
|
|
194
194
|
const currentSequence = record.tasks?.sequence ?? 0;
|
|
195
195
|
const existingClaim = record.tasks?.claims[operation.itemId];
|
|
@@ -488,7 +488,7 @@ async function defaultRequestIssueReview(issueId, workspacePath) {
|
|
|
488
488
|
autoRequeueCount: 0,
|
|
489
489
|
reviewRequestedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
490
490
|
});
|
|
491
|
-
const { spawnReviewRoleForIssue } = await import("./review-agent-
|
|
491
|
+
const { spawnReviewRoleForIssue } = await import("./review-agent-DNboMyW4.js");
|
|
492
492
|
return Effect.runPromise(spawnReviewRoleForIssue({
|
|
493
493
|
issueId,
|
|
494
494
|
workspace: workspacePath,
|
|
@@ -1437,7 +1437,7 @@ function promptForDispatchItem(issueId, doc, item) {
|
|
|
1437
1437
|
"Do not implement this item yet. Summarize the blocking parent outputs into a concise context update for the implementation slot.",
|
|
1438
1438
|
`Blocking parents: ${parentIds.join(", ") || "(none)"}`,
|
|
1439
1439
|
"",
|
|
1440
|
-
"Persist the synthesis context on the
|
|
1440
|
+
"Persist the synthesis context on the xBRIEF item metadata as synthesisContext, commit it, then stop."
|
|
1441
1441
|
].join("\n");
|
|
1442
1442
|
}
|
|
1443
1443
|
function itemRequiresSynthesis(doc, item) {
|
|
@@ -1472,4 +1472,4 @@ function registeredSlotCapacityAvailable(issueId, selectedCount, liveSlotCount =
|
|
|
1472
1472
|
//#endregion
|
|
1473
1473
|
export { gcMergedSlots as _, getFailedMergeBlock as a, resolveSwarmPolicy as b, isSwarmAdvanceCoolingDown as c, recordStalledSlotRecovery as d, recordSwarmAdvanceFailure as f, decideAgentAutonomousRedrive as g, registeredSlotCapacityAvailable as h, dispatchNextWave as i, mergeReadySlots as l, recordSwarmFinalizedAt as m, classifyInFlightSlots as n, getFailedMergeBlocks as o, recordSwarmAdvanceSuccess as p, coordinateSwarmSlots as r, getSwarmFinalizedAt as s, allocateSlotIndex as t, recordFailedMergeBlock as u, gcOrphanedSlots as v, listFeatureWorkspaces as y };
|
|
1474
1474
|
|
|
1475
|
-
//# sourceMappingURL=deacon-swarm-
|
|
1475
|
+
//# sourceMappingURL=deacon-swarm-BXZZ1Z2-.js.map
|
package/server/deacon.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ut as init_auto_commit, Vt as flushAllPendingAutoCommits } from "./config-yaml-DySPNmKN.js";
|
|
2
2
|
import { a as init_activity_logger, o as setActivityEventStoreProvider } from "./activity-logger-DDlOIAML.js";
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import { r as setCloisterEventStoreProvider, t as getCloisterService } from "./service-
|
|
6
|
-
import { i as ensureInternalTokenSync, s as init_internal_token, t as INTERNAL_TOKEN_HEADER } from "./internal-token-
|
|
7
|
-
import { F as setAgentStatusChangedNotifier, I as setAgentStoppedNotifier, L as setMergeReadyNotifier, M as resetPatrolHeartbeatForStartup, N as runPatrol } from "./deacon-
|
|
8
|
-
import { t as enrichReviewStatus } from "./review-status-enrichment-
|
|
3
|
+
import { c as getReviewStatusSync, l as init_review_status } from "./review-status-kZj_KyCk.js";
|
|
4
|
+
import { b as init_agents, qn as getAgentState } from "./queries-CjNIf-Ub.js";
|
|
5
|
+
import { r as setCloisterEventStoreProvider, t as getCloisterService } from "./service-CLeAoU6G.js";
|
|
6
|
+
import { i as ensureInternalTokenSync, s as init_internal_token, t as INTERNAL_TOKEN_HEADER } from "./internal-token-s0-oKybJ.js";
|
|
7
|
+
import { F as setAgentStatusChangedNotifier, I as setAgentStoppedNotifier, L as setMergeReadyNotifier, M as resetPatrolHeartbeatForStartup, N as runPatrol } from "./deacon-CU_cAYSR.js";
|
|
8
|
+
import { t as enrichReviewStatus } from "./review-status-enrichment-Dci-ZwEt.js";
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
//#region ../../lib/cloister/deacon-event-client.ts
|
|
@@ -320,7 +320,7 @@ async function shutdown(signal) {
|
|
|
320
320
|
console.error("[deacon-child] Cloister stop failed:", err);
|
|
321
321
|
}
|
|
322
322
|
try {
|
|
323
|
-
const { killAllGateProcessGroups } = await import("./validation-
|
|
323
|
+
const { killAllGateProcessGroups } = await import("./validation-CC9OPqJZ.js");
|
|
324
324
|
const reaped = killAllGateProcessGroups();
|
|
325
325
|
if (reaped > 0) console.log(`[deacon-child] reaped ${reaped} in-flight gate process group(s)`);
|
|
326
326
|
} catch (err) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Vr as
|
|
2
|
-
import { n as init_build_info, t as getBuildInfo } from "./build-info-
|
|
1
|
+
import { Vr as init_paths, wr as OVERDECK_HOME } from "./config-yaml-DySPNmKN.js";
|
|
2
|
+
import { n as init_build_info, t as getBuildInfo } from "./build-info-Ie_D0_BT.js";
|
|
3
3
|
import { a as init_activity_logger, n as emitActivityEntrySync, r as emitActivityTtsSync } from "./activity-logger-DDlOIAML.js";
|
|
4
|
-
import { a as loadCloisterConfigSync, r as init_config } from "./config-
|
|
5
|
-
import { i as init_staleness, r as computeBuildStaleness } from "./staleness-
|
|
6
|
-
import { n as init_deploy_window, t as getDeployBlockReason } from "./deploy-window-
|
|
4
|
+
import { a as loadCloisterConfigSync, r as init_config } from "./config-CKxYiCmX.js";
|
|
5
|
+
import { i as init_staleness, r as computeBuildStaleness } from "./staleness-DPm7ClwA.js";
|
|
6
|
+
import { n as init_deploy_window, t as getDeployBlockReason } from "./deploy-window-C3F-tihF.js";
|
|
7
7
|
import { join } from "node:path";
|
|
8
8
|
import { mkdir, open, writeFile } from "node:fs/promises";
|
|
9
|
-
import { spawn } from "node:child_process";
|
|
9
|
+
import { execFile, spawn } from "node:child_process";
|
|
10
10
|
//#region ../../lib/cloister/deploy-patrol.ts
|
|
11
11
|
init_activity_logger();
|
|
12
12
|
init_build_info();
|
|
@@ -16,6 +16,10 @@ init_paths();
|
|
|
16
16
|
init_config();
|
|
17
17
|
const OBSERVATION_INTERVAL_MS = 1800 * 1e3;
|
|
18
18
|
const DEPLOY_SPAWN_COOLDOWN_MS = 600 * 1e3;
|
|
19
|
+
const DEPLOY_PATROL_INITIATOR = "deploy-patrol";
|
|
20
|
+
const CI_WORKFLOW_FILE = "ci.yml";
|
|
21
|
+
const CI_RUN_FIELDS = "databaseId,status,conclusion,headSha,attempt,createdAt";
|
|
22
|
+
const SYSTEMD_ENV_NAME_RE = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
19
23
|
const state = {
|
|
20
24
|
lastObservedBehind: null,
|
|
21
25
|
lastObservationAt: 0,
|
|
@@ -24,6 +28,81 @@ const state = {
|
|
|
24
28
|
lastDeploySpawnAt: 0,
|
|
25
29
|
unknownObserved: false
|
|
26
30
|
};
|
|
31
|
+
function reloadEnvironment(request, env) {
|
|
32
|
+
return {
|
|
33
|
+
...env,
|
|
34
|
+
OVERDECK_AGENT_ID: request.initiator
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function execGh(args, cwd) {
|
|
38
|
+
return new Promise((resolve, reject) => {
|
|
39
|
+
execFile("gh", [...args], {
|
|
40
|
+
cwd,
|
|
41
|
+
encoding: "utf8",
|
|
42
|
+
timeout: 3e4
|
|
43
|
+
}, (error, stdout) => {
|
|
44
|
+
if (error) reject(error);
|
|
45
|
+
else resolve(stdout);
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
async function getDeployCiState(repoRoot, sha, runGh = execGh) {
|
|
50
|
+
try {
|
|
51
|
+
const run = JSON.parse(await runGh([
|
|
52
|
+
"run",
|
|
53
|
+
"list",
|
|
54
|
+
"--branch",
|
|
55
|
+
"main",
|
|
56
|
+
"--commit",
|
|
57
|
+
sha,
|
|
58
|
+
"--workflow",
|
|
59
|
+
CI_WORKFLOW_FILE,
|
|
60
|
+
"--limit",
|
|
61
|
+
"10",
|
|
62
|
+
"--json",
|
|
63
|
+
CI_RUN_FIELDS
|
|
64
|
+
], repoRoot)).find((candidate) => candidate.headSha === sha);
|
|
65
|
+
const tip = shortSha(sha);
|
|
66
|
+
if (!run) return {
|
|
67
|
+
status: "pending",
|
|
68
|
+
reason: `Automatic deployment deferred because CI has not started for origin/main ${tip}.`
|
|
69
|
+
};
|
|
70
|
+
if (run.status !== "completed") return {
|
|
71
|
+
status: "pending",
|
|
72
|
+
reason: `Automatic deployment deferred because CI is ${run.status} for origin/main ${tip}.`
|
|
73
|
+
};
|
|
74
|
+
if (run.conclusion !== "success") return {
|
|
75
|
+
status: "red",
|
|
76
|
+
reason: `Automatic deployment blocked because CI concluded ${run.conclusion || "without a result"} for origin/main ${tip}.`
|
|
77
|
+
};
|
|
78
|
+
return { status: "green" };
|
|
79
|
+
} catch (error) {
|
|
80
|
+
return {
|
|
81
|
+
status: "unknown",
|
|
82
|
+
reason: `Automatic deployment deferred because CI status for origin/main ${shortSha(sha)} could not be read: ${error instanceof Error ? error.message : String(error)}`
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function buildSystemdReloadArgs(request, now, logPath, env = process.env) {
|
|
87
|
+
const setenvArgs = Object.entries(reloadEnvironment(request, env)).filter(([name, value]) => value !== void 0 && SYSTEMD_ENV_NAME_RE.test(name)).flatMap(([name, value]) => ["--setenv", `${name}=${value}`]);
|
|
88
|
+
return [
|
|
89
|
+
"--user",
|
|
90
|
+
"--unit",
|
|
91
|
+
`overdeck-auto-deploy-${now}`,
|
|
92
|
+
"--collect",
|
|
93
|
+
"--quiet",
|
|
94
|
+
"--property=Restart=on-failure",
|
|
95
|
+
"--property=RestartSec=10s",
|
|
96
|
+
"--property=StartLimitBurst=2",
|
|
97
|
+
"--property=StartLimitIntervalSec=300s",
|
|
98
|
+
`--property=StandardOutput=append:${logPath}`,
|
|
99
|
+
`--property=StandardError=append:${logPath}`,
|
|
100
|
+
`--property=WorkingDirectory=${request.cwd}`,
|
|
101
|
+
...setenvArgs,
|
|
102
|
+
request.command,
|
|
103
|
+
...request.args
|
|
104
|
+
];
|
|
105
|
+
}
|
|
27
106
|
function shortSha(sha) {
|
|
28
107
|
return sha?.slice(0, 8) || "unknown";
|
|
29
108
|
}
|
|
@@ -46,19 +125,45 @@ async function waitForChildSpawn(child) {
|
|
|
46
125
|
child.once("error", onError);
|
|
47
126
|
});
|
|
48
127
|
}
|
|
128
|
+
async function waitForChildExit(child) {
|
|
129
|
+
return new Promise((resolve, reject) => {
|
|
130
|
+
child.once("error", reject);
|
|
131
|
+
child.once("close", (code) => resolve(code ?? 1));
|
|
132
|
+
});
|
|
133
|
+
}
|
|
49
134
|
async function spawnDetachedReload(request, now) {
|
|
50
135
|
const logsDir = join(OVERDECK_HOME, "logs");
|
|
136
|
+
const logPath = join(logsDir, "auto-deploy.log");
|
|
51
137
|
await mkdir(logsDir, { recursive: true });
|
|
52
138
|
await writeFile(join(OVERDECK_HOME, "dashboard-restarting.json"), JSON.stringify({
|
|
53
139
|
reason: "auto-deploy",
|
|
54
140
|
trigger: "deacon",
|
|
55
141
|
timestamp: now
|
|
56
142
|
}, null, 2), "utf8");
|
|
57
|
-
const log = await open(
|
|
143
|
+
const log = await open(logPath, "a");
|
|
58
144
|
try {
|
|
145
|
+
if (process.platform === "linux") {
|
|
146
|
+
let systemdFailure = null;
|
|
147
|
+
try {
|
|
148
|
+
const exitCode = await waitForChildExit(spawn("systemd-run", buildSystemdReloadArgs(request, now, logPath), {
|
|
149
|
+
cwd: request.cwd,
|
|
150
|
+
stdio: [
|
|
151
|
+
"ignore",
|
|
152
|
+
log.fd,
|
|
153
|
+
log.fd
|
|
154
|
+
]
|
|
155
|
+
}));
|
|
156
|
+
if (exitCode === 0) return;
|
|
157
|
+
systemdFailure = `systemd-run exited ${exitCode}`;
|
|
158
|
+
} catch (error) {
|
|
159
|
+
systemdFailure = error instanceof Error ? error.message : String(error);
|
|
160
|
+
}
|
|
161
|
+
await log.appendFile(`[auto-deploy] WARNING: ${systemdFailure}; falling back to an unsupervised detached reload.\n`, "utf8");
|
|
162
|
+
}
|
|
59
163
|
await waitForChildSpawn(spawn(request.command, [...request.args], {
|
|
60
164
|
cwd: request.cwd,
|
|
61
165
|
detached: request.detached,
|
|
166
|
+
env: reloadEnvironment(request, process.env),
|
|
62
167
|
stdio: [
|
|
63
168
|
"ignore",
|
|
64
169
|
log.fd,
|
|
@@ -77,6 +182,16 @@ function clearState() {
|
|
|
77
182
|
state.lastDeploySpawnAt = 0;
|
|
78
183
|
state.unknownObserved = false;
|
|
79
184
|
}
|
|
185
|
+
function emitDeferral(reason, now, emitEntry) {
|
|
186
|
+
if (state.lastDeferralReason === reason && now - state.lastDeferralAt < OBSERVATION_INTERVAL_MS) return;
|
|
187
|
+
emitEntry({
|
|
188
|
+
source: "deploy-script",
|
|
189
|
+
level: "warn",
|
|
190
|
+
message: reason
|
|
191
|
+
});
|
|
192
|
+
state.lastDeferralReason = reason;
|
|
193
|
+
state.lastDeferralAt = now;
|
|
194
|
+
}
|
|
80
195
|
async function runDeployPatrol(context) {
|
|
81
196
|
const now = (context.now ?? Date.now)();
|
|
82
197
|
const emitEntry = context.emitEntry ?? emitActivityEntrySync;
|
|
@@ -112,19 +227,20 @@ async function runDeployPatrol(context) {
|
|
|
112
227
|
state.lastObservationAt = now;
|
|
113
228
|
}
|
|
114
229
|
if (!context.config.auto_deploy) return;
|
|
115
|
-
if (staleness.
|
|
230
|
+
if (staleness.originMainLastBuildInputCommitAt !== null && now - staleness.originMainLastBuildInputCommitAt < context.config.debounce_minutes * 60 * 1e3) return;
|
|
116
231
|
if (state.lastDeploySpawnAt > 0 && now - state.lastDeploySpawnAt < DEPLOY_SPAWN_COOLDOWN_MS) return;
|
|
232
|
+
if (!staleness.originMainSha) {
|
|
233
|
+
emitDeferral("Automatic deployment deferred because the origin/main commit is unknown.", now, emitEntry);
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
const ciState = await (context.getCiState ?? ((sha) => getDeployCiState(context.repoRoot, sha)))(staleness.originMainSha);
|
|
237
|
+
if (ciState.status !== "green") {
|
|
238
|
+
emitDeferral(ciState.reason ?? `Automatic deployment deferred because CI is ${ciState.status} for origin/main ${shortSha(staleness.originMainSha)}.`, now, emitEntry);
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
117
241
|
const blockReason = await (context.getBlockReason ?? getDeployBlockReason)();
|
|
118
242
|
if (blockReason) {
|
|
119
|
-
|
|
120
|
-
emitEntry({
|
|
121
|
-
source: "deploy-script",
|
|
122
|
-
level: "warn",
|
|
123
|
-
message: blockReason
|
|
124
|
-
});
|
|
125
|
-
state.lastDeferralReason = blockReason;
|
|
126
|
-
state.lastDeferralAt = now;
|
|
127
|
-
}
|
|
243
|
+
emitDeferral(blockReason, now, emitEntry);
|
|
128
244
|
return;
|
|
129
245
|
}
|
|
130
246
|
const reloadRequest = {
|
|
@@ -136,7 +252,8 @@ async function runDeployPatrol(context) {
|
|
|
136
252
|
"120000"
|
|
137
253
|
],
|
|
138
254
|
cwd: context.repoRoot,
|
|
139
|
-
detached: true
|
|
255
|
+
detached: true,
|
|
256
|
+
initiator: DEPLOY_PATROL_INITIATOR
|
|
140
257
|
};
|
|
141
258
|
await (context.spawnReload ?? ((request) => spawnDetachedReload(request, now)))(reloadRequest);
|
|
142
259
|
state.lastDeploySpawnAt = now;
|
|
@@ -168,4 +285,4 @@ async function runScheduledDeployPatrol() {
|
|
|
168
285
|
//#endregion
|
|
169
286
|
export { runScheduledDeployPatrol };
|
|
170
287
|
|
|
171
|
-
//# sourceMappingURL=deploy-patrol-
|
|
288
|
+
//# sourceMappingURL=deploy-patrol-AiFoP8dw.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as getFlywheelActiveRunId, s as init_control_settings } from "./control-settings-
|
|
6
|
-
import { n as readDevSupervisorMarker, t as init_dev_supervisor } from "./dev-supervisor-
|
|
2
|
+
import { Br as getOverdeckHome, Vr as init_paths } from "./config-yaml-DySPNmKN.js";
|
|
3
|
+
import { H as sessionExists, w as init_tmux } from "./tmux-R7N7y-Mh.js";
|
|
4
|
+
import { d as loadReviewStatuses, l as init_review_status } from "./review-status-kZj_KyCk.js";
|
|
5
|
+
import { i as getFlywheelActiveRunId, s as init_control_settings } from "./control-settings-BQp7_4uD.js";
|
|
6
|
+
import { n as readDevSupervisorMarker, t as init_dev_supervisor } from "./dev-supervisor-bcOWqdQE.js";
|
|
7
7
|
import { join } from "node:path";
|
|
8
8
|
import { Data, Effect } from "effect";
|
|
9
|
-
import { access, readFile } from "node:fs/promises";
|
|
9
|
+
import { access, open, readFile, unlink } from "node:fs/promises";
|
|
10
10
|
//#region ../../lib/restart-lock.ts
|
|
11
11
|
function restartLockPath() {
|
|
12
12
|
return join(getOverdeckHome(), "restart.lock");
|
|
@@ -28,12 +28,79 @@ async function readHolderFromPath(path) {
|
|
|
28
28
|
return null;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
function isProcessAlive(pid) {
|
|
32
|
+
try {
|
|
33
|
+
process.kill(pid, 0);
|
|
34
|
+
return true;
|
|
35
|
+
} catch (error) {
|
|
36
|
+
return isErrnoException(error) && error.code === "EPERM";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function isStale(holder, now) {
|
|
40
|
+
return now - holder.ts > STALE_LOCK_MS || !isProcessAlive(holder.pid);
|
|
41
|
+
}
|
|
42
|
+
async function writeLockFile(path, holder) {
|
|
43
|
+
const file = await open(path, "wx", 384);
|
|
44
|
+
try {
|
|
45
|
+
await file.writeFile(`${JSON.stringify(holder)}\n`, "utf8");
|
|
46
|
+
} finally {
|
|
47
|
+
await file.close();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
async function unlinkIfExists(path) {
|
|
51
|
+
try {
|
|
52
|
+
await unlink(path);
|
|
53
|
+
} catch (error) {
|
|
54
|
+
if (!isErrnoException(error) || error.code !== "ENOENT") throw error;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function matchesHolder(actual, expected) {
|
|
58
|
+
return actual?.pid === expected.pid && actual.ts === expected.ts && actual.caller === expected.caller;
|
|
59
|
+
}
|
|
60
|
+
async function acquireStaleBreaker(path) {
|
|
61
|
+
const breakerPath = `${path}.break`;
|
|
62
|
+
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
63
|
+
const holder = {
|
|
64
|
+
pid: process.pid,
|
|
65
|
+
ts: Date.now(),
|
|
66
|
+
caller: "stale restart lock breaker"
|
|
67
|
+
};
|
|
68
|
+
try {
|
|
69
|
+
await writeLockFile(breakerPath, holder);
|
|
70
|
+
let released = false;
|
|
71
|
+
return { async release() {
|
|
72
|
+
if (released) return;
|
|
73
|
+
released = true;
|
|
74
|
+
if (matchesHolder(await readHolderFromPath(breakerPath), holder)) await unlinkIfExists(breakerPath);
|
|
75
|
+
} };
|
|
76
|
+
} catch (error) {
|
|
77
|
+
if (!isErrnoException(error) || error.code !== "EEXIST") throw error;
|
|
78
|
+
const existing = await readHolderFromPath(breakerPath);
|
|
79
|
+
if (!existing || !isStale(existing, Date.now())) return null;
|
|
80
|
+
await unlinkIfExists(breakerPath);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
31
85
|
async function readRestartLockHolderPromise() {
|
|
32
|
-
|
|
86
|
+
const path = restartLockPath();
|
|
87
|
+
const observed = await readHolderFromPath(path);
|
|
88
|
+
if (!observed || isProcessAlive(observed.pid)) return observed;
|
|
89
|
+
const breaker = await acquireStaleBreaker(path);
|
|
90
|
+
if (!breaker) return observed;
|
|
91
|
+
try {
|
|
92
|
+
const current = await readHolderFromPath(path);
|
|
93
|
+
if (!matchesHolder(current, observed)) return current;
|
|
94
|
+
await unlinkIfExists(path);
|
|
95
|
+
return null;
|
|
96
|
+
} finally {
|
|
97
|
+
await breaker.release();
|
|
98
|
+
}
|
|
33
99
|
}
|
|
34
|
-
var RestartLockError, readRestartLockHolder;
|
|
100
|
+
var STALE_LOCK_MS, RestartLockError, readRestartLockHolder;
|
|
35
101
|
var init_restart_lock = __esmMin((() => {
|
|
36
102
|
init_paths();
|
|
103
|
+
STALE_LOCK_MS = 300 * 1e3;
|
|
37
104
|
RestartLockError = class extends Data.TaggedError("RestartLockError") {};
|
|
38
105
|
readRestartLockHolder = () => Effect.tryPromise({
|
|
39
106
|
try: () => readRestartLockHolderPromise(),
|
|
@@ -51,7 +118,7 @@ async function getDeployBlockReason(dependencies = {}) {
|
|
|
51
118
|
...defaultDependencies,
|
|
52
119
|
...dependencies
|
|
53
120
|
};
|
|
54
|
-
const verifyingIssues = Object.entries(deps.loadReviewStatuses()).filter(([, status]) => status.verificationStatus === "running").map(([issueId]) => issueId).sort();
|
|
121
|
+
const verifyingIssues = Object.entries(deps.loadReviewStatuses()).filter(([, status]) => status.verificationStatus === "running" && status.mergeStatus !== "merged").map(([issueId]) => issueId).sort();
|
|
55
122
|
if (verifyingIssues.length > 0) return `Deployment deferred because verification is in flight for ${verifyingIssues.join(", ")}.`;
|
|
56
123
|
const activeFlywheelRunId = deps.getFlywheelActiveRunId();
|
|
57
124
|
if (activeFlywheelRunId) return `Deployment deferred because flywheel run ${activeFlywheelRunId} owns deployment.`;
|
|
@@ -89,4 +156,4 @@ var init_deploy_window = __esmMin((() => {
|
|
|
89
156
|
//#endregion
|
|
90
157
|
export { init_deploy_window as n, getDeployBlockReason as t };
|
|
91
158
|
|
|
92
|
-
//# sourceMappingURL=deploy-window-
|
|
159
|
+
//# sourceMappingURL=deploy-window-C3F-tihF.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Br as getOverdeckHome, Vr as init_paths } from "./config-yaml-DySPNmKN.js";
|
|
3
3
|
import { existsSync, readFileSync, unlinkSync } from "fs";
|
|
4
4
|
import { join } from "path";
|
|
5
5
|
//#region ../../lib/dev-supervisor.ts
|
|
@@ -71,4 +71,4 @@ var init_dev_supervisor = __esmMin((() => {
|
|
|
71
71
|
//#endregion
|
|
72
72
|
export { readDevSupervisorMarker as n, init_dev_supervisor as t };
|
|
73
73
|
|
|
74
|
-
//# sourceMappingURL=dev-supervisor-
|
|
74
|
+
//# sourceMappingURL=dev-supervisor-bcOWqdQE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as init_workspace_config, r as replacePlaceholdersSync } from "./workspace-config-
|
|
2
|
+
import { mr as init_errors } from "./config-yaml-DySPNmKN.js";
|
|
3
|
+
import { n as init_workspace_config, r as replacePlaceholdersSync } from "./workspace-config-CIVWZOQr.js";
|
|
4
4
|
import "effect";
|
|
5
5
|
import { chmodSync, copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, symlinkSync, writeFileSync } from "fs";
|
|
6
6
|
import { basename, dirname, join } from "path";
|
|
@@ -166,4 +166,4 @@ var init_devcontainer_renderer = __esmMin((() => {
|
|
|
166
166
|
//#endregion
|
|
167
167
|
export { renderDevcontainerSync as a, processTemplatesSync as i, createWorkspacePlaceholdersSync as n, sanitizeComposeFileSync as o, init_devcontainer_renderer as r, DEVCONTAINER_DIRNAME as t };
|
|
168
168
|
|
|
169
|
-
//# sourceMappingURL=devcontainer-renderer-
|
|
169
|
+
//# sourceMappingURL=devcontainer-renderer-_d6XhyND.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { r as init_devcontainer_renderer, t as DEVCONTAINER_DIRNAME } from "./devcontainer-renderer-
|
|
2
|
+
import { r as init_devcontainer_renderer, t as DEVCONTAINER_DIRNAME } from "./devcontainer-renderer-_d6XhyND.js";
|
|
3
3
|
import { existsSync, readFileSync } from "fs";
|
|
4
4
|
import { join } from "path";
|
|
5
5
|
import { exec } from "child_process";
|
|
@@ -195,4 +195,4 @@ var init_docker = __esmMin((() => {
|
|
|
195
195
|
//#endregion
|
|
196
196
|
export { teardownWorkspaceDockerByNamePromise as i, init_docker as n, stopWorkspaceDockerPromise as r, getContainersReferencingWorkspacePathPromise as t };
|
|
197
197
|
|
|
198
|
-
//# sourceMappingURL=docker-
|
|
198
|
+
//# sourceMappingURL=docker-DcMTFTUC.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ensureDevcontainerSync, r as init_ensure_devcontainer, t as ensureDevcontainer } from "./ensure-devcontainer-
|
|
1
|
+
import { n as ensureDevcontainerSync, r as init_ensure_devcontainer, t as ensureDevcontainer } from "./ensure-devcontainer-DNi-ono3.js";
|
|
2
2
|
init_ensure_devcontainer();
|
|
3
3
|
export { ensureDevcontainer, ensureDevcontainerSync };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import {
|
|
3
|
-
import { a as renderDevcontainerSync, r as init_devcontainer_renderer } from "./devcontainer-renderer-
|
|
4
|
-
import { a as stepSkipped, i as stepOk, n as init_types, r as stepFailed } from "./types-
|
|
2
|
+
import { Tn as init_projects, yn as getProjectSync, zn as resolveProjectFromIssueSync } from "./config-yaml-DySPNmKN.js";
|
|
3
|
+
import { a as renderDevcontainerSync, r as init_devcontainer_renderer } from "./devcontainer-renderer-_d6XhyND.js";
|
|
4
|
+
import { a as stepSkipped, i as stepOk, n as init_types, r as stepFailed } from "./types-5M0lupud.js";
|
|
5
5
|
import { Effect } from "effect";
|
|
6
6
|
import { existsSync } from "fs";
|
|
7
7
|
import { basename, join } from "path";
|
|
@@ -107,4 +107,4 @@ var init_ensure_devcontainer = __esmMin((() => {
|
|
|
107
107
|
//#endregion
|
|
108
108
|
export { ensureDevcontainerSync as n, init_ensure_devcontainer as r, ensureDevcontainer as t };
|
|
109
109
|
|
|
110
|
-
//# sourceMappingURL=ensure-devcontainer-
|
|
110
|
+
//# sourceMappingURL=ensure-devcontainer-DNi-ono3.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Br as getOverdeckHome, Vr as init_paths } from "./config-yaml-DySPNmKN.js";
|
|
3
3
|
import { a as init_activity_logger, o as setActivityEventStoreProvider } from "./activity-logger-DDlOIAML.js";
|
|
4
|
-
import { A as init_paths$1, d as getOverdeckDatabaseSync, f as init_infra, k as getOverdeckDatabasePath } from "./infra-
|
|
4
|
+
import { A as init_paths$1, d as getOverdeckDatabaseSync, f as init_infra, k as getOverdeckDatabasePath } from "./infra-BEqFxlJc.js";
|
|
5
5
|
import { existsSync } from "node:fs";
|
|
6
6
|
import { EventEmitter } from "node:events";
|
|
7
7
|
import { mkdir } from "node:fs/promises";
|
|
@@ -236,4 +236,4 @@ var init_event_store = __esmMin((() => {
|
|
|
236
236
|
//#endregion
|
|
237
237
|
export { init_event_store as a, initEventStore as i, getEventStore as n, openEventDb as o, getSharedDb as r, createEventStore as t };
|
|
238
238
|
|
|
239
|
-
//# sourceMappingURL=event-store-
|
|
239
|
+
//# sourceMappingURL=event-store-CQL6NeqB.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as init_event_store, i as initEventStore, n as getEventStore, o as openEventDb, r as getSharedDb, t as createEventStore } from "./event-store-
|
|
1
|
+
import { a as init_event_store, i as initEventStore, n as getEventStore, o as openEventDb, r as getSharedDb, t as createEventStore } from "./event-store-CQL6NeqB.js";
|
|
2
2
|
init_event_store();
|
|
3
3
|
export { createEventStore, getEventStore, getSharedDb, initEventStore, openEventDb };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import {
|
|
3
|
-
import { d as init_cost_sync, f as insertCostEventSync } from "./cost-sync-
|
|
2
|
+
import { Jn as extractPrefixSync, Tn as init_projects, Yn as init_issue_id, kn as listProjectsSync, mr as init_errors } from "./config-yaml-DySPNmKN.js";
|
|
3
|
+
import { d as init_cost_sync, f as insertCostEventSync } from "./cost-sync-BsN6ER0n.js";
|
|
4
4
|
import "effect";
|
|
5
5
|
import { appendFileSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "fs";
|
|
6
6
|
import { join } from "path";
|
|
@@ -245,4 +245,4 @@ var init_events = __esmMin((() => {
|
|
|
245
245
|
//#endregion
|
|
246
246
|
export { readEventsFromLineSync as a, tailEventsSync as c, init_events as i, init_wal as l, deduplicateEventsSync as n, readEventsSync as o, getLastEventMetadataSync as r, replaceEventsFileSync as s, appendCostEventSync as t };
|
|
247
247
|
|
|
248
|
-
//# sourceMappingURL=events-
|
|
248
|
+
//# sourceMappingURL=events-DTfAe4My.js.map
|