@runlith/tagma 0.0.0-stage → 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 (342) hide show
  1. package/adapter/claudeHooks.d.ts +10 -0
  2. package/adapter/claudeHooks.js +4 -0
  3. package/adapter/declaration.d.ts +14 -0
  4. package/adapter/declaration.js +2 -0
  5. package/adapter/harness.d.ts +454 -0
  6. package/adapter/harness.js +2 -0
  7. package/adapter/hook.d.ts +43 -0
  8. package/adapter/hook.js +2 -0
  9. package/adapter/hostModules.d.ts +19 -0
  10. package/adapter/hostModules.js +2 -0
  11. package/adapter/loader.d.ts +10 -0
  12. package/adapter/loader.js +2 -0
  13. package/adapter/metadata.d.ts +179 -0
  14. package/adapter/metadata.js +4 -0
  15. package/adapter/payload.d.ts +19 -0
  16. package/adapter/payload.js +3 -0
  17. package/adapter/provider.d.ts +209 -0
  18. package/adapter/provider.js +2 -0
  19. package/adapter/settings.d.ts +182 -0
  20. package/adapter/settings.js +2 -0
  21. package/adapter/speech.d.ts +4 -0
  22. package/adapter/speech.js +2 -0
  23. package/host.d.ts +61223 -0
  24. package/package.json +129 -3
  25. package/plugin/Held-6krt6ncs.js +6 -0
  26. package/plugin/accountKey-tdjj67f5.js +2 -0
  27. package/plugin/adapter-qdnpxs6n.js +1 -0
  28. package/plugin/anthropic-a4pdzrv2.js +2 -0
  29. package/plugin/anthropic-messages-7gtja121.js +2 -0
  30. package/plugin/anthropic-z9xqmm3q.js +2 -0
  31. package/plugin/auth-0w6kk39v.js +2 -0
  32. package/plugin/authStatus-a1g3eb9p.js +2 -0
  33. package/plugin/bundling.d.ts +30 -0
  34. package/plugin/bundling.js +2 -0
  35. package/plugin/cacheLifetime-c5mpw676.js +2 -0
  36. package/plugin/callback-server-0wrzmjfx.js +16 -0
  37. package/plugin/capabilities-n3vfpy41.js +2 -0
  38. package/plugin/claudeHooks-edpg1e46.js +3 -0
  39. package/plugin/cli.js +21 -0
  40. package/plugin/cliStore-9rhjxtht.js +2 -0
  41. package/plugin/clientSession-tmmxm39z.js +2 -0
  42. package/plugin/codec-aa8mxqyr.js +1 -0
  43. package/plugin/connect-vrdsw05j.js +2 -0
  44. package/plugin/contract-qn0z7r9c.js +1 -0
  45. package/plugin/credential-5sgapkh0.js +2 -0
  46. package/plugin/deepseek-fvdrmjr9.js +2 -0
  47. package/plugin/deepseek-v388d1wv.js +2 -0
  48. package/plugin/definition-s3xx207f.js +2 -0
  49. package/plugin/description-8xhxryaq.js +2 -0
  50. package/plugin/deviceGrant-vgbscpr4.js +2 -0
  51. package/plugin/devin-hy98d305.js +2 -0
  52. package/plugin/duplex-kpmftvf7.js +2 -0
  53. package/plugin/endpoint-kvf97tz7.js +2 -0
  54. package/plugin/errors-5t42p4q1.js +2 -0
  55. package/plugin/events-e8vv9hda.js +2 -0
  56. package/plugin/events-s95ybm4g.js +2 -0
  57. package/plugin/executor-q8kp5q8h.js +2 -0
  58. package/plugin/failure-vr32debc.js +2 -0
  59. package/plugin/framing-nktw5sts.js +2 -0
  60. package/plugin/grant-67b10nhx.js +2 -0
  61. package/plugin/harness-nrh78w4d.js +2 -0
  62. package/plugin/headers-ss3dzznj.js +2 -0
  63. package/plugin/hook-hjrk83m8.js +2 -0
  64. package/plugin/icon-044pa3y8.js +6 -0
  65. package/plugin/icon-j22svmgp.js +4 -0
  66. package/plugin/icon-ny6qbjvc.js +4 -0
  67. package/plugin/icon-pz54e8n3.js +4 -0
  68. package/plugin/icon-qy92jx2b.js +4 -0
  69. package/plugin/ids-n269hc5k.js +2 -0
  70. package/plugin/images-q80x3bt1.js +2 -0
  71. package/plugin/index-cyd7v366.js +2 -0
  72. package/plugin/index-jpmjpmkn.js +2 -0
  73. package/plugin/lifecycle-qf4fh5m8.js +2 -0
  74. package/plugin/manual-2mdscj84.js +2 -0
  75. package/plugin/messages-1szh3p3k.js +2 -0
  76. package/plugin/metadata-zm1v3ptf.js +4 -0
  77. package/plugin/muse-r16jp51z.js +2 -0
  78. package/plugin/muse-tfe6sph7.js +2 -0
  79. package/plugin/museToolSchema-tbe0f3wa.js +2 -0
  80. package/plugin/notes-6amdhm6h.js +2 -0
  81. package/plugin/object-9pjtdam7.js +2 -0
  82. package/plugin/open-browser-vqb7ckt1.js +2 -0
  83. package/plugin/openai-0z6fy497.js +2 -0
  84. package/plugin/openai-37dne8v0.js +2 -0
  85. package/plugin/openai-compatible-chat-tq9w69h4.js +2 -0
  86. package/plugin/openai-images-x1sj79qh.js +2 -0
  87. package/plugin/openai-responses-dka6k753.js +2 -0
  88. package/plugin/opencodeGo-173fz5c5.js +3 -0
  89. package/plugin/opencodeGo-qgw3pfg6.js +2 -0
  90. package/plugin/options-pxwjpfdk.js +2 -0
  91. package/plugin/payload-2gr4q9g8.js +2 -0
  92. package/plugin/pkce-nrpept7w.js +2 -0
  93. package/plugin/plugin-1n46me5n.js +6 -0
  94. package/plugin/plugin-1vpp5mqk.js +4 -0
  95. package/plugin/plugin-1x94cj6e.js +3 -0
  96. package/plugin/plugin-1xze8f5y.js +3 -0
  97. package/plugin/plugin-285exjxd.js +3 -0
  98. package/plugin/plugin-3b8x73y6.js +3 -0
  99. package/plugin/plugin-3pfrkxg1.js +3 -0
  100. package/plugin/plugin-3whwpedj.js +3 -0
  101. package/plugin/plugin-521srf94.js +3 -0
  102. package/plugin/plugin-55fbx586.js +3 -0
  103. package/plugin/plugin-5zq084fb.js +3 -0
  104. package/plugin/plugin-60bdzk1r.js +4 -0
  105. package/plugin/plugin-6a56xsx3.js +3 -0
  106. package/plugin/plugin-6xpcmvm3.js +36 -0
  107. package/plugin/plugin-72xxqm1t.js +3 -0
  108. package/plugin/plugin-7y7ndrk9.js +3 -0
  109. package/plugin/plugin-80gqwmjy.js +3 -0
  110. package/plugin/plugin-8230g28p.js +3 -0
  111. package/plugin/plugin-8jf7f360.js +3 -0
  112. package/plugin/plugin-92redty0.js +3 -0
  113. package/plugin/plugin-9gha9fx3.js +3 -0
  114. package/plugin/plugin-a4ng6krf.js +3 -0
  115. package/plugin/plugin-ak62rhwz.js +3 -0
  116. package/plugin/plugin-ay29ch70.js +3 -0
  117. package/plugin/plugin-ba1sv0th.js +3 -0
  118. package/plugin/plugin-ca4vf4j5.js +3 -0
  119. package/plugin/plugin-cydz2zhy.js +3 -0
  120. package/plugin/plugin-d6hbav22.js +3 -0
  121. package/plugin/plugin-e2y95zm5.js +3 -0
  122. package/plugin/plugin-ff38dxy1.js +3 -0
  123. package/plugin/plugin-ff9hx5a4.js +3 -0
  124. package/plugin/plugin-fhc5q7r3.js +3 -0
  125. package/plugin/plugin-frrvs5yc.js +3 -0
  126. package/plugin/plugin-g65b14k1.js +3 -0
  127. package/plugin/plugin-gh857xdd.js +3 -0
  128. package/plugin/plugin-gkgs7vfv.js +3 -0
  129. package/plugin/plugin-h66k1zhn.js +14 -0
  130. package/plugin/plugin-je5cfnqn.js +3 -0
  131. package/plugin/plugin-jjm52353.js +3 -0
  132. package/plugin/plugin-jxvmq18y.js +3 -0
  133. package/plugin/plugin-kc4z9msd.js +3 -0
  134. package/plugin/plugin-kjtzm2q6.js +3 -0
  135. package/plugin/plugin-krbbb4ts.js +3 -0
  136. package/plugin/plugin-me00x60n.js +3 -0
  137. package/plugin/plugin-mqr325kz.js +3 -0
  138. package/plugin/plugin-njh1f7b2.js +5 -0
  139. package/plugin/plugin-nkb5bb2q.js +3 -0
  140. package/plugin/plugin-nqmb78ez.js +4 -0
  141. package/plugin/plugin-nzacjxf9.js +3 -0
  142. package/plugin/plugin-p59gy5xd.js +3 -0
  143. package/plugin/plugin-pfj9nc2e.js +3 -0
  144. package/plugin/plugin-pkxw1pfs.js +3 -0
  145. package/plugin/plugin-q1n5kwx0.js +3 -0
  146. package/plugin/plugin-q1sqj2tc.js +3 -0
  147. package/plugin/plugin-q7rk75bs.js +3 -0
  148. package/plugin/plugin-qpda63gv.js +3 -0
  149. package/plugin/plugin-rrgyjesv.js +3 -0
  150. package/plugin/plugin-sfdxgkds.js +3 -0
  151. package/plugin/plugin-v7k9fx92.js +3 -0
  152. package/plugin/plugin-vfjhxng8.js +3 -0
  153. package/plugin/plugin-vv72e4ah.js +3 -0
  154. package/plugin/plugin-w8f977my.js +3 -0
  155. package/plugin/plugin-xbnw80pk.js +3 -0
  156. package/plugin/plugin-yxgg03s0.js +5 -0
  157. package/plugin/plugin-z6hkd9rw.js +3 -0
  158. package/plugin/plugin-zew2m18x.js +3 -0
  159. package/plugin/plugin-zphe2a5v.js +9 -0
  160. package/plugin/plugin-zvyk8bnr.js +3 -0
  161. package/plugin/plugin-zw3ywa4b.js +3 -0
  162. package/plugin/plugin-zxe49p72.js +3 -0
  163. package/plugin/plugin-zz7yc97m.js +3 -0
  164. package/plugin/plugin.d.ts +175 -0
  165. package/plugin/plugin.js +2 -0
  166. package/plugin/points.generated.d.ts +341 -0
  167. package/plugin/points.generated.js +2 -0
  168. package/plugin/process.d.ts +4 -0
  169. package/plugin/process.js +85 -0
  170. package/plugin/protocol-hwnfh4h1.js +2 -0
  171. package/plugin/protocol.d.ts +115 -0
  172. package/plugin/protocol.js +2 -0
  173. package/plugin/provider-0b7xxyhn.js +2 -0
  174. package/plugin/quota-vrrmfag6.js +2 -0
  175. package/plugin/quotaRead-vj6e90xc.js +2 -0
  176. package/plugin/reasoning-5nanktp2.js +2 -0
  177. package/plugin/record-1m3vvy60.js +2 -0
  178. package/plugin/requests-2zyr1g8e.js +1 -0
  179. package/plugin/responseFold-w4526gvb.js +2 -0
  180. package/plugin/settings-vdypzert.js +2 -0
  181. package/plugin/shared-a2yyy8ry.js +2 -0
  182. package/plugin/speech-067caz1a.js +2 -0
  183. package/plugin/stepfun-3en5g41d.js +2 -0
  184. package/plugin/stepfun-bwsz4nrd.js +2 -0
  185. package/plugin/stream-bt8etfpc.js +2 -0
  186. package/plugin/svelteProgram-73v9yajk.js +2 -0
  187. package/plugin/synthesisDuplex-m2j6pmyv.js +2 -0
  188. package/plugin/template.d.ts +14 -0
  189. package/plugin/template.js +2 -0
  190. package/plugin/testing.d.ts +85 -0
  191. package/plugin/testing.js +4 -0
  192. package/plugin/tool-content-b9jtprr7.js +2 -0
  193. package/plugin/tool-stream-gdajdxn0.js +2 -0
  194. package/plugin/transport-7hfp9sn4.js +2 -0
  195. package/plugin/ui.generated.d.ts +1044 -0
  196. package/plugin/value.d.ts +8 -0
  197. package/plugin/value.js +2 -0
  198. package/plugin/vendor-pn6b5a8f.js +2 -0
  199. package/plugin/vendorCall-6n5chrn0.js +2 -0
  200. package/plugin/vendorCall-hv01nwsp.js +2 -0
  201. package/plugin/vendorPayload-awxqr7t8.js +2 -0
  202. package/plugin/vendorWeb-vnf344r1.js +2 -0
  203. package/plugin/verbatim-mqt9x4aa.js +2 -0
  204. package/plugin/xai-e8sbtk6a.js +2 -0
  205. package/plugin/xai-z1ysta23.js +2 -0
  206. package/rules/effect.d.ts +55 -0
  207. package/rules/effect.js +11 -0
  208. package/rules/rules.d.ts +342 -0
  209. package/rules/rules.js +50 -0
  210. package/types/node/assert/strict.d.ts +12 -0
  211. package/types/node/assert.d.ts +76 -0
  212. package/types/node/async_hooks.d.ts +113 -0
  213. package/types/node/buffer.buffer.d.ts +29 -0
  214. package/types/node/buffer.d.ts +162 -0
  215. package/types/node/child_process.d.ts +337 -0
  216. package/types/node/cluster.d.ts +118 -0
  217. package/types/node/compatibility/iterators.d.ts +11 -0
  218. package/types/node/console.d.ts +48 -0
  219. package/types/node/constants.d.ts +8 -0
  220. package/types/node/crypto.d.ts +847 -0
  221. package/types/node/dgram.d.ts +88 -0
  222. package/types/node/diagnostics_channel.d.ts +61 -0
  223. package/types/node/dns/promises.d.ts +94 -0
  224. package/types/node/dns.d.ts +276 -0
  225. package/types/node/domain.d.ts +17 -0
  226. package/types/node/events.d.ts +138 -0
  227. package/types/node/fs/promises.d.ts +253 -0
  228. package/types/node/fs.d.ts +1038 -0
  229. package/types/node/globals.d.ts +73 -0
  230. package/types/node/globals.typedarray.d.ts +22 -0
  231. package/types/node/http.d.ts +530 -0
  232. package/types/node/http2.d.ts +794 -0
  233. package/types/node/https.d.ts +66 -0
  234. package/types/node/index.d.ts +84 -0
  235. package/types/node/inspector/promises.d.ts +13 -0
  236. package/types/node/inspector.d.ts +61 -0
  237. package/types/node/inspector.generated.d.ts +1624 -0
  238. package/types/node/module.d.ts +187 -0
  239. package/types/node/net.d.ts +266 -0
  240. package/types/node/os.d.ts +236 -0
  241. package/types/node/path/posix.d.ts +8 -0
  242. package/types/node/path/win32.d.ts +8 -0
  243. package/types/node/path.d.ts +40 -0
  244. package/types/node/perf_hooks.d.ts +236 -0
  245. package/types/node/process.d.ts +436 -0
  246. package/types/node/punycode.d.ts +15 -0
  247. package/types/node/querystring.d.ts +22 -0
  248. package/types/node/quic.d.ts +203 -0
  249. package/types/node/readline/promises.d.ts +28 -0
  250. package/types/node/readline.d.ts +94 -0
  251. package/types/node/repl.d.ts +104 -0
  252. package/types/node/sea.d.ts +11 -0
  253. package/types/node/sqlite.d.ts +183 -0
  254. package/types/node/stream/consumers.d.ts +13 -0
  255. package/types/node/stream/iter.d.ts +240 -0
  256. package/types/node/stream/promises.d.ts +37 -0
  257. package/types/node/stream/web.d.ts +297 -0
  258. package/types/node/stream.d.ts +378 -0
  259. package/types/node/string_decoder.d.ts +10 -0
  260. package/types/node/test/reporters.d.ts +66 -0
  261. package/types/node/test.d.ts +462 -0
  262. package/types/node/timers/promises.d.ts +16 -0
  263. package/types/node/timers.d.ts +43 -0
  264. package/types/node/tls.d.ts +279 -0
  265. package/types/node/trace_events.d.ts +16 -0
  266. package/types/node/ts5.6/buffer.buffer.d.ts +26 -0
  267. package/types/node/ts5.6/compatibility/float16array.d.ts +43 -0
  268. package/types/node/ts5.6/globals.typedarray.d.ts +22 -0
  269. package/types/node/ts5.6/index.d.ts +84 -0
  270. package/types/node/ts5.7/compatibility/float16array.d.ts +50 -0
  271. package/types/node/ts5.7/index.d.ts +84 -0
  272. package/types/node/tty.d.ts +61 -0
  273. package/types/node/url.d.ts +165 -0
  274. package/types/node/util/types.d.ts +49 -0
  275. package/types/node/util.d.ts +320 -0
  276. package/types/node/v8.d.ts +178 -0
  277. package/types/node/vm.d.ts +130 -0
  278. package/types/node/wasi.d.ts +26 -0
  279. package/types/node/web-globals/abortcontroller.d.ts +47 -0
  280. package/types/node/web-globals/blob.d.ts +34 -0
  281. package/types/node/web-globals/console.d.ts +7 -0
  282. package/types/node/web-globals/crypto.d.ts +46 -0
  283. package/types/node/web-globals/domexception.d.ts +74 -0
  284. package/types/node/web-globals/encoding.d.ts +16 -0
  285. package/types/node/web-globals/events.d.ts +111 -0
  286. package/types/node/web-globals/fetch.d.ts +121 -0
  287. package/types/node/web-globals/importmeta.d.ts +11 -0
  288. package/types/node/web-globals/messaging.d.ts +32 -0
  289. package/types/node/web-globals/navigator.d.ts +28 -0
  290. package/types/node/web-globals/performance.d.ts +71 -0
  291. package/types/node/web-globals/storage.d.ts +26 -0
  292. package/types/node/web-globals/streams.d.ts +162 -0
  293. package/types/node/web-globals/timers.d.ts +22 -0
  294. package/types/node/web-globals/url.d.ts +27 -0
  295. package/types/node/worker_threads.d.ts +199 -0
  296. package/types/node/zlib/iter.d.ts +49 -0
  297. package/types/node/zlib.d.ts +360 -0
  298. package/types/undici/agent.d.ts +24 -0
  299. package/types/undici/api.d.ts +19 -0
  300. package/types/undici/balanced-pool.d.ts +16 -0
  301. package/types/undici/cache-interceptor.d.ts +98 -0
  302. package/types/undici/cache.d.ts +30 -0
  303. package/types/undici/client-stats.d.ts +9 -0
  304. package/types/undici/client.d.ts +61 -0
  305. package/types/undici/connector.d.ts +37 -0
  306. package/types/undici/content-type.d.ts +9 -0
  307. package/types/undici/cookies.d.ts +22 -0
  308. package/types/undici/diagnostics-channel.d.ts +72 -0
  309. package/types/undici/dispatcher.d.ts +207 -0
  310. package/types/undici/env-http-proxy-agent.d.ts +15 -0
  311. package/types/undici/errors.d.ts +117 -0
  312. package/types/undici/eventsource.d.ts +39 -0
  313. package/types/undici/fetch.d.ts +122 -0
  314. package/types/undici/formdata.d.ts +24 -0
  315. package/types/undici/global-dispatcher.d.ts +4 -0
  316. package/types/undici/global-origin.d.ts +3 -0
  317. package/types/undici/h2c-client.d.ts +35 -0
  318. package/types/undici/handlers.d.ts +7 -0
  319. package/types/undici/header.d.ts +10 -0
  320. package/types/undici/index.d.ts +85 -0
  321. package/types/undici/interceptors.d.ts +70 -0
  322. package/types/undici/mock-agent.d.ts +43 -0
  323. package/types/undici/mock-call-history.d.ts +57 -0
  324. package/types/undici/mock-client.d.ts +17 -0
  325. package/types/undici/mock-errors.d.ts +9 -0
  326. package/types/undici/mock-interceptor.d.ts +60 -0
  327. package/types/undici/mock-pool.d.ts +17 -0
  328. package/types/undici/patch.d.ts +21 -0
  329. package/types/undici/pool-stats.d.ts +11 -0
  330. package/types/undici/pool.d.ts +25 -0
  331. package/types/undici/proxy-agent.d.ts +22 -0
  332. package/types/undici/readable.d.ts +24 -0
  333. package/types/undici/retry-agent.d.ts +6 -0
  334. package/types/undici/retry-handler.d.ts +41 -0
  335. package/types/undici/round-robin-pool.d.ts +25 -0
  336. package/types/undici/snapshot-agent.d.ts +98 -0
  337. package/types/undici/socks5-proxy-agent.d.ts +17 -0
  338. package/types/undici/util.d.ts +4 -0
  339. package/types/undici/utility.d.ts +2 -0
  340. package/types/undici/webidl.d.ts +121 -0
  341. package/types/undici/websocket.d.ts +130 -0
  342. package/README.md +0 -3
