@overdeck/desktop 0.45.16 → 0.45.19
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-electron/main.js +149 -158
- package/dist-electron/main.js.map +1 -1
- package/dist-electron/preload.js +17 -2
- package/dist-electron/preload.js.map +1 -1
- package/package.json +5 -4
- package/server/acceptance-criteria-DQqRIuQ-.js +62 -0
- package/server/{advancing-selfheal-DJYAvGv-.js → advancing-selfheal-BYidNkmp.js} +6 -6
- package/server/{agent-gc-D0wDIeV1.js → agent-gc-ClNQLl_V.js} +3 -3
- package/server/agent-state-BMrpX7kU.js +3 -0
- package/server/{agent-state-service-DFslS5go.js → agent-state-service-BpAKmodj.js} +5 -5
- package/server/{agent-state-service-CZrayD_G.js → agent-state-service-CC9NMIWn.js} +1 -1
- package/server/{briefing-freshness-DESTCWo-.js → agents--ljN-wVY.js} +5 -131
- package/server/agents-DAUyr_Z1.js +3 -0
- package/server/{archive-planning-CoyIbgGK.js → archive-planning-2w8WQaeJ.js} +1 -1
- package/server/{archive-planning-CbghE9-o.js → archive-planning-BW3te5Vw.js} +5 -10
- package/server/{artifact-index-jobs-CcSrUoSE.js → artifact-index-jobs-DFO3eceF.js} +2 -2
- package/server/{backlog-auto-trigger-BfgDsII0.js → backlog-auto-trigger-DECBMxLq.js} +2 -2
- package/server/{behavior-BTpYbAv4.js → behavior-CWqNMqE5.js} +2 -2
- package/server/briefing-freshness-B1delh4l.js +131 -0
- package/server/{checkpoint-manager-DWSXooZV.js → checkpoint-manager-CjLY6A4r.js} +1 -1
- package/server/{checkpoint-manager-BwFdegJF.js → checkpoint-manager-D6_71Rpb.js} +3 -3
- package/server/checkpoint-worker.js +1 -1
- package/server/{checkpoints-BtUonbs3.js → checkpoints-BYrLxVle.js} +2 -2
- package/server/{checkpoints-fjadfOKF.js → checkpoints-xSuv4v4I.js} +1 -1
- package/server/{claude-hooks-provision-DiK62u0k.js → claude-hooks-provision-DL6yfJB_.js} +1 -1
- package/server/{claude-hooks-provision-DAtxutOs.js → claude-hooks-provision-DvfVZbbT.js} +2 -2
- package/server/{claude-permissions-CThLgf8d.js → claude-permissions-CcncrTNF.js} +2 -2
- package/server/{claude-settings-overlay-BF9MPIwx.js → claude-settings-overlay-1IfYetv2.js} +2 -2
- package/server/{claude-settings-overlay-Dx_Uqcmv.js → claude-settings-overlay-Ca3LXjAC.js} +1 -1
- package/server/cli-BxZHwgRK.js +3 -0
- package/server/{cli-ByKIIMfT.js → cli-DGZWYXio.js} +9 -9
- package/server/{cliproxy-B4c1BUvs.js → cliproxy-Dw42Xy3t.js} +2 -2
- package/server/{cliproxy-C_GuT5DU.js → cliproxy-DziJLbfo.js} +1 -1
- package/server/{close-issue-BOuLKr6e.js → close-issue-DEGjxifn.js} +5 -5
- package/server/{closed-issue-reaper-DCAYzNXW.js → closed-issue-reaper-BsJ3JqQy.js} +9 -9
- package/server/{closed-issue-reaper-CksfuiFD.js → closed-issue-reaper-CNr7X4MB.js} +1 -1
- package/server/codex-C8OlW-dN.js +3 -0
- package/server/{codex-BbqIRZjd.js → codex-D5RyWzNL.js} +43 -18
- package/server/{codex-parser-mFYZh8vR.js → codex-parser-BRxvUkk8.js} +2 -2
- package/server/{config-Dj6N8EP9.js → config-CQ2u44iP.js} +1 -1
- package/server/{config-DVLdmnMJ.js → config-Cntj_tFu.js} +2 -2
- package/server/{config-yaml-cNOZcEww.js → config-yaml-BQs6GbD_.js} +75 -74
- package/server/{conflict-gate-CuXUv-bP.js → conflict-gate-BE6JdfkO.js} +1 -1
- package/server/{conflict-gate-BMKm_5DV.js → conflict-gate-DdfwKgy0.js} +3 -3
- package/server/{context-layers-c0JqYHcS.js → context-layers-DFucrVVG.js} +17 -3
- package/server/{context-layers-CeAwSYNt.js → context-layers-DO0Eyq2E.js} +2 -2
- package/server/{control-settings-D4EFsRBd.js → control-settings-bxOCLsuE.js} +4 -4
- package/server/{conversation-compaction-BCggyih4.js → conversation-compaction-Dq6MfZdL.js} +8 -8
- package/server/{conversation-compaction-kHVfVRg3.js → conversation-compaction-lSlUb-cU.js} +1 -1
- package/server/{conversation-service-BTzObqGi.js → conversation-service-BVt4MQ1_.js} +1 -1
- package/server/{conversation-service-B8LFQQm1.js → conversation-service-TZsQjkjT.js} +6 -6
- package/server/{conversations-B-lcHv-5.js → conversations-CxOWHNzv.js} +4 -4
- package/server/{conversations-BM7zlXjr.js → conversations-DaF6elGK.js} +1 -1
- package/server/{cost-BcpRQ-7o.js → cost-Dlh0IEiv.js} +3 -3
- package/server/{cost-D9kPIY_5.js → cost-oinpUqvE.js} +2 -2
- package/server/{cost-sync-DF6odxK9.js → cost-sync-CVIAsrhB.js} +3 -3
- package/server/{dag-DKI3sOmX.js → dag-ClFr7Bah.js} +7 -243
- package/server/{dangerous-git-ops-Bn18PEcN.js → dangerous-git-ops-q5OPtXMd.js} +1 -1
- package/server/dashboard-db-worker.js +6 -6
- package/server/{deacon-DONuopff.js → deacon-B8ygB3e8.js} +3 -3
- package/server/{deacon-DdARMjZq.js → deacon-D2-xTesT.js} +233 -162
- package/server/{deacon-nudge-log-B-naf89q.js → deacon-nudge-log-ilDfxrhK.js} +1 -1
- package/server/deacon-swarm-1vPLuj_l.js +2 -0
- package/server/{deacon-swarm-BNGkmYR_.js → deacon-swarm-yWKQhxiX.js} +298 -72
- package/server/deacon.js +14 -7
- package/server/{devcontainer-renderer-C-34Sxyz.js → devcontainer-renderer-xPhZHCrx.js} +3 -3
- package/server/{dist-BMXvKiZP.js → dist-BwlEiLCU.js} +1 -1
- package/server/dist-Bx4KkgYL.js +3 -0
- package/server/{dist-src-BgGUblXg.js → dist-src-BE0Denfs.js} +1 -1
- package/server/{docker-apZ9pBYw.js → docker-DPEglAwA.js} +2 -2
- package/server/{ensure-devcontainer-Bqi1EF1P.js → ensure-devcontainer-SzSvEdKq.js} +4 -4
- package/server/{ensure-devcontainer-Dq3KoOIl.js → ensure-devcontainer-wU3ym1b5.js} +1 -1
- package/server/{esm-shims-BEjvINX3.js → esm-shims-Cso7IGBC.js} +1 -1
- package/server/{event-store-CqDgfbAs.js → event-store-BZoXexYS.js} +1 -1
- package/server/{event-store-D89fMfXS.js → event-store-D4s6eQ6o.js} +3 -3
- package/server/{events-rIGncmP1.js → events-Bn-wdUBF.js} +1 -1
- package/server/{events-S_C0pvl6.js → events-D1hMLl2a.js} +3 -3
- package/server/{factory-DV18m0rc.js → factory-ltWnu0V_.js} +20 -17
- package/server/{feature-registry-population-CqZSnqQi.js → feature-registry-population-xj-J1Wm7.js} +4 -4
- package/server/{feature-registry-storage-BeXmNBwK.js → feature-registry-storage-CQZukiLm.js} +2 -2
- package/server/{features-u5XeMaOK.js → features-Dyqi6N8f.js} +2 -2
- package/server/{feedback-target-DDG1PWl3.js → feedback-target-Ba0zhSYI.js} +1 -1
- package/server/{feedback-target-CwyWf0Dg.js → feedback-target-Chd5dm-Q.js} +9 -7
- package/server/{feedback-writer-BsJiw5aT.js → feedback-writer-BtaoJGl2.js} +1 -1
- package/server/{feedback-writer-D20HSXre.js → feedback-writer-BujzReaQ.js} +4 -4
- package/server/{flywheel-Dczmgchd.js → flywheel-FTInS73X.js} +15 -28
- package/server/{flywheel-RCnHAgc4.js → flywheel-bTImiVrk.js} +1 -1
- package/server/{flywheel-merge-order-CtCYsFJP.js → flywheel-merge-order-DuenRJLZ.js} +6 -6
- package/server/{flywheel-merge-order-DEtEd3aK.js → flywheel-merge-order-O5Zu8iPw.js} +1 -1
- package/server/{flywheel-9Y1X7IM-.js → flywheel-rmYbW-lh.js} +13 -13
- package/server/{forge-DFDThFil.js → forge-OWm99lie.js} +22 -12
- package/server/forge-x5lszTd0.js +2 -0
- package/server/{from-NSJypkI8.js → from-B2tOYhYV.js} +1 -1
- package/server/{fts-db-C5A_TTOM.js → fts-db-BRfS5ukG.js} +2 -2
- package/server/{fts-operations-DvCSimfU.js → fts-operations-L5sNLoHl.js} +2 -2
- package/server/{git-utils-C0neHvQx.js → git-utils-BIEzv2Zp.js} +1 -1
- package/server/{git-utils-Dr0L7mFk.js → git-utils-CP-bg-aM.js} +2 -2
- package/server/{github-app-u9-SX7Gc.js → github-app-CRUIvHuM.js} +8 -3
- package/server/{github-app-Bwt9lK4A.js → github-app-Dtn4ib6M.js} +1 -1
- package/server/{github-client-Btyy3uan.js → github-client-CWEFlCqL.js} +3 -3
- package/server/{github-client-Do3k-N1W.js → github-client-DSVv6wX8.js} +1 -1
- package/server/{github-pr-lookup-DOF1U2WW.js → github-pr-lookup-D6CS9vtG.js} +2 -2
- package/server/{harness-resolve-C6g2R0Cd.js → harness-resolve-ScD6rV47.js} +3 -3
- package/server/{health-events-Bos3sk5g.js → health-events-DbcJmYmd.js} +1 -1
- package/server/{health-events-B4u-2a9m.js → health-events-Dm1Vcvqe.js} +2 -2
- package/server/{hooks-uEr8WTx_.js → hooks-B6gaI6Kg.js} +1 -1
- package/server/{hooks-BCoOjL_R.js → hooks-VXuCnzCv.js} +3 -3
- package/server/hume-B4seN95Y.js +3 -0
- package/server/{hume-BqxYKbUf.js → hume-BRhNKyXQ.js} +2 -2
- package/server/{idle-stack-reaper-H0W6XtHh.js → idle-stack-reaper-Gv32ZCrQ.js} +1 -1
- package/server/{idle-stack-reaper-DbZ8ukMd.js → idle-stack-reaper-po700Lfg.js} +2 -2
- package/server/{infra-Ba9mS6e6.js → infra-DYwIXlK5.js} +9 -4
- package/server/{injection-C1DKXeIZ.js → injection-CTfFnpsG.js} +1 -1
- package/server/{injection-yrMBxzVq.js → injection-DPsUoCJp.js} +7 -7
- package/server/inspect-agent-B25IP-0O.js +2 -0
- package/server/{inspect-agent-B-mnb4uh.js → inspect-agent-CLkwfLRx.js} +35 -67
- package/server/{internal-token-BtqSbKTx.js → internal-token--50JhWP7.js} +2 -2
- package/server/{internal-token-BPYEaXFh.js → internal-token-BOgxXMGy.js} +1 -1
- package/server/{io-VEGSAqsd.js → io-Cv9xQTks.js} +36 -43
- package/server/{issue-closed-BxcePXL-.js → issue-closed-CyqtoFUj.js} +41 -6
- package/server/{issue-lifecycle-CdMUauyb.js → issue-lifecycle-Cm7ydBGK.js} +1 -1
- package/server/{issue-lifecycle--8MRxrG1.js → issue-lifecycle-DR6n40bh.js} +22 -37
- package/server/{issue-service-singleton-MZsDhAob.js → issue-service-singleton--LQ5c2zT.js} +1 -1
- package/server/{issue-service-singleton-CkTUI-eu.js → issue-service-singleton-DKKPneH4.js} +29 -29
- package/server/{issues-CBAsuoAO.js → issues-Cr-BLFLO.js} +2 -2
- package/server/{jsonl-parser-BUW5_sSK.js → jsonl-parser-Bp_xCkX4.js} +3 -3
- package/server/{label-cleanup-htK6fBRU.js → label-cleanup-BbLy2FZe.js} +3 -3
- package/server/{state-home-CEvD_v5F.js → launcher-generator-C-FU4PNT.js} +7 -127
- package/server/{layers-jjL16At6.js → layers-C-6lBDUE.js} +2 -2
- package/server/lifecycle-Bmw8yU_A.js +12 -0
- package/server/{lifecycle-io-DXv8Utct.js → lifecycle-io-B150XprC.js} +1 -1
- package/server/{lifecycle-io-IehcRt2v.js → lifecycle-io-Dcu-_ktz.js} +4 -4
- package/server/{linear-client-D9cSQfvD.js → linear-client-BHjs0luk.js} +3 -3
- package/server/{linear-client-By7hjwuN.js → linear-client-s65LNmlG.js} +1 -1
- package/server/memory-fts-worker.js +1 -1
- package/server/{merge-BLcEZNXz.js → merge-CM8swd2V.js} +1 -1
- package/server/{merge-BN8FGJ2q.js → merge-CS0b-E3u.js} +3 -3
- package/server/{merge-agent-B3u2szOL.js → merge-agent-Bu1hw9cz.js} +64 -51
- package/server/{merge-agent-ejC7Wos8.js → merge-agent-D6LRIW63.js} +1 -1
- package/server/{merge-batch-DyqlgYGp.js → merge-batch-Bv6Z5K2H.js} +1 -1
- package/server/{merge-blockers-cq-aS2KG.js → merge-blockers-Dt43hJiW.js} +2 -2
- package/server/merge-ops-DwYi3U_x.js +2 -0
- package/server/{merge-rebase-Dl7yIxtV.js → merge-rebase-B3vQcTq1.js} +2 -2
- package/server/{merge-set-Dy0D0r3i.js → merge-set-BMEGEKQg.js} +1 -1
- package/server/{merge-set-CZ9Nbay0.js → merge-set-Pe3spe8k.js} +3 -3
- package/server/{merge-sync-CG9kDCdT.js → merge-sync-CpxFRIQ7.js} +1 -1
- package/server/{merge-sync-D7jWLgCC.js → merge-sync-STpg1hk3.js} +2 -2
- package/server/{merge-train-CH33XJOH.js → merge-train-DLw2hDk0.js} +3 -3
- package/server/{merge-train-deps-JoVdGnOg.js → merge-train-deps-BlCGLqwy.js} +4 -4
- package/server/{merge-verification-D4wTChdX.js → merge-verification-C4WMP40D.js} +4 -4
- package/server/{multipart-parser-Csn8U-K9.js → multipart-parser-9DhuAkPd.js} +2 -2
- package/server/node_modules/.package-lock.json +11 -11
- package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/package.json +3 -3
- package/server/node_modules/toml/README.md +54 -0
- package/server/node_modules/toml/index.d.ts +42 -1
- package/server/node_modules/toml/index.js +3 -3
- package/server/node_modules/toml/lib/compiler.js +35 -3
- package/server/node_modules/toml/lib/parser.js +224 -143
- package/server/node_modules/toml/package.json +3 -1
- package/server/node_modules/ws/lib/receiver.js +15 -32
- package/server/node_modules/ws/lib/websocket-server.js +4 -4
- package/server/node_modules/ws/lib/websocket.js +4 -4
- package/server/node_modules/ws/package.json +5 -1
- package/server/{orphan-proposed-reconciler-BIcNu4tl.js → orphan-proposed-reconciler-eetUXmmt.js} +1 -1
- package/server/{orphan-proposed-reconciler-DI_IS1p_.js → orphan-proposed-reconciler-k9eydM1E.js} +14 -24
- package/server/package-lock.json +12 -12
- package/server/package.json +1 -1
- package/server/{pan-dir-CQIfKG8c.js → pan-dir-D3vABXMs.js} +4 -4
- package/server/{paths-Blj6A9AJ.js → paths-DIoslfsu.js} +2 -2
- package/server/{pipeline-notifier-BH4PAi-w.js → pipeline-notifier-Bgidcelx.js} +1 -1
- package/server/{pipeline-notifier-D_WYtEwl.js → pipeline-notifier-CuBONomU.js} +2 -2
- package/server/{project-pipelines-jMTitpeO.js → project-pipelines-B9b_JVTS.js} +2 -2
- package/server/projects-DxMUi2eI.js +3 -0
- package/server/{prompts-B3njaImU.js → prompts-CY1xnHS-.js} +2 -2
- package/server/{providers-DnPxkHoG.js → providers-B7BNcK_j.js} +1 -1
- package/server/{providers-BbEyFhPX.js → providers-CAlK2If5.js} +7 -7
- package/server/public/assets/{chunk-BO2N2NFS-3qh9TUJi.js → chunk-BO2N2NFS-DzKZyoKY.js} +4 -4
- package/server/public/assets/{diagram-OG6HWLK6-D8UVTPj7.js → diagram-OG6HWLK6-Cx8mWUb8.js} +1 -1
- package/server/public/assets/{dist-BvLLn1YC.js → dist-BqccLhaw.js} +3 -3
- package/server/public/assets/{dist-CyubL7Wj.js → dist-rC3nAs_O.js} +1 -1
- package/server/public/assets/{ganttDiagram-6RSMTGT7-BI4E1LbQ.js → ganttDiagram-6RSMTGT7-DLYPLf5T.js} +1 -1
- package/server/public/assets/{highlighted-body-OFNGDK62-D_bapWkF.js → highlighted-body-OFNGDK62-D4DqixbV.js} +1 -1
- package/server/public/assets/index-CPcysUHk.js +796 -0
- package/server/public/assets/index-H5M0yhM4.css +1 -0
- package/server/public/assets/{linear-CEdobObr.js → linear-yqcXkDfj.js} +1 -1
- package/server/public/assets/mermaid-GHXKKRXX-CWdZ_heB.js +1 -0
- package/server/public/assets/{pieDiagram-4H26LBE5-DT79L01f.js → pieDiagram-4H26LBE5-DhraIOaV.js} +1 -1
- package/server/public/assets/{prod-CR_K2DFV.js → prod-DKUunUdN.js} +4 -4
- package/server/public/assets/{quadrantDiagram-W4KKPZXB-BEkKXXrL.js → quadrantDiagram-W4KKPZXB-DPiRcToa.js} +1 -1
- package/server/public/assets/{sankeyDiagram-5OEKKPKP-BxSCqn-j.js → sankeyDiagram-5OEKKPKP-3An5HNkZ.js} +1 -1
- package/server/public/assets/{xychartDiagram-2RQKCTM6-DicwJGG_.js → xychartDiagram-2RQKCTM6-lbEOjfqQ.js} +1 -1
- package/server/public/index.html +2 -2
- package/server/{pull-requests-43LPDfM8.js → pull-requests-Cs4VLxiY.js} +1 -1
- package/server/{pull-requests-DyUkQl4W.js → pull-requests-CxfrQiWX.js} +3 -3
- package/server/{agents-B9GwfCyp.js → queries-srgusoi8.js} +710 -325
- package/server/{rally-BtWjybOa.js → rally-AKkjuGdi.js} +3 -3
- package/server/rally-BOza5j3_.js +3 -0
- package/server/{rally-api-B-osULNL.js → rally-api-BGxATnyr.js} +2 -2
- package/server/{rally-api-B-YA_oXx.js → rally-api-Dbqw1YW9.js} +1 -1
- package/server/{rally-client-CzFymP7P.js → rally-client-B1U5ewpO.js} +1 -1
- package/server/{rally-client-sErNQBO0.js → rally-client-D8h73ei_.js} +5 -5
- package/server/{reap-terminal-sessions-DnDQ7pf9.js → reap-terminal-sessions-BR39qflC.js} +1 -1
- package/server/{reap-terminal-sessions-2s-fvilz.js → reap-terminal-sessions-CFkuquQj.js} +1 -1
- package/server/{rebuild-stack-CoU-HqZj.js → rebuild-stack-BYdtwS6f.js} +5 -5
- package/server/{rebuild-stack-nGD_nPZo.js → rebuild-stack-Dsm9WjKv.js} +1 -1
- package/server/{reconstruct-cache-Wj8GrYB0.js → reconstruct-cache-D7oM1lNv.js} +6 -6
- package/server/record-BeXdn9Ue.js +3 -0
- package/server/record-update-Cb_pPM-F.js +168 -0
- package/server/record-update-KFiISAmu.js +3 -0
- package/server/recovery-trip-DwbsONZf.js +44 -0
- package/server/{release-engine-CBLQXDlH.js → release-engine-CAai5W0V.js} +5 -5
- package/server/{release-set-BNiqi7hy.js → release-set-vNEAfyDH.js} +3 -3
- package/server/{remote-DW_TWQnr.js → remote-8HlOfuF1.js} +3 -3
- package/server/{remote-DcO9An_f.js → remote-RQMKOL_R.js} +3 -3
- package/server/{remote-agents-C4cyxHQS.js → remote-agents-C4a4DdTj.js} +6 -33
- package/server/{remote-agents-Cv-U-_V8.js → remote-agents-_Z1SAaSK.js} +1 -1
- package/server/{remote-completion-PhXGGFQy.js → remote-completion-CH3igKY8.js} +13 -13
- package/server/resume-Cr34JAXO.js +3 -0
- package/server/{review-agent-Dn-yn7Zj.js → review-agent-CQ7oRh_G.js} +31 -23
- package/server/{review-agent-u5q3ip7H.js → review-agent-CUVj54v0.js} +1 -1
- package/server/{review-artifacts-D4T04aYI.js → review-artifacts-CC3yGv7o.js} +5 -19
- package/server/{review-context-Rc0VDLG_.js → review-context-BuxaAgAd.js} +8 -8
- package/server/{review-monitor-BC--miCO.js → review-monitor-uogOppaW.js} +2 -2
- package/server/{review-status-CG0iDuWa.js → review-status-BoJdyvUQ.js} +1 -1
- package/server/{review-status-Dc1l4dVz.js → review-status-By86XA6Z.js} +38 -62
- package/server/{review-status-enrichment-C1a1OG_1.js → review-status-enrichment-CRQAO27G.js} +3 -3
- package/server/{review-status-sync-CfSixhhX.js → review-status-sync-BI4WhUkF.js} +1 -1
- package/server/{review-status-sync-CAr-hfnJ.js → review-status-sync-DUQmrLkK.js} +2 -2
- package/server/{review-verdict-feedback-CVDbIDBe.js → review-verdict-feedback-BNcGkBRD.js} +8 -8
- package/server/{review-verdict-feedback-D2Q960wX.js → review-verdict-feedback-CWz9_9Kp.js} +1 -1
- package/server/{rollup-CakjztPl.js → rollup-B-K6PCbm.js} +1 -1
- package/server/{rollup-DctoIu-A.js → rollup-CqiFgtBp.js} +8 -8
- package/server/{scanner-BTM1jc_u.js → scanner-BZmDUjyD.js} +7 -7
- package/server/{sequence-io-pnoIDGv4.js → sequence-io-BuUx1ZAY.js} +4 -4
- package/server/{sequencer-agent-9Soi-WL-.js → sequencer-agent-2uWOA_BC.js} +6 -17
- package/server/server.js +4700 -4096
- package/server/{service-DfTVoqJg.js → service-COB19Uhm.js} +116 -90
- package/server/{session-fork-C4jAFHj8.js → session-fork-D18TscUZ.js} +2 -2
- package/server/{session-history-DanhhiCw.js → session-history-DbWnzfo-.js} +4 -4
- package/server/settings-C3w2std9.js +2 -0
- package/server/{settings-Cuc12oP_.js → settings-CFEdfovT.js} +2 -2
- package/server/{settings-DfT3f86D.js → settings-DNPAf2X_.js} +3 -3
- package/server/{shadow-engineering-bKuKTCn-.js → shadow-engineering-D8xTtraU.js} +3 -3
- package/server/{shadow-state-DJz6_pb_.js → shadow-state-CTgub0ME.js} +2 -2
- package/server/{shadow-state-CVHpRWlb.js → shadow-state-fRDYhcyx.js} +1 -1
- package/server/shadow-utils-DqMLnRgQ.js +39 -0
- package/server/{ship-log-CwqPFfqx.js → ship-log-BRQQi2lU.js} +1 -1
- package/server/{smart-compaction-B4KlpZGN.js → smart-compaction-CL6yaFpc.js} +1 -1
- package/server/{smart-compaction-CiWfGfRZ.js → smart-compaction-CsJDKM-N.js} +7 -7
- package/server/{spawn-planning-session-D5N3RuLG.js → spawn-planning-session-C_wIQ-Zg.js} +1 -1
- package/server/{spawn-planning-session-CU-DwyDl.js → spawn-planning-session-D0-NlNK1.js} +16 -16
- package/server/{specialist-completion-CJcv-NXH.js → specialist-completion-pJtESo7m.js} +1 -1
- package/server/{specialist-context-B2HlbNxS.js → specialist-context-DXj5Itg8.js} +5 -5
- package/server/{specialist-handoff-logger-CQyF1ygu.js → specialist-handoff-logger-BFH-IB0n.js} +2 -2
- package/server/{specialist-logs-CdcUpfjj.js → specialist-logs-B-rldhNg.js} +3 -3
- package/server/{specialists-CFgw_0Q6.js → specialists-C6-b3YZb.js} +161 -448
- package/server/{specialists-D7AcFi1u.js → specialists-CI_eqHAz.js} +1 -1
- package/server/{specialists-CwzFdapR.js → specialists-Dp8ABxVh.js} +18 -18
- package/server/{specialists-k22_Btaq.js → specialists-Hq3EojmD.js} +1 -1
- package/server/specs-DPGNVh51.js +3 -0
- package/server/{src-B4TTzNSr.js → src-By3D85Ry.js} +6 -1
- package/server/{src-BvpMg4EB.js → src-CqyFg52C.js} +5 -5
- package/server/{src-D4YUZrwR.js → src-DhxM-eCb.js} +6 -6
- package/server/{stack-health-DVN7zRnL.js → stack-health-Bxt-oGE6.js} +1 -1
- package/server/{stack-health-CSgcYcr8.js → stack-health-FtNYSTCS.js} +2 -2
- package/server/stale-task-claims-DnCHCATD.js +69 -0
- package/server/state-home-BzzKVh_C.js +213 -0
- package/server/{state-mapping-C13UaCL7.js → state-mapping-Ci0pkac4.js} +1 -1
- package/server/state-migrate-BS4IybIS.js +362 -0
- package/server/{stuck-remediation-nTIvhGOR.js → stuck-remediation-CTNT4LUC.js} +1 -1
- package/server/{stuck-remediation-CxsyxwFO.js → stuck-remediation-DbwhGg3g.js} +36 -41
- package/server/{summary-fork-CnRMPCYd.js → summary-fork-CloCB8dV.js} +2 -2
- package/server/{summary-fork-gKSoFAnK.js → summary-fork-DaCs0tCq.js} +8 -8
- package/server/supervisor/{paths-3R6b989k.js → paths-C1yU0jq4.js} +5 -3
- package/server/supervisor/pty-supervisor.js +2 -2
- package/server/supervisor/{pty-token-CScQ32Rj.js → pty-token-CSryb8Mb.js} +2 -2
- package/server/{supervisor-CZMs8s0M.js → supervisor-CRED6PD6.js} +2 -2
- package/server/supervisor-DHwuClN_.js +2 -0
- package/server/{swarm-readiness-h6-pwY8w.js → swarm-readiness-CEOrP9rE.js} +3 -3
- package/server/{system-prerequisites-DZZTi2G6.js → system-prerequisites-Bz6KdkFJ.js} +1 -13
- package/server/{teardown-workspace-B4D-oCVg.js → teardown-workspace-Ckn7HGhp.js} +14 -71
- package/server/{test-agent-queue-CnuYku4B.js → test-agent-queue-C8lE8r2j.js} +5 -5
- package/server/{tldr-daemon-CgZQ3jmZ.js → tldr-daemon-BE5rqR90.js} +1 -1
- package/server/{tldr-daemon-CuA8hz21.js → tldr-daemon-CGwDr28O.js} +2 -2
- package/server/{tmux-C3g9VFcg.js → tmux-C3X2XmV0.js} +92 -4
- package/server/tmux-DNaD06Gc.js +3 -0
- package/server/{token-g_sJ19g3.js → token-Dsa-i36o.js} +2 -2
- package/server/{token-util-DiwnnbJo.js → token-util-BWNpH96m.js} +1 -1
- package/server/token-util-DRt0j2nQ.js +3 -0
- package/server/{tracker-config-dQxC15vH.js → tracker-config-5Cabf1MU.js} +2 -2
- package/server/{tracker-utils--z8FLSWn.js → tracker-utils-Cl-Eaqrv.js} +2 -2
- package/server/{tracker-utils-DkKyRT0H.js → tracker-utils-FexeJhyf.js} +1 -1
- package/server/{tunnel-CN2px87h.js → tunnel-D4px7sKc.js} +1 -1
- package/server/{tunnel-BpWZs0Jy.js → tunnel-KId6Z59z.js} +3 -3
- package/server/typed-errors-CH4roFIj.js +3 -0
- package/server/{typed-errors-sLpGfegz.js → typed-errors-n_Tnb4Fh.js} +3 -4
- package/server/{types-BLS_Zbmd.js → types-DOjWNv3Z.js} +1 -1
- package/server/{types-tlXf80x3.js → types-DXBMm4mX.js} +1 -1
- package/server/{uat-train-BRo6DM7p.js → uat-train-B16skN7L.js} +24 -25
- package/server/{uat-train-utGVmqdm.js → uat-train-BBMrnecu.js} +1 -1
- package/server/validation-Zc4kAmqa.js +3 -0
- package/server/{validation-CsPVsoA0.js → validation-xAD7y5vW.js} +70 -23
- package/server/verification-artifact-DK1xb1zG.js +56 -0
- package/server/verification-artifact-JD_edpZ9.js +2 -0
- package/server/{verification-runner-CMT5WRMS.js → verification-runner-32y8NRfL.js} +338 -58
- package/server/verification-runner-DAat1p1u.js +2 -0
- package/server/{vtt-parser-C_XPlifj.js → vtt-parser-QnRfcjiU.js} +1 -1
- package/server/{work-agent-prompt-ZTAb2Hyf.js → work-agent-prompt-S3Fe1kpV.js} +12 -88
- package/server/{workflows-CXRwhw_o.js → workflows-BNvk5gbE.js} +17 -24
- package/server/workflows-Cw2-a_hn.js +2 -0
- package/server/{workspace-CNfuj1-5.js → workspace-BhUnCpcq.js} +3 -3
- package/server/{workspace-9UEsKuiP.js → workspace-C-gP6JAz.js} +1 -1
- package/server/{workspace-config-ChWOECy0.js → workspace-config-C77NKnsV.js} +1 -1
- package/server/{workspace-manager-D8AByFIT.js → workspace-manager-BKiMmb0c.js} +23 -48
- package/server/{workspace-manager-BO-6k3sP.js → workspace-manager-DD6PDqV8.js} +1 -1
- package/server/{workspace-metadata-CvC268MN.js → workspace-metadata-Cnq0snrf.js} +2 -2
- package/server/{workspace-metadata-DZiJtnuF.js → workspace-metadata-D5gNR61G.js} +1 -1
- package/server/{workspaces-D-uIoqbg.js → workspaces-DiAwBsb9.js} +182 -152
- package/sync-sources/hooks/codex-notify-hook +64 -8
- package/sync-sources/hooks/record-cost-event.js +1110 -37
- package/sync-sources/hooks/record-cost-event.js.map +1 -1
- package/sync-sources/hooks/statusline.sh +2 -2
- package/sync-sources/hooks/work-agent-stop-hook +1 -2
- package/server/acceptance-criteria-BZ_nQS1f.js +0 -33
- package/server/agent-state-lGvgPP4m.js +0 -3
- package/server/agents-CEcaxSkR.js +0 -3
- package/server/auto-commit-IW-eik_b.js +0 -3
- package/server/bd-process-lock-XAXAet9O.js +0 -390
- package/server/beads-B1u04n3o.js +0 -2
- package/server/beads-BeSMEjGT.js +0 -649
- package/server/beads-query-Dl4FhT8J.js +0 -95
- package/server/beads-restore-BUItPOjI.js +0 -23
- package/server/cli-D9cUTbBr.js +0 -3
- package/server/codex-BYPz6ZdF.js +0 -3
- package/server/compact-beads-CyJtoXJi.js +0 -94
- package/server/compact-beads-N00E4EVa.js +0 -3
- package/server/deacon-swarm-CvdFekIO.js +0 -2
- package/server/dist-BNwrgsUO.js +0 -3
- package/server/export-BJHSVwKP.js +0 -87
- package/server/forge-8y6aEPTB.js +0 -2
- package/server/hume-CerGi2RH.js +0 -3
- package/server/inspect-agent-CWkeAB7J.js +0 -2
- package/server/lifecycle-Ck2UR27D.js +0 -14
- package/server/merge-ops-CFkQtXEj.js +0 -2
- package/server/projects-CrBE6IhN.js +0 -3
- package/server/public/assets/index-BAZxZ-8I.js +0 -796
- package/server/public/assets/index-FBG3JBfq.css +0 -1
- package/server/public/assets/mermaid-GHXKKRXX-BYP8MI37.js +0 -1
- package/server/rally-oggyp4cs.js +0 -3
- package/server/record-lEYK__LD.js +0 -3
- package/server/recovery-trip-BT7nb9OV.js +0 -98
- package/server/resolver-C7dLn8OK.js +0 -158
- package/server/resume-BYZBIab-.js +0 -3
- package/server/settings-Cy7SCFO9.js +0 -2
- package/server/specs-RzcDgozr.js +0 -3
- package/server/supervisor-CfX192ma.js +0 -2
- package/server/tmux-By8E_Yv_.js +0 -3
- package/server/token-util-C9u4An3K.js +0 -3
- package/server/tracker-config-BzfVj41Z.js +0 -3
- package/server/typed-errors-CrN1AByg.js +0 -3
- package/server/validation-Dq_wwcw3.js +0 -3
- package/server/verification-runner-D0Uh-9jc.js +0 -2
- package/server/workflows-BLwxUMP7.js +0 -2
- package/server/writer-BUweuRPx.js +0 -3
- package/server/writer-CrP2xuBn.js +0 -251
|
@@ -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 { Sr as init_errors } from "./config-yaml-BQs6GbD_.js";
|
|
3
|
+
import { n as init_workspace_config, r as replacePlaceholdersSync } from "./workspace-config-C77NKnsV.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-xPhZHCrx.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-xPhZHCrx.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-DPEglAwA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { Fn as init_projects, kn as getProjectSync, qn as resolveProjectFromIssueSync } from "./config-yaml-
|
|
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 { Fn as init_projects, kn as getProjectSync, qn as resolveProjectFromIssueSync } from "./config-yaml-BQs6GbD_.js";
|
|
3
|
+
import { a as renderDevcontainerSync, r as init_devcontainer_renderer } from "./devcontainer-renderer-xPhZHCrx.js";
|
|
4
|
+
import { a as stepSkipped, i as stepOk, n as init_types, r as stepFailed } from "./types-DXBMm4mX.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-SzSvEdKq.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-SzSvEdKq.js";
|
|
2
2
|
init_ensure_devcontainer();
|
|
3
3
|
export { ensureDevcontainer, ensureDevcontainerSync };
|
|
@@ -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-D4s6eQ6o.js";
|
|
2
2
|
init_event_store();
|
|
3
3
|
export { createEventStore, getEventStore, getSharedDb, initEventStore, openEventDb };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { Jr as
|
|
2
|
+
import { Jr as getOverdeckHome, Yr as init_paths } from "./config-yaml-BQs6GbD_.js";
|
|
3
3
|
import { a as init_activity_logger, o as setActivityEventStoreProvider } from "./activity-logger-pcbf-e30.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-DYwIXlK5.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-D4s6eQ6o.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { Fn as init_projects,
|
|
3
|
-
import { d as init_cost_sync, f as insertCostEventSync } from "./cost-sync-
|
|
2
|
+
import { Fn as init_projects, Sr as init_errors, nr as extractPrefixSync, rr as init_issue_id, zn as listProjectsSync } from "./config-yaml-BQs6GbD_.js";
|
|
3
|
+
import { d as init_cost_sync, f as insertCostEventSync } from "./cost-sync-CVIAsrhB.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-D1hMLl2a.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { f as loadConfigSync,
|
|
3
|
-
import { n as init_dist_src, t as Octokit } from "./dist-src-
|
|
4
|
-
import { a as TrackerAuthError, i as NotImplementedError, o as init_interface, r as IssueNotFoundError } from "./rally-api-
|
|
5
|
-
import { n as init_rally, t as RallyTracker } from "./rally-
|
|
2
|
+
import { Sr as init_errors, f as loadConfigSync, gr as LinearApiError, mr as GitHubApiError, t as init_config_yaml } from "./config-yaml-BQs6GbD_.js";
|
|
3
|
+
import { n as init_dist_src, t as Octokit } from "./dist-src-BE0Denfs.js";
|
|
4
|
+
import { a as TrackerAuthError, i as NotImplementedError, o as init_interface, r as IssueNotFoundError } from "./rally-api-BGxATnyr.js";
|
|
5
|
+
import { n as init_rally, t as RallyTracker } from "./rally-AKkjuGdi.js";
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { LinearClient } from "@linear/sdk";
|
|
8
8
|
//#region ../../lib/tracker/linear.ts
|
|
@@ -484,17 +484,20 @@ var init_github = __esmMin((() => {
|
|
|
484
484
|
}).pipe(Effect.orElseSucceed(() => void 0)),
|
|
485
485
|
onSuccess: () => Effect.succeed(void 0)
|
|
486
486
|
}));
|
|
487
|
-
if (state === "in_progress") return
|
|
488
|
-
|
|
489
|
-
"
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
487
|
+
if (state === "in_progress") return self.getIssue(id).pipe(Effect.flatMap((issue) => {
|
|
488
|
+
const currentLabels = new Set(issue.labels ?? []);
|
|
489
|
+
return ensureLabelExists("in-progress", "In progress", "0075ca").pipe(Effect.flatMap(() => addLabels(["in-progress"])), Effect.flatMap(() => Effect.forEach([
|
|
490
|
+
"in-review",
|
|
491
|
+
"planned",
|
|
492
|
+
"in-planning",
|
|
493
|
+
"review-ready",
|
|
494
|
+
"done",
|
|
495
|
+
"merged",
|
|
496
|
+
"verifying-on-main",
|
|
497
|
+
"needs-close-out",
|
|
498
|
+
"closed-out"
|
|
499
|
+
].filter((label) => currentLabels.has(label)), (label) => removeLabelSilent(label), { concurrency: 1 })), Effect.asVoid);
|
|
500
|
+
}));
|
|
498
501
|
if (state === "in_review") return ensureLabelExists("in-review", "In review", "e4e669").pipe(Effect.flatMap(() => addLabels(["in-review"])), Effect.flatMap(() => removeLabelSilent("in-progress")), Effect.asVoid);
|
|
499
502
|
return self.getIssue(id).pipe(Effect.flatMap((issue) => {
|
|
500
503
|
const labelsToRemove = ["in-progress", "in-review"].filter((l) => issue.labels?.includes(l));
|
|
@@ -677,6 +680,6 @@ var init_factory = __esmMin((() => {
|
|
|
677
680
|
init_config_yaml();
|
|
678
681
|
}));
|
|
679
682
|
//#endregion
|
|
680
|
-
export { createTrackerFromConfig as n, init_factory as r, createTracker as t };
|
|
683
|
+
export { init_linear as a, LinearTracker as i, createTrackerFromConfig as n, init_factory as r, createTracker as t };
|
|
681
684
|
|
|
682
|
-
//# sourceMappingURL=factory-
|
|
685
|
+
//# sourceMappingURL=factory-ltWnu0V_.js.map
|
package/server/{feature-registry-population-CqZSnqQi.js → feature-registry-population-xj-J1Wm7.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { t as init_config_yaml } from "./config-yaml-
|
|
3
|
-
import { r as updateFeatureRegistryOwnership, t as init_feature_registry_storage } from "./feature-registry-storage-
|
|
4
|
-
import { t as init_providers } from "./providers-
|
|
2
|
+
import { t as init_config_yaml } from "./config-yaml-BQs6GbD_.js";
|
|
3
|
+
import { r as updateFeatureRegistryOwnership, t as init_feature_registry_storage } from "./feature-registry-storage-CQZukiLm.js";
|
|
4
|
+
import { t as init_providers } from "./providers-CAlK2If5.js";
|
|
5
5
|
import { basename } from "node:path";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region ../../lib/registry/feature-registry-population.ts
|
|
@@ -40,4 +40,4 @@ var init_feature_registry_population = __esmMin((() => {
|
|
|
40
40
|
//#endregion
|
|
41
41
|
export { recordFeatureRegistryLifecycle as n, init_feature_registry_population as t };
|
|
42
42
|
|
|
43
|
-
//# sourceMappingURL=feature-registry-population-
|
|
43
|
+
//# sourceMappingURL=feature-registry-population-xj-J1Wm7.js.map
|
package/server/{feature-registry-storage-BeXmNBwK.js → feature-registry-storage-CQZukiLm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { Jr as
|
|
2
|
+
import { Jr as getOverdeckHome, Yr as init_paths } from "./config-yaml-BQs6GbD_.js";
|
|
3
3
|
import { n as openDatabase, t as init_driver } from "./driver-D-HBOQa_.js";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { mkdirSync } from "node:fs";
|
|
@@ -263,4 +263,4 @@ var init_feature_registry_storage = __esmMin((() => {
|
|
|
263
263
|
//#endregion
|
|
264
264
|
export { listFeatureRegistryEntries as n, updateFeatureRegistryOwnership as r, init_feature_registry_storage as t };
|
|
265
265
|
|
|
266
|
-
//# sourceMappingURL=feature-registry-storage-
|
|
266
|
+
//# sourceMappingURL=feature-registry-storage-CQZukiLm.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { f as loadConfigSync, t as init_config_yaml } from "./config-yaml-
|
|
2
|
+
import { f as loadConfigSync, t as init_config_yaml } from "./config-yaml-BQs6GbD_.js";
|
|
3
3
|
//#region ../../lib/background-ai/features.ts
|
|
4
4
|
/**
|
|
5
5
|
* The single gate every background AI caller must consult before invoking a
|
|
@@ -18,4 +18,4 @@ var init_features = __esmMin((() => {
|
|
|
18
18
|
//#endregion
|
|
19
19
|
export { isBackgroundFeatureEnabled as n, init_features as t };
|
|
20
20
|
|
|
21
|
-
//# sourceMappingURL=features-
|
|
21
|
+
//# sourceMappingURL=features-Dyqi6N8f.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as resolveIssueFeedbackTarget, r as surfaceIssueFeedbackNeedsYou, t as init_feedback_target } from "./feedback-target-
|
|
1
|
+
import { n as resolveIssueFeedbackTarget, r as surfaceIssueFeedbackNeedsYou, t as init_feedback_target } from "./feedback-target-Chd5dm-Q.js";
|
|
2
2
|
init_feedback_target();
|
|
3
3
|
export { resolveIssueFeedbackTarget, surfaceIssueFeedbackNeedsYou };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Fn as init_projects, Pt as readIssueRecordSync, kn as getProjectSync, kt as init_record, qn as resolveProjectFromIssueSync } from "./config-yaml-BQs6GbD_.js";
|
|
3
|
+
import { n as updateIssueRecord, t as init_record_update } from "./record-update-Cb_pPM-F.js";
|
|
4
|
+
import { R as sessionExists, S as init_tmux, k as listSessionNames } from "./tmux-C3X2XmV0.js";
|
|
4
5
|
import { Effect } from "effect";
|
|
5
6
|
//#region ../../lib/cloister/feedback-target.ts
|
|
6
7
|
async function isLiveSession(agentId) {
|
|
@@ -69,7 +70,7 @@ async function resolveIssueFeedbackTarget(issueId, opts = {}) {
|
|
|
69
70
|
if (project && record) {
|
|
70
71
|
const fallback = await findLiveUnregisteredSlot(normalizedIssue);
|
|
71
72
|
if (fallback) {
|
|
72
|
-
|
|
73
|
+
await updateIssueRecord(project, normalizedIssue, (current) => selfHealSlotAssignment(current, fallback.agentId, fallback.slotIndex, requestedItemId));
|
|
73
74
|
return { agentId: fallback.agentId };
|
|
74
75
|
}
|
|
75
76
|
}
|
|
@@ -107,7 +108,7 @@ async function resolveIssueFeedbackTarget(issueId, opts = {}) {
|
|
|
107
108
|
*/
|
|
108
109
|
async function resurrectAgentForFeedback(agentId, issueId) {
|
|
109
110
|
try {
|
|
110
|
-
const { getAgentStateSync, clearAgentPausedSync, clearAgentTroubledSync } = await import("./agent-state-
|
|
111
|
+
const { getAgentStateSync, clearAgentPausedSync, clearAgentTroubledSync } = await import("./agent-state-BMrpX7kU.js");
|
|
111
112
|
const state = getAgentStateSync(agentId);
|
|
112
113
|
if (!state) return false;
|
|
113
114
|
if (state.paused === true) {
|
|
@@ -123,7 +124,7 @@ async function resurrectAgentForFeedback(agentId, issueId) {
|
|
|
123
124
|
console.warn(`[feedback-target] ${agentId} is gated (troubled=${state.troubled === true}, failures=${state.consecutiveFailures ?? 0}) — clearing for one resurrection attempt to deliver ${issueId} feedback; failure tracking re-trips the gate on another crash`);
|
|
124
125
|
clearAgentTroubledSync(agentId);
|
|
125
126
|
}
|
|
126
|
-
const { resumeAgent } = await import("./resume-
|
|
127
|
+
const { resumeAgent } = await import("./resume-Cr34JAXO.js");
|
|
127
128
|
const result = await resumeAgent(agentId);
|
|
128
129
|
if (!result.success) {
|
|
129
130
|
console.warn(`[feedback-target] Failed to resurrect ${agentId} for ${issueId} feedback: ${result.error}`);
|
|
@@ -137,7 +138,7 @@ async function resurrectAgentForFeedback(agentId, issueId) {
|
|
|
137
138
|
}
|
|
138
139
|
async function surfaceIssueFeedbackNeedsYou(issueId, reason, details = {}) {
|
|
139
140
|
try {
|
|
140
|
-
const { markWorkspaceStuck } = await import("./review-status-
|
|
141
|
+
const { markWorkspaceStuck } = await import("./review-status-BoJdyvUQ.js");
|
|
141
142
|
markWorkspaceStuck(issueId, "feedback_delivery_needs_you", {
|
|
142
143
|
reason,
|
|
143
144
|
...details
|
|
@@ -150,9 +151,10 @@ async function surfaceIssueFeedbackNeedsYou(issueId, reason, details = {}) {
|
|
|
150
151
|
var init_feedback_target = __esmMin((() => {
|
|
151
152
|
init_projects();
|
|
152
153
|
init_record();
|
|
154
|
+
init_record_update();
|
|
153
155
|
init_tmux();
|
|
154
156
|
}));
|
|
155
157
|
//#endregion
|
|
156
158
|
export { resolveIssueFeedbackTarget as n, surfaceIssueFeedbackNeedsYou as r, init_feedback_target as t };
|
|
157
159
|
|
|
158
|
-
//# sourceMappingURL=feedback-target-
|
|
160
|
+
//# sourceMappingURL=feedback-target-Chd5dm-Q.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as writeFeedbackFile, i as init_feedback_writer, n as archiveFeedbackFiles, r as clearFeedbackFiles, t as FeedbackWriteError } from "./feedback-writer-
|
|
1
|
+
import { a as writeFeedbackFile, i as init_feedback_writer, n as archiveFeedbackFiles, r as clearFeedbackFiles, t as FeedbackWriteError } from "./feedback-writer-BujzReaQ.js";
|
|
2
2
|
init_feedback_writer();
|
|
3
3
|
export { FeedbackWriteError, archiveFeedbackFiles, clearFeedbackFiles, writeFeedbackFile };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { Fn as init_projects, qn as resolveProjectFromIssueSync } from "./config-yaml-
|
|
3
|
-
import { a as clearFeedback, o as readFeedback, s as writeFeedback, t as init_pan_dir, u as getWorkspacePanPaths } from "./pan-dir-
|
|
4
|
-
import { a as init_lifecycle_io, n as appendFeedbackEntryForIssue, o as readContinueStateForIssue, r as clearFeedbackForIssue, t as appendContinueSessionEntryForIssue } from "./lifecycle-io-
|
|
2
|
+
import { Fn as init_projects, qn as resolveProjectFromIssueSync } from "./config-yaml-BQs6GbD_.js";
|
|
3
|
+
import { a as clearFeedback, o as readFeedback, s as writeFeedback, t as init_pan_dir, u as getWorkspacePanPaths } from "./pan-dir-D3vABXMs.js";
|
|
4
|
+
import { a as init_lifecycle_io, n as appendFeedbackEntryForIssue, o as readContinueStateForIssue, r as clearFeedbackForIssue, t as appendContinueSessionEntryForIssue } from "./lifecycle-io-Dcu-_ktz.js";
|
|
5
5
|
import { Data, Effect } from "effect";
|
|
6
6
|
import { existsSync } from "fs";
|
|
7
7
|
import { join } from "path";
|
|
@@ -148,4 +148,4 @@ var init_feedback_writer = __esmMin((() => {
|
|
|
148
148
|
//#endregion
|
|
149
149
|
export { writeFeedbackFile as a, init_feedback_writer as i, archiveFeedbackFiles as n, clearFeedbackFiles as r, FeedbackWriteError as t };
|
|
150
150
|
|
|
151
|
-
//# sourceMappingURL=feedback-writer-
|
|
151
|
+
//# sourceMappingURL=feedback-writer-BujzReaQ.js.map
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { a as __toCommonJS } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { Fn as init_projects, On as getProjectSwarmHotspots, Sn as findProjectByPathSync } from "./config-yaml-
|
|
3
|
-
import { _ as FlywheelRunId, t as init_src, v as FlywheelStatus } from "./src-
|
|
4
|
-
import { c as init_review_status, s as getReviewStatusSync } from "./review-status-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as init_issue_service_singleton, r as issue_service_singleton_exports } from "./issue-service-singleton-
|
|
8
|
-
import { o as getInternalTokenSync, s as init_internal_token, t as INTERNAL_TOKEN_HEADER } from "./internal-token
|
|
9
|
-
import { d as isFlywheelAutoPickupBacklog, f as isFlywheelGloballyPaused, i as getFlywheelActiveRunId, p as isFlywheelRequireUatBeforeMerge, s as init_control_settings, x as setFlywheelGloballyPaused, y as setFlywheelActiveRunId } from "./control-settings-
|
|
10
|
-
import { n as
|
|
11
|
-
import {
|
|
12
|
-
import { a as declaredIssueFootprint, i as computePredictedConflictSignals, s as pickFromSequence } from "./flywheel-merge-order-CtCYsFJP.js";
|
|
2
|
+
import { Fn as init_projects, On as getProjectSwarmHotspots, Sn as findProjectByPathSync } from "./config-yaml-BQs6GbD_.js";
|
|
3
|
+
import { _ as FlywheelRunId, t as init_src, v as FlywheelStatus } from "./src-By3D85Ry.js";
|
|
4
|
+
import { c as init_review_status, s as getReviewStatusSync } from "./review-status-By86XA6Z.js";
|
|
5
|
+
import { a as countAgentsByStatusRole, o as init_agents } from "./agents--ljN-wVY.js";
|
|
6
|
+
import { Q as stopAgent, X as spawnRun, jn as getAgentDir, s as init_agents$1 } from "./queries-srgusoi8.js";
|
|
7
|
+
import { n as init_issue_service_singleton, r as issue_service_singleton_exports } from "./issue-service-singleton-DKKPneH4.js";
|
|
8
|
+
import { o as getInternalTokenSync, s as init_internal_token, t as INTERNAL_TOKEN_HEADER } from "./internal-token--50JhWP7.js";
|
|
9
|
+
import { d as isFlywheelAutoPickupBacklog, f as isFlywheelGloballyPaused, i as getFlywheelActiveRunId, p as isFlywheelRequireUatBeforeMerge, s as init_control_settings, x as setFlywheelGloballyPaused, y as setFlywheelActiveRunId } from "./control-settings-bxOCLsuE.js";
|
|
10
|
+
import { n as parseSequenceMd, t as init_sequence_io } from "./sequence-io-BuUx1ZAY.js";
|
|
11
|
+
import { a as declaredIssueFootprint, i as computePredictedConflictSignals, s as pickFromSequence } from "./flywheel-merge-order-DuenRJLZ.js";
|
|
13
12
|
import { dirname, join } from "node:path";
|
|
14
13
|
import { Effect, Schema } from "effect";
|
|
15
14
|
import { homedir } from "node:os";
|
|
@@ -19,7 +18,6 @@ import { mkdir, readFile, readdir, rename, stat as stat$1, writeFile } from "nod
|
|
|
19
18
|
init_projects();
|
|
20
19
|
init_internal_token();
|
|
21
20
|
init_review_status();
|
|
22
|
-
init_resolver();
|
|
23
21
|
init_agents$1();
|
|
24
22
|
init_src();
|
|
25
23
|
init_control_settings();
|
|
@@ -265,13 +263,13 @@ async function abortFlywheelRun(runId, options = {}) {
|
|
|
265
263
|
init_sequence_io();
|
|
266
264
|
/**
|
|
267
265
|
* Build the {@link ClassifyLookups} the shared pickup module needs from live project
|
|
268
|
-
* state: labels (in-memory issue service), planned (vBRIEF spec
|
|
266
|
+
* state: labels (in-memory issue service), planned (readable vBRIEF spec), and
|
|
269
267
|
* in-pipeline (review status / live workspace). Shared by the dashboard forecast
|
|
270
268
|
* route and the Flywheel run-cohort snapshot so both classify issues identically
|
|
271
269
|
* (PAN-2006 single source of truth). The issue service is lazy-required to avoid a
|
|
272
270
|
* static lib → dashboard layering edge.
|
|
273
271
|
*/
|
|
274
|
-
function buildClassifyLookups(projectRoot, opts) {
|
|
272
|
+
function buildClassifyLookups(projectRoot, opts = {}) {
|
|
275
273
|
const labelsByIssue = /* @__PURE__ */ new Map();
|
|
276
274
|
if (!opts?.labels) try {
|
|
277
275
|
const { getSharedIssueService } = (init_issue_service_singleton(), __toCommonJS(issue_service_singleton_exports));
|
|
@@ -289,20 +287,11 @@ function buildClassifyLookups(projectRoot, opts) {
|
|
|
289
287
|
if (m) specIssues.add(m[1].toUpperCase());
|
|
290
288
|
}
|
|
291
289
|
const workspacesDir = join(projectRoot, "workspaces");
|
|
292
|
-
const beadsIssues = new Set(opts?.issuesWithBeads ?? []);
|
|
293
|
-
if (!opts?.issuesWithBeads && existsSync(workspacesDir)) for (const dir of readdirSync(workspacesDir)) {
|
|
294
|
-
const m = /^feature-([a-z]+-\d+)$/i.exec(dir);
|
|
295
|
-
if (m) {
|
|
296
|
-
const issueId = m[1].toUpperCase();
|
|
297
|
-
const result = createBeadsResolver(join(workspacesDir, dir)).getBeadsForIssueSync(issueId);
|
|
298
|
-
if (result.ok && result.value.length > 0) beadsIssues.add(issueId);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
290
|
return {
|
|
302
291
|
labels: opts?.labels ?? ((id) => labelsByIssue.get(id.toUpperCase()) ?? []),
|
|
303
292
|
isPlanned: (id) => {
|
|
304
293
|
const u = id.toUpperCase();
|
|
305
|
-
return specIssues.has(u)
|
|
294
|
+
return specIssues.has(u);
|
|
306
295
|
},
|
|
307
296
|
isInPipeline: (id) => {
|
|
308
297
|
const rs = getReviewStatusSync(id.toUpperCase());
|
|
@@ -312,7 +301,6 @@ function buildClassifyLookups(projectRoot, opts) {
|
|
|
312
301
|
}
|
|
313
302
|
//#endregion
|
|
314
303
|
//#region ../../lib/cloister/flywheel.ts
|
|
315
|
-
init_resolver();
|
|
316
304
|
init_control_settings();
|
|
317
305
|
const FLYWHEEL_ORCHESTRATOR_AGENT_ID = "flywheel-orchestrator";
|
|
318
306
|
const FlywheelRunIdSchema = Schema.String.check(Schema.isPattern(/^RUN-\d+$/));
|
|
@@ -395,8 +383,7 @@ async function flywheelRunConfigurationSection(options) {
|
|
|
395
383
|
const predictedConflictSignals = computePredictedConflictSignals(declaredFootprints, { hotspots: getProjectSwarmHotspots(findProjectByPathSync(projectRoot)) });
|
|
396
384
|
const isReadyOrHasPrd = (issueId) => {
|
|
397
385
|
const id = issueId.toUpperCase();
|
|
398
|
-
|
|
399
|
-
if (issuesWithSpecs.has(id) && beads.ok && beads.value.length > 0) return true;
|
|
386
|
+
if (issuesWithSpecs.has(id)) return true;
|
|
400
387
|
return existsSync(join(projectRoot, ".pan", "drafts", `${id}.md`));
|
|
401
388
|
};
|
|
402
389
|
const isInPipeline = (issueId) => existsSync(join(workspacesDir, `feature-${issueId.toLowerCase()}`));
|
|
@@ -521,4 +508,4 @@ async function resumeFlywheel(options = {}) {
|
|
|
521
508
|
//#endregion
|
|
522
509
|
export { writeLatestFlywheelStatus as S, readCurrentLatestFlywheelStatus as _, pauseFlywheel as a, subscribeLatestFlywheelStatus as b, spawnFlywheelAgent as c, clearFlywheelGate as d, getFlywheelRunDetail as f, nextFlywheelRunId as g, listFlywheelRuns as h, loadResumeSessionId as i, buildClassifyLookups as l, isFlywheelRunId as m, buildFlywheelResumePrompt as n, resumeFlywheel as o, getFlywheelRunDir as p, isFlywheelDevcontainerRuntime as r, saveResumeSessionId as s, FLYWHEEL_ORCHESTRATOR_AGENT_ID as t, abortFlywheelRun as u, readFlywheelLaunchMetadata as v, writeFlywheelLaunchMetadata as x, resolveLiveFlywheelRunId as y };
|
|
523
510
|
|
|
524
|
-
//# sourceMappingURL=flywheel-
|
|
511
|
+
//# sourceMappingURL=flywheel-FTInS73X.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as pauseFlywheel, o as resumeFlywheel } from "./flywheel-
|
|
1
|
+
import { a as pauseFlywheel, o as resumeFlywheel } from "./flywheel-FTInS73X.js";
|
|
2
2
|
export { pauseFlywheel, resumeFlywheel };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Fn as init_projects, On as getProjectSwarmHotspots, Sn as findProjectByPathSync } from "./config-yaml-
|
|
2
|
-
import { c as init_review_status, p as mergeGateEligibility, s as getReviewStatusSync } from "./review-status-
|
|
3
|
-
import { i as resolveGitHubIssueSync, n as init_tracker_utils } from "./tracker-utils
|
|
4
|
-
import {
|
|
5
|
-
import { n as computeIssueFootprint, r as init_swarm_readiness } from "./swarm-readiness-
|
|
1
|
+
import { Fn as init_projects, On as getProjectSwarmHotspots, Sn as findProjectByPathSync } from "./config-yaml-BQs6GbD_.js";
|
|
2
|
+
import { c as init_review_status, p as mergeGateEligibility, s as getReviewStatusSync } from "./review-status-By86XA6Z.js";
|
|
3
|
+
import { i as resolveGitHubIssueSync, n as init_tracker_utils } from "./tracker-utils-Cl-Eaqrv.js";
|
|
4
|
+
import { l as init_dag, r as compileGlob } from "./dag-ClFr7Bah.js";
|
|
5
|
+
import { n as computeIssueFootprint, r as init_swarm_readiness } from "./swarm-readiness-CEOrP9rE.js";
|
|
6
6
|
import { p as isAutoPickable, s as classifyIssue } from "./pickup-BtvRBbvI.js";
|
|
7
7
|
import { Effect } from "effect";
|
|
8
8
|
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
|
|
@@ -240,4 +240,4 @@ function pickFromSequence(nodes, opts) {
|
|
|
240
240
|
//#endregion
|
|
241
241
|
export { declaredIssueFootprint as a, resolveMergeQueuePrUrl as c, computePredictedConflictSignals as i, reviewRecordEligibility as l, changedFilesVsMain as n, orderMergeCandidates as o, computeMergeQueue as r, pickFromSequence as s, MERGE_GATE_VERBS as t };
|
|
242
242
|
|
|
243
|
-
//# sourceMappingURL=flywheel-merge-order-
|
|
243
|
+
//# sourceMappingURL=flywheel-merge-order-DuenRJLZ.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as resolveMergeQueuePrUrl, l as reviewRecordEligibility, r as computeMergeQueue } from "./flywheel-merge-order-
|
|
1
|
+
import { c as resolveMergeQueuePrUrl, l as reviewRecordEligibility, r as computeMergeQueue } from "./flywheel-merge-order-DuenRJLZ.js";
|
|
2
2
|
export { computeMergeQueue, resolveMergeQueuePrUrl, reviewRecordEligibility };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as init_config_yaml } from "./config-yaml-
|
|
2
|
-
import {
|
|
3
|
-
import { c as FlywheelStats, t as init_src, v as FlywheelStatus } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { s as init_internal_token } from "./internal-token
|
|
6
|
-
import { i as getFlywheelActiveRunId, s as init_control_settings } from "./control-settings-
|
|
7
|
-
import { t as init_harness_resolve } from "./harness-resolve-
|
|
8
|
-
import { d as clearFlywheelGate, f as getFlywheelRunDetail, h as listFlywheelRuns, p as getFlywheelRunDir } from "./flywheel-
|
|
9
|
-
import { f as init_github_app } from "./github-app-
|
|
10
|
-
import { t as init_sequence_io } from "./sequence-io-
|
|
11
|
-
import { r as computeMergeQueue } from "./flywheel-merge-order-
|
|
12
|
-
import "./merge-blockers-
|
|
1
|
+
import { t as init_config_yaml } from "./config-yaml-BQs6GbD_.js";
|
|
2
|
+
import { R as sessionExists, S as init_tmux } from "./tmux-C3X2XmV0.js";
|
|
3
|
+
import { c as FlywheelStats, t as init_src, v as FlywheelStatus } from "./src-By3D85Ry.js";
|
|
4
|
+
import { s as init_agents } from "./queries-srgusoi8.js";
|
|
5
|
+
import { s as init_internal_token } from "./internal-token--50JhWP7.js";
|
|
6
|
+
import { i as getFlywheelActiveRunId, s as init_control_settings } from "./control-settings-bxOCLsuE.js";
|
|
7
|
+
import { t as init_harness_resolve } from "./harness-resolve-ScD6rV47.js";
|
|
8
|
+
import { d as clearFlywheelGate, f as getFlywheelRunDetail, h as listFlywheelRuns, p as getFlywheelRunDir } from "./flywheel-FTInS73X.js";
|
|
9
|
+
import { f as init_github_app } from "./github-app-CRUIvHuM.js";
|
|
10
|
+
import { t as init_sequence_io } from "./sequence-io-BuUx1ZAY.js";
|
|
11
|
+
import { r as computeMergeQueue } from "./flywheel-merge-order-DuenRJLZ.js";
|
|
12
|
+
import "./merge-blockers-Dt43hJiW.js";
|
|
13
13
|
import { join } from "node:path";
|
|
14
14
|
import { Effect, Schema } from "effect";
|
|
15
15
|
import "node:os";
|
|
@@ -203,4 +203,4 @@ async function flywheelReportCommand(options = {}) {
|
|
|
203
203
|
//#endregion
|
|
204
204
|
export { flywheelReportCommand };
|
|
205
205
|
|
|
206
|
-
//# sourceMappingURL=flywheel-
|
|
206
|
+
//# sourceMappingURL=flywheel-rmYbW-lh.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as listPullRequestsForHead, b as mergePullRequestWithApp, d as getPullRequestState, f as init_github_app, p as isGitHubAppConfigured, x as parsePullRequestRef } from "./github-app-
|
|
1
|
+
import { _ as listPullRequestsForHead, b as mergePullRequestWithApp, d as getPullRequestState, f as init_github_app, p as isGitHubAppConfigured, x as parsePullRequestRef } from "./github-app-CRUIvHuM.js";
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
import { Data, Effect } from "effect";
|
|
4
4
|
import { tmpdir } from "node:os";
|
|
@@ -83,7 +83,7 @@ async function getExistingGitHubArtifact(branchName, cwd, repository) {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
async function getExistingGitLabArtifact(branchName, cwd, repository) {
|
|
86
|
-
const { stdout } = await execAsync(`glab mr list --source-branch ${branchName}${buildRepositoryFlag(repository)} --
|
|
86
|
+
const { stdout } = await execAsync(`glab mr list --source-branch ${branchName}${buildRepositoryFlag(repository)} --output json 2>/dev/null || true`, {
|
|
87
87
|
cwd,
|
|
88
88
|
encoding: "utf-8"
|
|
89
89
|
});
|
|
@@ -207,15 +207,25 @@ const gitlabForgeAdapter = {
|
|
|
207
207
|
if (existing) return existing;
|
|
208
208
|
const bodyEnv = input.body ? { PAN_MR_BODY: input.body } : {};
|
|
209
209
|
const bodyFlag = input.body ? " --description \"$PAN_MR_BODY\"" : "";
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
210
|
+
let stdout;
|
|
211
|
+
try {
|
|
212
|
+
({stdout} = await execAsync(`glab mr create --source-branch ${input.sourceBranch} --target-branch ${input.targetBranch} --title "${input.title}"${bodyFlag}${buildRepositoryFlag(input.repository)}`, {
|
|
213
|
+
cwd: input.cwd,
|
|
214
|
+
encoding: "utf-8",
|
|
215
|
+
env: {
|
|
216
|
+
...process.env,
|
|
217
|
+
...bodyEnv
|
|
218
|
+
},
|
|
219
|
+
shell: "/bin/bash"
|
|
220
|
+
}));
|
|
221
|
+
} catch (error) {
|
|
222
|
+
const message = String(error?.message ?? error);
|
|
223
|
+
if (message.includes("409") && message.includes("open merge request already exists")) {
|
|
224
|
+
const existingAfterConflict = await getExistingGitLabArtifact(input.sourceBranch, input.cwd, input.repository);
|
|
225
|
+
if (existingAfterConflict) return existingAfterConflict;
|
|
226
|
+
}
|
|
227
|
+
throw error;
|
|
228
|
+
}
|
|
219
229
|
return {
|
|
220
230
|
forge: "gitlab",
|
|
221
231
|
created: true,
|
|
@@ -257,4 +267,4 @@ function getForgeAdapter(forge) {
|
|
|
257
267
|
//#endregion
|
|
258
268
|
export { getForgeAdapter as n, parseArtifactRef as r, GITHUB_MERGE_TIMEOUT_MS as t };
|
|
259
269
|
|
|
260
|
-
//# sourceMappingURL=forge-
|
|
270
|
+
//# sourceMappingURL=forge-OWm99lie.js.map
|
|
@@ -3841,4 +3841,4 @@ var init_from = __esmMin((() => {
|
|
|
3841
3841
|
//#endregion
|
|
3842
3842
|
export { File as a, init_esm_min as i, FormData as n, Blob as o, formDataToBlob as r, init_fetch_blob as s, init_from as t };
|
|
3843
3843
|
|
|
3844
|
-
//# sourceMappingURL=from-
|
|
3844
|
+
//# sourceMappingURL=from-B2tOYhYV.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import { a as runMemoryFtsTransactionSync, i as runMemoryFtsStatementSync, n as getMemoryFtsDatabaseSync, r as init_fts_operations, t as closeMemoryFtsDatabasesInProcess } from "./fts-operations-
|
|
2
|
+
import { a as runMemoryFtsTransactionSync, i as runMemoryFtsStatementSync, n as getMemoryFtsDatabaseSync, r as init_fts_operations, t as closeMemoryFtsDatabasesInProcess } from "./fts-operations-L5sNLoHl.js";
|
|
3
3
|
import { Worker } from "node:worker_threads";
|
|
4
4
|
//#region ../../lib/memory/fts-db.ts
|
|
5
5
|
async function getMemoryFtsDatabase(projectId) {
|
|
@@ -143,4 +143,4 @@ var init_fts_db = __esmMin((() => {
|
|
|
143
143
|
//#endregion
|
|
144
144
|
export { withMemoryFtsDatabase as a, runMemoryFtsTransaction as i, init_fts_db as n, runMemoryFtsStatement as r, closeMemoryFtsDatabases as t };
|
|
145
145
|
|
|
146
|
-
//# sourceMappingURL=fts-db-
|
|
146
|
+
//# sourceMappingURL=fts-db-BRfS5ukG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
2
|
import { n as openDatabase, t as init_driver } from "./driver-D-HBOQa_.js";
|
|
3
|
-
import { i as init_paths, o as resolveFtsDbPath } from "./paths-
|
|
3
|
+
import { i as init_paths, o as resolveFtsDbPath } from "./paths-DIoslfsu.js";
|
|
4
4
|
import { dirname } from "node:path";
|
|
5
5
|
import { mkdirSync } from "node:fs";
|
|
6
6
|
//#region ../../lib/memory/fts-operations.ts
|
|
@@ -131,4 +131,4 @@ var init_fts_operations = __esmMin((() => {
|
|
|
131
131
|
//#endregion
|
|
132
132
|
export { runMemoryFtsTransactionSync as a, runMemoryFtsStatementSync as i, getMemoryFtsDatabaseSync as n, init_fts_operations as r, closeMemoryFtsDatabasesInProcess as t };
|
|
133
133
|
|
|
134
|
-
//# sourceMappingURL=fts-operations-
|
|
134
|
+
//# sourceMappingURL=fts-operations-L5sNLoHl.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as init_git_utils, n as getWorkspaceGitInfo, r as hasStaleLocks, t as cleanupStaleLocks } from "./git-utils-
|
|
1
|
+
import { i as init_git_utils, n as getWorkspaceGitInfo, r as hasStaleLocks, t as cleanupStaleLocks } from "./git-utils-CP-bg-aM.js";
|
|
2
2
|
init_git_utils();
|
|
3
3
|
export { cleanupStaleLocks, getWorkspaceGitInfo, hasStaleLocks };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Sr as init_errors, fr as FsError, pr as GitError } from "./config-yaml-BQs6GbD_.js";
|
|
3
3
|
import { Effect } from "effect";
|
|
4
4
|
import { existsSync, readdirSync, unlinkSync } from "fs";
|
|
5
5
|
import { join } from "path";
|
|
@@ -126,4 +126,4 @@ var init_git_utils = __esmMin((() => {
|
|
|
126
126
|
//#endregion
|
|
127
127
|
export { init_git_utils as i, getWorkspaceGitInfo as n, hasStaleLocks as r, cleanupStaleLocks as t };
|
|
128
128
|
|
|
129
|
-
//# sourceMappingURL=git-utils-
|
|
129
|
+
//# sourceMappingURL=git-utils-CP-bg-aM.js.map
|