@overdeck/desktop 0.45.13 → 0.45.15

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.
Files changed (321) hide show
  1. package/package.json +1 -1
  2. package/server/{acceptance-criteria-CfujPRrz.js → acceptance-criteria-DHZk2ceV.js} +2 -2
  3. package/server/{advancing-selfheal-Bn5QiLtn.js → advancing-selfheal-CSuZ31bB.js} +5 -5
  4. package/server/{agent-gc-Cl9Nm0Zu.js → agent-gc-D_DxfBHR.js} +3 -3
  5. package/server/{agent-state-C6Rm6FPR.js → agent-state-EP2QFV9n.js} +1 -1
  6. package/server/{agent-state-service-JhFzYCP_.js → agent-state-service-BZkvgQf4.js} +5 -5
  7. package/server/{agent-state-service-U8feBf8t.js → agent-state-service-C_2ZAQRP.js} +1 -1
  8. package/server/{agents-DqQa4Dq_.js → agents-CsOzAmRg.js} +117 -74
  9. package/server/{agents-CxbuBjID.js → agents-DCvyTXNU.js} +1 -1
  10. package/server/{archive-planning-DmpT1_14.js → archive-planning-CTILQRnV.js} +1 -1
  11. package/server/{archive-planning-CPitEZo4.js → archive-planning-DkivCk1A.js} +4 -4
  12. package/server/{artifact-index-jobs-sMnNtPhy.js → artifact-index-jobs-CmsvQ1ey.js} +2 -2
  13. package/server/auto-commit-QAfsu3Sb.js +3 -0
  14. package/server/{backlog-auto-trigger-Cf9C8fwD.js → backlog-auto-trigger-ueRaT8Dy.js} +2 -2
  15. package/server/{bd-process-lock-D1aJxeYv.js → bd-process-lock-D3S4T4o-.js} +32 -11
  16. package/server/{beads-DRoj6-e1.js → beads-BGGxrkZ5.js} +96 -196
  17. package/server/{beads-CivpXztb.js → beads-CYsLiyIM.js} +1 -1
  18. package/server/{beads-query-tOsAYP5h.js → beads-query-B1DlJVp9.js} +24 -99
  19. package/server/beads-restore-CyygSmmn.js +23 -0
  20. package/server/{behavior-D3d2mVyD.js → behavior-Cpj03N4v.js} +3 -3
  21. package/server/{briefing-freshness-BL3Q6p7R.js → briefing-freshness-Kh5V8RTh.js} +4 -4
  22. package/server/{checkpoint-manager-j5URlFY7.js → checkpoint-manager-CAFos8e1.js} +1 -1
  23. package/server/{checkpoint-manager-DCxjQvP_.js → checkpoint-manager-fu9oVsR-.js} +2 -2
  24. package/server/checkpoint-worker.js +1 -1
  25. package/server/{checkpoints-BoX1H2Hf.js → checkpoints-1BqOlS4q.js} +2 -2
  26. package/server/{checkpoints-Bu_M_Q9W.js → checkpoints-DvhGi8P_.js} +1 -1
  27. package/server/{claude-hooks-provision-D-jGXmu1.js → claude-hooks-provision-s_wdpeVj.js} +2 -2
  28. package/server/{claude-permissions-DxIjkOVl.js → claude-permissions-CaWqysff.js} +2 -2
  29. package/server/{claude-settings-overlay-5b9X2S0C.js → claude-settings-overlay-BbA4FbVI.js} +1 -1
  30. package/server/{claude-settings-overlay-BPDS6GfE.js → claude-settings-overlay-CcTf0xzG.js} +2 -2
  31. package/server/{cli-s7bPWy-E.js → cli-BwCvCUBK.js} +9 -9
  32. package/server/cli-ClIQwgMI.js +3 -0
  33. package/server/{cliproxy-BituqWtR.js → cliproxy-BsoNNDAj.js} +2 -2
  34. package/server/{cliproxy-D3sHB0sI.js → cliproxy-C2xC-3vH.js} +1 -1
  35. package/server/{close-issue-CrBE7voz.js → close-issue-BleIwP3f.js} +5 -5
  36. package/server/{closed-issue-reaper-BRQBc7Xa.js → closed-issue-reaper-BwUUvjEW.js} +1 -1
  37. package/server/{closed-issue-reaper-DX9mYUji.js → closed-issue-reaper-mC5pujeb.js} +102 -30
  38. package/server/{codex-Bi1ITSOo.js → codex-B7DTpwEw.js} +1 -1
  39. package/server/{codex-CO0HrK3j.js → codex-DW60_5j2.js} +5 -5
  40. package/server/{compact-beads-CrA8-k10.js → compact-beads-CK_hHEnB.js} +1 -1
  41. package/server/{compact-beads-DUkCUFxA.js → compact-beads-DKL54y6j.js} +15 -8
  42. package/server/{config-B4_d7z7z.js → config-BRNQJXhA.js} +1 -1
  43. package/server/{config-DsCxzjXK.js → config-ZNnMpIlh.js} +2 -2
  44. package/server/{config-yaml-C_djSurJ.js → config-yaml-Dcz-8uit.js} +29 -3
  45. package/server/{conflict-gate-CpOn9KC-.js → conflict-gate-DGT8jCLp.js} +1 -1
  46. package/server/{conflict-gate-D47Kl78u.js → conflict-gate-DTje2Ll7.js} +3 -3
  47. package/server/{context-layers-BNhUBTkf.js → context-layers-BdUCQ-cl.js} +3 -3
  48. package/server/{context-layers-CHl3Nroz.js → context-layers-ByOWUjUg.js} +2 -2
  49. package/server/{control-settings-KyYNXZLv.js → control-settings-DwkAeooY.js} +4 -4
  50. package/server/{conversation-compaction-D3aS5PnS.js → conversation-compaction-OTYgd6eg.js} +8 -8
  51. package/server/{conversation-compaction-D4Wed1BJ.js → conversation-compaction-WYQZUVDm.js} +1 -1
  52. package/server/{conversation-service-CFZIjs-M.js → conversation-service-BR1OgvxO.js} +5 -5
  53. package/server/{conversation-service-DcDB5usR.js → conversation-service-C_kNZPLx.js} +1 -1
  54. package/server/{conversations-BSOU5qnu.js → conversations-DG2M8WnT.js} +4 -4
  55. package/server/{conversations-BbDPrz89.js → conversations-izHvSoAR.js} +1 -1
  56. package/server/{cost-BE_ulOrw.js → cost-B2mj17iG.js} +3 -3
  57. package/server/{cost-CaiG63FG.js → cost-DQ2ajr_m.js} +2 -2
  58. package/server/{cost-sync-D6AX8jv-.js → cost-sync-gTayEuWP.js} +3 -3
  59. package/server/{dag-BQFtXOuJ.js → dag-CqTehWpY.js} +3 -3
  60. package/server/{dangerous-git-ops-04Ba-Qu3.js → dangerous-git-ops-DDWQlPC3.js} +1 -1
  61. package/server/dashboard-db-worker.js +6 -6
  62. package/server/{deacon-Bz-6Wjmn.js → deacon-BqW9HMew.js} +3 -3
  63. package/server/{deacon-2EvA9Ci3.js → deacon-DrKDBeJL.js} +161 -1594
  64. package/server/{deacon-nudge-log-B-naf89q.js → deacon-nudge-log-D1wEK6zF.js} +1 -1
  65. package/server/deacon-swarm-BY5hKNaU.js +2 -0
  66. package/server/{deacon-swarm-DYYOzHRH.js → deacon-swarm-CO_A7xyd.js} +12 -105
  67. package/server/deacon.js +7 -7
  68. package/server/{devcontainer-renderer-Dx0C7VWJ.js → devcontainer-renderer-BQolp_qZ.js} +3 -3
  69. package/server/{dist-ya66D9ze.js → dist-Bc32rWJB.js} +1 -1
  70. package/server/dist-DGTwcZhI.js +3 -0
  71. package/server/{docker-D2TbXDO6.js → docker-s-esqZ__.js} +67 -28
  72. package/server/{ensure-devcontainer-BTiMfFp5.js → ensure-devcontainer-DA4-jF6R.js} +4 -4
  73. package/server/{ensure-devcontainer-BIShzs3M.js → ensure-devcontainer-pUVaT0h3.js} +1 -1
  74. package/server/{esm-shims-DiV9jHa_.js → esm-shims-CJHy8CZY.js} +1 -1
  75. package/server/{event-store-C02Gprug.js → event-store-CcJAhKCl.js} +1 -1
  76. package/server/{event-store-C71x6h0i.js → event-store-DRte2Rwt.js} +3 -3
  77. package/server/{events-BFDuPV6n.js → events-Bej1w_k8.js} +3 -3
  78. package/server/{events-D2gP2-Yv.js → events-CtsLScn8.js} +1 -1
  79. package/server/export-Dx_qJ3h8.js +87 -0
  80. package/server/{factory-ByfbrCab.js → factory-FN727tWr.js} +4 -4
  81. package/server/{feature-registry-population-CSH66UO8.js → feature-registry-population-ie-yBcQC.js} +4 -4
  82. package/server/{feature-registry-storage-DW7dUefc.js → feature-registry-storage-CkZTFSsn.js} +2 -2
  83. package/server/{features-x_aLR7U9.js → features-Dtm9ABuz.js} +2 -2
  84. package/server/{feedback-target-BFo9fScH.js → feedback-target-BYtpyt1i.js} +6 -6
  85. package/server/{feedback-target-C4VMPTZu.js → feedback-target-DVJQDiE4.js} +1 -1
  86. package/server/{feedback-writer-DCyd75yJ.js → feedback-writer-DOUhyIW2.js} +1 -1
  87. package/server/{feedback-writer-B9ZqnnX3.js → feedback-writer-fdE1BzeL.js} +4 -4
  88. package/server/{flywheel-DB48X7Nn.js → flywheel-Bi82iiNl.js} +1 -1
  89. package/server/{flywheel-D9NKvWqb.js → flywheel-Bv3wv2S6.js} +23 -15
  90. package/server/{flywheel-DwQCoZQG.js → flywheel-CUErLAyN.js} +13 -13
  91. package/server/{flywheel-merge-order-DrjmFXg4.js → flywheel-merge-order-BaEN3iyN.js} +7 -7
  92. package/server/{flywheel-merge-order-f1bi5XIf.js → flywheel-merge-order-DXjeBnJ1.js} +1 -1
  93. package/server/{forge-C-SoKy8U.js → forge-ButEdJ31.js} +2 -2
  94. package/server/forge-XlDgPQWs.js +2 -0
  95. package/server/{from-fu7ZumnY.js → from-CbtTxftl.js} +1 -1
  96. package/server/{fts-db-CL-YzSRG.js → fts-db-CBgBLZcL.js} +2 -2
  97. package/server/{fts-operations-Bylu5NjM.js → fts-operations-CI9Xuo_1.js} +2 -2
  98. package/server/{git-utils-Ym380hJZ.js → git-utils-BCLRWQ-y.js} +1 -1
  99. package/server/{git-utils-C8koBs8j.js → git-utils-ClfpP47N.js} +2 -2
  100. package/server/{github-app-DIr70YLg.js → github-app-DRD2woO0.js} +1 -1
  101. package/server/{github-app-DhycHVLF.js → github-app-DscZ0_B6.js} +2 -2
  102. package/server/{github-client-7gkcXcBS.js → github-client-DpiZnxGH.js} +2 -2
  103. package/server/{github-client-Ji9lUTNF.js → github-client-iFRw8f7e.js} +1 -1
  104. package/server/{github-pr-lookup-rt7T9FwA.js → github-pr-lookup-D-EBexxC.js} +2 -2
  105. package/server/{harness-resolve-CvGXUnAF.js → harness-resolve-iMjyNUJ2.js} +3 -3
  106. package/server/{health-events-DDfkoO5a.js → health-events-B_WsQyYm.js} +1 -1
  107. package/server/{health-events-D4E1DLN-.js → health-events-CRdxDFN2.js} +2 -2
  108. package/server/{hooks-DvdnCVv6.js → hooks-C1ScyVxP.js} +1 -1
  109. package/server/{hooks-D_6pAbuJ.js → hooks-C9b7Vqpw.js} +2 -2
  110. package/server/hume-K1pi8jC4.js +3 -0
  111. package/server/{hume-DkVOs1Qi.js → hume-TQ5pvOZ_.js} +2 -2
  112. package/server/{idle-stack-reaper-cDRXDpgE.js → idle-stack-reaper-B1kG7B_X.js} +2 -2
  113. package/server/{idle-stack-reaper-DNbV9-fj.js → idle-stack-reaper-iFVOAoJy.js} +1 -1
  114. package/server/{infra-Clew3DpF.js → infra-bpq1MHKU.js} +3 -3
  115. package/server/{injection-QCIHOpk6.js → injection-BLWfwTVZ.js} +1 -1
  116. package/server/{injection-ql0Nddcn.js → injection-DJqWld1v.js} +7 -7
  117. package/server/inspect-agent-477VxQim.js +2 -0
  118. package/server/{inspect-agent-DY18KEx4.js → inspect-agent-DytCsltn.js} +9 -9
  119. package/server/{internal-token-C90jBp-y.js → internal-token-CCaWaTwE.js} +1 -1
  120. package/server/{internal-token-BeXjPLKy.js → internal-token-CjlhdufS.js} +2 -2
  121. package/server/{io-CbAFXQge.js → io-BiQ2Cs3k.js} +2 -2
  122. package/server/{issue-closed-BYC2TCk-.js → issue-closed-FApNiOOs.js} +4 -4
  123. package/server/{issue-lifecycle-CLHbj8RS.js → issue-lifecycle-BkFWNjlD.js} +1 -1
  124. package/server/{issue-lifecycle-BoJa6qIt.js → issue-lifecycle-C-K53ASY.js} +21 -21
  125. package/server/{issue-service-singleton-BS9NENuR.js → issue-service-singleton-CuHGpJJP.js} +8 -8
  126. package/server/{issue-service-singleton-3g_CCY-1.js → issue-service-singleton-bG1WdSdQ.js} +1 -1
  127. package/server/{issues-BPcqPqfV.js → issues-CwQMphDH.js} +2 -2
  128. package/server/jsonl-parser-dNIjHgym.js +245 -0
  129. package/server/{label-cleanup-CwiCSZrb.js → label-cleanup-DYvAZknd.js} +3 -3
  130. package/server/{layers-OHHLphl0.js → layers-CD6FysRU.js} +2 -2
  131. package/server/{lifecycle-B8IdvUbt.js → lifecycle-C_73gi-C.js} +7 -7
  132. package/server/{lifecycle-io-BMCH1Bxg.js → lifecycle-io-C_Wu0_i-.js} +1 -1
  133. package/server/{lifecycle-io-C73m5e6R.js → lifecycle-io-CeYxP3cE.js} +4 -4
  134. package/server/{linear-client-BMxgycoy.js → linear-client-4qoKnuQu.js} +1 -1
  135. package/server/{linear-client-CgQlM4aT.js → linear-client-EtVyblVz.js} +2 -2
  136. package/server/memory-fts-worker.js +1 -1
  137. package/server/{merge-B7Oi-g6k.js → merge-7rqkTUm2.js} +3 -3
  138. package/server/{merge-agent-Bwm34MZ5.js → merge-agent-36wfYm2u.js} +1 -1
  139. package/server/{merge-agent-DNFFsiEm.js → merge-agent-4Zhlgvqp.js} +28 -28
  140. package/server/{merge-batch-BpYXUaqJ.js → merge-batch-itfnwdsT.js} +1 -1
  141. package/server/{merge-blockers-DIOZmqdK.js → merge-blockers-Bto_Oe_o.js} +2 -2
  142. package/server/{merge-BRkVaIx-.js → merge-brm721Es.js} +1 -1
  143. package/server/merge-ops-PzqsW69V.js +2 -0
  144. package/server/{merge-rebase-C8WH39MB.js → merge-rebase-Czfqfe4q.js} +2 -2
  145. package/server/{merge-set-CsEE2CyQ.js → merge-set-BIkGQL9j.js} +3 -3
  146. package/server/{merge-set-DOsBTBQc.js → merge-set-G1RHcu3D.js} +1 -1
  147. package/server/{merge-sync-C2B322Ot.js → merge-sync-B43Dybea.js} +2 -2
  148. package/server/{merge-sync-CcLM2vwW.js → merge-sync-DIrmlZUr.js} +1 -1
  149. package/server/{merge-train-BIm7-7cy.js → merge-train-DGqVuNZV.js} +3 -3
  150. package/server/{merge-train-deps-DG1oQ2DT.js → merge-train-deps-q15XLnAS.js} +4 -4
  151. package/server/{merge-verification-BAbjxEd5.js → merge-verification-Cqfxx6bE.js} +4 -4
  152. package/server/{multipart-parser-jKtKAXtl.js → multipart-parser-CiPxxfUH.js} +2 -2
  153. package/server/node_modules/.package-lock.json +1 -1
  154. package/server/{orphan-proposed-reconciler-zHrwJ3xr.js → orphan-proposed-reconciler-BWWHn4Lr.js} +15 -39
  155. package/server/{orphan-proposed-reconciler-BqVGaOIj.js → orphan-proposed-reconciler-DAD9FJtQ.js} +1 -1
  156. package/server/package-lock.json +2 -2
  157. package/server/package.json +1 -1
  158. package/server/{pan-dir-BlNrLzW7.js → pan-dir-Bj7Hy8iu.js} +3 -3
  159. package/server/{paths-CiVeo4N_.js → paths-C9DkhIOT.js} +2 -2
  160. package/server/{pickup-KLRUhThD.js → pickup-CKRuGDsB.js} +1 -1
  161. package/server/{pipeline-notifier-nkWCe042.js → pipeline-notifier-BkKbQ8ji.js} +1 -1
  162. package/server/{pipeline-notifier-DBF6dHxH.js → pipeline-notifier-CAurUste.js} +2 -2
  163. package/server/project-pipelines-BRWaGmI4.js +162 -0
  164. package/server/projects-KJ94e50I.js +3 -0
  165. package/server/{prompts-CXbQvevY.js → prompts-DfI5qbTW.js} +2 -2
  166. package/server/{providers-CUdAb5Qu.js → providers-CWDXoaMA.js} +7 -7
  167. package/server/providers-D-5txBRc.js +3 -0
  168. package/server/public/assets/{chunk-BO2N2NFS-C-6y8VFI.js → chunk-BO2N2NFS-ClukPsZQ.js} +4 -4
  169. package/server/public/assets/{diagram-OG6HWLK6-NACO1xW5.js → diagram-OG6HWLK6-Avtvq2qI.js} +1 -1
  170. package/server/public/assets/{dist-DQD-ZjQY.js → dist-BEHQuasD.js} +3 -3
  171. package/server/public/assets/{dist-D1FjqGgm.js → dist-BvmY-qb1.js} +1 -1
  172. package/server/public/assets/{ganttDiagram-6RSMTGT7-CEMAKgmE.js → ganttDiagram-6RSMTGT7-7KhCd0fH.js} +1 -1
  173. package/server/public/assets/{highlighted-body-OFNGDK62-D5lC7FW8.js → highlighted-body-OFNGDK62-iQoBMTf0.js} +1 -1
  174. package/server/public/assets/index-DUFDmvmH.css +1 -0
  175. package/server/public/assets/{index-BDqWyuZQ.js → index-DnTZ2QeN.js} +132 -132
  176. package/server/public/assets/{linear-DDHAMRPB.js → linear-CiJHW9g5.js} +1 -1
  177. package/server/public/assets/mermaid-GHXKKRXX-DZJOwgBG.js +1 -0
  178. package/server/public/assets/{pieDiagram-4H26LBE5-DwBdeKBb.js → pieDiagram-4H26LBE5-BOhmvUhW.js} +1 -1
  179. package/server/public/assets/{prod-DAZt0c4G.js → prod-DmLBBqat.js} +4 -4
  180. package/server/public/assets/{quadrantDiagram-W4KKPZXB-CNDLp-_m.js → quadrantDiagram-W4KKPZXB-Cjku660G.js} +1 -1
  181. package/server/public/assets/{sankeyDiagram-5OEKKPKP-oIUL_uO1.js → sankeyDiagram-5OEKKPKP-D52w5oPh.js} +1 -1
  182. package/server/public/assets/{xychartDiagram-2RQKCTM6-B-IM6Cck.js → xychartDiagram-2RQKCTM6-BTO07_Iv.js} +1 -1
  183. package/server/public/index.html +2 -2
  184. package/server/{pull-requests-kTRl7cWC.js → pull-requests-Bmre-Xlz.js} +3 -3
  185. package/server/{pull-requests-DZ-V7_LB.js → pull-requests-CKZPWhjD.js} +1 -1
  186. package/server/{rally-xCTZ-UcI.js → rally-BBd9tQ__.js} +3 -3
  187. package/server/rally-Dc2Wnxw2.js +3 -0
  188. package/server/{rally-api-jOk4vit_.js → rally-api-DDc85HIz.js} +1 -1
  189. package/server/{rally-api-DpZo3WwF.js → rally-api-DxZFObI_.js} +2 -2
  190. package/server/{rally-client-BQjm3aaq.js → rally-client-BADHn0m_.js} +1 -1
  191. package/server/{rally-client-CoWZeVEj.js → rally-client-DvvLiAQP.js} +4 -4
  192. package/server/{reap-terminal-sessions-CAmURC2h.js → reap-terminal-sessions-D6JDJsqF.js} +1 -1
  193. package/server/{reap-terminal-sessions-BwJb2DLJ.js → reap-terminal-sessions-D_xvy-Mk.js} +1 -1
  194. package/server/{rebuild-stack-BZ7j27xY.js → rebuild-stack-D19i080j.js} +6 -6
  195. package/server/{rebuild-stack-r-cxcr26.js → rebuild-stack-GOsWqXi3.js} +1 -1
  196. package/server/{reconstruct-cache-13EkMg_i.js → reconstruct-cache-lQrG4xGg.js} +6 -6
  197. package/server/record-pyB6VA32.js +3 -0
  198. package/server/recovery-trip-Dfh1tNHn.js +98 -0
  199. package/server/{release-engine-YLTnEO_K.js → release-engine-DxcMWRuK.js} +5 -5
  200. package/server/{release-set-DwvT_Opu.js → release-set-BYsgX7o6.js} +3 -3
  201. package/server/{remote-9u9WL0NJ.js → remote-8W2Yhygw.js} +3 -3
  202. package/server/{remote-B062S1Kc.js → remote-DmeL21dF.js} +3 -3
  203. package/server/{remote-agents-BBTg-vLT.js → remote-agents-BfQBE6MN.js} +5 -5
  204. package/server/{remote-agents-B4eWgwNd.js → remote-agents-DlvbzO7m.js} +1 -1
  205. package/server/{remote-completion-B0rmBnbL.js → remote-completion-BgkiSQmx.js} +12 -12
  206. package/server/resolver-dTpSSzaH.js +158 -0
  207. package/server/resume-DhcIqsTm.js +3 -0
  208. package/server/{review-agent-tfR5RDzG.js → review-agent-D025Wt7w.js} +22 -22
  209. package/server/{review-agent-Bf9XjLnl.js → review-agent-Rub0OpZc.js} +1 -1
  210. package/server/{review-artifacts-D0_IE6DQ.js → review-artifacts-CX951jTU.js} +6 -6
  211. package/server/{review-context-CXO5ml5D.js → review-context-DGGGR_w5.js} +7 -7
  212. package/server/{review-monitor-DfFUSx0J.js → review-monitor-0_qqMcnS.js} +2 -2
  213. package/server/{review-status-BcfwcAcO.js → review-status-4qqLkRMu.js} +17 -17
  214. package/server/{review-status-B0Axo-Ma.js → review-status-Br6lAFGO.js} +1 -1
  215. package/server/{review-status-enrichment-Cp5kFTGl.js → review-status-enrichment-Cr8m3uVL.js} +3 -3
  216. package/server/{review-status-sync-Bc0c_u12.js → review-status-sync-D3KUhsdA.js} +1 -1
  217. package/server/{review-status-sync-CEFty1pW.js → review-status-sync-OC-l1lNt.js} +2 -2
  218. package/server/{review-verdict-feedback-BOKRLLDf.js → review-verdict-feedback-DrWMuRaj.js} +6 -6
  219. package/server/{review-verdict-feedback-BnGtT0vN.js → review-verdict-feedback-YOzmsq9G.js} +1 -1
  220. package/server/{rollup-C22QDVxh.js → rollup-CnxbwaLH.js} +8 -8
  221. package/server/{rollup-BVqFuiS9.js → rollup-DmazRY0j.js} +1 -1
  222. package/server/{scanner-BLCnuXqY.js → scanner-DE1MqAaF.js} +7 -7
  223. package/server/{sequence-io-BozlUb6f.js → sequence-io-C0uoqfGx.js} +4 -4
  224. package/server/{sequencer-agent-BEDEHfd2.js → sequencer-agent-i-b2u4SJ.js} +10 -6
  225. package/server/server.js +1020 -293
  226. package/server/{service-C8jKYZ0w.js → service-D0_gh2tl.js} +1668 -1408
  227. package/server/{session-fork-BDGksK4e.js → session-fork-DZ12vipL.js} +2 -2
  228. package/server/{settings-CSLhh6qR.js → settings-ByqjPtFO.js} +2 -2
  229. package/server/{settings-DrRQCren.js → settings-DCC4BAqj.js} +3 -3
  230. package/server/settings-yydgaqhv.js +2 -0
  231. package/server/{shadow-engineering-BMcBN-Of.js → shadow-engineering-BhnmtW5m.js} +2 -2
  232. package/server/{shadow-state-CHqWHD3T.js → shadow-state-ByXZehsy.js} +1 -1
  233. package/server/{shadow-state-B4ayC7nx.js → shadow-state-CKm8xWX9.js} +2 -2
  234. package/server/{ship-log-CDVmOlZP.js → ship-log-DE_0Cv_i.js} +1 -1
  235. package/server/{smart-compaction-C-F5sP9P.js → smart-compaction-D5Zen3AA.js} +7 -7
  236. package/server/{smart-compaction-V9DBrGcr.js → smart-compaction-h4_ca6Uk.js} +1 -1
  237. package/server/{spawn-planning-session-Bz4_JES2.js → spawn-planning-session-Bgi7Ub02.js} +1 -1
  238. package/server/{spawn-planning-session-dSpOU0lP.js → spawn-planning-session-Dueit4WX.js} +15 -15
  239. package/server/{specialist-completion-Coz3eTSr.js → specialist-completion-BZ8M-WZ0.js} +1 -1
  240. package/server/{specialist-context-fmb03vXQ.js → specialist-context-BMq83C58.js} +5 -5
  241. package/server/{specialist-handoff-logger-B9HK_lRu.js → specialist-handoff-logger-BxX1YefH.js} +2 -2
  242. package/server/{specialist-logs-B24R2B9Y.js → specialist-logs-BWZYcJ6P.js} +3 -3
  243. package/server/{specialists-Chvvwf5z.js → specialists-8ZAguXef.js} +1 -1
  244. package/server/{specialists-CL7E8yUg.js → specialists-BudKrjOu.js} +76 -76
  245. package/server/{specialists-BGNZ0_ZW.js → specialists-DrPrC9Y9.js} +20 -256
  246. package/server/{specialists-B6f5-5nG.js → specialists-ZkW4Mb7U.js} +1 -1
  247. package/server/specs-DwoAEGrW.js +3 -0
  248. package/server/{src-DGAEtABV.js → src-DHn4Rd2F.js} +13 -2
  249. package/server/{src-D-VXCC9C.js → src-DNUUqkec.js} +6 -6
  250. package/server/{src-BVxZuHMg.js → src-Dv6L03vW.js} +3 -3
  251. package/server/{stack-health-BKbTTOT2.js → stack-health-Dclm7_tu.js} +1 -1
  252. package/server/{stack-health-C-le5erA.js → stack-health-DxsTx7II.js} +2 -2
  253. package/server/{state-home-CoyWsECg.js → state-home-CRowbXqU.js} +6 -6
  254. package/server/stuck-remediation-CFWUP8_I.js +1491 -0
  255. package/server/stuck-remediation-CLHd-lrF.js +2 -0
  256. package/server/{summary-fork-BF_0vxrq.js → summary-fork-CKc01Our.js} +2 -2
  257. package/server/{summary-fork-BlE30Q-I.js → summary-fork-CtCwBJ2Z.js} +8 -8
  258. package/server/{supervisor-BSeML_p0.js → supervisor-BA5D72Qa.js} +2 -2
  259. package/server/supervisor-DHjumXlL.js +2 -0
  260. package/server/{swarm-readiness-CQ4sjrXc.js → swarm-readiness-CL5sM9B1.js} +3 -3
  261. package/server/{system-prerequisites-DnmLYOnU.js → system-prerequisites-DmFSXIE5.js} +1 -1
  262. package/server/{teardown-workspace-CpcjDrZ4.js → teardown-workspace-DWmFJzTw.js} +37 -68
  263. package/server/{test-agent-queue-Bq298zZl.js → test-agent-queue-DjsQoV5X.js} +6 -6
  264. package/server/{test-verdict-CCDd25uN.js → test-verdict-BSqsQp3G.js} +1 -1
  265. package/server/{test-verdict-Bm4uv_AA.js → test-verdict-D1AmZ2c0.js} +1 -1
  266. package/server/{tldr-daemon-CaSUXd9r.js → tldr-daemon-C-MGomL8.js} +2 -2
  267. package/server/{tldr-daemon-Rn1Zue0P.js → tldr-daemon-DD9rI5gA.js} +1 -1
  268. package/server/{tmux-BVc-NeKM.js → tmux-C_d-lSIq.js} +2 -2
  269. package/server/{tmux-CbcrkUx5.js → tmux-x291Gjjb.js} +1 -1
  270. package/server/{token-D2OC_9ms.js → token-DfBf1bsd.js} +1 -1
  271. package/server/{tracker-config-C1Y_2CIo.js → tracker-config-CNODpd11.js} +2 -2
  272. package/server/{tracker-config-EsBoOWEy.js → tracker-config-DItsdelv.js} +1 -1
  273. package/server/{tracker-utils-DSb9cfrF.js → tracker-utils-B9ZoVA9b.js} +1 -1
  274. package/server/{tracker-utils-lph9C3Pw.js → tracker-utils-Ch2_5GGf.js} +2 -2
  275. package/server/{traefik-connect-5EP1WS_Z.js → traefik-connect-BF4x_LUQ.js} +1 -1
  276. package/server/{tunnel-DDe-ATFF.js → tunnel-YD80_IHr.js} +1 -1
  277. package/server/{tunnel-BFBCeo97.js → tunnel-r_5nHAI6.js} +3 -3
  278. package/server/{types-B5u3NxMl.js → types-33JEP4LZ.js} +1 -1
  279. package/server/{uat-train-8T24rPzc.js → uat-train-DDI00aqD.js} +1 -1
  280. package/server/{uat-train-DtKHHy1U.js → uat-train-DjkFWXge.js} +25 -25
  281. package/server/{validation-lyudzPvD.js → validation-DUTiJnyz.js} +4 -4
  282. package/server/{validation-COOXwNXU.js → validation-ict8hnXk.js} +1 -1
  283. package/server/{verification-runner-Dd1FX8Qk.js → verification-runner-ATaLbpr5.js} +1 -1
  284. package/server/{verification-runner-DO0nYTJx.js → verification-runner-inLgeQux.js} +12 -12
  285. package/server/{vtt-parser-C57tEF7-.js → vtt-parser-QnRfcjiU.js} +1 -1
  286. package/server/{work-agent-prompt-B2F3ZwKm.js → work-agent-prompt-fZljjA1_.js} +12 -12
  287. package/server/{workflows-Clz_AFwR.js → workflows-oBnJ7Tm0.js} +14 -14
  288. package/server/workflows-tU7KKxQi.js +2 -0
  289. package/server/{workspace-D0rCFemz.js → workspace-B2WOW9Hw.js} +1 -1
  290. package/server/{workspace-CY_2-Ddv.js → workspace-CNuW2j41.js} +3 -3
  291. package/server/{workspace-config-DA8U97k9.js → workspace-config-CBgMGhWs.js} +1 -1
  292. package/server/{workspace-manager-D6NgGkiF.js → workspace-manager-CB-R07R3.js} +12 -12
  293. package/server/{workspace-manager-BIfpzqdU.js → workspace-manager-DjUAJCSs.js} +1 -1
  294. package/server/{workspace-metadata-C8yn8kAH.js → workspace-metadata-9Nn5kgRl.js} +2 -2
  295. package/server/{workspace-metadata-DfgR40YU.js → workspace-metadata-Fd58uUQG.js} +1 -1
  296. package/server/{workspaces-DOeHyKmA.js → workspaces-BjWXntty.js} +94 -120
  297. package/server/writer-CQMGzEkw.js +3 -0
  298. package/server/writer-fe1-8iGc.js +251 -0
  299. package/sync-sources/hooks/record-cost-event.js +2 -1
  300. package/sync-sources/hooks/record-cost-event.js.map +1 -1
  301. package/server/auto-commit-wZ9X7Isd.js +0 -3
  302. package/server/bd-mutex-BItGvLQ8.js +0 -35
  303. package/server/beads-restore-CMbDSB5R.js +0 -60
  304. package/server/cli-CqgiSAU8.js +0 -3
  305. package/server/deacon-swarm-B8pgK2a7.js +0 -2
  306. package/server/dist-BYSj075e.js +0 -3
  307. package/server/forge-CUCYK7h_.js +0 -2
  308. package/server/hume-x9voULey.js +0 -3
  309. package/server/inspect-agent-D8UBDgfR.js +0 -2
  310. package/server/merge-ops-B7m-hBEZ.js +0 -2
  311. package/server/projects-BqRMlDOv.js +0 -3
  312. package/server/providers-gZ0cUgQM.js +0 -3
  313. package/server/public/assets/index-CZiADHcL.css +0 -1
  314. package/server/public/assets/mermaid-GHXKKRXX-DRM2ANcR.js +0 -1
  315. package/server/rally-CRteqXe0.js +0 -3
  316. package/server/record-CJsjvRO4.js +0 -3
  317. package/server/resume-R7xkSmLW.js +0 -3
  318. package/server/settings-CSaXtkoA.js +0 -2
  319. package/server/specs-oaaYaA5c.js +0 -3
  320. package/server/supervisor-03Tj_Wra.js +0 -2
  321. package/server/workflows-B4fIN8VP.js +0 -2