@@ -0,0 +1,66 @@
1
+ declare module "node:https" {
2
+ import * as http from "node:http";
3
+ import { Duplex } from "node:stream";
4
+ import * as tls from "node:tls";
5
+ import { URL } from "node:url";
6
+ interface ServerOptions<Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse> extends http.ServerOptions<Request, Response>, tls.TlsOptions {
7
+ }
8
+ interface RequestOptions extends http.RequestOptions, tls.SecureContextOptions {
9
+ checkServerIdentity?: ((hostname: string, cert: tls.DetailedPeerCertificate) => Error | undefined) | undefined;
10
+ rejectUnauthorized?: boolean | undefined;
11
+ servername?: string | undefined;
12
+ }
13
+ interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
14
+ maxCachedSessions?: number | undefined;
15
+ }
16
+ class Agent extends http.Agent {
17
+ constructor(options?: AgentOptions);
18
+ options: AgentOptions;
19
+ createConnection(options: RequestOptions, callback?: (err: Error | null, stream: Duplex) => void): Duplex | null | undefined;
20
+ getName(options?: RequestOptions): string;
21
+ }
22
+ interface ServerEventMap<Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse> extends http.ServerEventMap<Request, Response>, tls.ServerEventMap {
23
+ }
24
+ class Server<Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse> extends tls.Server {
25
+ constructor(requestListener?: http.RequestListener<Request, Response>);
26
+ constructor(options: ServerOptions<Request, Response>, requestListener?: http.RequestListener<Request, Response>);
27
+ closeAllConnections(): void;
28
+ closeIdleConnections(): void;
29
+ addListener<E extends keyof ServerEventMap>(eventName: E, listener: (...args: ServerEventMap<Request, Response>[E]) => void): this;
30
+ addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
31
+ emit<E extends keyof ServerEventMap>(eventName: E, ...args: ServerEventMap<Request, Response>[E]): boolean;
32
+ emit(eventName: string | symbol, ...args: any[]): boolean;
33
+ listenerCount<E extends keyof ServerEventMap>(eventName: E, listener?: (...args: ServerEventMap<Request, Response>[E]) => void): number;
34
+ listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
35
+ listeners<E extends keyof ServerEventMap>(eventName: E): ((...args: ServerEventMap<Request, Response>[E]) => void)[];
36
+ listeners(eventName: string | symbol): ((...args: any[]) => void)[];
37
+ off<E extends keyof ServerEventMap>(eventName: E, listener: (...args: ServerEventMap<Request, Response>[E]) => void): this;
38
+ off(eventName: string | symbol, listener: (...args: any[]) => void): this;
39
+ on<E extends keyof ServerEventMap>(eventName: E, listener: (...args: ServerEventMap<Request, Response>[E]) => void): this;
40
+ on(eventName: string | symbol, listener: (...args: any[]) => void): this;
41
+ once<E extends keyof ServerEventMap>(eventName: E, listener: (...args: ServerEventMap<Request, Response>[E]) => void): this;
42
+ once(eventName: string | symbol, listener: (...args: any[]) => void): this;
43
+ prependListener<E extends keyof ServerEventMap>(eventName: E, listener: (...args: ServerEventMap<Request, Response>[E]) => void): this;
44
+ prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
45
+ prependOnceListener<E extends keyof ServerEventMap>(eventName: E, listener: (...args: ServerEventMap<Request, Response>[E]) => void): this;
46
+ prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
47
+ rawListeners<E extends keyof ServerEventMap>(eventName: E): ((...args: ServerEventMap<Request, Response>[E]) => void)[];
48
+ rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
49
+ removeAllListeners<E extends keyof ServerEventMap>(eventName?: E): this;
50
+ removeAllListeners(eventName?: string | symbol): this;
51
+ removeListener<E extends keyof ServerEventMap>(eventName: E, listener: (...args: ServerEventMap<Request, Response>[E]) => void): this;
52
+ removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
53
+ }
54
+ interface Server<Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse> extends http.Server<Request, Response> {
55
+ }
56
+ function createServer<Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse>(requestListener?: http.RequestListener<Request, Response>): Server<Request, Response>;
57
+ function createServer<Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse>(options: ServerOptions<Request, Response>, requestListener?: http.RequestListener<Request, Response>): Server<Request, Response>;
58
+ function request(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
59
+ function request(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
60
+ function get(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
61
+ function get(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
62
+ let globalAgent: Agent;
63
+ }
64
+ declare module "https" {
65
+ export * from "node:https";
66
+ }
@@ -0,0 +1,84 @@
1
+ /// <reference path="compatibility/iterators.d.ts" />
2
+ /// <reference path="globals.typedarray.d.ts" />
3
+ /// <reference path="buffer.buffer.d.ts" />
4
+ /// <reference path="globals.d.ts" />
5
+ /// <reference path="web-globals/abortcontroller.d.ts" />
6
+ /// <reference path="web-globals/blob.d.ts" />
7
+ /// <reference path="web-globals/console.d.ts" />
8
+ /// <reference path="web-globals/crypto.d.ts" />
9
+ /// <reference path="web-globals/domexception.d.ts" />
10
+ /// <reference path="web-globals/encoding.d.ts" />
11
+ /// <reference path="web-globals/events.d.ts" />
12
+ /// <reference path="web-globals/fetch.d.ts" />
13
+ /// <reference path="web-globals/importmeta.d.ts" />
14
+ /// <reference path="web-globals/messaging.d.ts" />
15
+ /// <reference path="web-globals/navigator.d.ts" />
16
+ /// <reference path="web-globals/performance.d.ts" />
17
+ /// <reference path="web-globals/storage.d.ts" />
18
+ /// <reference path="web-globals/streams.d.ts" />
19
+ /// <reference path="web-globals/timers.d.ts" />
20
+ /// <reference path="web-globals/url.d.ts" />
21
+ /// <reference path="assert.d.ts" />
22
+ /// <reference path="assert/strict.d.ts" />
23
+ /// <reference path="async_hooks.d.ts" />
24
+ /// <reference path="buffer.d.ts" />
25
+ /// <reference path="child_process.d.ts" />
26
+ /// <reference path="cluster.d.ts" />
27
+ /// <reference path="console.d.ts" />
28
+ /// <reference path="constants.d.ts" />
29
+ /// <reference path="crypto.d.ts" />
30
+ /// <reference path="dgram.d.ts" />
31
+ /// <reference path="diagnostics_channel.d.ts" />
32
+ /// <reference path="dns.d.ts" />
33
+ /// <reference path="dns/promises.d.ts" />
34
+ /// <reference path="domain.d.ts" />
35
+ /// <reference path="events.d.ts" />
36
+ /// <reference path="fs.d.ts" />
37
+ /// <reference path="fs/promises.d.ts" />
38
+ /// <reference path="http.d.ts" />
39
+ /// <reference path="http2.d.ts" />
40
+ /// <reference path="https.d.ts" />
41
+ /// <reference path="inspector.d.ts" />
42
+ /// <reference path="inspector.generated.d.ts" />
43
+ /// <reference path="inspector/promises.d.ts" />
44
+ /// <reference path="module.d.ts" />
45
+ /// <reference path="net.d.ts" />
46
+ /// <reference path="os.d.ts" />
47
+ /// <reference path="path.d.ts" />
48
+ /// <reference path="path/posix.d.ts" />
49
+ /// <reference path="path/win32.d.ts" />
50
+ /// <reference path="perf_hooks.d.ts" />
51
+ /// <reference path="process.d.ts" />
52
+ /// <reference path="punycode.d.ts" />
53
+ /// <reference path="querystring.d.ts" />
54
+ /// <reference path="quic.d.ts" />
55
+ /// <reference path="readline.d.ts" />
56
+ /// <reference path="readline/promises.d.ts" />
57
+ /// <reference path="repl.d.ts" />
58
+ /// <reference path="sea.d.ts" />
59
+ /// <reference path="sqlite.d.ts" />
60
+ /// <reference path="stream.d.ts" />
61
+ /// <reference path="stream/consumers.d.ts" />
62
+ /// <reference path="stream/iter.d.ts" />
63
+ /// <reference path="stream/promises.d.ts" />
64
+ /// <reference path="stream/web.d.ts" />
65
+ /// <reference path="string_decoder.d.ts" />
66
+ /// <reference path="test.d.ts" />
67
+ /// <reference path="test/reporters.d.ts" />
68
+ /// <reference path="timers.d.ts" />
69
+ /// <reference path="timers/promises.d.ts" />
70
+ /// <reference path="tls.d.ts" />
71
+ /// <reference path="trace_events.d.ts" />
72
+ /// <reference path="tty.d.ts" />
73
+ /// <reference path="url.d.ts" />
74
+ /// <reference path="util.d.ts" />
75
+ /// <reference path="util/types.d.ts" />
76
+ /// <reference path="v8.d.ts" />
77
+ /// <reference path="vm.d.ts" />
78
+ /// <reference path="wasi.d.ts" />
79
+ /// <reference path="worker_threads.d.ts" />
80
+ /// <reference path="zlib.d.ts" />
81
+ /// <reference path="zlib/iter.d.ts" />
82
+ /// <reference lib="es2020" />
83
+ /// <reference lib="esnext.disposable" />
84
+ /// <reference lib="esnext.float16" />
@@ -0,0 +1,13 @@
1
+ declare module "node:inspector/promises" {
2
+ import { EventEmitter } from "node:events";
3
+ export { close, console, NetworkResources, open, url, waitForDebugger } from "node:inspector";
4
+ export class Session extends EventEmitter {
5
+ constructor();
6
+ connect(): void;
7
+ connectToMainThread(): void;
8
+ disconnect(): void;
9
+ }
10
+ }
11
+ declare module "inspector/promises" {
12
+ export * from "node:inspector/promises";
13
+ }
@@ -0,0 +1,61 @@
1
+ declare module "node:inspector" {
2
+ import { EventEmitter } from "node:events";
3
+ class Session extends EventEmitter {
4
+ constructor();
5
+ connect(): void;
6
+ connectToMainThread(): void;
7
+ disconnect(): void;
8
+ }
9
+ function open(port?: number, host?: string, wait?: boolean): Disposable;
10
+ function close(): void;
11
+ function url(): string | undefined;
12
+ function waitForDebugger(): void;
13
+ interface InspectorConsole {
14
+ debug(...data: any[]): void;
15
+ error(...data: any[]): void;
16
+ info(...data: any[]): void;
17
+ log(...data: any[]): void;
18
+ warn(...data: any[]): void;
19
+ dir(...data: any[]): void;
20
+ dirxml(...data: any[]): void;
21
+ table(...data: any[]): void;
22
+ trace(...data: any[]): void;
23
+ group(...data: any[]): void;
24
+ groupCollapsed(...data: any[]): void;
25
+ groupEnd(...data: any[]): void;
26
+ clear(...data: any[]): void;
27
+ count(label?: any): void;
28
+ countReset(label?: any): void;
29
+ assert(value?: any, ...data: any[]): void;
30
+ profile(label?: any): void;
31
+ profileEnd(label?: any): void;
32
+ time(label?: any): void;
33
+ timeLog(label?: any): void;
34
+ timeStamp(label?: any): void;
35
+ }
36
+ const console: InspectorConsole;
37
+ namespace Network {
38
+ function requestWillBeSent(params: RequestWillBeSentEventDataType): void;
39
+ function dataReceived(params: DataReceivedEventDataType): void;
40
+ function dataSent(params: unknown): void;
41
+ function responseReceived(params: ResponseReceivedEventDataType): void;
42
+ function loadingFinished(params: LoadingFinishedEventDataType): void;
43
+ function loadingFailed(params: LoadingFailedEventDataType): void;
44
+ function webSocketCreated(params: WebSocketCreatedEventDataType): void;
45
+ function webSocketHandshakeResponseReceived(params: WebSocketHandshakeResponseReceivedEventDataType): void;
46
+ function webSocketClosed(params: WebSocketClosedEventDataType): void;
47
+ }
48
+ namespace NetworkResources {
49
+ function put(url: string, data: string): void;
50
+ }
51
+ namespace DOMStorage {
52
+ function domStorageItemAdded(params: DomStorageItemAddedEventDataType): void;
53
+ function domStorageItemRemoved(params: DomStorageItemRemovedEventDataType): void;
54
+ function domStorageItemUpdated(params: DomStorageItemUpdatedEventDataType): void;
55
+ function domStorageItemsCleared(params: DomStorageItemsClearedEventDataType): void;
56
+ function registerStorage(params: unknown): void;
57
+ }
58
+ }
59
+ declare module "inspector" {
60
+ export * from "node:inspector";
61
+ }