@overdeck/desktop 0.50.0 → 0.50.3

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 (650) hide show
  1. package/package.json +1 -1
  2. package/server/{acceptance-criteria-B_maCGZv.js → acceptance-criteria-D-OIjvuX.js} +2 -2
  3. package/server/{active-dashboard-bundle-CCqpFWiz.js → active-dashboard-bundle-C-Ars7eG.js} +2 -2
  4. package/server/{activity-logger-B0X2JJwM.js → activity-logger-BRASNITk.js} +1 -1
  5. package/server/{activity-logger-SlTXYCVf.js → activity-logger-DNYDzAOU.js} +3 -3
  6. package/server/{advancing-selfheal-BJAfiY-C.js → advancing-selfheal-Bq8V0QUa.js} +5 -5
  7. package/server/{agent-gc-bhikjoJ_.js → agent-gc-Coz8zQt_.js} +10 -10
  8. package/server/{agent-idle-D-UQ7gDv.js → agent-idle-CAwB-K6M.js} +182 -30
  9. package/server/{agent-state-BrUPf_7Z.js → agent-state-CbUEwUEQ.js} +1 -1
  10. package/server/{agent-state-FABw8neJ.js → agent-state-Ci6PhjOE.js} +1504 -245
  11. package/server/{agent-state-service-rDenYSlD.js → agent-state-service-D6IVrX3B.js} +5 -5
  12. package/server/{agent-state-service-BAQApt97.js → agent-state-service-DcN1j6eK.js} +1 -1
  13. package/server/agents-BVvL4o_4.js +3 -0
  14. package/server/{agents-DzpQidT8.js → agents-CkngXhQr.js} +4 -4
  15. package/server/archive-planning-CohTB7hg.js +2 -0
  16. package/server/{archive-planning-BL1ABtW0.js → archive-planning-CtdBSD1-.js} +5 -5
  17. package/server/{artifact-index-jobs-Cjdme0jS.js → artifact-index-jobs-9ZdXQ9zH.js} +2 -2
  18. package/server/{auto-spawn-consent-BesWchEi.js → auto-spawn-consent-CJeQM5e0.js} +281 -77
  19. package/server/{backlog-auto-trigger-COLq639j.js → backlog-auto-trigger-BuSBqG2V.js} +3 -3
  20. package/server/{behavior-DCg8CIWC.js → behavior-Bg3yC8jC.js} +93 -38
  21. package/server/{bridge-pool-patrol-BDohuMRt.js → bridge-pool-patrol-CkJ86c_r.js} +2 -2
  22. package/server/{briefing-freshness-ENa_hW_V.js → briefing-freshness-CEoe3yWS.js} +2 -2
  23. package/server/build-info-CYlxvZSQ.js +2 -0
  24. package/server/{build-info-WuZT6xyi.js → build-info-Cj3Y0K87.js} +3 -3
  25. package/server/{checkpoint-manager-CSZ7aVQF.js → checkpoint-manager-Bt4dnyyr.js} +2 -2
  26. package/server/{checkpoint-manager-DXhGRvg4.js → checkpoint-manager-C1-9CFcu.js} +1 -1
  27. package/server/checkpoint-worker.js +1 -1
  28. package/server/{checkpoints-DUkUsPVS.js → checkpoints-3pyv5ikj.js} +2 -2
  29. package/server/{checkpoints-tm_w6Y4V.js → checkpoints-Dgtp8549.js} +1 -1
  30. package/server/{claude-hooks-provision-fRofvhTN.js → claude-hooks-provision-DWrqkc3x.js} +2 -2
  31. package/server/{claude-hooks-provision-CTh9zxEi.js → claude-hooks-provision-DXac_UDF.js} +1 -1
  32. package/server/{claude-permissions-DLrb9ovz.js → claude-permissions-DX5BSnMH.js} +2 -2
  33. package/server/{claude-settings-overlay-CMS5Jab5.js → claude-settings-overlay-ALboy05V.js} +1 -1
  34. package/server/{claude-settings-overlay-BYnXaTVc.js → claude-settings-overlay-CTkJUUHw.js} +2 -2
  35. package/server/{cli-CoQou1t_.js → cli-DIhQieif.js} +11 -11
  36. package/server/cli-ZAS502uC.js +2 -0
  37. package/server/{cliproxy-DdhFpcXU.js → cliproxy-Dz_zq_4H.js} +1 -1
  38. package/server/{cliproxy-DXDQcR3I.js → cliproxy-QTm2vdgx.js} +2 -2
  39. package/server/{close-issue-CpQ0BWg-.js → close-issue-CRlmrE5g.js} +5 -5
  40. package/server/{closed-issue-reaper-TymtZM37.js → closed-issue-reaper-DWlw2EtL.js} +1 -1
  41. package/server/{closed-issue-reaper-CdcJRvUx.js → closed-issue-reaper-DrHyYgJR.js} +13 -13
  42. package/server/{codex-BValsmtK.js → codex-DzLXjzbf.js} +1 -1
  43. package/server/{codex-DYyZL8JD.js → codex-pffr8qaN.js} +25 -18
  44. package/server/{compaction-continuation-CVjbdGKt.js → compaction-continuation-DhYgsXmF.js} +3 -3
  45. package/server/{config-_qaa1UXH.js → config-B-MLcKSo.js} +2 -2
  46. package/server/{config-NxI9Yl2f.js → config-BUjU7GZQ.js} +2 -2
  47. package/server/{config-CvKH7r7W.js → config-DN8ETZvK.js} +1 -1
  48. package/server/{config-yaml-D60AnTIu.js → config-yaml-Dce9VUd6.js} +440 -71
  49. package/server/{conflict-gate-hAUCL-un.js → conflict-gate-Bt-lLgYf.js} +4 -4
  50. package/server/{conflict-gate-0dD1kxjN.js → conflict-gate-vczgdVTa.js} +1 -1
  51. package/server/{continue-CnvrUfxw.js → continue-DvNIJ-73.js} +2 -2
  52. package/server/{control-settings-Db0uXgVM.js → control-settings-BkaVFRdm.js} +5 -5
  53. package/server/{conversation-compaction-B-1KETG9.js → conversation-compaction-CsdCbcQB.js} +8 -8
  54. package/server/{conversation-compaction-DzMXGRiJ.js → conversation-compaction-D0zgWM1f.js} +1 -1
  55. package/server/{conversation-service-BxIOd5ay.js → conversation-service-6LaymUV-.js} +224 -76
  56. package/server/conversation-service-Dlks_hSS.js +3 -0
  57. package/server/conversations-BunNL58s.js +3 -0
  58. package/server/{conversations-nS6QgYpD.js → conversations-CPXMv_JQ.js} +11 -9
  59. package/server/{scanner-BFKG3Gxv.js → conversations-search-DnWUghbM.js} +407 -51
  60. package/server/{cost-3FyqKK56.js → cost-PJXEAirJ.js} +8 -8
  61. package/server/{cost-DTuIRE4y.js → cost-ShD-G0cS.js} +52 -2
  62. package/server/{cost-Cctc-Q9M.js → cost-eaAmJTX9.js} +3 -3
  63. package/server/{cost-sync-DfmvLT9L.js → cost-sync-EFEkMYWz.js} +26 -56
  64. package/server/{dag-o-dUpw1L.js → dag-Drz6Nrnf.js} +2 -2
  65. package/server/dashboard-db-worker.js +52 -10
  66. package/server/{deacon-CsisLmPt.js → deacon-CU47dU7U.js} +169 -131
  67. package/server/{deacon-e6py3jkM.js → deacon-DYsOa_ss.js} +3 -3
  68. package/server/{deacon-canonical-state-DkdkQS5p.js → deacon-canonical-state-wi63RApC.js} +3 -3
  69. package/server/{deacon-event-client-CMQswEHX.js → deacon-event-client-DY8U1EbU.js} +2 -2
  70. package/server/{deacon-event-client-BCjHiGAY.js → deacon-event-client-uaGapjPL.js} +1 -1
  71. package/server/{deacon-nudge-log-pcliw8Dr.js → deacon-nudge-log-ZirGPRn1.js} +1 -1
  72. package/server/{deacon-pending-lifecycle-BzaE76Xo.js → deacon-pending-lifecycle-ijGX8wLb.js} +2 -2
  73. package/server/deacon.js +11 -11
  74. package/server/{dead-end-trip-Bs3hxIn6.js → dead-end-trip-B-zvz8Rw.js} +3 -3
  75. package/server/dead-end-trip-Caz9bf1A.js +2 -0
  76. package/server/delivery-DMYxIE0J.js +3 -0
  77. package/server/{deploy-patrol-B8sKkA8h.js → deploy-patrol-C4eXco1S.js} +8 -8
  78. package/server/deploy-queue-C3KIJizG.js +2 -0
  79. package/server/{deploy-queue-CCGWXFkp.js → deploy-queue-TDZ2tzRF.js} +2 -2
  80. package/server/{deploy-window-YuJewzmC.js → deploy-window-CdInEAuR.js} +4 -4
  81. package/server/{deploy-window-hgsvZ3UZ.js → deploy-window-DkjV-Haz.js} +1 -1
  82. package/server/{dev-supervisor-4SBloJHV.js → dev-supervisor-CrYlJS2n.js} +2 -2
  83. package/server/{devcontainer-renderer-BiJhwFNi.js → devcontainer-renderer-DL8lfn0Y.js} +4 -4
  84. package/server/{docker-DQzyMXkd.js → docker-DLIwccCS.js} +1 -1
  85. package/server/{docker-CWO7dcIP.js → docker-fz7ELYZ8.js} +3 -3
  86. package/server/{dod-BAk5arLF.js → dod-C9m0JqhG.js} +1 -1
  87. package/server/{done-preflight-Cx9JGznT.js → done-preflight-CaILZ394.js} +5 -5
  88. package/server/{done-preflight-CGFA0M1b.js → done-preflight-DAufsWqY.js} +1 -1
  89. package/server/{durable-review-pipeline-Djx_lvFd.js → durable-review-pipeline-CIkgDTla.js} +1 -1
  90. package/server/{durable-review-pipeline-BOEZ0chh.js → durable-review-pipeline-CYcUvz1_.js} +1 -1
  91. package/server/{ensure-devcontainer-DzYBBwnM.js → ensure-devcontainer-C2rKQXgr.js} +4 -4
  92. package/server/{ensure-devcontainer-Dk6ZMOUC.js → ensure-devcontainer-IQ_dNjjV.js} +1 -1
  93. package/server/{esm-shims-deFq5Hhl.js → esm-shims-CVzRn1Sa.js} +1 -1
  94. package/server/{event-store-DTns2XZP.js → event-store-BYOh686E.js} +5 -5
  95. package/server/{event-store-C50Qt-f1.js → event-store-Bw3YDOZ5.js} +1 -1
  96. package/server/{event-store-provider-Bu1Qrg6v.js → event-store-provider-B2PMoaap.js} +1 -1
  97. package/server/{events-B6xW8Cpm.js → events-BCPdiWG9.js} +3 -3
  98. package/server/{factory-CWVKwKFE.js → factory-BC18rvHD.js} +4 -4
  99. package/server/{feature-registry-storage-vaxRN3WO.js → feature-registry-storage-CASMzD0N.js} +2 -2
  100. package/server/{features-DXWwktJB.js → features-B1O5F33h.js} +2 -2
  101. package/server/{feedback-stuck-retirement-CXAYe2rU.js → feedback-stuck-retirement-Dd5XNrMr.js} +2 -2
  102. package/server/{feedback-target-yPD_wclF.js → feedback-target-BcsA_GRV.js} +10 -10
  103. package/server/{feedback-target-DSVpi0gT.js → feedback-target-BzdJ2wIR.js} +1 -1
  104. package/server/{feedback-writer-BzN4qvaP.js → feedback-writer-DfMoEtQc.js} +1 -1
  105. package/server/{feedback-writer-Ds1Wjsz4.js → feedback-writer-lbXBFycU.js} +5 -5
  106. package/server/{flywheel-BCZS-FlW.js → flywheel-B34cdfbd.js} +1 -1
  107. package/server/{flywheel-CC4gE_rx.js → flywheel-D0guNqkh.js} +14 -14
  108. package/server/{flywheel-DWKd7bMc.js → flywheel-Is3w2lcT.js} +16 -16
  109. package/server/{flywheel-merge-order-DDT3i57u.js → flywheel-merge-order-6HiPR2WG.js} +1 -1
  110. package/server/{flywheel-merge-order-DJwH2KpL.js → flywheel-merge-order-BsNPMu0S.js} +8 -8
  111. package/server/forge-B1cpL4SY.js +2 -0
  112. package/server/{forge-CHADjOFs.js → forge-CEe3eFjh.js} +2 -2
  113. package/server/{fs-lock-DQ_gUxfq.js → fs-lock-VCGoXZI5.js} +2 -2
  114. package/server/{fts-operations-asZo2fh1.js → fts-operations-BNRxGCU_.js} +2 -2
  115. package/server/{git-info-DMOSfJ9I.js → git-info-BZYdINlU.js} +1 -1
  116. package/server/{git-utils-BdHk8y7g.js → git-utils-D96xW28f.js} +4 -4
  117. package/server/{git-utils-BAMwn9Nf.js → git-utils-DvcWLgGS.js} +1 -1
  118. package/server/{github-app-BlMSzSTw.js → github-app-BINlfWAA.js} +3 -2
  119. package/server/{github-app-BWziYCf3.js → github-app-BxM1U38q.js} +1 -1
  120. package/server/{github-client-w6j5nVlz.js → github-client-DJVl4iDm.js} +3 -3
  121. package/server/{github-client-OK24qpol.js → github-client-oJHo9dyA.js} +1 -1
  122. package/server/{github-pr-lookup-bGcsEvLE.js → github-pr-lookup-DQEtdiyR.js} +2 -2
  123. package/server/{harness-binary-DChiynaB.js → harness-binary-DnRGvN6T.js} +6 -3
  124. package/server/{harness-resolve-BplBEbwn.js → harness-resolve-CzTFVZ5l.js} +4 -4
  125. package/server/{health-events-Bk3LjaJ9.js → health-events-CF2WMNkI.js} +2 -2
  126. package/server/{health-events-BTqsmunw.js → health-events-Dv7rzyit.js} +1 -1
  127. package/server/{hooks-EndRNrx9.js → hooks-DKzqJ4HF.js} +1 -1
  128. package/server/{hooks-DJR1yR9w.js → hooks-lPAsUc20.js} +2 -2
  129. package/server/hume-51rYfjzX.js +3 -0
  130. package/server/{hume-1FJmNDTq.js → hume-CxfI2cg-.js} +2 -2
  131. package/server/{identity-C3s8lyp0.js → identity-Dc7rQLln.js} +3 -3
  132. package/server/{idle-stack-reaper-DtoI4al6.js → idle-stack-reaper-C0NYGCVq.js} +4 -4
  133. package/server/{idle-stack-reaper-CBelVOE3.js → idle-stack-reaper-CNLvCrg9.js} +1 -1
  134. package/server/{in-flight-guard-B7khcBdQ.js → in-flight-guard-HoToxzGt.js} +1 -1
  135. package/server/{infra-CJRi_5Wu.js → infra-B05o-e2g.js} +4 -4
  136. package/server/{injection-BWsgHvrL.js → injection-Bk_pw2Ei.js} +1 -1
  137. package/server/{injection-ADWQ3D0s.js → injection-DkaIMCnX.js} +8 -8
  138. package/server/{inspect-agent-CCfNJjKr.js → inspect-agent-CP7Bu47O.js} +14 -12
  139. package/server/inspect-agent-DTuSg95i.js +2 -0
  140. package/server/{internal-token-BCTEqUCX.js → internal-token-CWcdG-Kw.js} +1 -1
  141. package/server/{internal-token-BeIWG_kT.js → internal-token-Ci0LxMIq.js} +2 -2
  142. package/server/{io-BCtZoXHo.js → io-Cm4Sf_6P.js} +4 -4
  143. package/server/{issue-closed-CiYAa6bX.js → issue-closed-D7aMUeMq.js} +7 -7
  144. package/server/{issue-lifecycle-BETNVVLq.js → issue-lifecycle-BPbczKyy.js} +32 -30
  145. package/server/{issue-lifecycle-DaKN57sx.js → issue-lifecycle-FaugTi39.js} +1 -1
  146. package/server/{issue-service-singleton-C_sZ0HjP.js → issue-service-singleton-BrZQJLRI.js} +11 -11
  147. package/server/{issue-service-singleton-1Q0ER8Yc.js → issue-service-singleton-Dsad9NTt.js} +1 -1
  148. package/server/{issue-title-fallback-B91iD66g.js → issue-title-fallback-BDxHa3-u.js} +3 -3
  149. package/server/{issues-RGHQUKhB.js → issues-Q62MKOV_.js} +2 -2
  150. package/server/{jsonl-parser-Dfs1dlYE.js → jsonl-parser-DSJisyfy.js} +5 -4
  151. package/server/{jsonl-resolver-bFtftCDd.js → jsonl-resolver-DQEe0DHM.js} +12 -9
  152. package/server/kimi-code-Cx5YUJpS.js +3 -0
  153. package/server/{kimi-parser-OcWwmOqF.js → kimi-parser-5VpMzIDq.js} +2 -2
  154. package/server/{label-cleanup-CefxK9tL.js → label-cleanup-DjQGmcZQ.js} +3 -3
  155. package/server/{lifecycle-DVXyUil2.js → lifecycle-BSQIQ1Sq.js} +2 -2
  156. package/server/{lifecycle-DDZ7w-BY.js → lifecycle-DZFHmpGI.js} +6 -6
  157. package/server/{lifecycle-io-D1oBiMce.js → lifecycle-io-Bv4XQMRi.js} +1 -1
  158. package/server/{lifecycle-io-D7N0vQNj.js → lifecycle-io-CW__VX8s.js} +5 -5
  159. package/server/{linear-client-TL32snOy.js → linear-client-DnX3CcAL.js} +1 -1
  160. package/server/{linear-client-DUN7zCeb.js → linear-client-DrRZ3We7.js} +4 -7
  161. package/server/{linear-mcp-auth-bB0CPyjh.js → linear-mcp-auth-BFlpMvWh.js} +5 -5
  162. package/server/{linear-mcp-auth-CtRKSHy5.js → linear-mcp-auth-DylPJABZ.js} +1 -1
  163. package/server/memory-fts-worker.js +1 -1
  164. package/server/{memory-governor-Cvv_9K0M.js → memory-governor-B7uDWRo9.js} +29 -22
  165. package/server/{merge-FTk4LsnM.js → merge-BGozpxFt.js} +3 -3
  166. package/server/{merge-DOCR6pHi.js → merge-CphMVME2.js} +1 -1
  167. package/server/{merge-agent-D-4_iQgy.js → merge-agent-ddEcZDZD.js} +2 -2
  168. package/server/{merge-agent-C-dsN9se.js → merge-agent-ttRY053V.js} +32 -32
  169. package/server/{merge-batch-BJjzUUL7.js → merge-batch-CBQ2YYuy.js} +1 -1
  170. package/server/{merge-completeness-CoLJxfUY.js → merge-completeness-CsSvQJxw.js} +1 -1
  171. package/server/{merge-completeness-BOtBUwTU.js → merge-completeness-YQbhKLPk.js} +4 -4
  172. package/server/{merge-eligibility-C4rTS97F.js → merge-eligibility-BGqmx_bG.js} +1 -1
  173. package/server/{merge-eligibility-D7wRnJbj.js → merge-eligibility-CvQBc_9D.js} +4 -4
  174. package/server/merge-ops-Bgc-EScO.js +2 -0
  175. package/server/{merge-rebase-KBw4rdh3.js → merge-rebase-BbLnMyfQ.js} +2 -2
  176. package/server/merge-rebase-BgYoyMul.js +2 -0
  177. package/server/{merge-set-CyW-xSn4.js → merge-set-DRPWriK9.js} +4 -4
  178. package/server/{merge-set-CVfEM57p.js → merge-set-DaU9Ruxy.js} +1 -1
  179. package/server/{merge-sync-CYGsJy0u.js → merge-sync-BRKJM70R.js} +1 -1
  180. package/server/{merge-sync-YLvOPAry.js → merge-sync-CTGkR1_m.js} +2 -2
  181. package/server/{merge-train-deps-D0y4hBB9.js → merge-train-deps-GPlHOjK6.js} +4 -4
  182. package/server/{merge-train-VxLn8Ms4.js → merge-train-f_un38UJ.js} +4 -4
  183. package/server/{merge-verification-BfJRNMiD.js → merge-verification-BPBW3Hu3.js} +6 -6
  184. package/server/{merged-docker-cleanup-worker-Ci9oeFAe.js → merged-docker-cleanup-worker-By0YSsIP.js} +1 -1
  185. package/server/{merged-docker-cleanup-worker-Bh5fKG_b.js → merged-docker-cleanup-worker-zMzGriKp.js} +3 -3
  186. package/server/messaging-BasbftDu.js +3 -0
  187. package/server/muse-parser-CFchR2vh.js +89 -0
  188. package/server/muse-session-CrSRuauJ.js +56 -0
  189. package/server/{no-resume-mode-DjMQRkId.js → no-resume-mode-BsvYzqbB.js} +1 -1
  190. package/server/node_modules/.package-lock.json +17 -17
  191. package/server/node_modules/@types/node/README.md +3 -3
  192. package/server/node_modules/@types/node/assert/strict.d.ts +56 -13
  193. package/server/node_modules/@types/node/assert.d.ts +190 -189
  194. package/server/node_modules/@types/node/async_hooks.d.ts +43 -151
  195. package/server/node_modules/@types/node/buffer.buffer.d.ts +13 -7
  196. package/server/node_modules/@types/node/buffer.d.ts +237 -102
  197. package/server/node_modules/@types/node/child_process.d.ts +154 -39
  198. package/server/node_modules/@types/node/cluster.d.ts +384 -238
  199. package/server/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  200. package/server/node_modules/@types/node/compatibility/index.d.ts +9 -0
  201. package/server/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  202. package/server/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  203. package/server/node_modules/@types/node/console.d.ts +404 -45
  204. package/server/node_modules/@types/node/constants.d.ts +10 -3
  205. package/server/node_modules/@types/node/crypto.d.ts +1600 -1009
  206. package/server/node_modules/@types/node/dgram.d.ts +77 -14
  207. package/server/node_modules/@types/node/diagnostics_channel.d.ts +59 -277
  208. package/server/node_modules/@types/node/dns/promises.d.ts +15 -9
  209. package/server/node_modules/@types/node/dns.d.ts +183 -136
  210. package/server/node_modules/@types/node/domain.d.ts +32 -12
  211. package/server/node_modules/@types/node/events.d.ts +696 -728
  212. package/server/node_modules/@types/node/fs/promises.d.ts +21 -196
  213. package/server/node_modules/@types/node/fs.d.ts +450 -780
  214. package/server/node_modules/@types/node/globals.d.ts +34 -12
  215. package/server/node_modules/@types/node/globals.typedarray.d.ts +0 -63
  216. package/server/node_modules/@types/node/http.d.ts +310 -431
  217. package/server/node_modules/@types/node/http2.d.ts +889 -543
  218. package/server/node_modules/@types/node/https.d.ts +243 -64
  219. package/server/node_modules/@types/node/index.d.ts +7 -24
  220. package/server/node_modules/@types/node/inspector.d.ts +57 -68
  221. package/server/node_modules/@types/node/inspector.generated.d.ts +411 -765
  222. package/server/node_modules/@types/node/module.d.ts +219 -54
  223. package/server/node_modules/@types/node/net.d.ts +207 -101
  224. package/server/node_modules/@types/node/os.d.ts +49 -41
  225. package/server/node_modules/@types/node/package.json +3 -13
  226. package/server/node_modules/@types/node/path.d.ts +141 -119
  227. package/server/node_modules/@types/node/perf_hooks.d.ts +673 -310
  228. package/server/node_modules/@types/node/process.d.ts +205 -389
  229. package/server/node_modules/@types/node/punycode.d.ts +31 -3
  230. package/server/node_modules/@types/node/querystring.d.ts +16 -3
  231. package/server/node_modules/@types/node/readline/promises.d.ts +6 -3
  232. package/server/node_modules/@types/node/readline.d.ts +152 -66
  233. package/server/node_modules/@types/node/repl.d.ts +109 -101
  234. package/server/node_modules/@types/node/sea.d.ts +116 -1
  235. package/server/node_modules/@types/node/sqlite.d.ts +68 -486
  236. package/server/node_modules/@types/node/stream/consumers.d.ts +15 -91
  237. package/server/node_modules/@types/node/stream/promises.d.ts +15 -136
  238. package/server/node_modules/@types/node/stream/web.d.ts +456 -179
  239. package/server/node_modules/@types/node/stream.d.ts +491 -603
  240. package/server/node_modules/@types/node/string_decoder.d.ts +43 -3
  241. package/server/node_modules/@types/node/test.d.ts +292 -513
  242. package/server/node_modules/@types/node/timers/promises.d.ts +18 -3
  243. package/server/node_modules/@types/node/timers.d.ts +141 -3
  244. package/server/node_modules/@types/node/tls.d.ts +242 -116
  245. package/server/node_modules/@types/node/trace_events.d.ts +97 -3
  246. package/server/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +8 -2
  247. package/server/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -2
  248. package/server/node_modules/@types/node/ts5.6/index.d.ts +6 -25
  249. package/server/node_modules/@types/node/tty.d.ts +40 -57
  250. package/server/node_modules/@types/node/url.d.ts +584 -156
  251. package/server/node_modules/@types/node/util.d.ts +1110 -181
  252. package/server/node_modules/@types/node/v8.d.ts +36 -175
  253. package/server/node_modules/@types/node/vm.d.ts +209 -292
  254. package/server/node_modules/@types/node/wasi.d.ts +74 -24
  255. package/server/node_modules/@types/node/web-globals/abortcontroller.d.ts +2 -27
  256. package/server/node_modules/@types/node/web-globals/domexception.d.ts +0 -15
  257. package/server/node_modules/@types/node/web-globals/events.d.ts +0 -9
  258. package/server/node_modules/@types/node/web-globals/fetch.d.ts +0 -14
  259. package/server/node_modules/@types/node/web-globals/navigator.d.ts +0 -3
  260. package/server/node_modules/@types/node/web-globals/streams.d.ts +0 -93
  261. package/server/node_modules/@types/node/worker_threads.d.ts +407 -257
  262. package/server/node_modules/@types/node/zlib.d.ts +165 -7
  263. package/server/node_modules/msgpackr/README.md +1 -0
  264. package/server/node_modules/msgpackr/dist/index-no-eval.cjs +2 -2
  265. package/server/node_modules/msgpackr/dist/index-no-eval.cjs.map +1 -1
  266. package/server/node_modules/msgpackr/dist/index-no-eval.min.js +1 -1
  267. package/server/node_modules/msgpackr/dist/index-no-eval.min.js.map +1 -1
  268. package/server/node_modules/msgpackr/dist/index.js +2 -2
  269. package/server/node_modules/msgpackr/dist/index.js.map +1 -1
  270. package/server/node_modules/msgpackr/dist/index.min.js +1 -1
  271. package/server/node_modules/msgpackr/dist/index.min.js.map +1 -1
  272. package/server/node_modules/msgpackr/dist/node.cjs +2 -2
  273. package/server/node_modules/msgpackr/dist/node.cjs.map +1 -1
  274. package/server/node_modules/msgpackr/dist/test.js +52 -2
  275. package/server/node_modules/msgpackr/dist/test.js.map +1 -1
  276. package/server/node_modules/msgpackr/index.d.cts +1 -0
  277. package/server/node_modules/msgpackr/index.d.ts +1 -0
  278. package/server/node_modules/msgpackr/pack.js +2 -2
  279. package/server/node_modules/msgpackr/package.json +1 -1
  280. package/server/node_modules/protobufjs/dist/light/protobuf.js +59 -6
  281. package/server/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  282. package/server/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  283. package/server/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  284. package/server/node_modules/protobufjs/dist/minimal/protobuf.js +22 -2
  285. package/server/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
  286. package/server/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  287. package/server/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
  288. package/server/node_modules/protobufjs/dist/protobuf.js +59 -6
  289. package/server/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  290. package/server/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  291. package/server/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  292. package/server/node_modules/protobufjs/package.json +1 -1
  293. package/server/node_modules/protobufjs/src/decoder.js +32 -3
  294. package/server/node_modules/protobufjs/src/reader.js +20 -0
  295. package/server/node_modules/protobufjs/src/wrappers.js +5 -1
  296. package/server/node_modules/undici/docs/docs/api/Client.md +4 -0
  297. package/server/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  298. package/server/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  299. package/server/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
  300. package/server/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  301. package/server/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  302. package/server/node_modules/undici/lib/core/symbols.js +2 -0
  303. package/server/node_modules/undici/lib/dispatcher/agent.js +7 -2
  304. package/server/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  305. package/server/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
  306. package/server/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
  307. package/server/node_modules/undici/lib/dispatcher/client.js +3 -2
  308. package/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  309. package/server/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  310. package/server/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  311. package/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
  312. package/server/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
  313. package/server/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  314. package/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  315. package/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  316. package/server/node_modules/undici/lib/handler/cache-handler.js +29 -5
  317. package/server/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  318. package/server/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  319. package/server/node_modules/undici/lib/handler/redirect-handler.js +21 -4
  320. package/server/node_modules/undici/lib/handler/retry-handler.js +148 -30
  321. package/server/node_modules/undici/lib/interceptor/cache.js +65 -12
  322. package/server/node_modules/undici/lib/interceptor/decompress.js +115 -13
  323. package/server/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  324. package/server/node_modules/undici/lib/interceptor/dns.js +7 -0
  325. package/server/node_modules/undici/lib/interceptor/dump.js +10 -23
  326. package/server/node_modules/undici/lib/mock/mock-agent.js +13 -1
  327. package/server/node_modules/undici/lib/mock/mock-utils.js +11 -10
  328. package/server/node_modules/undici/lib/util/cache.js +45 -3
  329. package/server/node_modules/undici/lib/web/cookies/parse.js +150 -147
  330. package/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  331. package/server/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  332. package/server/node_modules/undici/lib/web/fetch/index.js +6 -0
  333. package/server/node_modules/undici/lib/web/fetch/request.js +2 -3
  334. package/server/node_modules/undici/lib/web/fetch/util.js +6 -1
  335. package/server/node_modules/undici/lib/web/webidl/index.js +3 -3
  336. package/server/node_modules/undici/lib/web/websocket/connection.js +1 -1
  337. package/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  338. package/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  339. package/server/node_modules/undici/package.json +3 -3
  340. package/server/node_modules/undici/types/client.d.ts +10 -0
  341. package/server/node_modules/undici/types/interceptors.d.ts +2 -0
  342. package/server/node_modules/undici/types/mock-agent.d.ts +11 -10
  343. package/server/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
  344. package/server/node_modules/undici-types/agent.d.ts +13 -12
  345. package/server/node_modules/undici-types/api.d.ts +26 -26
  346. package/server/node_modules/undici-types/balanced-pool.d.ts +12 -13
  347. package/server/node_modules/undici-types/client.d.ts +34 -55
  348. package/server/node_modules/undici-types/connector.d.ts +2 -4
  349. package/server/node_modules/undici-types/cookies.d.ts +0 -2
  350. package/server/node_modules/undici-types/diagnostics-channel.d.ts +10 -18
  351. package/server/node_modules/undici-types/dispatcher.d.ts +137 -134
  352. package/server/node_modules/undici-types/env-http-proxy-agent.d.ts +3 -4
  353. package/server/node_modules/undici-types/errors.d.ts +54 -82
  354. package/server/node_modules/undici-types/eventsource.d.ts +4 -9
  355. package/server/node_modules/undici-types/fetch.d.ts +24 -46
  356. package/server/node_modules/undici-types/file.d.ts +39 -0
  357. package/server/node_modules/undici-types/filereader.d.ts +54 -0
  358. package/server/node_modules/undici-types/formdata.d.ts +7 -7
  359. package/server/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  360. package/server/node_modules/undici-types/global-origin.d.ts +5 -5
  361. package/server/node_modules/undici-types/handlers.d.ts +9 -8
  362. package/server/node_modules/undici-types/header.d.ts +1 -162
  363. package/server/node_modules/undici-types/index.d.ts +47 -69
  364. package/server/node_modules/undici-types/interceptors.d.ts +9 -72
  365. package/server/node_modules/undici-types/mock-agent.d.ts +18 -36
  366. package/server/node_modules/undici-types/mock-client.d.ts +4 -6
  367. package/server/node_modules/undici-types/mock-errors.d.ts +3 -3
  368. package/server/node_modules/undici-types/mock-interceptor.d.ts +20 -21
  369. package/server/node_modules/undici-types/mock-pool.d.ts +4 -6
  370. package/server/node_modules/undici-types/package.json +1 -1
  371. package/server/node_modules/undici-types/patch.d.ts +4 -0
  372. package/server/node_modules/undici-types/pool-stats.d.ts +8 -8
  373. package/server/node_modules/undici-types/pool.d.ts +14 -14
  374. package/server/node_modules/undici-types/proxy-agent.d.ts +6 -7
  375. package/server/node_modules/undici-types/readable.d.ts +16 -19
  376. package/server/node_modules/undici-types/retry-agent.d.ts +1 -1
  377. package/server/node_modules/undici-types/retry-handler.d.ts +10 -19
  378. package/server/node_modules/undici-types/util.d.ts +3 -3
  379. package/server/node_modules/undici-types/webidl.d.ts +30 -148
  380. package/server/node_modules/undici-types/websocket.d.ts +10 -48
  381. package/server/{orphan-proposed-reconciler-nFUlquZt.js → orphan-proposed-reconciler-DFHdQSEg.js} +21 -21
  382. package/server/{orphan-proposed-reconciler-CnP0K2v3.js → orphan-proposed-reconciler-DzAxrM99.js} +2 -2
  383. package/server/package-lock.json +18 -18
  384. package/server/package.json +1 -1
  385. package/server/{pan-dir-B4NfzOf3.js → pan-dir-Bs9fme2I.js} +4 -4
  386. package/server/{parked-residue-8WbU0y1z.js → parked-residue-DMtbxJml.js} +31 -31
  387. package/server/{paths-rETQhTF2.js → paths-eTg2jV4C.js} +2 -2
  388. package/server/{pickup-Dle6k9Xt.js → pickup-TwHZNJn4.js} +1 -1
  389. package/server/{pipeline-agent-reader-CeWhQzXC.js → pipeline-agent-reader-CHugmNSx.js} +3 -3
  390. package/server/{pipeline-membership-C9ykcjsn.js → pipeline-membership-BvkkuVml.js} +1 -1
  391. package/server/{pipeline-membership-BV4hdkHm.js → pipeline-membership-DxJOJOjn.js} +1 -1
  392. package/server/{pipeline-membership-gather-Ba0wJNCR.js → pipeline-membership-gather-QYMqf_Wf.js} +10 -10
  393. package/server/{pipeline-membership-gather-C9E22B2W.js → pipeline-membership-gather-fivITe13.js} +1 -1
  394. package/server/{pipeline-notifier-B5DPXvnr.js → pipeline-notifier-DUxiacft.js} +1 -1
  395. package/server/{pipeline-notifier-p190L97e.js → pipeline-notifier-vZqcB2Ts.js} +2 -2
  396. package/server/{post-merge-lifecycle-worker-OQoK8Ckg.js → post-merge-lifecycle-worker-jzN2g_EY.js} +2 -2
  397. package/server/{post-merge-state-DFaf7OI1.js → post-merge-state-DGlkiVIO.js} +4 -4
  398. package/server/{prd-locations-F2oLSAhy.js → prd-locations-Chcvxzle.js} +3 -3
  399. package/server/{project-pipelines-CUsa6U59.js → project-pipelines-BXB5FlFs.js} +2 -2
  400. package/server/{project-repos-BVdi9-ch.js → project-repos-BVSXziAz.js} +1 -1
  401. package/server/{project-repos-CsfvLtmr.js → project-repos-J6jc42uD.js} +2 -2
  402. package/server/{project-resource-refresh-queue-BehrH4Ai.js → project-resource-refresh-queue-DebwjPPA.js} +17 -17
  403. package/server/{project-resource-refresh-queue-D2110Guc.js → project-resource-refresh-queue-cqOeJ0fB.js} +1 -1
  404. package/server/{projects-BMuEf14J.js → projects-DXgHD2Xl.js} +1 -1
  405. package/server/{prompts-CKpDt8Jn.js → prompts-BJ8Twvtl.js} +2 -2
  406. package/server/{providers-Buv2wmFU.js → providers-Bx-PKo3d.js} +1 -1
  407. package/server/{providers-CxPKmyif.js → providers-DQogCKG0.js} +7 -7
  408. package/server/public/assets/{chunk-BO2N2NFS-DZOQVqV1.js → chunk-BO2N2NFS-CefmGH8f.js} +4 -4
  409. package/server/public/assets/{chunk-K2UTITRG-CopEAH22.js → chunk-K2UTITRG-DS0TExnd.js} +2 -2
  410. package/server/public/assets/codicon-ngg6Pgfi.ttf +0 -0
  411. package/server/public/assets/{diagram-OG6HWLK6-oKeXcbO1.js → diagram-OG6HWLK6-DYPEQqOy.js} +1 -1
  412. package/server/public/assets/{dist-ClBlE-Nm.js → dist-D0_QiSJD.js} +1 -1
  413. package/server/public/assets/{dist-2qPmeRzT.js → dist-DVcb72hI.js} +3 -3
  414. package/server/public/assets/editor.worker-Bd9IXS8d.js +26 -0
  415. package/server/public/assets/{ganttDiagram-6RSMTGT7-BwdG9fQv.js → ganttDiagram-6RSMTGT7-C0TVczXo.js} +1 -1
  416. package/server/public/assets/{highlighted-body-OFNGDK62-BzGNdskQ.js → highlighted-body-OFNGDK62-DqOVJX4H.js} +1 -1
  417. package/server/public/assets/image-GAAHSSAO-DQ2ivYhs.js +1 -0
  418. package/server/public/assets/index-CFZuwq0-.css +1 -0
  419. package/server/public/assets/index-CWCooHwg.js +1732 -0
  420. package/server/public/assets/{linear-DpEt1TJb.js → linear-45MX5LeL.js} +1 -1
  421. package/server/public/assets/markdown-Budfoo9I.js +1 -0
  422. package/server/public/assets/mermaid-GHXKKRXX-71HgceZK.js +1 -0
  423. package/server/public/assets/{pieDiagram-4H26LBE5-9BpM4oRJ.js → pieDiagram-4H26LBE5-BSyYJciD.js} +1 -1
  424. package/server/public/assets/{prod-CzJiNNEG.js → prod-CcWF3Ag1.js} +5 -5
  425. package/server/public/assets/{quadrantDiagram-W4KKPZXB-BXWVAoZx.js → quadrantDiagram-W4KKPZXB-DyPGNivi.js} +1 -1
  426. package/server/public/assets/{sankeyDiagram-5OEKKPKP-5oxodGEw.js → sankeyDiagram-5OEKKPKP-CdiSWvwI.js} +1 -1
  427. package/server/public/assets/{xychartDiagram-2RQKCTM6-BChDrHxZ.js → xychartDiagram-2RQKCTM6-BZeywmN2.js} +1 -1
  428. package/server/public/index.html +2 -2
  429. package/server/pull-requests-DLiyKC8q.js +2 -0
  430. package/server/{pull-requests-T0OV0Vn4.js → pull-requests-EBvcAtZO.js} +3 -3
  431. package/server/{rally-api-BFPb2oSq.js → rally-api-2KW2hJUT.js} +2 -2
  432. package/server/{rally-api-BoucQG1u.js → rally-api-BtWOXNna.js} +1 -1
  433. package/server/{rally-client-16iObny7.js → rally-client-CAQtSqJJ.js} +5 -5
  434. package/server/{rally-client-CsqLjLLa.js → rally-client-DK8Ac35q.js} +1 -1
  435. package/server/{rally-CUqj2oIN.js → rally-k5qOLHHK.js} +3 -3
  436. package/server/rally-vmQx9f0C.js +3 -0
  437. package/server/{rebuild-stack-BcBVFJp3.js → rebuild-stack-DSQSgPCI.js} +2 -2
  438. package/server/rebuild-stack-xdGFthJn.js +370 -0
  439. package/server/{reconciler-caYiRnPy.js → reconciler-xH7d13Wo.js} +6 -6
  440. package/server/{reconstruct-cache-3JzPOune.js → reconstruct-cache-Bb2Jg2DZ.js} +7 -7
  441. package/server/{record-DYOg97Iv.js → record-Dsceq536.js} +1 -1
  442. package/server/{record-update-CDPEX7BH.js → record-update-CLtgirnZ.js} +1 -1
  443. package/server/{record-update-BPqpBu3O.js → record-update-T3PMrwE-.js} +4 -4
  444. package/server/{recovery-trip-CpfW6LCJ.js → recovery-trip-7JFHFjeo.js} +3 -3
  445. package/server/{recovery-trip-xqKC07Gy.js → recovery-trip-B7UdNXjP.js} +1 -1
  446. package/server/{release-engine-C_OOhCaK.js → release-engine-78iCajIc.js} +5 -5
  447. package/server/{release-set-DOIDz2vw.js → release-set-B_sH_Mud.js} +3 -3
  448. package/server/{remote-xY0B43Ho.js → remote-C9eYHTqn.js} +3 -3
  449. package/server/{remote-agents-MuXx2gWm.js → remote-agents-CEOvYsvK.js} +1 -1
  450. package/server/{remote-agents-DbbN7vSm.js → remote-agents-CthcZHnO.js} +6 -6
  451. package/server/{remote-completion-LcWCpAm2.js → remote-completion-D5wzZCte.js} +12 -12
  452. package/server/{remote-BTh-sjpX.js → remote-gWXJyhJK.js} +3 -3
  453. package/server/{resolver-D4nsxfGo.js → resolver-BGZh3lXA.js} +7 -7
  454. package/server/{resolver-C2QKOf09.js → resolver-ChLZFIjB.js} +2 -2
  455. package/server/{memory-pressure-patrol-C6DJJQRA.js → resource-pressure-patrol-Bg23rPV-.js} +110 -9
  456. package/server/{resume-ByUrJUNX.js → resume-BKyB4hA1.js} +1 -1
  457. package/server/{review-agent-BRBTm1qE.js → review-agent-DHs-JngN.js} +52 -35
  458. package/server/{review-agent-Caodi0PX.js → review-agent-ZdP-HmwY.js} +2 -2
  459. package/server/{review-artifacts-DgaDlbO4.js → review-artifacts-DExSp5Lh.js} +6 -6
  460. package/server/{review-convoy-liveness-BBvyuRLC.js → review-convoy-liveness-BTMvU4CA.js} +8 -8
  461. package/server/{review-run-recovery-DCzWMMvE.js → review-run-recovery-BYalQzbh.js} +1 -1
  462. package/server/{review-run-recovery-THHMKlXJ.js → review-run-recovery-BvVG3oUr.js} +2 -2
  463. package/server/{review-status-DpniqzPT.js → review-status-BegAr86G.js} +33 -31
  464. package/server/{review-status-Bge_3XTR.js → review-status-DXTFzCmR.js} +1 -1
  465. package/server/{review-status-emit-D7sM720S.js → review-status-emit-C9YW6SQL.js} +3 -3
  466. package/server/{review-status-enrichment-PDI4-faj.js → review-status-enrichment-DRJKuIwU.js} +3 -3
  467. package/server/{review-status-sync-C6ZKTI8f.js → review-status-sync-CHt0oq_3.js} +2 -2
  468. package/server/{review-status-sync-CvpHWyvR.js → review-status-sync-DEGnJMfG.js} +1 -1
  469. package/server/{review-verdict-feedback-tyMoLT2L.js → review-verdict-feedback-Dp139Lmv.js} +1 -1
  470. package/server/{review-verdict-feedback-B2ojHFH5.js → review-verdict-feedback-qlVBi19-.js} +7 -7
  471. package/server/{review-verdict-writer-DjrJ64eS.js → review-verdict-writer-BVco3WoI.js} +1 -1
  472. package/server/{review-verdict-writer-Cy_1pnIj.js → review-verdict-writer-CJr_Ob0Y.js} +7 -7
  473. package/server/{rollup-DU3xBQu2.js → rollup-H2NWuNhX.js} +8 -8
  474. package/server/{rollup-Cp0KEoOu.js → rollup-iPhJvI-2.js} +1 -1
  475. package/server/{search-DhtKwbBC.js → search-BtgzCB2W.js} +2 -2
  476. package/server/{secret-redaction-DLZ-VqHq.js → secret-redaction-EqpTK7R6.js} +1 -1
  477. package/server/{sequence-io-C-Q19Jez.js → sequence-io-iljWlslY.js} +4 -4
  478. package/server/{sequencer-agent-eN2P2lDz.js → sequencer-agent-BGGVKxtw.js} +11 -6
  479. package/server/server.js +1536 -1244
  480. package/server/{service-CThO0Sar.js → service-kzhN0DLg.js} +58 -58
  481. package/server/{session-fork-ZYTHtpBh.js → session-fork-B3hkpes1.js} +2 -2
  482. package/server/{settings-nAT-eK56.js → settings-BpM0Ergn.js} +3 -3
  483. package/server/settings-CW_lAaJv.js +2 -0
  484. package/server/{settings-CTywpFw5.js → settings-aBz_GpBq.js} +9 -2
  485. package/server/{shadow-engineering-BHZKPJhq.js → shadow-engineering-C7kypoM-.js} +2 -2
  486. package/server/{shadow-state-CZ_LnPsi.js → shadow-state-Db5ExiBP.js} +1 -1
  487. package/server/{shadow-state-BTLi4Axs.js → shadow-state-IG8JSXgD.js} +2 -2
  488. package/server/{shadow-utils-CPLlPHdn.js → shadow-utils-DSDsJXLD.js} +2 -2
  489. package/server/{ship-record-BaBla0l_.js → ship-record-80n1CYp9.js} +6 -6
  490. package/server/{ship-record-BlvX8-xv.js → ship-record-DN8voLiQ.js} +1 -1
  491. package/server/{ship-status-rQbPQBsF.js → ship-status-CJvaa4QB.js} +2 -2
  492. package/server/{smart-compaction-D1CNGdZx.js → smart-compaction-C96F2aFQ.js} +7 -7
  493. package/server/{smart-compaction-CUXn8mfX.js → smart-compaction-owKHJDbL.js} +1 -1
  494. package/server/{spawn-planning-session-DfEWyrVV.js → spawn-planning-session-CiJdOHTD.js} +2 -2
  495. package/server/{spawn-planning-session-DCmO6COk.js → spawn-planning-session-FmJa6PCS.js} +41 -50
  496. package/server/{specialist-context-C1-CfYQb.js → specialist-context-_ootmzn2.js} +5 -5
  497. package/server/{specialist-handoff-logger-BDKoz5Z9.js → specialist-handoff-logger-4QCjIBPO.js} +2 -2
  498. package/server/{specialist-logs-BJQFkpdG.js → specialist-logs-BbAX221-.js} +3 -3
  499. package/server/{specialists-DhS79T9v.js → specialists-COZoYaiz.js} +266 -173
  500. package/server/{specialists-CYt1U3Zm.js → specialists-D8sYZnPb.js} +2 -2
  501. package/server/{specialists-Dx0zRTxX.js → specialists-DTAOVZpU.js} +1 -1
  502. package/server/{specialists-D6MUU31Q.js → specialists-RPLJnYc1.js} +19 -19
  503. package/server/{specialists-registry-Bng0OFGH.js → specialists-registry-CNbvfOcy.js} +2 -2
  504. package/server/{specialists-registry-BRLCi61y.js → specialists-registry-DqgQIxpu.js} +1 -1
  505. package/server/specs-ChqOBhAF.js +3 -0
  506. package/server/{src-C7gGe4KU.js → src-Cz63twgJ.js} +2 -2
  507. package/server/{src-CdwN6WY6.js → src-tnFSfiXX.js} +126 -18
  508. package/server/{stack-health-Bz711z1Y.js → stack-health-D0j1RhAj.js} +1 -1
  509. package/server/{stack-health-BKfNaqMm.js → stack-health-Y8O3UuPe.js} +3 -3
  510. package/server/{stale-task-claims-DMRLb5R2.js → stale-task-claims-Db6yxeFz.js} +5 -5
  511. package/server/{staleness-CxZaIhrn.js → staleness-CyM7ACHv.js} +1 -1
  512. package/server/{staleness-r_dkMyMG.js → staleness-akWxgpIu.js} +1 -1
  513. package/server/{stall-sweeper-CBWqSWV2.js → stall-sweeper-9bRBZhrQ.js} +8 -8
  514. package/server/{state-home-DhsMqg8W.js → state-home-CWu1dx9L.js} +2 -2
  515. package/server/{state-mapping-D2yC81Vy.js → state-mapping-CdvWOIhv.js} +1 -1
  516. package/server/{state-migrate-C2Ouyd6e.js → state-migrate-J3tFJnbd.js} +6 -6
  517. package/server/{state-mirror-BPXciz84.js → state-mirror-DQKpsskH.js} +3 -3
  518. package/server/{stuck-remediation-kta3KN7c.js → stuck-remediation-4Rf_xMEb.js} +13 -13
  519. package/server/{stuck-remediation-DALieAkx.js → stuck-remediation-BvTK_NYN.js} +1 -1
  520. package/server/{substrate-bug-weights-service-D_ICP7TI.js → substrate-bug-weights-service-9nrkZcaP.js} +3 -3
  521. package/server/{summary-fork-DhhaFhxZ.js → summary-fork-D-cylknJ.js} +54 -17
  522. package/server/{summary-fork-CojrFKb6.js → summary-fork-PLcckTRE.js} +2 -2
  523. package/server/supervisor/{injection-budget-BOH-EiFB.js → injection-budget-DfPSjiS7.js} +1 -1
  524. package/server/supervisor/pty-supervisor.js +1 -1
  525. package/server/{supervisor-DqH-laVL.js → supervisor-B2_uXxHQ.js} +4 -4
  526. package/server/supervisor-DSSr9_E4.js +2 -0
  527. package/server/{swarm-readiness-LF8ZF_hc.js → swarm-readiness-BkVvnCdr.js} +3 -3
  528. package/server/{synthesis-verdict-CGFF8uQI.js → synthesis-verdict-BtJAwMS3.js} +2 -2
  529. package/server/{synthesis-verdict-DSoOFUIV.js → synthesis-verdict-b1uY2m9Q.js} +1 -1
  530. package/server/{system-prerequisites-Lsx0jUUV.js → system-prerequisites-zlmZiJzn.js} +14 -2
  531. package/server/{teardown-workspace-DMwomEG1.js → teardown-workspace-CTL16rnG.js} +16 -16
  532. package/server/{test-agent-queue-Cu0D6BYe.js → test-agent-queue-CMgYZiR_.js} +6 -6
  533. package/server/{test-verdict-9mvl7pQn.js → test-verdict-BaiFCApG.js} +1 -1
  534. package/server/{test-verdict-oNSv1rVr.js → test-verdict-DhjFE4Go.js} +2 -2
  535. package/server/{tldr-daemon-CRSAkhBx.js → tldr-daemon-CW1MhBkM.js} +1 -1
  536. package/server/{tldr-daemon-McqCk2X7.js → tldr-daemon-CYr67NdC.js} +2 -2
  537. package/server/{tmux-CYucGrTl.js → tmux-aj9rscol.js} +2 -2
  538. package/server/{tmux-wnT_hg-s.js → tmux-l-yvNWhg.js} +2 -2
  539. package/server/{token-BdfZLRg1.js → token-BO7DAEyM.js} +2 -2
  540. package/server/{token-util-Crcay9j_.js → token-util-C_1EI72O.js} +1 -1
  541. package/server/token-util-msNwng7E.js +3 -0
  542. package/server/{tracker-config-tfAOWgng.js → tracker-config-Qq_kEwYh.js} +2 -2
  543. package/server/{tracker-utils-Dbg_pVZg.js → tracker-utils-McMENyKj.js} +2 -2
  544. package/server/{traefik-connect-DoQvQ6oJ.js → traefik-connect-BZWNRHOd.js} +1 -1
  545. package/server/{tunnel-B1MNIgkL.js → tunnel-BElVxdZw.js} +1 -1
  546. package/server/{tunnel-skW68j9B.js → tunnel-D01HhYX5.js} +3 -3
  547. package/server/{typed-errors-CZ3GFBvo.js → typed-errors-CKb5wNaG.js} +1 -1
  548. package/server/{typed-errors-DXqf3RnP.js → typed-errors-uJ-V6edU.js} +1 -1
  549. package/server/{types-PW4zkxCM.js → types-JR7ZOtpL.js} +1 -1
  550. package/server/{uat-failure-feedback-ly8ZwtfC.js → uat-failure-feedback-DS6W9X3I.js} +5 -5
  551. package/server/{uat-promote-verification-BBaMwfdc.js → uat-promote-verification-CRsIHE_q.js} +5 -5
  552. package/server/{uat-train-D7Ran2FB.js → uat-train-BoA9r6_I.js} +1 -1
  553. package/server/{uat-train-BBEiYSep.js → uat-train-Cd8CJeNe.js} +22 -22
  554. package/server/{validate-BYcBcBwg.js → validate-BdmvTIym.js} +3 -3
  555. package/server/{validation-nSrYiYvA.js → validation-ApKDjkLH.js} +1 -1
  556. package/server/{validation-BfG2jW5C.js → validation-Dxdai-37.js} +14 -4
  557. package/server/{verification-artifact-DglwaHke.js → verification-artifact-DhIkPgrP.js} +1 -1
  558. package/server/{verification-artifact-Cmhgq4b_.js → verification-artifact-olosZdZU.js} +1 -1
  559. package/server/{verification-runner-CFjAuv9u.js → verification-runner-BO0K3xNA.js} +1 -1
  560. package/server/{verification-runner-BEq5ZF-h.js → verification-runner-fEY1Qj-l.js} +31 -23
  561. package/server/{work-agent-prompt-CaD2ue8m.js → work-agent-prompt-BEpIuqw1.js} +10 -10
  562. package/server/{work-agent-prompt-BnhKNAg7.js → work-agent-prompt-Csr4vMbl.js} +1 -1
  563. package/server/{work-agent-start-0nJ-6UeA.js → work-agent-start-DA3P_ABv.js} +2 -2
  564. package/server/{work-agent-start-D8NEN5KD.js → work-agent-start-DWBmIRlg.js} +1 -1
  565. package/server/workflows-CgGNyl1z.js +2 -0
  566. package/server/{workflows-C7mxM1qc.js → workflows-CxVnygYU.js} +28 -28
  567. package/server/{workspace-Dbqv9ehn.js → workspace-BO8fIfW9.js} +1 -1
  568. package/server/{workspace-BAhMgMaO.js → workspace-BWYfzfPV.js} +3 -3
  569. package/server/{workspace-anchor-drift-Bpa3xoni.js → workspace-anchor-drift-BMSxf9wp.js} +1 -1
  570. package/server/{workspace-anchor-drift-B_3kyyxJ.js → workspace-anchor-drift-RJcMD1EV.js} +4 -4
  571. package/server/{workspace-config-D-bNq2CF.js → workspace-config-CoAaYx_w.js} +1 -1
  572. package/server/{workspace-manager-CM8RCrSc.js → workspace-manager-CnAyRh3v.js} +45 -380
  573. package/server/workspace-manager-D0jJ7StJ.js +4 -0
  574. package/server/{workspace-metadata-Cu6yfxBS.js → workspace-metadata-Copcoih9.js} +2 -2
  575. package/server/{workspace-metadata-BEOwJSdK.js → workspace-metadata-ILlbk8AX.js} +1 -1
  576. package/server/{workspaces-C7LAuZfe.js → workspaces-Cpz0xJWQ.js} +112 -112
  577. package/server/worktree-ops-CV-pRvyW.js +3 -0
  578. package/server/worktree-ops-Cnk1voFY.js +369 -0
  579. package/sync-sources/rules/context-nomenclature.md +4 -3
  580. package/sync-sources/rules/rule-authoring.md +3 -3
  581. package/sync-sources/skills/knowledge-capture/SKILL.md +13 -13
  582. package/sync-sources/skills/pan-new-project/SKILL.md +2 -2
  583. package/sync-sources/skills/pan-projects/SKILL.md +3 -3
  584. package/sync-sources/skills/pan-sync/SKILL.md +8 -10
  585. package/sync-sources/skills/refactor-radar/SKILL.md +12 -12
  586. package/server/agents-DixZjXWm.js +0 -3
  587. package/server/archive-planning-D3gw32U9.js +0 -2
  588. package/server/assemble-B_JgnCbG.js +0 -365
  589. package/server/build-info-Dx2qrVhb.js +0 -2
  590. package/server/cli-BflmtEFM.js +0 -2
  591. package/server/context-layers-CdpabJj0.js +0 -37
  592. package/server/context-layers-Ds1MnEFI.js +0 -4
  593. package/server/conversation-service-BL-asWPX.js +0 -3
  594. package/server/conversations-CEMfwMt-.js +0 -3
  595. package/server/dead-end-trip-DUbiRMtT.js +0 -2
  596. package/server/delivery-DhZGRShH.js +0 -3
  597. package/server/deploy-queue--smqHLhe.js +0 -2
  598. package/server/forge-4VVCRcF7.js +0 -2
  599. package/server/hume-gXLmRhmN.js +0 -3
  600. package/server/inspect-agent-Dhp3hCGp.js +0 -2
  601. package/server/kimi-code-BxkDgaj4.js +0 -3
  602. package/server/kimi-code-CNYRA8Dd.js +0 -581
  603. package/server/merge-ops-Cf02szJ5.js +0 -2
  604. package/server/merge-rebase-Bj7eJAG4.js +0 -2
  605. package/server/messaging-Dfbhgjd6.js +0 -3
  606. package/server/node_modules/@types/node/ffi.d.ts +0 -486
  607. package/server/node_modules/@types/node/inspector/promises.d.ts +0 -35
  608. package/server/node_modules/@types/node/path/posix.d.ts +0 -8
  609. package/server/node_modules/@types/node/path/win32.d.ts +0 -8
  610. package/server/node_modules/@types/node/quic.d.ts +0 -2125
  611. package/server/node_modules/@types/node/stream/iter.d.ts +0 -452
  612. package/server/node_modules/@types/node/test/reporters.d.ts +0 -59
  613. package/server/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  614. package/server/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  615. package/server/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  616. package/server/node_modules/@types/node/util/types.d.ts +0 -558
  617. package/server/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  618. package/server/node_modules/@types/node/web-globals/console.d.ts +0 -9
  619. package/server/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  620. package/server/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  621. package/server/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  622. package/server/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  623. package/server/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  624. package/server/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  625. package/server/node_modules/@types/node/web-globals/url.d.ts +0 -24
  626. package/server/node_modules/@types/node/zlib/iter.d.ts +0 -131
  627. package/server/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  628. package/server/node_modules/undici-types/client-stats.d.ts +0 -15
  629. package/server/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
  630. package/server/node_modules/undici-types/h2c-client.d.ts +0 -73
  631. package/server/node_modules/undici-types/mock-call-history.d.ts +0 -111
  632. package/server/node_modules/undici-types/round-robin-pool.d.ts +0 -39
  633. package/server/node_modules/undici-types/snapshot-agent.d.ts +0 -113
  634. package/server/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  635. package/server/node_modules/undici-types/utility.d.ts +0 -7
  636. package/server/public/assets/image-GAAHSSAO-rafcvWHh.js +0 -1
  637. package/server/public/assets/index-CdPveU3M.css +0 -1
  638. package/server/public/assets/index-Cg6tdZoY.js +0 -860
  639. package/server/public/assets/mermaid-GHXKKRXX-6KBD_3T_.js +0 -1
  640. package/server/pull-requests-CmlandI7.js +0 -2
  641. package/server/rally-DYIn9R2U.js +0 -3
  642. package/server/rebuild-stack-CyXMrj6K.js +0 -197
  643. package/server/settings-ByDRfuuE.js +0 -2
  644. package/server/specs-oRGyfz6C.js +0 -3
  645. package/server/supervisor-DSSWo4M2.js +0 -2
  646. package/server/token-util-DfUS3Lpp.js +0 -3
  647. package/server/workflows-BtHRlFIm.js +0 -2
  648. package/server/workspace-manager-BrbX90Rm.js +0 -3
  649. /package/server/public/assets/{pica-CgYEdS5s.js → pica-DPvnTcFS.js} +0 -0
  650. /package/server/public/assets/{wasm-DNrvLWf-.js → wasm-Ca_Unakq.js} +0 -0