@@ -1,34 +1,34 @@
1
1
  import { a as __toCommonJS } from "./rolldown-runtime-DNCzzKnI.js";
2
- import { $n as extractPrefixSync, C as resolveTieredExecutionEnabled, Dn as getProjectSync, E as canUseHarnessSync, Gn as resolveProjectFromIssueSync, Hr as init_paths, Nn as init_projects, O as init_harness_policy, Rr as encodeClaudeProjectDir, S as init_tier_table, Vr as getOverdeckHome, X as resolveModel, er as init_issue_id, f as loadConfigSync, fn as init_state_read_home, lr as FsError, mn as shouldCommitLegacyWorkspaceArtifacts, nr as parseIssueIdSync, t as init_config_yaml, w as resolveTieredExecutionEnabledForIssue, yr as init_errors } from "./config-yaml-C_djSurJ.js";
2
+ import { C as init_tier_table, D as canUseHarnessSync, Kn as resolveProjectFromIssueSync, Kr as getOverdeckHome, On as getProjectSync, Pn as init_projects, T as resolveTieredExecutionEnabledForIssue, Z as resolveModel, br as init_errors, er as extractPrefixSync, f as loadConfigSync, hn as shouldCommitLegacyWorkspaceArtifacts, k as init_harness_policy, pn as init_state_read_home, qr as init_paths, rr as parseIssueIdSync, t as init_config_yaml, tr as init_issue_id, ur as FsError, w as resolveTieredExecutionEnabled, zr as encodeClaudeProjectDir } from "./config-yaml-Dcz-8uit.js";
3
3
  import { a as init_activity_logger, n as emitActivityEntrySync } from "./activity-logger-pcbf-e30.js";
