@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,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
|
|
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:
|
|
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
|
-
*
|
|
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
|
|
@@ -225,7 +225,7 @@ declare module "node:http" {
|
|
|
225
225
|
* The number of milliseconds of inactivity a server needs to wait for additional incoming data,
|
|
226
226
|
* after it has finished writing the last response, before a socket will be destroyed.
|
|
227
227
|
* @see Server.keepAliveTimeout for more information.
|
|
228
|
-
* @default
|
|
228
|
+
* @default 65000
|
|
229
229
|
* @since v18.0.0
|
|
230
230
|
*/
|
|
231
231
|
keepAliveTimeout?: number | undefined;
|
|
@@ -299,7 +299,7 @@ declare module "node:http" {
|
|
|
299
299
|
requireHostHeader?: boolean | undefined;
|
|
300
300
|
/**
|
|
301
301
|
* If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received,
|
|
302
|
-
* similarly on what is done in `socket.setKeepAlive(
|
|
302
|
+
* similarly on what is done in `socket.setKeepAlive()`.
|
|
303
303
|
* @default false
|
|
304
304
|
* @since v16.5.0
|
|
305
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
|
|
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
|
|
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
|
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
203
|
-
*
|
|
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
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
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
|
|
217
|
-
* @param
|
|
218
|
-
* @
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.5.0",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
},
|
|
148
148
|
"scripts": {},
|
|
149
149
|
"dependencies": {
|
|
150
|
-
"undici-types": "~8.
|
|
150
|
+
"undici-types": "~8.9.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "3bacbc5199574a21e6d696b9d0acb8666162bfc95a630bb59b22c48fd1373573",
|
|
154
154
|
"typeScriptVersion": "5.6"
|
|
155
155
|
}
|
|
@@ -301,6 +301,7 @@ declare module "node:perf_hooks" {
|
|
|
301
301
|
namespace constants {
|
|
302
302
|
const NODE_PERFORMANCE_GC_MAJOR: number;
|
|
303
303
|
const NODE_PERFORMANCE_GC_MINOR: number;
|
|
304
|
+
const NODE_PERFORMANCE_GC_MINOR_MARK_SWEEP: number;
|
|
304
305
|
const NODE_PERFORMANCE_GC_INCREMENTAL: number;
|
|
305
306
|
const NODE_PERFORMANCE_GC_WEAKCB: number;
|
|
306
307
|
const NODE_PERFORMANCE_GC_FLAGS_NO: number;
|
|
@@ -313,9 +314,14 @@ declare module "node:perf_hooks" {
|
|
|
313
314
|
}
|
|
314
315
|
interface EventLoopMonitorOptions {
|
|
315
316
|
/**
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
|
|
317
|
+
* When `true`, samples are taken once per
|
|
318
|
+
* event loop iteration. **Default:** `false`.
|
|
319
|
+
*/
|
|
320
|
+
samplePerIteration?: boolean | undefined;
|
|
321
|
+
/**
|
|
322
|
+
* The sampling rate in milliseconds for interval-based
|
|
323
|
+
* sampling. Must be greater than zero. This option is ignored when
|
|
324
|
+
* `samplePerIteration` is `true`. **Default:** `10`.
|
|
319
325
|
*/
|
|
320
326
|
resolution?: number | undefined;
|
|
321
327
|
}
|
|
@@ -399,21 +405,25 @@ declare module "node:perf_hooks" {
|
|
|
399
405
|
*/
|
|
400
406
|
readonly stddev: number;
|
|
401
407
|
}
|
|
402
|
-
|
|
408
|
+
/**
|
|
409
|
+
* A `Histogram` that records event loop delay, returned by
|
|
410
|
+
* `perf_hooks.monitorEventLoopDelay()`.
|
|
411
|
+
*/
|
|
412
|
+
interface ELDHistogram extends Histogram {
|
|
403
413
|
/**
|
|
404
|
-
*
|
|
405
|
-
*
|
|
414
|
+
* Disables event loop delay sampling. Returns `true` if sampling was
|
|
415
|
+
* stopped, `false` if it was already stopped.
|
|
406
416
|
* @since v11.10.0
|
|
407
417
|
*/
|
|
408
|
-
|
|
418
|
+
disable(): boolean;
|
|
409
419
|
/**
|
|
410
|
-
*
|
|
411
|
-
*
|
|
420
|
+
* Enables event loop delay sampling. Returns `true` if sampling was
|
|
421
|
+
* started, `false` if it was already started.
|
|
412
422
|
* @since v11.10.0
|
|
413
423
|
*/
|
|
414
|
-
|
|
424
|
+
enable(): boolean;
|
|
415
425
|
/**
|
|
416
|
-
* Disables
|
|
426
|
+
* Disables event loop delay sampling when the histogram is disposed.
|
|
417
427
|
*
|
|
418
428
|
* ```js
|
|
419
429
|
* const { monitorEventLoopDelay } = require('node:perf_hooks');
|
|
@@ -508,14 +518,16 @@ declare module "node:perf_hooks" {
|
|
|
508
518
|
/**
|
|
509
519
|
* _This property is an extension by Node.js. It is not available in Web browsers._
|
|
510
520
|
*
|
|
511
|
-
* Creates
|
|
512
|
-
*
|
|
521
|
+
* Creates a histogram object that samples and reports the event loop delay over
|
|
522
|
+
* time. The delays will be reported in nanoseconds.
|
|
513
523
|
*
|
|
514
|
-
*
|
|
515
|
-
*
|
|
516
|
-
* event loop
|
|
517
|
-
*
|
|
518
|
-
*
|
|
524
|
+
* By default, the histogram is updated by a timer using the configured
|
|
525
|
+
* `resolution`. When `samplePerIteration` is `true`, samples are taken once per
|
|
526
|
+
* event loop iteration using `uv_prepare_t` and `uv_check_t` hooks. In that mode,
|
|
527
|
+
* the histogram does not keep the loop alive or force additional iterations when
|
|
528
|
+
* the application is idle.
|
|
529
|
+
* The two sampling modes produce significantly different results and should not
|
|
530
|
+
* be compared directly.
|
|
519
531
|
*
|
|
520
532
|
* ```js
|
|
521
533
|
* import { monitorEventLoopDelay } from 'node:perf_hooks';
|
|
@@ -533,7 +545,7 @@ declare module "node:perf_hooks" {
|
|
|
533
545
|
* ```
|
|
534
546
|
* @since v11.10.0
|
|
535
547
|
*/
|
|
536
|
-
function monitorEventLoopDelay(options?: EventLoopMonitorOptions):
|
|
548
|
+
function monitorEventLoopDelay(options?: EventLoopMonitorOptions): ELDHistogram;
|
|
537
549
|
interface TimerifyOptions {
|
|
538
550
|
/**
|
|
539
551
|
* A histogram object created using
|