@@ -0,0 +1,370 @@
1
+ import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
2
+ import { On as resolveProjectFromIssueSync, fn as init_projects, on as getProjectSync } from "./config-yaml-Dce9VUd6.js";
3
+ import { c as init_stack_health, m as recordDockerContainerLifecycleSnapshot, n as collectDockerContainerLifecycleSnapshot, p as init_docker_stats, r as composeProjectNameForWorkspace, s as hasIssueToken, u as requireComposeProjectNameForWorkspace } from "./stack-health-Y8O3UuPe.js";
4
+ import { n as init_issue_closed, r as isIssueClosed } from "./issue-closed-D7aMUeMq.js";
5
+ import { n as reconcileTraefikNetworks, t as init_traefik_connect } from "./traefik-connect-BZWNRHOd.js";
6
+ import { n as ensureDevcontainerSync, r as init_ensure_devcontainer } from "./ensure-devcontainer-C2rKQXgr.js";
7
+ import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
8
+ import { Effect } from "effect";
9
+ import { homedir } from "node:os";
10
+ import { existsSync, lstatSync, readFileSync, readdirSync, realpathSync, rmSync } from "node:fs";
11
+ import { lstat, readdir, realpath, rm } from "node:fs/promises";
12
+ import { execFile } from "node:child_process";
13
+ import { promisify } from "node:util";
14
+ //#region ../../lib/workspace-manager/remove-directory.ts
15
+ async function defaultDockerClean(path) {
16
+ await execFileAsync$2("docker", [
17
+ "run",
18
+ "--rm",
19
+ "-v",
20
+ `${path}:/cleanup`,
21
+ "alpine",
22
+ "sh",
23
+ "-c",
24
+ "rm -rf /cleanup/* /cleanup/.[!.]* /cleanup/..?* 2>/dev/null || true"
25
+ ], {
26
+ timeout: DOCKER_CLEAN_TIMEOUT_MS,
27
+ maxBuffer: 10 * 1024 * 1024
28
+ });
29
+ }
30
+ async function removeWorkspaceDirectory(path, deps = {}) {
31
+ const resolved = resolve(path);
32
+ const lstatFn = deps.lstat ?? lstat;
33
+ let stat;
34
+ try {
35
+ stat = await lstatFn(resolved);
36
+ } catch (error) {
37
+ if (error?.code === "ENOENT") return;
38
+ throw error;
39
+ }
40
+ const real = stat.isSymbolicLink() ? null : await realpath(resolved);
41
+ if (!isAbsolute(path) || stat.isSymbolicLink() || !stat.isDirectory() || real === null || real === "/" || real === homedir() || !real.includes("/workspaces/")) throw new Error(`refusing to remove ${JSON.stringify(path)}: removeWorkspaceDirectory only removes real directories resolved inside a workspaces/ tree (never a symlink, /, or the home directory)`);
42
+ const rmDir = deps.rm ?? ((target) => rm(target, {
43
+ recursive: true,
44
+ force: true
45
+ }));
46
+ try {
47
+ await rmDir(resolved);
48
+ return;
49
+ } catch (firstError) {
50
+ const dockerClean = deps.dockerClean ?? defaultDockerClean;
51
+ try {
52
+ await dockerClean(resolved);
53
+ } catch (dockerError) {
54
+ throw new Error(`removing ${resolved} failed (${firstError instanceof Error ? firstError.message : String(firstError)}) and the Docker fallback for root-owned container artifacts also failed (${dockerError instanceof Error ? dockerError.message : String(dockerError)})`);
55
+ }
56
+ await rmDir(resolved);
57
+ }
58
+ }
59
+ var execFileAsync$2, DOCKER_CLEAN_TIMEOUT_MS;
60
+ var init_remove_directory = __esmMin((() => {
61
+ execFileAsync$2 = promisify(execFile);
62
+ DOCKER_CLEAN_TIMEOUT_MS = 12e4;
63
+ }));
64
+ //#endregion
65
+ //#region ../../lib/workspace/rebuild-bind-mounts.ts
66
+ /**
67
+ * Repair host paths that a rendered workspace Compose stack bind-mounts.
68
+ *
69
+ * Docker creates a missing bind source as root before the service user starts.
70
+ * In a polyrepo workspace that turns an already-merged/removed repo checkout
71
+ * into an unwritable empty directory. Containers can also leave root-owned
72
+ * dependency caches inside an otherwise valid checkout. Rebuild repairs both
73
+ * forms before `docker compose up` gets a chance to preserve or recreate them.
74
+ */
75
+ function composeReferencesRepo(composeContent, workspacePath, repo) {
76
+ return [`../${repo.name}`, join(workspacePath, repo.name)].some((candidate) => {
77
+ const escaped = candidate.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
78
+ return new RegExp(`${escaped}(?=[:/\\s'"]|$)`).test(composeContent);
79
+ });
80
+ }
81
+ async function findOwnershipMismatch(path, expectedUid, expectedGid) {
82
+ const stat = await lstat(path);
83
+ if (stat.uid !== expectedUid || stat.gid !== expectedGid) return {
84
+ path,
85
+ uid: stat.uid,
86
+ gid: stat.gid
87
+ };
88
+ if (!stat.isDirectory() || stat.isSymbolicLink()) return null;
89
+ for (const entry of await readdir(path)) {
90
+ const mismatch = await findOwnershipMismatch(join(path, entry), expectedUid, expectedGid);
91
+ if (mismatch) return mismatch;
92
+ }
93
+ return null;
94
+ }
95
+ function repoBranch(repo, issueId) {
96
+ return `${repo.branch_prefix || "feature/"}${issueId.toLowerCase()}`;
97
+ }
98
+ function repoSourcePath(projectConfig, repo) {
99
+ const rawPath = join(projectConfig.path, repo.path);
100
+ return existsSync(rawPath) ? realpathSync(rawPath) : rawPath;
101
+ }
102
+ function assertOnlyDisposableResidue(targetPath) {
103
+ const unsafe = readdirSync(targetPath).filter((entry) => !DISPOSABLE_CACHE_DIRS.has(entry));
104
+ if (unsafe.length > 0) throw new Error(`Cannot restore missing workspace repo at ${targetPath}: the unregistered directory contains ${unsafe.join(", ")}. Preserve or remove those files, then retry the rebuild.`);
105
+ }
106
+ async function repairRepoCaches(targetPath, repairOwnership, progress, findMismatch) {
107
+ const owner = lstatSync(targetPath);
108
+ for (const cacheName of DISPOSABLE_CACHE_DIRS) {
109
+ const cachePath = join(targetPath, cacheName);
110
+ if (!existsSync(cachePath) || lstatSync(cachePath).isSymbolicLink()) continue;
111
+ const mismatch = await findMismatch(cachePath, owner.uid, owner.gid);
112
+ if (!mismatch) continue;
113
+ progress(`Repairing ownership for ${relative(targetPath, cachePath)} cache (found uid:gid ${mismatch.uid}:${mismatch.gid} at ${mismatch.path})...`);
114
+ try {
115
+ await repairOwnership(cachePath, owner.uid, owner.gid);
116
+ } catch (error) {
117
+ throw new Error(`Could not repair ownership at ${mismatch.path} (uid:gid ${mismatch.uid}:${mismatch.gid}); the workspace checkout expects ${owner.uid}:${owner.gid}. Restore that cache's ownership with chown or remove the disposable ${cacheName} directory, then retry. ${error instanceof Error ? error.message : String(error)}`);
118
+ }
119
+ }
120
+ }
121
+ async function repairCacheOwnership(path, uid, gid) {
122
+ const real = realpathSync(path);
123
+ const stat = lstatSync(path);
124
+ if (stat.isSymbolicLink() || !stat.isDirectory() || !real.includes("/workspaces/") || !DISPOSABLE_CACHE_DIRS.has(basename(real))) throw new Error(`Refusing ownership repair outside a real workspace dependency-cache directory: ${path}`);
125
+ await execFileAsync$1("docker", [
126
+ "run",
127
+ "--rm",
128
+ "-v",
129
+ `${real}:/repair`,
130
+ "alpine",
131
+ "chown",
132
+ "-R",
133
+ `${uid}:${gid}`,
134
+ "/repair"
135
+ ], {
136
+ timeout: 12e4,
137
+ maxBuffer: 10 * 1024 * 1024
138
+ });
139
+ }
140
+ /** Restore referenced polyrepo checkouts and heal their disposable caches. */
141
+ async function repairWorkspaceBindMounts(options, deps = {}) {
142
+ const repos = options.projectConfig.workspace?.repos;
143
+ if (options.projectConfig.workspace?.type !== "polyrepo" || !repos?.length) return;
144
+ const composeContent = readFileSync(options.composeFile, "utf-8");
145
+ const progress = options.onProgress ?? (() => {});
146
+ const removeDirectory = deps.removeDirectory ?? removeWorkspaceDirectory;
147
+ const createRepoWorktree = deps.createRepoWorktree ?? (async (...args) => {
148
+ const { createWorktree } = await import("./worktree-ops-CV-pRvyW.js");
149
+ return createWorktree(...args);
150
+ });
151
+ const findMismatch = deps.findOwnershipMismatch ?? findOwnershipMismatch;
152
+ const repairOwnership = deps.repairOwnership ?? repairCacheOwnership;
153
+ for (const repo of repos.filter((repo) => composeReferencesRepo(composeContent, options.workspacePath, repo))) {
154
+ const targetPath = join(options.workspacePath, repo.name);
155
+ if (repo.link_type === "symlink") continue;
156
+ if (!existsSync(join(targetPath, ".git"))) {
157
+ if (existsSync(targetPath)) {
158
+ if (lstatSync(targetPath).isSymbolicLink()) throw new Error(`Cannot restore missing workspace repo at ${targetPath}: the path is a symlink.`);
159
+ assertOnlyDisposableResidue(targetPath);
160
+ await removeDirectory(targetPath);
161
+ }
162
+ progress(`Restoring missing ${repo.name} workspace checkout before Docker bind-mounts it...`);
163
+ const result = await createRepoWorktree(repoSourcePath(options.projectConfig, repo), targetPath, repoBranch(repo, options.issueId), repo.default_branch || options.projectConfig.workspace?.default_branch || "main");
164
+ if (!result.success) throw new Error(`Could not restore ${repo.name} workspace checkout: ${result.message}`);
165
+ }
166
+ await repairRepoCaches(targetPath, repairOwnership, progress, findMismatch);
167
+ }
168
+ }
169
+ var DISPOSABLE_CACHE_DIRS, execFileAsync$1;
170
+ var init_rebuild_bind_mounts = __esmMin((() => {
171
+ init_remove_directory();
172
+ DISPOSABLE_CACHE_DIRS = new Set(["node_modules", ".pnpm-store"]);
173
+ execFileAsync$1 = promisify(execFile);
174
+ }));
175
+ //#endregion
176
+ //#region ../../lib/workspace/rebuild-stack.ts
177
+ /**
178
+ * Workspace docker-stack rebuild — the library primitive behind
179
+ * `pan workspace rebuild` and the deacon's orphan-test self-heal.
180
+ *
181
+ * Tears the stack down (`docker compose down -v --remove-orphans`), re-renders
182
+ * `<workspace>/.devcontainer/` from the project compose template, and brings
183
+ * the stack back up (`docker compose up -d --build`).
184
+ *
185
+ * This module is host/CLI-safe: it never calls `process.exit` and never writes
186
+ * to a terminal. The CLI command wraps it for spinner/exit handling; the deacon
187
+ * calls it directly during patrol recovery.
188
+ *
189
+ * PAN-1249: migrated to Effect. External entry point `rebuildWorkspaceStack`
190
+ * returns `Effect.Effect<RebuildWorkspaceStackResult>` (errors are encoded in
191
+ * the result, not the error channel, to preserve the existing API contract
192
+ * where callers branch on `success`).
193
+ */
194
+ function findDevcontainerComposeFile(workspacePath) {
195
+ const devcontainerDir = join(workspacePath, ".devcontainer");
196
+ for (const file of COMPOSE_FILES) {
197
+ const fullPath = join(devcontainerDir, file);
198
+ if (existsSync(fullPath)) return fullPath;
199
+ }
200
+ return null;
201
+ }
202
+ var execFileAsync, COMPOSE_FILES, dockerCompose, EXTERNAL_WORKSPACE_NETWORK, ensureExternalNetwork, removeStaleIssueContainers, rebuildWorkspaceStack;
203
+ var init_rebuild_stack = __esmMin((() => {
204
+ init_docker_stats();
205
+ init_projects();
206
+ init_issue_closed();
207
+ init_ensure_devcontainer();
208
+ init_stack_health();
209
+ init_traefik_connect();
210
+ init_rebuild_bind_mounts();
211
+ execFileAsync = promisify(execFile);
212
+ COMPOSE_FILES = [
213
+ "docker-compose.devcontainer.yml",
214
+ "docker-compose.yml",
215
+ "docker-compose.yaml",
216
+ "compose.yml",
217
+ "compose.yaml"
218
+ ];
219
+ dockerCompose = (args, cwd) => Effect.tryPromise({
220
+ try: () => execFileAsync("docker", ["compose", ...args], {
221
+ cwd,
222
+ encoding: "utf-8",
223
+ timeout: 3e5,
224
+ maxBuffer: 10 * 1024 * 1024
225
+ }).then(() => void 0),
226
+ catch: (err) => err instanceof Error ? err : new Error(String(err))
227
+ });
228
+ EXTERNAL_WORKSPACE_NETWORK = "overdeck";
229
+ ensureExternalNetwork = () => Effect.promise(() => execFileAsync("docker", [
230
+ "network",
231
+ "create",
232
+ EXTERNAL_WORKSPACE_NETWORK
233
+ ], { timeout: 3e4 }).then(() => void 0).catch(() => void 0));
234
+ removeStaleIssueContainers = (issueId, composeProjectName) => Effect.promise(async () => {
235
+ const containers = await Effect.runPromise(collectDockerContainerLifecycleSnapshot());
236
+ let removed = 0;
237
+ for (const container of containers) {
238
+ if (container.composeProject === composeProjectName) continue;
239
+ if (!hasIssueToken(container.name, issueId)) continue;
240
+ if (container.state?.toLowerCase() === "running" || /^up\b/i.test(container.status)) continue;
241
+ if (await execFileAsync("docker", [
242
+ "rm",
243
+ "-f",
244
+ container.id
245
+ ], { timeout: 3e4 }).then(() => true).catch(() => false)) removed += 1;
246
+ }
247
+ return removed;
248
+ });
249
+ rebuildWorkspaceStack = (issueId, options = {}) => {
250
+ const progress = options.onProgress ?? (() => {});
251
+ const normalizedIssueId = issueId.toLowerCase();
252
+ const resolvedProject = resolveProjectFromIssueSync(issueId);
253
+ const projectConfig = resolvedProject ? getProjectSync(resolvedProject.projectKey) : null;
254
+ if (!resolvedProject || !projectConfig) return Effect.succeed({
255
+ success: false,
256
+ error: `No project found for issue ${issueId}`
257
+ });
258
+ if (!projectConfig.workspace?.docker?.compose_template) return Effect.succeed({
259
+ success: false,
260
+ error: `Project ${projectConfig.name} has no workspace docker compose_template configured`
261
+ });
262
+ const workspacePath = join(resolvedProject.projectPath, projectConfig.workspace?.workspaces_dir ?? "workspaces", `feature-${normalizedIssueId}`);
263
+ if (!existsSync(workspacePath)) return Effect.succeed({
264
+ success: false,
265
+ error: `Workspace not found: ${workspacePath}`
266
+ });
267
+ return Effect.gen(function* () {
268
+ const closed = yield* Effect.promise(() => isIssueClosed(issueId));
269
+ const reviewStatus = closed ? null : yield* Effect.promise(async () => {
270
+ const { resolveCanonicalReviewStatus } = await import("./review-status-source-D2PCWS6E.js");
271
+ return resolveCanonicalReviewStatus(issueId);
272
+ });
273
+ if (closed || reviewStatus?.status?.mergeStatus === "merged") return {
274
+ success: false,
275
+ error: "Issue is terminal (closed/merged) — skipping stack rebuild"
276
+ };
277
+ if (!reviewStatus?.available) return {
278
+ success: false,
279
+ error: "Issue terminal status is unavailable — skipping stack rebuild"
280
+ };
281
+ let preRenderComposeProjectName = null;
282
+ try {
283
+ preRenderComposeProjectName = composeProjectNameForWorkspace(workspacePath, normalizedIssueId);
284
+ } catch {
285
+ progress("Current devcontainer state has a conflicting declaration — skipping pre-render teardown.");
286
+ }
287
+ const existingComposeFile = findDevcontainerComposeFile(workspacePath);
288
+ if (existingComposeFile && preRenderComposeProjectName) {
289
+ progress("Tearing down existing workspace stack...");
290
+ yield* dockerCompose([
291
+ "-f",
292
+ existingComposeFile,
293
+ "-p",
294
+ preRenderComposeProjectName,
295
+ "down",
296
+ "-v",
297
+ "--remove-orphans"
298
+ ], dirname(existingComposeFile));
299
+ }
300
+ progress("Re-rendering .devcontainer/ from template...");
301
+ const devcontainerDir = join(workspacePath, ".devcontainer");
302
+ if (existsSync(devcontainerDir)) rmSync(devcontainerDir, {
303
+ recursive: true,
304
+ force: true
305
+ });
306
+ const ensured = ensureDevcontainerSync({
307
+ workspacePath,
308
+ issueId: normalizedIssueId
309
+ });
310
+ if (!ensured.step.success) return {
311
+ success: false,
312
+ error: ensured.step.error ?? "Failed to render .devcontainer/",
313
+ workspacePath
314
+ };
315
+ const composeFile = findDevcontainerComposeFile(workspacePath);
316
+ if (!composeFile) return {
317
+ success: false,
318
+ error: `No devcontainer compose file found in ${devcontainerDir}`,
319
+ workspacePath
320
+ };
321
+ progress("Repairing workspace bind mounts...");
322
+ yield* Effect.promise(() => repairWorkspaceBindMounts({
323
+ workspacePath,
324
+ issueId: normalizedIssueId,
325
+ projectConfig,
326
+ composeFile,
327
+ onProgress: progress
328
+ }));
329
+ const composeProjectName = yield* Effect.try({
330
+ try: () => requireComposeProjectNameForWorkspace(workspacePath, normalizedIssueId),
331
+ catch: (cause) => cause instanceof Error ? cause : new Error(String(cause))
332
+ });
333
+ if (preRenderComposeProjectName && preRenderComposeProjectName !== composeProjectName) progress(`Devcontainer now declares ${composeProjectName}, previously ${preRenderComposeProjectName} — any leftover stack under the old name is left for the stale-container sweep or \`pan doctor\`.`);
334
+ progress("Ensuring shared docker network...");
335
+ yield* ensureExternalNetwork();
336
+ progress("Starting workspace stack...");
337
+ yield* dockerCompose([
338
+ "-f",
339
+ composeFile,
340
+ "-p",
341
+ composeProjectName,
342
+ "up",
343
+ "-d",
344
+ "--build"
345
+ ], dirname(composeFile));
346
+ recordDockerContainerLifecycleSnapshot(yield* collectDockerContainerLifecycleSnapshot());
347
+ progress("Removing stale containers from previous stack projects...");
348
+ yield* removeStaleIssueContainers(normalizedIssueId, composeProjectName);
349
+ progress("Connecting traefik to workspace network...");
350
+ yield* Effect.promise(() => reconcileTraefikNetworks());
351
+ return {
352
+ success: true,
353
+ workspacePath,
354
+ composeFile,
355
+ composeProjectName
356
+ };
357
+ }).pipe(Effect.catch((error) => {
358
+ const message = error instanceof Error && error.message ? error.message : String(error);
359
+ return Effect.succeed({
360
+ success: false,
361
+ error: message,
362
+ workspacePath
363
+ });
364
+ }));
365
+ };
366
+ }));
367
+ //#endregion
368
+ export { rebuildWorkspaceStack as n, removeStaleIssueContainers as r, init_rebuild_stack as t };
369
+
370
+ //# sourceMappingURL=rebuild-stack-xdGFthJn.js.map
@@ -1,8 +1,8 @@
1
- import { Qr as FsError, li as init_errors } from "./config-yaml-D60AnTIu.js";
2
- import { d as getOverdeckDatabaseSync, f as init_infra } from "./infra-CJRi_5Wu.js";
3
- import { o as getPricingSync, s as init_cost, t as calculateCostSync } from "./cost-DTuIRE4y.js";
4
- import { i as CostWriter, o as lookupSkipVerdict, s as recordSkipVerdict, t as CostDoorLive } from "./cost-3FyqKK56.js";
5
- import { A as init_conversations, st as findConversationForCostSessionSync } from "./conversations-nS6QgYpD.js";
1
+ import { $r as FsError, ui as init_errors } from "./config-yaml-Dce9VUd6.js";
2
+ import { d as getOverdeckDatabaseSync, f as init_infra } from "./infra-B05o-e2g.js";
3
+ import { o as getPricingSync, s as init_cost, t as calculateCostSync } from "./cost-ShD-G0cS.js";
4
+ import { i as CostWriter, o as lookupSkipVerdict, s as recordSkipVerdict, t as CostDoorLive } from "./cost-PJXEAirJ.js";
5
+ import { A as init_conversations, st as findConversationForCostSessionSync } from "./conversations-CPXMv_JQ.js";
6
6
  import { Effect } from "effect";