4
- import { d as getOverdeckDatabaseSync, f as init_infra } from "./infra-Clew3DpF.js";
5
- import { K as buildChildEnvWithoutTmuxSync, L as sessionExists, R as sessionExistsSync, i as capturePane, k as listSessions, q as init_child_env, w as killSession, x as init_tmux } from "./tmux-BVc-NeKM.js";
6
- import { a as init_event_store, n as getEventStore } from "./event-store-C71x6h0i.js";
7
- import { C as normalizeChannelReplyPayload, a as getHarnessBehavior, b as DomainEvent, t as init_src } from "./src-DGAEtABV.js";
8
- import { D as AGENT_COLUMNS_FOR_DB, M as stateToOverdeckParamsForDb, c as init_review_status, k as init_agent_state_sync, s as getReviewStatusSync, u as loadReviewStatuses, y as setReviewStatusSync } from "./review-status-BcfwcAcO.js";
9
- import { a as EventStoreService, c as ReadModelService, d as init_read_model, i as init_issue_lifecycle, s as init_domain_services, t as IssueLifecycle, u as getClosedIssueIdsForReadSource } from "./issue-lifecycle-BoJa6qIt.js";
10
- import { o as getPricingSync, s as init_cost, t as calculateCostSync } from "./cost-CaiG63FG.js";
11
- import { $n as writeAgentStateJsonSync, An as getAgentDir, Bt as resolveStaffing, C as restartAgent, Ct as deliverAgentPermissionDecision, E as resumeAgent, En as clearAgentTroubled, Et as setAgentDeliveryMethod, F as getActivity, I as getLatestSessionId, Jn as saveAgentStateSync, Jt as getProviderAuthMode, K as stopAgent, L as getLatestSessionIdSync, Lt as transitionIssueToInProgress, M as init_operator_interventions, Mn as getAgentState, N as operatorInterventionEvent, Pn as getAgentStateSync, Qn as wipeAgentStateDirs, R as getSessionId, S as recoverAgent, St as deliverAgentMessage, Vn as markAgentStoppedState, X as listAgentStates, Yn as setAgentPaused, Z as listRunningAgents, _t as init_config, cn as determineModel, dr as normalizeAgentId, er as init_persistent_logger, fn as init_provider_health, g as init_tier_escalation, gr as getAgentRuntimeStateSync, h as decideEscalation, hr as getAgentRuntimeState, j as messageAgent, pn as validateProviderHealth, qn as saveAgentState, t as init_agents, tr as logAgentLifecycleSync, vr as saveAgentRuntimeState, wn as clearAgentPaused, yt as loadCloisterConfigSync, z as saveSessionId, zt as init_staffing } from "./agents-DqQa4Dq_.js";
12
- import { t as init_behavior } from "./behavior-D3d2mVyD.js";
13
- import { a as performHandoff, i as checkAllTriggers, s as getAgentHealth, t as getCloisterService } from "./service-C8jKYZ0w.js";
14
- import { a as init_tracker_config, t as getGitHubConfig } from "./tracker-config-C1Y_2CIo.js";
15
- import { n as init_issue_service_singleton, r as issue_service_singleton_exports } from "./issue-service-singleton-BS9NENuR.js";
4
+ import { d as getOverdeckDatabaseSync, f as init_infra } from "./infra-bpq1MHKU.js";
5
+ import { K as buildChildEnvWithoutTmuxSync, L as sessionExists, R as sessionExistsSync, i as capturePane, k as listSessions, q as init_child_env, w as killSession, x as init_tmux } from "./tmux-C_d-lSIq.js";
6
+ import { a as init_event_store, n as getEventStore } from "./event-store-DRte2Rwt.js";
7
+ import { C as normalizeChannelReplyPayload, a as getHarnessBehavior, b as DomainEvent, t as init_src } from "./src-DHn4Rd2F.js";
8
+ import { D as AGENT_COLUMNS_FOR_DB, M as stateToOverdeckParamsForDb, c as init_review_status, k as init_agent_state_sync, s as getReviewStatusSync, u as loadReviewStatuses, y as setReviewStatusSync } from "./review-status-4qqLkRMu.js";
9
+ import { a as EventStoreService, c as ReadModelService, d as init_read_model, i as init_issue_lifecycle, s as init_domain_services, t as IssueLifecycle, u as getClosedIssueIdsForReadSource } from "./issue-lifecycle-C-K53ASY.js";
10
+ import { o as getPricingSync, s as init_cost, t as calculateCostSync } from "./cost-DQ2ajr_m.js";
11
+ import { $n as writeAgentStateJsonSync, An as getAgentDir, Bt as resolveStaffing, C as restartAgent, Ct as deliverAgentPermissionDecision, E as resumeAgent, En as clearAgentTroubled, Et as setAgentDeliveryMethod, F as getActivity, I as getLatestSessionId, Jn as saveAgentStateSync, Jt as getProviderAuthMode, K as stopAgent, L as getLatestSessionIdSync, Lt as transitionIssueToInProgress, M as init_operator_interventions, Mn as getAgentState, N as operatorInterventionEvent, Pn as getAgentStateSync, Qn as wipeAgentStateDirs, R as getSessionId, S as recoverAgent, St as deliverAgentMessage, Vn as markAgentStoppedState, X as listAgentStates, Yn as setAgentPaused, Z as listRunningAgents, _t as init_config, cn as determineModel, dr as normalizeAgentId, er as init_persistent_logger, fn as init_provider_health, g as init_tier_escalation, gr as getAgentRuntimeStateSync, h as decideEscalation, hr as getAgentRuntimeState, j as messageAgent, pn as validateProviderHealth, qn as saveAgentState, t as init_agents, tr as logAgentLifecycleSync, vr as saveAgentRuntimeState, wn as clearAgentPaused, yt as loadCloisterConfigSync, z as saveSessionId, zt as init_staffing } from "./agents-CsOzAmRg.js";
12
+ import { t as init_behavior } from "./behavior-Cpj03N4v.js";
13
+ import { a as performHandoff, i as checkAllTriggers, s as getAgentHealth, t as getCloisterService } from "./service-D0_gh2tl.js";
14
+ import { a as init_tracker_config, t as getGitHubConfig } from "./tracker-config-CNODpd11.js";
15
+ import { n as init_issue_service_singleton, r as issue_service_singleton_exports } from "./issue-service-singleton-CuHGpJJP.js";
16
16
  import { a as PAN_DIRNAME, i as PAN_CONTINUE_FILENAME, p as init_types } from "./types-CE1m_daD.js";
