@overdeck/desktop 0.50.0 → 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.
- package/package.json +1 -1
- package/server/{acceptance-criteria-B_maCGZv.js → acceptance-criteria-DFyrgxW5.js} +2 -2
- package/server/{active-dashboard-bundle-CCqpFWiz.js → active-dashboard-bundle-DbfgP8TS.js} +2 -2
- package/server/{activity-logger-B0X2JJwM.js → activity-logger-DtdKxzPh.js} +1 -1
- package/server/{activity-logger-SlTXYCVf.js → activity-logger-ru8ggv-d.js} +3 -3
- package/server/{advancing-selfheal-BJAfiY-C.js → advancing-selfheal-BdZ1iFJf.js} +5 -5
- package/server/{agent-gc-bhikjoJ_.js → agent-gc-DBMg1vIc.js} +10 -10
- package/server/{agent-idle-D-UQ7gDv.js → agent-idle-CQlwmcRR.js} +10 -10
- package/server/{agent-state-BrUPf_7Z.js → agent-state-B0v3fvGI.js} +1 -1
- package/server/{agent-state-FABw8neJ.js → agent-state-BnyNoDWQ.js} +81 -80
- package/server/{agent-state-service-rDenYSlD.js → agent-state-service-D95wBjA3.js} +4 -4
- package/server/{agent-state-service-BAQApt97.js → agent-state-service-GK2Uy8zc.js} +1 -1
- package/server/{agents-DixZjXWm.js → agents-BdkVgjxC.js} +1 -1
- package/server/{agents-DzpQidT8.js → agents-DMs1aLRU.js} +4 -4
- package/server/{archive-planning-BL1ABtW0.js → archive-planning-CFf5FVHQ.js} +4 -4
- package/server/archive-planning-CNSWQPvz.js +2 -0
- package/server/{artifact-index-jobs-Cjdme0jS.js → artifact-index-jobs-BdeB5RIY.js} +2 -2
- package/server/{assemble-B_JgnCbG.js → assemble-D88iFkP-.js} +2 -2
- package/server/{auto-spawn-consent-BesWchEi.js → auto-spawn-consent-C1avLtkk.js} +6 -6
- package/server/{backlog-auto-trigger-COLq639j.js → backlog-auto-trigger-oKIGNBzZ.js} +2 -2
- package/server/{behavior-DCg8CIWC.js → behavior-CPX0E2Fj.js} +48 -6
- package/server/{bridge-pool-patrol-BDohuMRt.js → bridge-pool-patrol-DstxbANA.js} +2 -2
- package/server/{briefing-freshness-ENa_hW_V.js → briefing-freshness-FF0WLPMc.js} +2 -2
- package/server/build-info-Df2tkRrB.js +2 -0
- package/server/{build-info-WuZT6xyi.js → build-info-DiA6h4T6.js} +3 -3
- package/server/{checkpoint-manager-CSZ7aVQF.js → checkpoint-manager-CkXA-F6Z.js} +2 -2
- package/server/{checkpoint-manager-DXhGRvg4.js → checkpoint-manager-D74ueYZp.js} +1 -1
- package/server/checkpoint-worker.js +1 -1
- package/server/{checkpoints-DUkUsPVS.js → checkpoints-Ds83fUb1.js} +2 -2
- package/server/{checkpoints-tm_w6Y4V.js → checkpoints-JIKy0UFv.js} +1 -1
- package/server/{claude-hooks-provision-CTh9zxEi.js → claude-hooks-provision-BJ8LNIAe.js} +1 -1
- package/server/{claude-hooks-provision-fRofvhTN.js → claude-hooks-provision-D7Z8kANm.js} +2 -2
- package/server/{claude-permissions-DLrb9ovz.js → claude-permissions-Bn53HCXr.js} +2 -2
- package/server/{claude-settings-overlay-BYnXaTVc.js → claude-settings-overlay-CqJZjFqv.js} +2 -2
- package/server/{claude-settings-overlay-CMS5Jab5.js → claude-settings-overlay-QByq1SQa.js} +1 -1
- package/server/{cli-CoQou1t_.js → cli-BXmAb7vN.js} +11 -11
- package/server/cli-BjznnCC3.js +2 -0
- package/server/{cliproxy-DXDQcR3I.js → cliproxy-L_2OxNJf.js} +2 -2
- package/server/{cliproxy-DdhFpcXU.js → cliproxy-ltFu5xfR.js} +1 -1
- package/server/{close-issue-CpQ0BWg-.js → close-issue-BZAf0Ii-.js} +4 -4
- package/server/{closed-issue-reaper-CdcJRvUx.js → closed-issue-reaper-BJa8SbvQ.js} +13 -13
- package/server/{closed-issue-reaper-TymtZM37.js → closed-issue-reaper-DVtyOI4C.js} +1 -1
- package/server/{codex-BValsmtK.js → codex-BqLZKVNm.js} +1 -1
- package/server/{codex-DYyZL8JD.js → codex-DSs-3aOm.js} +5 -5
- package/server/{compaction-continuation-CVjbdGKt.js → compaction-continuation-TG0HYkOq.js} +3 -3
- package/server/{config-NxI9Yl2f.js → config-Cx3N6gWz.js} +2 -2
- package/server/{config-_qaa1UXH.js → config-DP0VV7rX.js} +2 -2
- package/server/{config-CvKH7r7W.js → config-DURnId0k.js} +1 -1
- package/server/{config-yaml-D60AnTIu.js → config-yaml-OoH-ZpTb.js} +25 -1
- package/server/{conflict-gate-hAUCL-un.js → conflict-gate-SgOELW84.js} +4 -4
- package/server/{conflict-gate-0dD1kxjN.js → conflict-gate-pMfhBEVB.js} +1 -1
- package/server/{context-layers-Ds1MnEFI.js → context-layers-D0QBOPJJ.js} +2 -2
- package/server/{context-layers-CdpabJj0.js → context-layers-LY5zt0da.js} +3 -3
- package/server/{continue-CnvrUfxw.js → continue-Cmzd6leL.js} +2 -2
- package/server/{control-settings-Db0uXgVM.js → control-settings-Bdud_B1j.js} +5 -5
- package/server/{conversation-compaction-DzMXGRiJ.js → conversation-compaction-BX9UR8nl.js} +1 -1
- package/server/{conversation-compaction-B-1KETG9.js → conversation-compaction-dFx_2wpa.js} +8 -8
- package/server/{conversation-service-BL-asWPX.js → conversation-service-B3h1erHm.js} +1 -1
- package/server/{conversation-service-BxIOd5ay.js → conversation-service-zgLM2g2D.js} +22 -12
- package/server/{conversations-CEMfwMt-.js → conversations-Ch7UGi0F.js} +1 -1
- package/server/{conversations-nS6QgYpD.js → conversations-JyrMSeOh.js} +5 -5
- package/server/{cost-DTuIRE4y.js → cost-CxXv7ei-.js} +10 -2
- package/server/{cost-3FyqKK56.js → cost-DR57uJFP.js} +8 -8
- package/server/{cost-Cctc-Q9M.js → cost-MZ7EZFDc.js} +3 -3
- package/server/{cost-sync-DfmvLT9L.js → cost-sync-Bq_dyq9k.js} +3 -3
- package/server/{dag-o-dUpw1L.js → dag-CKUsr8wB.js} +2 -2
- package/server/dashboard-db-worker.js +10 -10
- package/server/{deacon-e6py3jkM.js → deacon-BUOpTnmQ.js} +3 -3
- package/server/{deacon-CsisLmPt.js → deacon-C7qZxRuW.js} +119 -119
- package/server/{deacon-canonical-state-DkdkQS5p.js → deacon-canonical-state-hcaZgjoT.js} +2 -2
- package/server/{deacon-event-client-CMQswEHX.js → deacon-event-client-Coiopt4u.js} +2 -2
- package/server/{deacon-event-client-BCjHiGAY.js → deacon-event-client-DJ71Tifg.js} +1 -1
- package/server/{deacon-pending-lifecycle-BzaE76Xo.js → deacon-pending-lifecycle-Dv0-8bZG.js} +2 -2
- package/server/deacon.js +10 -10
- package/server/dead-end-trip-B91w2PGV.js +2 -0
- package/server/{dead-end-trip-Bs3hxIn6.js → dead-end-trip-DH_hA7yS.js} +3 -3
- package/server/{delivery-DhZGRShH.js → delivery-zJM4aIkf.js} +1 -1
- package/server/{deploy-patrol-B8sKkA8h.js → deploy-patrol-Cv96N0s6.js} +7 -7
- package/server/deploy-queue-2cN86Lg4.js +2 -0
- package/server/{deploy-queue-CCGWXFkp.js → deploy-queue-EcksuKE2.js} +2 -2
- package/server/{deploy-window-YuJewzmC.js → deploy-window-BXbzS0zN.js} +4 -4
- package/server/{deploy-window-hgsvZ3UZ.js → deploy-window-CHgL_TTN.js} +1 -1
- package/server/{dev-supervisor-4SBloJHV.js → dev-supervisor-lNaYB136.js} +2 -2
- package/server/{devcontainer-renderer-BiJhwFNi.js → devcontainer-renderer-q8q9aXRd.js} +2 -2
- package/server/{docker-DQzyMXkd.js → docker-BNd0tMdS.js} +1 -1
- package/server/{docker-CWO7dcIP.js → docker-Dk-shfga.js} +3 -3
- package/server/{done-preflight-CGFA0M1b.js → done-preflight-AiXnYYAy.js} +1 -1
- package/server/{done-preflight-Cx9JGznT.js → done-preflight-CukR3Br8.js} +5 -5
- package/server/{ensure-devcontainer-Dk6ZMOUC.js → ensure-devcontainer-BjMV_gdX.js} +1 -1
- package/server/{ensure-devcontainer-DzYBBwnM.js → ensure-devcontainer-YXncXZ5Q.js} +3 -3
- package/server/{event-store-C50Qt-f1.js → event-store-CFnLP8w-.js} +1 -1
- package/server/{event-store-DTns2XZP.js → event-store-DbjldlXW.js} +5 -5
- package/server/{events-B6xW8Cpm.js → events-Bb2x5ijT.js} +3 -3
- package/server/{factory-CWVKwKFE.js → factory-DfIQG-qW.js} +4 -4
- package/server/{feature-registry-storage-vaxRN3WO.js → feature-registry-storage-BzAGS4DA.js} +2 -2
- package/server/{features-DXWwktJB.js → features-KxOILHX8.js} +2 -2
- package/server/{feedback-stuck-retirement-CXAYe2rU.js → feedback-stuck-retirement-BqTHm-1Z.js} +2 -2
- package/server/{feedback-target-yPD_wclF.js → feedback-target-BjLidX0M.js} +10 -10
- package/server/{feedback-target-DSVpi0gT.js → feedback-target-D2CIZFwc.js} +1 -1
- package/server/{feedback-writer-BzN4qvaP.js → feedback-writer-BrSQ4fC-.js} +1 -1
- package/server/{feedback-writer-Ds1Wjsz4.js → feedback-writer-Dgrma-L1.js} +5 -5
- package/server/{flywheel-DWKd7bMc.js → flywheel-D5FchYg4.js} +13 -13
- package/server/{flywheel-BCZS-FlW.js → flywheel-Ds0eOd1P.js} +1 -1
- package/server/{flywheel-CC4gE_rx.js → flywheel-X6kvGnf2.js} +13 -13
- package/server/{flywheel-merge-order-DJwH2KpL.js → flywheel-merge-order-BTY73Efv.js} +7 -7
- package/server/{flywheel-merge-order-DDT3i57u.js → flywheel-merge-order-PTHnouQS.js} +1 -1
- package/server/{forge-CHADjOFs.js → forge-B08cRXEb.js} +2 -2
- package/server/forge-egNLsjVi.js +2 -0
- package/server/{fs-lock-DQ_gUxfq.js → fs-lock-DfiYlr5u.js} +2 -2
- package/server/{fts-operations-asZo2fh1.js → fts-operations-Do1SP0w4.js} +2 -2
- package/server/{git-utils-BdHk8y7g.js → git-utils-DfpFkvwk.js} +4 -4
- package/server/{git-utils-BAMwn9Nf.js → git-utils-fcK3ZRNj.js} +1 -1
- package/server/{github-app-BlMSzSTw.js → github-app-Co8ZhyUJ.js} +2 -2
- package/server/{github-app-BWziYCf3.js → github-app-HAqQZZRD.js} +1 -1
- package/server/{github-client-OK24qpol.js → github-client-C7MUxFzX.js} +1 -1
- package/server/{github-client-w6j5nVlz.js → github-client-wqbDCmlL.js} +2 -2
- package/server/{github-pr-lookup-bGcsEvLE.js → github-pr-lookup-DdLCDdu9.js} +2 -2
- package/server/{harness-binary-DChiynaB.js → harness-binary-BuakhXkB.js} +2 -2
- package/server/{harness-resolve-BplBEbwn.js → harness-resolve-CISjc9FR.js} +4 -4
- package/server/{health-events-BTqsmunw.js → health-events-9RhRGZK1.js} +1 -1
- package/server/{health-events-Bk3LjaJ9.js → health-events-CIE7gy34.js} +2 -2
- package/server/{hooks-EndRNrx9.js → hooks-CmL3TXla.js} +1 -1
- package/server/{hooks-DJR1yR9w.js → hooks-D55VTdQS.js} +2 -2
- package/server/{identity-C3s8lyp0.js → identity-CZbJ0xpl.js} +3 -3
- package/server/{idle-stack-reaper-DtoI4al6.js → idle-stack-reaper-CjovDCet.js} +4 -4
- package/server/{idle-stack-reaper-CBelVOE3.js → idle-stack-reaper-DhbFdkWv.js} +1 -1
- package/server/{infra-CJRi_5Wu.js → infra-BbSWNOpH.js} +4 -4
- package/server/{injection-ADWQ3D0s.js → injection-BSnn_10a.js} +8 -8
- package/server/{injection-BWsgHvrL.js → injection-DsQDBSEi.js} +1 -1
- package/server/inspect-agent-BuSYgRQs.js +2 -0
- package/server/{inspect-agent-CCfNJjKr.js → inspect-agent-DS8j2v6U.js} +12 -12
- package/server/{internal-token-BeIWG_kT.js → internal-token-CUKcTWSG.js} +2 -2
- package/server/{internal-token-BCTEqUCX.js → internal-token-CkrMLCLU.js} +1 -1
- package/server/{io-BCtZoXHo.js → io-BgzG56av.js} +4 -4
- package/server/{issue-closed-CiYAa6bX.js → issue-closed-DZEwD3ol.js} +7 -7
- package/server/{issue-lifecycle-DaKN57sx.js → issue-lifecycle-Bnfbpkmk.js} +1 -1
- package/server/{issue-lifecycle-BETNVVLq.js → issue-lifecycle-LgYeE1o2.js} +24 -24
- package/server/{issue-service-singleton-C_sZ0HjP.js → issue-service-singleton-Bsb0GaY8.js} +10 -10
- package/server/{issue-service-singleton-1Q0ER8Yc.js → issue-service-singleton-COEqWNKE.js} +1 -1
- package/server/{issue-title-fallback-B91iD66g.js → issue-title-fallback-D4_b2XwP.js} +3 -3
- package/server/{issues-RGHQUKhB.js → issues-DYAEUW45.js} +2 -2
- package/server/{jsonl-parser-Dfs1dlYE.js → jsonl-parser-1IqHI9Yb.js} +3 -3
- package/server/{jsonl-resolver-bFtftCDd.js → jsonl-resolver-BJ8Hg-yD.js} +7 -7
- package/server/{kimi-code-BxkDgaj4.js → kimi-code-Cdkk9vRU.js} +1 -1
- package/server/{kimi-code-CNYRA8Dd.js → kimi-code-DwqLCWFw.js} +10 -10
- package/server/{kimi-parser-OcWwmOqF.js → kimi-parser-DFsZQArz.js} +2 -2
- package/server/{label-cleanup-CefxK9tL.js → label-cleanup-Bej6xDZK.js} +2 -2
- package/server/{lifecycle-DVXyUil2.js → lifecycle-BibLMHBH.js} +2 -2
- package/server/{lifecycle-DDZ7w-BY.js → lifecycle-CMpSB9sn.js} +5 -5
- package/server/{lifecycle-io-D7N0vQNj.js → lifecycle-io-CCCAMefe.js} +5 -5
- package/server/{lifecycle-io-D1oBiMce.js → lifecycle-io-CLWwYZaR.js} +1 -1
- package/server/{linear-client-TL32snOy.js → linear-client-BtYl16Cy.js} +1 -1
- package/server/{linear-client-DUN7zCeb.js → linear-client-fpL-qJEa.js} +2 -2
- package/server/{linear-mcp-auth-CtRKSHy5.js → linear-mcp-auth-CQ7ROT1X.js} +1 -1
- package/server/{linear-mcp-auth-bB0CPyjh.js → linear-mcp-auth-nAYWoUbH.js} +4 -4
- package/server/memory-fts-worker.js +1 -1
- package/server/{memory-governor-Cvv_9K0M.js → memory-governor-Mi5zF5zw.js} +10 -10
- package/server/{memory-pressure-patrol-C6DJJQRA.js → memory-pressure-patrol-CDeDh46A.js} +5 -5
- package/server/{merge-DOCR6pHi.js → merge-DCuDLiy9.js} +1 -1
- package/server/{merge-FTk4LsnM.js → merge-_XIivhkq.js} +3 -3
- package/server/{merge-agent-D-4_iQgy.js → merge-agent-svBDRWB6.js} +2 -2
- package/server/{merge-agent-C-dsN9se.js → merge-agent-zF9vqWqY.js} +31 -31
- package/server/{merge-completeness-BOtBUwTU.js → merge-completeness-CQPqu-pI.js} +4 -4
- package/server/{merge-completeness-CoLJxfUY.js → merge-completeness-CeQheehh.js} +1 -1
- package/server/{merge-eligibility-C4rTS97F.js → merge-eligibility-CJrBhQQe.js} +1 -1
- package/server/{merge-eligibility-D7wRnJbj.js → merge-eligibility-DhxVE8qU.js} +3 -3
- package/server/merge-ops-CUzpOPtO.js +2 -0
- package/server/{merge-rebase-KBw4rdh3.js → merge-rebase-Bjo45m3k.js} +2 -2
- package/server/merge-rebase-DkfcUT60.js +2 -0
- package/server/{merge-set-CyW-xSn4.js → merge-set-COZvz2nx.js} +4 -4
- package/server/{merge-set-CVfEM57p.js → merge-set-ChxZgjBB.js} +1 -1
- package/server/{merge-sync-YLvOPAry.js → merge-sync-CCi1Esdx.js} +2 -2
- package/server/{merge-sync-CYGsJy0u.js → merge-sync-DuJ6Vkl3.js} +1 -1
- package/server/{merge-train-VxLn8Ms4.js → merge-train-DTJXF8ph.js} +4 -4
- package/server/{merge-train-deps-D0y4hBB9.js → merge-train-deps-C0P0qGKe.js} +4 -4
- package/server/{merge-verification-BfJRNMiD.js → merge-verification-C5FexOBZ.js} +6 -6
- package/server/{merged-docker-cleanup-worker-Ci9oeFAe.js → merged-docker-cleanup-worker-0SEDG3Ao.js} +1 -1
- package/server/{merged-docker-cleanup-worker-Bh5fKG_b.js → merged-docker-cleanup-worker-C-kSp_jw.js} +3 -3
- package/server/{messaging-Dfbhgjd6.js → messaging-DQi-WEFB.js} +1 -1
- package/server/node_modules/.package-lock.json +17 -17
- package/server/node_modules/@types/node/README.md +1 -1
- package/server/node_modules/@types/node/buffer.buffer.d.ts +5 -0
- package/server/node_modules/@types/node/buffer.d.ts +1 -0
- package/server/node_modules/@types/node/crypto.d.ts +0 -2
- package/server/node_modules/@types/node/dgram.d.ts +119 -4
- package/server/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
- package/server/node_modules/@types/node/ffi.d.ts +1 -1
- package/server/node_modules/@types/node/fs/promises.d.ts +61 -65
- package/server/node_modules/@types/node/fs.d.ts +86 -76
- package/server/node_modules/@types/node/http.d.ts +2 -2
- package/server/node_modules/@types/node/http2.d.ts +2 -2
- package/server/node_modules/@types/node/index.d.ts +1 -0
- package/server/node_modules/@types/node/inspector.d.ts +2 -1
- package/server/node_modules/@types/node/net.d.ts +108 -16
- package/server/node_modules/@types/node/package.json +3 -3
- package/server/node_modules/@types/node/perf_hooks.d.ts +31 -19
- package/server/node_modules/@types/node/quic.d.ts +43 -15
- package/server/node_modules/@types/node/stream/iter.d.ts +4 -4
- package/server/node_modules/@types/node/stream/web.d.ts +20 -0
- package/server/node_modules/@types/node/tls.d.ts +50 -15
- package/server/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
- package/server/node_modules/@types/node/ts5.6/index.d.ts +1 -0
- package/server/node_modules/@types/node/ts5.7/index.d.ts +1 -0
- package/server/node_modules/@types/node/tty.d.ts +4 -3
- package/server/node_modules/@types/node/vfs.d.ts +211 -0
- package/server/node_modules/@types/node/vm.d.ts +1 -1
- package/server/node_modules/@types/node/zlib.d.ts +17 -0
- package/server/node_modules/msgpackr/README.md +1 -0
- package/server/node_modules/msgpackr/dist/index-no-eval.cjs +2 -2
- package/server/node_modules/msgpackr/dist/index-no-eval.cjs.map +1 -1
- package/server/node_modules/msgpackr/dist/index-no-eval.min.js +1 -1
- package/server/node_modules/msgpackr/dist/index-no-eval.min.js.map +1 -1
- package/server/node_modules/msgpackr/dist/index.js +2 -2
- package/server/node_modules/msgpackr/dist/index.js.map +1 -1
- package/server/node_modules/msgpackr/dist/index.min.js +1 -1
- package/server/node_modules/msgpackr/dist/index.min.js.map +1 -1
- package/server/node_modules/msgpackr/dist/node.cjs +2 -2
- package/server/node_modules/msgpackr/dist/node.cjs.map +1 -1
- package/server/node_modules/msgpackr/dist/test.js +52 -2
- package/server/node_modules/msgpackr/dist/test.js.map +1 -1
- package/server/node_modules/msgpackr/index.d.cts +1 -0
- package/server/node_modules/msgpackr/index.d.ts +1 -0
- package/server/node_modules/msgpackr/pack.js +2 -2
- package/server/node_modules/msgpackr/package.json +1 -1
- package/server/node_modules/protobufjs/dist/light/protobuf.js +59 -6
- package/server/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/server/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/server/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/server/node_modules/protobufjs/dist/minimal/protobuf.js +22 -2
- package/server/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
- package/server/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/server/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
- package/server/node_modules/protobufjs/dist/protobuf.js +59 -6
- package/server/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/server/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/server/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/server/node_modules/protobufjs/package.json +1 -1
- package/server/node_modules/protobufjs/src/decoder.js +32 -3
- package/server/node_modules/protobufjs/src/reader.js +20 -0
- package/server/node_modules/protobufjs/src/wrappers.js +5 -1
- package/server/node_modules/undici/docs/docs/api/Client.md +4 -0
- package/server/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
- package/server/node_modules/undici/docs/docs/api/EventSource.md +4 -0
- package/server/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
- package/server/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- package/server/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
- package/server/node_modules/undici/lib/core/symbols.js +2 -0
- package/server/node_modules/undici/lib/dispatcher/agent.js +7 -2
- package/server/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
- package/server/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
- package/server/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
- package/server/node_modules/undici/lib/dispatcher/client.js +3 -2
- package/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
- package/server/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
- package/server/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
- package/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
- package/server/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
- package/server/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
- package/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
- package/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
- package/server/node_modules/undici/lib/handler/cache-handler.js +29 -5
- package/server/node_modules/undici/lib/handler/decorator-handler.js +7 -1
- package/server/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
- package/server/node_modules/undici/lib/handler/redirect-handler.js +21 -4
- package/server/node_modules/undici/lib/handler/retry-handler.js +148 -30
- package/server/node_modules/undici/lib/interceptor/cache.js +65 -12
- package/server/node_modules/undici/lib/interceptor/decompress.js +115 -13
- package/server/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
- package/server/node_modules/undici/lib/interceptor/dns.js +7 -0
- package/server/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/server/node_modules/undici/lib/mock/mock-agent.js +13 -1
- package/server/node_modules/undici/lib/mock/mock-utils.js +11 -10
- package/server/node_modules/undici/lib/util/cache.js +45 -3
- package/server/node_modules/undici/lib/web/cookies/parse.js +150 -147
- package/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/server/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
- package/server/node_modules/undici/lib/web/fetch/index.js +6 -0
- package/server/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/server/node_modules/undici/lib/web/fetch/util.js +6 -1
- package/server/node_modules/undici/lib/web/webidl/index.js +3 -3
- package/server/node_modules/undici/lib/web/websocket/connection.js +1 -1
- package/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
- package/server/node_modules/undici/package.json +3 -3
- package/server/node_modules/undici/types/client.d.ts +10 -0
- package/server/node_modules/undici/types/interceptors.d.ts +2 -0
- package/server/node_modules/undici/types/mock-agent.d.ts +11 -10
- package/server/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
- package/server/node_modules/undici-types/client.d.ts +8 -3
- package/server/node_modules/undici-types/connector.d.ts +1 -0
- package/server/node_modules/undici-types/cookies.d.ts +1 -1
- package/server/node_modules/undici-types/dispatcher.d.ts +3 -3
- package/server/node_modules/undici-types/errors.d.ts +10 -0
- package/server/node_modules/undici-types/fetch.d.ts +5 -1
- package/server/node_modules/undici-types/handlers.d.ts +2 -0
- package/server/node_modules/undici-types/interceptors.d.ts +1 -1
- package/server/node_modules/undici-types/mock-interceptor.d.ts +5 -1
- package/server/node_modules/undici-types/package.json +1 -1
- package/server/node_modules/undici-types/proxy-agent.d.ts +7 -0
- package/server/{orphan-proposed-reconciler-CnP0K2v3.js → orphan-proposed-reconciler--V8GIzmY.js} +2 -2
- package/server/{orphan-proposed-reconciler-nFUlquZt.js → orphan-proposed-reconciler-BSsKWmsB.js} +20 -20
- package/server/package-lock.json +18 -18
- package/server/package.json +1 -1
- package/server/{pan-dir-B4NfzOf3.js → pan-dir-COaYhZel.js} +4 -4
- package/server/{parked-residue-8WbU0y1z.js → parked-residue-Dvr4W9P6.js} +31 -31
- package/server/{paths-rETQhTF2.js → paths-Cm1Q7Old.js} +2 -2
- package/server/{pipeline-agent-reader-CeWhQzXC.js → pipeline-agent-reader-DCCwbUj8.js} +3 -3
- package/server/{pipeline-membership-gather-C9E22B2W.js → pipeline-membership-gather-DGoDOfKO.js} +1 -1
- package/server/{pipeline-membership-gather-Ba0wJNCR.js → pipeline-membership-gather-UN7kHpCD.js} +9 -9
- package/server/{pipeline-notifier-p190L97e.js → pipeline-notifier-DfH2i_zP.js} +2 -2
- package/server/{pipeline-notifier-B5DPXvnr.js → pipeline-notifier-DsCfxoSU.js} +1 -1
- package/server/{post-merge-lifecycle-worker-OQoK8Ckg.js → post-merge-lifecycle-worker-V51p8tSm.js} +2 -2
- package/server/{post-merge-state-DFaf7OI1.js → post-merge-state-Cym5NVlB.js} +4 -4
- package/server/{prd-locations-F2oLSAhy.js → prd-locations-CPuMD55x.js} +3 -3
- package/server/{project-pipelines-CUsa6U59.js → project-pipelines-DdDKdXrG.js} +2 -2
- package/server/{project-repos-BVdi9-ch.js → project-repos-CNrLxJDg.js} +1 -1
- package/server/{project-repos-CsfvLtmr.js → project-repos-DqAT7YV6.js} +2 -2
- package/server/{project-resource-refresh-queue-D2110Guc.js → project-resource-refresh-queue-C-umDazS.js} +1 -1
- package/server/{project-resource-refresh-queue-BehrH4Ai.js → project-resource-refresh-queue-Dh8k2SB7.js} +14 -14
- package/server/{projects-BMuEf14J.js → projects-Crur9uCa.js} +1 -1
- package/server/{prompts-CKpDt8Jn.js → prompts-CvtVJUpG.js} +2 -2
- package/server/{providers-CxPKmyif.js → providers-1BlEh5x1.js} +7 -7
- package/server/{providers-Buv2wmFU.js → providers-Bun8zer5.js} +1 -1
- package/server/public/assets/{chunk-BO2N2NFS-DZOQVqV1.js → chunk-BO2N2NFS-DzUNVdeo.js} +4 -4
- package/server/public/assets/{diagram-OG6HWLK6-oKeXcbO1.js → diagram-OG6HWLK6-D5iThVwA.js} +1 -1
- package/server/public/assets/{dist-2qPmeRzT.js → dist-BLq-IR2D.js} +3 -3
- package/server/public/assets/{dist-ClBlE-Nm.js → dist-RyrOs5EF.js} +1 -1
- package/server/public/assets/{ganttDiagram-6RSMTGT7-BwdG9fQv.js → ganttDiagram-6RSMTGT7-n8bUPXAS.js} +1 -1
- package/server/public/assets/{highlighted-body-OFNGDK62-BzGNdskQ.js → highlighted-body-OFNGDK62-1npo3yiG.js} +1 -1
- package/server/public/assets/{index-Cg6tdZoY.js → index-BvN8bWpz.js} +7 -7
- package/server/public/assets/{index-CdPveU3M.css → index-DgoS288w.css} +1 -1
- package/server/public/assets/{linear-DpEt1TJb.js → linear-Dd96gky1.js} +1 -1
- package/server/public/assets/mermaid-GHXKKRXX-fP93Za-W.js +1 -0
- package/server/public/assets/{pieDiagram-4H26LBE5-9BpM4oRJ.js → pieDiagram-4H26LBE5-CynZvpYP.js} +1 -1
- package/server/public/assets/{prod-CzJiNNEG.js → prod-DBuCX9g-.js} +4 -4
- package/server/public/assets/{quadrantDiagram-W4KKPZXB-BXWVAoZx.js → quadrantDiagram-W4KKPZXB-BNlEKLKN.js} +1 -1
- package/server/public/assets/{sankeyDiagram-5OEKKPKP-5oxodGEw.js → sankeyDiagram-5OEKKPKP-Cq0AMnkD.js} +1 -1
- package/server/public/assets/{xychartDiagram-2RQKCTM6-BChDrHxZ.js → xychartDiagram-2RQKCTM6-D7GXcBy2.js} +1 -1
- package/server/public/index.html +2 -2
- package/server/pull-requests-DV_rJ-1u.js +2 -0
- package/server/{pull-requests-T0OV0Vn4.js → pull-requests-DrhWU9MW.js} +3 -3
- package/server/{rally-CUqj2oIN.js → rally-D5QkIZeb.js} +3 -3
- package/server/rally-DlXjOIAG.js +3 -0
- package/server/{rally-api-BoucQG1u.js → rally-api-BdNfpNGk.js} +1 -1
- package/server/{rally-api-BFPb2oSq.js → rally-api-CNlcoTFM.js} +2 -2
- package/server/{rally-client-CsqLjLLa.js → rally-client-BCU7mVWE.js} +1 -1
- package/server/{rally-client-16iObny7.js → rally-client-C3eB9TM-.js} +4 -4
- package/server/{rebuild-stack-BcBVFJp3.js → rebuild-stack-BupKggo5.js} +2 -2
- package/server/{rebuild-stack-CyXMrj6K.js → rebuild-stack-CNknXJHL.js} +5 -5
- package/server/{reconciler-caYiRnPy.js → reconciler-ComAOr_F.js} +6 -6
- package/server/{reconstruct-cache-3JzPOune.js → reconstruct-cache-DbjgwKRi.js} +6 -6
- package/server/{record-DYOg97Iv.js → record-C4JJCL2f.js} +1 -1
- package/server/{record-update-CDPEX7BH.js → record-update-CWwZsp9Y.js} +1 -1
- package/server/{record-update-BPqpBu3O.js → record-update-Cl56NqoQ.js} +4 -4
- package/server/{recovery-trip-CpfW6LCJ.js → recovery-trip-DA7tCXbp.js} +3 -3
- package/server/{recovery-trip-xqKC07Gy.js → recovery-trip-DFtSA8h5.js} +1 -1
- package/server/{release-engine-C_OOhCaK.js → release-engine-Dk99C48O.js} +5 -5
- package/server/{release-set-DOIDz2vw.js → release-set-x8KH3nrE.js} +3 -3
- package/server/{remote-BTh-sjpX.js → remote-BMZmJC5E.js} +3 -3
- package/server/{remote-xY0B43Ho.js → remote-DyZIg94K.js} +3 -3
- package/server/{remote-agents-DbbN7vSm.js → remote-agents-Blb0vO_M.js} +6 -6
- package/server/{remote-agents-MuXx2gWm.js → remote-agents-MbWzm5Fh.js} +1 -1
- package/server/{remote-completion-LcWCpAm2.js → remote-completion-Bcd13o-J.js} +12 -12
- package/server/{resolver-D4nsxfGo.js → resolver-CZVWKCx0.js} +7 -7
- package/server/{resolver-C2QKOf09.js → resolver-tJeEkPK5.js} +2 -2
- package/server/{resume-ByUrJUNX.js → resume-DmF2andq.js} +1 -1
- package/server/{review-agent-BRBTm1qE.js → review-agent-CmJeQc0K.js} +29 -29
- package/server/{review-agent-Caodi0PX.js → review-agent-DM9S22BL.js} +2 -2
- package/server/{review-artifacts-DgaDlbO4.js → review-artifacts-DCiaejJK.js} +6 -6
- package/server/{review-convoy-liveness-BBvyuRLC.js → review-convoy-liveness-C9F1Q1LN.js} +7 -7
- package/server/{review-run-recovery-THHMKlXJ.js → review-run-recovery-C5TEICtx.js} +2 -2
- package/server/{review-run-recovery-DCzWMMvE.js → review-run-recovery-CRGBh7xs.js} +1 -1
- package/server/{review-status-DpniqzPT.js → review-status-C3PJkfjv.js} +26 -26
- package/server/{review-status-Bge_3XTR.js → review-status-CDs0jQV6.js} +1 -1
- package/server/{review-status-emit-D7sM720S.js → review-status-emit-De6PF3ZH.js} +3 -3
- package/server/{review-status-enrichment-PDI4-faj.js → review-status-enrichment-CclcG8jk.js} +3 -3
- package/server/{review-status-sync-CvpHWyvR.js → review-status-sync-B3GKewT_.js} +1 -1
- package/server/{review-status-sync-C6ZKTI8f.js → review-status-sync-wvgdR1yZ.js} +2 -2
- package/server/{review-verdict-feedback-B2ojHFH5.js → review-verdict-feedback-20s9pG0w.js} +7 -7
- package/server/{review-verdict-feedback-tyMoLT2L.js → review-verdict-feedback-DkMx_cKj.js} +1 -1
- package/server/{review-verdict-writer-Cy_1pnIj.js → review-verdict-writer-BcG5RBWF.js} +6 -6
- package/server/{review-verdict-writer-DjrJ64eS.js → review-verdict-writer-CaJPCD-q.js} +1 -1
- package/server/{rollup-DU3xBQu2.js → rollup-C-GXHbTG.js} +7 -7
- package/server/{rollup-Cp0KEoOu.js → rollup-DR250WyW.js} +1 -1
- package/server/{scanner-BFKG3Gxv.js → scanner-BEAzmMNs.js} +18 -11
- package/server/{search-DhtKwbBC.js → search-BN0MYpZW.js} +2 -2
- package/server/{sequence-io-C-Q19Jez.js → sequence-io-BmVO0K-_.js} +4 -4
- package/server/{sequencer-agent-eN2P2lDz.js → sequencer-agent-CuA9PA_R.js} +6 -6
- package/server/server.js +200 -194
- package/server/{service-CThO0Sar.js → service-D1SZCxH8.js} +56 -56
- package/server/{session-fork-ZYTHtpBh.js → session-fork--SMYFKVu.js} +2 -2
- package/server/{settings-nAT-eK56.js → settings-CETdzCl6.js} +3 -3
- package/server/{settings-CTywpFw5.js → settings-CFi7CdJo.js} +2 -2
- package/server/settings-EGNbGKpP.js +2 -0
- package/server/{shadow-engineering-BHZKPJhq.js → shadow-engineering-CNTXaC9O.js} +2 -2
- package/server/{shadow-state-CZ_LnPsi.js → shadow-state-6jSyeXQ7.js} +1 -1
- package/server/{shadow-state-BTLi4Axs.js → shadow-state-CtYJGNXt.js} +2 -2
- package/server/{shadow-utils-CPLlPHdn.js → shadow-utils-Cq5eMfwI.js} +2 -2
- package/server/{ship-record-BaBla0l_.js → ship-record-STA0P11l.js} +5 -5
- package/server/{ship-record-BlvX8-xv.js → ship-record-neN0oUI9.js} +1 -1
- package/server/{ship-status-rQbPQBsF.js → ship-status-DzDpufmj.js} +2 -2
- package/server/{smart-compaction-CUXn8mfX.js → smart-compaction-CdtKIcDk.js} +1 -1
- package/server/{smart-compaction-D1CNGdZx.js → smart-compaction-tndAhwoc.js} +6 -6
- package/server/{spawn-planning-session-DfEWyrVV.js → spawn-planning-session-1XLgDLjR.js} +2 -2
- package/server/{spawn-planning-session-DCmO6COk.js → spawn-planning-session-CAncCBLX.js} +16 -16
- package/server/{specialist-context-C1-CfYQb.js → specialist-context-B054OP_a.js} +5 -5
- package/server/{specialist-handoff-logger-BDKoz5Z9.js → specialist-handoff-logger-B7jzypoX.js} +2 -2
- package/server/{specialist-logs-BJQFkpdG.js → specialist-logs-DVhOLpwy.js} +3 -3
- package/server/{specialists-CYt1U3Zm.js → specialists-8Pc--yZI.js} +2 -2
- package/server/{specialists-Dx0zRTxX.js → specialists-BVBIMc4L.js} +1 -1
- package/server/{specialists-DhS79T9v.js → specialists-CC_Mnc47.js} +107 -107
- package/server/{specialists-D6MUU31Q.js → specialists-ChvCD2a-.js} +19 -19
- package/server/{specialists-registry-Bng0OFGH.js → specialists-registry-Cim1fPcM.js} +2 -2
- package/server/{specialists-registry-BRLCi61y.js → specialists-registry-CoPNlhud.js} +1 -1
- package/server/specs-Dvq4sOy6.js +3 -0
- package/server/{stack-health-Bz711z1Y.js → stack-health-CvdnSVBV.js} +1 -1
- package/server/{stack-health-BKfNaqMm.js → stack-health-DPXaoAus.js} +3 -3
- package/server/{stale-task-claims-DMRLb5R2.js → stale-task-claims-UoNLemTn.js} +5 -5
- package/server/{stall-sweeper-CBWqSWV2.js → stall-sweeper-C9S8FYKz.js} +7 -7
- package/server/{state-home-DhsMqg8W.js → state-home-BhI8O5lU.js} +2 -2
- package/server/{state-migrate-C2Ouyd6e.js → state-migrate-DtFHcOVZ.js} +6 -6
- package/server/{state-mirror-BPXciz84.js → state-mirror-CpuHFxHb.js} +3 -3
- package/server/{stuck-remediation-kta3KN7c.js → stuck-remediation-B4nKm7B2.js} +13 -13
- package/server/{stuck-remediation-DALieAkx.js → stuck-remediation-hSOOYB9B.js} +1 -1
- package/server/{substrate-bug-weights-service-D_ICP7TI.js → substrate-bug-weights-service-B9f0063E.js} +3 -3
- package/server/{summary-fork-DhhaFhxZ.js → summary-fork-CUyEqFyc.js} +14 -15
- package/server/{summary-fork-CojrFKb6.js → summary-fork-DZcsOvDD.js} +2 -2
- package/server/{supervisor-DqH-laVL.js → supervisor-CGtOs9Em.js} +4 -4
- package/server/supervisor-DoJpD33i.js +2 -0
- package/server/{swarm-readiness-LF8ZF_hc.js → swarm-readiness-0N2p9d2C.js} +3 -3
- package/server/{synthesis-verdict-DSoOFUIV.js → synthesis-verdict-CJdseCuz.js} +1 -1
- package/server/{synthesis-verdict-CGFF8uQI.js → synthesis-verdict-CQdLbK1-.js} +2 -2
- package/server/{system-prerequisites-Lsx0jUUV.js → system-prerequisites-DkDOEjQP.js} +2 -2
- package/server/{teardown-workspace-DMwomEG1.js → teardown-workspace-BxFMcWu7.js} +14 -14
- package/server/{test-agent-queue-Cu0D6BYe.js → test-agent-queue-Dxeae55k.js} +6 -6
- package/server/{test-verdict-9mvl7pQn.js → test-verdict-CJ-to_Hc.js} +1 -1
- package/server/{test-verdict-oNSv1rVr.js → test-verdict-hW5kILg7.js} +2 -2
- package/server/{tldr-daemon-CRSAkhBx.js → tldr-daemon-DKCumqHU.js} +1 -1
- package/server/{tldr-daemon-McqCk2X7.js → tldr-daemon-caxXegkF.js} +2 -2
- package/server/{tmux-CYucGrTl.js → tmux-C-hxv71f.js} +2 -2
- package/server/{tmux-wnT_hg-s.js → tmux-CvAEO9yo.js} +2 -2
- package/server/{tracker-config-tfAOWgng.js → tracker-config-BjqwtkcT.js} +2 -2
- package/server/{tracker-utils-Dbg_pVZg.js → tracker-utils-0cDe6yil.js} +2 -2
- package/server/{tunnel-B1MNIgkL.js → tunnel-BEM7-jgE.js} +1 -1
- package/server/{tunnel-skW68j9B.js → tunnel-SgALz_Pi.js} +2 -2
- package/server/{uat-failure-feedback-ly8ZwtfC.js → uat-failure-feedback-BQzpUFQ6.js} +5 -5
- package/server/{uat-promote-verification-BBaMwfdc.js → uat-promote-verification-BUltWC-b.js} +5 -5
- package/server/{uat-train-D7Ran2FB.js → uat-train-B71QG16n.js} +1 -1
- package/server/{uat-train-BBEiYSep.js → uat-train-BLJ0AAIc.js} +21 -21
- package/server/{validate-BYcBcBwg.js → validate-DqEp2Yb9.js} +3 -3
- package/server/{validation-BfG2jW5C.js → validation-DHEsL3RP.js} +3 -3
- package/server/{validation-nSrYiYvA.js → validation-k4EpMHm0.js} +1 -1
- package/server/{verification-runner-BEq5ZF-h.js → verification-runner-BC_zNOq5.js} +15 -15
- package/server/{verification-runner-CFjAuv9u.js → verification-runner-Bbc-8BbR.js} +1 -1
- package/server/{work-agent-prompt-BnhKNAg7.js → work-agent-prompt-CQWlmw_y.js} +1 -1
- package/server/{work-agent-prompt-CaD2ue8m.js → work-agent-prompt-DM3uza0_.js} +10 -10
- package/server/{work-agent-start-D8NEN5KD.js → work-agent-start-BColr1oI.js} +1 -1
- package/server/{work-agent-start-0nJ-6UeA.js → work-agent-start-cKf7rly8.js} +2 -2
- package/server/workflows-CLrEiTds.js +2 -0
- package/server/{workflows-C7mxM1qc.js → workflows-DrC85n8j.js} +26 -26
- package/server/{workspace-BAhMgMaO.js → workspace-ChRFy_F9.js} +3 -3
- package/server/{workspace-Dbqv9ehn.js → workspace-G3Cus8e9.js} +1 -1
- package/server/{workspace-anchor-drift-Bpa3xoni.js → workspace-anchor-drift-DBbyK_Mf.js} +1 -1
- package/server/{workspace-anchor-drift-B_3kyyxJ.js → workspace-anchor-drift-z7TjOORC.js} +4 -4
- package/server/{workspace-manager-CM8RCrSc.js → workspace-manager-Db3pCmr7.js} +14 -14
- package/server/{workspace-manager-BrbX90Rm.js → workspace-manager-gz9Amovn.js} +1 -1
- package/server/{workspace-metadata-Cu6yfxBS.js → workspace-metadata-C5Ie2FMZ.js} +2 -2
- package/server/{workspace-metadata-BEOwJSdK.js → workspace-metadata-Do-L6GFP.js} +1 -1
- package/server/{workspaces-C7LAuZfe.js → workspaces-D0MWw7Mx.js} +108 -108
- package/server/archive-planning-D3gw32U9.js +0 -2
- package/server/build-info-Dx2qrVhb.js +0 -2
- package/server/cli-BflmtEFM.js +0 -2
- package/server/dead-end-trip-DUbiRMtT.js +0 -2
- package/server/deploy-queue--smqHLhe.js +0 -2
- package/server/forge-4VVCRcF7.js +0 -2
- package/server/inspect-agent-Dhp3hCGp.js +0 -2
- package/server/merge-ops-Cf02szJ5.js +0 -2
- package/server/merge-rebase-Bj7eJAG4.js +0 -2
- package/server/public/assets/mermaid-GHXKKRXX-6KBD_3T_.js +0 -1
- package/server/pull-requests-CmlandI7.js +0 -2
- package/server/rally-DYIn9R2U.js +0 -3
- package/server/settings-ByDRfuuE.js +0 -2
- package/server/specs-oRGyfz6C.js +0 -3
- package/server/supervisor-DSSWo4M2.js +0 -2
- package/server/workflows-BtHRlFIm.js +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare module "node:quic" {
|
|
2
2
|
import { NonSharedBuffer } from "node:buffer";
|
|
3
|
-
import { KeyObject } from "node:crypto";
|
|
3
|
+
import { KeyObject, X509Certificate } from "node:crypto";
|
|
4
4
|
import { FileHandle } from "node:fs/promises";
|
|
5
5
|
import { BlockList, SocketAddress } from "node:net";
|
|
6
6
|
import { Writer } from "node:stream/iter";
|
|
7
|
-
import { EphemeralKeyInfo
|
|
7
|
+
import { EphemeralKeyInfo } from "node:tls";
|
|
8
8
|
/**
|
|
9
9
|
* @since v23.8.0
|
|
10
10
|
*/
|
|
@@ -25,6 +25,10 @@ declare module "node:quic" {
|
|
|
25
25
|
id: bigint,
|
|
26
26
|
status: "acknowledged" | "lost" | "abandoned",
|
|
27
27
|
) => void;
|
|
28
|
+
/**
|
|
29
|
+
* @since v23.8.0
|
|
30
|
+
*/
|
|
31
|
+
type OnApplicationCallback = (this: QuicSession, applicationoptions: SessionApplicationOptions) => void;
|
|
28
32
|
/**
|
|
29
33
|
* @since v23.8.0
|
|
30
34
|
*/
|
|
@@ -235,6 +239,7 @@ declare module "node:quic" {
|
|
|
235
239
|
*/
|
|
236
240
|
enableDatagrams?: boolean | undefined;
|
|
237
241
|
}
|
|
242
|
+
type SessionApplicationOptions = { [K in keyof ApplicationOptions]-?: ApplicationOptions[K] & (bigint | boolean) };
|
|
238
243
|
/**
|
|
239
244
|
* @since v23.8.0
|
|
240
245
|
*/
|
|
@@ -539,6 +544,7 @@ declare module "node:quic" {
|
|
|
539
544
|
ongoaway?: QuicSession["ongoaway"] | undefined;
|
|
540
545
|
onkeylog?: QuicSession["onkeylog"] | undefined;
|
|
541
546
|
onqlog?: QuicSession["onqlog"] | undefined;
|
|
547
|
+
onapplication?: QuicSession["onapplication"] | undefined;
|
|
542
548
|
onheaders?: QuicStream["onheaders"] | undefined;
|
|
543
549
|
ontrailers?: QuicStream["ontrailers"] | undefined;
|
|
544
550
|
oninfo?: QuicStream["oninfo"] | undefined;
|
|
@@ -608,6 +614,20 @@ declare module "node:quic" {
|
|
|
608
614
|
* @since v23.8.0
|
|
609
615
|
*/
|
|
610
616
|
function listen(onsession: OnSessionCallback, options?: SessionOptions): Promise<QuicEndpoint>;
|
|
617
|
+
interface ListEndpointsOptions {
|
|
618
|
+
/**
|
|
619
|
+
* If `true` (the default), only returns endpoints that are
|
|
620
|
+
* active (not destroyed, not closing, and not busy). If `false` returns all
|
|
621
|
+
* endpoints.
|
|
622
|
+
*/
|
|
623
|
+
active?: boolean | undefined;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Returns the list of all `QuicEndpoint` instances. By default, only active
|
|
627
|
+
* endpoints are returned.
|
|
628
|
+
* @since v26.4.0
|
|
629
|
+
*/
|
|
630
|
+
function listEndpoints(options?: ListEndpointsOptions): QuicEndpoint[];
|
|
611
631
|
/**
|
|
612
632
|
* The endpoint configuration options passed when constructing a new `QuicEndpoint` instance.
|
|
613
633
|
* @since v23.8.0
|
|
@@ -1039,8 +1059,8 @@ declare module "node:quic" {
|
|
|
1039
1059
|
interface CreateStreamOptions {
|
|
1040
1060
|
/**
|
|
1041
1061
|
* The outbound body source. See `stream.setBody()` for details on
|
|
1042
|
-
* supported types. When omitted, the stream
|
|
1043
|
-
*
|
|
1062
|
+
* supported types. When omitted, the stream's outgoing side remains
|
|
1063
|
+
* writable with no body queued; no FIN is sent immediately.
|
|
1044
1064
|
*/
|
|
1045
1065
|
body?: StreamBody | undefined;
|
|
1046
1066
|
/**
|
|
@@ -1172,7 +1192,7 @@ declare module "node:quic" {
|
|
|
1172
1192
|
* be negotiated separately from the transport parameters. Read only.
|
|
1173
1193
|
* @since v26.3.0
|
|
1174
1194
|
*/
|
|
1175
|
-
readonly applicationOptions:
|
|
1195
|
+
readonly applicationOptions: SessionApplicationOptions;
|
|
1176
1196
|
/**
|
|
1177
1197
|
* Initiate a graceful close of the session. Existing streams will be allowed
|
|
1178
1198
|
* to complete but no new streams will be opened. Once all streams have closed,
|
|
@@ -1226,6 +1246,11 @@ declare module "node:quic" {
|
|
|
1226
1246
|
* @since v23.8.0
|
|
1227
1247
|
*/
|
|
1228
1248
|
readonly endpoint: QuicEndpoint | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* The callback to invoke when new application options, e.g. HTTP/3 settings arrived.
|
|
1251
|
+
* @since v26.4
|
|
1252
|
+
*/
|
|
1253
|
+
onapplication: OnApplicationCallback | undefined;
|
|
1229
1254
|
/**
|
|
1230
1255
|
* An optional callback invoked when the session is destroyed with an error.
|
|
1231
1256
|
* This includes errors caused by user callbacks that throw or reject (see
|
|
@@ -1350,7 +1375,8 @@ declare module "node:quic" {
|
|
|
1350
1375
|
onqlog: OnQlogCallback | undefined;
|
|
1351
1376
|
/**
|
|
1352
1377
|
* Open a new bidirectional stream. If the `body` option is not specified,
|
|
1353
|
-
* the outgoing
|
|
1378
|
+
* the stream's outgoing side remains writable and no FIN is sent
|
|
1379
|
+
* immediately. The `priority` and `incremental`
|
|
1354
1380
|
* options are only used when the session supports priority (e.g. HTTP/3).
|
|
1355
1381
|
* The `headers`, `onheaders`, `ontrailers`, `oninfo`, and `onwanttrailers`
|
|
1356
1382
|
* options are only used when the session supports headers (e.g. HTTP/3).
|
|
@@ -1359,7 +1385,8 @@ declare module "node:quic" {
|
|
|
1359
1385
|
createBidirectionalStream(options?: CreateStreamOptions): Promise<QuicStream>;
|
|
1360
1386
|
/**
|
|
1361
1387
|
* Open a new unidirectional stream. If the `body` option is not specified,
|
|
1362
|
-
* the outgoing
|
|
1388
|
+
* the stream's outgoing side remains writable and no FIN is sent
|
|
1389
|
+
* immediately. The `priority` and `incremental`
|
|
1363
1390
|
* options are only used when the session supports priority (e.g. HTTP/3).
|
|
1364
1391
|
* @since v23.8.0
|
|
1365
1392
|
*/
|
|
@@ -1412,19 +1439,20 @@ declare module "node:quic" {
|
|
|
1412
1439
|
encoding?: BufferEncoding,
|
|
1413
1440
|
): Promise<bigint>;
|
|
1414
1441
|
/**
|
|
1415
|
-
* The local certificate as
|
|
1416
|
-
*
|
|
1417
|
-
*
|
|
1442
|
+
* The local certificate as a `crypto.X509Certificate` instance. Server
|
|
1443
|
+
* sessions return the certificate configured for the negotiated SNI host.
|
|
1444
|
+
* Client sessions return `undefined` unless a client certificate was sent.
|
|
1445
|
+
* Returns `undefined` if the session is destroyed.
|
|
1418
1446
|
* @since v26.2.0
|
|
1419
1447
|
*/
|
|
1420
|
-
readonly certificate:
|
|
1448
|
+
readonly certificate: X509Certificate | undefined;
|
|
1421
1449
|
/**
|
|
1422
|
-
* The peer's certificate as
|
|
1423
|
-
* `
|
|
1424
|
-
*
|
|
1450
|
+
* The peer's certificate as a `crypto.X509Certificate` instance. Returns
|
|
1451
|
+
* `undefined` if the peer did not present a certificate or the session is
|
|
1452
|
+
* destroyed.
|
|
1425
1453
|
* @since v26.2.0
|
|
1426
1454
|
*/
|
|
1427
|
-
readonly peerCertificate:
|
|
1455
|
+
readonly peerCertificate: X509Certificate | undefined;
|
|
1428
1456
|
/**
|
|
1429
1457
|
* The ephemeral key information for the session, with properties such as
|
|
1430
1458
|
* `type`, `name`, and `size`. Only available on client sessions. Returns
|
|
@@ -271,8 +271,8 @@ declare module "node:stream/iter" {
|
|
|
271
271
|
*
|
|
272
272
|
* If the object implements the `toAsyncStreamable` protocol (as
|
|
273
273
|
* `stream.Readable` does), that protocol is used. Otherwise, the function
|
|
274
|
-
* duck-types on `read()` and `
|
|
275
|
-
* a batched async iterator.
|
|
274
|
+
* duck-types on `read()`, `on()`, and `off()` (EventEmitter) and wraps the
|
|
275
|
+
* stream with a batched async iterator.
|
|
276
276
|
*
|
|
277
277
|
* The result is cached per instance -- calling `fromReadable()` twice with the
|
|
278
278
|
* same stream returns the same iterable.
|
|
@@ -294,7 +294,7 @@ declare module "node:stream/iter" {
|
|
|
294
294
|
* @since v26.1.0
|
|
295
295
|
* @experimental
|
|
296
296
|
* @param readable A classic Readable stream or any object
|
|
297
|
-
* with `read()` and `
|
|
297
|
+
* with `read()`, `on()` and `off()` methods.
|
|
298
298
|
* @returns A stream/iter async iterable source.
|
|
299
299
|
*/
|
|
300
300
|
function fromReadable(readable: NodeJS.ReadableStream): ByteReadableStream;
|
|
@@ -389,7 +389,7 @@ declare module "node:stream/iter" {
|
|
|
389
389
|
*
|
|
390
390
|
* Each `_write()` / `_writev()` call attempts the Writer's synchronous method
|
|
391
391
|
* first (`writeSync` / `writevSync`), falling back to the async method if the
|
|
392
|
-
* sync path returns `false
|
|
392
|
+
* sync path returns `false`. Similarly, `_final()` tries `endSync()`
|
|
393
393
|
* before `end()`. When the sync path succeeds, the callback is deferred via
|
|
394
394
|
* `queueMicrotask` to preserve the async resolution contract.
|
|
395
395
|
*
|
|
@@ -294,6 +294,26 @@ declare module "node:stream/web" {
|
|
|
294
294
|
prototype: WritableStreamDefaultWriter;
|
|
295
295
|
new<W = any>(stream: WritableStream<W>): WritableStreamDefaultWriter<W>;
|
|
296
296
|
};
|
|
297
|
+
// Node.js extensions
|
|
298
|
+
/**
|
|
299
|
+
* Runs the WHATWG `ReadableStreamTee` abstract operation on `stream`.
|
|
300
|
+
*
|
|
301
|
+
* This differs from `readableStream.tee()` only when `cloneForBranch2` is
|
|
302
|
+
* `true`. The `tee()` method always passes `false`, while other web platform
|
|
303
|
+
* specifications, such as Fetch body cloning, pass `true` so that the second
|
|
304
|
+
* branch receives cloned chunks and consumption of one branch cannot mutate chunks
|
|
305
|
+
* seen by the other.
|
|
306
|
+
* @since v26.5.0
|
|
307
|
+
* @experimental
|
|
308
|
+
* @param cloneForBranch2 When `true`, chunks enqueued into the second
|
|
309
|
+
* branch are cloned from chunks enqueued into the first branch. **Default:**
|
|
310
|
+
* `false`.
|
|
311
|
+
* @returns Two `ReadableStream` branches.
|
|
312
|
+
*/
|
|
313
|
+
function ReadableStreamTee<R>(
|
|
314
|
+
stream: ReadableStream<R>,
|
|
315
|
+
cloneForBranch2?: boolean,
|
|
316
|
+
): [ReadableStream<R>, ReadableStream<R>];
|
|
297
317
|
}
|
|
298
318
|
declare module "stream/web" {
|
|
299
319
|
export * from "node:stream/web";
|
|
@@ -270,11 +270,19 @@ declare module "node:tls" {
|
|
|
270
270
|
*/
|
|
271
271
|
getCipher(): CipherNameAndProtocol;
|
|
272
272
|
/**
|
|
273
|
-
* Returns an object
|
|
274
|
-
*
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
273
|
+
* Returns an object describing ephemeral key agreement in [perfect forward
|
|
274
|
+
* secrecy](https://nodejs.org/docs/latest-v26.x/api/tls.html#perfect-forward-secrecy) on a client connection. It returns an empty object when the key
|
|
275
|
+
* agreement is not ephemeral. As this is only supported on a client socket;
|
|
276
|
+
* `null` is returned if called on a server socket. The supported types are `'DH'`,
|
|
277
|
+
* `'ECDH'`, and `'TLSGroup'`. For `'DH'` and `'ECDH'`, the object describes peer
|
|
278
|
+
* temporary key parameters. For `'TLSGroup'`, the object identifies the negotiated
|
|
279
|
+
* TLS Supported Group used for key agreement when a peer temporary key object is
|
|
280
|
+
* not available.
|
|
281
|
+
*
|
|
282
|
+
* The `name` property is available only when type is `'ECDH'` or `'TLSGroup'`. The
|
|
283
|
+
* `size` property is not available when type is `'TLSGroup'`. For `'TLSGroup'`,
|
|
284
|
+
* `name` is the negotiated TLS Supported Group name. Standardized TLS group names
|
|
285
|
+
* and code points are listed in the [IANA TLS Supported Groups registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8).
|
|
278
286
|
*
|
|
279
287
|
* For example: `{ type: 'ECDH', name: 'prime256v1', size: 256 }`.
|
|
280
288
|
* @since v5.0.0
|
|
@@ -746,6 +754,7 @@ declare module "node:tls" {
|
|
|
746
754
|
// #endregion
|
|
747
755
|
}
|
|
748
756
|
type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1";
|
|
757
|
+
type CertificateCompressionAlgorithm = "zlib" | "brotli" | "zstd";
|
|
749
758
|
interface SecureContextOptions {
|
|
750
759
|
/**
|
|
751
760
|
* If set, this will be called when a client opens a connection using the ALPN extension.
|
|
@@ -782,6 +791,15 @@ declare module "node:tls" {
|
|
|
782
791
|
* able to validate the certificate, and the handshake will fail.
|
|
783
792
|
*/
|
|
784
793
|
cert?: string | Buffer | Array<string | Buffer> | undefined;
|
|
794
|
+
/**
|
|
795
|
+
* An array of supported certificate
|
|
796
|
+
* compression algorithm names, in preference order. Supported values are
|
|
797
|
+
* `'zlib'`, `'brotli'`, and `'zstd'`. When set, enables TLS certificate
|
|
798
|
+
* compression ([RFC 8879](https://tools.ietf.org/html/rfc8879)) which compresses certificates during the TLS
|
|
799
|
+
* handshake, reducing handshake size. Only effective with TLSv1.3.
|
|
800
|
+
* **Default:** `[]` (disabled).
|
|
801
|
+
*/
|
|
802
|
+
certificateCompression?: readonly CertificateCompressionAlgorithm[] | undefined;
|
|
785
803
|
/**
|
|
786
804
|
* Colon-separated list of supported signature algorithms. The list
|
|
787
805
|
* can contain digest algorithms (SHA256, MD5 etc.), public key
|
|
@@ -812,13 +830,16 @@ declare module "node:tls" {
|
|
|
812
830
|
*/
|
|
813
831
|
dhparam?: string | Buffer | undefined;
|
|
814
832
|
/**
|
|
815
|
-
* A string describing a named curve
|
|
816
|
-
*
|
|
817
|
-
*
|
|
818
|
-
*
|
|
819
|
-
*
|
|
820
|
-
*
|
|
821
|
-
*
|
|
833
|
+
* A string describing a named curve, TLS group, or
|
|
834
|
+
* colon-separated list of named curves or TLS groups to use for key agreement,
|
|
835
|
+
* for example `P-521:P-384:P-256`, `X25519`, or `X25519MLKEM768`. The
|
|
836
|
+
* historical name of this option refers to ECDH key agreement in TLSv1.2 and
|
|
837
|
+
* below. In TLSv1.3, this option configures the TLS Supported Groups and
|
|
838
|
+
* key share groups offered or accepted by the TLS stack. Set to `auto` to
|
|
839
|
+
* select the group automatically. Use `crypto.getCurves()` to obtain a
|
|
840
|
+
* list of available elliptic curve names. For TLS group names, use
|
|
841
|
+
* `openssl list -tls-groups` or consult the [IANA TLS Supported Groups
|
|
842
|
+
* registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8).
|
|
822
843
|
*/
|
|
823
844
|
ecdhCurve?: string | undefined;
|
|
824
845
|
/**
|
|
@@ -1110,6 +1131,20 @@ declare module "node:tls" {
|
|
|
1110
1131
|
* @since v0.10.2
|
|
1111
1132
|
*/
|
|
1112
1133
|
function getCiphers(): string[];
|
|
1134
|
+
/**
|
|
1135
|
+
* Returns an array with the names of the RFC 8879 certificate compression
|
|
1136
|
+
* algorithms supported by the current OpenSSL build, suitable for use in the
|
|
1137
|
+
* `certificateCompression` option of `tls.createSecureContext()`. Possible
|
|
1138
|
+
* values include `'zlib'`, `'brotli'`, and `'zstd'`.
|
|
1139
|
+
*
|
|
1140
|
+
* The array is empty when certificate compression is unavailable.
|
|
1141
|
+
*
|
|
1142
|
+
* ```js
|
|
1143
|
+
* console.log(tls.getCertificateCompressionAlgorithms()); // ['zlib', 'brotli', 'zstd']
|
|
1144
|
+
* ```
|
|
1145
|
+
* @since v26.4.0
|
|
1146
|
+
*/
|
|
1147
|
+
function getCertificateCompressionAlgorithms(): CertificateCompressionAlgorithm[];
|
|
1113
1148
|
/**
|
|
1114
1149
|
* Sets the default CA certificates used by Node.js TLS clients. If the provided
|
|
1115
1150
|
* certificates are parsed successfully, they will become the default CA
|
|
@@ -1143,9 +1178,9 @@ declare module "node:tls" {
|
|
|
1143
1178
|
*/
|
|
1144
1179
|
function setDefaultCACertificates(certs: ReadonlyArray<string | NodeJS.ArrayBufferView>): void;
|
|
1145
1180
|
/**
|
|
1146
|
-
* The default curve
|
|
1147
|
-
* The default value is `'auto'`. See `
|
|
1148
|
-
* information.
|
|
1181
|
+
* The default named curve or TLS group list to use for key agreement in a TLS
|
|
1182
|
+
* server. The default value is `'auto'`. See `tls.createSecureContext()` for
|
|
1183
|
+
* further information.
|
|
1149
1184
|
* @since v0.11.13
|
|
1150
1185
|
*/
|
|
1151
1186
|
let DEFAULT_ECDH_CURVE: string;
|
|
@@ -459,4 +459,9 @@ declare module "node:buffer" {
|
|
|
459
459
|
*/
|
|
460
460
|
type AllowSharedBuffer = Buffer;
|
|
461
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* @deprecated This is intended for internal use, and will be removed once `@types/node` no longer supports
|
|
464
|
+
* TypeScript versions earlier than 5.7.
|
|
465
|
+
*/
|
|
466
|
+
type BufferView<T extends NodeJS.ArrayBufferView> = Buffer;
|
|
462
467
|
}
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
/// <reference path="../util.d.ts" />
|
|
111
111
|
/// <reference path="../util/types.d.ts" />
|
|
112
112
|
/// <reference path="../v8.d.ts" />
|
|
113
|
+
/// <reference path="../vfs.d.ts" />
|
|
113
114
|
/// <reference path="../vm.d.ts" />
|
|
114
115
|
/// <reference path="../wasi.d.ts" />
|
|
115
116
|
/// <reference path="../worker_threads.d.ts" />
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
/// <reference path="../util.d.ts" />
|
|
111
111
|
/// <reference path="../util/types.d.ts" />
|
|
112
112
|
/// <reference path="../v8.d.ts" />
|
|
113
|
+
/// <reference path="../vfs.d.ts" />
|
|
113
114
|
/// <reference path="../vm.d.ts" />
|
|
114
115
|
/// <reference path="../wasi.d.ts" />
|
|
115
116
|
/// <reference path="../worker_threads.d.ts" />
|
|
@@ -28,10 +28,11 @@ declare module "node:tty" {
|
|
|
28
28
|
* Allows configuration of `tty.ReadStream` so that it operates as a raw device.
|
|
29
29
|
*
|
|
30
30
|
* When in raw mode, input is always available character-by-character, not
|
|
31
|
-
* including modifiers. Additionally, all special processing of characters
|
|
32
|
-
* terminal is disabled, including echoing input
|
|
31
|
+
* including modifiers. Additionally, all special processing of input characters
|
|
32
|
+
* by the terminal is disabled, including echoing input
|
|
33
33
|
* characters. Ctrl+C will no longer cause a `SIGINT` when
|
|
34
|
-
* in this mode.
|
|
34
|
+
* in this mode. This mode does not affect terminal output processing, such as
|
|
35
|
+
* newline translation on Unix terminals.
|
|
35
36
|
* @since v0.7.7
|
|
36
37
|
* @param mode If `true`, configures the `tty.ReadStream` to operate as a raw device. If `false`, configures the `tty.ReadStream` to operate in its default mode. The `readStream.isRaw`
|
|
37
38
|
* property will be set to the resulting mode.
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
declare module "node:vfs" {
|
|
2
|
+
/**
|
|
3
|
+
* Convenience factory equivalent to `new VirtualFileSystem(provider, options)`.
|
|
4
|
+
*
|
|
5
|
+
* ```js
|
|
6
|
+
* const vfs = require('node:vfs');
|
|
7
|
+
*
|
|
8
|
+
* // Default in-memory provider
|
|
9
|
+
* const memoryVfs = vfs.create();
|
|
10
|
+
*
|
|
11
|
+
* // Explicit provider
|
|
12
|
+
* const realVfs = vfs.create(new vfs.RealFSProvider('/tmp/sandbox'));
|
|
13
|
+
* ```
|
|
14
|
+
* @since v26.4.0
|
|
15
|
+
* @param provider The provider to use. **Default:** `new MemoryProvider()`.
|
|
16
|
+
*/
|
|
17
|
+
function create(provider?: VirtualProvider, options?: VirtualFileSystemOptions): VirtualFileSystem;
|
|
18
|
+
function create(options: VirtualFileSystemOptions): VirtualFileSystem;
|
|
19
|
+
interface VirtualFileSystemOptions {
|
|
20
|
+
/**
|
|
21
|
+
* Whether to emit the experimental warning. **Default:** `true`.
|
|
22
|
+
*/
|
|
23
|
+
emitExperimentalWarning?: boolean | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A `VirtualFileSystem` wraps a {@link VirtualProvider} and exposes a
|
|
27
|
+
* `node:fs`-like API. Each instance maintains its own file tree.
|
|
28
|
+
* @since v26.4.0
|
|
29
|
+
*/
|
|
30
|
+
class VirtualFileSystem {
|
|
31
|
+
/**
|
|
32
|
+
* @param provider The provider to use. **Default:** `new MemoryProvider()`.
|
|
33
|
+
*/
|
|
34
|
+
constructor(provider?: VirtualProvider, options?: VirtualFileSystemOptions);
|
|
35
|
+
constructor(options: VirtualFileSystemOptions);
|
|
36
|
+
/**
|
|
37
|
+
* The provider backing this VFS instance.
|
|
38
|
+
* @since v26.4.0
|
|
39
|
+
*/
|
|
40
|
+
readonly provider: VirtualProvider;
|
|
41
|
+
/**
|
|
42
|
+
* `true` when the underlying provider is read-only.
|
|
43
|
+
* @since v26.4.0
|
|
44
|
+
*/
|
|
45
|
+
readonly readonly: boolean;
|
|
46
|
+
}
|
|
47
|
+
interface VirtualFileSystem extends
|
|
48
|
+
// Synchronous API
|
|
49
|
+
Pick<
|
|
50
|
+
typeof import("node:fs"),
|
|
51
|
+
| "existsSync"
|
|
52
|
+
| "statSync"
|
|
53
|
+
| "lstatSync"
|
|
54
|
+
| "readFileSync"
|
|
55
|
+
| "writeFileSync"
|
|
56
|
+
| "appendFileSync"
|
|
57
|
+
| "readdirSync"
|
|
58
|
+
| "mkdirSync"
|
|
59
|
+
| "rmdirSync"
|
|
60
|
+
| "unlinkSync"
|
|
61
|
+
| "renameSync"
|
|
62
|
+
| "copyFileSync"
|
|
63
|
+
| "realpathSync"
|
|
64
|
+
| "readlinkSync"
|
|
65
|
+
| "symlinkSync"
|
|
66
|
+
| "accessSync"
|
|
67
|
+
| "rmSync"
|
|
68
|
+
| "truncateSync"
|
|
69
|
+
| "ftruncateSync"
|
|
70
|
+
| "linkSync"
|
|
71
|
+
| "chmodSync"
|
|
72
|
+
| "chownSync"
|
|
73
|
+
| "utimesSync"
|
|
74
|
+
| "lutimesSync"
|
|
75
|
+
| "mkdtempSync"
|
|
76
|
+
| "opendirSync"
|
|
77
|
+
| "openAsBlob"
|
|
78
|
+
| "openSync"
|
|
79
|
+
| "closeSync"
|
|
80
|
+
| "readSync"
|
|
81
|
+
| "writeSync"
|
|
82
|
+
| "fstatSync"
|
|
83
|
+
| "createReadStream"
|
|
84
|
+
| "createWriteStream"
|
|
85
|
+
| "watch"
|
|
86
|
+
| "watchFile"
|
|
87
|
+
| "unwatchFile"
|
|
88
|
+
>,
|
|
89
|
+
// Callback API
|
|
90
|
+
Pick<
|
|
91
|
+
typeof import("node:fs"),
|
|
92
|
+
| "readFile"
|
|
93
|
+
| "writeFile"
|
|
94
|
+
| "stat"
|
|
95
|
+
| "lstat"
|
|
96
|
+
| "readdir"
|
|
97
|
+
| "realpath"
|
|
98
|
+
| "readlink"
|
|
99
|
+
| "access"
|
|
100
|
+
| "open"
|
|
101
|
+
| "close"
|
|
102
|
+
| "read"
|
|
103
|
+
| "write"
|
|
104
|
+
| "rm"
|
|
105
|
+
| "fstat"
|
|
106
|
+
| "truncate"
|
|
107
|
+
| "ftruncate"
|
|
108
|
+
| "link"
|
|
109
|
+
| "mkdtemp"
|
|
110
|
+
| "opendir"
|
|
111
|
+
>
|
|
112
|
+
{
|
|
113
|
+
// Promise API
|
|
114
|
+
readonly promises: Pick<
|
|
115
|
+
typeof import("node:fs/promises"),
|
|
116
|
+
| "readFile"
|
|
117
|
+
| "writeFile"
|
|
118
|
+
| "appendFile"
|
|
119
|
+
| "stat"
|
|
120
|
+
| "lstat"
|
|
121
|
+
| "readdir"
|
|
122
|
+
| "mkdir"
|
|
123
|
+
| "rmdir"
|
|
124
|
+
| "unlink"
|
|
125
|
+
| "rename"
|
|
126
|
+
| "copyFile"
|
|
127
|
+
| "realpath"
|
|
128
|
+
| "readlink"
|
|
129
|
+
| "symlink"
|
|
130
|
+
| "access"
|
|
131
|
+
| "rm"
|
|
132
|
+
| "truncate"
|
|
133
|
+
| "link"
|
|
134
|
+
| "mkdtemp"
|
|
135
|
+
| "chmod"
|
|
136
|
+
| "chown"
|
|
137
|
+
| "lchown"
|
|
138
|
+
| "utimes"
|
|
139
|
+
| "lutimes"
|
|
140
|
+
| "open"
|
|
141
|
+
| "lchmod"
|
|
142
|
+
| "watch"
|
|
143
|
+
>;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* The base class for all VFS providers. Subclasses implement the essential
|
|
147
|
+
* primitives (such as `open`, `stat`, `readdir`, `mkdir`, `rmdir`, `unlink`,
|
|
148
|
+
* `rename`, etc.) and inherit default implementations of the derived
|
|
149
|
+
* methods (such as `readFile`, `writeFile`, `exists`, `copyFile`, `access`, etc.).
|
|
150
|
+
* @since v26.4.0
|
|
151
|
+
*/
|
|
152
|
+
abstract class VirtualProvider {
|
|
153
|
+
get readonly(): boolean;
|
|
154
|
+
get supportsSymlinks(): boolean;
|
|
155
|
+
get supportsWatch(): boolean;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* The default in-memory provider. Stores files, directories, and symbolic
|
|
159
|
+
* links in a `Map`-backed tree, supports symlinks (`supportsSymlinks ===
|
|
160
|
+
* true`), and supports watching (`supportsWatch === true`).
|
|
161
|
+
* @since v26.4.0
|
|
162
|
+
*/
|
|
163
|
+
class MemoryProvider extends VirtualProvider {
|
|
164
|
+
/**
|
|
165
|
+
* Locks the provider into read-only mode. Subsequent writes through any
|
|
166
|
+
* `VirtualFileSystem` using this provider throw `EROFS`. There is no
|
|
167
|
+
* way to revert the provider to writable.
|
|
168
|
+
*
|
|
169
|
+
* ```js
|
|
170
|
+
* const vfs = require('node:vfs');
|
|
171
|
+
*
|
|
172
|
+
* const provider = new vfs.MemoryProvider();
|
|
173
|
+
* const myVfs = vfs.create(provider);
|
|
174
|
+
* myVfs.writeFileSync('/seed.txt', 'initial');
|
|
175
|
+
*
|
|
176
|
+
* provider.setReadOnly();
|
|
177
|
+
*
|
|
178
|
+
* myVfs.writeFileSync('/x.txt', 'fail'); // throws EROFS
|
|
179
|
+
* ```
|
|
180
|
+
* @since v26.4.0
|
|
181
|
+
*/
|
|
182
|
+
setReadOnly(): void;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* A provider that wraps a directory (i.e. one on the actual file system) and
|
|
186
|
+
* exposes its contents through the VFS API. All VFS paths are resolved relative to
|
|
187
|
+
* the root and verified to stay inside it; symbolic links resolving outside the
|
|
188
|
+
* root are rejected. This path mapping is not a sandbox or access-control
|
|
189
|
+
* mechanism.
|
|
190
|
+
* @since v26.4.0
|
|
191
|
+
*/
|
|
192
|
+
class RealFSProvider extends VirtualProvider {
|
|
193
|
+
/**
|
|
194
|
+
* ```js
|
|
195
|
+
* const vfs = require('node:vfs');
|
|
196
|
+
*
|
|
197
|
+
* const realVfs = vfs.create(new vfs.RealFSProvider('/tmp/vfs-root'));
|
|
198
|
+
* realVfs.writeFileSync('/file.txt', 'hello'); // writes /tmp/vfs-root/file.txt
|
|
199
|
+
* ```
|
|
200
|
+
* @since v26.4.0
|
|
201
|
+
* @param rootPath The absolute file-system path to use as the root.
|
|
202
|
+
* Must be a non-empty string.
|
|
203
|
+
*/
|
|
204
|
+
constructor(rootPath: string);
|
|
205
|
+
/**
|
|
206
|
+
* The resolved absolute path used as the root.
|
|
207
|
+
* @since v26.4.0
|
|
208
|
+
*/
|
|
209
|
+
readonly rootPath: string;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
@@ -741,7 +741,7 @@ declare module "node:vm" {
|
|
|
741
741
|
*/
|
|
742
742
|
status: ModuleStatus;
|
|
743
743
|
/**
|
|
744
|
-
* Evaluate the module and its
|
|
744
|
+
* Evaluate the module and its dependencies. Corresponds to the [Evaluate() concrete method](https://tc39.es/ecma262/#sec-moduleevaluation) field of
|
|
745
745
|
* [Cyclic Module Record](https://tc39.es/ecma262/#sec-cyclic-module-records)s in the ECMAScript specification.
|
|
746
746
|
*
|
|
747
747
|
* If the module is a `vm.SourceTextModule`, `evaluate()` must be called after the module has been instantiated;
|
|
@@ -32,6 +32,13 @@ declare module "node:zlib" {
|
|
|
32
32
|
* @default buffer.kMaxLength
|
|
33
33
|
*/
|
|
34
34
|
maxOutputLength?: number | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* If `true`, decompression fails when
|
|
37
|
+
* trailing input is detected after the end of the compressed stream. This
|
|
38
|
+
* includes unreadable bytes and, when decompressing gzip, additional gzip
|
|
39
|
+
* members following the first member. **Default:** `false`
|
|
40
|
+
*/
|
|
41
|
+
rejectGarbageAfterEnd?: boolean | undefined;
|
|
35
42
|
}
|
|
36
43
|
interface BrotliOptions {
|
|
37
44
|
/**
|
|
@@ -63,6 +70,11 @@ declare module "node:zlib" {
|
|
|
63
70
|
* If `true`, returns an object with `buffer` and `engine`.
|
|
64
71
|
*/
|
|
65
72
|
info?: boolean | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* If `true`, decompression fails when
|
|
75
|
+
* input remains after the first complete compressed stream. **Default:** `false`
|
|
76
|
+
*/
|
|
77
|
+
rejectGarbageAfterEnd?: boolean | undefined;
|
|
66
78
|
}
|
|
67
79
|
interface ZstdOptions {
|
|
68
80
|
/**
|
|
@@ -98,6 +110,11 @@ declare module "node:zlib" {
|
|
|
98
110
|
* @since v24.6.0
|
|
99
111
|
*/
|
|
100
112
|
dictionary?: NodeJS.ArrayBufferView | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* If `true`, decompression fails when
|
|
115
|
+
* input remains after the first complete compressed stream. **Default:** `false`
|
|
116
|
+
*/
|
|
117
|
+
rejectGarbageAfterEnd?: boolean | undefined;
|
|
101
118
|
}
|
|
102
119
|
interface Zlib {
|
|
103
120
|
readonly bytesWritten: number;
|
|
@@ -173,6 +173,7 @@ The following options properties can be provided to the Packr or Unpackr constru
|
|
|
173
173
|
* `useRecords` - Setting this to `false` disables the record extension and stores JavaScript objects as MessagePack maps, and unpacks maps as JavaScript `Object`s, which ensures compatibilty with other decoders. Setting this to a function will use records for objects where `useRecords(object)` returns `true`.
|
|
174
174
|
* `structures` - Provides the array of structures that is to be used for record extension, if you want the structures saved and used again. This array will be modified in place with new record structures that are serialized (if less than 32 structures are in the array).
|
|
175
175
|
* `moreTypes` - Enable serialization of additional built-in types/classes including typed arrays, `Set`s, `Map`s, and `Error`s.
|
|
176
|
+
* `useToJSON` - Setting this to `false` stops the encoder from calling an object's `toJSON()` method to decide how to serialize it; the object's own properties are encoded instead. This defaults to `true`, and is worth disabling when the encoded form is durable state rather than a message: `toJSON()` is a serialization convention shared with `JSON.stringify`, so a class that defines it for its API/response shape would otherwise have that shape written to storage. (Note that cbor-x has the same option with the opposite default.)
|
|
176
177
|
* `structuredClone` - This enables the structured cloning extensions that will encode object/cyclic references. `moreTypes` is enabled by default when this is enabled.
|
|
177
178
|
* `mapsAsObjects` - If `true`, this will decode MessagePack maps and JS `Object`s with the map entries decoded to object properties. If `false`, maps are decoded as JavaScript `Map`s. This is disabled by default if `useRecords` is enabled (which allows `Map`s to be preserved), and is enabled by default if `useRecords` is disabled.
|
|
178
179
|
* `useFloat32` - This will enable msgpackr to encode non-integer numbers as `float32`. See next section for possible values.
|
|
@@ -1330,7 +1330,7 @@
|
|
|
1330
1330
|
if (value.constructor === Object) writeStruct(value); // simple object
|
|
1331
1331
|
else if (value.constructor !== Map && !Array.isArray(value) && !extensionClasses.some(extClass => value instanceof extClass)) {
|
|
1332
1332
|
// allow user classes, if they don't need special handling (but do use toJSON if available)
|
|
1333
|
-
writeStruct(value.toJSON ? value.toJSON() : value);
|
|
1333
|
+
writeStruct(packr.useToJSON !== false && value.toJSON ? value.toJSON() : value);
|
|
1334
1334
|
} else pack(value);
|
|
1335
1335
|
} else
|
|
1336
1336
|
pack(value);
|
|
@@ -1718,7 +1718,7 @@
|
|
|
1718
1718
|
packArray(value);
|
|
1719
1719
|
} else {
|
|
1720
1720
|
// use this as an alternate mechanism for expressing how to serialize
|
|
1721
|
-
if (value.toJSON) {
|
|
1721
|
+
if (packr.useToJSON !== false && value.toJSON) {
|
|
1722
1722
|
const json = value.toJSON();
|
|
1723
1723
|
// if for some reason value.toJSON returns itself it'll loop forever
|
|
1724
1724
|
if (json !== value)
|