@xrkseek/harness-cli 0.0.11 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (974) hide show
  1. package/dist/plugin/install-client.d.ts.map +1 -1
  2. package/dist/plugin/install-client.js +80 -2
  3. package/dist/plugin/install-client.js.map +1 -1
  4. package/node_modules/@img/colour/LICENSE.md +82 -0
  5. package/node_modules/@img/colour/README.md +15 -0
  6. package/node_modules/@img/colour/color.cjs +1596 -0
  7. package/node_modules/@img/colour/index.cjs +1 -0
  8. package/node_modules/@img/colour/index.d.ts +929 -0
  9. package/node_modules/@img/colour/package.json +58 -0
  10. package/node_modules/@img/sharp-win32-x64/LICENSE +191 -0
  11. package/node_modules/@img/sharp-win32-x64/README.md +59 -0
  12. package/node_modules/@img/sharp-win32-x64/index.cjs +1 -0
  13. package/node_modules/@img/sharp-win32-x64/lib/libvips-42.dll +0 -0
  14. package/node_modules/@img/sharp-win32-x64/lib/libvips-cpp-8.18.3.dll +0 -0
  15. package/node_modules/@img/sharp-win32-x64/lib/sharp-win32-x64-0.35.3.node +0 -0
  16. package/node_modules/@img/sharp-win32-x64/package.json +40 -0
  17. package/node_modules/@img/sharp-win32-x64/versions.json +30 -0
  18. package/node_modules/@types/node/LICENSE +21 -0
  19. package/node_modules/@types/node/README.md +15 -0
  20. package/node_modules/@types/node/assert/strict.d.ts +111 -0
  21. package/node_modules/@types/node/assert.d.ts +1115 -0
  22. package/node_modules/@types/node/async_hooks.d.ts +623 -0
  23. package/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  24. package/node_modules/@types/node/buffer.d.ts +1934 -0
  25. package/node_modules/@types/node/child_process.d.ts +1476 -0
  26. package/node_modules/@types/node/cluster.d.ts +578 -0
  27. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  28. package/node_modules/@types/node/console.d.ts +453 -0
  29. package/node_modules/@types/node/constants.d.ts +21 -0
  30. package/node_modules/@types/node/crypto.d.ts +5417 -0
  31. package/node_modules/@types/node/dgram.d.ts +600 -0
  32. package/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
  33. package/node_modules/@types/node/dns/promises.d.ts +503 -0
  34. package/node_modules/@types/node/dns.d.ts +923 -0
  35. package/node_modules/@types/node/domain.d.ts +166 -0
  36. package/node_modules/@types/node/events.d.ts +976 -0
  37. package/node_modules/@types/node/fs/promises.d.ts +1341 -0
  38. package/node_modules/@types/node/fs.d.ts +4714 -0
  39. package/node_modules/@types/node/globals.d.ts +170 -0
  40. package/node_modules/@types/node/globals.typedarray.d.ts +41 -0
  41. package/node_modules/@types/node/http.d.ts +2154 -0
  42. package/node_modules/@types/node/http2.d.ts +2835 -0
  43. package/node_modules/@types/node/https.d.ts +585 -0
  44. package/node_modules/@types/node/index.d.ts +101 -0
  45. package/node_modules/@types/node/inspector.d.ts +277 -0
  46. package/node_modules/@types/node/inspector.generated.d.ts +4239 -0
  47. package/node_modules/@types/node/module.d.ts +843 -0
  48. package/node_modules/@types/node/net.d.ts +1073 -0
  49. package/node_modules/@types/node/os.d.ts +507 -0
  50. package/node_modules/@types/node/package.json +155 -0
  51. package/node_modules/@types/node/path.d.ts +200 -0
  52. package/node_modules/@types/node/perf_hooks.d.ts +1042 -0
  53. package/node_modules/@types/node/process.d.ts +2102 -0
  54. package/node_modules/@types/node/punycode.d.ts +117 -0
  55. package/node_modules/@types/node/querystring.d.ts +152 -0
  56. package/node_modules/@types/node/readline/promises.d.ts +161 -0
  57. package/node_modules/@types/node/readline.d.ts +600 -0
  58. package/node_modules/@types/node/repl.d.ts +438 -0
  59. package/node_modules/@types/node/sea.d.ts +162 -0
  60. package/node_modules/@types/node/sqlite.d.ts +1040 -0
  61. package/node_modules/@types/node/stream/consumers.d.ts +38 -0
  62. package/node_modules/@types/node/stream/promises.d.ts +90 -0
  63. package/node_modules/@types/node/stream/web.d.ts +573 -0
  64. package/node_modules/@types/node/stream.d.ts +1706 -0
  65. package/node_modules/@types/node/string_decoder.d.ts +67 -0
  66. package/node_modules/@types/node/test.d.ts +2349 -0
  67. package/node_modules/@types/node/timers/promises.d.ts +108 -0
  68. package/node_modules/@types/node/timers.d.ts +285 -0
  69. package/node_modules/@types/node/tls.d.ts +1279 -0
  70. package/node_modules/@types/node/trace_events.d.ts +197 -0
  71. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  72. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  73. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  74. package/node_modules/@types/node/ts5.6/index.d.ts +103 -0
  75. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  76. package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
  77. package/node_modules/@types/node/tty.d.ts +208 -0
  78. package/node_modules/@types/node/url.d.ts +1079 -0
  79. package/node_modules/@types/node/util.d.ts +2336 -0
  80. package/node_modules/@types/node/v8.d.ts +982 -0
  81. package/node_modules/@types/node/vm.d.ts +1195 -0
  82. package/node_modules/@types/node/wasi.d.ts +202 -0
  83. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  84. package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  85. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  86. package/node_modules/@types/node/web-globals/events.d.ts +97 -0
  87. package/node_modules/@types/node/web-globals/fetch.d.ts +62 -0
  88. package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  89. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  90. package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  91. package/node_modules/@types/node/worker_threads.d.ts +894 -0
  92. package/node_modules/@types/node/zlib.d.ts +745 -0
  93. package/node_modules/@xrkseek/attachment/dist/error.d.ts +3 -2
  94. package/node_modules/@xrkseek/attachment/dist/error.d.ts.map +1 -1
  95. package/node_modules/@xrkseek/attachment/dist/error.js +17 -2
  96. package/node_modules/@xrkseek/attachment/dist/error.js.map +1 -1
  97. package/node_modules/@xrkseek/attachment/dist/index.d.ts +2 -2
  98. package/node_modules/@xrkseek/attachment/dist/index.d.ts.map +1 -1
  99. package/node_modules/@xrkseek/attachment/dist/index.js +1 -1
  100. package/node_modules/@xrkseek/attachment/dist/index.js.map +1 -1
  101. package/node_modules/@xrkseek/attachment/dist/memory.d.ts.map +1 -1
  102. package/node_modules/@xrkseek/attachment/dist/memory.js +6 -0
  103. package/node_modules/@xrkseek/attachment/dist/memory.js.map +1 -1
  104. package/node_modules/@xrkseek/attachment/dist/store.d.ts +6 -1
  105. package/node_modules/@xrkseek/attachment/dist/store.d.ts.map +1 -1
  106. package/node_modules/@xrkseek/attachment/dist/types.d.ts +19 -0
  107. package/node_modules/@xrkseek/attachment/dist/types.d.ts.map +1 -1
  108. package/node_modules/@xrkseek/attachment/dist/types.js.map +1 -1
  109. package/node_modules/@xrkseek/attachment-local/README.md +3 -0
  110. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts +18 -0
  111. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts.map +1 -0
  112. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js +43 -0
  113. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js.map +1 -0
  114. package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts +23 -0
  115. package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts.map +1 -0
  116. package/node_modules/@xrkseek/attachment-local/dist/encoding.js +33 -0
  117. package/node_modules/@xrkseek/attachment-local/dist/encoding.js.map +1 -0
  118. package/node_modules/@xrkseek/attachment-local/dist/image.d.ts +54 -0
  119. package/node_modules/@xrkseek/attachment-local/dist/image.d.ts.map +1 -0
  120. package/node_modules/@xrkseek/attachment-local/dist/image.js +97 -0
  121. package/node_modules/@xrkseek/attachment-local/dist/image.js.map +1 -0
  122. package/node_modules/@xrkseek/attachment-local/dist/index.d.ts +32 -0
  123. package/node_modules/@xrkseek/attachment-local/dist/index.d.ts.map +1 -0
  124. package/node_modules/@xrkseek/attachment-local/dist/index.js +188 -0
  125. package/node_modules/@xrkseek/attachment-local/dist/index.js.map +1 -0
  126. package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts +44 -0
  127. package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts.map +1 -0
  128. package/node_modules/@xrkseek/attachment-local/dist/normalization.js +148 -0
  129. package/node_modules/@xrkseek/attachment-local/dist/normalization.js.map +1 -0
  130. package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts +34 -0
  131. package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts.map +1 -0
  132. package/node_modules/@xrkseek/attachment-local/dist/request-image.js +208 -0
  133. package/node_modules/@xrkseek/attachment-local/dist/request-image.js.map +1 -0
  134. package/node_modules/@xrkseek/attachment-local/dist/store.d.ts +58 -0
  135. package/node_modules/@xrkseek/attachment-local/dist/store.d.ts.map +1 -0
  136. package/node_modules/@xrkseek/attachment-local/dist/store.js +290 -0
  137. package/node_modules/@xrkseek/attachment-local/dist/store.js.map +1 -0
  138. package/node_modules/@xrkseek/attachment-local/package.json +25 -0
  139. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +3 -0
  140. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
  141. package/node_modules/@xrkseek/exec-fs/dist/index.js +10 -0
  142. package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
  143. package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts +35 -0
  144. package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts.map +1 -0
  145. package/node_modules/@xrkseek/exec-fs/dist/read-image.js +120 -0
  146. package/node_modules/@xrkseek/exec-fs/dist/read-image.js.map +1 -0
  147. package/node_modules/@xrkseek/exec-fs/package.json +3 -1
  148. package/node_modules/@xrkseek/llm/dist/index.d.ts +1 -0
  149. package/node_modules/@xrkseek/llm/dist/index.d.ts.map +1 -1
  150. package/node_modules/@xrkseek/llm/dist/index.js.map +1 -1
  151. package/node_modules/@xrkseek/llm-deepseek/README.md +3 -1
  152. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts +10 -0
  153. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts.map +1 -0
  154. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js +8 -0
  155. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js.map +1 -0
  156. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts +40 -0
  157. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts.map +1 -0
  158. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js +164 -0
  159. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js.map +1 -0
  160. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts +56 -0
  161. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts.map +1 -0
  162. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js +180 -0
  163. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js.map +1 -0
  164. package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts +15 -6
  165. package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts.map +1 -1
  166. package/node_modules/@xrkseek/llm-deepseek/dist/index.js +63 -13
  167. package/node_modules/@xrkseek/llm-deepseek/dist/index.js.map +1 -1
  168. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts +8 -0
  169. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts.map +1 -0
  170. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js +12 -0
  171. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js.map +1 -0
  172. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts +28 -0
  173. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts.map +1 -0
  174. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js +142 -0
  175. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js.map +1 -0
  176. package/node_modules/@xrkseek/llm-deepseek/package.json +3 -1
  177. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts +27 -0
  178. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts.map +1 -1
  179. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js +20 -5
  180. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js.map +1 -1
  181. package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts +1 -0
  182. package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts.map +1 -1
  183. package/node_modules/@xrkseek/llm-registry/dist/registry.js +15 -1
  184. package/node_modules/@xrkseek/llm-registry/dist/registry.js.map +1 -1
  185. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +5 -0
  186. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
  187. package/node_modules/@xrkseek/preset-harness/dist/preset.js +10 -1
  188. package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
  189. package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
  190. package/node_modules/@xrkseek/preset-harness/package.json +1 -0
  191. package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
  192. package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
  193. package/node_modules/@xrkseek/preset-server/dist/preset.js +3 -1
  194. package/node_modules/@xrkseek/preset-server/dist/preset.js.map +1 -1
  195. package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
  196. package/node_modules/@xrkseek/protocol/dist/content.d.ts +5 -0
  197. package/node_modules/@xrkseek/protocol/dist/content.d.ts.map +1 -1
  198. package/node_modules/@xrkseek/protocol/dist/content.js +8 -1
  199. package/node_modules/@xrkseek/protocol/dist/content.js.map +1 -1
  200. package/node_modules/@xrkseek/server-face/dist/context.d.ts +6 -3
  201. package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
  202. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts +9 -0
  203. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts.map +1 -0
  204. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js +28 -0
  205. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js.map +1 -0
  206. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts +16 -0
  207. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts.map +1 -0
  208. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js +141 -0
  209. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js.map +1 -0
  210. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts +13 -0
  211. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts.map +1 -0
  212. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js +158 -0
  213. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js.map +1 -0
  214. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts +284 -0
  215. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts.map +1 -0
  216. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js +696 -0
  217. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js.map +1 -0
  218. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts +15 -0
  219. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts.map +1 -0
  220. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js +196 -0
  221. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js.map +1 -0
  222. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts +19 -0
  223. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts.map +1 -0
  224. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js +143 -0
  225. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js.map +1 -0
  226. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts +16 -0
  227. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts.map +1 -0
  228. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js +84 -0
  229. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js.map +1 -0
  230. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts +19 -0
  231. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts.map +1 -0
  232. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js +221 -0
  233. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js.map +1 -0
  234. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts +133 -0
  235. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts.map +1 -0
  236. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js +561 -0
  237. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js.map +1 -0
  238. package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
  239. package/node_modules/@xrkseek/server-face/dist/dispatch.js +15 -0
  240. package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
  241. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts +0 -5
  242. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts.map +1 -1
  243. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js +277 -24
  244. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js.map +1 -1
  245. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts +30 -0
  246. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts.map +1 -0
  247. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js +48 -0
  248. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js.map +1 -0
  249. package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts +6 -0
  250. package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts.map +1 -0
  251. package/node_modules/@xrkseek/server-face/dist/handlers/references.js +42 -0
  252. package/node_modules/@xrkseek/server-face/dist/handlers/references.js.map +1 -0
  253. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts +6 -0
  254. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts.map +1 -0
  255. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js +24 -0
  256. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js.map +1 -0
  257. package/node_modules/@xrkseek/server-face/dist/index.d.ts +1 -0
  258. package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
  259. package/node_modules/@xrkseek/server-face/dist/index.js +1 -0
  260. package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
  261. package/node_modules/@xrkseek/server-face/dist/llm-resolve.d.ts.map +1 -1
  262. package/node_modules/@xrkseek/server-face/dist/llm-resolve.js +5 -3
  263. package/node_modules/@xrkseek/server-face/dist/llm-resolve.js.map +1 -1
  264. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts +2 -2
  265. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts.map +1 -1
  266. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js +7 -3
  267. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js.map +1 -1
  268. package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts +2 -0
  269. package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts.map +1 -1
  270. package/node_modules/@xrkseek/server-face/dist/projections/index.js +2 -0
  271. package/node_modules/@xrkseek/server-face/dist/projections/index.js.map +1 -1
  272. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.d.ts.map +1 -1
  273. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js +12 -0
  274. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js.map +1 -1
  275. package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts +45 -0
  276. package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts.map +1 -1
  277. package/node_modules/@xrkseek/server-face/dist/projections/registry.js.map +1 -1
  278. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts +40 -0
  279. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts.map +1 -0
  280. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js +103 -0
  281. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js.map +1 -0
  282. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts +9 -0
  283. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts.map +1 -0
  284. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js +24 -0
  285. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js.map +1 -0
  286. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts +37 -0
  287. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts.map +1 -0
  288. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js +109 -0
  289. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js.map +1 -0
  290. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts +35 -0
  291. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts.map +1 -0
  292. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js +151 -0
  293. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js.map +1 -0
  294. package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts +13 -0
  295. package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts.map +1 -0
  296. package/node_modules/@xrkseek/server-face/dist/reference-discovery.js +81 -0
  297. package/node_modules/@xrkseek/server-face/dist/reference-discovery.js.map +1 -0
  298. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +5 -1
  299. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
  300. package/node_modules/@xrkseek/server-face/dist/runtime.js +25 -0
  301. package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
  302. package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts +15 -0
  303. package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts.map +1 -1
  304. package/node_modules/@xrkseek/server-face/dist/settings-credentials.js.map +1 -1
  305. package/node_modules/@xrkseek/server-face/dist/slash.d.ts.map +1 -1
  306. package/node_modules/@xrkseek/server-face/dist/slash.js +19 -0
  307. package/node_modules/@xrkseek/server-face/dist/slash.js.map +1 -1
  308. package/node_modules/@xrkseek/server-face/dist/wire/paths.d.ts.map +1 -1
  309. package/node_modules/@xrkseek/server-face/dist/wire/paths.js +3 -0
  310. package/node_modules/@xrkseek/server-face/dist/wire/paths.js.map +1 -1
  311. package/node_modules/@xrkseek/server-face/package.json +3 -0
  312. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts +4 -0
  313. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts.map +1 -0
  314. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js +10 -0
  315. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js.map +1 -0
  316. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts +11 -0
  317. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts.map +1 -0
  318. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js +29 -0
  319. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js.map +1 -0
  320. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts +15 -0
  321. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts.map +1 -0
  322. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js +34 -0
  323. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js.map +1 -0
  324. package/node_modules/@xrkseek/server-host/dist/index.d.ts +6 -1
  325. package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
  326. package/node_modules/@xrkseek/server-host/dist/index.js +126 -19
  327. package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
  328. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts +17 -0
  329. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts.map +1 -0
  330. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js +201 -0
  331. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js.map +1 -0
  332. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts +10 -0
  333. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts.map +1 -0
  334. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js +31 -0
  335. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js.map +1 -0
  336. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts +7 -0
  337. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts.map +1 -0
  338. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js +40 -0
  339. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js.map +1 -0
  340. package/node_modules/@xrkseek/server-host/package.json +8 -1
  341. package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts +12 -0
  342. package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts.map +1 -1
  343. package/node_modules/@xrkseek/server-http/dist/boot-inject.js +54 -0
  344. package/node_modules/@xrkseek/server-http/dist/boot-inject.js.map +1 -1
  345. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts +6 -0
  346. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts.map +1 -0
  347. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js +141 -0
  348. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js.map +1 -0
  349. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts +3 -0
  350. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts.map +1 -0
  351. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js +445 -0
  352. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js.map +1 -0
  353. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts +7 -0
  354. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts.map +1 -0
  355. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js +15 -0
  356. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js.map +1 -0
  357. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +57 -0
  358. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts.map +1 -0
  359. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js +2 -0
  360. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js.map +1 -0
  361. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts +10 -0
  362. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts.map +1 -0
  363. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js +275 -0
  364. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js.map +1 -0
  365. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts +10 -0
  366. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts.map +1 -0
  367. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js +41 -0
  368. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js.map +1 -0
  369. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts +17 -0
  370. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts.map +1 -0
  371. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +184 -0
  372. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js.map +1 -0
  373. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts +5 -0
  374. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts.map +1 -0
  375. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js +5 -0
  376. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js.map +1 -0
  377. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts +21 -0
  378. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts.map +1 -0
  379. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js +122 -0
  380. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js.map +1 -0
  381. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts +10 -0
  382. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts.map +1 -0
  383. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js +58 -0
  384. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js.map +1 -0
  385. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts +7 -0
  386. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts.map +1 -0
  387. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js +59 -0
  388. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js.map +1 -0
  389. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts +25 -0
  390. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts.map +1 -0
  391. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js +154 -0
  392. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js.map +1 -0
  393. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts +2 -0
  394. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts.map +1 -0
  395. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js +77 -0
  396. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js.map +1 -0
  397. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts +16 -0
  398. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts.map +1 -0
  399. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js +121 -0
  400. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js.map +1 -0
  401. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts +12 -0
  402. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts.map +1 -0
  403. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js +48 -0
  404. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js.map +1 -0
  405. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts +18 -0
  406. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts.map +1 -0
  407. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js +62 -0
  408. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js.map +1 -0
  409. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts +9 -0
  410. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts.map +1 -0
  411. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js +42 -0
  412. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js.map +1 -0
  413. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts +6 -0
  414. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts.map +1 -0
  415. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js +88 -0
  416. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js.map +1 -0
  417. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts +9 -0
  418. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts.map +1 -0
  419. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js +67 -0
  420. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js.map +1 -0
  421. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts +18 -0
  422. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts.map +1 -0
  423. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js +198 -0
  424. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js.map +1 -0
  425. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts +27 -0
  426. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts.map +1 -0
  427. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js +71 -0
  428. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js.map +1 -0
  429. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts +8 -0
  430. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts.map +1 -0
  431. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js +12 -0
  432. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js.map +1 -0
  433. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts +2 -0
  434. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts.map +1 -0
  435. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js +6 -0
  436. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js.map +1 -0
  437. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts +22 -0
  438. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts.map +1 -0
  439. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js +219 -0
  440. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js.map +1 -0
  441. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts +4 -0
  442. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts.map +1 -0
  443. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js +53 -0
  444. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js.map +1 -0
  445. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts +11 -0
  446. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts.map +1 -0
  447. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js +61 -0
  448. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js.map +1 -0
  449. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts +7 -0
  450. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts.map +1 -0
  451. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js +150 -0
  452. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js.map +1 -0
  453. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts +10 -0
  454. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts.map +1 -0
  455. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js +239 -0
  456. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js.map +1 -0
  457. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts +22 -0
  458. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts.map +1 -0
  459. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js +83 -0
  460. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js.map +1 -0
  461. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts +18 -0
  462. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts.map +1 -0
  463. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js +191 -0
  464. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js.map +1 -0
  465. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts +21 -0
  466. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts.map +1 -0
  467. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js +105 -0
  468. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js.map +1 -0
  469. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts +7 -0
  470. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts.map +1 -0
  471. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js +57 -0
  472. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js.map +1 -0
  473. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts +6 -0
  474. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts.map +1 -0
  475. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js +74 -0
  476. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js.map +1 -0
  477. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts +14 -0
  478. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts.map +1 -0
  479. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js +17 -0
  480. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js.map +1 -0
  481. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts +76 -0
  482. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts.map +1 -0
  483. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js +551 -0
  484. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js.map +1 -0
  485. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts +7 -0
  486. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts.map +1 -0
  487. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js +136 -0
  488. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js.map +1 -0
  489. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts +21 -0
  490. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts.map +1 -0
  491. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js +281 -0
  492. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js.map +1 -0
  493. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts +16 -0
  494. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts.map +1 -0
  495. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js +163 -0
  496. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js.map +1 -0
  497. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts +5 -0
  498. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts.map +1 -0
  499. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js +125 -0
  500. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js.map +1 -0
  501. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts +17 -0
  502. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts.map +1 -0
  503. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js +188 -0
  504. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js.map +1 -0
  505. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts +9 -0
  506. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts.map +1 -0
  507. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js +55 -0
  508. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js.map +1 -0
  509. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +37 -0
  510. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts.map +1 -0
  511. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js +36 -0
  512. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -0
  513. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts +5 -0
  514. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts.map +1 -0
  515. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js +28 -0
  516. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js.map +1 -0
  517. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts +7 -0
  518. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts.map +1 -0
  519. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js +108 -0
  520. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js.map +1 -0
  521. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts +7 -0
  522. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts.map +1 -0
  523. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js +218 -0
  524. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js.map +1 -0
  525. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts +10 -0
  526. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts.map +1 -0
  527. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js +81 -0
  528. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js.map +1 -0
  529. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts +10 -0
  530. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts.map +1 -0
  531. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js +15 -0
  532. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js.map +1 -0
  533. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts +8 -0
  534. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts.map +1 -0
  535. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js +83 -0
  536. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js.map +1 -0
  537. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts +9 -0
  538. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts.map +1 -0
  539. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js +144 -0
  540. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js.map +1 -0
  541. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts +17 -0
  542. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts.map +1 -0
  543. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js +52 -0
  544. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js.map +1 -0
  545. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts +11 -0
  546. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts.map +1 -0
  547. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js +221 -0
  548. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js.map +1 -0
  549. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts +22 -0
  550. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts.map +1 -0
  551. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js +155 -0
  552. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js.map +1 -0
  553. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts +14 -0
  554. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts.map +1 -0
  555. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js +213 -0
  556. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js.map +1 -0
  557. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts +14 -0
  558. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts.map +1 -0
  559. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js +200 -0
  560. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js.map +1 -0
  561. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts +11 -0
  562. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts.map +1 -0
  563. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js +200 -0
  564. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js.map +1 -0
  565. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts +6 -0
  566. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts.map +1 -0
  567. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js +47 -0
  568. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js.map +1 -0
  569. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts +15 -0
  570. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts.map +1 -0
  571. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js +132 -0
  572. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js.map +1 -0
  573. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts +13 -0
  574. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts.map +1 -0
  575. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js +336 -0
  576. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js.map +1 -0
  577. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts +10 -0
  578. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts.map +1 -0
  579. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js +86 -0
  580. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js.map +1 -0
  581. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts +8 -0
  582. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts.map +1 -0
  583. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js +34 -0
  584. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js.map +1 -0
  585. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts +4 -0
  586. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts.map +1 -0
  587. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js +170 -0
  588. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js.map +1 -0
  589. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts +33 -0
  590. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts.map +1 -0
  591. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js +108 -0
  592. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js.map +1 -0
  593. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts +10 -0
  594. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts.map +1 -0
  595. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js +38 -0
  596. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js.map +1 -0
  597. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts +10 -0
  598. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts.map +1 -0
  599. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js +358 -0
  600. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js.map +1 -0
  601. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts +25 -0
  602. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts.map +1 -0
  603. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js +78 -0
  604. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js.map +1 -0
  605. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts +9 -0
  606. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts.map +1 -0
  607. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js +56 -0
  608. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js.map +1 -0
  609. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts +11 -0
  610. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts.map +1 -0
  611. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js +106 -0
  612. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js.map +1 -0
  613. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts +18 -0
  614. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts.map +1 -0
  615. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js +240 -0
  616. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js.map +1 -0
  617. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts +5 -0
  618. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts.map +1 -0
  619. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js +78 -0
  620. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js.map +1 -0
  621. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts +42 -0
  622. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts.map +1 -0
  623. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js +117 -0
  624. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js.map +1 -0
  625. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts +11 -0
  626. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts.map +1 -0
  627. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js +111 -0
  628. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js.map +1 -0
  629. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts +16 -0
  630. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts.map +1 -0
  631. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js +455 -0
  632. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js.map +1 -0
  633. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts +26 -0
  634. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts.map +1 -0
  635. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js +22 -0
  636. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js.map +1 -0
  637. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts +12 -0
  638. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts.map +1 -0
  639. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js +123 -0
  640. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js.map +1 -0
  641. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts +16 -0
  642. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts.map +1 -0
  643. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js +99 -0
  644. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js.map +1 -0
  645. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts +106 -0
  646. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts.map +1 -0
  647. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js +6 -0
  648. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js.map +1 -0
  649. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts +14 -0
  650. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts.map +1 -0
  651. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js +21 -0
  652. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js.map +1 -0
  653. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts +9 -0
  654. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts.map +1 -0
  655. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js +22 -0
  656. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js.map +1 -0
  657. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts +22 -0
  658. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts.map +1 -0
  659. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js +13 -0
  660. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js.map +1 -0
  661. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts +21 -0
  662. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts.map +1 -0
  663. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js +190 -0
  664. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js.map +1 -0
  665. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts +10 -0
  666. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts.map +1 -0
  667. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js +438 -0
  668. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js.map +1 -0
  669. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts +8 -0
  670. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts.map +1 -0
  671. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js +69 -0
  672. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js.map +1 -0
  673. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts +6 -0
  674. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts.map +1 -0
  675. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js +62 -0
  676. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js.map +1 -0
  677. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts +5 -0
  678. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts.map +1 -0
  679. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js +17 -0
  680. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js.map +1 -0
  681. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts +7 -0
  682. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts.map +1 -0
  683. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js +67 -0
  684. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js.map +1 -0
  685. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts +12 -0
  686. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts.map +1 -0
  687. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js +198 -0
  688. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js.map +1 -0
  689. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts +15 -0
  690. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts.map +1 -0
  691. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js +111 -0
  692. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js.map +1 -0
  693. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts +9 -0
  694. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts.map +1 -0
  695. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js +161 -0
  696. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js.map +1 -0
  697. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts +6 -0
  698. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts.map +1 -0
  699. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js +31 -0
  700. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js.map +1 -0
  701. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts +9 -0
  702. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts.map +1 -0
  703. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js +103 -0
  704. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js.map +1 -0
  705. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts +49 -0
  706. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts.map +1 -0
  707. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js +190 -0
  708. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js.map +1 -0
  709. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts +9 -0
  710. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts.map +1 -0
  711. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js +44 -0
  712. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js.map +1 -0
  713. package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts +6 -0
  714. package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts.map +1 -0
  715. package/node_modules/@xrkseek/server-http/dist/dsh-compat.js +6 -0
  716. package/node_modules/@xrkseek/server-http/dist/dsh-compat.js.map +1 -0
  717. package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts +14 -0
  718. package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts.map +1 -0
  719. package/node_modules/@xrkseek/server-http/dist/host-wire.js +15 -0
  720. package/node_modules/@xrkseek/server-http/dist/host-wire.js.map +1 -0
  721. package/node_modules/@xrkseek/server-http/dist/http-json.d.ts +12 -0
  722. package/node_modules/@xrkseek/server-http/dist/http-json.d.ts.map +1 -0
  723. package/node_modules/@xrkseek/server-http/dist/http-json.js +40 -0
  724. package/node_modules/@xrkseek/server-http/dist/http-json.js.map +1 -0
  725. package/node_modules/@xrkseek/server-http/dist/index.d.ts +12 -1
  726. package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
  727. package/node_modules/@xrkseek/server-http/dist/index.js +12 -1
  728. package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
  729. package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts +19 -0
  730. package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts.map +1 -0
  731. package/node_modules/@xrkseek/server-http/dist/public-routes.js +34 -0
  732. package/node_modules/@xrkseek/server-http/dist/public-routes.js.map +1 -0
  733. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts +13 -0
  734. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts.map +1 -0
  735. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js +58 -0
  736. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js.map +1 -0
  737. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts +16 -0
  738. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts.map +1 -0
  739. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js +49 -0
  740. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js.map +1 -0
  741. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts +35 -0
  742. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts.map +1 -0
  743. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js +103 -0
  744. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js.map +1 -0
  745. package/node_modules/@xrkseek/server-http/package.json +2 -1
  746. package/node_modules/@xrkseek/server-loader/dist/host.d.ts +6 -0
  747. package/node_modules/@xrkseek/server-loader/dist/host.d.ts.map +1 -0
  748. package/node_modules/@xrkseek/server-loader/dist/host.js +11 -0
  749. package/node_modules/@xrkseek/server-loader/dist/host.js.map +1 -0
  750. package/node_modules/@xrkseek/server-loader/dist/index.d.ts +2 -1
  751. package/node_modules/@xrkseek/server-loader/dist/index.d.ts.map +1 -1
  752. package/node_modules/@xrkseek/server-loader/dist/index.js +1 -0
  753. package/node_modules/@xrkseek/server-loader/dist/index.js.map +1 -1
  754. package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts +5 -0
  755. package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts.map +1 -1
  756. package/node_modules/@xrkseek/server-loader/dist/kinds.js +5 -0
  757. package/node_modules/@xrkseek/server-loader/dist/kinds.js.map +1 -1
  758. package/node_modules/@xrkseek/server-loader/dist/load.d.ts.map +1 -1
  759. package/node_modules/@xrkseek/server-loader/dist/load.js +5 -0
  760. package/node_modules/@xrkseek/server-loader/dist/load.js.map +1 -1
  761. package/node_modules/@xrkseek/server-loader/dist/types.d.ts +40 -0
  762. package/node_modules/@xrkseek/server-loader/dist/types.d.ts.map +1 -1
  763. package/node_modules/@xrkseek/xrk-file-reference/README.i18n.yaml +6 -0
  764. package/node_modules/@xrkseek/xrk-file-reference/README.md +22 -0
  765. package/node_modules/@xrkseek/xrk-file-reference/README.zh.md +22 -0
  766. package/node_modules/@xrkseek/xrk-file-reference/package.json +68 -0
  767. package/node_modules/@xrkseek/xrk-file-reference-local/README.i18n.yaml +6 -0
  768. package/node_modules/@xrkseek/xrk-file-reference-local/README.md +45 -0
  769. package/node_modules/@xrkseek/xrk-file-reference-local/README.zh.md +45 -0
  770. package/node_modules/@xrkseek/xrk-file-reference-local/package.json +56 -0
  771. package/node_modules/@xrkseek/xrk-session-reference/README.i18n.yaml +6 -0
  772. package/node_modules/@xrkseek/xrk-session-reference/README.md +50 -0
  773. package/node_modules/@xrkseek/xrk-session-reference/README.zh.md +50 -0
  774. package/node_modules/@xrkseek/xrk-session-reference/package.json +79 -0
  775. package/node_modules/detect-libc/LICENSE +201 -0
  776. package/node_modules/detect-libc/README.md +163 -0
  777. package/node_modules/detect-libc/index.d.ts +14 -0
  778. package/node_modules/detect-libc/lib/detect-libc.js +313 -0
  779. package/node_modules/detect-libc/lib/elf.js +39 -0
  780. package/node_modules/detect-libc/lib/filesystem.js +51 -0
  781. package/node_modules/detect-libc/lib/process.js +24 -0
  782. package/node_modules/detect-libc/package.json +44 -0
  783. package/node_modules/semver/LICENSE +15 -0
  784. package/node_modules/semver/README.md +680 -0
  785. package/node_modules/semver/bin/semver.js +195 -0
  786. package/node_modules/semver/classes/comparator.js +143 -0
  787. package/node_modules/semver/classes/index.js +7 -0
  788. package/node_modules/semver/classes/range.js +577 -0
  789. package/node_modules/semver/classes/semver.js +350 -0
  790. package/node_modules/semver/functions/clean.js +8 -0
  791. package/node_modules/semver/functions/cmp.js +54 -0
  792. package/node_modules/semver/functions/coerce.js +62 -0
  793. package/node_modules/semver/functions/compare-build.js +9 -0
  794. package/node_modules/semver/functions/compare-loose.js +5 -0
  795. package/node_modules/semver/functions/compare.js +7 -0
  796. package/node_modules/semver/functions/diff.js +60 -0
  797. package/node_modules/semver/functions/eq.js +5 -0
  798. package/node_modules/semver/functions/gt.js +5 -0
  799. package/node_modules/semver/functions/gte.js +5 -0
  800. package/node_modules/semver/functions/inc.js +21 -0
  801. package/node_modules/semver/functions/lt.js +5 -0
  802. package/node_modules/semver/functions/lte.js +5 -0
  803. package/node_modules/semver/functions/major.js +5 -0
  804. package/node_modules/semver/functions/minor.js +5 -0
  805. package/node_modules/semver/functions/neq.js +5 -0
  806. package/node_modules/semver/functions/parse.js +18 -0
  807. package/node_modules/semver/functions/patch.js +5 -0
  808. package/node_modules/semver/functions/prerelease.js +8 -0
  809. package/node_modules/semver/functions/rcompare.js +5 -0
  810. package/node_modules/semver/functions/rsort.js +5 -0
  811. package/node_modules/semver/functions/satisfies.js +12 -0
  812. package/node_modules/semver/functions/sort.js +5 -0
  813. package/node_modules/semver/functions/truncate.js +48 -0
  814. package/node_modules/semver/functions/valid.js +8 -0
  815. package/node_modules/semver/index.js +93 -0
  816. package/node_modules/semver/internal/constants.js +37 -0
  817. package/node_modules/semver/internal/debug.js +11 -0
  818. package/node_modules/semver/internal/identifiers.js +29 -0
  819. package/node_modules/semver/internal/lrucache.js +42 -0
  820. package/node_modules/semver/internal/parse-options.js +17 -0
  821. package/node_modules/semver/internal/re.js +223 -0
  822. package/node_modules/semver/package.json +78 -0
  823. package/node_modules/semver/preload.js +4 -0
  824. package/node_modules/semver/range.bnf +17 -0
  825. package/node_modules/semver/ranges/gtr.js +6 -0
  826. package/node_modules/semver/ranges/intersects.js +9 -0
  827. package/node_modules/semver/ranges/ltr.js +6 -0
  828. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  829. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  830. package/node_modules/semver/ranges/min-version.js +63 -0
  831. package/node_modules/semver/ranges/outside.js +82 -0
  832. package/node_modules/semver/ranges/simplify.js +49 -0
  833. package/node_modules/semver/ranges/subset.js +249 -0
  834. package/node_modules/semver/ranges/to-comparators.js +10 -0
  835. package/node_modules/semver/ranges/valid.js +13 -0
  836. package/node_modules/sharp/LICENSE +191 -0
  837. package/node_modules/sharp/README.md +112 -0
  838. package/node_modules/sharp/dist/channel.cjs +177 -0
  839. package/node_modules/sharp/dist/channel.mjs +177 -0
  840. package/node_modules/sharp/dist/colour.cjs +199 -0
  841. package/node_modules/sharp/dist/colour.mjs +199 -0
  842. package/node_modules/sharp/dist/composite.cjs +213 -0
  843. package/node_modules/sharp/dist/composite.mjs +213 -0
  844. package/node_modules/sharp/dist/constructor.cjs +511 -0
  845. package/node_modules/sharp/dist/constructor.mjs +511 -0
  846. package/node_modules/sharp/dist/index.cjs +25 -0
  847. package/node_modules/sharp/dist/index.d.cts +1999 -0
  848. package/node_modules/sharp/dist/index.d.mts +2046 -0
  849. package/node_modules/sharp/dist/index.mjs +25 -0
  850. package/node_modules/sharp/dist/input.cjs +814 -0
  851. package/node_modules/sharp/dist/input.mjs +814 -0
  852. package/node_modules/sharp/dist/is.cjs +143 -0
  853. package/node_modules/sharp/dist/is.mjs +143 -0
  854. package/node_modules/sharp/dist/libvips.cjs +212 -0
  855. package/node_modules/sharp/dist/libvips.mjs +212 -0
  856. package/node_modules/sharp/dist/operation.cjs +998 -0
  857. package/node_modules/sharp/dist/operation.mjs +998 -0
  858. package/node_modules/sharp/dist/output.cjs +1788 -0
  859. package/node_modules/sharp/dist/output.mjs +1788 -0
  860. package/node_modules/sharp/dist/resize.cjs +617 -0
  861. package/node_modules/sharp/dist/resize.mjs +617 -0
  862. package/node_modules/sharp/dist/sharp.cjs +174 -0
  863. package/node_modules/sharp/dist/sharp.mjs +174 -0
  864. package/node_modules/sharp/dist/utility.cjs +301 -0
  865. package/node_modules/sharp/dist/utility.mjs +301 -0
  866. package/node_modules/sharp/install/build.js +38 -0
  867. package/node_modules/sharp/lib/index.d.ts +1999 -0
  868. package/node_modules/sharp/package.json +227 -0
  869. package/node_modules/sharp/src/binding.gyp +303 -0
  870. package/node_modules/sharp/src/common.cc +1183 -0
  871. package/node_modules/sharp/src/common.h +421 -0
  872. package/node_modules/sharp/src/metadata.cc +404 -0
  873. package/node_modules/sharp/src/metadata.h +95 -0
  874. package/node_modules/sharp/src/operations.cc +516 -0
  875. package/node_modules/sharp/src/operations.h +137 -0
  876. package/node_modules/sharp/src/pipeline.cc +1948 -0
  877. package/node_modules/sharp/src/pipeline.h +422 -0
  878. package/node_modules/sharp/src/sharp.cc +43 -0
  879. package/node_modules/sharp/src/stats.cc +186 -0
  880. package/node_modules/sharp/src/stats.h +62 -0
  881. package/node_modules/sharp/src/utilities.cc +289 -0
  882. package/node_modules/sharp/src/utilities.h +22 -0
  883. package/node_modules/undici-types/LICENSE +21 -0
  884. package/node_modules/undici-types/README.md +6 -0
  885. package/node_modules/undici-types/agent.d.ts +32 -0
  886. package/node_modules/undici-types/api.d.ts +43 -0
  887. package/node_modules/undici-types/balanced-pool.d.ts +30 -0
  888. package/node_modules/undici-types/cache-interceptor.d.ts +173 -0
  889. package/node_modules/undici-types/cache.d.ts +36 -0
  890. package/node_modules/undici-types/client-stats.d.ts +15 -0
  891. package/node_modules/undici-types/client.d.ts +108 -0
  892. package/node_modules/undici-types/connector.d.ts +34 -0
  893. package/node_modules/undici-types/content-type.d.ts +21 -0
  894. package/node_modules/undici-types/cookies.d.ts +30 -0
  895. package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
  896. package/node_modules/undici-types/dispatcher.d.ts +276 -0
  897. package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  898. package/node_modules/undici-types/errors.d.ts +161 -0
  899. package/node_modules/undici-types/eventsource.d.ts +66 -0
  900. package/node_modules/undici-types/fetch.d.ts +211 -0
  901. package/node_modules/undici-types/formdata.d.ts +108 -0
  902. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  903. package/node_modules/undici-types/global-origin.d.ts +7 -0
  904. package/node_modules/undici-types/h2c-client.d.ts +73 -0
  905. package/node_modules/undici-types/handlers.d.ts +15 -0
  906. package/node_modules/undici-types/header.d.ts +160 -0
  907. package/node_modules/undici-types/index.d.ts +88 -0
  908. package/node_modules/undici-types/interceptors.d.ts +73 -0
  909. package/node_modules/undici-types/mock-agent.d.ts +68 -0
  910. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  911. package/node_modules/undici-types/mock-client.d.ts +27 -0
  912. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  913. package/node_modules/undici-types/mock-interceptor.d.ts +94 -0
  914. package/node_modules/undici-types/mock-pool.d.ts +27 -0
  915. package/node_modules/undici-types/package.json +55 -0
  916. package/node_modules/undici-types/patch.d.ts +29 -0
  917. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  918. package/node_modules/undici-types/pool.d.ts +41 -0
  919. package/node_modules/undici-types/proxy-agent.d.ts +29 -0
  920. package/node_modules/undici-types/readable.d.ts +68 -0
  921. package/node_modules/undici-types/retry-agent.d.ts +8 -0
  922. package/node_modules/undici-types/retry-handler.d.ts +125 -0
  923. package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  924. package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  925. package/node_modules/undici-types/util.d.ts +18 -0
  926. package/node_modules/undici-types/utility.d.ts +7 -0
  927. package/node_modules/undici-types/webidl.d.ts +341 -0
  928. package/node_modules/undici-types/websocket.d.ts +186 -0
  929. package/package.json +23 -1
  930. package/product-web/assets/{index-CSGf6Qzd.css → index-C0u-TtQQ.css} +1 -1
  931. package/product-web/assets/index-CHKZdZNt.js +112 -0
  932. package/product-web/assets/index-CHKZdZNt.js.map +1 -0
  933. package/product-web/assets/langs/{php-DY2VakOf.js → php-9bx0az3O.js} +2 -2
  934. package/product-web/assets/langs/{php-DY2VakOf.js.map → php-9bx0az3O.js.map} +1 -1
  935. package/product-web/assets/langs/{ruby-hwtoiFmS.js → ruby-HDLHRjSL.js} +2 -2
  936. package/product-web/assets/langs/{ruby-hwtoiFmS.js.map → ruby-HDLHRjSL.js.map} +1 -1
  937. package/product-web/assets/{vendor-CldRVjca.js → vendor-CeMKrCZm.js} +36 -35
  938. package/product-web/assets/vendor-CeMKrCZm.js.map +1 -0
  939. package/product-web/boot.json +20 -1
  940. package/product-web/index.html +3 -3
  941. package/product-web/plugins/@xrkseek/client-modules/client.js +83 -12
  942. package/product-web/plugins/@xrkseek/client-runtime/client.js +1 -37
  943. package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +39 -39
  944. package/product-web/plugins/@xrkseek/client-ui-attachment/client.js +782 -0
  945. package/product-web/plugins/@xrkseek/client-ui-commands/client.js +7 -7
  946. package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +965 -561
  947. package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +4 -4
  948. package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +24 -24
  949. package/product-web/plugins/@xrkseek/client-ui-goal/client.js +8 -8
  950. package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +83 -27
  951. package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +9 -9
  952. package/product-web/plugins/@xrkseek/client-ui-layout/client.js +3 -3
  953. package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +4 -4
  954. package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +15 -15
  955. package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +2 -2
  956. package/product-web/plugins/@xrkseek/client-ui-plan/client.js +3 -3
  957. package/product-web/plugins/@xrkseek/client-ui-reference/client.js +148 -0
  958. package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +13 -13
  959. package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +56 -56
  960. package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +12 -12
  961. package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +43 -43
  962. package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +14 -14
  963. package/product-web/plugins/@xrkseek/client-ui-skill/client.js +11 -11
  964. package/product-web/plugins/@xrkseek/client-ui-subagent/client.js +289 -157
  965. package/product-web/plugins/@xrkseek/client-ui-theme/client.js +4 -4
  966. package/product-web/plugins/@xrkseek/client-ui-tool/client.js +33 -33
  967. package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +144 -165
  968. package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +26 -26
  969. package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +15 -15
  970. package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +54 -54
  971. package/product-web/plugins/@xrkseek/xrk-api-remotes/client.js +20 -1
  972. package/product-web/assets/index-CcF0Sxxg.js +0 -297
  973. package/product-web/assets/index-CcF0Sxxg.js.map +0 -1
  974. package/product-web/assets/vendor-CldRVjca.js.map +0 -1
