@overdeck/desktop 0.49.2 → 0.50.1

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 (554) hide show
  1. package/drizzle/overdeck/0000_overdeck_init.sql +1 -0
  2. package/package.json +1 -1
  3. package/server/{acceptance-criteria-CHtDkHEL.js → acceptance-criteria-DFyrgxW5.js} +2 -2
  4. package/server/{active-dashboard-bundle-Byh6sP-q.js → active-dashboard-bundle-DbfgP8TS.js} +2 -2
  5. package/server/{activity-logger-Ck8qoluj.js → activity-logger-DtdKxzPh.js} +1 -1
  6. package/server/{activity-logger-BWZhVphb.js → activity-logger-ru8ggv-d.js} +3 -3
  7. package/server/{advancing-selfheal-65W4yUQi.js → advancing-selfheal-BdZ1iFJf.js} +11 -6
  8. package/server/{agent-gc-BNUudFnt.js → agent-gc-DBMg1vIc.js} +11 -11
  9. package/server/{agent-idle-ONBssBN_.js → agent-idle-CQlwmcRR.js} +11 -11
  10. package/server/{agent-state-CM8iVw5B.js → agent-state-B0v3fvGI.js} +1 -1
  11. package/server/{agent-state-BJhGIJZe.js → agent-state-BnyNoDWQ.js} +345 -402
  12. package/server/{agent-state-service-CiIuwzIs.js → agent-state-service-D95wBjA3.js} +5 -5
  13. package/server/{agent-state-service-CzHfoqKQ.js → agent-state-service-GK2Uy8zc.js} +1 -1
  14. package/server/{agents-DpCuoF65.js → agents-BdkVgjxC.js} +1 -1
  15. package/server/{agents-jXgqpHca.js → agents-DMs1aLRU.js} +4 -4
  16. package/server/{archive-planning-CGkU6UeL.js → archive-planning-CFf5FVHQ.js} +5 -5
  17. package/server/archive-planning-CNSWQPvz.js +2 -0
  18. package/server/{artifact-index-jobs-Ck4NRRkY.js → artifact-index-jobs-BdeB5RIY.js} +2 -2
  19. package/server/{assemble-CyvEBmmq.js → assemble-D88iFkP-.js} +2 -2
  20. package/server/{auto-spawn-consent-Dc4mtM-B.js → auto-spawn-consent-C1avLtkk.js} +7 -7
  21. package/server/{backlog-auto-trigger-CCEpr4YT.js → backlog-auto-trigger-oKIGNBzZ.js} +3 -3
  22. package/server/{behavior-BiCQzqyT.js → behavior-CPX0E2Fj.js} +49 -7
  23. package/server/{bridge-pool-patrol-Ce8rNPym.js → bridge-pool-patrol-DstxbANA.js} +2 -2
  24. package/server/{briefing-freshness-e_OEYZEe.js → briefing-freshness-FF0WLPMc.js} +2 -2
  25. package/server/build-info-Df2tkRrB.js +2 -0
  26. package/server/{build-info-BRw4QlYO.js → build-info-DiA6h4T6.js} +3 -3
  27. package/server/{checkpoint-manager-DOwRGFff.js → checkpoint-manager-CkXA-F6Z.js} +2 -2
  28. package/server/{checkpoint-manager-CKr42Usw.js → checkpoint-manager-D74ueYZp.js} +1 -1
  29. package/server/checkpoint-worker.js +1 -1
  30. package/server/{checkpoints-Cszp_0Np.js → checkpoints-Ds83fUb1.js} +2 -2
  31. package/server/{checkpoints-Cb6CWT4S.js → checkpoints-JIKy0UFv.js} +1 -1
  32. package/server/{claude-hooks-provision-C5JHpxTS.js → claude-hooks-provision-BJ8LNIAe.js} +1 -1
  33. package/server/{claude-hooks-provision-Cer2eFfj.js → claude-hooks-provision-D7Z8kANm.js} +2 -2
  34. package/server/{claude-permissions-Bc5kjX1q.js → claude-permissions-Bn53HCXr.js} +18 -3
  35. package/server/{claude-settings-overlay-m-VVZej1.js → claude-settings-overlay-CqJZjFqv.js} +2 -2
  36. package/server/{claude-settings-overlay-C7rWsnya.js → claude-settings-overlay-QByq1SQa.js} +1 -1
  37. package/server/{cli-BmczsfD6.js → cli-BXmAb7vN.js} +11 -11
  38. package/server/cli-BjznnCC3.js +2 -0
  39. package/server/{cliproxy-BpYpkogS.js → cliproxy-L_2OxNJf.js} +2 -2
  40. package/server/{cliproxy-_yUU0HRY.js → cliproxy-ltFu5xfR.js} +1 -1
  41. package/server/{close-issue-CxvRD0UI.js → close-issue-BZAf0Ii-.js} +5 -5
  42. package/server/{closed-issue-reaper-nMLRi5de.js → closed-issue-reaper-BJa8SbvQ.js} +13 -13
  43. package/server/{closed-issue-reaper-omOcUDBl.js → closed-issue-reaper-DVtyOI4C.js} +1 -1
  44. package/server/{codex-DZhFfcWu.js → codex-BqLZKVNm.js} +1 -1
  45. package/server/{codex-KaSKE-R3.js → codex-DSs-3aOm.js} +6 -6
  46. package/server/{compaction-continuation-Bjfi70G-.js → compaction-continuation-TG0HYkOq.js} +3 -3
  47. package/server/{config-ZGjvuR6J.js → config-Cx3N6gWz.js} +2 -2
  48. package/server/{config-Doq_tF-f.js → config-DP0VV7rX.js} +2 -2
  49. package/server/{config-CH1AqqIQ.js → config-DURnId0k.js} +1 -1
  50. package/server/{config-yaml-D9nfpEx1.js → config-yaml-OoH-ZpTb.js} +48 -9
  51. package/server/{conflict-gate-DcUTY4Gb.js → conflict-gate-SgOELW84.js} +5 -5
  52. package/server/{conflict-gate-D4XCtrm2.js → conflict-gate-pMfhBEVB.js} +1 -1
  53. package/server/{context-layers-BGj2Y9l3.js → context-layers-D0QBOPJJ.js} +2 -2
  54. package/server/{context-layers-BBTKP-Y4.js → context-layers-LY5zt0da.js} +3 -3
  55. package/server/{continue-i7Revg8D.js → continue-Cmzd6leL.js} +2 -2
  56. package/server/{control-settings-BMoDHY1G.js → control-settings-Bdud_B1j.js} +308 -5
  57. package/server/{conversation-compaction-DzIjYMfg.js → conversation-compaction-BX9UR8nl.js} +1 -1
  58. package/server/{conversation-compaction-D4VOmF7p.js → conversation-compaction-dFx_2wpa.js} +8 -8
  59. package/server/{conversation-service-CzZUJFEx.js → conversation-service-B3h1erHm.js} +1 -1
  60. package/server/{conversation-service-tQCIbBVZ.js → conversation-service-zgLM2g2D.js} +37 -13
  61. package/server/{conversations-bFDaD5YN.js → conversations-Ch7UGi0F.js} +1 -1
  62. package/server/{conversations-C75EFFjf.js → conversations-JyrMSeOh.js} +5 -5
  63. package/server/{cost-CiIwxH1D.js → cost-CxXv7ei-.js} +10 -2
  64. package/server/cost-DR57uJFP.js +838 -0
  65. package/server/{cost-BCWEkvro.js → cost-MZ7EZFDc.js} +3 -3
  66. package/server/{cost-sync-DOkdE_yB.js → cost-sync-Bq_dyq9k.js} +3 -3
  67. package/server/{dag-BPc74hwj.js → dag-CKUsr8wB.js} +2 -2
  68. package/server/{dangerous-git-ops-By9iguTP.js → dangerous-git-ops-BOtXCFkT.js} +1 -1
  69. package/server/dashboard-db-worker.js +61 -11
  70. package/server/{deacon-CzSZMtb-.js → deacon-BUOpTnmQ.js} +3 -3
  71. package/server/{deacon-B24dNzr8.js → deacon-C7qZxRuW.js} +125 -165
  72. package/server/{deacon-canonical-state-CkvxRPck.js → deacon-canonical-state-hcaZgjoT.js} +2 -2
  73. package/server/{deacon-event-client-Do6Z2gKl.js → deacon-event-client-Coiopt4u.js} +2 -2
  74. package/server/{deacon-event-client-BYIQBu0T.js → deacon-event-client-DJ71Tifg.js} +1 -1
  75. package/server/{deacon-nudge-log-CzM9JA9t.js → deacon-nudge-log-pcliw8Dr.js} +1 -1
  76. package/server/{deacon-pending-lifecycle-BObEdT-L.js → deacon-pending-lifecycle-Dv0-8bZG.js} +3 -3
  77. package/server/deacon.js +11 -11
  78. package/server/dead-end-trip-B91w2PGV.js +2 -0
  79. package/server/{dead-end-trip-CnVmjnya.js → dead-end-trip-DH_hA7yS.js} +3 -3
  80. package/server/{delivery-gyce0vQ7.js → delivery-zJM4aIkf.js} +1 -1
  81. package/server/{deploy-patrol-CEwwEYDM.js → deploy-patrol-Cv96N0s6.js} +8 -8
  82. package/server/deploy-queue-2cN86Lg4.js +2 -0
  83. package/server/{deploy-queue-r96ojDI3.js → deploy-queue-EcksuKE2.js} +2 -2
  84. package/server/{deploy-window-D_3hhfxt.js → deploy-window-BXbzS0zN.js} +4 -4
  85. package/server/{deploy-window-DeJK8mTK.js → deploy-window-CHgL_TTN.js} +1 -1
  86. package/server/{dev-supervisor-DZWwpENk.js → dev-supervisor-lNaYB136.js} +2 -2
  87. package/server/{devcontainer-renderer-d-9dCV_2.js → devcontainer-renderer-q8q9aXRd.js} +3 -3
  88. package/server/{dist-DsLAsFSh.js → dist-CoR2sivG.js} +1 -1
  89. package/server/dist-FHv1s5ez.js +3 -0
  90. package/server/{docker-CRPHBylA.js → docker-BNd0tMdS.js} +1 -1
  91. package/server/{docker-B2mUBzGk.js → docker-Dk-shfga.js} +3 -3
  92. package/server/{dod-DWtilRLx.js → dod-BAk5arLF.js} +1 -1
  93. package/server/{done-preflight-BDVdWed5.js → done-preflight-AiXnYYAy.js} +1 -1
  94. package/server/{done-preflight-D4ukUf-S.js → done-preflight-CukR3Br8.js} +5 -5
  95. package/server/{durable-review-pipeline-CaCbEJSt.js → durable-review-pipeline-BOEZ0chh.js} +1 -1
  96. package/server/{durable-review-pipeline-B3OS2_He.js → durable-review-pipeline-Djx_lvFd.js} +1 -1
  97. package/server/{ensure-devcontainer-rGSh0JHK.js → ensure-devcontainer-BjMV_gdX.js} +1 -1
  98. package/server/{ensure-devcontainer-BUeBRjmm.js → ensure-devcontainer-YXncXZ5Q.js} +4 -4
  99. package/server/{esm-shims-oAaKIa-a.js → esm-shims-deFq5Hhl.js} +1 -1
  100. package/server/{event-store-Db4w4YIY.js → event-store-CFnLP8w-.js} +1 -1
  101. package/server/{event-store-BCSgMubf.js → event-store-DbjldlXW.js} +5 -5
  102. package/server/{event-store-provider-DlSQND3V.js → event-store-provider-Bu1Qrg6v.js} +1 -1
  103. package/server/{events-B6zioJA_.js → events-Bb2x5ijT.js} +3 -3
  104. package/server/{factory-BrdqXBeK.js → factory-DfIQG-qW.js} +4 -4
  105. package/server/{feature-registry-storage-zh3ZXW6f.js → feature-registry-storage-BzAGS4DA.js} +2 -2
  106. package/server/{features-BGntOWdy.js → features-KxOILHX8.js} +2 -2
  107. package/server/{feedback-stuck-retirement-DpA5u1kt.js → feedback-stuck-retirement-BqTHm-1Z.js} +2 -2
  108. package/server/{feedback-target-D7GxdUYG.js → feedback-target-BjLidX0M.js} +10 -10
  109. package/server/{feedback-target-Ddqk93NF.js → feedback-target-D2CIZFwc.js} +1 -1
  110. package/server/{feedback-writer-CH2846DP.js → feedback-writer-BrSQ4fC-.js} +1 -1
  111. package/server/{feedback-writer-C1gCLFmp.js → feedback-writer-Dgrma-L1.js} +5 -5
  112. package/server/{flywheel-CjW2L7BS.js → flywheel-D5FchYg4.js} +16 -16
  113. package/server/{flywheel-HJt7QdWP.js → flywheel-Ds0eOd1P.js} +1 -1
  114. package/server/{flywheel-v1cCOBx-.js → flywheel-X6kvGnf2.js} +15 -15
  115. package/server/{flywheel-merge-order-D_yyAlND.js → flywheel-merge-order-BTY73Efv.js} +17 -15
  116. package/server/{flywheel-merge-order-4fNRN2F2.js → flywheel-merge-order-PTHnouQS.js} +1 -1
  117. package/server/{forge-RVTCK_5X.js → forge-B08cRXEb.js} +2 -2
  118. package/server/forge-egNLsjVi.js +2 -0
  119. package/server/{from-BnLgKYvw.js → from-C3dzmjSO.js} +1 -1
  120. package/server/{fs-lock-C7J-ugIf.js → fs-lock-DfiYlr5u.js} +2 -2
  121. package/server/{fts-operations-CU0B5WUx.js → fts-operations-Do1SP0w4.js} +2 -2
  122. package/server/{git-info-BSrI9owC.js → git-info-DMOSfJ9I.js} +1 -1
  123. package/server/{git-utils-DW8-jIUJ.js → git-utils-DfpFkvwk.js} +4 -4
  124. package/server/{git-utils-CsKV0Dis.js → git-utils-fcK3ZRNj.js} +1 -1
  125. package/server/{github-app-7ywLhuZO.js → github-app-Co8ZhyUJ.js} +2 -2
  126. package/server/{github-app-Oi5hdn1n.js → github-app-HAqQZZRD.js} +1 -1
  127. package/server/{github-client-Cy0fSj1a.js → github-client-C7MUxFzX.js} +1 -1
  128. package/server/{github-client-DAbuXLuk.js → github-client-wqbDCmlL.js} +2 -2
  129. package/server/{github-pr-lookup-Dhh3ec1V.js → github-pr-lookup-DdLCDdu9.js} +2 -2
  130. package/server/{harness-binary-tMmgJfC1.js → harness-binary-BuakhXkB.js} +2 -2
  131. package/server/{harness-resolve-DusNpVEe.js → harness-resolve-CISjc9FR.js} +4 -4
  132. package/server/{health-events-BYDZ9n2i.js → health-events-9RhRGZK1.js} +1 -1
  133. package/server/{health-events-DNw9Mzw9.js → health-events-CIE7gy34.js} +2 -2
  134. package/server/{hooks-B4wj32l2.js → hooks-CmL3TXla.js} +1 -1
  135. package/server/{hooks-BjBjxqNh.js → hooks-D55VTdQS.js} +2 -2
  136. package/server/{hume-BP9YbxaE.js → hume-1FJmNDTq.js} +2 -2
  137. package/server/hume-gXLmRhmN.js +3 -0
  138. package/server/{identity-C23uY8dZ.js → identity-CZbJ0xpl.js} +3 -3
  139. package/server/{idle-stack-reaper-BSxb1bln.js → idle-stack-reaper-CjovDCet.js} +4 -4
  140. package/server/{idle-stack-reaper-Bw0rU9GC.js → idle-stack-reaper-DhbFdkWv.js} +1 -1
  141. package/server/{in-flight-guard-DuxabAHT.js → in-flight-guard-B7khcBdQ.js} +1 -1
  142. package/server/{infra-CHIvOb9q.js → infra-BbSWNOpH.js} +10 -4
  143. package/server/{injection-BYUt8ml1.js → injection-BSnn_10a.js} +8 -8
  144. package/server/{injection-BviePcm3.js → injection-DsQDBSEi.js} +1 -1
  145. package/server/inspect-agent-BuSYgRQs.js +2 -0
  146. package/server/{inspect-agent-sV_19NxZ.js → inspect-agent-DS8j2v6U.js} +12 -12
  147. package/server/{internal-token-DoVzb4b7.js → internal-token-CUKcTWSG.js} +2 -2
  148. package/server/{internal-token-BOtIRJU7.js → internal-token-CkrMLCLU.js} +1 -1
  149. package/server/{io-DKrWd3gX.js → io-BgzG56av.js} +4 -4
  150. package/server/{issue-closed-6RQsAjDX.js → issue-closed-DZEwD3ol.js} +7 -7
  151. package/server/{issue-lifecycle-DOPVv7xz.js → issue-lifecycle-Bnfbpkmk.js} +1 -1
  152. package/server/{issue-lifecycle-D9nLErvS.js → issue-lifecycle-LgYeE1o2.js} +25 -25
  153. package/server/{issue-service-singleton-B2xy-IS9.js → issue-service-singleton-Bsb0GaY8.js} +10 -10
  154. package/server/{issue-service-singleton-CvgNAWqK.js → issue-service-singleton-COEqWNKE.js} +1 -1
  155. package/server/{issue-title-fallback-DTSCQVu0.js → issue-title-fallback-D4_b2XwP.js} +3 -3
  156. package/server/{issues-e_Ck1Ln2.js → issues-DYAEUW45.js} +2 -2
  157. package/server/{jsonl-parser-DqxVCZ1k.js → jsonl-parser-1IqHI9Yb.js} +3 -3
  158. package/server/{jsonl-resolver-07OS3qOr.js → jsonl-resolver-BJ8Hg-yD.js} +8 -8
  159. package/server/{kimi-code-vtXl2DR5.js → kimi-code-Cdkk9vRU.js} +1 -1
  160. package/server/{kimi-code-BjtAHIz1.js → kimi-code-DwqLCWFw.js} +11 -11
  161. package/server/{kimi-parser-B1lgy2Vt.js → kimi-parser-DFsZQArz.js} +2 -2
  162. package/server/{label-cleanup-D2zUMasf.js → label-cleanup-Bej6xDZK.js} +3 -3
  163. package/server/{lifecycle-0NOEzomy.js → lifecycle-BibLMHBH.js} +2 -2
  164. package/server/{lifecycle-DaCovZwn.js → lifecycle-CMpSB9sn.js} +6 -6
  165. package/server/{lifecycle-io-6WL46dsB.js → lifecycle-io-CCCAMefe.js} +5 -5
  166. package/server/{lifecycle-io-BBMTaP7S.js → lifecycle-io-CLWwYZaR.js} +1 -1
  167. package/server/{linear-client-BTGApNLo.js → linear-client-BtYl16Cy.js} +1 -1
  168. package/server/{linear-client-7fQThJTc.js → linear-client-fpL-qJEa.js} +2 -2
  169. package/server/{linear-mcp-auth-B8pYRsiU.js → linear-mcp-auth-CQ7ROT1X.js} +1 -1
  170. package/server/{linear-mcp-auth-Nk5s3L9M.js → linear-mcp-auth-nAYWoUbH.js} +5 -5
  171. package/server/memory-fts-worker.js +1 -1
  172. package/server/{memory-governor-Cqvbusr4.js → memory-governor-Mi5zF5zw.js} +87 -21
  173. package/server/{memory-pressure-patrol-DPb8foam.js → memory-pressure-patrol-CDeDh46A.js} +38 -14
  174. package/server/{merge-BB_bjJ9a.js → merge-DCuDLiy9.js} +1 -1
  175. package/server/{merge-FZ78_cEz.js → merge-_XIivhkq.js} +3 -3
  176. package/server/{merge-agent-BuoC_PRZ.js → merge-agent-svBDRWB6.js} +2 -2
  177. package/server/{merge-agent-B3jRrlS1.js → merge-agent-zF9vqWqY.js} +31 -31
  178. package/server/{merge-batch-B8bVjFWS.js → merge-batch-BJjzUUL7.js} +1 -1
  179. package/server/{merge-completeness-DQt7Qa7i.js → merge-completeness-CQPqu-pI.js} +4 -4
  180. package/server/{merge-completeness-DkdabVch.js → merge-completeness-CeQheehh.js} +1 -1
  181. package/server/merge-eligibility-CJrBhQQe.js +3 -0
  182. package/server/merge-eligibility-DhxVE8qU.js +51 -0
  183. package/server/merge-ops-CUzpOPtO.js +2 -0
  184. package/server/{merge-rebase-qq40s91P.js → merge-rebase-Bjo45m3k.js} +2 -2
  185. package/server/merge-rebase-DkfcUT60.js +2 -0
  186. package/server/{merge-set-BmRRflt0.js → merge-set-COZvz2nx.js} +4 -4
  187. package/server/{merge-set-BTNYvxM3.js → merge-set-ChxZgjBB.js} +1 -1
  188. package/server/{merge-sync-CJpOa0cZ.js → merge-sync-CCi1Esdx.js} +2 -2
  189. package/server/{merge-sync-0m2Q087q.js → merge-sync-DuJ6Vkl3.js} +1 -1
  190. package/server/{merge-train-iwKqjtCF.js → merge-train-DTJXF8ph.js} +4 -4
  191. package/server/{merge-train-deps-CH5Mr3vN.js → merge-train-deps-C0P0qGKe.js} +4 -4
  192. package/server/{merge-verification-JJc5GC2t.js → merge-verification-C5FexOBZ.js} +6 -6
  193. package/server/{merged-docker-cleanup-worker-CrhTdxZV.js → merged-docker-cleanup-worker-0SEDG3Ao.js} +1 -1
  194. package/server/{merged-docker-cleanup-worker-BOqWA373.js → merged-docker-cleanup-worker-C-kSp_jw.js} +3 -3
  195. package/server/{messaging-nuwStbdQ.js → messaging-DQi-WEFB.js} +1 -1
  196. package/server/{multipart-parser-DxuW_rZV.js → multipart-parser-BYwfKOVU.js} +2 -2
  197. package/server/{no-resume-mode-xuYLFhLw.js → no-resume-mode-DjMQRkId.js} +1 -1
  198. package/server/node_modules/.package-lock.json +28 -28
  199. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/ai-docs/package.json +2 -2
  200. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/ai-docs/src/70_cli/10_basics.ts +4 -2
  201. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/dist/NodeClusterSocket.d.ts.map +1 -1
  202. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/dist/NodeClusterSocket.js +12 -9
  203. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/dist/NodeClusterSocket.js.map +1 -1
  204. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/dist/NodeSocket.js +1 -1
  205. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/dist/NodeSocket.js.map +1 -1
  206. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/package.json +6 -6
  207. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/src/NodeClusterSocket.ts +15 -12
  208. package/server/node_modules/@effect/platform-node/node_modules/@effect/platform-node-shared/src/NodeSocket.ts +1 -1
  209. package/server/node_modules/@types/node/README.md +1 -1
  210. package/server/node_modules/@types/node/buffer.buffer.d.ts +10 -5
  211. package/server/node_modules/@types/node/buffer.d.ts +1 -0
  212. package/server/node_modules/@types/node/crypto.d.ts +2 -4
  213. package/server/node_modules/@types/node/dgram.d.ts +119 -4
  214. package/server/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  215. package/server/node_modules/@types/node/ffi.d.ts +1 -1
  216. package/server/node_modules/@types/node/fs/promises.d.ts +61 -65
  217. package/server/node_modules/@types/node/fs.d.ts +86 -76
  218. package/server/node_modules/@types/node/http.d.ts +18 -2
  219. package/server/node_modules/@types/node/http2.d.ts +12 -4
  220. package/server/node_modules/@types/node/index.d.ts +1 -0
  221. package/server/node_modules/@types/node/inspector.d.ts +2 -1
  222. package/server/node_modules/@types/node/net.d.ts +108 -16
  223. package/server/node_modules/@types/node/package.json +3 -3
  224. package/server/node_modules/@types/node/perf_hooks.d.ts +31 -19
  225. package/server/node_modules/@types/node/process.d.ts +52 -0
  226. package/server/node_modules/@types/node/quic.d.ts +252 -42
  227. package/server/node_modules/@types/node/sqlite.d.ts +6 -2
  228. package/server/node_modules/@types/node/stream/iter.d.ts +4 -4
  229. package/server/node_modules/@types/node/stream/web.d.ts +20 -0
  230. package/server/node_modules/@types/node/test.d.ts +36 -0
  231. package/server/node_modules/@types/node/tls.d.ts +50 -15
  232. package/server/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
  233. package/server/node_modules/@types/node/ts5.6/index.d.ts +1 -0
  234. package/server/node_modules/@types/node/ts5.7/index.d.ts +1 -0
  235. package/server/node_modules/@types/node/tty.d.ts +4 -3
  236. package/server/node_modules/@types/node/vfs.d.ts +211 -0
  237. package/server/node_modules/@types/node/vm.d.ts +1 -1
  238. package/server/node_modules/@types/node/zlib.d.ts +17 -0
  239. package/server/node_modules/effect/node_modules/uuid/README.md +19 -19
  240. package/server/node_modules/effect/node_modules/uuid/dist/v1.js +7 -3
  241. package/server/node_modules/effect/node_modules/uuid/dist/v7.js +5 -2
  242. package/server/node_modules/effect/node_modules/uuid/dist-node/v1.js +7 -3
  243. package/server/node_modules/effect/node_modules/uuid/dist-node/v7.js +5 -2
  244. package/server/node_modules/effect/node_modules/uuid/package.json +4 -3
  245. package/server/node_modules/msgpackr/README.md +1 -0
  246. package/server/node_modules/msgpackr/dist/index-no-eval.cjs +13 -7
  247. package/server/node_modules/msgpackr/dist/index-no-eval.cjs.map +1 -1
  248. package/server/node_modules/msgpackr/dist/index-no-eval.min.js +1 -1
  249. package/server/node_modules/msgpackr/dist/index-no-eval.min.js.map +1 -1
  250. package/server/node_modules/msgpackr/dist/index.js +13 -7
  251. package/server/node_modules/msgpackr/dist/index.js.map +1 -1
  252. package/server/node_modules/msgpackr/dist/index.min.js +1 -1
  253. package/server/node_modules/msgpackr/dist/index.min.js.map +1 -1
  254. package/server/node_modules/msgpackr/dist/node.cjs +13 -7
  255. package/server/node_modules/msgpackr/dist/node.cjs.map +1 -1
  256. package/server/node_modules/msgpackr/dist/test.js +63 -7
  257. package/server/node_modules/msgpackr/dist/test.js.map +1 -1
  258. package/server/node_modules/msgpackr/dist/unpack-no-eval.cjs +11 -5
  259. package/server/node_modules/msgpackr/dist/unpack-no-eval.cjs.map +1 -1
  260. package/server/node_modules/msgpackr/index.d.cts +1 -0
  261. package/server/node_modules/msgpackr/index.d.ts +1 -0
  262. package/server/node_modules/msgpackr/pack.js +2 -2
  263. package/server/node_modules/msgpackr/package.json +1 -1
  264. package/server/node_modules/msgpackr/unpack.js +11 -5
  265. package/server/node_modules/picomatch/lib/parse.js +10 -1
  266. package/server/node_modules/picomatch/lib/scan.js +30 -18
  267. package/server/node_modules/picomatch/package.json +1 -1
  268. package/server/node_modules/protobufjs/dist/light/protobuf.js +59 -6
  269. package/server/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  270. package/server/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  271. package/server/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  272. package/server/node_modules/protobufjs/dist/minimal/protobuf.js +22 -2
  273. package/server/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
  274. package/server/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  275. package/server/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
  276. package/server/node_modules/protobufjs/dist/protobuf.js +59 -6
  277. package/server/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  278. package/server/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  279. package/server/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  280. package/server/node_modules/protobufjs/package.json +1 -1
  281. package/server/node_modules/protobufjs/src/decoder.js +32 -3
  282. package/server/node_modules/protobufjs/src/reader.js +20 -0
  283. package/server/node_modules/protobufjs/src/wrappers.js +5 -1
  284. package/server/node_modules/undici/docs/docs/api/Client.md +4 -0
  285. package/server/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  286. package/server/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  287. package/server/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
  288. package/server/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  289. package/server/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  290. package/server/node_modules/undici/lib/core/symbols.js +2 -0
  291. package/server/node_modules/undici/lib/dispatcher/agent.js +7 -2
  292. package/server/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  293. package/server/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
  294. package/server/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
  295. package/server/node_modules/undici/lib/dispatcher/client.js +3 -2
  296. package/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  297. package/server/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  298. package/server/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  299. package/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
  300. package/server/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
  301. package/server/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  302. package/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  303. package/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  304. package/server/node_modules/undici/lib/handler/cache-handler.js +29 -5
  305. package/server/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  306. package/server/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  307. package/server/node_modules/undici/lib/handler/redirect-handler.js +21 -4
  308. package/server/node_modules/undici/lib/handler/retry-handler.js +148 -30
  309. package/server/node_modules/undici/lib/interceptor/cache.js +65 -12
  310. package/server/node_modules/undici/lib/interceptor/decompress.js +115 -13
  311. package/server/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  312. package/server/node_modules/undici/lib/interceptor/dns.js +7 -0
  313. package/server/node_modules/undici/lib/interceptor/dump.js +10 -23
  314. package/server/node_modules/undici/lib/mock/mock-agent.js +13 -1
  315. package/server/node_modules/undici/lib/mock/mock-utils.js +11 -10
  316. package/server/node_modules/undici/lib/util/cache.js +45 -3
  317. package/server/node_modules/undici/lib/web/cookies/parse.js +150 -147
  318. package/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  319. package/server/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  320. package/server/node_modules/undici/lib/web/fetch/index.js +6 -0
  321. package/server/node_modules/undici/lib/web/fetch/request.js +2 -3
  322. package/server/node_modules/undici/lib/web/fetch/util.js +6 -1
  323. package/server/node_modules/undici/lib/web/webidl/index.js +3 -3
  324. package/server/node_modules/undici/lib/web/websocket/connection.js +1 -1
  325. package/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  326. package/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  327. package/server/node_modules/undici/package.json +3 -3
  328. package/server/node_modules/undici/types/client.d.ts +10 -0
  329. package/server/node_modules/undici/types/interceptors.d.ts +2 -0
  330. package/server/node_modules/undici/types/mock-agent.d.ts +11 -10
  331. package/server/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
  332. package/server/node_modules/undici-types/client.d.ts +8 -3
  333. package/server/node_modules/undici-types/connector.d.ts +1 -0
  334. package/server/node_modules/undici-types/cookies.d.ts +1 -1
  335. package/server/node_modules/undici-types/dispatcher.d.ts +3 -3
  336. package/server/node_modules/undici-types/errors.d.ts +10 -0
  337. package/server/node_modules/undici-types/fetch.d.ts +5 -1
  338. package/server/node_modules/undici-types/handlers.d.ts +2 -0
  339. package/server/node_modules/undici-types/interceptors.d.ts +1 -1
  340. package/server/node_modules/undici-types/mock-interceptor.d.ts +5 -1
  341. package/server/node_modules/undici-types/package.json +1 -1
  342. package/server/node_modules/undici-types/proxy-agent.d.ts +7 -0
  343. package/server/{orphan-proposed-reconciler-gf4TxfZb.js → orphan-proposed-reconciler--V8GIzmY.js} +2 -2
  344. package/server/{orphan-proposed-reconciler-Dmk0kO_p.js → orphan-proposed-reconciler-BSsKWmsB.js} +21 -21
  345. package/server/package-lock.json +29 -29
  346. package/server/package.json +1 -1
  347. package/server/{pan-dir-BMda7tQj.js → pan-dir-COaYhZel.js} +4 -4
  348. package/server/{parked-residue-BiHb8cD7.js → parked-residue-Dvr4W9P6.js} +68 -64
  349. package/server/{paths-DEe9j-kw.js → paths-Cm1Q7Old.js} +2 -2
  350. package/server/{pending-lifecycle-claim-J5uIIJPu.js → pending-lifecycle-claim-yAwDuGS4.js} +1 -1
  351. package/server/{pickup-D1UbSDPd.js → pickup-Dle6k9Xt.js} +1 -1
  352. package/server/{pipeline-agent-reader-D-6okryb.js → pipeline-agent-reader-DCCwbUj8.js} +3 -3
  353. package/server/{pipeline-membership-PGX3Pe8V.js → pipeline-membership-BV4hdkHm.js} +1 -1
  354. package/server/{pipeline-membership-CCbgBzNC.js → pipeline-membership-C9ykcjsn.js} +1 -1
  355. package/server/{pipeline-membership-gather-BRhU7XPx.js → pipeline-membership-gather-DGoDOfKO.js} +1 -1
  356. package/server/{pipeline-membership-gather-BK4dzh0X.js → pipeline-membership-gather-UN7kHpCD.js} +10 -10
  357. package/server/{pipeline-notifier-BNAV9kpa.js → pipeline-notifier-DfH2i_zP.js} +2 -2
  358. package/server/{pipeline-notifier-DvHLaXKb.js → pipeline-notifier-DsCfxoSU.js} +1 -1
  359. package/server/{post-merge-lifecycle-worker-DAWgzXQA.js → post-merge-lifecycle-worker-V51p8tSm.js} +2 -2
  360. package/server/{post-merge-state-DC2_0t12.js → post-merge-state-Cym5NVlB.js} +4 -4
  361. package/server/{prd-locations-BbAvqQmT.js → prd-locations-CPuMD55x.js} +3 -3
  362. package/server/{project-pipelines-By_5WcT4.js → project-pipelines-DdDKdXrG.js} +2 -2
  363. package/server/{project-repos-3bI6t4fO.js → project-repos-CNrLxJDg.js} +1 -1
  364. package/server/{project-repos--QeCg7yQ.js → project-repos-DqAT7YV6.js} +2 -2
  365. package/server/{project-resource-refresh-queue-BaZC79S3.js → project-resource-refresh-queue-C-umDazS.js} +1 -1
  366. package/server/{project-resource-refresh-queue-x-K9mvpP.js → project-resource-refresh-queue-Dh8k2SB7.js} +17 -17
  367. package/server/{projects-LftaVK99.js → projects-Crur9uCa.js} +1 -1
  368. package/server/{prompts-BotGu-6W.js → prompts-CvtVJUpG.js} +2 -2
  369. package/server/{providers-BL1I66sM.js → providers-1BlEh5x1.js} +7 -7
  370. package/server/{providers-Dqgz3MY5.js → providers-Bun8zer5.js} +1 -1
  371. package/server/public/assets/{chunk-BO2N2NFS-D5Fz5jND.js → chunk-BO2N2NFS-DzUNVdeo.js} +4 -4
  372. package/server/public/assets/{diagram-OG6HWLK6-Eux0gWFq.js → diagram-OG6HWLK6-D5iThVwA.js} +1 -1
  373. package/server/public/assets/{dist-D-JX_u7m.js → dist-BLq-IR2D.js} +3 -3
  374. package/server/public/assets/{dist-C3zShwhA.js → dist-RyrOs5EF.js} +1 -1
  375. package/server/public/assets/{ganttDiagram-6RSMTGT7-UH3aweia.js → ganttDiagram-6RSMTGT7-n8bUPXAS.js} +1 -1
  376. package/server/public/assets/{highlighted-body-OFNGDK62-ccIQ-WXS.js → highlighted-body-OFNGDK62-1npo3yiG.js} +1 -1
  377. package/server/public/assets/{index-BTVcdPve.js → index-BvN8bWpz.js} +149 -149
  378. package/server/public/assets/index-DgoS288w.css +1 -0
  379. package/server/public/assets/{linear-Cnnu4YQy.js → linear-Dd96gky1.js} +1 -1
  380. package/server/public/assets/mermaid-GHXKKRXX-fP93Za-W.js +1 -0
  381. package/server/public/assets/{pieDiagram-4H26LBE5-BD8-Tye6.js → pieDiagram-4H26LBE5-CynZvpYP.js} +1 -1
  382. package/server/public/assets/{prod-Ca6aKMts.js → prod-DBuCX9g-.js} +4 -4
  383. package/server/public/assets/{quadrantDiagram-W4KKPZXB-BmSrVyFD.js → quadrantDiagram-W4KKPZXB-BNlEKLKN.js} +1 -1
  384. package/server/public/assets/{sankeyDiagram-5OEKKPKP-CEGy8Das.js → sankeyDiagram-5OEKKPKP-Cq0AMnkD.js} +1 -1
  385. package/server/public/assets/{xychartDiagram-2RQKCTM6-VnQ8iY8s.js → xychartDiagram-2RQKCTM6-D7GXcBy2.js} +1 -1
  386. package/server/public/index.html +2 -2
  387. package/server/pull-requests-DV_rJ-1u.js +2 -0
  388. package/server/{pull-requests-Cp_FDT8-.js → pull-requests-DrhWU9MW.js} +3 -3
  389. package/server/{rally-bQpBzUNf.js → rally-D5QkIZeb.js} +3 -3
  390. package/server/rally-DlXjOIAG.js +3 -0
  391. package/server/{rally-api-Ij1Zt0NI.js → rally-api-BdNfpNGk.js} +1 -1
  392. package/server/{rally-api-CqAIJ8RX.js → rally-api-CNlcoTFM.js} +2 -2
  393. package/server/{rally-client-CN5vh4Ac.js → rally-client-BCU7mVWE.js} +1 -1
  394. package/server/{rally-client-qKbCNRVW.js → rally-client-C3eB9TM-.js} +4 -4
  395. package/server/{rebuild-stack-DrMyA_mA.js → rebuild-stack-BupKggo5.js} +2 -2
  396. package/server/{rebuild-stack-BNOMVh7C.js → rebuild-stack-CNknXJHL.js} +6 -6
  397. package/server/reconciler-ComAOr_F.js +657 -0
  398. package/server/{reconstruct-cache-mxIYCnqs.js → reconstruct-cache-DbjgwKRi.js} +7 -7
  399. package/server/{record-Ug18Cp4V.js → record-C4JJCL2f.js} +1 -1
  400. package/server/{record-update-WyhsREoH.js → record-update-CWwZsp9Y.js} +1 -1
  401. package/server/{record-update-dBGxL9OC.js → record-update-Cl56NqoQ.js} +5 -5
  402. package/server/{recovery-trip-BKLrL6NX.js → recovery-trip-DA7tCXbp.js} +3 -3
  403. package/server/{recovery-trip-wFAixKsg.js → recovery-trip-DFtSA8h5.js} +1 -1
  404. package/server/{release-engine-D9gaCBn9.js → release-engine-Dk99C48O.js} +5 -5
  405. package/server/{release-set-DPHHzEGx.js → release-set-x8KH3nrE.js} +3 -3
  406. package/server/{remote-BUEeUic6.js → remote-BMZmJC5E.js} +3 -3
  407. package/server/{remote-BU6ONLpv.js → remote-DyZIg94K.js} +3 -3
  408. package/server/{remote-agents-CSaTLi3u.js → remote-agents-Blb0vO_M.js} +6 -6
  409. package/server/{remote-agents-BVtASiOF.js → remote-agents-MbWzm5Fh.js} +1 -1
  410. package/server/{remote-completion-CBV3b9TI.js → remote-completion-Bcd13o-J.js} +12 -12
  411. package/server/{resolver-DvSMXty7.js → resolver-CZVWKCx0.js} +7 -7
  412. package/server/{resolver-gxv97jsQ.js → resolver-tJeEkPK5.js} +2 -2
  413. package/server/{resume-DvHuF-bm.js → resume-DmF2andq.js} +1 -1
  414. package/server/{review-agent-esZ0QXdY.js → review-agent-CmJeQc0K.js} +30 -30
  415. package/server/{review-agent-DgkUPRx0.js → review-agent-DM9S22BL.js} +2 -2
  416. package/server/{review-artifacts-DGGEobLp.js → review-artifacts-DCiaejJK.js} +6 -6
  417. package/server/{review-convoy-liveness-DmO8dIBH.js → review-convoy-liveness-C9F1Q1LN.js} +8 -8
  418. package/server/{review-run-recovery-Ct0q7FkE.js → review-run-recovery-C5TEICtx.js} +2 -2
  419. package/server/{review-run-recovery-DHiiw7d8.js → review-run-recovery-CRGBh7xs.js} +1 -1
  420. package/server/{review-status-yOGD2MuK.js → review-status-C3PJkfjv.js} +55 -45
  421. package/server/{review-status-C_kQeeX0.js → review-status-CDs0jQV6.js} +1 -1
  422. package/server/{review-status-emit-BZz1Y_22.js → review-status-emit-De6PF3ZH.js} +3 -3
  423. package/server/{review-status-enrichment-BWH0XW_m.js → review-status-enrichment-CclcG8jk.js} +3 -3
  424. package/server/{review-status-sync-Bq00Loey.js → review-status-sync-B3GKewT_.js} +1 -1
  425. package/server/{review-status-sync-2C9lk85r.js → review-status-sync-wvgdR1yZ.js} +11 -8
  426. package/server/{review-verdict-feedback-CE_tr2iQ.js → review-verdict-feedback-20s9pG0w.js} +7 -7
  427. package/server/{review-verdict-feedback-Brjaxoda.js → review-verdict-feedback-DkMx_cKj.js} +1 -1
  428. package/server/{review-verdict-writer-Ca2V7QSY.js → review-verdict-writer-BcG5RBWF.js} +7 -7
  429. package/server/{review-verdict-writer-CD-4kDVx.js → review-verdict-writer-CaJPCD-q.js} +1 -1
  430. package/server/{rollup-B6g9Nr6L.js → rollup-C-GXHbTG.js} +8 -8
  431. package/server/{rollup--g9ik1XQ.js → rollup-DR250WyW.js} +1 -1
  432. package/server/{scanner-YxIv-fG1.js → scanner-BEAzmMNs.js} +18 -11
  433. package/server/{search-DqMN4__-.js → search-BN0MYpZW.js} +2 -2
  434. package/server/{sequence-io--b3_PsWq.js → sequence-io-BmVO0K-_.js} +4 -4
  435. package/server/{sequencer-agent-CqouKVZG.js → sequencer-agent-CuA9PA_R.js} +6 -6
  436. package/server/server.js +599 -290
  437. package/server/{service-CEp-3iow.js → service-D1SZCxH8.js} +77 -772
  438. package/server/{session-fork-GtoeCh2H.js → session-fork--SMYFKVu.js} +2 -2
  439. package/server/{settings-Ch2pCVtt.js → settings-CETdzCl6.js} +3 -3
  440. package/server/{settings-CLQcdkoD.js → settings-CFi7CdJo.js} +2 -2
  441. package/server/settings-EGNbGKpP.js +2 -0
  442. package/server/{shadow-engineering-BxiFrIKv.js → shadow-engineering-CNTXaC9O.js} +2 -2
  443. package/server/{shadow-state-nGhCNXT2.js → shadow-state-6jSyeXQ7.js} +1 -1
  444. package/server/{shadow-state-CSA1vtxr.js → shadow-state-CtYJGNXt.js} +2 -2
  445. package/server/{shadow-utils-7q5QDmMj.js → shadow-utils-Cq5eMfwI.js} +2 -2
  446. package/server/{ship-log-ie0A_SqV.js → ship-log-D-CphNZx.js} +1 -1
  447. package/server/{ship-record-BM3oVvnL.js → ship-record-STA0P11l.js} +5 -5
  448. package/server/{ship-record-DHWH1hLz.js → ship-record-neN0oUI9.js} +1 -1
  449. package/server/{ship-status-BEkddXMT.js → ship-status-DzDpufmj.js} +2 -2
  450. package/server/{smart-compaction-BkzjVpWL.js → smart-compaction-CdtKIcDk.js} +1 -1
  451. package/server/{smart-compaction-D0TE1lBD.js → smart-compaction-tndAhwoc.js} +7 -7
  452. package/server/{spawn-planning-session-s406rw1N.js → spawn-planning-session-1XLgDLjR.js} +2 -2
  453. package/server/{spawn-planning-session-CkGweSCC.js → spawn-planning-session-CAncCBLX.js} +17 -17
  454. package/server/{specialist-completion-CTAjwH5j.js → specialist-completion-BMv3K54P.js} +1 -1
  455. package/server/{specialist-context-CKasRfYu.js → specialist-context-B054OP_a.js} +5 -5
  456. package/server/{specialist-handoff-logger-DrjrOmmn.js → specialist-handoff-logger-B7jzypoX.js} +2 -2
  457. package/server/{specialist-logs-Du6quZ0_.js → specialist-logs-DVhOLpwy.js} +3 -3
  458. package/server/{specialists-x-kPMhrL.js → specialists-8Pc--yZI.js} +2 -2
  459. package/server/{specialists-B-4zyE4Y.js → specialists-BVBIMc4L.js} +1 -1
  460. package/server/{specialists-b0dMMjWq.js → specialists-CC_Mnc47.js} +333 -118
  461. package/server/{specialists-CuDWiNdB.js → specialists-ChvCD2a-.js} +19 -19
  462. package/server/{specialists-registry-BYjs04iK.js → specialists-registry-Cim1fPcM.js} +2 -2
  463. package/server/{specialists-registry-1y6Rt_F1.js → specialists-registry-CoPNlhud.js} +1 -1
  464. package/server/specs-Dvq4sOy6.js +3 -0
  465. package/server/{src-CZsPs61V.js → src-C7gGe4KU.js} +6 -6
  466. package/server/{src-CY2Wl8IX.js → src-CdwN6WY6.js} +8 -2
  467. package/server/{src-DeQwpuh6.js → src-DMosbuSJ.js} +3 -3
  468. package/server/{stack-health-ypIKtkbE.js → stack-health-CvdnSVBV.js} +1 -1
  469. package/server/{stack-health-BQFSJc0l.js → stack-health-DPXaoAus.js} +3 -3
  470. package/server/{stale-task-claims-C2e1zdMT.js → stale-task-claims-UoNLemTn.js} +5 -5
  471. package/server/{staleness-Fzx_3_Hr.js → staleness-CxZaIhrn.js} +1 -1
  472. package/server/{staleness-CRDK6LFG.js → staleness-r_dkMyMG.js} +1 -1
  473. package/server/{stall-sweeper-QNk4h9m6.js → stall-sweeper-C9S8FYKz.js} +8 -8
  474. package/server/{state-home-DdG8erBI.js → state-home-BhI8O5lU.js} +2 -2
  475. package/server/{state-migrate-C6H3jfHE.js → state-migrate-DtFHcOVZ.js} +6 -6
  476. package/server/{state-mirror-DF4Lfxm0.js → state-mirror-CpuHFxHb.js} +3 -3
  477. package/server/{stuck-remediation-BDa_tXgB.js → stuck-remediation-B4nKm7B2.js} +13 -13
  478. package/server/{stuck-remediation-BVNd9txd.js → stuck-remediation-hSOOYB9B.js} +1 -1
  479. package/server/{substrate-bug-weights-service-BbbCZEtJ.js → substrate-bug-weights-service-B9f0063E.js} +3 -3
  480. package/server/{summary-fork-BvcW6bq0.js → summary-fork-CUyEqFyc.js} +14 -15
  481. package/server/{summary-fork-DIQmtOuV.js → summary-fork-DZcsOvDD.js} +2 -2
  482. package/server/{supervisor-D3jC2c7A.js → supervisor-CGtOs9Em.js} +4 -4
  483. package/server/supervisor-DoJpD33i.js +2 -0
  484. package/server/{swarm-readiness-CMWAQuWM.js → swarm-readiness-0N2p9d2C.js} +3 -3
  485. package/server/{synthesis-verdict-C-pJOPsn.js → synthesis-verdict-CJdseCuz.js} +1 -1
  486. package/server/{synthesis-verdict-DVlrLF9A.js → synthesis-verdict-CQdLbK1-.js} +2 -2
  487. package/server/{system-prerequisites-QKtIYXI2.js → system-prerequisites-DkDOEjQP.js} +2 -2
  488. package/server/{teardown-workspace-cJea1OLo.js → teardown-workspace-BxFMcWu7.js} +16 -16
  489. package/server/{test-agent-queue-C5DI_gWX.js → test-agent-queue-Dxeae55k.js} +6 -6
  490. package/server/{test-verdict-C7kmd2_Y.js → test-verdict-CJ-to_Hc.js} +1 -1
  491. package/server/{test-verdict-DUbDHqeD.js → test-verdict-hW5kILg7.js} +2 -2
  492. package/server/{tldr-daemon-BNQHwblU.js → tldr-daemon-DKCumqHU.js} +1 -1
  493. package/server/{tldr-daemon-CO08YlfQ.js → tldr-daemon-caxXegkF.js} +2 -2
  494. package/server/{tmux-B8zsqD_6.js → tmux-C-hxv71f.js} +2 -2
  495. package/server/{tmux-DWEc4Ld9.js → tmux-CvAEO9yo.js} +2 -2
  496. package/server/{token-Bez-qCB2.js → token-BdfZLRg1.js} +1 -1
  497. package/server/{tracker-config-CJzPhSHv.js → tracker-config-BjqwtkcT.js} +2 -2
  498. package/server/{tracker-utils-DJAOAuMN.js → tracker-utils-0cDe6yil.js} +2 -2
  499. package/server/{traefik-connect-D3H5I6b9.js → traefik-connect-DoQvQ6oJ.js} +1 -1
  500. package/server/{tunnel-BSdKnW0U.js → tunnel-BEM7-jgE.js} +1 -1
  501. package/server/{tunnel-Cr3ctqxp.js → tunnel-SgALz_Pi.js} +3 -3
  502. package/server/{types-fzBp9cYi.js → types-PW4zkxCM.js} +1 -1
  503. package/server/{uat-failure-feedback-IZQ-J8jt.js → uat-failure-feedback-BQzpUFQ6.js} +5 -5
  504. package/server/{uat-promote-verification-DXApKcc2.js → uat-promote-verification-BUltWC-b.js} +5 -5
  505. package/server/{uat-train-CycEzpbE.js → uat-train-B71QG16n.js} +1 -1
  506. package/server/{uat-train-IIZlz7r3.js → uat-train-BLJ0AAIc.js} +0 -0
  507. package/server/{validate-Ur4xH5bN.js → validate-DqEp2Yb9.js} +3 -3
  508. package/server/{validation-Dr6V4PXx.js → validation-DHEsL3RP.js} +4 -4
  509. package/server/{validation-CHovCoTT.js → validation-k4EpMHm0.js} +1 -1
  510. package/server/{verification-artifact-D3viYe_t.js → verification-artifact-Cmhgq4b_.js} +1 -1
  511. package/server/{verification-artifact-k5Ftpg0c.js → verification-artifact-DglwaHke.js} +1 -1
  512. package/server/{verification-runner-Dl13mmsI.js → verification-runner-BC_zNOq5.js} +16 -16
  513. package/server/{verification-runner-BuqGwm2t.js → verification-runner-Bbc-8BbR.js} +1 -1
  514. package/server/{vtt-parser-BSnAB-Og.js → vtt-parser-Va--tv27.js} +1 -1
  515. package/server/{work-agent-prompt-CJJ4tXci.js → work-agent-prompt-CQWlmw_y.js} +1 -1
  516. package/server/{work-agent-prompt-CioeOuM4.js → work-agent-prompt-DM3uza0_.js} +10 -10
  517. package/server/{work-agent-start-Ct1HVh6z.js → work-agent-start-BColr1oI.js} +1 -1
  518. package/server/{work-agent-start-B65Gqn9N.js → work-agent-start-cKf7rly8.js} +2 -2
  519. package/server/workflows-CLrEiTds.js +2 -0
  520. package/server/{workflows-AgFul1xc.js → workflows-DrC85n8j.js} +28 -28
  521. package/server/{workspace-Cy4sDd3q.js → workspace-ChRFy_F9.js} +3 -3
  522. package/server/{workspace-Cu3XlMXt.js → workspace-G3Cus8e9.js} +1 -1
  523. package/server/{workspace-anchor-drift-BI0Hz6zI.js → workspace-anchor-drift-DBbyK_Mf.js} +1 -1
  524. package/server/{workspace-anchor-drift-CMaqvizr.js → workspace-anchor-drift-z7TjOORC.js} +4 -4
  525. package/server/{workspace-config-DRYDO7Zr.js → workspace-config-D-bNq2CF.js} +1 -1
  526. package/server/{workspace-manager-CgovxDrO.js → workspace-manager-Db3pCmr7.js} +16 -16
  527. package/server/{workspace-manager-jfkKAEuO.js → workspace-manager-gz9Amovn.js} +1 -1
  528. package/server/{workspace-metadata-BNzODIv6.js → workspace-metadata-C5Ie2FMZ.js} +2 -2
  529. package/server/{workspace-metadata-BDqXzGGK.js → workspace-metadata-Do-L6GFP.js} +1 -1
  530. package/server/{workspaces-BJdPqx_J.js → workspaces-D0MWw7Mx.js} +123 -696
  531. package/sync-sources/rules/agent-message-delivery.md +21 -14
  532. package/sync-sources/rules/pan-handoff-focus-limit.md +3 -1
  533. package/sync-sources/skills/pan-gauntlet-loop/SKILL.md +94 -46
  534. package/sync-sources/skills/pan-handoff/SKILL.md +13 -2
  535. package/server/archive-planning-BW4MKNI7.js +0 -2
  536. package/server/build-info-Bj2vQEMh.js +0 -2
  537. package/server/cli-BRuzUT_I.js +0 -2
  538. package/server/dead-end-trip-6V_CwveT.js +0 -2
  539. package/server/deploy-queue-CjLErpgw.js +0 -2
  540. package/server/dist-fCA6y2bH.js +0 -3
  541. package/server/forge-bvak6vXJ.js +0 -2
  542. package/server/hume-TYTb6fDU.js +0 -3
  543. package/server/inspect-agent-JFEaYTRa.js +0 -2
  544. package/server/merge-ops-DabXHp2i.js +0 -2
  545. package/server/merge-rebase-CXq0qsgR.js +0 -2
  546. package/server/public/assets/index-2wV4ipy_.css +0 -1
  547. package/server/public/assets/mermaid-GHXKKRXX-Bjto8iJh.js +0 -1
  548. package/server/pull-requests-jVGcVq5G.js +0 -2
  549. package/server/rally-CxhVgIQ6.js +0 -3
  550. package/server/settings-DhtPDmmI.js +0 -2
  551. package/server/specs-IYsFlM-L.js +0 -3
  552. package/server/supervisor-v0cYN2Vp.js +0 -2
  553. package/server/workflows-CfHm8lVd.js +0 -2
  554. package/sync-sources/skills/pan-gauntlet-loop/references/lessons.md +0 -60