17
- import { I as generateVBriefFilename, L as init_lifecycle, f as readTierOverrides, g as serializeVBriefDocument, h as recordTierPromotion, m as readWorkspacePlanSync, o as init_io, r as findPlan, u as readPlan } from "./io-CbAFXQge.js";
18
- import { d as getCliproxyAuthDir, g as getCliproxyLogPath, l as decodeJwtPayload, v as init_cliproxy } from "./cliproxy-BituqWtR.js";
19
- import { _ as init_codex_conversation_parser, c as parseEntireConversation, d as init_pi_conversation_parser, g as parseOhmypiConversationMessages, m as init_ohmypi_conversation_parser, p as parsePiConversationMessages, t as init_conversation_service, v as parseCodexConversationMessages } from "./conversation-service-CFZIjs-M.js";
20
- import { n as recordFeatureRegistryLifecycle, t as init_feature_registry_population } from "./feature-registry-population-CSH66UO8.js";
21
- import { c as requireModelOverrideSync, n as init_state_home, o as init_model_validation, r as isStateMigrated, s as normalizeModelOverrideSync } from "./state-home-CoyWsECg.js";
22
- import { a as init_stack_health, i as getWorkspaceStackHealth } from "./stack-health-C-le5erA.js";
23
- import { s as getDispatchableItems, u as init_dag } from "./dag-BQFtXOuJ.js";
24
- import { i as queryBeadById, r as init_beads_query } from "./beads-query-tOsAYP5h.js";
25
- import { a as init_lifecycle_io, c as updatePlanStatus, s as transitionVBriefOnMain } from "./lifecycle-io-C73m5e6R.js";
26
- import { Lt as getRuntimeForAgent, Q as createInFlightGuard, Qt as getAgentWorkspace$1, Rt as classifyMemoryPressure, Ut as getResourceConfig, Wt as getSystemHealthSnapshot, Xt as getAgentJsonlPath$1, Zt as getAgentPendingQuestions$1, nn as normalizeAwaitingInputPrompt, qt as computeAgentEnrichment } from "./deacon-2EvA9Ci3.js";
27
- import { o as stopWorkspaceDocker, r as init_workspace_manager } from "./workspace-manager-D6NgGkiF.js";
28
- import { at as init_jsonl_parser, ot as normalizeModelName } from "./specialists-BGNZ0_ZW.js";
29
- import { t as withBdMutex } from "./bd-mutex-BItGvLQ8.js";
30
- import { a as loadWorkspaceMetadataSync } from "./workspace-metadata-C8yn8kAH.js";
31
- import { c as syncBeadStatusToVBrief } from "./beads-DRoj6-e1.js";
17
+ import { I as generateVBriefFilename, L as init_lifecycle, f as readTierOverrides, g as serializeVBriefDocument, h as recordTierPromotion, m as readWorkspacePlanSync, o as init_io, r as findPlan, u as readPlan } from "./io-BiQ2Cs3k.js";
18
+ import { d as getCliproxyAuthDir, g as getCliproxyLogPath, l as decodeJwtPayload, v as init_cliproxy } from "./cliproxy-BsoNNDAj.js";
19
+ import { _ as init_codex_conversation_parser, c as parseEntireConversation, d as init_pi_conversation_parser, g as parseOhmypiConversationMessages, m as init_ohmypi_conversation_parser, p as parsePiConversationMessages, t as init_conversation_service, v as parseCodexConversationMessages } from "./conversation-service-BR1OgvxO.js";
20
+ import { n as recordFeatureRegistryLifecycle, t as init_feature_registry_population } from "./feature-registry-population-ie-yBcQC.js";
21
+ import { c as requireModelOverrideSync, n as init_state_home, o as init_model_validation, r as isStateMigrated, s as normalizeModelOverrideSync } from "./state-home-CRowbXqU.js";
22
+ import { a as init_stack_health, i as getWorkspaceStackHealth } from "./stack-health-DxsTx7II.js";
23
+ import { s as getDispatchableItems, u as init_dag } from "./dag-CqTehWpY.js";
24
+ import { i as queryBeadById, r as init_beads_query } from "./beads-query-B1DlJVp9.js";
25
+ import { a as init_lifecycle_io, c as updatePlanStatus, s as transitionVBriefOnMain } from "./lifecycle-io-CeYxP3cE.js";
26
+ import { d as getAgentPendingQuestions$1, f as getAgentWorkspace$1, g as normalizeAwaitingInputPrompt, o as getRuntimeForAgent, s as computeAgentEnrichment, u as getAgentJsonlPath$1 } from "./stuck-remediation-CFWUP8_I.js";
27
+ import { Ht as getResourceConfig, Lt as classifyMemoryPressure, Q as createInFlightGuard, Ut as getSystemHealthSnapshot } from "./deacon-DrKDBeJL.js";
28
+ import { o as stopWorkspaceDocker, r as init_workspace_manager } from "./workspace-manager-CB-R07R3.js";
29
+ import { a as init_jsonl_parser, o as normalizeModelName } from "./jsonl-parser-dNIjHgym.js";
30
+ import { a as loadWorkspaceMetadataSync } from "./workspace-metadata-9Nn5kgRl.js";
31
+ import { c as syncBeadStatusToVBrief, l as withBdMutex } from "./beads-BGGxrkZ5.js";
32
32
  import { dirname, join } from "node:path";