7
7
  import { closeSync, existsSync, fstatSync, openSync, readFileSync, readSync, readdirSync, statSync } from "fs";
8
8
  import { basename, join } from "path";
@@ -654,4 +654,4 @@ const reconcile = (opts = {}) => Effect.tryPromise({
654
654
  //#endregion
655
655
  export { reclassifyUnknownCostEventsSync as i, reconcile as n, recordCostEventsThroughOverdeck as r, collectPiCostEvents as t };
656
656
 
657
- //# sourceMappingURL=reconciler-caYiRnPy.js.map
657
+ //# sourceMappingURL=reconciler-xH7d13Wo.js.map
@@ -1,8 +1,8 @@
1
- import { $ as readIssueRecord, Y as init_record, fn as init_projects, rt as resolveProjectForIssue, vn as listProjectsSync } from "./config-yaml-D60AnTIu.js";
2
- import { c as init_agents, i as backfillAgentsSync, u as listAllAgentsSync } from "./agents-DzpQidT8.js";
3
- import { q as init_agents$1, vn as listRunningAgents } from "./agent-state-FABw8neJ.js";
4
- import { a as gatherProjectLensSignals, o as gatherProjectLensSignalsForProjects, s as init_pipeline_membership_gather } from "./pipeline-membership-gather-Ba0wJNCR.js";
5
- import { n as init_pipeline_membership, r as resolvePipelineMembership } from "./pipeline-membership-BV4hdkHm.js";
1
+ import { $ as readIssueRecord, Y as init_record, fn as init_projects, rt as resolveProjectForIssue, vn as listProjectsSync } from "./config-yaml-Dce9VUd6.js";
2
+ import { c as init_agents, i as backfillAgentsSync, u as listAllAgentsSync } from "./agents-CkngXhQr.js";
3
+ import { Ln as listRunningAgents, q as init_agents$1 } from "./agent-state-Ci6PhjOE.js";
4
+ import { a as gatherProjectLensSignals, o as gatherProjectLensSignalsForProjects, s as init_pipeline_membership_gather } from "./pipeline-membership-gather-QYMqf_Wf.js";
5
+ import { n as init_pipeline_membership, r as resolvePipelineMembership } from "./pipeline-membership-DxJOJOjn.js";
6
6
  import { Effect } from "effect";
7
7
  //#region ../../lib/reconstruct/enumerate-in-flight.ts
8
8
  init_projects();
@@ -139,7 +139,7 @@ async function loadInFlightIssueIds(projects) {
139
139
  return enumerateInFlightIssuesFromSources(projects);
140
140
  }
141
141
  async function fetchPrState(issueId) {
142
- const { fetchIssuePullRequest } = await import("./pull-requests-CmlandI7.js");
142
+ const { fetchIssuePullRequest } = await import("./pull-requests-DLiyKC8q.js");
143
143
  const result = await fetchIssuePullRequest(issueId);
144
144
  if (!result.pr) return {
145
145
  hasPr: false,
@@ -263,4 +263,4 @@ function reconstructCacheAuto(opts) {
263
263
  //#endregion
264
264
  export { reconstructCache, reconstructCacheAuto };
265
265
 
266
- //# sourceMappingURL=reconstruct-cache-3JzPOune.js.map
266
+ //# sourceMappingURL=reconstruct-cache-Bb2Jg2DZ.js.map
@@ -1,3 +1,3 @@
1
- import { $ as readIssueRecord, B as clearIssueOwner, F as appendSessionEntry, G as getIssueRecordPath, H as ensureIssueRecord, I as appendSessionEntrySync, J as getProjectConfigFromWorkspacePath, K as getIssueRecordPathForWorkspace, L as batchReadIssueRecords, M as RECORD_SCHEMA_VERSION, N as appendFeedbackEntry, P as appendFeedbackEntrySync, Q as queueIssueRecordCommit, R as buildOwnUri, U as ensureIssueRecordSync, V as clearRecordFeedbackSync, W as getIssueRecordBasePath, X as markRecordPipelineClosedOutSync, Y as init_record, Z as markRecordPipelineResidueClosedOutSync, _t as writeRecordTieredExecutionOverride, at as writeAgentHarnessModelSync, bt as writeStatusOverrideSync, ct as writeIssueRecordForWorkspaceSync, dt as writeRecordDecisionsSync, et as readIssueRecordForWorkspaceSync, ft as writeRecordHazards, gt as writeRecordScopeDriftSync, ht as writeRecordResumePointSync, it as writeAgentHarnessModel, j as RECORD_DIRNAME, lt as writeIssueRecordSync, mt as writeRecordResumePoint, nt as readRecordContinueViewSync, ot as writeCloseOutDodGate, pt as writeRecordHazardsSync, q as getIssueWorkspacePath, rt as resolveProjectForIssue, st as writeCloseOutDodGateSync, tt as readIssueRecordSync, ut as writeRecordDecisions, vt as writeRecordTieredExecutionOverrideSync, xt as writeStatusOverridesSync, yt as writeStatusOverride, z as claimIssueOwner } from "./config-yaml-D60AnTIu.js";
1
+ import { $ as readIssueRecord, B as clearIssueOwner, F as appendSessionEntry, G as getIssueRecordPath, H as ensureIssueRecord, I as appendSessionEntrySync, J as getProjectConfigFromWorkspacePath, K as getIssueRecordPathForWorkspace, L as batchReadIssueRecords, M as RECORD_SCHEMA_VERSION, N as appendFeedbackEntry, P as appendFeedbackEntrySync, Q as queueIssueRecordCommit, R as buildOwnUri, U as ensureIssueRecordSync, V as clearRecordFeedbackSync, W as getIssueRecordBasePath, X as markRecordPipelineClosedOutSync, Y as init_record, Z as markRecordPipelineResidueClosedOutSync, _t as writeRecordTieredExecutionOverride, at as writeAgentHarnessModelSync, bt as writeStatusOverrideSync, ct as writeIssueRecordForWorkspaceSync, dt as writeRecordDecisionsSync, et as readIssueRecordForWorkspaceSync, ft as writeRecordHazards, gt as writeRecordScopeDriftSync, ht as writeRecordResumePointSync, it as writeAgentHarnessModel, j as RECORD_DIRNAME, lt as writeIssueRecordSync, mt as writeRecordResumePoint, nt as readRecordContinueViewSync, ot as writeCloseOutDodGate, pt as writeRecordHazardsSync, q as getIssueWorkspacePath, rt as resolveProjectForIssue, st as writeCloseOutDodGateSync, tt as readIssueRecordSync, ut as writeRecordDecisions, vt as writeRecordTieredExecutionOverrideSync, xt as writeStatusOverridesSync, yt as writeStatusOverride, z as claimIssueOwner } from "./config-yaml-Dce9VUd6.js";
2
2
  init_record();
3
3
  export { RECORD_DIRNAME, RECORD_SCHEMA_VERSION, appendFeedbackEntry, appendFeedbackEntrySync, appendSessionEntry, appendSessionEntrySync, batchReadIssueRecords, buildOwnUri, claimIssueOwner, clearIssueOwner, clearRecordFeedbackSync, ensureIssueRecord, ensureIssueRecordSync, getIssueRecordBasePath, getIssueRecordPath, getIssueRecordPathForWorkspace, getIssueWorkspacePath, getProjectConfigFromWorkspacePath, markRecordPipelineClosedOutSync, markRecordPipelineResidueClosedOutSync, queueIssueRecordCommit, readIssueRecord, readIssueRecordForWorkspaceSync, readIssueRecordSync, readRecordContinueViewSync, resolveProjectForIssue, writeAgentHarnessModel, writeAgentHarnessModelSync, writeCloseOutDodGate, writeCloseOutDodGateSync, writeIssueRecordForWorkspaceSync, writeIssueRecordSync, writeRecordDecisions, writeRecordDecisionsSync, writeRecordHazards, writeRecordHazardsSync, writeRecordResumePoint, writeRecordResumePointSync, writeRecordScopeDriftSync, writeRecordTieredExecutionOverride, writeRecordTieredExecutionOverrideSync, writeStatusOverride, writeStatusOverrideSync, writeStatusOverridesSync };
@@ -1,3 +1,3 @@
1
- import { a as updateIssueRecord, i as init_record_update } from "./record-update-BPqpBu3O.js";
1
+ import { a as updateIssueRecord, i as init_record_update } from "./record-update-T3PMrwE-.js";
2
2
  init_record_update();
3
3
  export { updateIssueRecord };
@@ -1,7 +1,7 @@
1
1
  import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
2
- import { G as getIssueRecordPath, Ht as init_state_read_home, J as getProjectConfigFromWorkspacePath, Mt as init_state_plane, Q as queueIssueRecordCommit, Ri as getOverdeckHome, Tt as init_auto_commit, U as ensureIssueRecordSync, Vt as STATE_BRANCH, Wt as resolveStateReadHomeSync, Y as init_record, kt as STATE_BRANCH_PATHS, lt as writeIssueRecordSync, rt as resolveProjectForIssue, tt as readIssueRecordSync, wt as flushAutoCommits, zi as init_paths } from "./config-yaml-D60AnTIu.js";
3
- import { a as emitActivityEntryOncePortable, l as init_activity_logger } from "./activity-logger-SlTXYCVf.js";
4
- import { n as init_fs_lock, o as releaseRecordLock, s as withRecordFsLock, t as acquireRecordLock } from "./fs-lock-DQ_gUxfq.js";
2
+ import { G as getIssueRecordPath, Ht as init_state_read_home, J as getProjectConfigFromWorkspacePath, Li as getOverdeckHome, Mt as init_state_plane, Q as queueIssueRecordCommit, Ri as init_paths, Tt as init_auto_commit, U as ensureIssueRecordSync, Vt as STATE_BRANCH, Wt as resolveStateReadHomeSync, Y as init_record, kt as STATE_BRANCH_PATHS, lt as writeIssueRecordSync, rt as resolveProjectForIssue, tt as readIssueRecordSync, wt as flushAutoCommits } from "./config-yaml-Dce9VUd6.js";
3
+ import { a as emitActivityEntryOncePortable, l as init_activity_logger } from "./activity-logger-DNYDzAOU.js";
4
+ import { n as init_fs_lock, o as releaseRecordLock, s as withRecordFsLock, t as acquireRecordLock } from "./fs-lock-VCGoXZI5.js";
5
5
  import { basename, dirname, join, relative, resolve } from "node:path";
6
6
  import { Effect } from "effect";
7
7
  import { hostname } from "node:os";
@@ -626,4 +626,4 @@ var init_record_update = __esmMin((() => {
626
626
  //#endregion
627
627
  export { updateIssueRecord as a, withStateGitLock as c, init_record_update as i, clearRecordPipelineClosedOut as n, updateIssueRecordForWorkspace as o, clearRecordPipelineClosedOutSync as r, init_state_git_lock as s, RecordDurabilityTimeoutError as t };
628
628
 
629
- //# sourceMappingURL=record-update-BPqpBu3O.js.map
629
+ //# sourceMappingURL=record-update-T3PMrwE-.js.map
@@ -1,6 +1,6 @@
1
1
  import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
2
- import { $ as readIssueRecord, On as resolveProjectFromIssueSync, Y as init_record, fn as init_projects, on as getProjectSync } from "./config-yaml-D60AnTIu.js";
3
- import { i as init_record_update, o as updateIssueRecordForWorkspace } from "./record-update-BPqpBu3O.js";
2
+ import { $ as readIssueRecord, On as resolveProjectFromIssueSync, Y as init_record, fn as init_projects, on as getProjectSync } from "./config-yaml-Dce9VUd6.js";
3
+ import { i as init_record_update, o as updateIssueRecordForWorkspace } from "./record-update-T3PMrwE-.js";
4
4
  //#region ../../lib/cloister/recovery-trip.ts
5
5
  /**
6
6
  * PAN-3092: read an existing trip without taking the per-issue record lock.
@@ -107,4 +107,4 @@ var init_recovery_trip = __esmMin((() => {
107
107
  //#endregion
108
108
  export { recordRecoveryFailure as i, findRecoveryTrip as n, init_recovery_trip as r, acknowledgeAllOpenRecoveryTrips as t };
109
109
 
110
- //# sourceMappingURL=recovery-trip-CpfW6LCJ.js.map
110
+ //# sourceMappingURL=recovery-trip-7JFHFjeo.js.map
@@ -1,3 +1,3 @@
1
- import { i as recordRecoveryFailure, r as init_recovery_trip } from "./recovery-trip-CpfW6LCJ.js";
1
+ import { i as recordRecoveryFailure, r as init_recovery_trip } from "./recovery-trip-7JFHFjeo.js";
2
2
  init_recovery_trip();
3
3
  export { recordRecoveryFailure };
@@ -1,7 +1,7 @@
1
- import { $t as findProjectByPathSync, fn as init_projects, on as getProjectSync } from "./config-yaml-D60AnTIu.js";
2
- import { i as init_merge_set, r as getMergeSetSync } from "./merge-set-CyW-xSn4.js";
3
- import { p as init_review_status, w as setReviewStatusSync } from "./review-status-DpniqzPT.js";
4
- import { n as upsertReleaseSetSync, r as withComponentStateSync } from "./release-set-DOIDz2vw.js";
1
+ import { $t as findProjectByPathSync, fn as init_projects, on as getProjectSync } from "./config-yaml-Dce9VUd6.js";
2
+ import { i as init_merge_set, r as getMergeSetSync } from "./merge-set-DRPWriK9.js";
3
+ import { p as init_review_status, w as setReviewStatusSync } from "./review-status-BegAr86G.js";
4
+ import { n as upsertReleaseSetSync, r as withComponentStateSync } from "./release-set-B_sH_Mud.js";
5
5
  import { exec } from "node:child_process";
6
6
  import { promisify } from "node:util";
7
7
  //#region ../../lib/release/release-plan.ts
@@ -296,4 +296,4 @@ function appendNote(existing, note) {
296
296
  //#endregion
297
297
  export { runRelease };
298
298
 
299
- //# sourceMappingURL=release-engine-C_OOhCaK.js.map
299
+ //# sourceMappingURL=release-engine-78iCajIc.js.map
@@ -1,5 +1,5 @@
1
- import { Zn as resolveIssueIdSync, qn as init_issue_id } from "./config-yaml-D60AnTIu.js";
2
- import { d as getOverdeckDatabaseSync, f as init_infra } from "./infra-CJRi_5Wu.js";
1
+ import { Zn as resolveIssueIdSync, qn as init_issue_id } from "./config-yaml-Dce9VUd6.js";
2
+ import { d as getOverdeckDatabaseSync, f as init_infra } from "./infra-B05o-e2g.js";
3
3
  import "effect";
4
4
  //#region ../../lib/overdeck/release-sync.ts
5
5
  init_infra();
@@ -116,4 +116,4 @@ function withComponentStateSync(releaseSet, componentKey, patch) {
116
116
  //#endregion
117
117
  export { upsertReleaseSetSync as n, withComponentStateSync as r, getReleaseSetSync as t };
118
118
 
119
- //# sourceMappingURL=release-set-DOIDz2vw.js.map
119
+ //# sourceMappingURL=release-set-B_sH_Mud.js.map
@@ -1,5 +1,5 @@
1
- import "./workspace-metadata-Cu6yfxBS.js";
2
- import { C as createFlyProvider, s as init_remote_agents, w as init_fly_provider } from "./remote-agents-DbbN7vSm.js";
1
+ import "./workspace-metadata-Copcoih9.js";
2
+ import { C as createFlyProvider, s as init_remote_agents, w as init_fly_provider } from "./remote-agents-CthcZHnO.js";
3
3
  import { Effect } from "effect";
4
4
  //#region ../../lib/remote/index.ts
5
5
  init_fly_provider();
@@ -52,4 +52,4 @@ function createFlyProviderFromConfig(remoteConfig, tierOverride) {
52
52
  //#endregion
53
53
  export { getRemoteProvider as n, isRemoteAvailable as r, createFlyProviderFromConfig as t };
54
54
 
55
- //# sourceMappingURL=remote-xY0B43Ho.js.map
55
+ //# sourceMappingURL=remote-C9eYHTqn.js.map
@@ -1,3 +1,3 @@
1
- import { _ as saveRemoteAgentState, a as generatePushDaemonScript, b as writeRemoteFile, c as installEphemeralWatchdog, d as killRemoteAgent, f as listActiveRemoteAgentStates, g as refreshHostHeartbeatForEphemeralVms, h as pollRemoteAgentStatus, i as generateEphemeralWatchdogScript, l as installPushDaemon, m as loadRemoteAgentState, n as checkRemoteDurabilityPreflight, o as getRemoteAgentOutput, p as listRemoteAgents, r as checkRemoteSpendCap, s as init_remote_agents, t as assertFlyRemoteStateSupported, u as isRemoteAgentRunning, v as sendToRemoteAgent, x as sendToRemoteAgentKeyed, y as spawnRemoteAgent } from "./remote-agents-DbbN7vSm.js";
1
+ import { _ as saveRemoteAgentState, a as generatePushDaemonScript, b as writeRemoteFile, c as installEphemeralWatchdog, d as killRemoteAgent, f as listActiveRemoteAgentStates, g as refreshHostHeartbeatForEphemeralVms, h as pollRemoteAgentStatus, i as generateEphemeralWatchdogScript, l as installPushDaemon, m as loadRemoteAgentState, n as checkRemoteDurabilityPreflight, o as getRemoteAgentOutput, p as listRemoteAgents, r as checkRemoteSpendCap, s as init_remote_agents, t as assertFlyRemoteStateSupported, u as isRemoteAgentRunning, v as sendToRemoteAgent, x as sendToRemoteAgentKeyed, y as spawnRemoteAgent } from "./remote-agents-CthcZHnO.js";
2
2
  init_remote_agents();
3
3
  export { assertFlyRemoteStateSupported, checkRemoteDurabilityPreflight, checkRemoteSpendCap, generateEphemeralWatchdogScript, generatePushDaemonScript, getRemoteAgentOutput, installEphemeralWatchdog, installPushDaemon, isRemoteAgentRunning, killRemoteAgent, listActiveRemoteAgentStates, listRemoteAgents, loadRemoteAgentState, pollRemoteAgentStatus, refreshHostHeartbeatForEphemeralVms, saveRemoteAgentState, sendToRemoteAgent, sendToRemoteAgentKeyed, spawnRemoteAgent, writeRemoteFile };
@@ -1,9 +1,9 @@
1
1
  import { n as __esmMin, o as __toESM } from "./rolldown-runtime-DNCzzKnI.js";
2
- import { Y as init_record, er as require_dist, li as init_errors, rt as resolveProjectForIssue } from "./config-yaml-D60AnTIu.js";
3
- import { C as init_tmux, v as getManagedTmuxSocketName } from "./tmux-wnT_hg-s.js";
4
- import { C as generateLauncherScriptSync, _ as init_tmux_dedup, b as init_provenance, d as assertValidDedupKey, g as dedupTerminalOptionName, h as dedupTargetOptionName, i as init_auto_spawn_consent, l as KeyedMarkerVerificationError, m as dedupPoisonOptionName, p as dedupPendingOptionName, s as withAutoSpawnConsentClaim, u as KeyedSubmitTargetDeadError, w as init_launcher_generator, x as isOperatorStartedBy } from "./auto-spawn-consent-BesWchEi.js";
5
- import { a as init_claude_permissions, i as getClaudePermissionFlagsSync, r as getClaudePermissionFlagsStringSync, t as buildClaudeUserSettingsSync } from "./claude-permissions-DLrb9ovz.js";
6
- import { a as init_state_home, c as isStateMigrated } from "./state-home-DhsMqg8W.js";
2
+ import { Y as init_record, er as require_dist, rt as resolveProjectForIssue, ui as init_errors } from "./config-yaml-Dce9VUd6.js";
3
+ import { C as init_tmux, v as getManagedTmuxSocketName } from "./tmux-l-yvNWhg.js";
4
+ import { C as generateLauncherScriptSync, _ as init_tmux_dedup, b as init_provenance, d as assertValidDedupKey, g as dedupTerminalOptionName, h as dedupTargetOptionName, i as init_auto_spawn_consent, l as KeyedMarkerVerificationError, m as dedupPoisonOptionName, p as dedupPendingOptionName, s as withAutoSpawnConsentClaim, u as KeyedSubmitTargetDeadError, w as init_launcher_generator, x as isOperatorStartedBy } from "./auto-spawn-consent-CJeQM5e0.js";
5
+ import { a as init_claude_permissions, i as getClaudePermissionFlagsSync, r as getClaudePermissionFlagsStringSync, t as buildClaudeUserSettingsSync } from "./claude-permissions-DX5BSnMH.js";
6
+ import { a as init_state_home, c as isStateMigrated } from "./state-home-CWu1dx9L.js";
7
7
  import { Data, Effect, Stream } from "effect";
8
8
  import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "fs";
9
9
  import { join } from "path";
@@ -1495,4 +1495,4 @@ var init_remote_agents = __esmMin((() => {
1495
1495
  //#endregion
1496
1496
  export { createFlyProvider as C, FlyProvider as S, saveRemoteAgentState as _, generatePushDaemonScript as a, writeRemoteFile as b, installEphemeralWatchdog as c, killRemoteAgent as d, listActiveRemoteAgentStates as f, refreshHostHeartbeatForEphemeralVms as g, pollRemoteAgentStatus as h, generateEphemeralWatchdogScript as i, installPushDaemon as l, loadRemoteAgentState as m, checkRemoteDurabilityPreflight as n, getRemoteAgentOutput as o, listRemoteAgents as p, checkRemoteSpendCap as r, init_remote_agents as s, assertFlyRemoteStateSupported as t, isRemoteAgentRunning as u, sendToRemoteAgent as v, init_fly_provider as w, sendToRemoteAgentKeyed as x, spawnRemoteAgent as y };
1497
1497
 
1498
- //# sourceMappingURL=remote-agents-DbbN7vSm.js.map
1498
+ //# sourceMappingURL=remote-agents-CthcZHnO.js.map
@@ -1,10 +1,10 @@
1
- import { On as resolveProjectFromIssueSync, Zt as extractTeamPrefix, fn as init_projects, tn as findProjectByTeamSync } from "./config-yaml-D60AnTIu.js";
2
- import { h as loadConfigSync, p as init_config } from "./config-NxI9Yl2f.js";
1
+ import { On as resolveProjectFromIssueSync, Zt as extractTeamPrefix, fn as init_projects, tn as findProjectByTeamSync } from "./config-yaml-Dce9VUd6.js";
2
+ import { h as loadConfigSync, p as init_config } from "./config-BUjU7GZQ.js";
3
3
  import { a as PAN_DIRNAME, i as PAN_CONTINUE_FILENAME } from "./types-pLpbsNto.js";
4
- import { t as init_pan_dir } from "./pan-dir-B4NfzOf3.js";
5
- import { r as init_workspace_manager, t as createWorkspace } from "./workspace-manager-CM8RCrSc.js";
6
- import { _ as saveRemoteAgentState, f as listActiveRemoteAgentStates, m as loadRemoteAgentState, o as getRemoteAgentOutput, s as init_remote_agents, u as isRemoteAgentRunning, v as sendToRemoteAgent } from "./remote-agents-DbbN7vSm.js";
7
- import { t as createFlyProviderFromConfig } from "./remote-xY0B43Ho.js";
4
+ import { t as init_pan_dir } from "./pan-dir-Bs9fme2I.js";
5
+ import { r as init_workspace_manager, t as createWorkspace } from "./workspace-manager-CnAyRh3v.js";
6
+ import { _ as saveRemoteAgentState, f as listActiveRemoteAgentStates, m as loadRemoteAgentState, o as getRemoteAgentOutput, s as init_remote_agents, u as isRemoteAgentRunning, v as sendToRemoteAgent } from "./remote-agents-CthcZHnO.js";
7
+ import { t as createFlyProviderFromConfig } from "./remote-C9eYHTqn.js";
8
8
  import { Effect } from "effect";
9
9
  import { existsSync, mkdirSync, statSync, unlinkSync, writeFileSync } from "fs";
10
10
  import { basename, join } from "path";
@@ -309,7 +309,7 @@ async function reapCompletedRemoteAgents(opts = {}) {
309
309
  } catch {
310
310
  details.push("No continue.json retrieved from VM (skipped)");
311
311
  }
312
- const { getAgentStateSync, saveAgentStateSync } = await import("./agents-DixZjXWm.js");
312
+ const { getAgentStateSync, saveAgentStateSync } = await import("./agents-BVvL4o_4.js");
313
313
  const existing = getAgentStateSync(agentId);
314
314
  if (existing) {
315
315
  existing.workspace = existing.workspace || workspacePath;
@@ -327,8 +327,8 @@ async function reapCompletedRemoteAgents(opts = {}) {
327
327
  startedAt: remoteState.startedAt,
328
328
  lastActivity: (/* @__PURE__ */ new Date()).toISOString()
329
329
  });
330
- const { createReviewArtifactsForIssue } = await import("./review-artifacts-DgaDlbO4.js");
331
- const { setReviewStatusSync } = await import("./review-status-Bge_3XTR.js");
330
+ const { createReviewArtifactsForIssue } = await import("./review-artifacts-DExSp5Lh.js");
331
+ const { setReviewStatusSync } = await import("./review-status-DXTFzCmR.js");
332
332
  const primaryArtifact = (await Effect.runPromise(createReviewArtifactsForIssue(issueId, workspacePath))).mergeSet?.repos.find((repo) => !!repo.artifactUrl);
333
333
  if (primaryArtifact?.artifactUrl) {
334
334
  setReviewStatusSync(issueId, { prUrl: primaryArtifact.artifactUrl });
@@ -349,7 +349,7 @@ async function reapCompletedRemoteAgents(opts = {}) {
349
349
  try {
350
350
  const fly = createFlyProviderFromConfig(loadConfigSync().remote);
351
351
  if (sessionAlive) {
352
- const { killRemoteAgent } = await import("./remote-agents-MuXx2gWm.js");
352
+ const { killRemoteAgent } = await import("./remote-agents-CEOvYsvK.js");
353
353
  await killRemoteAgent(agentId, vmName).catch(() => void 0);
354
354
  }
355
355
  await Effect.runPromise(fly.deleteVm(vmName));
@@ -357,7 +357,7 @@ async function reapCompletedRemoteAgents(opts = {}) {
357
357
  } catch (err) {
358
358
  details.push(`Warning: could not destroy machine: ${err.message}`);
359
359
  }
360
- const { deleteWorkspaceMetadataSync } = await import("./workspace-metadata-BEOwJSdK.js");
360
+ const { deleteWorkspaceMetadataSync } = await import("./workspace-metadata-ILlbk8AX.js");
361
361
  deleteWorkspaceMetadataSync(issueId);
362
362
  details.push("Removed remote workspace metadata (pipeline is local from here)");
363
363
  saveRemoteAgentState({
@@ -386,4 +386,4 @@ async function reapCompletedRemoteAgents(opts = {}) {
386
386
  //#endregion
387
387
  export { reapCompletedRemoteAgents, refreshClaudeCredentialsForActiveRemoteAgents };
388
388
 
389
- //# sourceMappingURL=remote-completion-LcWCpAm2.js.map
389
+ //# sourceMappingURL=remote-completion-D5wzZCte.js.map
@@ -1,4 +1,4 @@
1
- import { a as loadWorkspaceMetadataSync, i as listWorkspaceMetadataSync, n as deleteWorkspaceMetadataSync, o as saveWorkspaceMetadataSync, r as findRemoteWorkspaceMetadataSync, t as WORKSPACES_DIR } from "./workspace-metadata-Cu6yfxBS.js";
2
- import { C as createFlyProvider, S as FlyProvider, d as killRemoteAgent, g as refreshHostHeartbeatForEphemeralVms, h as pollRemoteAgentStatus, m as loadRemoteAgentState, o as getRemoteAgentOutput, p as listRemoteAgents, r as checkRemoteSpendCap, u as isRemoteAgentRunning, v as sendToRemoteAgent, y as spawnRemoteAgent } from "./remote-agents-DbbN7vSm.js";
3
- import { n as getRemoteProvider, r as isRemoteAvailable, t as createFlyProviderFromConfig } from "./remote-xY0B43Ho.js";
1
+ import { a as loadWorkspaceMetadataSync, i as listWorkspaceMetadataSync, n as deleteWorkspaceMetadataSync, o as saveWorkspaceMetadataSync, r as findRemoteWorkspaceMetadataSync, t as WORKSPACES_DIR } from "./workspace-metadata-Copcoih9.js";
2
+ import { C as createFlyProvider, S as FlyProvider, d as killRemoteAgent, g as refreshHostHeartbeatForEphemeralVms, h as pollRemoteAgentStatus, m as loadRemoteAgentState, o as getRemoteAgentOutput, p as listRemoteAgents, r as checkRemoteSpendCap, u as isRemoteAgentRunning, v as sendToRemoteAgent, y as spawnRemoteAgent } from "./remote-agents-CthcZHnO.js";
3
+ import { n as getRemoteProvider, r as isRemoteAvailable, t as createFlyProviderFromConfig } from "./remote-C9eYHTqn.js";
4
4
  export { FlyProvider, WORKSPACES_DIR, checkRemoteSpendCap, createFlyProvider, createFlyProviderFromConfig, deleteWorkspaceMetadataSync, findRemoteWorkspaceMetadataSync, getRemoteAgentOutput, getRemoteProvider, isRemoteAgentRunning, isRemoteAvailable, killRemoteAgent, listRemoteAgents, listWorkspaceMetadataSync, loadRemoteAgentState, loadWorkspaceMetadataSync, pollRemoteAgentStatus, refreshHostHeartbeatForEphemeralVms, saveWorkspaceMetadataSync, sendToRemoteAgent, spawnRemoteAgent };