@@ -1,5 +1,5 @@
1
1
  declare module "node:fs/promises" {
2
- import { NonSharedBuffer } from "node:buffer";
2
+ import { BufferView, NonSharedBuffer } from "node:buffer";
3
3
  import { Abortable } from "node:events";
4
4
  import { Interface as ReadlineInterface } from "node:readline";
5
5
  import {
@@ -20,6 +20,10 @@ declare module "node:fs/promises" {
20
20
  OpenDirOptions,
21
21
  OpenMode,
22
22
  PathLike,
23
+ ReadFileOptions,
24
+ ReadFileOptionsWithBuffer,
25
+ ReadFileOptionsWithBufferEncoding,
26
+ ReadFileOptionsWithStringEncoding,
23
27
  ReadOptions,
24
28
  ReadOptionsWithBuffer,
25
29
  ReadPosition,
@@ -36,7 +40,6 @@ declare module "node:fs/promises" {
36
40
  WriteStream,
37
41
  WriteVResult,
38
42
  } from "node:fs";
39
- import { Stream } from "node:stream";
40
43
  import { ByteReadableStream, Transform, Writer } from "node:stream/iter";
41
44
  import { ReadableStream } from "node:stream/web";
42
45
  interface FileChangeInfo<T extends string | Buffer> {
@@ -357,39 +360,61 @@ declare module "node:fs/promises" {
357
360
  *
358
361
  * If `options` is a string, then it specifies the `encoding`.
359
362
  *
363
+ * If `buffer` is provided and no encoding is specified, the returned {Buffer} is
364
+ * a view over the supplied buffer containing only the bytes read. If the
365
+ * supplied buffer is too small to contain the entire file, the operation will
366
+ * fail.
367
+ *
360
368
  * The `FileHandle` has to support reading.
361
369
  *
362
- * If one or more `filehandle.read()` calls are made on a file handle and then a `filehandle.readFile()` call is made, the data will be read from the current
370
+ * If one or more `filehandle.read()` calls are made on a file handle and then a
371
+ * `filehandle.readFile()` call is made, the data will be read from the current
363
372
  * position till the end of the file. It doesn't always read from the beginning
364
373
  * of the file.
374
+ *
375
+ * An example using the `buffer` option with a pre-allocated buffer:
376
+ *
377
+ * ```js
378
+ * import { Buffer } from 'node:buffer';
379
+ * import { open } from 'node:fs/promises';
380
+ *
381
+ * const file = await open('./some/file/to/read');
382
+ * try {
383
+ * const buf = Buffer.alloc(16384);
384
+ * const contents = await file.readFile({ buffer: buf });
385
+ * console.log(contents); // A view over `buf` containing only the bytes read
386
+ * } finally {
387
+ * await file.close();
388
+ * }
389
+ * ```
390
+ *
391
+ * An example using the `buffer` option with a function returning a buffer:
392
+ *
393
+ * ```js
394
+ * import { Buffer } from 'node:buffer';
395
+ * import { open } from 'node:fs/promises';
396
+ *
397
+ * const file = await open('./some/file/to/read');
398
+ * try {
399
+ * const contents = await file.readFile({
400
+ * buffer: (size) => Buffer.alloc(size),
401
+ * });
402
+ * console.log(contents);
403
+ * } finally {
404
+ * await file.close();
405
+ * }
406
+ * ```
365
407
  * @since v10.0.0
366
- * @return Fulfills upon a successful read with the contents of the file. If no encoding is specified (using `options.encoding`), the data is returned as a {Buffer} object. Otherwise, the
367
- * data will be a string.
368
- */
369
- readFile(
370
- options?:
371
- | ({ encoding?: null | undefined } & Abortable)
372
- | null,
373
- ): Promise<NonSharedBuffer>;
374
- /**
375
- * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
376
- * The `FileHandle` must have been opened for reading.
408
+ * @returns Fulfills upon a successful read with the contents of the
409
+ * file. If no encoding is specified (using `options.encoding`), the data is
410
+ * returned as a `Buffer` object. Otherwise, the data will be a string.
377
411
  */
378
- readFile(
379
- options:
380
- | ({ encoding: BufferEncoding } & Abortable)
381
- | BufferEncoding,
382
- ): Promise<string>;
383
- /**
384
- * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
385
- * The `FileHandle` must have been opened for reading.
386
- */
387
- readFile(
388
- options?:
389
- | (ObjectEncodingOptions & Abortable)
390
- | BufferEncoding
391
- | null,
392
- ): Promise<string | NonSharedBuffer>;
412
+ readFile<T extends NodeJS.ArrayBufferView>(
413
+ options: Omit<ReadFileOptionsWithBuffer<T>, "flag">,
414
+ ): Promise<BufferView<T>>;
415
+ readFile(options?: Omit<ReadFileOptionsWithBufferEncoding, "flag"> | null): Promise<NonSharedBuffer>;
416
+ readFile(options: Omit<ReadFileOptionsWithStringEncoding, "flag"> | BufferEncoding): Promise<string>;
417
+ readFile(options: Omit<ReadFileOptions, "flag"> | BufferEncoding | null): Promise<string | NonSharedBuffer>;
393
418
  /**
394
419
  * Convenience method to create a `readline` interface and stream over the file.
395
420
  * See `filehandle.createReadStream()` for the options.
@@ -1310,50 +1335,21 @@ declare module "node:fs/promises" {
1310
1335
  * @param path filename or `FileHandle`
1311
1336
  * @return Fulfills with the contents of the file.
1312
1337
  */
1338
+ function readFile<T extends NodeJS.ArrayBufferView>(
1339
+ path: PathLike | FileHandle,
1340
+ options: ReadFileOptionsWithBuffer<T>,
1341
+ ): Promise<BufferView<T>>;
1313
1342
  function readFile(
1314
1343
  path: PathLike | FileHandle,
1315
- options?:
1316
- | ({
1317
- encoding?: null | undefined;
1318
- flag?: OpenMode | undefined;
1319
- } & Abortable)
1320
- | null,
1344
+ options?: ReadFileOptionsWithBufferEncoding | null,
1321
1345
  ): Promise<NonSharedBuffer>;
1322
- /**
1323
- * Asynchronously reads the entire contents of a file.
1324
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1325
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
1326
- * @param options An object that may contain an optional flag.
1327
- * If a flag is not provided, it defaults to `'r'`.
1328
- */
1329
1346
  function readFile(
1330
1347
  path: PathLike | FileHandle,
1331
- options:
1332
- | ({
1333
- encoding: BufferEncoding;
1334
- flag?: OpenMode | undefined;
1335
- } & Abortable)
1336
- | BufferEncoding,
1348
+ options: ReadFileOptionsWithStringEncoding | BufferEncoding,
1337
1349
  ): Promise<string>;
1338
- /**
1339
- * Asynchronously reads the entire contents of a file.
1340
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1341
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
1342
- * @param options An object that may contain an optional flag.
1343
- * If a flag is not provided, it defaults to `'r'`.
1344
- */
1345
1350
  function readFile(
1346
1351
  path: PathLike | FileHandle,
1347
- options?:
1348
- | (
1349
- & ObjectEncodingOptions
1350
- & Abortable
1351
- & {
1352
- flag?: OpenMode | undefined;
1353
- }
1354
- )
1355
- | BufferEncoding
1356
- | null,
1352
+ options: ReadFileOptions | BufferEncoding | null,
1357
1353
  ): Promise<string | NonSharedBuffer>;
1358
1354
  /**
1359
1355
  * Asynchronously open a directory for iterative scanning. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for more detail.
@@ -1,5 +1,5 @@
1
1
  declare module "node:fs" {
2
- import { NonSharedBuffer } from "node:buffer";
2
+ import { BufferView, NonSharedBuffer } from "node:buffer";
3
3
  import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
4
4
  import { FileHandle } from "node:fs/promises";
5
5
  import * as stream from "node:stream";
@@ -3029,6 +3029,19 @@ declare module "node:fs" {
3029
3029
  * If no `options` object is specified, it will default with the above values.
3030
3030
  */
3031
3031
  function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadOptions): number;
3032
+ interface ReadFileOptions extends Abortable {
3033
+ encoding?: BufferEncoding | null | undefined;
3034
+ flag?: OpenMode | undefined;
3035
+ }
3036
+ interface ReadFileOptionsWithStringEncoding extends ReadFileOptions {
3037
+ encoding: BufferEncoding;
3038
+ }
3039
+ interface ReadFileOptionsWithBufferEncoding extends ReadFileOptions {
3040
+ encoding?: null | undefined;
3041
+ }
3042
+ interface ReadFileOptionsWithBuffer<T extends NodeJS.ArrayBufferView> extends ReadFileOptionsWithBufferEncoding {
3043
+ buffer: T | ((size: number) => T);
3044
+ }
3032
3045
  /**
3033
3046
  * Asynchronously reads the entire contents of a file.
3034
3047
  *
@@ -3046,6 +3059,11 @@ declare module "node:fs" {
3046
3059
  *
3047
3060
  * If no encoding is specified, then the raw buffer is returned.
3048
3061
  *
3062
+ * If `buffer` is provided and no encoding is specified, the returned `Buffer` is
3063
+ * a view over the supplied buffer containing only the bytes read. If the
3064
+ * supplied buffer is too small to contain the entire file, the callback is
3065
+ * called with an error.
3066
+ *
3049
3067
  * If `options` is a string, then it specifies the encoding:
3050
3068
  *
3051
3069
  * ```js
@@ -3054,7 +3072,8 @@ declare module "node:fs" {
3054
3072
  * readFile('/etc/passwd', 'utf8', callback);
3055
3073
  * ```
3056
3074
  *
3057
- * When the path is a directory, the behavior of `fs.readFile()` and {@link readFileSync} is platform-specific. On macOS, Linux, and Windows, an
3075
+ * When the path is a directory, the behavior of `fs.readFile()` and
3076
+ * `fs.readFileSync()` is platform-specific. On macOS, Linux, and Windows, an
3058
3077
  * error will be returned. On FreeBSD, a representation of the directory's contents
3059
3078
  * will be returned.
3060
3079
  *
@@ -3092,60 +3111,56 @@ declare module "node:fs" {
3092
3111
  *
3093
3112
  * Aborting an ongoing request does not abort individual operating
3094
3113
  * system requests but rather the internal buffering `fs.readFile` performs.
3114
+ *
3115
+ * An example using the `buffer` option with a pre-allocated buffer:
3116
+ *
3117
+ * ```js
3118
+ * import { Buffer } from 'node:buffer';
3119
+ * import { readFile } from 'node:fs';
3120
+ *
3121
+ * const buf = Buffer.alloc(16384);
3122
+ * readFile('/path/to/file', { buffer: buf }, (err, data) => {
3123
+ * if (err) throw err;
3124
+ * console.log(data); // A view over `buf` containing only the bytes read
3125
+ * });
3126
+ * ```
3127
+ *
3128
+ * An example using the `buffer` option with a function returning a buffer:
3129
+ *
3130
+ * ```js
3131
+ * import { Buffer } from 'node:buffer';
3132
+ * import { readFile } from 'node:fs';
3133
+ *
3134
+ * readFile('/path/to/file', {
3135
+ * buffer: (size) => Buffer.alloc(size),
3136
+ * }, (err, data) => {
3137
+ * if (err) throw err;
3138
+ * console.log(data);
3139
+ * });
3140
+ * ```
3095
3141
  * @since v0.1.29
3096
3142
  * @param path filename or file descriptor
3097
3143
  */
3144
+ function readFile<T extends NodeJS.ArrayBufferView>(
3145
+ path: PathOrFileDescriptor,
3146
+ options: ReadFileOptionsWithBuffer<T>,
3147
+ callback: (err: NodeJS.ErrnoException | null, data: BufferView<T>) => void,
3148
+ ): void;
3098
3149
  function readFile(
3099
3150
  path: PathOrFileDescriptor,
3100
- options:
3101
- | ({
3102
- encoding?: null | undefined;
3103
- flag?: string | undefined;
3104
- } & Abortable)
3105
- | undefined
3106
- | null,
3151
+ options: ReadFileOptionsWithBufferEncoding | null | undefined,
3107
3152
  callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
3108
3153
  ): void;
3109
- /**
3110
- * Asynchronously reads the entire contents of a file.
3111
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3112
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3113
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3114
- * If a flag is not provided, it defaults to `'r'`.
3115
- */
3116
3154
  function readFile(
3117
3155
  path: PathOrFileDescriptor,
3118
- options:
3119
- | ({
3120
- encoding: BufferEncoding;
3121
- flag?: string | undefined;
3122
- } & Abortable)
3123
- | BufferEncoding,
3156
+ options: ReadFileOptionsWithStringEncoding | BufferEncoding,
3124
3157
  callback: (err: NodeJS.ErrnoException | null, data: string) => void,
3125
3158
  ): void;
3126
- /**
3127
- * Asynchronously reads the entire contents of a file.
3128
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3129
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3130
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3131
- * If a flag is not provided, it defaults to `'r'`.
3132
- */
3133
3159
  function readFile(
3134
3160
  path: PathOrFileDescriptor,
3135
- options:
3136
- | (ObjectEncodingOptions & {
3137
- flag?: string | undefined;
3138
- } & Abortable)
3139
- | BufferEncoding
3140
- | undefined
3141
- | null,
3161
+ options: ReadFileOptions | BufferEncoding | null | undefined,
3142
3162
  callback: (err: NodeJS.ErrnoException | null, data: string | NonSharedBuffer) => void,
3143
3163
  ): void;
3144
- /**
3145
- * Asynchronously reads the entire contents of a file.
3146
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3147
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3148
- */
3149
3164
  function readFile(
3150
3165
  path: PathOrFileDescriptor,
3151
3166
  callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
@@ -3200,16 +3215,37 @@ declare module "node:fs" {
3200
3215
  | null,
3201
3216
  ): Promise<string | NonSharedBuffer>;
3202
3217
  }
3218
+ interface ReadFileSyncOptions {
3219
+ encoding?: BufferEncoding | null | undefined;
3220
+ flag?: OpenMode | undefined;
3221
+ }
3222
+ interface ReadFileSyncOptionsWithStringEncoding extends ReadFileSyncOptions {
3223
+ encoding: BufferEncoding;
3224
+ }
3225
+ interface ReadFileSyncOptionsWithBufferEncoding extends ReadFileSyncOptions {
3226
+ encoding?: null | undefined;
3227
+ }
3228
+ interface ReadFileSyncOptionsWithBuffer<T extends NodeJS.ArrayBufferView>
3229
+ extends ReadFileSyncOptionsWithBufferEncoding
3230
+ {
3231
+ buffer: T | ((size: number) => T);
3232
+ }
3203
3233
  /**
3204
3234
  * Returns the contents of the `path`.
3205
3235
  *
3206
3236
  * For detailed information, see the documentation of the asynchronous version of
3207
- * this API: {@link readFile}.
3237
+ * this API: `fs.readFile()`.
3208
3238
  *
3209
3239
  * If the `encoding` option is specified then this function returns a
3210
3240
  * string. Otherwise it returns a buffer.
3211
3241
  *
3212
- * Similar to {@link readFile}, when the path is a directory, the behavior of `fs.readFileSync()` is platform-specific.
3242
+ * If `buffer` is provided and no encoding is specified, the returned {Buffer} is
3243
+ * a view over the supplied buffer containing only the bytes read. If the
3244
+ * supplied buffer is too small to contain the entire file, an error will be
3245
+ * thrown.
3246
+ *
3247
+ * Similar to `fs.readFile()`, when the path is a directory, the behavior of
3248
+ * `fs.readFileSync()` is platform-specific.
3213
3249
  *
3214
3250
  * ```js
3215
3251
  * import { readFileSync } from 'node:fs';
@@ -3224,45 +3260,19 @@ declare module "node:fs" {
3224
3260
  * @since v0.1.8
3225
3261
  * @param path filename or file descriptor
3226
3262
  */
3263
+ function readFileSync<T extends NodeJS.ArrayBufferView>(
3264
+ path: PathOrFileDescriptor,
3265
+ options: ReadFileSyncOptionsWithBuffer<T>,
3266
+ ): BufferView<T>;
3227
3267
  function readFileSync(
3228
3268
  path: PathOrFileDescriptor,
3229
- options?: {
3230
- encoding?: null | undefined;
3231
- flag?: string | undefined;
3232
- } | null,
3269
+ options?: ReadFileSyncOptionsWithBufferEncoding | null,
3233
3270
  ): NonSharedBuffer;
3234
- /**
3235
- * Synchronously reads the entire contents of a file.
3236
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3237
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3238
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3239
- * If a flag is not provided, it defaults to `'r'`.
3240
- */
3241
3271
  function readFileSync(
3242
3272
  path: PathOrFileDescriptor,
3243
- options:
3244
- | {
3245
- encoding: BufferEncoding;
3246
- flag?: string | undefined;
3247
- }
3248
- | BufferEncoding,
3273
+ options: ReadFileSyncOptionsWithStringEncoding | BufferEncoding,
3249
3274
  ): string;
3250
- /**
3251
- * Synchronously reads the entire contents of a file.
3252
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3253
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3254
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3255
- * If a flag is not provided, it defaults to `'r'`.
3256
- */
3257
- function readFileSync(
3258
- path: PathOrFileDescriptor,
3259
- options?:
3260
- | (ObjectEncodingOptions & {
3261
- flag?: string | undefined;
3262
- })
3263
- | BufferEncoding
3264
- | null,
3265
- ): string | NonSharedBuffer;
3275
+ function readFileSync(path: PathOrFileDescriptor, options: ReadFileSyncOptions): string | NonSharedBuffer;
3266
3276
  type WriteFileOptions =
3267
3277
  | (
3268
3278
  & ObjectEncodingOptions
@@ -175,6 +175,7 @@ declare module "node:http" {
175
175
  headers?: OutgoingHttpHeaders | readonly string[] | undefined;
176
176
  host?: string | null | undefined;
177
177
  hostname?: string | null | undefined;
178
+ httpValidation?: "strict" | "relaxed" | "insecure" | undefined;
178
179
  insecureHTTPParser?: boolean | undefined;
179
180
  localAddress?: string | undefined;
180
181
  localPort?: number | undefined;
@@ -224,7 +225,7 @@ declare module "node:http" {
224
225
  * The number of milliseconds of inactivity a server needs to wait for additional incoming data,
225
226
  * after it has finished writing the last response, before a socket will be destroyed.
226
227
  * @see Server.keepAliveTimeout for more information.
227
- * @default 5000
228
+ * @default 65000
228
229
  * @since v18.0.0
229
230
  */
230
231
  keepAliveTimeout?: number | undefined;
@@ -254,6 +255,21 @@ declare module "node:http" {
254
255
  * @since v20.1.0
255
256
  */
256
257
  highWaterMark?: number | undefined;
258
+ /**
259
+ * Controls HTTP header value validation strictness
260
+ * for incoming requests. Accepted values are:
261
+ * * `'strict'`: Strictest validation; rejects any non-ASCII or control
262
+ * characters in header values.
263
+ * * `'relaxed'`: Allows a limited set of non-ASCII characters in header
264
+ * values, aligning with the
265
+ * [Fetch specification](https://fetch.spec.whatwg.org/).
266
+ * * `'insecure'`: Disables all header value validation (equivalent to
267
+ * `insecureHTTPParser: true`).
268
+ *
269
+ * Cannot be used together with `insecureHTTPParser`. **Default:** `'strict'`.
270
+ * @since v26.3.0
271
+ */
272
+ httpValidation?: "strict" | "relaxed" | "insecure" | undefined;
257
273
  /**
258
274
  * Use an insecure HTTP parser that accepts invalid HTTP headers when `true`.
259
275
  * Using the insecure parser should be avoided.
@@ -283,7 +299,7 @@ declare module "node:http" {
283
299
  requireHostHeader?: boolean | undefined;
284
300
  /**
285
301
  * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received,
286
- * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`.
302
+ * similarly on what is done in `socket.setKeepAlive()`.
287
303
  * @default false
288
304
  * @since v16.5.0
289
305
  */
@@ -433,7 +433,7 @@ declare module "node:http2" {
433
433
  *
434
434
  * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
435
435
  * will be emitted immediately after queuing the last chunk of payload data to be
436
- * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
436
+ * sent. The `http2stream.sendTrailers()` method can then be used to send trailing
437
437
  * header fields to the peer.
438
438
  *
439
439
  * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
@@ -548,7 +548,7 @@ declare module "node:http2" {
548
548
  *
549
549
  * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
550
550
  * will be emitted immediately after queuing the last chunk of payload data to be
551
- * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
551
+ * sent. The `http2stream.sendTrailers()` method can then be used to send trailing
552
552
  * header fields to the peer.
553
553
  *
554
554
  * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
@@ -840,9 +840,12 @@ declare module "node:http2" {
840
840
  * HTTP/2 request to the connected server.
841
841
  *
842
842
  * When a `ClientHttp2Session` is first created, the socket may not yet be
843
- * connected. if `clienthttp2session.request()` is called during this time, the
843
+ * connected. If `clienthttp2session.request()` is called during this time, the
844
844
  * actual request will be deferred until the socket is ready to go.
845
- * If the `session` is closed before the actual request be executed, an `ERR_HTTP2_GOAWAY_SESSION` is thrown.
845
+ *
846
+ * If the session becomes unavailable before the request can be created, the
847
+ * returned stream will emit `ERR_HTTP2_GOAWAY_SESSION` or
848
+ * `ERR_HTTP2_INVALID_SESSION` asynchronously.
846
849
  *
847
850
  * This method is only available if `http2session.type` is equal to `http2.constants.NGHTTP2_SESSION_CLIENT`.
848
851
  *
@@ -1166,6 +1169,11 @@ declare module "node:http2" {
1166
1169
  * @default 128
1167
1170
  */
1168
1171
  maxHeaderListPairs?: number | undefined;
1172
+ /**
1173
+ * Sets the maximum number of uniq origin the sever
1174
+ * can send via ORIGIN frames. **Default:** `128`.
1175
+ */
1176
+ maxOriginSetSize?: number | undefined;
1169
1177
  /**
1170
1178
  * Sets the maximum number of outstanding, unacknowledged pings.
1171
1179
  * @default 10
@@ -108,6 +108,7 @@
108
108
  /// <reference path="util.d.ts" />
109
109
  /// <reference path="util/types.d.ts" />
110
110
  /// <reference path="v8.d.ts" />
111
+ /// <reference path="vfs.d.ts" />
111
112
  /// <reference path="vm.d.ts" />
112
113
  /// <reference path="wasi.d.ts" />
113
114
  /// <reference path="worker_threads.d.ts" />
@@ -43,7 +43,8 @@ declare module "node:inspector" {
43
43
  */
44
44
  function open(port?: number, host?: string, wait?: boolean): Disposable;
45
45
  /**
46
- * Deactivate the inspector. Blocks until there are no active connections.
46
+ * Deactivates the inspector. If there are active connections, they are forcibly
47
+ * terminated. Blocks until the inspector server has fully stopped.
47
48
  */
48
49
  function close(): void;
49
50
  /**
@@ -25,6 +25,7 @@ declare module "node:net" {
25
25
  keepAliveInitialDelay?: number | undefined;
26
26
  blockList?: BlockList | undefined;
27
27
  typeOfService?: number | undefined;
28
+ handle?: BoundSocket | undefined;
28
29
  }
29
30
  interface OnReadOpts {
30
31
  buffer: Uint8Array | (() => Uint8Array);
@@ -57,6 +58,12 @@ declare module "node:net" {
57
58
  }
58
59
  type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
59
60
  type SocketReadyState = "opening" | "open" | "readOnly" | "writeOnly" | "closed";
61
+ interface SetKeepAliveOptions {
62
+ enable?: boolean | undefined;
63
+ initialDelay?: number | undefined;
64
+ interval?: number | undefined;
65
+ count?: number | undefined;
66
+ }
60
67
  interface SocketEventMap extends Omit<stream.DuplexEventMap, "close"> {
61
68
  "close": [hadError: boolean];
62
69
  "connect": [];
@@ -199,25 +206,27 @@ declare module "node:net" {
199
206
  */
200
207
  setNoDelay(noDelay?: boolean): this;
201
208
  /**
202
- * Enable/disable keep-alive functionality, and optionally set the initial
203
- * delay before the first keepalive probe is sent on an idle socket.
204
- *
205
- * Set `initialDelay` (in milliseconds) to set the delay between the last
206
- * data packet received and the first keepalive probe. Setting `0` for`initialDelay` will leave the value unchanged from the default
207
- * (or previous) setting.
208
- *
209
- * Enabling the keep-alive functionality will set the following socket options:
209
+ * Configure keep-alive using an options object. See `socket.setKeepAlive()`
210
+ * for a description of each property.
210
211
  *
211
- * * `SO_KEEPALIVE=1`
212
- * * `TCP_KEEPIDLE=initialDelay`
213
- * * `TCP_KEEPCNT=10`
214
- * * `TCP_KEEPINTVL=1`
212
+ * ```js
213
+ * socket.setKeepAlive({ enable: true, initialDelay: 1000, interval: 1000, count: 10 });
214
+ * ```
215
+ * @since v26.4.0
216
+ * @returns The socket itself.
217
+ */
218
+ setKeepAlive(options: SetKeepAliveOptions): this;
219
+ /**
220
+ * Configure keep-alive using positional arguments. See
221
+ * `socket.setKeepAlive()` for a description of each argument.
215
222
  * @since v0.1.92
216
- * @param [enable=false]
217
- * @param [initialDelay=0]
218
- * @return The socket itself.
223
+ * @param enable **Default:** `false`
224
+ * @param initialDelay **Default:** `0`
225
+ * @param interval **Default:** `1000`
226
+ * @param count **Default:** `10`
227
+ * @returns The socket itself.
219
228
  */
220
- setKeepAlive(enable?: boolean, initialDelay?: number): this;
229
+ setKeepAlive(enable?: boolean, initialDelay?: number, interval?: number, count?: number): this;
221
230
  /**
222
231
  * Returns the current Type of Service (TOS) field for IPv4 packets or Traffic
223
232
  * Class for IPv6 packets for this socket.
@@ -442,9 +451,92 @@ declare module "node:net" {
442
451
  removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
443
452
  // #endregion
444
453
  }
454
+ interface BoundSocketOptions {
455
+ /**
456
+ * Local address to bind. Must be a numeric IP literal; no DNS
457
+ * resolution is performed. **Default:** `'0.0.0.0'`, or `'::'` when
458
+ * `ipv6Only` is `true`.
459
+ */
460
+ host?: string | undefined;
461
+ /**
462
+ * Local port. `0` requests an OS-assigned ephemeral port.
463
+ * **Default:** `0`.
464
+ */
465
+ port?: number | undefined;
466
+ /**
467
+ * Sets `IPV6_V6ONLY`, disabling dual-stack support so the
468
+ * socket binds IPv6 only. Only meaningful for IPv6 binds. **Default:**
469
+ * `false`.
470
+ */
471
+ ipv6Only?: boolean | undefined;
472
+ /**
473
+ * Sets `SO_REUSEPORT`, allowing multiple sockets to bind
474
+ * the same address and port for kernel-level load balancing. Support is
475
+ * platform-dependent. **Default:** `false`.
476
+ */
477
+ reusePort?: boolean | undefined;
478
+ }
479
+ /**
480
+ * Allows for the synchronous creation of a pre-bound socket, that can be passed
481
+ * to `listen()` or `new net.Socket()` later on. For `listen()` this enables
482
+ * synchronous port reservation, while for `new net.Socket()`, it allows control
483
+ * over the local egress port/IP, via `bind(2)` semantics.
484
+ *
485
+ * Adoption transfers ownership of the socket; afterwards `address()` and `close()`
486
+ * throw `ERR_SOCKET_HANDLE_ADOPTED`. A handle that is never adopted must be
487
+ * closed to avoid leaking the socket.
488
+ *
489
+ * ```js
490
+ * import net from 'node:net';
491
+ *
492
+ * const bound = new net.BoundSocket();
493
+ * const { port } = bound.address();
494
+ * console.log(`Reserved port ${port} for server`);
495
+ *
496
+ * const server = net.createServer();
497
+ * server.listen(bound); // Adopt as a server, or pass to new net.Socket() instead.
498
+ * ```
499
+ * @since v26.4.0
500
+ */
501
+ class BoundSocket {
502
+ /**
503
+ * @since v26.4.0
504
+ */
505
+ constructor(options?: BoundSocketOptions);
506
+ /**
507
+ * Returns the bound local address. When bound with `port: 0`, `port` is the
508
+ * OS-assigned ephemeral port.
509
+ * @since v26.4.0
510
+ * @returns An object with `address`, `family`, and `port` properties,
511
+ * as `server.address()` returns.
512
+ */
513
+ address(): AddressInfo;
514
+ /**
515
+ * Returns the file descriptor of the bound socket. Ownership remains with the
516
+ * `BoundSocket`, so the descriptor must not be closed by the caller. The
517
+ * descriptor is only available before the handle is adopted; afterwards it belongs
518
+ * to the adopting `net.Server` or `net.Socket` and `fd()` throws
519
+ * `ERR_SOCKET_HANDLE_ADOPTED`.
520
+ * @since v26.4.0
521
+ * @returns The underlying OS file descriptor, or `-1` on platforms
522
+ * that do not expose one for sockets (such as Windows).
523
+ */
524
+ fd(): number;
525
+ /**
526
+ * Releases the bound socket. Only needed when the handle is never adopted.
527
+ * @since v26.4.0
528
+ */
529
+ close(): void;
530
+ /**
531
+ * Closes the handle if it has not been adopted or closed; otherwise a no-op.
532
+ * @since v26.4.0
533
+ */
534
+ [Symbol.dispose](): void;
535
+ }
445
536
  interface ListenOptions extends Abortable {
446
537
  backlog?: number | undefined;
447
538
  exclusive?: boolean | undefined;
539
+ handle?: BoundSocket | undefined;
448
540
  host?: string | undefined;
449
541
  /**
450
542
  * @default false