33
33
  import { Cause, Data, Effect, Layer, Option, Schema, Stream } from "effect";
34
34
  import { join as join$1 } from "path";
@@ -629,7 +629,7 @@ async function resolveCodexRolloutPath(agentId, opts = {}) {
629
629
  const agentDir = join(opts.agentsDirOverride ?? join(getOverdeckHome(), "agents"), agentId);
630
630
  const codexHome = join(agentDir, "codex-home");
631
631
  if (!await pathExists$1(codexHome)) return null;
632
- const { findRolloutPath, findLatestRollout } = await import("./codex-Bi1ITSOo.js");
632
+ const { findRolloutPath, findLatestRollout } = await import("./codex-B7DTpwEw.js");
633
633
  const threadId = (await readOptional(join(agentDir, "codex-thread-id")))?.trim();
634
634
  if (threadId) {
635
635
  const rollout = findRolloutPath(codexHome, threadId);
@@ -1720,7 +1720,7 @@ const getAgentOutputRoute = HttpRouter.add("GET", "/api/agents/:id/output", http
1720
1720
  } catch {}
1721
1721
  let stdout;
1722
1722
  if (isRemote && vmName) {
1723
- const { getRemoteAgentOutput } = await import("./remote-agents-B4eWgwNd.js");
1723
+ const { getRemoteAgentOutput } = await import("./remote-agents-DlvbzO7m.js");
1724
1724
  stdout = await getRemoteAgentOutput(id, vmName, parseInt(String(lines), 10) || 100);
1725
1725
  } else stdout = await Effect.runPromise(capturePane(id, parseInt(String(lines), 10) || 100));
1726
1726
  if (!stdout || stdout.trim() === "" || stdout.trim() === "Session not found") {
@@ -2134,7 +2134,7 @@ const postInternalAgentPermissionRequestRoute = HttpRouter.add("POST", "/api/int
2134
2134
  error: "missing agent id"
2135
2135
  }, { status: 400 });
2136
2136
  const request = yield* HttpServerRequest.HttpServerRequest;
2137
- const { INTERNAL_TOKEN_HEADER, getInternalTokenSync } = yield* Effect.promise(() => import("./internal-token-C90jBp-y.js"));
2137
+ const { INTERNAL_TOKEN_HEADER, getInternalTokenSync } = yield* Effect.promise(() => import("./internal-token-CCaWaTwE.js"));
2138
2138
  const expected = getInternalTokenSync();
2139
2139
  if (!expected) return jsonResponse({
2140
2140
  ok: false,
@@ -2401,7 +2401,7 @@ const getAgentHealthHistoryRoute = HttpRouter.add("GET", "/api/agents/:id/health
2401
2401
  const request = yield* HttpServerRequest.HttpServerRequest;
2402
2402
  const urlOpt = HttpServerRequest.toURL(request);
2403
2403
  const hours = Option.isSome(urlOpt) ? urlOpt.value.searchParams.get("hours") ?? "24" : "24";
2404
- const { getHealthHistory } = yield* Effect.promise(() => import("./health-events-DDfkoO5a.js"));
2404
+ const { getHealthHistory } = yield* Effect.promise(() => import("./health-events-B_WsQyYm.js"));
2405
2405
  const endTime = /* @__PURE__ */ new Date();
2406
2406
  const startTime = /* @__PURE__ */ new Date(endTime.getTime() - parseInt(hours) * 60 * 60 * 1e3);
2407
2407
  const events = getHealthHistory(id, startTime.toISOString(), endTime.toISOString());
@@ -2442,7 +2442,7 @@ function emitAgentRuntimeEvent(id, body, timestamp) {
2442
2442
  detail: String(decoded.failure)
2443
2443
  }, { status: 400 })
2444
2444
  };
2445
- const { AgentStateService } = yield* Effect.promise(() => import("./agent-state-service-U8feBf8t.js"));
2445
+ const { AgentStateService } = yield* Effect.promise(() => import("./agent-state-service-C_2ZAQRP.js"));
2446
2446
  yield* (yield* AgentStateService).emit(decoded.success);
2447
2447
  return {
2448
2448
  ok: true,
@@ -2524,7 +2524,7 @@ const getAgentRuntimeRoute = HttpRouter.add("GET", "/api/agents/:id/runtime", ht
2524
2524
  success: false,
2525
2525
  error: "missing agent id"
2526
2526
  }, { status: 400 });
2527
- const { AgentStateService } = yield* Effect.promise(() => import("./agent-state-service-U8feBf8t.js"));
2527
+ const { AgentStateService } = yield* Effect.promise(() => import("./agent-state-service-C_2ZAQRP.js"));
2528
2528
  const snapshot = yield* (yield* AgentStateService).get(id);
2529
2529
  if (!snapshot) return jsonResponse({
2530
2530
  success: false,
@@ -2635,8 +2635,8 @@ function createAgentStopHandler(lifecycleEvent) {
2635
2635
  yield* stopAgent(id);
2636
2636
  if (stateBeforeStop?.issueId) yield* Effect.promise(async () => {
2637
2637
  try {
2638
- const { resolveProjectFromIssueSync } = await import("./projects-BqRMlDOv.js");
2639
- const { findWorkspacePath } = await import("./archive-planning-DmpT1_14.js");
2638
+ const { resolveProjectFromIssueSync } = await import("./projects-KJ94e50I.js");
2639
+ const { findWorkspacePath } = await import("./archive-planning-CTILQRnV.js");
2640
2640
  const issueLower = stateBeforeStop.issueId.toLowerCase();
2641
2641
  const workspacePath = findWorkspacePath(resolveProjectFromIssueSync(stateBeforeStop.issueId)?.projectPath ?? process.cwd(), issueLower);
2642
2642
  if (workspacePath) {
@@ -3715,15 +3715,15 @@ init_agents();
3715
3715
  function handleRemoteAgentSpawn(input) {
3716
3716
  return Effect.gen(function* () {
3717
3717
  const { issueId, workspacePath, workspaceMetadata, spawnModel, projectPath, spawnGuardrails, lifecycle } = input;
3718
- const { spawnRemoteAgent, checkRemoteSpendCap } = yield* Effect.promise(() => import("./remote-agents-B4eWgwNd.js"));
3719
- const { createFlyProviderFromConfig } = yield* Effect.promise(() => import("./remote-B062S1Kc.js"));
3720
- const { loadConfigSync: loadPanConfig } = yield* Effect.promise(() => import("./config-B4_d7z7z.js"));
3718
+ const { spawnRemoteAgent, checkRemoteSpendCap } = yield* Effect.promise(() => import("./remote-agents-DlvbzO7m.js"));
3719
+ const { createFlyProviderFromConfig } = yield* Effect.promise(() => import("./remote-DmeL21dF.js"));
3720
+ const { loadConfigSync: loadPanConfig } = yield* Effect.promise(() => import("./config-BRNQJXhA.js"));
3721
3721
  const panConfig = loadPanConfig();
3722
3722
  const spendCap = checkRemoteSpendCap(panConfig);
3723
3723
  if (!spendCap.allowed) return jsonResponse({ error: spendCap.message }, { status: 429 });
3724
3724
  const fly = createFlyProviderFromConfig(panConfig.remote);
3725
3725
  yield* Effect.promise(() => fly.syncAllCredentials(workspaceMetadata.vmName));
3726
- const { buildWorkAgentPrompt, getTrackerContext } = yield* Effect.promise(() => import("./work-agent-prompt-B2F3ZwKm.js"));
3726
+ const { buildWorkAgentPrompt, getTrackerContext } = yield* Effect.promise(() => import("./work-agent-prompt-fZljjA1_.js"));
3727
3727
  const trackerContext = yield* Effect.promise(() => getTrackerContext(issueId, workspacePath));
3728
3728
  const agentPrompt = yield* Effect.promise(() => buildWorkAgentPrompt({
3729
3729
  issueId,
@@ -4252,7 +4252,7 @@ const postAgentsRoute = HttpRouter.add("POST", "/api/agents", httpHandler(Effect
4252
4252
  if (!hasBeads) {
4253
4253
  console.log(`[agents] No beads for ${issueId} — attempting auto-recovery via createBeadsFromVBrief`);
4254
4254
  try {
4255
- const { createBeadsFromVBrief } = yield* Effect.promise(() => import("./beads-CivpXztb.js"));
4255
+ const { createBeadsFromVBrief } = yield* Effect.promise(() => import("./beads-CYsLiyIM.js"));
4256
4256
  const recovery = yield* createBeadsFromVBrief(workspacePath);
4257
4257
  beadCount = recovery.created.length;
4258
4258
  hasBeads = recovery.created.length > 0 && (planItemCount === null || recovery.created.length === planItemCount);
@@ -4442,7 +4442,7 @@ const postAgentsRoute = HttpRouter.add("POST", "/api/agents", httpHandler(Effect
4442
4442
  console.warn(`[start-agent] Failed to set plan.status=running (non-fatal): ${planStatusErr?.message ?? planStatusErr}`);
4443
4443
  }
4444
4444
  try {
4445
- const { appendSessionEntry, getProjectConfigFromWorkspacePath, resolveProjectForIssue } = yield* Effect.promise(() => import("./record-CJsjvRO4.js"));
4445
+ const { appendSessionEntry, getProjectConfigFromWorkspacePath, resolveProjectForIssue } = yield* Effect.promise(() => import("./record-pyB6VA32.js"));
4446
4446
  const recordProject = resolveProjectForIssue(issueId) ?? getProjectConfigFromWorkspacePath(workspacePath);
4447
4447
  yield* Effect.promise(() => appendSessionEntry(recordProject, issueId, {
4448
4448
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
@@ -4860,10 +4860,10 @@ const _serverManagedMerges = /* @__PURE__ */ new Set();
4860
4860
  function firePostMergeLifecycle(issueId, options) {
4861
4861
  const started = postMergeGuard.run(issueId, async () => {
4862
4862
  const projectPath = getProjectPathForIssue(extractPrefixSync(issueId) ?? issueId.split("-")[0]);
4863
- const { postMergeLifecycle } = await import("./merge-agent-Bwm34MZ5.js");
4863
+ const { postMergeLifecycle } = await import("./merge-agent-36wfYm2u.js");
4864
4864
  await postMergeLifecycle(issueId, projectPath, options?.sourceBranch, options?.verifiedMergedRef ? { verifiedMergedRef: options.verifiedMergedRef } : void 0);
4865
4865
  console.log(`[merge] post-merge lifecycle completed for ${issueId}`);
4866
- const { runMergeTrainReconcile } = await import("./merge-train-BIm7-7cy.js");
4866
+ const { runMergeTrainReconcile } = await import("./merge-train-DGqVuNZV.js");
4867
4867
  const outcomes = await runMergeTrainReconcile(issueId);
4868
4868
  if (outcomes.length > 0) console.log(`[merge-train] reconciled ${outcomes.length} sibling(s) after ${issueId}: ` + outcomes.map((o) => `${o.issueId}=${o.result}`).join(", "));
4869
4869
  }, (err) => console.error(`[merge] post-merge lifecycle failed for ${issueId}:`, err));
@@ -4884,15 +4884,15 @@ init_io();
4884
4884
  init_domain_services();
4885
4885
  init_tmux();
4886
4886
  const getSpecialistsRoute = HttpRouter.add("GET", "/api/specialists", httpHandler(Effect.gen(function* () {
4887
- const { getAllSpecialistStatus, getAllProjectSpecialistStatuses } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
4887
+ const { getAllSpecialistStatus, getAllProjectSpecialistStatuses } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
4888
4888
  return jsonResponse({
4889
4889
  specialists: yield* Effect.promise(() => getAllSpecialistStatus()),
4890
4890
  projects: yield* Effect.promise(() => getAllProjectSpecialistStatuses())
4891
4891
  });
4892
4892
  })));
4893
4893
  const postSpecialistsResetAllRoute = HttpRouter.add("POST", "/api/specialists/reset-all", httpHandler(Effect.gen(function* () {
4894
- const { getAllSpecialists, isRunning, getTmuxSessionName } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
4895
- const { clearHookSync } = yield* Effect.promise(() => import("./hooks-DvdnCVv6.js"));
4894
+ const { getAllSpecialists, isRunning, getTmuxSessionName } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
4895
+ const { clearHookSync } = yield* Effect.promise(() => import("./hooks-C1ScyVxP.js"));
4896
4896
  const specialists = getAllSpecialists();
4897
4897
  const results = [];
4898
4898
  for (const specialist of specialists) {
@@ -4942,7 +4942,7 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
4942
4942
  const normalizedIssueId = issueId.toUpperCase();
4943
4943
  console.log(`[specialists/done] ${specialist} signaling ${status} for ${normalizedIssueId}`);
4944
4944
  if (specialist === "merge") {
4945
- const { reportSpecialistCompletion } = yield* Effect.promise(() => import("./specialist-completion-Coz3eTSr.js"));
4945
+ const { reportSpecialistCompletion } = yield* Effect.promise(() => import("./specialist-completion-BZ8M-WZ0.js"));
4946
4946
  if (yield* reportSpecialistCompletion(normalizedIssueId, {
4947
4947
  status,
4948
4948
  notes
@@ -4989,7 +4989,7 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
4989
4989
  if (specialist === "inspect" && status === "failed") yield* Effect.promise(() => reportTieredInspectFailureEscalation(normalizedIssueId, notes));
4990
4990
  yield* Effect.promise(async () => {
4991
4991
  try {
4992
- const { getTmuxSessionName, updateRunMetadata, makeSpecialistRegistryKey } = await import("./specialists-Chvvwf5z.js");
4992
+ const { getTmuxSessionName, updateRunMetadata, makeSpecialistRegistryKey } = await import("./specialists-8ZAguXef.js");
4993
4993
  const projectKey = resolveProjectFromIssueSync(normalizedIssueId)?.projectKey;
4994
4994
  const tmuxSession = projectKey ? getTmuxSessionName(`${specialist}-agent`, projectKey, normalizedIssueId) : getTmuxSessionName(`${specialist}-agent`);
4995
4995
  saveAgentRuntimeState(tmuxSession, {
@@ -5008,7 +5008,7 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
5008
5008
  });
5009
5009
  console.log(`[specialists/done] Cleared registry lock for ${registryKey} (${projectKey})`);
5010
5010
  }
5011
- const { updateSpecialistHandoffStatus } = await import("./specialist-handoff-logger-B9HK_lRu.js");
5011
+ const { updateSpecialistHandoffStatus } = await import("./specialist-handoff-logger-BxX1YefH.js");
5012
5012
  if (await Effect.runPromise(updateSpecialistHandoffStatus(normalizedIssueId, `${specialist}-agent`, status === "passed" ? "completed" : "failed", status === "passed" ? "success" : "failure"))) console.log(`[specialists/done] Updated handoff log: ${specialist}-agent ${normalizedIssueId} → ${status}`);
5013
5013
  } catch (err) {
5014
5014
  console.error(`[specialists/done] Error managing specialist state:`, err);
@@ -5020,7 +5020,7 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
5020
5020
  if (project) {
5021
5021
  const workspacePath = join(project.projectPath, "workspaces", `feature-${normalizedIssueId.toLowerCase()}`);
5022
5022
  if (existsSync(workspacePath)) {
5023
- const { getWorkspaceGitInfo } = await import("./git-utils-Ym380hJZ.js");
5023
+ const { getWorkspaceGitInfo } = await import("./git-utils-BCLRWQ-y.js");
5024
5024
  const { HEAD } = await Effect.runPromise(getWorkspaceGitInfo(workspacePath));
5025
5025
  setReviewStatusSync(normalizedIssueId, { reviewedAtCommit: HEAD });
5026
5026
  console.log(`[specialists/done] Snapshotted reviewedAtCommit=${HEAD.substring(0, 8)} for ${normalizedIssueId}`);
@@ -5032,7 +5032,7 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
5032
5032
  });
5033
5033
  if (specialist === "inspect" && status === "passed") yield* Effect.promise(async () => {
5034
5034
  try {
5035
- const { onInspectComplete } = await import("./inspect-agent-D8UBDgfR.js");
5035
+ const { onInspectComplete } = await import("./inspect-agent-477VxQim.js");
5036
5036
  const beadId = (notes?.match(/[Bb]ead\s+(\S+)/))?.[1] || "unknown";
5037
5037
  const project = resolveProjectFromIssueSync(normalizedIssueId);
5038
5038
  if (project) {
@@ -5077,7 +5077,7 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
5077
5077
  if (project) {
5078
5078
  if (existsSync(join(project.projectPath, "workspaces", `feature-${normalizedIssueId.toLowerCase()}`))) {
5079
5079
  setReviewStatusSync(normalizedIssueId, { testStatus: "passed" });
5080
- const { initEventStore } = await import("./event-store-C02Gprug.js");
5080
+ const { initEventStore } = await import("./event-store-CcJAhKCl.js");
5081
5081
  await (await initEventStore()).appendAsync({
5082
5082
  type: "test.passed",
5083
5083
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
@@ -5130,8 +5130,8 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
5130
5130
  if (notes?.toLowerCase().includes("conflict")) yield* Effect.promise(async () => {
5131
5131
  try {
5132
5132
  const workAgentId = `agent-${normalizedIssueId.toLowerCase()}`;
5133
- const { sessionExists } = await import("./tmux-CbcrkUx5.js");
5134
- const { messageAgent, spawnAgent, getAgentStateSync } = await import("./agents-CxbuBjID.js");
5133
+ const { sessionExists } = await import("./tmux-x291Gjjb.js");
5134
+ const { messageAgent, spawnAgent, getAgentStateSync } = await import("./agents-DCvyTXNU.js");
5135
5135
  if (await Effect.runPromise(sessionExists(workAgentId))) {
5136
5136
  await messageAgent(workAgentId, `MERGE CONFLICT: The merge-agent could not rebase your branch onto main due to conflicts. Please fix this now:\n\n1. git fetch origin main\n2. git rebase origin/main\n3. Resolve any conflicts (git add <file> && git rebase --continue)\n4. git push --force-with-lease\n5. Resubmit: curl -s -X POST http://localhost:3011/api/review/${normalizedIssueId}/request -H "Content-Type: application/json" -d "{}"\n\nConflict details: ${notes}`);
5137
5137
  console.log(`[specialists/done] Sent rebase instructions to ${workAgentId}`);
@@ -5145,7 +5145,7 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
5145
5145
  try {
5146
5146
  const project = resolveProjectFromIssueSync(normalizedIssueId);
5147
5147
  const workspacePath = project ? join(project.projectPath, "workspaces", `feature-${normalizedIssueId.toLowerCase()}`) : void 0;
5148
- const { deliverReviewVerdictFeedback } = await import("./review-verdict-feedback-BnGtT0vN.js");
5148
+ const { deliverReviewVerdictFeedback } = await import("./review-verdict-feedback-YOzmsq9G.js");
5149
5149
  const result = await Effect.runPromise(deliverReviewVerdictFeedback({
5150
5150
  issueId: normalizedIssueId,
5151
5151
  verdict: status === "failed" ? "failed" : "blocked",
@@ -5186,7 +5186,7 @@ const postSpecialistsDoneRoute = HttpRouter.add("POST", "/api/specialists/done",
5186
5186
  });
5187
5187
  })));
5188
5188
  const postSpecialistsLogsCleanupAllRoute = HttpRouter.add("POST", "/api/specialists/logs/cleanup-all", httpHandler(Effect.gen(function* () {
5189
- const { cleanupAllLogsSync } = yield* Effect.promise(() => import("./specialist-logs-B24R2B9Y.js"));
5189
+ const { cleanupAllLogsSync } = yield* Effect.promise(() => import("./specialist-logs-BWZYcJ6P.js"));
5190
5190
  const results = cleanupAllLogsSync();
5191
5191
  return jsonResponse({
5192
5192
  success: true,
@@ -5196,7 +5196,7 @@ const postSpecialistsLogsCleanupAllRoute = HttpRouter.add("POST", "/api/speciali
5196
5196
  });
5197
5197
  })));
5198
5198
  const getSpecialistsProjectsRoute = HttpRouter.add("GET", "/api/specialists/projects", httpHandler(Effect.gen(function* () {
5199
- const { getAllProjectSpecialistStatuses } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5199
+ const { getAllProjectSpecialistStatuses } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5200
5200
  return jsonResponse(yield* Effect.promise(() => getAllProjectSpecialistStatuses()));
5201
5201
  })));
5202
5202
  const postSpecialistWakeRoute = HttpRouter.add("POST", "/api/specialists/:name/wake", httpHandler(Effect.gen(function* () {
@@ -5240,7 +5240,7 @@ const postSpecialistReportStatusRoute = HttpRouter.add("POST", "/api/specialists
5240
5240
  "blocked",
5241
5241
  "failed"
5242
5242
  ].includes(status)) {
5243
- const { getTmuxSessionName } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5243
+ const { getTmuxSessionName } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5244
5244
  saveAgentRuntimeState(getTmuxSessionName(name), {
5245
5245
  state: "idle",
5246
5246
  lastActivity: (/* @__PURE__ */ new Date()).toISOString()
@@ -5361,7 +5361,7 @@ const postProjectSpecialistKillRoute = HttpRouter.add("POST", "/api/specialists/
5361
5361
  const issueId = params["issueId"];
5362
5362
  const type = params["type"];
5363
5363
  if (!validateSpecialistAgentName(type)) return jsonResponse({ error: "Invalid specialist type. Must be review-agent, test-agent, or merge-agent" }, { status: 400 });
5364
- const { getTmuxSessionName, makeSpecialistRegistryKey, getRunMetadata } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5364
+ const { getTmuxSessionName, makeSpecialistRegistryKey, getRunMetadata } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5365
5365
  const tmuxSession = getRunMetadata(project, makeSpecialistRegistryKey(type, issueId)).tmuxSession ?? getTmuxSessionName(type, project, issueId);
5366
5366
  yield* Effect.promise(() => Effect.runPromise(killSession(tmuxSession)).catch(() => {}));
5367
5367
  saveAgentRuntimeState(tmuxSession, {
@@ -5388,7 +5388,7 @@ const getProjectSpecialistRunsRoute = HttpRouter.add("GET", "/api/specialists/:p
5388
5388
  if (limitParam) limit = parseInt(limitParam, 10);
5389
5389
  if (offsetParam) offset = parseInt(offsetParam, 10);
5390
5390
  }
5391
- const { listRunLogsSync } = yield* Effect.promise(() => import("./specialist-logs-B24R2B9Y.js"));
5391
+ const { listRunLogsSync } = yield* Effect.promise(() => import("./specialist-logs-BWZYcJ6P.js"));
5392
5392
  return jsonResponse(listRunLogsSync(project, type, {
5393
5393
  limit,
5394
5394
  offset
@@ -5399,7 +5399,7 @@ const getProjectSpecialistRunStreamRoute = HttpRouter.add("GET", "/api/specialis
5399
5399
  const project = params["project"];
5400
5400
  const type = params["type"];
5401
5401
  const runId = params["runId"];
5402
- const { getRunLogPath, isRunLogActive } = yield* Effect.promise(() => import("./specialist-logs-B24R2B9Y.js"));
5402
+ const { getRunLogPath, isRunLogActive } = yield* Effect.promise(() => import("./specialist-logs-BWZYcJ6P.js"));
5403
5403
  const logPath = getRunLogPath(project, type, runId);
5404
5404
  if (!existsSync(logPath)) return jsonResponse({ error: "Run log not found" }, { status: 404 });
5405
5405
  const encoder = new TextEncoder();
@@ -5458,7 +5458,7 @@ const getProjectSpecialistRunRoute = HttpRouter.add("GET", "/api/specialists/:pr
5458
5458
  const project = params["project"];
5459
5459
  const type = params["type"];
5460
5460
  const runId = params["runId"];
5461
- const { getRunLogSync, parseLogMetadata } = yield* Effect.promise(() => import("./specialist-logs-B24R2B9Y.js"));
5461
+ const { getRunLogSync, parseLogMetadata } = yield* Effect.promise(() => import("./specialist-logs-BWZYcJ6P.js"));
5462
5462
  const content = getRunLogSync(project, type, runId);
5463
5463
  if (!content) return jsonResponse({ error: "Run log not found" }, { status: 404 });
5464
5464
  return jsonResponse({
@@ -5472,7 +5472,7 @@ const postProjectSpecialistRunTerminateRoute = HttpRouter.add("POST", "/api/spec
5472
5472
  const project = params["project"];
5473
5473
  const type = params["type"];
5474
5474
  if (!validateSpecialistAgentName(type)) return jsonResponse({ error: "Invalid specialist type. Must be review-agent, test-agent, or merge-agent" }, { status: 400 });
5475
- const { terminateSpecialist } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5475
+ const { terminateSpecialist } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5476
5476
  yield* Effect.promise(() => terminateSpecialist(project, type));
5477
5477
  return jsonResponse({
5478
5478
  success: true,
@@ -5484,7 +5484,7 @@ const postProjectSpecialistGracePauseRoute = HttpRouter.add("POST", "/api/specia
5484
5484
  const project = params["project"];
5485
5485
  const type = params["type"];
5486
5486
  if (!validateSpecialistAgentName(type)) return jsonResponse({ error: "Invalid specialist type. Must be review-agent, test-agent, or merge-agent" }, { status: 400 });
5487
- const { pauseGracePeriod } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5487
+ const { pauseGracePeriod } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5488
5488
  if (pauseGracePeriod(project, type)) return jsonResponse({
5489
5489
  success: true,
5490
5490
  message: "Grace period paused"
@@ -5496,7 +5496,7 @@ const postProjectSpecialistGraceResumeRoute = HttpRouter.add("POST", "/api/speci
5496
5496
  const project = params["project"];
5497
5497
  const type = params["type"];
5498
5498
  if (!validateSpecialistAgentName(type)) return jsonResponse({ error: "Invalid specialist type. Must be review-agent, test-agent, or merge-agent" }, { status: 400 });
5499
- const { resumeGracePeriod } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5499
+ const { resumeGracePeriod } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5500
5500
  if (resumeGracePeriod(project, type)) return jsonResponse({
5501
5501
  success: true,
5502
5502
  message: "Grace period resumed"
@@ -5508,7 +5508,7 @@ const postProjectSpecialistGraceExitRoute = HttpRouter.add("POST", "/api/special
5508
5508
  const project = params["project"];
5509
5509
  const type = params["type"];
5510
5510
  if (!validateSpecialistAgentName(type)) return jsonResponse({ error: "Invalid specialist type. Must be review-agent, test-agent, or merge-agent" }, { status: 400 });
5511
- const { exitGracePeriod } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5511
+ const { exitGracePeriod } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5512
5512
  exitGracePeriod(project, type);
5513
5513
  return jsonResponse({
5514
5514
  success: true,
@@ -5520,7 +5520,7 @@ const getProjectSpecialistGraceRoute = HttpRouter.add("GET", "/api/specialists/:
5520
5520
  const project = params["project"];
5521
5521
  const type = params["type"];
5522
5522
  if (!validateSpecialistAgentName(type)) return jsonResponse({ error: "Invalid specialist type. Must be review-agent, test-agent, or merge-agent" }, { status: 400 });
5523
- const { getGracePeriodState } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5523
+ const { getGracePeriodState } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5524
5524
  const state = getGracePeriodState(project, type);
5525
5525
  if (state) return jsonResponse(state);
5526
5526
  else return jsonResponse({ error: "No active grace period" }, { status: 404 });
@@ -5529,7 +5529,7 @@ const getProjectSpecialistContextRoute = HttpRouter.add("GET", "/api/specialists
5529
5529
  const params = yield* HttpRouter.params;
5530
5530
  const project = params["project"];
5531
5531
  const type = params["type"];
5532
- const { loadContextDigest } = yield* Effect.promise(() => import("./specialist-context-fmb03vXQ.js"));
5532
+ const { loadContextDigest } = yield* Effect.promise(() => import("./specialist-context-BMq83C58.js"));
5533
5533
  const digest = loadContextDigest(project, type);
5534
5534
  if (digest) return jsonResponse({ digest });
5535
5535
  else return jsonResponse({ error: "No context digest found" }, { status: 404 });
@@ -5538,7 +5538,7 @@ const postProjectSpecialistContextRegenerateRoute = HttpRouter.add("POST", "/api
5538
5538
  const params = yield* HttpRouter.params;
5539
5539
  const project = params["project"];
5540
5540
  const type = params["type"];
5541
- const { regenerateContextDigest } = yield* Effect.promise(() => import("./specialist-context-fmb03vXQ.js"));
5541
+ const { regenerateContextDigest } = yield* Effect.promise(() => import("./specialist-context-BMq83C58.js"));
5542
5542
  const digest = yield* Effect.promise(() => regenerateContextDigest(project, type));
5543
5543
  if (digest) return jsonResponse({
5544
5544
  digest,
@@ -5557,7 +5557,7 @@ const postProjectSpecialistCompleteRoute = HttpRouter.add("POST", "/api/speciali
5557
5557
  "blocked"
5558
5558
  ].includes(status)) return jsonResponse({ error: "Valid status (passed/failed/blocked) is required" }, { status: 400 });
5559
5559
  if (!validateSpecialistAgentName(type)) return jsonResponse({ error: "Invalid specialist type. Must be review-agent, test-agent, or merge-agent" }, { status: 400 });
5560
- const { signalSpecialistCompletion } = yield* Effect.promise(() => import("./specialists-Chvvwf5z.js"));
5560
+ const { signalSpecialistCompletion } = yield* Effect.promise(() => import("./specialists-8ZAguXef.js"));
5561
5561
  signalSpecialistCompletion(project, type, {
5562
5562
  status,
5563
5563
  notes
@@ -5591,8 +5591,8 @@ const postProjectSpecialistLogsCleanupRoute = HttpRouter.add("POST", "/api/speci
5591
5591
  const params = yield* HttpRouter.params;
5592
5592
  const project = params["project"];
5593
5593
  const type = params["type"];
5594
- const { cleanupOldLogsSync } = yield* Effect.promise(() => import("./specialist-logs-B24R2B9Y.js"));
5595
- const { getSpecialistRetention } = yield* Effect.promise(() => import("./projects-BqRMlDOv.js"));
5594
+ const { cleanupOldLogsSync } = yield* Effect.promise(() => import("./specialist-logs-BWZYcJ6P.js"));
5595
+ const { getSpecialistRetention } = yield* Effect.promise(() => import("./projects-KJ94e50I.js"));
5596
5596
  const retention = getSpecialistRetention(project);
5597
5597
  const deleted = cleanupOldLogsSync(project, type, {
5598
5598
  maxDays: retention.max_days,
@@ -5613,7 +5613,7 @@ const postProjectReviewRestartRoute = HttpRouter.add("POST", "/api/specialists/:
5613
5613
  const project = params["project"];
5614
5614
  const issueId = params["issueId"];
5615
5615
  const { model, harness } = yield* readJsonBody;
5616
- const { killAllReviewerSessions } = yield* Effect.promise(() => import("./review-agent-Bf9XjLnl.js"));
5616
+ const { killAllReviewerSessions } = yield* Effect.promise(() => import("./review-agent-Rub0OpZc.js"));
5617
5617
  const killResult = yield* killAllReviewerSessions(project, issueId);
5618
5618
  const projectConfig = resolveProjectFromIssueSync(issueId);
5619
5619
  if (!projectConfig) return jsonResponse({ error: `Cannot resolve project for ${issueId}` }, { status: 404 });
@@ -5627,7 +5627,7 @@ const postProjectReviewRestartRoute = HttpRouter.add("POST", "/api/specialists/:
5627
5627
  }));
5628
5628
  branch = stdout.trim() || "unknown";
5629
5629
  } catch {}
5630
- const { spawnReviewRoleForIssue } = yield* Effect.promise(() => import("./review-agent-Bf9XjLnl.js"));
5630
+ const { spawnReviewRoleForIssue } = yield* Effect.promise(() => import("./review-agent-Rub0OpZc.js"));
5631
5631
  const prUrl = getReviewStatusSync(issueId)?.prUrl;
5632
5632
  const result = yield* spawnReviewRoleForIssue({
5633
5633
  issueId,
@@ -5778,4 +5778,4 @@ const specialistsRouteLayer = Layer.mergeAll(specialistsLegacyRouteLayer, specia
5778
5778
  //#endregion
5779
5779
  export { validateOrigin as C, jsonResponse as D, httpHandler as E, jsonStringResponse as O, normalizeOrigin as S, checkCodexAuthStatus as T, resolveJsonlPath as _, agentsRouteLayer as a, getTrustedOrigins as b, evaluateSpawnGuardrails as c, resolveConversationGitInfo as d, getWorkAgentLifecycleStateSync as f, resolveCodexRolloutPath as g, resolveClaudeSessionId as h, validateSpecialistAutoCompleteMetadata as i, invalidateAgentsCache as l, resolveAgentHarness as m, _serverManagedMerges as n, saveAgentStateAndEmitEvent as o, readLauncherPinnedSessionId as p, firePostMergeLifecycle as r, saveAgentStateAndEmitEventProgram as s, specialistsRouteLayer as t, resolveAgentGitInfo as u, resolvePiSessionPath as v, validateOriginHeaders as w, isTrustedOriginForHost as x, getHeaderFromMap as y };
5780
5780
 
5781
- //# sourceMappingURL=specialists-CL7E8yUg.js.map
5781
+ //# sourceMappingURL=specialists-BudKrjOu.js.map