@@ -0,0 +1,2102 @@
1
+ declare module "process" {
2
+ import { Control, MessageOptions, SendHandle } from "node:child_process";
3
+ import { PathLike } from "node:fs";
4
+ import * as tty from "node:tty";
5
+ import { Worker } from "node:worker_threads";
6
+
7
+ interface BuiltInModule {
8
+ "assert": typeof import("assert");
9
+ "node:assert": typeof import("node:assert");
10
+ "assert/strict": typeof import("assert/strict");
11
+ "node:assert/strict": typeof import("node:assert/strict");
12
+ "async_hooks": typeof import("async_hooks");
13
+ "node:async_hooks": typeof import("node:async_hooks");
14
+ "buffer": typeof import("buffer");
15
+ "node:buffer": typeof import("node:buffer");
16
+ "child_process": typeof import("child_process");
17
+ "node:child_process": typeof import("node:child_process");
18
+ "cluster": typeof import("cluster");
19
+ "node:cluster": typeof import("node:cluster");
20
+ "console": typeof import("console");
21
+ "node:console": typeof import("node:console");
22
+ "constants": typeof import("constants");
23
+ "node:constants": typeof import("node:constants");
24
+ "crypto": typeof import("crypto");
25
+ "node:crypto": typeof import("node:crypto");
26
+ "dgram": typeof import("dgram");
27
+ "node:dgram": typeof import("node:dgram");
28
+ "diagnostics_channel": typeof import("diagnostics_channel");
29
+ "node:diagnostics_channel": typeof import("node:diagnostics_channel");
30
+ "dns": typeof import("dns");
31
+ "node:dns": typeof import("node:dns");
32
+ "dns/promises": typeof import("dns/promises");
33
+ "node:dns/promises": typeof import("node:dns/promises");
34
+ "domain": typeof import("domain");
35
+ "node:domain": typeof import("node:domain");
36
+ "events": typeof import("events");
37
+ "node:events": typeof import("node:events");
38
+ "fs": typeof import("fs");
39
+ "node:fs": typeof import("node:fs");
40
+ "fs/promises": typeof import("fs/promises");
41
+ "node:fs/promises": typeof import("node:fs/promises");
42
+ "http": typeof import("http");
43
+ "node:http": typeof import("node:http");
44
+ "http2": typeof import("http2");
45
+ "node:http2": typeof import("node:http2");
46
+ "https": typeof import("https");
47
+ "node:https": typeof import("node:https");
48
+ "inspector": typeof import("inspector");
49
+ "node:inspector": typeof import("node:inspector");
50
+ "inspector/promises": typeof import("inspector/promises");
51
+ "node:inspector/promises": typeof import("node:inspector/promises");
52
+ "module": typeof import("module");
53
+ "node:module": typeof import("node:module");
54
+ "net": typeof import("net");
55
+ "node:net": typeof import("node:net");
56
+ "os": typeof import("os");
57
+ "node:os": typeof import("node:os");
58
+ "path": typeof import("path");
59
+ "node:path": typeof import("node:path");
60
+ "path/posix": typeof import("path/posix");
61
+ "node:path/posix": typeof import("node:path/posix");
62
+ "path/win32": typeof import("path/win32");
63
+ "node:path/win32": typeof import("node:path/win32");
64
+ "perf_hooks": typeof import("perf_hooks");
65
+ "node:perf_hooks": typeof import("node:perf_hooks");
66
+ "process": typeof import("process");
67
+ "node:process": typeof import("node:process");
68
+ "punycode": typeof import("punycode");
69
+ "node:punycode": typeof import("node:punycode");
70
+ "querystring": typeof import("querystring");
71
+ "node:querystring": typeof import("node:querystring");
72
+ "readline": typeof import("readline");
73
+ "node:readline": typeof import("node:readline");
74
+ "readline/promises": typeof import("readline/promises");
75
+ "node:readline/promises": typeof import("node:readline/promises");
76
+ "repl": typeof import("repl");
77
+ "node:repl": typeof import("node:repl");
78
+ "node:sea": typeof import("node:sea");
79
+ "node:sqlite": typeof import("node:sqlite");
80
+ "stream": typeof import("stream");
81
+ "node:stream": typeof import("node:stream");
82
+ "stream/consumers": typeof import("stream/consumers");
83
+ "node:stream/consumers": typeof import("node:stream/consumers");
84
+ "stream/promises": typeof import("stream/promises");
85
+ "node:stream/promises": typeof import("node:stream/promises");
86
+ "stream/web": typeof import("stream/web");
87
+ "node:stream/web": typeof import("node:stream/web");
88
+ "string_decoder": typeof import("string_decoder");
89
+ "node:string_decoder": typeof import("node:string_decoder");
90
+ "node:test": typeof import("node:test");
91
+ "node:test/reporters": typeof import("node:test/reporters");
92
+ "timers": typeof import("timers");
93
+ "node:timers": typeof import("node:timers");
94
+ "timers/promises": typeof import("timers/promises");
95
+ "node:timers/promises": typeof import("node:timers/promises");
96
+ "tls": typeof import("tls");
97
+ "node:tls": typeof import("node:tls");
98
+ "trace_events": typeof import("trace_events");
99
+ "node:trace_events": typeof import("node:trace_events");
100
+ "tty": typeof import("tty");
101
+ "node:tty": typeof import("node:tty");
102
+ "url": typeof import("url");
103
+ "node:url": typeof import("node:url");
104
+ "util": typeof import("util");
105
+ "node:util": typeof import("node:util");
106
+ "sys": typeof import("util");
107
+ "node:sys": typeof import("node:util");
108
+ "util/types": typeof import("util/types");
109
+ "node:util/types": typeof import("node:util/types");
110
+ "v8": typeof import("v8");
111
+ "node:v8": typeof import("node:v8");
112
+ "vm": typeof import("vm");
113
+ "node:vm": typeof import("node:vm");
114
+ "wasi": typeof import("wasi");
115
+ "node:wasi": typeof import("node:wasi");
116
+ "worker_threads": typeof import("worker_threads");
117
+ "node:worker_threads": typeof import("node:worker_threads");
118
+ "zlib": typeof import("zlib");
119
+ "node:zlib": typeof import("node:zlib");
120
+ }
121
+ global {
122
+ var process: NodeJS.Process;
123
+ namespace NodeJS {
124
+ // this namespace merge is here because these are specifically used
125
+ // as the type for process.stdin, process.stdout, and process.stderr.
126
+ // they can't live in tty.d.ts because we need to disambiguate the imported name.
127
+ interface ReadStream extends tty.ReadStream {}
128
+ interface WriteStream extends tty.WriteStream {}
129
+ interface MemoryUsageFn {
130
+ /**
131
+ * The `process.memoryUsage()` method iterate over each page to gather informations about memory
132
+ * usage which can be slow depending on the program memory allocations.
133
+ */
134
+ (): MemoryUsage;
135
+ /**
136
+ * method returns an integer representing the Resident Set Size (RSS) in bytes.
137
+ */
138
+ rss(): number;
139
+ }
140
+ interface MemoryUsage {
141
+ /**
142
+ * Resident Set Size, is the amount of space occupied in the main memory device (that is a subset of the total allocated memory) for the
143
+ * process, including all C++ and JavaScript objects and code.
144
+ */
145
+ rss: number;
146
+ /**
147
+ * Refers to V8's memory usage.
148
+ */
149
+ heapTotal: number;
150
+ /**
151
+ * Refers to V8's memory usage.
152
+ */
153
+ heapUsed: number;
154
+ external: number;
155
+ /**
156
+ * Refers to memory allocated for `ArrayBuffer`s and `SharedArrayBuffer`s, including all Node.js Buffers. This is also included
157
+ * in the external value. When Node.js is used as an embedded library, this value may be `0` because allocations for `ArrayBuffer`s
158
+ * may not be tracked in that case.
159
+ */
160
+ arrayBuffers: number;
161
+ }
162
+ interface CpuUsage {
163
+ user: number;
164
+ system: number;
165
+ }
166
+ interface ProcessRelease {
167
+ name: string;
168
+ sourceUrl?: string | undefined;
169
+ headersUrl?: string | undefined;
170
+ libUrl?: string | undefined;
171
+ lts?: string | undefined;
172
+ }
173
+ interface ProcessFeatures {
174
+ /**
175
+ * A boolean value that is `true` if the current Node.js build is caching builtin modules.
176
+ * @since v12.0.0
177
+ */
178
+ readonly cached_builtins: boolean;
179
+ /**
180
+ * A boolean value that is `true` if the current Node.js build is a debug build.
181
+ * @since v0.5.5
182
+ */
183
+ readonly debug: boolean;
184
+ /**
185
+ * A boolean value that is `true` if the current Node.js build includes the inspector.
186
+ * @since v11.10.0
187
+ */
188
+ readonly inspector: boolean;
189
+ /**
190
+ * A boolean value that is `true` if the current Node.js build includes support for IPv6.
191
+ *
192
+ * Since all Node.js builds have IPv6 support, this value is always `true`.
193
+ * @since v0.5.3
194
+ * @deprecated This property is always true, and any checks based on it are redundant.
195
+ */
196
+ readonly ipv6: boolean;
197
+ /**
198
+ * A boolean value that is `true` if the current Node.js build supports
199
+ * [loading ECMAScript modules using `require()`](https://nodejs.org/docs/latest-v24.x/api/modules.md#loading-ecmascript-modules-using-require).
200
+ * @since v22.10.0
201
+ */
202
+ readonly require_module: boolean;
203
+ /**
204
+ * A boolean value that is `true` if the current Node.js build includes support for TLS.
205
+ * @since v0.5.3
206
+ */
207
+ readonly tls: boolean;
208
+ /**
209
+ * A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.
210
+ *
211
+ * In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional ALPN support.
212
+ * This value is therefore identical to that of `process.features.tls`.
213
+ * @since v4.8.0
214
+ * @deprecated Use `process.features.tls` instead.
215
+ */
216
+ readonly tls_alpn: boolean;
217
+ /**
218
+ * A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.
219
+ *
220
+ * In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional OCSP support.
221
+ * This value is therefore identical to that of `process.features.tls`.
222
+ * @since v0.11.13
223
+ * @deprecated Use `process.features.tls` instead.
224
+ */
225
+ readonly tls_ocsp: boolean;
226
+ /**
227
+ * A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.
228
+ *
229
+ * In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional SNI support.
230
+ * This value is therefore identical to that of `process.features.tls`.
231
+ * @since v0.5.3
232
+ * @deprecated Use `process.features.tls` instead.
233
+ */
234
+ readonly tls_sni: boolean;
235
+ /**
236
+ * A value that is `"strip"` by default,
237
+ * `"transform"` if Node.js is run with `--experimental-transform-types`, and `false` if
238
+ * Node.js is run with `--no-strip-types`.
239
+ * @since v22.10.0
240
+ */
241
+ readonly typescript: "strip" | "transform" | false;
242
+ /**
243
+ * A boolean value that is `true` if the current Node.js build includes support for libuv.
244
+ *
245
+ * Since it's not possible to build Node.js without libuv, this value is always `true`.
246
+ * @since v0.5.3
247
+ * @deprecated This property is always true, and any checks based on it are redundant.
248
+ */
249
+ readonly uv: boolean;
250
+ }
251
+ interface ProcessVersions extends Dict<string> {
252
+ http_parser: string;
253
+ node: string;
254
+ v8: string;
255
+ ares: string;
256
+ uv: string;
257
+ zlib: string;
258
+ modules: string;
259
+ openssl: string;
260
+ }
261
+ type Platform =
262
+ | "aix"
263
+ | "android"
264
+ | "darwin"
265
+ | "freebsd"
266
+ | "haiku"
267
+ | "linux"
268
+ | "openbsd"
269
+ | "sunos"
270
+ | "win32"
271
+ | "cygwin"
272
+ | "netbsd";
273
+ type Architecture =
274
+ | "arm"
275
+ | "arm64"
276
+ | "ia32"
277
+ | "loong64"
278
+ | "mips"
279
+ | "mipsel"
280
+ | "ppc64"
281
+ | "riscv64"
282
+ | "s390x"
283
+ | "x64";
284
+ type Signals =
285
+ | "SIGABRT"
286
+ | "SIGALRM"
287
+ | "SIGBUS"
288
+ | "SIGCHLD"
289
+ | "SIGCONT"
290
+ | "SIGFPE"
291
+ | "SIGHUP"
292
+ | "SIGILL"
293
+ | "SIGINT"
294
+ | "SIGIO"
295
+ | "SIGIOT"
296
+ | "SIGKILL"
297
+ | "SIGPIPE"
298
+ | "SIGPOLL"
299
+ | "SIGPROF"
300
+ | "SIGPWR"
301
+ | "SIGQUIT"
302
+ | "SIGSEGV"
303
+ | "SIGSTKFLT"
304
+ | "SIGSTOP"
305
+ | "SIGSYS"
306
+ | "SIGTERM"
307
+ | "SIGTRAP"
308
+ | "SIGTSTP"
309
+ | "SIGTTIN"
310
+ | "SIGTTOU"
311
+ | "SIGUNUSED"
312
+ | "SIGURG"
313
+ | "SIGUSR1"
314
+ | "SIGUSR2"
315
+ | "SIGVTALRM"
316
+ | "SIGWINCH"
317
+ | "SIGXCPU"
318
+ | "SIGXFSZ"
319
+ | "SIGBREAK"
320
+ | "SIGLOST"
321
+ | "SIGINFO";
322
+ type UncaughtExceptionOrigin = "uncaughtException" | "unhandledRejection";
323
+ type MultipleResolveType = "resolve" | "reject";
324
+ type BeforeExitListener = (code: number) => void;
325
+ type DisconnectListener = () => void;
326
+ type ExitListener = (code: number) => void;
327
+ type RejectionHandledListener = (promise: Promise<unknown>) => void;
328
+ type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void;
329
+ /**
330
+ * Most of the time the unhandledRejection will be an Error, but this should not be relied upon
331
+ * as *anything* can be thrown/rejected, it is therefore unsafe to assume that the value is an Error.
332
+ */
333
+ type UnhandledRejectionListener = (reason: unknown, promise: Promise<unknown>) => void;
334
+ type WarningListener = (warning: Error) => void;
335
+ type MessageListener = (message: unknown, sendHandle: SendHandle) => void;
336
+ type SignalsListener = (signal: Signals) => void;
337
+ type MultipleResolveListener = (
338
+ type: MultipleResolveType,
339
+ promise: Promise<unknown>,
340
+ value: unknown,
341
+ ) => void;
342
+ type WorkerListener = (worker: Worker) => void;
343
+ interface Socket extends ReadWriteStream {
344
+ isTTY?: true | undefined;
345
+ }
346
+ // Alias for compatibility
347
+ interface ProcessEnv extends Dict<string> {}
348
+ interface HRTime {
349
+ /**
350
+ * This is the legacy version of {@link process.hrtime.bigint()}
351
+ * before bigint was introduced in JavaScript.
352
+ *
353
+ * The `process.hrtime()` method returns the current high-resolution real time in a `[seconds, nanoseconds]` tuple `Array`,
354
+ * where `nanoseconds` is the remaining part of the real time that can't be represented in second precision.
355
+ *
356
+ * `time` is an optional parameter that must be the result of a previous `process.hrtime()` call to diff with the current time.
357
+ * If the parameter passed in is not a tuple `Array`, a TypeError will be thrown.
358
+ * Passing in a user-defined array instead of the result of a previous call to `process.hrtime()` will lead to undefined behavior.
359
+ *
360
+ * These times are relative to an arbitrary time in the past,
361
+ * and not related to the time of day and therefore not subject to clock drift.
362
+ * The primary use is for measuring performance between intervals:
363
+ * ```js
364
+ * const { hrtime } = require('node:process');
365
+ * const NS_PER_SEC = 1e9;
366
+ * const time = hrtime();
367
+ * // [ 1800216, 25 ]
368
+ *
369
+ * setTimeout(() => {
370
+ * const diff = hrtime(time);
371
+ * // [ 1, 552 ]
372
+ *
373
+ * console.log(`Benchmark took ${diff[0] * NS_PER_SEC + diff[1]} nanoseconds`);
374
+ * // Benchmark took 1000000552 nanoseconds
375
+ * }, 1000);
376
+ * ```
377
+ * @since 0.7.6
378
+ * @legacy Use {@link process.hrtime.bigint()} instead.
379
+ * @param time The result of a previous call to `process.hrtime()`
380
+ */
381
+ (time?: [number, number]): [number, number];
382
+ /**
383
+ * The `bigint` version of the {@link process.hrtime()} method returning the current high-resolution real time in nanoseconds as a `bigint`.
384
+ *
385
+ * Unlike {@link process.hrtime()}, it does not support an additional time argument since the difference can just be computed directly by subtraction of the two `bigint`s.
386
+ * ```js
387
+ * import { hrtime } from 'node:process';
388
+ *
389
+ * const start = hrtime.bigint();
390
+ * // 191051479007711n
391
+ *
392
+ * setTimeout(() => {
393
+ * const end = hrtime.bigint();
394
+ * // 191052633396993n
395
+ *
396
+ * console.log(`Benchmark took ${end - start} nanoseconds`);
397
+ * // Benchmark took 1154389282 nanoseconds
398
+ * }, 1000);
399
+ * ```
400
+ * @since v10.7.0
401
+ */
402
+ bigint(): bigint;
403
+ }
404
+ interface ProcessPermission {
405
+ /**
406
+ * Verifies that the process is able to access the given scope and reference.
407
+ * If no reference is provided, a global scope is assumed, for instance, `process.permission.has('fs.read')`
408
+ * will check if the process has ALL file system read permissions.
409
+ *
410
+ * The reference has a meaning based on the provided scope. For example, the reference when the scope is File System means files and folders.
411
+ *
412
+ * The available scopes are:
413
+ *
414
+ * * `fs` - All File System
415
+ * * `fs.read` - File System read operations
416
+ * * `fs.write` - File System write operations
417
+ * * `child` - Child process spawning operations
418
+ * * `worker` - Worker thread spawning operation
419
+ *
420
+ * ```js
421
+ * // Check if the process has permission to read the README file
422
+ * process.permission.has('fs.read', './README.md');
423
+ * // Check if the process has read permission operations
424
+ * process.permission.has('fs.read');
425
+ * ```
426
+ * @since v20.0.0
427
+ */
428
+ has(scope: string, reference?: string): boolean;
429
+ }
430
+ interface ProcessReport {
431
+ /**
432
+ * Write reports in a compact format, single-line JSON, more easily consumable by log processing systems
433
+ * than the default multi-line format designed for human consumption.
434
+ * @since v13.12.0, v12.17.0
435
+ */
436
+ compact: boolean;
437
+ /**
438
+ * Directory where the report is written.
439
+ * The default value is the empty string, indicating that reports are written to the current
440
+ * working directory of the Node.js process.
441
+ */
442
+ directory: string;
443
+ /**
444
+ * Filename where the report is written. If set to the empty string, the output filename will be comprised
445
+ * of a timestamp, PID, and sequence number. The default value is the empty string.
446
+ */
447
+ filename: string;
448
+ /**
449
+ * Returns a JavaScript Object representation of a diagnostic report for the running process.
450
+ * The report's JavaScript stack trace is taken from `err`, if present.
451
+ */
452
+ getReport(err?: Error): object;
453
+ /**
454
+ * If true, a diagnostic report is generated on fatal errors,
455
+ * such as out of memory errors or failed C++ assertions.
456
+ * @default false
457
+ */
458
+ reportOnFatalError: boolean;
459
+ /**
460
+ * If true, a diagnostic report is generated when the process
461
+ * receives the signal specified by process.report.signal.
462
+ * @default false
463
+ */
464
+ reportOnSignal: boolean;
465
+ /**
466
+ * If true, a diagnostic report is generated on uncaught exception.
467
+ * @default false
468
+ */
469
+ reportOnUncaughtException: boolean;
470
+ /**
471
+ * If true, a diagnostic report is generated without the environment variables.
472
+ * @default false
473
+ */
474
+ excludeEnv: boolean;
475
+ /**
476
+ * The signal used to trigger the creation of a diagnostic report.
477
+ * @default 'SIGUSR2'
478
+ */
479
+ signal: Signals;
480
+ /**
481
+ * Writes a diagnostic report to a file. If filename is not provided, the default filename
482
+ * includes the date, time, PID, and a sequence number.
483
+ * The report's JavaScript stack trace is taken from `err`, if present.
484
+ *
485
+ * If the value of filename is set to `'stdout'` or `'stderr'`, the report is written
486
+ * to the stdout or stderr of the process respectively.
487
+ * @param fileName Name of the file where the report is written.
488
+ * This should be a relative path, that will be appended to the directory specified in
489
+ * `process.report.directory`, or the current working directory of the Node.js process,
490
+ * if unspecified.
491
+ * @param err A custom error used for reporting the JavaScript stack.
492
+ * @return Filename of the generated report.
493
+ */
494
+ writeReport(fileName?: string, err?: Error): string;
495
+ writeReport(err?: Error): string;
496
+ }
497
+ interface ResourceUsage {
498
+ fsRead: number;
499
+ fsWrite: number;
500
+ involuntaryContextSwitches: number;
501
+ ipcReceived: number;
502
+ ipcSent: number;
503
+ majorPageFault: number;
504
+ maxRSS: number;
505
+ minorPageFault: number;
506
+ sharedMemorySize: number;
507
+ signalsCount: number;
508
+ swappedOut: number;
509
+ systemCPUTime: number;
510
+ unsharedDataSize: number;
511
+ unsharedStackSize: number;
512
+ userCPUTime: number;
513
+ voluntaryContextSwitches: number;
514
+ }
515
+ interface EmitWarningOptions {
516
+ /**
517
+ * When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted.
518
+ *
519
+ * @default 'Warning'
520
+ */
521
+ type?: string | undefined;
522
+ /**
523
+ * A unique identifier for the warning instance being emitted.
524
+ */
525
+ code?: string | undefined;
526
+ /**
527
+ * When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace.
528
+ *
529
+ * @default process.emitWarning
530
+ */
531
+ ctor?: Function | undefined;
532
+ /**
533
+ * Additional text to include with the error.
534
+ */
535
+ detail?: string | undefined;
536
+ }
537
+ interface ProcessConfig {
538
+ readonly target_defaults: {
539
+ readonly cflags: any[];
540
+ readonly default_configuration: string;
541
+ readonly defines: string[];
542
+ readonly include_dirs: string[];
543
+ readonly libraries: string[];
544
+ };
545
+ readonly variables: {
546
+ readonly clang: number;
547
+ readonly host_arch: string;
548
+ readonly node_install_npm: boolean;
549
+ readonly node_install_waf: boolean;
550
+ readonly node_prefix: string;
551
+ readonly node_shared_openssl: boolean;
552
+ readonly node_shared_v8: boolean;
553
+ readonly node_shared_zlib: boolean;
554
+ readonly node_use_dtrace: boolean;
555
+ readonly node_use_etw: boolean;
556
+ readonly node_use_openssl: boolean;
557
+ readonly target_arch: string;
558
+ readonly v8_no_strict_aliasing: number;
559
+ readonly v8_use_snapshot: boolean;
560
+ readonly visibility: string;
561
+ };
562
+ }
563
+ interface Process extends EventEmitter {
564
+ /**
565
+ * The `process.stdout` property returns a stream connected to`stdout` (fd `1`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `1` refers to a file, in which case it is
566
+ * a `Writable` stream.
567
+ *
568
+ * For example, to copy `process.stdin` to `process.stdout`:
569
+ *
570
+ * ```js
571
+ * import { stdin, stdout } from 'node:process';
572
+ *
573
+ * stdin.pipe(stdout);
574
+ * ```
575
+ *
576
+ * `process.stdout` differs from other Node.js streams in important ways. See `note on process I/O` for more information.
577
+ */
578
+ stdout: WriteStream & {
579
+ fd: 1;
580
+ };
581
+ /**
582
+ * The `process.stderr` property returns a stream connected to`stderr` (fd `2`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `2` refers to a file, in which case it is
583
+ * a `Writable` stream.
584
+ *
585
+ * `process.stderr` differs from other Node.js streams in important ways. See `note on process I/O` for more information.
586
+ */
587
+ stderr: WriteStream & {
588
+ fd: 2;
589
+ };
590
+ /**
591
+ * The `process.stdin` property returns a stream connected to`stdin` (fd `0`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `0` refers to a file, in which case it is
592
+ * a `Readable` stream.
593
+ *
594
+ * For details of how to read from `stdin` see `readable.read()`.
595
+ *
596
+ * As a `Duplex` stream, `process.stdin` can also be used in "old" mode that
597
+ * is compatible with scripts written for Node.js prior to v0.10\.
598
+ * For more information see `Stream compatibility`.
599
+ *
600
+ * In "old" streams mode the `stdin` stream is paused by default, so one
601
+ * must call `process.stdin.resume()` to read from it. Note also that calling `process.stdin.resume()` itself would switch stream to "old" mode.
602
+ */
603
+ stdin: ReadStream & {
604
+ fd: 0;
605
+ };
606
+ /**
607
+ * The `process.argv` property returns an array containing the command-line
608
+ * arguments passed when the Node.js process was launched. The first element will
609
+ * be {@link execPath}. See `process.argv0` if access to the original value
610
+ * of `argv[0]` is needed. The second element will be the path to the JavaScript
611
+ * file being executed. If a [program entry point](https://nodejs.org/docs/latest-v24.x/api/cli.html#program-entry-point) was provided, the second element
612
+ * will be the absolute path to it. The remaining elements are additional command-line
613
+ * arguments.
614
+ *
615
+ * For example, assuming the following script for `process-args.js`:
616
+ *
617
+ * ```js
618
+ * import { argv } from 'node:process';
619
+ *
620
+ * // print process.argv
621
+ * argv.forEach((val, index) => {
622
+ * console.log(`${index}: ${val}`);
623
+ * });
624
+ * ```
625
+ *
626
+ * Launching the Node.js process as:
627
+ *
628
+ * ```bash
629
+ * node process-args.js one two=three four
630
+ * ```
631
+ *
632
+ * Would generate the output:
633
+ *
634
+ * ```text
635
+ * 0: /usr/local/bin/node
636
+ * 1: /Users/mjr/work/node/process-args.js
637
+ * 2: one
638
+ * 3: two=three
639
+ * 4: four
640
+ * ```
641
+ * @since v0.1.27
642
+ */
643
+ argv: string[];
644
+ /**
645
+ * The `process.argv0` property stores a read-only copy of the original value of`argv[0]` passed when Node.js starts.
646
+ *
647
+ * ```console
648
+ * $ bash -c 'exec -a customArgv0 ./node'
649
+ * > process.argv[0]
650
+ * '/Volumes/code/external/node/out/Release/node'
651
+ * > process.argv0
652
+ * 'customArgv0'
653
+ * ```
654
+ * @since v6.4.0
655
+ */
656
+ argv0: string;
657
+ /**
658
+ * The `process.execArgv` property returns the set of Node.js-specific command-line
659
+ * options passed when the Node.js process was launched. These options do not
660
+ * appear in the array returned by the {@link argv} property, and do not
661
+ * include the Node.js executable, the name of the script, or any options following
662
+ * the script name. These options are useful in order to spawn child processes with
663
+ * the same execution environment as the parent.
664
+ *
665
+ * ```bash
666
+ * node --icu-data-dir=./foo --require ./bar.js script.js --version
667
+ * ```
668
+ *
669
+ * Results in `process.execArgv`:
670
+ *
671
+ * ```js
672
+ * ["--icu-data-dir=./foo", "--require", "./bar.js"]
673
+ * ```
674
+ *
675
+ * And `process.argv`:
676
+ *
677
+ * ```js
678
+ * ['/usr/local/bin/node', 'script.js', '--version']
679
+ * ```
680
+ *
681
+ * Refer to `Worker constructor` for the detailed behavior of worker
682
+ * threads with this property.
683
+ * @since v0.7.7
684
+ */
685
+ execArgv: string[];
686
+ /**
687
+ * The `process.execPath` property returns the absolute pathname of the executable
688
+ * that started the Node.js process. Symbolic links, if any, are resolved.
689
+ *
690
+ * ```js
691
+ * '/usr/local/bin/node'
692
+ * ```
693
+ * @since v0.1.100
694
+ */
695
+ execPath: string;
696
+ /**
697
+ * The `process.abort()` method causes the Node.js process to exit immediately and
698
+ * generate a core file.
699
+ *
700
+ * This feature is not available in `Worker` threads.
701
+ * @since v0.7.0
702
+ */
703
+ abort(): never;
704
+ /**
705
+ * The `process.chdir()` method changes the current working directory of the
706
+ * Node.js process or throws an exception if doing so fails (for instance, if
707
+ * the specified `directory` does not exist).
708
+ *
709
+ * ```js
710
+ * import { chdir, cwd } from 'node:process';
711
+ *
712
+ * console.log(`Starting directory: ${cwd()}`);
713
+ * try {
714
+ * chdir('/tmp');
715
+ * console.log(`New directory: ${cwd()}`);
716
+ * } catch (err) {
717
+ * console.error(`chdir: ${err}`);
718
+ * }
719
+ * ```
720
+ *
721
+ * This feature is not available in `Worker` threads.
722
+ * @since v0.1.17
723
+ */
724
+ chdir(directory: string): void;
725
+ /**
726
+ * The `process.cwd()` method returns the current working directory of the Node.js
727
+ * process.
728
+ *
729
+ * ```js
730
+ * import { cwd } from 'node:process';
731
+ *
732
+ * console.log(`Current directory: ${cwd()}`);
733
+ * ```
734
+ * @since v0.1.8
735
+ */
736
+ cwd(): string;
737
+ /**
738
+ * The port used by the Node.js debugger when enabled.
739
+ *
740
+ * ```js
741
+ * import process from 'node:process';
742
+ *
743
+ * process.debugPort = 5858;
744
+ * ```
745
+ * @since v0.7.2
746
+ */
747
+ debugPort: number;
748
+ /**
749
+ * The `process.dlopen()` method allows dynamically loading shared objects. It is primarily used by `require()` to load C++ Addons, and
750
+ * should not be used directly, except in special cases. In other words, `require()` should be preferred over `process.dlopen()`
751
+ * unless there are specific reasons such as custom dlopen flags or loading from ES modules.
752
+ *
753
+ * The `flags` argument is an integer that allows to specify dlopen behavior. See the `[os.constants.dlopen](https://nodejs.org/docs/latest-v24.x/api/os.html#dlopen-constants)`
754
+ * documentation for details.
755
+ *
756
+ * An important requirement when calling `process.dlopen()` is that the `module` instance must be passed. Functions exported by the C++ Addon
757
+ * are then accessible via `module.exports`.
758
+ *
759
+ * The example below shows how to load a C++ Addon, named `local.node`, that exports a `foo` function. All the symbols are loaded before the call returns, by passing the `RTLD_NOW` constant.
760
+ * In this example the constant is assumed to be available.
761
+ *
762
+ * ```js
763
+ * import { dlopen } from 'node:process';
764
+ * import { constants } from 'node:os';
765
+ * import { fileURLToPath } from 'node:url';
766
+ *
767
+ * const module = { exports: {} };
768
+ * dlopen(module, fileURLToPath(new URL('local.node', import.meta.url)),
769
+ * constants.dlopen.RTLD_NOW);
770
+ * module.exports.foo();
771
+ * ```
772
+ */
773
+ dlopen(module: object, filename: string, flags?: number): void;
774
+ /**
775
+ * The `process.emitWarning()` method can be used to emit custom or application
776
+ * specific process warnings. These can be listened for by adding a handler to the `'warning'` event.
777
+ *
778
+ * ```js
779
+ * import { emitWarning } from 'node:process';
780
+ *
781
+ * // Emit a warning using a string.
782
+ * emitWarning('Something happened!');
783
+ * // Emits: (node: 56338) Warning: Something happened!
784
+ * ```
785
+ *
786
+ * ```js
787
+ * import { emitWarning } from 'node:process';
788
+ *
789
+ * // Emit a warning using a string and a type.
790
+ * emitWarning('Something Happened!', 'CustomWarning');
791
+ * // Emits: (node:56338) CustomWarning: Something Happened!
792
+ * ```
793
+ *
794
+ * ```js
795
+ * import { emitWarning } from 'node:process';
796
+ *
797
+ * emitWarning('Something happened!', 'CustomWarning', 'WARN001');
798
+ * // Emits: (node:56338) [WARN001] CustomWarning: Something happened!
799
+ * ```js
800
+ *
801
+ * In each of the previous examples, an `Error` object is generated internally by `process.emitWarning()` and passed through to the `'warning'` handler.
802
+ *
803
+ * ```js
804
+ * import process from 'node:process';
805
+ *
806
+ * process.on('warning', (warning) => {
807
+ * console.warn(warning.name); // 'Warning'
808
+ * console.warn(warning.message); // 'Something happened!'
809
+ * console.warn(warning.code); // 'MY_WARNING'
810
+ * console.warn(warning.stack); // Stack trace
811
+ * console.warn(warning.detail); // 'This is some additional information'
812
+ * });
813
+ * ```
814
+ *
815
+ * If `warning` is passed as an `Error` object, it will be passed through to the `'warning'` event handler
816
+ * unmodified (and the optional `type`, `code` and `ctor` arguments will be ignored):
817
+ *
818
+ * ```js
819
+ * import { emitWarning } from 'node:process';
820
+ *
821
+ * // Emit a warning using an Error object.
822
+ * const myWarning = new Error('Something happened!');
823
+ * // Use the Error name property to specify the type name
824
+ * myWarning.name = 'CustomWarning';
825
+ * myWarning.code = 'WARN001';
826
+ *
827
+ * emitWarning(myWarning);
828
+ * // Emits: (node:56338) [WARN001] CustomWarning: Something happened!
829
+ * ```
830
+ *
831
+ * A `TypeError` is thrown if `warning` is anything other than a string or `Error` object.
832
+ *
833
+ * While process warnings use `Error` objects, the process warning mechanism is not a replacement for normal error handling mechanisms.
834
+ *
835
+ * The following additional handling is implemented if the warning `type` is `'DeprecationWarning'`:
836
+ * * If the `--throw-deprecation` command-line flag is used, the deprecation warning is thrown as an exception rather than being emitted as an event.
837
+ * * If the `--no-deprecation` command-line flag is used, the deprecation warning is suppressed.
838
+ * * If the `--trace-deprecation` command-line flag is used, the deprecation warning is printed to `stderr` along with the full stack trace.
839
+ * @since v8.0.0
840
+ * @param warning The warning to emit.
841
+ */
842
+ emitWarning(warning: string | Error, ctor?: Function): void;
843
+ emitWarning(warning: string | Error, type?: string, ctor?: Function): void;
844
+ emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void;
845
+ emitWarning(warning: string | Error, options?: EmitWarningOptions): void;
846
+ /**
847
+ * The `process.env` property returns an object containing the user environment.
848
+ * See [`environ(7)`](http://man7.org/linux/man-pages/man7/environ.7.html).
849
+ *
850
+ * An example of this object looks like:
851
+ *
852
+ * ```js
853
+ * {
854
+ * TERM: 'xterm-256color',
855
+ * SHELL: '/usr/local/bin/bash',
856
+ * USER: 'maciej',
857
+ * PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
858
+ * PWD: '/Users/maciej',
859
+ * EDITOR: 'vim',
860
+ * SHLVL: '1',
861
+ * HOME: '/Users/maciej',
862
+ * LOGNAME: 'maciej',
863
+ * _: '/usr/local/bin/node'
864
+ * }
865
+ * ```
866
+ *
867
+ * It is possible to modify this object, but such modifications will not be
868
+ * reflected outside the Node.js process, or (unless explicitly requested)
869
+ * to other `Worker` threads.
870
+ * In other words, the following example would not work:
871
+ *
872
+ * ```bash
873
+ * node -e 'process.env.foo = "bar"' &#x26;&#x26; echo $foo
874
+ * ```
875
+ *
876
+ * While the following will:
877
+ *
878
+ * ```js
879
+ * import { env } from 'node:process';
880
+ *
881
+ * env.foo = 'bar';
882
+ * console.log(env.foo);
883
+ * ```
884
+ *
885
+ * Assigning a property on `process.env` will implicitly convert the value
886
+ * to a string. **This behavior is deprecated.** Future versions of Node.js may
887
+ * throw an error when the value is not a string, number, or boolean.
888
+ *
889
+ * ```js
890
+ * import { env } from 'node:process';
891
+ *
892
+ * env.test = null;
893
+ * console.log(env.test);
894
+ * // => 'null'
895
+ * env.test = undefined;
896
+ * console.log(env.test);
897
+ * // => 'undefined'
898
+ * ```
899
+ *
900
+ * Use `delete` to delete a property from `process.env`.
901
+ *
902
+ * ```js
903
+ * import { env } from 'node:process';
904
+ *
905
+ * env.TEST = 1;
906
+ * delete env.TEST;
907
+ * console.log(env.TEST);
908
+ * // => undefined
909
+ * ```
910
+ *
911
+ * On Windows operating systems, environment variables are case-insensitive.
912
+ *
913
+ * ```js
914
+ * import { env } from 'node:process';
915
+ *
916
+ * env.TEST = 1;
917
+ * console.log(env.test);
918
+ * // => 1
919
+ * ```
920
+ *
921
+ * Unless explicitly specified when creating a `Worker` instance,
922
+ * each `Worker` thread has its own copy of `process.env`, based on its
923
+ * parent thread's `process.env`, or whatever was specified as the `env` option
924
+ * to the `Worker` constructor. Changes to `process.env` will not be visible
925
+ * across `Worker` threads, and only the main thread can make changes that
926
+ * are visible to the operating system or to native add-ons. On Windows, a copy of `process.env` on a `Worker` instance operates in a case-sensitive manner
927
+ * unlike the main thread.
928
+ * @since v0.1.27
929
+ */
930
+ env: ProcessEnv;
931
+ /**
932
+ * The `process.exit()` method instructs Node.js to terminate the process
933
+ * synchronously with an exit status of `code`. If `code` is omitted, exit uses
934
+ * either the 'success' code `0` or the value of `process.exitCode` if it has been
935
+ * set. Node.js will not terminate until all the `'exit'` event listeners are
936
+ * called.
937
+ *
938
+ * To exit with a 'failure' code:
939
+ *
940
+ * ```js
941
+ * import { exit } from 'node:process';
942
+ *
943
+ * exit(1);
944
+ * ```
945
+ *
946
+ * The shell that executed Node.js should see the exit code as `1`.
947
+ *
948
+ * Calling `process.exit()` will force the process to exit as quickly as possible
949
+ * even if there are still asynchronous operations pending that have not yet
950
+ * completed fully, including I/O operations to `process.stdout` and `process.stderr`.
951
+ *
952
+ * In most situations, it is not actually necessary to call `process.exit()` explicitly. The Node.js process will exit on its own _if there is no additional_
953
+ * _work pending_ in the event loop. The `process.exitCode` property can be set to
954
+ * tell the process which exit code to use when the process exits gracefully.
955
+ *
956
+ * For instance, the following example illustrates a _misuse_ of the `process.exit()` method that could lead to data printed to stdout being
957
+ * truncated and lost:
958
+ *
959
+ * ```js
960
+ * import { exit } from 'node:process';
961
+ *
962
+ * // This is an example of what *not* to do:
963
+ * if (someConditionNotMet()) {
964
+ * printUsageToStdout();
965
+ * exit(1);
966
+ * }
967
+ * ```
968
+ *
969
+ * The reason this is problematic is because writes to `process.stdout` in Node.js
970
+ * are sometimes _asynchronous_ and may occur over multiple ticks of the Node.js
971
+ * event loop. Calling `process.exit()`, however, forces the process to exit _before_ those additional writes to `stdout` can be performed.
972
+ *
973
+ * Rather than calling `process.exit()` directly, the code _should_ set the `process.exitCode` and allow the process to exit naturally by avoiding
974
+ * scheduling any additional work for the event loop:
975
+ *
976
+ * ```js
977
+ * import process from 'node:process';
978
+ *
979
+ * // How to properly set the exit code while letting
980
+ * // the process exit gracefully.
981
+ * if (someConditionNotMet()) {
982
+ * printUsageToStdout();
983
+ * process.exitCode = 1;
984
+ * }
985
+ * ```
986
+ *
987
+ * If it is necessary to terminate the Node.js process due to an error condition,
988
+ * throwing an _uncaught_ error and allowing the process to terminate accordingly
989
+ * is safer than calling `process.exit()`.
990
+ *
991
+ * In `Worker` threads, this function stops the current thread rather
992
+ * than the current process.
993
+ * @since v0.1.13
994
+ * @param [code=0] The exit code. For string type, only integer strings (e.g.,'1') are allowed.
995
+ */
996
+ exit(code?: number | string | null): never;
997
+ /**
998
+ * A number which will be the process exit code, when the process either
999
+ * exits gracefully, or is exited via {@link exit} without specifying
1000
+ * a code.
1001
+ *
1002
+ * Specifying a code to {@link exit} will override any
1003
+ * previous setting of `process.exitCode`.
1004
+ * @default undefined
1005
+ * @since v0.11.8
1006
+ */
1007
+ exitCode: number | string | null | undefined;
1008
+ finalization: {
1009
+ /**
1010
+ * This function registers a callback to be called when the process emits the `exit` event if the `ref` object was not garbage collected.
1011
+ * If the object `ref` was garbage collected before the `exit` event is emitted, the callback will be removed from the finalization registry, and it will not be called on process exit.
1012
+ *
1013
+ * Inside the callback you can release the resources allocated by the `ref` object.
1014
+ * Be aware that all limitations applied to the `beforeExit` event are also applied to the callback function,
1015
+ * this means that there is a possibility that the callback will not be called under special circumstances.
1016
+ *
1017
+ * The idea of ​​this function is to help you free up resources when the starts process exiting, but also let the object be garbage collected if it is no longer being used.
1018
+ * @param ref The reference to the resource that is being tracked.
1019
+ * @param callback The callback function to be called when the resource is finalized.
1020
+ * @since v22.5.0
1021
+ * @experimental
1022
+ */
1023
+ register<T extends object>(ref: T, callback: (ref: T, event: "exit") => void): void;
1024
+ /**
1025
+ * This function behaves exactly like the `register`, except that the callback will be called when the process emits the `beforeExit` event if `ref` object was not garbage collected.
1026
+ *
1027
+ * Be aware that all limitations applied to the `beforeExit` event are also applied to the callback function, this means that there is a possibility that the callback will not be called under special circumstances.
1028
+ * @param ref The reference to the resource that is being tracked.
1029
+ * @param callback The callback function to be called when the resource is finalized.
1030
+ * @since v22.5.0
1031
+ * @experimental
1032
+ */
1033
+ registerBeforeExit<T extends object>(ref: T, callback: (ref: T, event: "beforeExit") => void): void;
1034
+ /**
1035
+ * This function remove the register of the object from the finalization registry, so the callback will not be called anymore.
1036
+ * @param ref The reference to the resource that was registered previously.
1037
+ * @since v22.5.0
1038
+ * @experimental
1039
+ */
1040
+ unregister(ref: object): void;
1041
+ };
1042
+ /**
1043
+ * The `process.getActiveResourcesInfo()` method returns an array of strings containing
1044
+ * the types of the active resources that are currently keeping the event loop alive.
1045
+ *
1046
+ * ```js
1047
+ * import { getActiveResourcesInfo } from 'node:process';
1048
+ * import { setTimeout } from 'node:timers';
1049
+
1050
+ * console.log('Before:', getActiveResourcesInfo());
1051
+ * setTimeout(() => {}, 1000);
1052
+ * console.log('After:', getActiveResourcesInfo());
1053
+ * // Prints:
1054
+ * // Before: [ 'TTYWrap', 'TTYWrap', 'TTYWrap' ]
1055
+ * // After: [ 'TTYWrap', 'TTYWrap', 'TTYWrap', 'Timeout' ]
1056
+ * ```
1057
+ * @since v17.3.0, v16.14.0
1058
+ */
1059
+ getActiveResourcesInfo(): string[];
1060
+ /**
1061
+ * Provides a way to load built-in modules in a globally available function.
1062
+ * @param id ID of the built-in module being requested.
1063
+ */
1064
+ getBuiltinModule<ID extends keyof BuiltInModule>(id: ID): BuiltInModule[ID];
1065
+ getBuiltinModule(id: string): object | undefined;
1066
+ /**
1067
+ * The `process.getgid()` method returns the numerical group identity of the
1068
+ * process. (See [`getgid(2)`](http://man7.org/linux/man-pages/man2/getgid.2.html).)
1069
+ *
1070
+ * ```js
1071
+ * import process from 'node:process';
1072
+ *
1073
+ * if (process.getgid) {
1074
+ * console.log(`Current gid: ${process.getgid()}`);
1075
+ * }
1076
+ * ```
1077
+ *
1078
+ * This function is only available on POSIX platforms (i.e. not Windows or
1079
+ * Android).
1080
+ * @since v0.1.31
1081
+ */
1082
+ getgid?: () => number;
1083
+ /**
1084
+ * The `process.setgid()` method sets the group identity of the process. (See [`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a
1085
+ * numeric ID or a group name
1086
+ * string. If a group name is specified, this method blocks while resolving the
1087
+ * associated numeric ID.
1088
+ *
1089
+ * ```js
1090
+ * import process from 'node:process';
1091
+ *
1092
+ * if (process.getgid &#x26;&#x26; process.setgid) {
1093
+ * console.log(`Current gid: ${process.getgid()}`);
1094
+ * try {
1095
+ * process.setgid(501);
1096
+ * console.log(`New gid: ${process.getgid()}`);
1097
+ * } catch (err) {
1098
+ * console.log(`Failed to set gid: ${err}`);
1099
+ * }
1100
+ * }
1101
+ * ```
1102
+ *
1103
+ * This function is only available on POSIX platforms (i.e. not Windows or
1104
+ * Android).
1105
+ * This feature is not available in `Worker` threads.
1106
+ * @since v0.1.31
1107
+ * @param id The group name or ID
1108
+ */
1109
+ setgid?: (id: number | string) => void;
1110
+ /**
1111
+ * The `process.getuid()` method returns the numeric user identity of the process.
1112
+ * (See [`getuid(2)`](http://man7.org/linux/man-pages/man2/getuid.2.html).)
1113
+ *
1114
+ * ```js
1115
+ * import process from 'node:process';
1116
+ *
1117
+ * if (process.getuid) {
1118
+ * console.log(`Current uid: ${process.getuid()}`);
1119
+ * }
1120
+ * ```
1121
+ *
1122
+ * This function is only available on POSIX platforms (i.e. not Windows or
1123
+ * Android).
1124
+ * @since v0.1.28
1125
+ */
1126
+ getuid?: () => number;
1127
+ /**
1128
+ * The `process.setuid(id)` method sets the user identity of the process. (See [`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a
1129
+ * numeric ID or a username string.
1130
+ * If a username is specified, the method blocks while resolving the associated
1131
+ * numeric ID.
1132
+ *
1133
+ * ```js
1134
+ * import process from 'node:process';
1135
+ *
1136
+ * if (process.getuid &#x26;&#x26; process.setuid) {
1137
+ * console.log(`Current uid: ${process.getuid()}`);
1138
+ * try {
1139
+ * process.setuid(501);
1140
+ * console.log(`New uid: ${process.getuid()}`);
1141
+ * } catch (err) {
1142
+ * console.log(`Failed to set uid: ${err}`);
1143
+ * }
1144
+ * }
1145
+ * ```
1146
+ *
1147
+ * This function is only available on POSIX platforms (i.e. not Windows or
1148
+ * Android).
1149
+ * This feature is not available in `Worker` threads.
1150
+ * @since v0.1.28
1151
+ */
1152
+ setuid?: (id: number | string) => void;
1153
+ /**
1154
+ * The `process.geteuid()` method returns the numerical effective user identity of
1155
+ * the process. (See [`geteuid(2)`](http://man7.org/linux/man-pages/man2/geteuid.2.html).)
1156
+ *
1157
+ * ```js
1158
+ * import process from 'node:process';
1159
+ *
1160
+ * if (process.geteuid) {
1161
+ * console.log(`Current uid: ${process.geteuid()}`);
1162
+ * }
1163
+ * ```
1164
+ *
1165
+ * This function is only available on POSIX platforms (i.e. not Windows or
1166
+ * Android).
1167
+ * @since v2.0.0
1168
+ */
1169
+ geteuid?: () => number;
1170
+ /**
1171
+ * The `process.seteuid()` method sets the effective user identity of the process.
1172
+ * (See [`seteuid(2)`](http://man7.org/linux/man-pages/man2/seteuid.2.html).) The `id` can be passed as either a numeric ID or a username
1173
+ * string. If a username is specified, the method blocks while resolving the
1174
+ * associated numeric ID.
1175
+ *
1176
+ * ```js
1177
+ * import process from 'node:process';
1178
+ *
1179
+ * if (process.geteuid &#x26;&#x26; process.seteuid) {
1180
+ * console.log(`Current uid: ${process.geteuid()}`);
1181
+ * try {
1182
+ * process.seteuid(501);
1183
+ * console.log(`New uid: ${process.geteuid()}`);
1184
+ * } catch (err) {
1185
+ * console.log(`Failed to set uid: ${err}`);
1186
+ * }
1187
+ * }
1188
+ * ```
1189
+ *
1190
+ * This function is only available on POSIX platforms (i.e. not Windows or
1191
+ * Android).
1192
+ * This feature is not available in `Worker` threads.
1193
+ * @since v2.0.0
1194
+ * @param id A user name or ID
1195
+ */
1196
+ seteuid?: (id: number | string) => void;
1197
+ /**
1198
+ * The `process.getegid()` method returns the numerical effective group identity
1199
+ * of the Node.js process. (See [`getegid(2)`](http://man7.org/linux/man-pages/man2/getegid.2.html).)
1200
+ *
1201
+ * ```js
1202
+ * import process from 'node:process';
1203
+ *
1204
+ * if (process.getegid) {
1205
+ * console.log(`Current gid: ${process.getegid()}`);
1206
+ * }
1207
+ * ```
1208
+ *
1209
+ * This function is only available on POSIX platforms (i.e. not Windows or
1210
+ * Android).
1211
+ * @since v2.0.0
1212
+ */
1213
+ getegid?: () => number;
1214
+ /**
1215
+ * The `process.setegid()` method sets the effective group identity of the process.
1216
+ * (See [`setegid(2)`](http://man7.org/linux/man-pages/man2/setegid.2.html).) The `id` can be passed as either a numeric ID or a group
1217
+ * name string. If a group name is specified, this method blocks while resolving
1218
+ * the associated a numeric ID.
1219
+ *
1220
+ * ```js
1221
+ * import process from 'node:process';
1222
+ *
1223
+ * if (process.getegid &#x26;&#x26; process.setegid) {
1224
+ * console.log(`Current gid: ${process.getegid()}`);
1225
+ * try {
1226
+ * process.setegid(501);
1227
+ * console.log(`New gid: ${process.getegid()}`);
1228
+ * } catch (err) {
1229
+ * console.log(`Failed to set gid: ${err}`);
1230
+ * }
1231
+ * }
1232
+ * ```
1233
+ *
1234
+ * This function is only available on POSIX platforms (i.e. not Windows or
1235
+ * Android).
1236
+ * This feature is not available in `Worker` threads.
1237
+ * @since v2.0.0
1238
+ * @param id A group name or ID
1239
+ */
1240
+ setegid?: (id: number | string) => void;
1241
+ /**
1242
+ * The `process.getgroups()` method returns an array with the supplementary group
1243
+ * IDs. POSIX leaves it unspecified if the effective group ID is included but
1244
+ * Node.js ensures it always is.
1245
+ *
1246
+ * ```js
1247
+ * import process from 'node:process';
1248
+ *
1249
+ * if (process.getgroups) {
1250
+ * console.log(process.getgroups()); // [ 16, 21, 297 ]
1251
+ * }
1252
+ * ```
1253
+ *
1254
+ * This function is only available on POSIX platforms (i.e. not Windows or
1255
+ * Android).
1256
+ * @since v0.9.4
1257
+ */
1258
+ getgroups?: () => number[];
1259
+ /**
1260
+ * The `process.setgroups()` method sets the supplementary group IDs for the
1261
+ * Node.js process. This is a privileged operation that requires the Node.js
1262
+ * process to have `root` or the `CAP_SETGID` capability.
1263
+ *
1264
+ * The `groups` array can contain numeric group IDs, group names, or both.
1265
+ *
1266
+ * ```js
1267
+ * import process from 'node:process';
1268
+ *
1269
+ * if (process.getgroups &#x26;&#x26; process.setgroups) {
1270
+ * try {
1271
+ * process.setgroups([501]);
1272
+ * console.log(process.getgroups()); // new groups
1273
+ * } catch (err) {
1274
+ * console.log(`Failed to set groups: ${err}`);
1275
+ * }
1276
+ * }
1277
+ * ```
1278
+ *
1279
+ * This function is only available on POSIX platforms (i.e. not Windows or
1280
+ * Android).
1281
+ * This feature is not available in `Worker` threads.
1282
+ * @since v0.9.4
1283
+ */
1284
+ setgroups?: (groups: ReadonlyArray<string | number>) => void;
1285
+ /**
1286
+ * The `process.setUncaughtExceptionCaptureCallback()` function sets a function
1287
+ * that will be invoked when an uncaught exception occurs, which will receive the
1288
+ * exception value itself as its first argument.
1289
+ *
1290
+ * If such a function is set, the `'uncaughtException'` event will
1291
+ * not be emitted. If `--abort-on-uncaught-exception` was passed from the
1292
+ * command line or set through `v8.setFlagsFromString()`, the process will
1293
+ * not abort. Actions configured to take place on exceptions such as report
1294
+ * generations will be affected too
1295
+ *
1296
+ * To unset the capture function, `process.setUncaughtExceptionCaptureCallback(null)` may be used. Calling this
1297
+ * method with a non-`null` argument while another capture function is set will
1298
+ * throw an error.
1299
+ *
1300
+ * Using this function is mutually exclusive with using the deprecated `domain` built-in module.
1301
+ * @since v9.3.0
1302
+ */
1303
+ setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void;
1304
+ /**
1305
+ * Indicates whether a callback has been set using {@link setUncaughtExceptionCaptureCallback}.
1306
+ * @since v9.3.0
1307
+ */
1308
+ hasUncaughtExceptionCaptureCallback(): boolean;
1309
+ /**
1310
+ * The `process.sourceMapsEnabled` property returns whether the [Source Map v3](https://sourcemaps.info/spec.html) support for stack traces is enabled.
1311
+ * @since v20.7.0
1312
+ * @experimental
1313
+ */
1314
+ readonly sourceMapsEnabled: boolean;
1315
+ /**
1316
+ * This function enables or disables the [Source Map v3](https://sourcemaps.info/spec.html) support for
1317
+ * stack traces.
1318
+ *
1319
+ * It provides same features as launching Node.js process with commandline options `--enable-source-maps`.
1320
+ *
1321
+ * Only source maps in JavaScript files that are loaded after source maps has been
1322
+ * enabled will be parsed and loaded.
1323
+ * @since v16.6.0, v14.18.0
1324
+ * @experimental
1325
+ */
1326
+ setSourceMapsEnabled(value: boolean): void;
1327
+ /**
1328
+ * The `process.version` property contains the Node.js version string.
1329
+ *
1330
+ * ```js
1331
+ * import { version } from 'node:process';
1332
+ *
1333
+ * console.log(`Version: ${version}`);
1334
+ * // Version: v14.8.0
1335
+ * ```
1336
+ *
1337
+ * To get the version string without the prepended _v_, use`process.versions.node`.
1338
+ * @since v0.1.3
1339
+ */
1340
+ readonly version: string;
1341
+ /**
1342
+ * The `process.versions` property returns an object listing the version strings of
1343
+ * Node.js and its dependencies. `process.versions.modules` indicates the current
1344
+ * ABI version, which is increased whenever a C++ API changes. Node.js will refuse
1345
+ * to load modules that were compiled against a different module ABI version.
1346
+ *
1347
+ * ```js
1348
+ * import { versions } from 'node:process';
1349
+ *
1350
+ * console.log(versions);
1351
+ * ```
1352
+ *
1353
+ * Will generate an object similar to:
1354
+ *
1355
+ * ```console
1356
+ * { node: '20.2.0',
1357
+ * acorn: '8.8.2',
1358
+ * ada: '2.4.0',
1359
+ * ares: '1.19.0',
1360
+ * base64: '0.5.0',
1361
+ * brotli: '1.0.9',
1362
+ * cjs_module_lexer: '1.2.2',
1363
+ * cldr: '43.0',
1364
+ * icu: '73.1',
1365
+ * llhttp: '8.1.0',
1366
+ * modules: '115',
1367
+ * napi: '8',
1368
+ * nghttp2: '1.52.0',
1369
+ * nghttp3: '0.7.0',
1370
+ * ngtcp2: '0.8.1',
1371
+ * openssl: '3.0.8+quic',
1372
+ * simdutf: '3.2.9',
1373
+ * tz: '2023c',
1374
+ * undici: '5.22.0',
1375
+ * unicode: '15.0',
1376
+ * uv: '1.44.2',
1377
+ * uvwasi: '0.0.16',
1378
+ * v8: '11.3.244.8-node.9',
1379
+ * zlib: '1.2.13' }
1380
+ * ```
1381
+ * @since v0.2.0
1382
+ */
1383
+ readonly versions: ProcessVersions;
1384
+ /**
1385
+ * The `process.config` property returns a frozen `Object` containing the
1386
+ * JavaScript representation of the configure options used to compile the current
1387
+ * Node.js executable. This is the same as the `config.gypi` file that was produced
1388
+ * when running the `./configure` script.
1389
+ *
1390
+ * An example of the possible output looks like:
1391
+ *
1392
+ * ```js
1393
+ * {
1394
+ * target_defaults:
1395
+ * { cflags: [],
1396
+ * default_configuration: 'Release',
1397
+ * defines: [],
1398
+ * include_dirs: [],
1399
+ * libraries: [] },
1400
+ * variables:
1401
+ * {
1402
+ * host_arch: 'x64',
1403
+ * napi_build_version: 5,
1404
+ * node_install_npm: 'true',
1405
+ * node_prefix: '',
1406
+ * node_shared_cares: 'false',
1407
+ * node_shared_http_parser: 'false',
1408
+ * node_shared_libuv: 'false',
1409
+ * node_shared_zlib: 'false',
1410
+ * node_use_openssl: 'true',
1411
+ * node_shared_openssl: 'false',
1412
+ * strict_aliasing: 'true',
1413
+ * target_arch: 'x64',
1414
+ * v8_use_snapshot: 1
1415
+ * }
1416
+ * }
1417
+ * ```
1418
+ * @since v0.7.7
1419
+ */
1420
+ readonly config: ProcessConfig;
1421
+ /**
1422
+ * The `process.kill()` method sends the `signal` to the process identified by`pid`.
1423
+ *
1424
+ * Signal names are strings such as `'SIGINT'` or `'SIGHUP'`. See `Signal Events` and [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for more information.
1425
+ *
1426
+ * This method will throw an error if the target `pid` does not exist. As a special
1427
+ * case, a signal of `0` can be used to test for the existence of a process.
1428
+ * Windows platforms will throw an error if the `pid` is used to kill a process
1429
+ * group.
1430
+ *
1431
+ * Even though the name of this function is `process.kill()`, it is really just a
1432
+ * signal sender, like the `kill` system call. The signal sent may do something
1433
+ * other than kill the target process.
1434
+ *
1435
+ * ```js
1436
+ * import process, { kill } from 'node:process';
1437
+ *
1438
+ * process.on('SIGHUP', () => {
1439
+ * console.log('Got SIGHUP signal.');
1440
+ * });
1441
+ *
1442
+ * setTimeout(() => {
1443
+ * console.log('Exiting.');
1444
+ * process.exit(0);
1445
+ * }, 100);
1446
+ *
1447
+ * kill(process.pid, 'SIGHUP');
1448
+ * ```
1449
+ *
1450
+ * When `SIGUSR1` is received by a Node.js process, Node.js will start the
1451
+ * debugger. See `Signal Events`.
1452
+ * @since v0.0.6
1453
+ * @param pid A process ID
1454
+ * @param [signal='SIGTERM'] The signal to send, either as a string or number.
1455
+ */
1456
+ kill(pid: number, signal?: string | number): true;
1457
+ /**
1458
+ * Loads the environment configuration from a `.env` file into `process.env`. If
1459
+ * the file is not found, error will be thrown.
1460
+ *
1461
+ * To load a specific .env file by specifying its path, use the following code:
1462
+ *
1463
+ * ```js
1464
+ * import { loadEnvFile } from 'node:process';
1465
+ *
1466
+ * loadEnvFile('./development.env')
1467
+ * ```
1468
+ * @since v20.12.0
1469
+ * @param path The path to the .env file
1470
+ */
1471
+ loadEnvFile(path?: PathLike): void;
1472
+ /**
1473
+ * The `process.pid` property returns the PID of the process.
1474
+ *
1475
+ * ```js
1476
+ * import { pid } from 'node:process';
1477
+ *
1478
+ * console.log(`This process is pid ${pid}`);
1479
+ * ```
1480
+ * @since v0.1.15
1481
+ */
1482
+ readonly pid: number;
1483
+ /**
1484
+ * The `process.ppid` property returns the PID of the parent of the
1485
+ * current process.
1486
+ *
1487
+ * ```js
1488
+ * import { ppid } from 'node:process';
1489
+ *
1490
+ * console.log(`The parent process is pid ${ppid}`);
1491
+ * ```
1492
+ * @since v9.2.0, v8.10.0, v6.13.0
1493
+ */
1494
+ readonly ppid: number;
1495
+ /**
1496
+ * The `process.threadCpuUsage()` method returns the user and system CPU time usage of
1497
+ * the current worker thread, in an object with properties `user` and `system`, whose
1498
+ * values are microsecond values (millionth of a second).
1499
+ *
1500
+ * The result of a previous call to `process.threadCpuUsage()` can be passed as the
1501
+ * argument to the function, to get a diff reading.
1502
+ * @since v23.9.0
1503
+ * @param previousValue A previous return value from calling
1504
+ * `process.threadCpuUsage()`
1505
+ */
1506
+ threadCpuUsage(previousValue?: CpuUsage): CpuUsage;
1507
+ /**
1508
+ * The `process.title` property returns the current process title (i.e. returns
1509
+ * the current value of `ps`). Assigning a new value to `process.title` modifies
1510
+ * the current value of `ps`.
1511
+ *
1512
+ * When a new value is assigned, different platforms will impose different maximum
1513
+ * length restrictions on the title. Usually such restrictions are quite limited.
1514
+ * For instance, on Linux and macOS, `process.title` is limited to the size of the
1515
+ * binary name plus the length of the command-line arguments because setting the `process.title` overwrites the `argv` memory of the process. Node.js v0.8
1516
+ * allowed for longer process title strings by also overwriting the `environ` memory but that was potentially insecure and confusing in some (rather obscure)
1517
+ * cases.
1518
+ *
1519
+ * Assigning a value to `process.title` might not result in an accurate label
1520
+ * within process manager applications such as macOS Activity Monitor or Windows
1521
+ * Services Manager.
1522
+ * @since v0.1.104
1523
+ */
1524
+ title: string;
1525
+ /**
1526
+ * The operating system CPU architecture for which the Node.js binary was compiled.
1527
+ * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,
1528
+ * `'mipsel'`, `'ppc64'`, `'riscv64'`, `'s390x'`, and `'x64'`.
1529
+ *
1530
+ * ```js
1531
+ * import { arch } from 'node:process';
1532
+ *
1533
+ * console.log(`This processor architecture is ${arch}`);
1534
+ * ```
1535
+ * @since v0.5.0
1536
+ */
1537
+ readonly arch: Architecture;
1538
+ /**
1539
+ * The `process.platform` property returns a string identifying the operating
1540
+ * system platform for which the Node.js binary was compiled.
1541
+ *
1542
+ * Currently possible values are:
1543
+ *
1544
+ * * `'aix'`
1545
+ * * `'darwin'`
1546
+ * * `'freebsd'`
1547
+ * * `'linux'`
1548
+ * * `'openbsd'`
1549
+ * * `'sunos'`
1550
+ * * `'win32'`
1551
+ *
1552
+ * ```js
1553
+ * import { platform } from 'node:process';
1554
+ *
1555
+ * console.log(`This platform is ${platform}`);
1556
+ * ```
1557
+ *
1558
+ * The value `'android'` may also be returned if the Node.js is built on the
1559
+ * Android operating system. However, Android support in Node.js [is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
1560
+ * @since v0.1.16
1561
+ */
1562
+ readonly platform: Platform;
1563
+ /**
1564
+ * The `process.mainModule` property provides an alternative way of retrieving `require.main`. The difference is that if the main module changes at
1565
+ * runtime, `require.main` may still refer to the original main module in
1566
+ * modules that were required before the change occurred. Generally, it's
1567
+ * safe to assume that the two refer to the same module.
1568
+ *
1569
+ * As with `require.main`, `process.mainModule` will be `undefined` if there
1570
+ * is no entry script.
1571
+ * @since v0.1.17
1572
+ * @deprecated Since v14.0.0 - Use `main` instead.
1573
+ */
1574
+ mainModule?: Module;
1575
+ memoryUsage: MemoryUsageFn;
1576
+ /**
1577
+ * Gets the amount of memory available to the process (in bytes) based on
1578
+ * limits imposed by the OS. If there is no such constraint, or the constraint
1579
+ * is unknown, `0` is returned.
1580
+ *
1581
+ * See [`uv_get_constrained_memory`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_get_constrained_memory) for more
1582
+ * information.
1583
+ * @since v19.6.0, v18.15.0
1584
+ */
1585
+ constrainedMemory(): number;
1586
+ /**
1587
+ * Gets the amount of free memory that is still available to the process (in bytes).
1588
+ * See [`uv_get_available_memory`](https://nodejs.org/docs/latest-v24.x/api/process.html#processavailablememory) for more information.
1589
+ * @since v20.13.0
1590
+ */
1591
+ availableMemory(): number;
1592
+ /**
1593
+ * The `process.cpuUsage()` method returns the user and system CPU time usage of
1594
+ * the current process, in an object with properties `user` and `system`, whose
1595
+ * values are microsecond values (millionth of a second). These values measure time
1596
+ * spent in user and system code respectively, and may end up being greater than
1597
+ * actual elapsed time if multiple CPU cores are performing work for this process.
1598
+ *
1599
+ * The result of a previous call to `process.cpuUsage()` can be passed as the
1600
+ * argument to the function, to get a diff reading.
1601
+ *
1602
+ * ```js
1603
+ * import { cpuUsage } from 'node:process';
1604
+ *
1605
+ * const startUsage = cpuUsage();
1606
+ * // { user: 38579, system: 6986 }
1607
+ *
1608
+ * // spin the CPU for 500 milliseconds
1609
+ * const now = Date.now();
1610
+ * while (Date.now() - now < 500);
1611
+ *
1612
+ * console.log(cpuUsage(startUsage));
1613
+ * // { user: 514883, system: 11226 }
1614
+ * ```
1615
+ * @since v6.1.0
1616
+ * @param previousValue A previous return value from calling `process.cpuUsage()`
1617
+ */
1618
+ cpuUsage(previousValue?: CpuUsage): CpuUsage;
1619
+ /**
1620
+ * `process.nextTick()` adds `callback` to the "next tick queue". This queue is
1621
+ * fully drained after the current operation on the JavaScript stack runs to
1622
+ * completion and before the event loop is allowed to continue. It's possible to
1623
+ * create an infinite loop if one were to recursively call `process.nextTick()`.
1624
+ * See the [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick) guide for more background.
1625
+ *
1626
+ * ```js
1627
+ * import { nextTick } from 'node:process';
1628
+ *
1629
+ * console.log('start');
1630
+ * nextTick(() => {
1631
+ * console.log('nextTick callback');
1632
+ * });
1633
+ * console.log('scheduled');
1634
+ * // Output:
1635
+ * // start
1636
+ * // scheduled
1637
+ * // nextTick callback
1638
+ * ```
1639
+ *
1640
+ * This is important when developing APIs in order to give users the opportunity
1641
+ * to assign event handlers _after_ an object has been constructed but before any
1642
+ * I/O has occurred:
1643
+ *
1644
+ * ```js
1645
+ * import { nextTick } from 'node:process';
1646
+ *
1647
+ * function MyThing(options) {
1648
+ * this.setupOptions(options);
1649
+ *
1650
+ * nextTick(() => {
1651
+ * this.startDoingStuff();
1652
+ * });
1653
+ * }
1654
+ *
1655
+ * const thing = new MyThing();
1656
+ * thing.getReadyForStuff();
1657
+ *
1658
+ * // thing.startDoingStuff() gets called now, not before.
1659
+ * ```
1660
+ *
1661
+ * It is very important for APIs to be either 100% synchronous or 100%
1662
+ * asynchronous. Consider this example:
1663
+ *
1664
+ * ```js
1665
+ * // WARNING! DO NOT USE! BAD UNSAFE HAZARD!
1666
+ * function maybeSync(arg, cb) {
1667
+ * if (arg) {
1668
+ * cb();
1669
+ * return;
1670
+ * }
1671
+ *
1672
+ * fs.stat('file', cb);
1673
+ * }
1674
+ * ```
1675
+ *
1676
+ * This API is hazardous because in the following case:
1677
+ *
1678
+ * ```js
1679
+ * const maybeTrue = Math.random() > 0.5;
1680
+ *
1681
+ * maybeSync(maybeTrue, () => {
1682
+ * foo();
1683
+ * });
1684
+ *
1685
+ * bar();
1686
+ * ```
1687
+ *
1688
+ * It is not clear whether `foo()` or `bar()` will be called first.
1689
+ *
1690
+ * The following approach is much better:
1691
+ *
1692
+ * ```js
1693
+ * import { nextTick } from 'node:process';
1694
+ *
1695
+ * function definitelyAsync(arg, cb) {
1696
+ * if (arg) {
1697
+ * nextTick(cb);
1698
+ * return;
1699
+ * }
1700
+ *
1701
+ * fs.stat('file', cb);
1702
+ * }
1703
+ * ```
1704
+ * @since v0.1.26
1705
+ * @param args Additional arguments to pass when invoking the `callback`
1706
+ */
1707
+ nextTick(callback: Function, ...args: any[]): void;
1708
+ /**
1709
+ * The process.noDeprecation property indicates whether the --no-deprecation flag is set on the current Node.js process.
1710
+ * See the documentation for the ['warning' event](https://nodejs.org/docs/latest/api/process.html#event-warning) and the [emitWarning()](https://nodejs.org/docs/latest/api/process.html#processemitwarningwarning-type-code-ctor) method for more information about this flag's behavior.
1711
+ */
1712
+ noDeprecation?: boolean;
1713
+ /**
1714
+ * This API is available through the [--permission](https://nodejs.org/api/cli.html#--permission) flag.
1715
+ *
1716
+ * `process.permission` is an object whose methods are used to manage permissions for the current process.
1717
+ * Additional documentation is available in the [Permission Model](https://nodejs.org/api/permissions.html#permission-model).
1718
+ * @since v20.0.0
1719
+ */
1720
+ permission: ProcessPermission;
1721
+ /**
1722
+ * The `process.release` property returns an `Object` containing metadata related
1723
+ * to the current release, including URLs for the source tarball and headers-only
1724
+ * tarball.
1725
+ *
1726
+ * `process.release` contains the following properties:
1727
+ *
1728
+ * ```js
1729
+ * {
1730
+ * name: 'node',
1731
+ * lts: 'Hydrogen',
1732
+ * sourceUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0.tar.gz',
1733
+ * headersUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0-headers.tar.gz',
1734
+ * libUrl: 'https://nodejs.org/download/release/v18.12.0/win-x64/node.lib'
1735
+ * }
1736
+ * ```
1737
+ *
1738
+ * In custom builds from non-release versions of the source tree, only the `name` property may be present. The additional properties should not be
1739
+ * relied upon to exist.
1740
+ * @since v3.0.0
1741
+ */
1742
+ readonly release: ProcessRelease;
1743
+ readonly features: ProcessFeatures;
1744
+ /**
1745
+ * The `process.traceProcessWarnings` property indicates whether the `--trace-warnings` flag
1746
+ * is set on the current Node.js process. This property allows programmatic control over the
1747
+ * tracing of warnings, enabling or disabling stack traces for warnings at runtime.
1748
+ *
1749
+ * ```js
1750
+ * // Enable trace warnings
1751
+ * process.traceProcessWarnings = true;
1752
+ *
1753
+ * // Emit a warning with a stack trace
1754
+ * process.emitWarning('Warning with stack trace');
1755
+ *
1756
+ * // Disable trace warnings
1757
+ * process.traceProcessWarnings = false;
1758
+ * ```
1759
+ * @since v6.10.0
1760
+ */
1761
+ traceProcessWarnings: boolean;
1762
+ /**
1763
+ * `process.umask()` returns the Node.js process's file mode creation mask. Child
1764
+ * processes inherit the mask from the parent process.
1765
+ * @since v0.1.19
1766
+ * @deprecated Calling `process.umask()` with no argument causes the process-wide umask to be written twice. This introduces a race condition between threads, and is a potential
1767
+ * security vulnerability. There is no safe, cross-platform alternative API.
1768
+ */
1769
+ umask(): number;
1770
+ /**
1771
+ * Can only be set if not in worker thread.
1772
+ */
1773
+ umask(mask: string | number): number;
1774
+ /**
1775
+ * The `process.uptime()` method returns the number of seconds the current Node.js
1776
+ * process has been running.
1777
+ *
1778
+ * The return value includes fractions of a second. Use `Math.floor()` to get whole
1779
+ * seconds.
1780
+ * @since v0.5.0
1781
+ */
1782
+ uptime(): number;
1783
+ hrtime: HRTime;
1784
+ /**
1785
+ * If the Node.js process was spawned with an IPC channel, the process.channel property is a reference to the IPC channel.
1786
+ * If no IPC channel exists, this property is undefined.
1787
+ * @since v7.1.0
1788
+ */
1789
+ channel?: Control;
1790
+ /**
1791
+ * If Node.js is spawned with an IPC channel, the `process.send()` method can be
1792
+ * used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
1793
+ *
1794
+ * If Node.js was not spawned with an IPC channel, `process.send` will be `undefined`.
1795
+ *
1796
+ * The message goes through serialization and parsing. The resulting message might
1797
+ * not be the same as what is originally sent.
1798
+ * @since v0.5.9
1799
+ * @param options used to parameterize the sending of certain types of handles. `options` supports the following properties:
1800
+ */
1801
+ send?(
1802
+ message: any,
1803
+ sendHandle?: SendHandle,
1804
+ options?: MessageOptions,
1805
+ callback?: (error: Error | null) => void,
1806
+ ): boolean;
1807
+ send?(
1808
+ message: any,
1809
+ sendHandle: SendHandle,
1810
+ callback?: (error: Error | null) => void,
1811
+ ): boolean;
1812
+ send?(
1813
+ message: any,
1814
+ callback: (error: Error | null) => void,
1815
+ ): boolean;
1816
+ /**
1817
+ * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.disconnect()` method will close the
1818
+ * IPC channel to the parent process, allowing the child process to exit gracefully
1819
+ * once there are no other connections keeping it alive.
1820
+ *
1821
+ * The effect of calling `process.disconnect()` is the same as calling `ChildProcess.disconnect()` from the parent process.
1822
+ *
1823
+ * If the Node.js process was not spawned with an IPC channel, `process.disconnect()` will be `undefined`.
1824
+ * @since v0.7.2
1825
+ */
1826
+ disconnect(): void;
1827
+ /**
1828
+ * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.connected` property will return `true` so long as the IPC
1829
+ * channel is connected and will return `false` after `process.disconnect()` is called.
1830
+ *
1831
+ * Once `process.connected` is `false`, it is no longer possible to send messages
1832
+ * over the IPC channel using `process.send()`.
1833
+ * @since v0.7.2
1834
+ */
1835
+ connected: boolean;
1836
+ /**
1837
+ * The `process.allowedNodeEnvironmentFlags` property is a special,
1838
+ * read-only `Set` of flags allowable within the `NODE_OPTIONS` environment variable.
1839
+ *
1840
+ * `process.allowedNodeEnvironmentFlags` extends `Set`, but overrides `Set.prototype.has` to recognize several different possible flag
1841
+ * representations. `process.allowedNodeEnvironmentFlags.has()` will
1842
+ * return `true` in the following cases:
1843
+ *
1844
+ * * Flags may omit leading single (`-`) or double (`--`) dashes; e.g., `inspect-brk` for `--inspect-brk`, or `r` for `-r`.
1845
+ * * Flags passed through to V8 (as listed in `--v8-options`) may replace
1846
+ * one or more _non-leading_ dashes for an underscore, or vice-versa;
1847
+ * e.g., `--perf_basic_prof`, `--perf-basic-prof`, `--perf_basic-prof`,
1848
+ * etc.
1849
+ * * Flags may contain one or more equals (`=`) characters; all
1850
+ * characters after and including the first equals will be ignored;
1851
+ * e.g., `--stack-trace-limit=100`.
1852
+ * * Flags _must_ be allowable within `NODE_OPTIONS`.
1853
+ *
1854
+ * When iterating over `process.allowedNodeEnvironmentFlags`, flags will
1855
+ * appear only _once_; each will begin with one or more dashes. Flags
1856
+ * passed through to V8 will contain underscores instead of non-leading
1857
+ * dashes:
1858
+ *
1859
+ * ```js
1860
+ * import { allowedNodeEnvironmentFlags } from 'node:process';
1861
+ *
1862
+ * allowedNodeEnvironmentFlags.forEach((flag) => {
1863
+ * // -r
1864
+ * // --inspect-brk
1865
+ * // --abort_on_uncaught_exception
1866
+ * // ...
1867
+ * });
1868
+ * ```
1869
+ *
1870
+ * The methods `add()`, `clear()`, and `delete()` of`process.allowedNodeEnvironmentFlags` do nothing, and will fail
1871
+ * silently.
1872
+ *
1873
+ * If Node.js was compiled _without_ `NODE_OPTIONS` support (shown in {@link config}), `process.allowedNodeEnvironmentFlags` will
1874
+ * contain what _would have_ been allowable.
1875
+ * @since v10.10.0
1876
+ */
1877
+ allowedNodeEnvironmentFlags: ReadonlySet<string>;
1878
+ /**
1879
+ * `process.report` is an object whose methods are used to generate diagnostic reports for the current process.
1880
+ * Additional documentation is available in the [report documentation](https://nodejs.org/docs/latest-v24.x/api/report.html).
1881
+ * @since v11.8.0
1882
+ */
1883
+ report: ProcessReport;
1884
+ /**
1885
+ * ```js
1886
+ * import { resourceUsage } from 'node:process';
1887
+ *
1888
+ * console.log(resourceUsage());
1889
+ * /*
1890
+ * Will output:
1891
+ * {
1892
+ * userCPUTime: 82872,
1893
+ * systemCPUTime: 4143,
1894
+ * maxRSS: 33164,
1895
+ * sharedMemorySize: 0,
1896
+ * unsharedDataSize: 0,
1897
+ * unsharedStackSize: 0,
1898
+ * minorPageFault: 2469,
1899
+ * majorPageFault: 0,
1900
+ * swappedOut: 0,
1901
+ * fsRead: 0,
1902
+ * fsWrite: 8,
1903
+ * ipcSent: 0,
1904
+ * ipcReceived: 0,
1905
+ * signalsCount: 0,
1906
+ * voluntaryContextSwitches: 79,
1907
+ * involuntaryContextSwitches: 1
1908
+ * }
1909
+ *
1910
+ * ```
1911
+ * @since v12.6.0
1912
+ * @return the resource usage for the current process. All of these values come from the `uv_getrusage` call which returns a [`uv_rusage_t` struct][uv_rusage_t].
1913
+ */
1914
+ resourceUsage(): ResourceUsage;
1915
+ /**
1916
+ * The initial value of `process.throwDeprecation` indicates whether the `--throw-deprecation` flag is set on the current Node.js process. `process.throwDeprecation`
1917
+ * is mutable, so whether or not deprecation warnings result in errors may be altered at runtime. See the documentation for the 'warning' event and the emitWarning()
1918
+ * method for more information.
1919
+ *
1920
+ * ```bash
1921
+ * $ node --throw-deprecation -p "process.throwDeprecation"
1922
+ * true
1923
+ * $ node -p "process.throwDeprecation"
1924
+ * undefined
1925
+ * $ node
1926
+ * > process.emitWarning('test', 'DeprecationWarning');
1927
+ * undefined
1928
+ * > (node:26598) DeprecationWarning: test
1929
+ * > process.throwDeprecation = true;
1930
+ * true
1931
+ * > process.emitWarning('test', 'DeprecationWarning');
1932
+ * Thrown:
1933
+ * [DeprecationWarning: test] { name: 'DeprecationWarning' }
1934
+ * ```
1935
+ * @since v0.9.12
1936
+ */
1937
+ throwDeprecation: boolean;
1938
+ /**
1939
+ * The `process.traceDeprecation` property indicates whether the `--trace-deprecation` flag is set on the current Node.js process. See the
1940
+ * documentation for the `'warning' event` and the `emitWarning() method` for more information about this
1941
+ * flag's behavior.
1942
+ * @since v0.8.0
1943
+ */
1944
+ traceDeprecation: boolean;
1945
+ /**
1946
+ * An object is "refable" if it implements the Node.js "Refable protocol".
1947
+ * Specifically, this means that the object implements the `Symbol.for('nodejs.ref')`
1948
+ * and `Symbol.for('nodejs.unref')` methods. "Ref'd" objects will keep the Node.js
1949
+ * event loop alive, while "unref'd" objects will not. Historically, this was
1950
+ * implemented by using `ref()` and `unref()` methods directly on the objects.
1951
+ * This pattern, however, is being deprecated in favor of the "Refable protocol"
1952
+ * in order to better support Web Platform API types whose APIs cannot be modified
1953
+ * to add `ref()` and `unref()` methods but still need to support that behavior.
1954
+ * @since v22.14.0
1955
+ * @experimental
1956
+ * @param maybeRefable An object that may be "refable".
1957
+ */
1958
+ ref(maybeRefable: any): void;
1959
+ /**
1960
+ * An object is "unrefable" if it implements the Node.js "Refable protocol".
1961
+ * Specifically, this means that the object implements the `Symbol.for('nodejs.ref')`
1962
+ * and `Symbol.for('nodejs.unref')` methods. "Ref'd" objects will keep the Node.js
1963
+ * event loop alive, while "unref'd" objects will not. Historically, this was
1964
+ * implemented by using `ref()` and `unref()` methods directly on the objects.
1965
+ * This pattern, however, is being deprecated in favor of the "Refable protocol"
1966
+ * in order to better support Web Platform API types whose APIs cannot be modified
1967
+ * to add `ref()` and `unref()` methods but still need to support that behavior.
1968
+ * @since v22.14.0
1969
+ * @experimental
1970
+ * @param maybeRefable An object that may be "unref'd".
1971
+ */
1972
+ unref(maybeRefable: any): void;
1973
+ /**
1974
+ * Replaces the current process with a new process.
1975
+ *
1976
+ * This is achieved by using the `execve` POSIX function and therefore no memory or other
1977
+ * resources from the current process are preserved, except for the standard input,
1978
+ * standard output and standard error file descriptor.
1979
+ *
1980
+ * All other resources are discarded by the system when the processes are swapped, without triggering
1981
+ * any exit or close events and without running any cleanup handler.
1982
+ *
1983
+ * This function will never return, unless an error occurred.
1984
+ *
1985
+ * This function is not available on Windows or IBM i.
1986
+ * @since v22.15.0
1987
+ * @experimental
1988
+ * @param file The name or path of the executable file to run.
1989
+ * @param args List of string arguments. No argument can contain a null-byte (`\u0000`).
1990
+ * @param env Environment key-value pairs.
1991
+ * No key or value can contain a null-byte (`\u0000`).
1992
+ * **Default:** `process.env`.
1993
+ */
1994
+ execve?(file: string, args?: readonly string[], env?: ProcessEnv): never;
1995
+ /* EventEmitter */
1996
+ addListener(event: "beforeExit", listener: BeforeExitListener): this;
1997
+ addListener(event: "disconnect", listener: DisconnectListener): this;
1998
+ addListener(event: "exit", listener: ExitListener): this;
1999
+ addListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
2000
+ addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
2001
+ addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
2002
+ addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
2003
+ addListener(event: "warning", listener: WarningListener): this;
2004
+ addListener(event: "message", listener: MessageListener): this;
2005
+ addListener(event: "workerMessage", listener: (value: any, source: number) => void): this;
2006
+ addListener(event: Signals, listener: SignalsListener): this;
2007
+ addListener(event: "multipleResolves", listener: MultipleResolveListener): this;
2008
+ addListener(event: "worker", listener: WorkerListener): this;
2009
+ emit(event: "beforeExit", code: number): boolean;
2010
+ emit(event: "disconnect"): boolean;
2011
+ emit(event: "exit", code: number): boolean;
2012
+ emit(event: "rejectionHandled", promise: Promise<unknown>): boolean;
2013
+ emit(event: "uncaughtException", error: Error): boolean;
2014
+ emit(event: "uncaughtExceptionMonitor", error: Error): boolean;
2015
+ emit(event: "unhandledRejection", reason: unknown, promise: Promise<unknown>): boolean;
2016
+ emit(event: "warning", warning: Error): boolean;
2017
+ emit(event: "message", message: unknown, sendHandle: SendHandle): this;
2018
+ emit(event: "workerMessage", value: any, source: number): this;
2019
+ emit(event: Signals, signal?: Signals): boolean;
2020
+ emit(
2021
+ event: "multipleResolves",
2022
+ type: MultipleResolveType,
2023
+ promise: Promise<unknown>,
2024
+ value: unknown,
2025
+ ): this;
2026
+ emit(event: "worker", listener: WorkerListener): this;
2027
+ on(event: "beforeExit", listener: BeforeExitListener): this;
2028
+ on(event: "disconnect", listener: DisconnectListener): this;
2029
+ on(event: "exit", listener: ExitListener): this;
2030
+ on(event: "rejectionHandled", listener: RejectionHandledListener): this;
2031
+ on(event: "uncaughtException", listener: UncaughtExceptionListener): this;
2032
+ on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
2033
+ on(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
2034
+ on(event: "warning", listener: WarningListener): this;
2035
+ on(event: "message", listener: MessageListener): this;
2036
+ on(event: Signals, listener: SignalsListener): this;
2037
+ on(event: "multipleResolves", listener: MultipleResolveListener): this;
2038
+ on(event: "worker", listener: WorkerListener): this;
2039
+ on(event: "workerMessage", listener: (value: any, source: number) => void): this;
2040
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
2041
+ once(event: "beforeExit", listener: BeforeExitListener): this;
2042
+ once(event: "disconnect", listener: DisconnectListener): this;
2043
+ once(event: "exit", listener: ExitListener): this;
2044
+ once(event: "rejectionHandled", listener: RejectionHandledListener): this;
2045
+ once(event: "uncaughtException", listener: UncaughtExceptionListener): this;
2046
+ once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
2047
+ once(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
2048
+ once(event: "warning", listener: WarningListener): this;
2049
+ once(event: "message", listener: MessageListener): this;
2050
+ once(event: Signals, listener: SignalsListener): this;
2051
+ once(event: "multipleResolves", listener: MultipleResolveListener): this;
2052
+ once(event: "worker", listener: WorkerListener): this;
2053
+ once(event: "workerMessage", listener: (value: any, source: number) => void): this;
2054
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
2055
+ prependListener(event: "beforeExit", listener: BeforeExitListener): this;
2056
+ prependListener(event: "disconnect", listener: DisconnectListener): this;
2057
+ prependListener(event: "exit", listener: ExitListener): this;
2058
+ prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
2059
+ prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
2060
+ prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
2061
+ prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
2062
+ prependListener(event: "warning", listener: WarningListener): this;
2063
+ prependListener(event: "message", listener: MessageListener): this;
2064
+ prependListener(event: "workerMessage", listener: (value: any, source: number) => void): this;
2065
+ prependListener(event: Signals, listener: SignalsListener): this;
2066
+ prependListener(event: "multipleResolves", listener: MultipleResolveListener): this;
2067
+ prependListener(event: "worker", listener: WorkerListener): this;
2068
+ prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this;
2069
+ prependOnceListener(event: "disconnect", listener: DisconnectListener): this;
2070
+ prependOnceListener(event: "exit", listener: ExitListener): this;
2071
+ prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
2072
+ prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
2073
+ prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
2074
+ prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
2075
+ prependOnceListener(event: "warning", listener: WarningListener): this;
2076
+ prependOnceListener(event: "message", listener: MessageListener): this;
2077
+ prependOnceListener(event: "workerMessage", listener: (value: any, source: number) => void): this;
2078
+ prependOnceListener(event: Signals, listener: SignalsListener): this;
2079
+ prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this;
2080
+ prependOnceListener(event: "worker", listener: WorkerListener): this;
2081
+ listeners(event: "beforeExit"): BeforeExitListener[];
2082
+ listeners(event: "disconnect"): DisconnectListener[];
2083
+ listeners(event: "exit"): ExitListener[];
2084
+ listeners(event: "rejectionHandled"): RejectionHandledListener[];
2085
+ listeners(event: "uncaughtException"): UncaughtExceptionListener[];
2086
+ listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[];
2087
+ listeners(event: "unhandledRejection"): UnhandledRejectionListener[];
2088
+ listeners(event: "warning"): WarningListener[];
2089
+ listeners(event: "message"): MessageListener[];
2090
+ listeners(event: "workerMessage"): ((value: any, source: number) => void)[];
2091
+ listeners(event: Signals): SignalsListener[];
2092
+ listeners(event: "multipleResolves"): MultipleResolveListener[];
2093
+ listeners(event: "worker"): WorkerListener[];
2094
+ }
2095
+ }
2096
+ }
2097
+ export = process;
2098
+ }
2099
+ declare module "node:process" {
2100
+ import process = require("process");
2101
+ export = process;
2102
+ }