@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,581 +0,0 @@
1
- import { n as __esmMin } from "./rolldown-runtime-DNCzzKnI.js";
2
- import { Ri as getOverdeckHome, zi as init_paths } from "./config-yaml-D60AnTIu.js";
3
- import { n as init_fs_lock, r as isPidDead } from "./fs-lock-DQ_gUxfq.js";
4
- import { C as init_tmux, v as getManagedTmuxSocketName } from "./tmux-wnT_hg-s.js";
5
- import { c as getRuntimeBehavior } from "./src-CdwN6WY6.js";
6
- import { t as init_behavior } from "./behavior-DCg8CIWC.js";
7
- import { A as saveAgentStateSync, Di as writePtyToken, Ei as init_pty_token, Oi as init_pty_supervisor_locate, _ as init_agent_state, _n as listAgentStates, ar as deliverAgentMessage, g as getAgentStateSync, gn as init_queries, ki as resolvePtySupervisorScriptPath, lr as init_delivery } from "./agent-state-FABw8neJ.js";
8
- import { C as generateLauncherScriptSync, w as init_launcher_generator } from "./auto-spawn-consent-BesWchEi.js";
9
- import { _ as tmuxKillSession, g as tmuxCreateSession, h as init_tmux_cli, v as tmuxSessionExists } from "./codex-DYyZL8JD.js";
10
- import { i as prepareHarnessLaunch, r as init_harness_binary } from "./harness-binary-DChiynaB.js";
11
- import { n as parseKimiSessionSync, t as init_kimi_parser } from "./kimi-parser-OcWwmOqF.js";
12
- import { basename, dirname, join } from "node:path";
13
- import { homedir } from "node:os";
14
- import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
15
- import { mkdir, readFile, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
16
- import { createHash } from "node:crypto";
17
- import { exec } from "node:child_process";
18
- import { promisify } from "node:util";
19
- //#region ../../lib/runtimes/kimi-code.ts
20
- /**
21
- * Kimi Code CLI runtime adapter (PAN-1837).
22
- *
23
- * Native TUI — not ACP. Kimi writes its own session tree at
24
- * `<kimiHome>/sessions/<workDirKey>/<sessionId>/agents/main/wire.jsonl`,
25
- * where `workDirKey = wd_<basename(workDir)>_<sha256(workDir).hex[:12]>`
26
- * (verified empirically against installed kimi 0.29.2, wi-fixture/D2 — Kimi
27
- * does not expose this derivation directly). Kimi generates its own session
28
- * id; it cannot be preset via a launch flag (D2/erratum E1: no --session, no
29
- * --work-dir). The id is captured post-launch as the session directory that
30
- * newly appears under the workspace's bucket, then persisted at
31
- * `~/.overdeck/agents/<id>/kimi-session-id` (mirrors codex's thread-id file)
32
- * so later introspection calls avoid re-walking the bucket.
33
- *
34
- * Delivery: PTY supervisor is primary (KIMI_CODE_BEHAVIOR.supportsPtySupervisor
35
- * is true, same as claude-code). sendMessage delegates to the existing generic
36
- * deliverAgentMessage() cascade (supervisor -> channels -> async tmux paste)
37
- * rather than re-implementing that tiering here — deliverAgentMessage already
38
- * dispatches on socket existence, not a hardcoded harness list, so kimi-code
39
- * flows through it for free once its PTY supervisor socket exists.
40
- *
41
- * getTokenUsage/getSessionCost delegate to wi8b's parseKimiSessionSync,
42
- * which sums every usage.record in the wire.jsonl — Kimi's own server-side
43
- * context cache accounting.
44
- */
45
- /**
46
- * Compute Kimi's on-disk workDirKey bucket name for a working directory.
47
- * Verified against `wd_kimi-fixture-scratch_ef33f89ad7cf` (workDir
48
- * `/tmp/kimi-fixture-scratch`) and several pre-existing real sessions on the
49
- * machine that produced the wi-fixture capture (e.g.
50
- * `wd_overdeck_b289e7acb782`, `wd_feature-pan-2858_1dc66dc5021d`).
51
- */
52
- function kimiWorkDirKey(workDir) {
53
- const hash = createHash("sha256").update(workDir).digest("hex").slice(0, 12);
54
- return `wd_${basename(workDir)}_${hash}`;
55
- }
56
- /** Absolute path to the session bucket Kimi writes for a working directory. */
57
- function kimiSessionsRoot(kimiHome, workDir) {
58
- return join(kimiHome, "sessions", kimiWorkDirKey(workDir));
59
- }
60
- /**
61
- * Locate wire.jsonl for a specific captured session id under the workspace's
62
- * bucket. Falls back to the newest session directory when the captured id's
63
- * wire.jsonl is missing (e.g. never captured, or the id file is stale).
64
- */
65
- function findKimiWirePath(kimiHome, workspace, sessionId) {
66
- if (sessionId) {
67
- const candidate = join(kimiSessionsRoot(kimiHome, workspace), sessionId, "agents", "main", "wire.jsonl");
68
- if (existsSync(candidate)) return candidate;
69
- }
70
- return findLatestKimiSession(kimiHome, workspace);
71
- }
72
- /** Fallback: the newest session directory by wire.jsonl mtime under the workspace's bucket. */
73
- function findLatestKimiSession(kimiHome, workspace) {
74
- const bucketDir = kimiSessionsRoot(kimiHome, workspace);
75
- let entries;
76
- try {
77
- entries = readdirSync(bucketDir);
78
- } catch {
79
- return null;
80
- }
81
- let newest = null;
82
- for (const entry of entries) {
83
- const wirePath = join(bucketDir, entry, "agents", "main", "wire.jsonl");
84
- let mtimeMs;
85
- try {
86
- mtimeMs = statSync(wirePath).mtimeMs;
87
- } catch {
88
- continue;
89
- }
90
- if (!newest || mtimeMs > newest.mtimeMs) newest = {
91
- path: wirePath,
92
- mtimeMs
93
- };
94
- }
95
- return newest?.path ?? null;
96
- }
97
- /**
98
- * Async twin of {@link findKimiWirePath} (PAN-1837 review fix, P2). The
99
- * dashboard's transcript resolver runs on the event loop and Command Deck
100
- * polling re-resolves the same session repeatedly, so the sync
101
- * readdirSync/statSync walk here would block the loop on every poll as a
102
- * session's history grows. Runtime-side sync callers (kill/spawn lifecycle)
103
- * keep using the sync versions above — this pair exists only for dashboard
104
- * routes, per the runtime's own documented sync contract.
105
- */
106
- async function findKimiWirePathAsync(kimiHome, workspace, sessionId) {
107
- if (sessionId) {
108
- const candidate = join(kimiSessionsRoot(kimiHome, workspace), sessionId, "agents", "main", "wire.jsonl");
109
- try {
110
- await stat(candidate);
111
- return candidate;
112
- } catch {}
113
- }
114
- return findLatestKimiSessionAsync(kimiHome, workspace);
115
- }
116
- /** Async twin of {@link findLatestKimiSession} — see {@link findKimiWirePathAsync}. */
117
- async function findLatestKimiSessionAsync(kimiHome, workspace) {
118
- const bucketDir = kimiSessionsRoot(kimiHome, workspace);
119
- let entries;
120
- try {
121
- entries = await readdir(bucketDir);
122
- } catch {
123
- return null;
124
- }
125
- let newest = null;
126
- for (const entry of entries) {
127
- const wirePath = join(bucketDir, entry, "agents", "main", "wire.jsonl");
128
- let mtimeMs;
129
- try {
130
- mtimeMs = (await stat(wirePath)).mtimeMs;
131
- } catch {
132
- continue;
133
- }
134
- if (!newest || mtimeMs > newest.mtimeMs) newest = {
135
- path: wirePath,
136
- mtimeMs
137
- };
138
- }
139
- return newest?.path ?? null;
140
- }
141
- function kimiHomeDefault() {
142
- return join(homedir(), ".kimi-code");
143
- }
144
- /**
145
- * Poll a workspace's Kimi session bucket for a directory that did not exist
146
- * in `existingBefore`, returning the newest such directory's name (the
147
- * session id) once one appears. Standalone so both KimiCodeRuntimeSync.spawnAgent
148
- * and the production `pan start` spawn path (spawn-prep.ts, which builds its
149
- * own launcher/tmux session rather than delegating to this class) can capture
150
- * the session id the same way — mirroring codex's standalone
151
- * waitForCodexRollout/extractThreadIdFromRollout pair.
152
- */
153
- async function waitForNewKimiSession(kimiHome, workspace, existingBefore, timeoutMs = SPAWN_READY_TIMEOUT_MS) {
154
- const bucketDir = kimiSessionsRoot(kimiHome, workspace);
155
- const deadline = Date.now() + timeoutMs;
156
- while (Date.now() < deadline) {
157
- let entries = [];
158
- try {
159
- entries = readdirSync(bucketDir);
160
- } catch {
161
- entries = [];
162
- }
163
- const fresh = entries.filter((entry) => !existingBefore.has(entry));
164
- if (fresh.length > 0) {
165
- let newest = null;
166
- for (const name of fresh) {
167
- let mtimeMs;
168
- try {
169
- mtimeMs = statSync(join(bucketDir, name)).mtimeMs;
170
- } catch {
171
- continue;
172
- }
173
- if (!newest || mtimeMs > newest.mtimeMs) newest = {
174
- name,
175
- mtimeMs
176
- };
177
- }
178
- if (newest) return newest.name;
179
- }
180
- await delay(POLL_INTERVAL_MS);
181
- }
182
- return null;
183
- }
184
- /**
185
- * Async twin of {@link waitForNewKimiSession} (PAN-1837 review fix, P2). The
186
- * conversation-spawn capture task runs on the dashboard event loop, so its
187
- * 250ms poll loop must not block on readdirSync/statSync — runtime-side sync
188
- * callers (kill/spawn lifecycle) keep the sync version above.
189
- */
190
- async function waitForNewKimiSessionAsync(kimiHome, workspace, existingBefore, timeoutMs = SPAWN_READY_TIMEOUT_MS) {
191
- const bucketDir = kimiSessionsRoot(kimiHome, workspace);
192
- const deadline = Date.now() + timeoutMs;
193
- while (Date.now() < deadline) {
194
- let entries = [];
195
- try {
196
- entries = await readdir(bucketDir);
197
- } catch {
198
- entries = [];
199
- }
200
- const fresh = entries.filter((entry) => !existingBefore.has(entry));
201
- if (fresh.length > 0) {
202
- let newest = null;
203
- for (const name of fresh) {
204
- let mtimeMs;
205
- try {
206
- mtimeMs = (await stat(join(bucketDir, name))).mtimeMs;
207
- } catch {
208
- continue;
209
- }
210
- if (!newest || mtimeMs > newest.mtimeMs) newest = {
211
- name,
212
- mtimeMs
213
- };
214
- }
215
- if (newest) return newest.name;
216
- }
217
- await delay(POLL_INTERVAL_MS);
218
- }
219
- return null;
220
- }
221
- /** Persist the captured session id to `<overdeckHome>/agents/<id>/kimi-session-id` (mirrors codex's thread-id file). */
222
- function writeKimiSessionId(agentId, sessionId, overdeckHome = getOverdeckHome()) {
223
- writeFileSync(join(overdeckHome, "agents", agentId, "kimi-session-id"), sessionId, "utf-8");
224
- }
225
- /** Deterministic, filesystem-safe lock path for a Kimi session bucket. */
226
- function kimiCaptureLockPath(bucketKey) {
227
- const hash = createHash("sha256").update(bucketKey).digest("hex").slice(0, 24);
228
- return join(getOverdeckHome(), "locks", "kimi-capture", `${hash}.lock`);
229
- }
230
- async function readKimiCaptureLockOwner(lockPath) {
231
- try {
232
- const parsed = JSON.parse(await readFile(join(lockPath, "owner.json"), "utf8"));
233
- if (typeof parsed.pid !== "number" || !Number.isInteger(parsed.pid) || parsed.pid <= 0) return {};
234
- return parsed;
235
- } catch {
236
- return {};
237
- }
238
- }
239
- /**
240
- * True once the lock directory itself (not owner.json) is older than the
241
- * stale-age bound. mkdir sets this directory's mtime at creation, and it is
242
- * never touched again once owner.json (a fresh directory entry) — if ever
243
- * written — settles, so this is trustworthy even when owner.json itself
244
- * never made it to disk.
245
- */
246
- async function isKimiCaptureLockDirStale(lockPath) {
247
- try {
248
- const dirStat = await stat(lockPath);
249
- return Date.now() - dirStat.mtimeMs > KIMI_CAPTURE_LOCK_STALE_AGE_MS;
250
- } catch {
251
- return true;
252
- }
253
- }
254
- async function acquireKimiCaptureLock(lockPath) {
255
- await mkdir(dirname(lockPath), {
256
- recursive: true,
257
- mode: 448
258
- });
259
- const deadline = Date.now() + KIMI_CAPTURE_LOCK_MAX_WAIT_MS;
260
- for (;;) {
261
- try {
262
- await mkdir(lockPath, { mode: 448 });
263
- const owner = {
264
- pid: process.pid,
265
- acquiredAt: (/* @__PURE__ */ new Date()).toISOString()
266
- };
267
- const tmpPath = join(lockPath, `owner.${process.pid}.${Date.now()}.tmp`);
268
- try {
269
- await writeFile(tmpPath, JSON.stringify(owner, null, 2), "utf8");
270
- await rename(tmpPath, join(lockPath, "owner.json"));
271
- } catch (error) {
272
- try {
273
- await rm(tmpPath, { force: true });
274
- } catch {}
275
- try {
276
- await rm(lockPath, {
277
- recursive: true,
278
- force: true
279
- });
280
- } catch {}
281
- throw error;
282
- }
283
- return;
284
- } catch (error) {
285
- if (error.code !== "EEXIST") throw error;
286
- const owner = await readKimiCaptureLockOwner(lockPath);
287
- if (owner.pid !== void 0) {
288
- if (isPidDead(owner.pid)) {
289
- await rm(lockPath, {
290
- recursive: true,
291
- force: true
292
- });
293
- continue;
294
- }
295
- } else if (await isKimiCaptureLockDirStale(lockPath)) {
296
- await rm(lockPath, {
297
- recursive: true,
298
- force: true
299
- });
300
- continue;
301
- }
302
- }
303
- if (Date.now() >= deadline) throw new KimiCaptureLockTimeoutError(lockPath, KIMI_CAPTURE_LOCK_MAX_WAIT_MS);
304
- await delay(KIMI_CAPTURE_LOCK_POLL_MS);
305
- }
306
- }
307
- async function releaseKimiCaptureLock(lockPath) {
308
- await rm(lockPath, {
309
- recursive: true,
310
- force: true
311
- });
312
- }
313
- async function withKimiSessionCaptureLock(kimiHome, workspace, fn) {
314
- const lockPath = kimiCaptureLockPath(kimiSessionsRoot(kimiHome, workspace));
315
- await acquireKimiCaptureLock(lockPath);
316
- try {
317
- return await fn();
318
- } finally {
319
- await releaseKimiCaptureLock(lockPath);
320
- }
321
- }
322
- function delay(ms) {
323
- return new Promise((resolve) => setTimeout(resolve, ms));
324
- }
325
- function shellQuote(value) {
326
- return `'${value.replace(/'/g, `'\\''`)}'`;
327
- }
328
- async function pollUntilSessionGone(agentId, timeoutMs) {
329
- const deadline = Date.now() + timeoutMs;
330
- while (Date.now() < deadline) {
331
- if (!await tmuxSessionExists(agentId)) return true;
332
- await delay(POLL_INTERVAL_MS);
333
- }
334
- return false;
335
- }
336
- function createKimiCodeRuntimeSync(options = {}) {
337
- return new KimiCodeRuntimeSync(options);
338
- }
339
- var execAsync, SPAWN_READY_TIMEOUT_MS, POLL_INTERVAL_MS, KimiCodeSpawnTimeout, KIMI_CAPTURE_LOCK_POLL_MS, KIMI_CAPTURE_LOCK_MAX_WAIT_MS, KIMI_CAPTURE_LOCK_STALE_AGE_MS, KimiCaptureLockTimeoutError, KimiCodeRuntimeSync;
340
- var init_kimi_code = __esmMin((() => {
341
- init_tmux();
342
- init_agent_state();
343
- init_queries();
344
- init_delivery();
345
- init_pty_supervisor_locate();
346
- init_pty_token();
347
- init_launcher_generator();
348
- init_harness_binary();
349
- init_kimi_parser();
350
- init_paths();
351
- init_fs_lock();
352
- init_behavior();
353
- init_tmux_cli();
354
- execAsync = promisify(exec);
355
- SPAWN_READY_TIMEOUT_MS = 6e4;
356
- POLL_INTERVAL_MS = 250;
357
- KimiCodeSpawnTimeout = class extends Error {
358
- code = "KIMI_CODE_SPAWN_TIMEOUT";
359
- constructor(agentId) {
360
- super(`Kimi Code agent ${agentId} did not write a new session under its workDirKey bucket within ${SPAWN_READY_TIMEOUT_MS}ms`);
361
- this.name = "KimiCodeSpawnTimeout";
362
- }
363
- };
364
- KIMI_CAPTURE_LOCK_POLL_MS = 250;
365
- KIMI_CAPTURE_LOCK_MAX_WAIT_MS = 9e4;
366
- KIMI_CAPTURE_LOCK_STALE_AGE_MS = 75e3;
367
- KimiCaptureLockTimeoutError = class extends Error {
368
- constructor(lockPath, waitedMs) {
369
- super(`Timed out after ${waitedMs}ms waiting for the Kimi session-capture lock at ${lockPath} — another process is still holding it.`);
370
- this.name = "KimiCaptureLockTimeoutError";
371
- }
372
- };
373
- KimiCodeRuntimeSync = class {
374
- name = "kimi-code";
375
- overdeckHomeOverride;
376
- kimiHomeOverride;
377
- execCommand;
378
- prepareLaunch;
379
- resolveAgentStates;
380
- deliverMessage;
381
- resolveSupervisorScriptPath;
382
- writePtyTokenFor;
383
- constructor(options = {}) {
384
- this.overdeckHomeOverride = options.overdeckHome;
385
- this.kimiHomeOverride = options.kimiHome;
386
- this.execCommand = options.execCommand ?? (async (command) => execAsync(command));
387
- this.prepareLaunch = options.prepareLaunch ?? (() => prepareHarnessLaunch("kimi-code"));
388
- this.resolveAgentStates = options.listAgentStates ?? (() => listAgentStates());
389
- this.deliverMessage = options.deliverMessage ?? ((agentId, message) => deliverAgentMessage(agentId, message, "runtime:kimi-code"));
390
- this.resolveSupervisorScriptPath = options.resolveSupervisorScriptPath ?? resolvePtySupervisorScriptPath;
391
- this.writePtyTokenFor = options.writePtyTokenFor ?? writePtyToken;
392
- }
393
- getHarnessBehavior() {
394
- return getRuntimeBehavior("kimi-code");
395
- }
396
- getSessionPath(agentId) {
397
- const workspace = this.workspaceFor(agentId);
398
- if (!workspace) return null;
399
- return findKimiWirePath(this.kimiHome(), workspace, this.readSessionId(agentId));
400
- }
401
- getLastActivity(agentId) {
402
- const path = this.getSessionPath(agentId);
403
- if (!path) return null;
404
- try {
405
- return statSync(path).mtime;
406
- } catch {
407
- return null;
408
- }
409
- }
410
- getHeartbeat(agentId) {
411
- const lastActivity = this.getLastActivity(agentId);
412
- if (!lastActivity) return null;
413
- return {
414
- timestamp: lastActivity,
415
- agentId,
416
- source: "jsonl",
417
- confidence: "medium"
418
- };
419
- }
420
- getTokenUsage(agentId) {
421
- const path = this.getSessionPath(agentId);
422
- if (!path) return null;
423
- return parseKimiSessionSync(path)?.usage ?? null;
424
- }
425
- getSessionCost(agentId) {
426
- const path = this.getSessionPath(agentId);
427
- if (!path) return null;
428
- const parsed = parseKimiSessionSync(path);
429
- if (!parsed) return null;
430
- return {
431
- inputCost: 0,
432
- outputCost: 0,
433
- cacheReadCost: 0,
434
- cacheWriteCost: 0,
435
- totalCost: parsed.cost_v2 ?? parsed.cost ?? 0,
436
- currency: "USD"
437
- };
438
- }
439
- async sendMessage(agentId, message) {
440
- const result = await this.deliverMessage(agentId, message);
441
- if (!result.ok) throw new Error(`Kimi Code agent ${agentId}: message delivery failed${result.failure ? ` (${result.failure})` : ""}`);
442
- }
443
- async killAgent(agentId) {
444
- try {
445
- await this.execCommand(`tmux -L ${shellQuote(getManagedTmuxSocketName())} send-keys -t ${shellQuote(agentId)} C-c 2>/dev/null || true`);
446
- } catch {}
447
- if (await pollUntilSessionGone(agentId, 2e3)) return;
448
- let panePid = null;
449
- try {
450
- const { stdout } = await this.execCommand(`tmux -L ${shellQuote(getManagedTmuxSocketName())} list-panes -t ${shellQuote(agentId)} -F '#{pane_pid}' 2>/dev/null`);
451
- panePid = stdout.trim() || null;
452
- if (panePid) await this.execCommand(`kill -TERM -- -${panePid} 2>/dev/null || kill -TERM ${panePid} 2>/dev/null || true`);
453
- } catch {}
454
- if (await pollUntilSessionGone(agentId, 5e3)) return;
455
- if (panePid) try {
456
- await this.execCommand(`kill -KILL -- -${panePid} 2>/dev/null || kill -KILL ${panePid} 2>/dev/null || true`);
457
- } catch {}
458
- if (await tmuxSessionExists(agentId)) await tmuxKillSession(agentId);
459
- }
460
- async spawnAgent(config) {
461
- const { pathExport } = await this.prepareLaunch();
462
- const model = config.model ?? "";
463
- const bucketDir = kimiSessionsRoot(this.kimiHome(), config.workspace);
464
- let existingBefore = /* @__PURE__ */ new Set();
465
- try {
466
- existingBefore = new Set(readdirSync(bucketDir));
467
- } catch {}
468
- mkdirSync(join(this.home(), "agents", config.agentId), { recursive: true });
469
- const supervisorScriptPath = this.resolveSupervisorScriptPath();
470
- await this.writePtyTokenFor(config.agentId);
471
- const launcherContent = generateLauncherScriptSync({
472
- role: "work",
473
- workingDir: config.workspace,
474
- harness: "kimi-code",
475
- kimiCodeModel: model,
476
- kimiCodeYolo: true,
477
- extraEnvExports: [pathExport],
478
- overdeckEnv: { agentId: config.agentId },
479
- setTerminalEnv: true,
480
- useSupervisor: true,
481
- supervisorScriptPath,
482
- unsetProviderEnv: true
483
- });
484
- const launcherScript = this.agentPath(config.agentId, "launcher.sh");
485
- writeFileSync(launcherScript, launcherContent, { mode: 493 });
486
- await tmuxCreateSession(config.agentId, config.workspace, `bash ${shellQuote(launcherScript)}`, config.env ?? {});
487
- try {
488
- const sessionId = await this.waitForNewSessionId(config.workspace, existingBefore);
489
- if (!sessionId) throw new KimiCodeSpawnTimeout(config.agentId);
490
- this.writeSessionId(config.agentId, sessionId);
491
- this.markSupervisorEnabled(config.agentId);
492
- if (config.prompt) await this.sendMessage(config.agentId, config.prompt);
493
- return {
494
- id: config.agentId,
495
- sessionId,
496
- runtime: "kimi-code",
497
- model,
498
- workspace: config.workspace,
499
- startedAt: /* @__PURE__ */ new Date()
500
- };
501
- } catch (error) {
502
- if (await tmuxSessionExists(config.agentId)) await tmuxKillSession(config.agentId);
503
- throw error;
504
- }
505
- }
506
- listSessions(workspace) {
507
- const sessions = [];
508
- for (const state of this.resolveAgentStates()) {
509
- if (state.harness !== "kimi-code") continue;
510
- if (workspace && state.workspace !== workspace) continue;
511
- const sessionId = this.readSessionId(state.id);
512
- if (!sessionId) continue;
513
- const sessionPath = findKimiWirePath(this.kimiHome(), state.workspace, sessionId);
514
- let lastActivity;
515
- try {
516
- lastActivity = statSync(sessionPath ?? "").mtime;
517
- } catch {
518
- continue;
519
- }
520
- sessions.push({
521
- id: sessionId,
522
- agentId: state.id,
523
- workspace: state.workspace,
524
- model: state.model ?? "",
525
- startedAt: new Date(state.startedAt),
526
- lastActivity,
527
- tokenUsage: {
528
- inputTokens: 0,
529
- outputTokens: 0
530
- }
531
- });
532
- }
533
- return sessions;
534
- }
535
- async isRunning(agentId) {
536
- return tmuxSessionExists(agentId);
537
- }
538
- home() {
539
- return this.overdeckHomeOverride ?? getOverdeckHome();
540
- }
541
- kimiHome() {
542
- return this.kimiHomeOverride ?? kimiHomeDefault();
543
- }
544
- agentPath(agentId, file) {
545
- return join(this.home(), "agents", agentId, file);
546
- }
547
- workspaceFor(agentId) {
548
- return getAgentStateSync(agentId)?.workspace ?? null;
549
- }
550
- readSessionId(agentId) {
551
- try {
552
- return readFileSync(this.agentPath(agentId, "kimi-session-id"), "utf-8").trim() || null;
553
- } catch {
554
- return null;
555
- }
556
- }
557
- writeSessionId(agentId, sessionId) {
558
- writeKimiSessionId(agentId, sessionId, this.home());
559
- }
560
- /**
561
- * Best-effort: mark the persisted agent state as supervisor-enabled so
562
- * prepareSupervisorForRelaunch (supervisor-channels.ts) re-supervises this
563
- * agent on relaunch instead of falling back to useSupervisor:false. A
564
- * no-op when no state has been saved for this agent yet (some callers of
565
- * this adapter's spawnAgent create state afterward).
566
- */
567
- markSupervisorEnabled(agentId) {
568
- const state = getAgentStateSync(agentId);
569
- if (!state) return;
570
- state.supervisorEnabled = true;
571
- saveAgentStateSync(state);
572
- }
573
- async waitForNewSessionId(workspace, existingBefore) {
574
- return waitForNewKimiSession(this.kimiHome(), workspace, existingBefore);
575
- }
576
- };
577
- }));
578
- //#endregion
579
- export { findKimiWirePath as a, findLatestKimiSessionAsync as c, kimiSessionsRoot as d, kimiWorkDirKey as f, writeKimiSessionId as g, withKimiSessionCaptureLock as h, createKimiCodeRuntimeSync as i, init_kimi_code as l, waitForNewKimiSessionAsync as m, KimiCodeRuntimeSync as n, findKimiWirePathAsync as o, waitForNewKimiSession as p, KimiCodeSpawnTimeout as r, findLatestKimiSession as s, KimiCaptureLockTimeoutError as t, kimiCaptureLockPath as u };
580
-
581
- //# sourceMappingURL=kimi-code-CNYRA8Dd.js.map
@@ -1,2 +0,0 @@
1
- import { l as triggerMerge } from "./workspaces-C7LAuZfe.js";
2
- export { triggerMerge };
@@ -1,2 +0,0 @@
1
- import { t as rebaseFeatureBranch } from "./merge-rebase-KBw4rdh3.js";
2
- export { rebaseFeatureBranch };
@@ -1,3 +0,0 @@
1
- import { Ht as init_messaging, Ut as messageAgent } from "./agent-state-FABw8neJ.js";
2
- init_messaging();
3
- export { messageAgent };