@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
@@ -1,365 +0,0 @@
1
- import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
2
- import { Ei as SYNC_SOURCES, Ri as getOverdeckHome, p as loadConfigSync, t as init_config_yaml, zi as init_paths } from "./config-yaml-D60AnTIu.js";
3
- import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "fs";
4
- import { join } from "path";
5
- //#region ../../lib/context-layers/layers.ts
6
- /**
7
- * Context layer model (PAN-1201).
8
- *
9
- * Three layers of context compose at sync time:
10
- *
11
- * global — ~/.overdeck/context/global.md (+ global/{skills,agents}/)
12
- * Applies to every harness invocation, everywhere.
13
- * project — <projectRoot>/.overdeck/context/project.md
14
- * Applies when CWD is under a registered project. Committed.
15
- * workspace — <workspace>/.overdeck/context/workspace.md
16
- * Auto-assembled by Overdeck at spawn time. Gitignored.
17
- *
18
- * The global layer lives under ~/.overdeck (per-machine). Project and
19
- * Project and workspace context live outside the permanent state plane under
20
- * `.overdeck/`. Reads retain a `.pan/context/` compatibility fallback.
21
- */
22
- /** `~/.overdeck/context` — the global layer directory. */
23
- function globalContextDir() {
24
- return join(getOverdeckHome(), "context");
25
- }
26
- /** `~/.overdeck/context/global.md` — the global layer's canonical source. */
27
- function globalContextFile() {
28
- return join(globalContextDir(), "global.md");
29
- }
30
- /** `<projectRoot>/.overdeck/context` — a registered project's layer directory. */
31
- function projectContextDir(projectRoot) {
32
- return join(projectRoot, ".overdeck", "context");
33
- }
34
- /** `<projectRoot>/.overdeck/context/project.md` — a project's canonical source. */
35
- function projectContextFile(projectRoot) {
36
- return join(projectContextDir(projectRoot), "project.md");
37
- }
38
- function legacyProjectContextFile(projectRoot) {
39
- return join(projectRoot, ".pan", "context", "project.md");
40
- }
41
- function resolveProjectContextFile(projectRoot) {
42
- const canonical = projectContextFile(projectRoot);
43
- return existsSync(canonical) ? canonical : legacyProjectContextFile(projectRoot);
44
- }
45
- /** `<workspace>/.overdeck/context` — a workspace's layer directory. */
46
- function workspaceContextDir(workspacePath) {
47
- return join(workspacePath, ".overdeck", "context");
48
- }
49
- /** `<workspace>/.pan/context/workspace.md` — the auto-assembled bundle. */
50
- function workspaceContextFile(workspacePath) {
51
- return join(workspaceContextDir(workspacePath), "workspace.md");
52
- }
53
- function legacyWorkspaceContextFile(workspacePath) {
54
- return join(workspacePath, ".pan", "context", "workspace.md");
55
- }
56
- function resolveWorkspaceContextFile(workspacePath) {
57
- const canonical = workspaceContextFile(workspacePath);
58
- return existsSync(canonical) ? canonical : legacyWorkspaceContextFile(workspacePath);
59
- }
60
- /** `~/.overdeck/context/pi-global.md` — the rendered global layer for Pi. */
61
- function piGlobalContextFile() {
62
- return join(getOverdeckHome(), "context", "pi-global.md");
63
- }
64
- /** `~/.overdeck/context/codex-global.md` — the rendered global layer for Codex. */
65
- function codexGlobalContextFile() {
66
- return join(getOverdeckHome(), "context", "codex-global.md");
67
- }
68
- /**
69
- * Ensure a project's layer dir exists with a stub `project.md`. Idempotent.
70
- * Returns true when a file was created. Called by `pan projects add`.
71
- */
72
- function ensureProjectLayer(projectRoot) {
73
- const file = projectContextFile(projectRoot);
74
- if (existsSync(file)) return false;
75
- mkdirSync(projectContextDir(projectRoot), { recursive: true });
76
- writeFileSync(file, PROJECT_STARTER, "utf-8");
77
- return true;
78
- }
79
- /** Read a layer's canonical markdown, or '' when the file does not exist. */
80
- function readLayerContent(file) {
81
- return existsSync(file) ? readFileSync(file, "utf-8") : "";
82
- }
83
- var PROJECT_STARTER;
84
- var init_layers = __esmMin((() => {
85
- init_paths();
86
- PROJECT_STARTER = `# Project Context
87
-
88
- Context for this project specifically. \`pan sync\` renders it into the
89
- project's CLAUDE.md (and equivalents) when CWD is under this project.
90
-
91
- This file is committed to the repo; \`workspace.md\` is not.
92
- `;
93
- }));
94
- //#endregion
95
- //#region ../../lib/context-layers/harness.ts
96
- /**
97
- * Render a canonical layer body for one harness, or a union of harnesses
98
- * sharing one physical target file (e.g. AGENTS.md, read natively by both
99
- * ohmypi and kimi-code — PAN-1837 review fix: rendering AGENTS.md for
100
- * 'ohmypi' alone stripped every span authored only under
101
- * {{#harness:kimi-code}}, so Kimi-specific context never survived `pan
102
- * sync`). A span is kept when it is covered by no harness marker (always-on)
103
- * or by a marker naming any of the target harnesses; every marker is
104
- * stripped from the output. Runs of 3+ blank lines left by removed spans
105
- * collapse to a single blank line so output stays tidy.
106
- */
107
- function renderForHarness(content, harness) {
108
- const targets = new Set((Array.isArray(harness) ? harness : [harness]).map((h) => HARNESS_MARKERS[h]));
109
- const openCounts = /* @__PURE__ */ new Map();
110
- let out = "";
111
- let lastIndex = 0;
112
- const emit = (text) => {
113
- let covered = false;
114
- let anyOpen = false;
115
- for (const [name, count] of openCounts) if (count > 0) {
116
- anyOpen = true;
117
- if (targets.has(name)) covered = true;
118
- }
119
- if (!anyOpen || covered) out += text;
120
- };
121
- MARKER_RE.lastIndex = 0;
122
- let m;
123
- while ((m = MARKER_RE.exec(content)) !== null) {
124
- emit(content.slice(lastIndex, m.index));
125
- const [, kind, name] = m;
126
- const delta = kind === "#" ? 1 : -1;
127
- openCounts.set(name, (openCounts.get(name) ?? 0) + delta);
128
- lastIndex = m.index + m[0].length;
129
- }
130
- emit(content.slice(lastIndex));
131
- return out.replace(/\n{3,}/g, "\n\n");
132
- }
133
- /**
134
- * Lint a context-layer template for malformed harness blocks.
135
- *
136
- * Errors: an unclosed `{{#harness:x}}` or a stray `{{/harness:x}}` with no
137
- * matching open. Warnings: a marker naming a harness Overdeck has no
138
- * adapter for (allowed for forward compatibility, surfaced so typos —
139
- * `{{#harness:clade}}` — do not pass silently).
140
- */
141
- function validateTemplate(content) {
142
- const issues = [];
143
- const openCounts = /* @__PURE__ */ new Map();
144
- const seen = /* @__PURE__ */ new Set();
145
- MARKER_RE.lastIndex = 0;
146
- let m;
147
- while ((m = MARKER_RE.exec(content)) !== null) {
148
- const [, kind, name] = m;
149
- seen.add(name);
150
- if (kind === "#") openCounts.set(name, (openCounts.get(name) ?? 0) + 1);
151
- else {
152
- const next = (openCounts.get(name) ?? 0) - 1;
153
- openCounts.set(name, next);
154
- if (next < 0) issues.push({
155
- severity: "error",
156
- message: `stray closing marker {{/harness:${name}}} with no matching {{#harness:${name}}}`
157
- });
158
- }
159
- }
160
- for (const [name, count] of openCounts) if (count > 0) issues.push({
161
- severity: "error",
162
- message: `unclosed block: {{#harness:${name}}} opened ${count} time(s) without a matching {{/harness:${name}}}`
163
- });
164
- for (const name of seen) if (!KNOWN_HARNESS_MARKERS.has(name)) issues.push({
165
- severity: "warning",
166
- message: `unknown harness "${name}" — Overdeck ships adapters for: ${[...KNOWN_HARNESS_MARKERS].join(", ")}`
167
- });
168
- return {
169
- ok: !issues.some((i) => i.severity === "error"),
170
- issues
171
- };
172
- }
173
- var HARNESS_MARKERS, KNOWN_HARNESS_MARKERS, MARKER_RE;
174
- var init_harness = __esmMin((() => {
175
- HARNESS_MARKERS = {
176
- "claude-code": "claude",
177
- ohmypi: "ohmypi",
178
- codex: "codex",
179
- acp: "acp",
180
- "kimi-code": "kimi-code"
181
- };
182
- KNOWN_HARNESS_MARKERS = new Set([
183
- "claude",
184
- "pi",
185
- "ohmypi",
186
- "codex",
187
- "acp",
188
- "kimi-code"
189
- ]);
190
- MARKER_RE = /\{\{([#/])harness:([a-zA-Z0-9_-]+)\}\}/g;
191
- }));
192
- //#endregion
193
- //#region ../../lib/context-layers/rules.ts
194
- /**
195
- * Bundled engineering rules (PAN-1201).
196
- *
197
- * Overdeck ships a small set of engineering rules under sync-sources/rules/.
198
- * Each rule carries a `scope:` frontmatter key:
199
- *
200
- * universal — distributed everywhere (relevant to anyone running agents)
201
- * dev — distributed only on a overdeck checkout (rules about
202
- * developing Overdeck itself)
203
- *
204
- * `pan sync` folds the applicable rules into the rendered global CLAUDE.md.
205
- * Their `paths:` frontmatter (Claude Code path-scoping) is dropped on fold —
206
- * a folded rule is always-on.
207
- */
208
- /**
209
- * Parse a rule file into `{ scope, body }`. Rules with no frontmatter, or
210
- * frontmatter without a recognised `scope:`, default to `universal`.
211
- */
212
- function parseRule(name, raw) {
213
- const m = FRONTMATTER_RE.exec(raw);
214
- let scope = "universal";
215
- let body = raw;
216
- if (m) {
217
- body = raw.slice(m[0].length);
218
- const value = m[1].split(/\r?\n/).find((l) => /^\s*scope\s*:/.test(l))?.split(":")[1]?.trim().replace(/['"]/g, "");
219
- if (value === "dev" || value === "universal") scope = value;
220
- }
221
- return {
222
- name,
223
- scope,
224
- body: body.trim()
225
- };
226
- }
227
- /** Read every bundled rule from sync-sources/rules/, sorted by name. */
228
- function readBundledRules() {
229
- const dir = SYNC_SOURCES.rules;
230
- if (!existsSync(dir)) return [];
231
- return readdirSync(dir).filter((f) => f.endsWith(".md")).sort().map((f) => parseRule(f.replace(/\.md$/, ""), readFileSync(join(dir, f), "utf-8")));
232
- }
233
- /**
234
- * Rule names switched off via `context.rules: { <name>: false }` in
235
- * config.yaml. Absent keys and `true` mean the rule stays on, so a bundled
236
- * rule is default-on and the map only ever lists opt-outs.
237
- */
238
- function disabledRuleNames(context) {
239
- return new Set(Object.entries(context?.rules ?? {}).filter(([, enabled]) => enabled === false).map(([name]) => name));
240
- }
241
- /**
242
- * Render the applicable bundled rules into one CLAUDE.md section.
243
- *
244
- * `includeDev` admits `scope: dev` rules — set it from `isDevMode()` so they
245
- * only fold in on a overdeck checkout. `disabled` names rules switched off in
246
- * config (see {@link disabledRuleNames}); callers that render for real
247
- * distribution or preview must pass it so both surfaces agree. Each rule body
248
- * is rendered for the target harness so any `{{#harness:*}}` blocks resolve.
249
- * Returns '' when no rules apply.
250
- */
251
- function renderBundledRules(harness, includeDev, disabled = /* @__PURE__ */ new Set()) {
252
- const sections = readBundledRules().filter((r) => (includeDev || r.scope === "universal") && !disabled.has(r.name)).map((r) => renderForHarness(r.body, harness).trim()).filter((s) => s.length > 0);
253
- if (sections.length === 0) return "";
254
- return `## Overdeck Engineering Rules\n\n${sections.join("\n\n")}`;
255
- }
256
- var FRONTMATTER_RE;
257
- var init_rules = __esmMin((() => {
258
- init_paths();
259
- init_harness();
260
- FRONTMATTER_RE = /^---\r?\n([\s\S]*?)\r?\n---\r?\n?/;
261
- }));
262
- //#endregion
263
- //#region ../../lib/context-layers/render.ts
264
- /** True when `existing` already contains a Overdeck-managed region. */
265
- function hasManagedRegion(existing) {
266
- const beginIdx = existing.indexOf(REGION_BEGIN);
267
- const endIdx = existing.indexOf(REGION_END);
268
- return beginIdx !== -1 && endIdx !== -1 && endIdx > beginIdx;
269
- }
270
- /**
271
- * Return `existing` with the Overdeck-managed region removed — i.e. only the
272
- * hand-authored content the user owns, trimmed. When there is no region, the
273
- * whole (trimmed) file is the user's. Used to decide whether a target file has
274
- * pre-existing content worth preserving and backing up before first injection.
275
- */
276
- function userContentOutsideRegion(existing) {
277
- const beginIdx = existing.indexOf(REGION_BEGIN);
278
- const endIdx = existing.lastIndexOf(REGION_END);
279
- if (beginIdx !== -1 && endIdx !== -1 && endIdx > beginIdx) return (existing.slice(0, beginIdx) + existing.slice(endIdx + 29)).trim();
280
- return existing.trim();
281
- }
282
- /**
283
- * Render the global layer for one harness: `global.md` rendered, with the
284
- * applicable bundled engineering rules folded in below it.
285
- *
286
- * The result is the *managed content* — caller wraps it via
287
- * {@link applyManagedRegion} when writing the harness's CLAUDE.md.
288
- */
289
- function renderGlobalLayer(harness, includeDevRules) {
290
- return [renderForHarness(readLayerContent(globalContextFile()), harness).trim(), renderBundledRules(harness, includeDevRules, configDisabledRuleNames())].filter((s) => s.length > 0).join("\n\n---\n\n");
291
- }
292
- /** Resolve the config-disabled bundled-rule names; a broken config disables nothing. */
293
- function configDisabledRuleNames() {
294
- try {
295
- return disabledRuleNames(loadConfigSync().config.context);
296
- } catch {
297
- return /* @__PURE__ */ new Set();
298
- }
299
- }
300
- /**
301
- * Render a project layer for one harness, or a union of harnesses sharing
302
- * one physical target file. Returns '' when the project has no
303
- * `project.md` — sync then leaves that project's CLAUDE.md/AGENTS.md alone.
304
- */
305
- function renderProjectLayer(projectRoot, harness) {
306
- const raw = readLayerContent(resolveProjectContextFile(projectRoot));
307
- if (raw.trim().length === 0) return "";
308
- return renderForHarness(raw, harness).trim();
309
- }
310
- var REGION_BEGIN, REGION_END;
311
- var init_render = __esmMin((() => {
312
- init_config_yaml();
313
- init_harness();
314
- init_rules();
315
- init_layers();
316
- REGION_BEGIN = "<!-- BEGIN OVERDECK CONTEXT — managed by `pan sync`; edit the layer source, not this region -->";
317
- REGION_END = "<!-- END OVERDECK CONTEXT -->";
318
- }));
319
- //#endregion
320
- //#region ../../lib/context-layers/assemble.ts
321
- function removeMarkedProjectLayer(content) {
322
- const start = content.indexOf(PROJECT_LAYER_START);
323
- if (start < 0) return null;
324
- const markerEnd = content.indexOf("-->", start + 33);
325
- if (markerEnd < 0) return null;
326
- const marker = content.slice(start, markerEnd + 3);
327
- const lengthMatch = /\schars=(\d+)\s-->$/.exec(marker);
328
- if (!lengthMatch) return null;
329
- const projectEnd = markerEnd + 4 + Number(lengthMatch[1]);
330
- if (content[markerEnd + 3] !== "\n") return null;
331
- if (content.slice(projectEnd, projectEnd + 1 + 35) !== `\n<!-- overdeck:project-layer:end -->`) return null;
332
- const end = projectEnd + 1;
333
- let before = content.slice(0, start);
334
- let after = content.slice(end + 35);
335
- if (before.endsWith(SECTION_SEPARATOR) && after.startsWith(SECTION_SEPARATOR)) before = before.slice(0, -7);
336
- else if (before.endsWith(SECTION_SEPARATOR)) before = before.slice(0, -7);
337
- else if (after.startsWith(SECTION_SEPARATOR)) after = after.slice(7);
338
- return `${before}${after}`.trim();
339
- }
340
- /**
341
- * Remove the project layer embedded in a workspace bundle.
342
- *
343
- * New bundles carry reserved structural markers, so project Markdown can contain
344
- * horizontal rules without becoming ambiguous. Legacy bundles predate those
345
- * markers; their only safely identifiable workspace-owned section is the
346
- * generated header before the first top-level separator. Keeping that header is
347
- * preferable to forwarding an unknown amount of stale, harness-specific text.
348
- */
349
- function workspaceContextWithoutProjectLayer(content) {
350
- const marked = removeMarkedProjectLayer(content);
351
- if (marked !== null) return marked;
352
- const firstSeparator = content.indexOf(SECTION_SEPARATOR);
353
- return (firstSeparator < 0 ? content : content.slice(0, firstSeparator)).trim();
354
- }
355
- var SECTION_SEPARATOR, PROJECT_LAYER_START, PROJECT_LAYER_END;
356
- var init_assemble = __esmMin((() => {
357
- init_render();
358
- SECTION_SEPARATOR = "\n\n---\n\n";
359
- PROJECT_LAYER_START = "<!-- overdeck:project-layer:start";
360
- PROJECT_LAYER_END = "<!-- overdeck:project-layer:end -->";
361
- }));
362
- //#endregion
363
- export { piGlobalContextFile as A, codexGlobalContextFile as C, init_layers as D, globalContextFile as E, resolveWorkspaceContextFile as F, workspaceContextDir as I, workspaceContextFile as L, projectContextFile as M, readLayerContent as N, legacyProjectContextFile as O, resolveProjectContextFile as P, PROJECT_STARTER as S, globalContextDir as T, HARNESS_MARKERS as _, REGION_BEGIN as a, renderForHarness as b, hasManagedRegion as c, renderProjectLayer as d, userContentOutsideRegion as f, renderBundledRules as g, readBundledRules as h, workspaceContextWithoutProjectLayer as i, projectContextDir as j, legacyWorkspaceContextFile as k, init_render as l, parseRule as m, PROJECT_LAYER_START as n, REGION_END as o, init_rules as p, init_assemble as r, configDisabledRuleNames as s, PROJECT_LAYER_END as t, renderGlobalLayer as u, KNOWN_HARNESS_MARKERS as v, ensureProjectLayer as w, validateTemplate as x, init_harness as y };
364
-
365
- //# sourceMappingURL=assemble-B_JgnCbG.js.map
@@ -1,2 +0,0 @@
1
- import { t as getBuildInfo } from "./build-info-WuZT6xyi.js";
2
- export { getBuildInfo };
@@ -1,2 +0,0 @@
1
- import { t as createResetMarker } from "./cli-CoQou1t_.js";
2
- export { createResetMarker };
@@ -1,37 +0,0 @@
1
- import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
2
- import { li as init_errors, zi as init_paths } from "./config-yaml-D60AnTIu.js";
3
- import { D as init_layers, l as init_render, p as init_rules, r as init_assemble } from "./assemble-B_JgnCbG.js";
4
- import "effect";
5
- import "fs";
6
- import "path";
7
- import "os";
8
- //#region ../../lib/backup.ts
9
- var init_backup = __esmMin((() => {
10
- init_paths();
11
- init_errors();
12
- }));
13
- //#endregion
14
- //#region ../../lib/context-layers/legacy-beads-cleanup.ts
15
- var init_legacy_beads_cleanup = __esmMin((() => {
16
- init_backup();
17
- init_render();
18
- }));
19
- //#endregion
20
- //#region ../../lib/context-layers/migrate.ts
21
- var init_migrate = __esmMin((() => {
22
- init_layers();
23
- }));
24
- //#endregion
25
- //#region ../../lib/context-layers/index.ts
26
- var init_context_layers = __esmMin((() => {
27
- init_layers();
28
- init_rules();
29
- init_render();
30
- init_assemble();
31
- init_legacy_beads_cleanup();
32
- init_migrate();
33
- }));
34
- //#endregion
35
- export { init_context_layers as t };
36
-
37
- //# sourceMappingURL=context-layers-CdpabJj0.js.map
@@ -1,4 +0,0 @@
1
- import { A as piGlobalContextFile, C as codexGlobalContextFile } from "./assemble-B_JgnCbG.js";
2
- import { t as init_context_layers } from "./context-layers-CdpabJj0.js";
3
- init_context_layers();
4
- export { codexGlobalContextFile, piGlobalContextFile };
@@ -1,3 +0,0 @@
1
- import { i as computeContextUsage, t as init_conversation_service, u as findLastCompactBoundary } from "./conversation-service-BxIOd5ay.js";
2
- init_conversation_service();
3
- export { computeContextUsage, findLastCompactBoundary };
@@ -1,3 +0,0 @@
1
- import { A as init_conversations, P as listConversations } from "./conversations-nS6QgYpD.js";
2
- init_conversations();
3
- export { listConversations };
@@ -1,2 +0,0 @@
1
- import { t as recordDeadEndNeedsYou } from "./dead-end-trip-Bs3hxIn6.js";
2
- export { recordDeadEndNeedsYou };
@@ -1,3 +0,0 @@
1
- import { ar as deliverAgentMessage, lr as init_delivery } from "./agent-state-FABw8neJ.js";
2
- init_delivery();
3
- export { deliverAgentMessage };
@@ -1,2 +0,0 @@
1
- import { i as recordDeployIntent } from "./deploy-queue-CCGWXFkp.js";
2
- export { recordDeployIntent };
@@ -1,2 +0,0 @@
1
- import { n as getForgeAdapter } from "./forge-CHADjOFs.js";
2
- export { getForgeAdapter };
@@ -1,3 +0,0 @@
1
- import { i as init_hume, r as deleteHumeConfig } from "./hume-1FJmNDTq.js";
2
- init_hume();
3
- export { deleteHumeConfig };
@@ -1,2 +0,0 @@
1
- import { n as onInspectComplete } from "./inspect-agent-CCfNJjKr.js";
2
- export { onInspectComplete };
@@ -1,3 +0,0 @@
1
- import { d as kimiSessionsRoot, g as writeKimiSessionId, h as withKimiSessionCaptureLock, l as init_kimi_code, m as waitForNewKimiSessionAsync, o as findKimiWirePathAsync } from "./kimi-code-CNYRA8Dd.js";
2
- init_kimi_code();
3
- export { findKimiWirePathAsync, kimiSessionsRoot, waitForNewKimiSessionAsync, withKimiSessionCaptureLock, writeKimiSessionId };