@anthropic-ai/claude-code 0.2.29 → 0.2.30

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 (415) hide show
  1. package/cli.mjs +442 -690
  2. package/package.json +1 -5
  3. package/vendor/sdk/CHANGELOG.md +0 -1421
  4. package/vendor/sdk/LICENSE +0 -8
  5. package/vendor/sdk/README.md +0 -536
  6. package/vendor/sdk/_shims/MultipartBody.d.ts +0 -9
  7. package/vendor/sdk/_shims/MultipartBody.d.ts.map +0 -1
  8. package/vendor/sdk/_shims/MultipartBody.js +0 -16
  9. package/vendor/sdk/_shims/MultipartBody.js.map +0 -1
  10. package/vendor/sdk/_shims/MultipartBody.mjs +0 -12
  11. package/vendor/sdk/_shims/MultipartBody.mjs.map +0 -1
  12. package/vendor/sdk/_shims/README.md +0 -46
  13. package/vendor/sdk/_shims/auto/runtime-bun.d.ts +0 -5
  14. package/vendor/sdk/_shims/auto/runtime-bun.d.ts.map +0 -1
  15. package/vendor/sdk/_shims/auto/runtime-bun.js +0 -21
  16. package/vendor/sdk/_shims/auto/runtime-bun.js.map +0 -1
  17. package/vendor/sdk/_shims/auto/runtime-bun.mjs +0 -2
  18. package/vendor/sdk/_shims/auto/runtime-bun.mjs.map +0 -1
  19. package/vendor/sdk/_shims/auto/runtime-node.d.ts +0 -5
  20. package/vendor/sdk/_shims/auto/runtime-node.d.ts.map +0 -1
  21. package/vendor/sdk/_shims/auto/runtime-node.js +0 -21
  22. package/vendor/sdk/_shims/auto/runtime-node.js.map +0 -1
  23. package/vendor/sdk/_shims/auto/runtime-node.mjs +0 -2
  24. package/vendor/sdk/_shims/auto/runtime-node.mjs.map +0 -1
  25. package/vendor/sdk/_shims/auto/runtime.d.ts +0 -5
  26. package/vendor/sdk/_shims/auto/runtime.d.ts.map +0 -1
  27. package/vendor/sdk/_shims/auto/runtime.js +0 -21
  28. package/vendor/sdk/_shims/auto/runtime.js.map +0 -1
  29. package/vendor/sdk/_shims/auto/runtime.mjs +0 -2
  30. package/vendor/sdk/_shims/auto/runtime.mjs.map +0 -1
  31. package/vendor/sdk/_shims/auto/types-node.d.ts +0 -5
  32. package/vendor/sdk/_shims/auto/types-node.d.ts.map +0 -1
  33. package/vendor/sdk/_shims/auto/types-node.js +0 -21
  34. package/vendor/sdk/_shims/auto/types-node.js.map +0 -1
  35. package/vendor/sdk/_shims/auto/types-node.mjs +0 -2
  36. package/vendor/sdk/_shims/auto/types-node.mjs.map +0 -1
  37. package/vendor/sdk/_shims/auto/types.d.ts +0 -101
  38. package/vendor/sdk/_shims/auto/types.js +0 -3
  39. package/vendor/sdk/_shims/auto/types.mjs +0 -3
  40. package/vendor/sdk/_shims/bun-runtime.d.ts +0 -6
  41. package/vendor/sdk/_shims/bun-runtime.d.ts.map +0 -1
  42. package/vendor/sdk/_shims/bun-runtime.js +0 -14
  43. package/vendor/sdk/_shims/bun-runtime.js.map +0 -1
  44. package/vendor/sdk/_shims/bun-runtime.mjs +0 -10
  45. package/vendor/sdk/_shims/bun-runtime.mjs.map +0 -1
  46. package/vendor/sdk/_shims/index.d.ts +0 -81
  47. package/vendor/sdk/_shims/index.js +0 -13
  48. package/vendor/sdk/_shims/index.mjs +0 -7
  49. package/vendor/sdk/_shims/manual-types.d.ts +0 -12
  50. package/vendor/sdk/_shims/manual-types.js +0 -3
  51. package/vendor/sdk/_shims/manual-types.mjs +0 -3
  52. package/vendor/sdk/_shims/node-runtime.d.ts +0 -3
  53. package/vendor/sdk/_shims/node-runtime.d.ts.map +0 -1
  54. package/vendor/sdk/_shims/node-runtime.js +0 -89
  55. package/vendor/sdk/_shims/node-runtime.js.map +0 -1
  56. package/vendor/sdk/_shims/node-runtime.mjs +0 -56
  57. package/vendor/sdk/_shims/node-runtime.mjs.map +0 -1
  58. package/vendor/sdk/_shims/node-types.d.ts +0 -42
  59. package/vendor/sdk/_shims/node-types.js +0 -3
  60. package/vendor/sdk/_shims/node-types.mjs +0 -3
  61. package/vendor/sdk/_shims/registry.d.ts +0 -37
  62. package/vendor/sdk/_shims/registry.d.ts.map +0 -1
  63. package/vendor/sdk/_shims/registry.js +0 -41
  64. package/vendor/sdk/_shims/registry.js.map +0 -1
  65. package/vendor/sdk/_shims/registry.mjs +0 -37
  66. package/vendor/sdk/_shims/registry.mjs.map +0 -1
  67. package/vendor/sdk/_shims/web-runtime.d.ts +0 -5
  68. package/vendor/sdk/_shims/web-runtime.d.ts.map +0 -1
  69. package/vendor/sdk/_shims/web-runtime.js +0 -78
  70. package/vendor/sdk/_shims/web-runtime.js.map +0 -1
  71. package/vendor/sdk/_shims/web-runtime.mjs +0 -71
  72. package/vendor/sdk/_shims/web-runtime.mjs.map +0 -1
  73. package/vendor/sdk/_shims/web-types.d.ts +0 -83
  74. package/vendor/sdk/_shims/web-types.js +0 -3
  75. package/vendor/sdk/_shims/web-types.mjs +0 -3
  76. package/vendor/sdk/_vendor/partial-json-parser/parser.d.ts +0 -3
  77. package/vendor/sdk/_vendor/partial-json-parser/parser.d.ts.map +0 -1
  78. package/vendor/sdk/_vendor/partial-json-parser/parser.js +0 -226
  79. package/vendor/sdk/_vendor/partial-json-parser/parser.js.map +0 -1
  80. package/vendor/sdk/_vendor/partial-json-parser/parser.mjs +0 -223
  81. package/vendor/sdk/_vendor/partial-json-parser/parser.mjs.map +0 -1
  82. package/vendor/sdk/core.d.ts +0 -248
  83. package/vendor/sdk/core.d.ts.map +0 -1
  84. package/vendor/sdk/core.js +0 -935
  85. package/vendor/sdk/core.js.map +0 -1
  86. package/vendor/sdk/core.mjs +0 -903
  87. package/vendor/sdk/core.mjs.map +0 -1
  88. package/vendor/sdk/error.d.ts +0 -48
  89. package/vendor/sdk/error.d.ts.map +0 -1
  90. package/vendor/sdk/error.js +0 -114
  91. package/vendor/sdk/error.js.map +0 -1
  92. package/vendor/sdk/error.mjs +0 -98
  93. package/vendor/sdk/error.mjs.map +0 -1
  94. package/vendor/sdk/index.d.mts +0 -152
  95. package/vendor/sdk/index.d.ts +0 -152
  96. package/vendor/sdk/index.d.ts.map +0 -1
  97. package/vendor/sdk/index.js +0 -179
  98. package/vendor/sdk/index.js.map +0 -1
  99. package/vendor/sdk/index.mjs +0 -136
  100. package/vendor/sdk/index.mjs.map +0 -1
  101. package/vendor/sdk/internal/decoders/jsonl.d.ts +0 -12
  102. package/vendor/sdk/internal/decoders/jsonl.d.ts.map +0 -1
  103. package/vendor/sdk/internal/decoders/jsonl.js +0 -35
  104. package/vendor/sdk/internal/decoders/jsonl.js.map +0 -1
  105. package/vendor/sdk/internal/decoders/jsonl.mjs +0 -31
  106. package/vendor/sdk/internal/decoders/jsonl.mjs.map +0 -1
  107. package/vendor/sdk/internal/decoders/line.d.ts +0 -20
  108. package/vendor/sdk/internal/decoders/line.d.ts.map +0 -1
  109. package/vendor/sdk/internal/decoders/line.js +0 -123
  110. package/vendor/sdk/internal/decoders/line.js.map +0 -1
  111. package/vendor/sdk/internal/decoders/line.mjs +0 -119
  112. package/vendor/sdk/internal/decoders/line.mjs.map +0 -1
  113. package/vendor/sdk/internal/stream-utils.d.ts +0 -8
  114. package/vendor/sdk/internal/stream-utils.d.ts.map +0 -1
  115. package/vendor/sdk/internal/stream-utils.js +0 -39
  116. package/vendor/sdk/internal/stream-utils.js.map +0 -1
  117. package/vendor/sdk/internal/stream-utils.mjs +0 -35
  118. package/vendor/sdk/internal/stream-utils.mjs.map +0 -1
  119. package/vendor/sdk/lib/BetaMessageStream.d.ts +0 -114
  120. package/vendor/sdk/lib/BetaMessageStream.d.ts.map +0 -1
  121. package/vendor/sdk/lib/BetaMessageStream.js +0 -547
  122. package/vendor/sdk/lib/BetaMessageStream.js.map +0 -1
  123. package/vendor/sdk/lib/BetaMessageStream.mjs +0 -543
  124. package/vendor/sdk/lib/BetaMessageStream.mjs.map +0 -1
  125. package/vendor/sdk/lib/MessageStream.d.ts +0 -114
  126. package/vendor/sdk/lib/MessageStream.d.ts.map +0 -1
  127. package/vendor/sdk/lib/MessageStream.js +0 -547
  128. package/vendor/sdk/lib/MessageStream.js.map +0 -1
  129. package/vendor/sdk/lib/MessageStream.mjs +0 -543
  130. package/vendor/sdk/lib/MessageStream.mjs.map +0 -1
  131. package/vendor/sdk/node_modules/@types/node/LICENSE +0 -21
  132. package/vendor/sdk/node_modules/@types/node/README.md +0 -15
  133. package/vendor/sdk/node_modules/@types/node/assert/strict.d.ts +0 -8
  134. package/vendor/sdk/node_modules/@types/node/assert.d.ts +0 -985
  135. package/vendor/sdk/node_modules/@types/node/async_hooks.d.ts +0 -522
  136. package/vendor/sdk/node_modules/@types/node/buffer.buffer.d.ts +0 -385
  137. package/vendor/sdk/node_modules/@types/node/buffer.d.ts +0 -1903
  138. package/vendor/sdk/node_modules/@types/node/child_process.d.ts +0 -1549
  139. package/vendor/sdk/node_modules/@types/node/cluster.d.ts +0 -578
  140. package/vendor/sdk/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  141. package/vendor/sdk/node_modules/@types/node/compatibility/index.d.ts +0 -9
  142. package/vendor/sdk/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  143. package/vendor/sdk/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  144. package/vendor/sdk/node_modules/@types/node/console.d.ts +0 -452
  145. package/vendor/sdk/node_modules/@types/node/constants.d.ts +0 -19
  146. package/vendor/sdk/node_modules/@types/node/crypto.d.ts +0 -4453
  147. package/vendor/sdk/node_modules/@types/node/dgram.d.ts +0 -596
  148. package/vendor/sdk/node_modules/@types/node/diagnostics_channel.d.ts +0 -546
  149. package/vendor/sdk/node_modules/@types/node/dns/promises.d.ts +0 -475
  150. package/vendor/sdk/node_modules/@types/node/dns.d.ts +0 -853
  151. package/vendor/sdk/node_modules/@types/node/dom-events.d.ts +0 -124
  152. package/vendor/sdk/node_modules/@types/node/domain.d.ts +0 -170
  153. package/vendor/sdk/node_modules/@types/node/events.d.ts +0 -819
  154. package/vendor/sdk/node_modules/@types/node/fs/promises.d.ts +0 -1205
  155. package/vendor/sdk/node_modules/@types/node/fs.d.ts +0 -4237
  156. package/vendor/sdk/node_modules/@types/node/globals.d.ts +0 -442
  157. package/vendor/sdk/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  158. package/vendor/sdk/node_modules/@types/node/http.d.ts +0 -1839
  159. package/vendor/sdk/node_modules/@types/node/http2.d.ts +0 -2517
  160. package/vendor/sdk/node_modules/@types/node/https.d.ts +0 -544
  161. package/vendor/sdk/node_modules/@types/node/index.d.ts +0 -90
  162. package/vendor/sdk/node_modules/@types/node/inspector.d.ts +0 -2775
  163. package/vendor/sdk/node_modules/@types/node/module.d.ts +0 -291
  164. package/vendor/sdk/node_modules/@types/node/net.d.ts +0 -924
  165. package/vendor/sdk/node_modules/@types/node/os.d.ts +0 -473
  166. package/vendor/sdk/node_modules/@types/node/package.json +0 -225
  167. package/vendor/sdk/node_modules/@types/node/path.d.ts +0 -191
  168. package/vendor/sdk/node_modules/@types/node/perf_hooks.d.ts +0 -753
  169. package/vendor/sdk/node_modules/@types/node/process.d.ts +0 -1553
  170. package/vendor/sdk/node_modules/@types/node/punycode.d.ts +0 -117
  171. package/vendor/sdk/node_modules/@types/node/querystring.d.ts +0 -141
  172. package/vendor/sdk/node_modules/@types/node/readline/promises.d.ts +0 -154
  173. package/vendor/sdk/node_modules/@types/node/readline.d.ts +0 -715
  174. package/vendor/sdk/node_modules/@types/node/repl.d.ts +0 -430
  175. package/vendor/sdk/node_modules/@types/node/stream/consumers.d.ts +0 -12
  176. package/vendor/sdk/node_modules/@types/node/stream/promises.d.ts +0 -90
  177. package/vendor/sdk/node_modules/@types/node/stream/web.d.ts +0 -523
  178. package/vendor/sdk/node_modules/@types/node/stream.d.ts +0 -1731
  179. package/vendor/sdk/node_modules/@types/node/string_decoder.d.ts +0 -67
  180. package/vendor/sdk/node_modules/@types/node/test.d.ts +0 -1245
  181. package/vendor/sdk/node_modules/@types/node/timers/promises.d.ts +0 -93
  182. package/vendor/sdk/node_modules/@types/node/timers.d.ts +0 -126
  183. package/vendor/sdk/node_modules/@types/node/tls.d.ts +0 -1203
  184. package/vendor/sdk/node_modules/@types/node/trace_events.d.ts +0 -171
  185. package/vendor/sdk/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -385
  186. package/vendor/sdk/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  187. package/vendor/sdk/node_modules/@types/node/ts5.6/index.d.ts +0 -90
  188. package/vendor/sdk/node_modules/@types/node/tty.d.ts +0 -206
  189. package/vendor/sdk/node_modules/@types/node/url.d.ts +0 -957
  190. package/vendor/sdk/node_modules/@types/node/util.d.ts +0 -2083
  191. package/vendor/sdk/node_modules/@types/node/v8.d.ts +0 -753
  192. package/vendor/sdk/node_modules/@types/node/vm.d.ts +0 -666
  193. package/vendor/sdk/node_modules/@types/node/wasi.d.ts +0 -160
  194. package/vendor/sdk/node_modules/@types/node/worker_threads.d.ts +0 -695
  195. package/vendor/sdk/node_modules/@types/node/zlib.d.ts +0 -517
  196. package/vendor/sdk/node_modules/undici-types/README.md +0 -6
  197. package/vendor/sdk/node_modules/undici-types/agent.d.ts +0 -31
  198. package/vendor/sdk/node_modules/undici-types/api.d.ts +0 -43
  199. package/vendor/sdk/node_modules/undici-types/balanced-pool.d.ts +0 -18
  200. package/vendor/sdk/node_modules/undici-types/cache.d.ts +0 -36
  201. package/vendor/sdk/node_modules/undici-types/client.d.ts +0 -97
  202. package/vendor/sdk/node_modules/undici-types/connector.d.ts +0 -34
  203. package/vendor/sdk/node_modules/undici-types/content-type.d.ts +0 -21
  204. package/vendor/sdk/node_modules/undici-types/cookies.d.ts +0 -28
  205. package/vendor/sdk/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
  206. package/vendor/sdk/node_modules/undici-types/dispatcher.d.ts +0 -241
  207. package/vendor/sdk/node_modules/undici-types/errors.d.ts +0 -128
  208. package/vendor/sdk/node_modules/undici-types/fetch.d.ts +0 -209
  209. package/vendor/sdk/node_modules/undici-types/file.d.ts +0 -39
  210. package/vendor/sdk/node_modules/undici-types/filereader.d.ts +0 -54
  211. package/vendor/sdk/node_modules/undici-types/formdata.d.ts +0 -108
  212. package/vendor/sdk/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  213. package/vendor/sdk/node_modules/undici-types/global-origin.d.ts +0 -7
  214. package/vendor/sdk/node_modules/undici-types/handlers.d.ts +0 -9
  215. package/vendor/sdk/node_modules/undici-types/header.d.ts +0 -4
  216. package/vendor/sdk/node_modules/undici-types/index.d.ts +0 -63
  217. package/vendor/sdk/node_modules/undici-types/interceptors.d.ts +0 -5
  218. package/vendor/sdk/node_modules/undici-types/mock-agent.d.ts +0 -50
  219. package/vendor/sdk/node_modules/undici-types/mock-client.d.ts +0 -25
  220. package/vendor/sdk/node_modules/undici-types/mock-errors.d.ts +0 -12
  221. package/vendor/sdk/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  222. package/vendor/sdk/node_modules/undici-types/mock-pool.d.ts +0 -25
  223. package/vendor/sdk/node_modules/undici-types/package.json +0 -55
  224. package/vendor/sdk/node_modules/undici-types/patch.d.ts +0 -71
  225. package/vendor/sdk/node_modules/undici-types/pool-stats.d.ts +0 -19
  226. package/vendor/sdk/node_modules/undici-types/pool.d.ts +0 -28
  227. package/vendor/sdk/node_modules/undici-types/proxy-agent.d.ts +0 -30
  228. package/vendor/sdk/node_modules/undici-types/readable.d.ts +0 -61
  229. package/vendor/sdk/node_modules/undici-types/webidl.d.ts +0 -220
  230. package/vendor/sdk/node_modules/undici-types/websocket.d.ts +0 -131
  231. package/vendor/sdk/package.json +0 -124
  232. package/vendor/sdk/pagination.d.ts +0 -27
  233. package/vendor/sdk/pagination.d.ts.map +0 -1
  234. package/vendor/sdk/pagination.js +0 -60
  235. package/vendor/sdk/pagination.js.map +0 -1
  236. package/vendor/sdk/pagination.mjs +0 -56
  237. package/vendor/sdk/pagination.mjs.map +0 -1
  238. package/vendor/sdk/resource.d.ts +0 -6
  239. package/vendor/sdk/resource.d.ts.map +0 -1
  240. package/vendor/sdk/resource.js +0 -11
  241. package/vendor/sdk/resource.js.map +0 -1
  242. package/vendor/sdk/resource.mjs +0 -7
  243. package/vendor/sdk/resource.mjs.map +0 -1
  244. package/vendor/sdk/resources/beta/beta.d.ts +0 -57
  245. package/vendor/sdk/resources/beta/beta.d.ts.map +0 -1
  246. package/vendor/sdk/resources/beta/beta.js +0 -44
  247. package/vendor/sdk/resources/beta/beta.js.map +0 -1
  248. package/vendor/sdk/resources/beta/beta.mjs +0 -17
  249. package/vendor/sdk/resources/beta/beta.mjs.map +0 -1
  250. package/vendor/sdk/resources/beta/index.d.ts +0 -4
  251. package/vendor/sdk/resources/beta/index.d.ts.map +0 -1
  252. package/vendor/sdk/resources/beta/index.js +0 -12
  253. package/vendor/sdk/resources/beta/index.js.map +0 -1
  254. package/vendor/sdk/resources/beta/index.mjs +0 -5
  255. package/vendor/sdk/resources/beta/index.mjs.map +0 -1
  256. package/vendor/sdk/resources/beta/messages/batches.d.ts +0 -289
  257. package/vendor/sdk/resources/beta/messages/batches.d.ts.map +0 -1
  258. package/vendor/sdk/resources/beta/messages/batches.js +0 -112
  259. package/vendor/sdk/resources/beta/messages/batches.js.map +0 -1
  260. package/vendor/sdk/resources/beta/messages/batches.mjs +0 -107
  261. package/vendor/sdk/resources/beta/messages/batches.mjs.map +0 -1
  262. package/vendor/sdk/resources/beta/messages/index.d.ts +0 -3
  263. package/vendor/sdk/resources/beta/messages/index.d.ts.map +0 -1
  264. package/vendor/sdk/resources/beta/messages/index.js +0 -10
  265. package/vendor/sdk/resources/beta/messages/index.js.map +0 -1
  266. package/vendor/sdk/resources/beta/messages/index.mjs +0 -4
  267. package/vendor/sdk/resources/beta/messages/index.mjs.map +0 -1
  268. package/vendor/sdk/resources/beta/messages/messages.d.ts +0 -1038
  269. package/vendor/sdk/resources/beta/messages/messages.d.ts.map +0 -1
  270. package/vendor/sdk/resources/beta/messages/messages.js +0 -93
  271. package/vendor/sdk/resources/beta/messages/messages.js.map +0 -1
  272. package/vendor/sdk/resources/beta/messages/messages.mjs +0 -66
  273. package/vendor/sdk/resources/beta/messages/messages.mjs.map +0 -1
  274. package/vendor/sdk/resources/beta/models.d.ts +0 -49
  275. package/vendor/sdk/resources/beta/models.d.ts.map +0 -1
  276. package/vendor/sdk/resources/beta/models.js +0 -30
  277. package/vendor/sdk/resources/beta/models.js.map +0 -1
  278. package/vendor/sdk/resources/beta/models.mjs +0 -25
  279. package/vendor/sdk/resources/beta/models.mjs.map +0 -1
  280. package/vendor/sdk/resources/completions.d.ts +0 -166
  281. package/vendor/sdk/resources/completions.d.ts.map +0 -1
  282. package/vendor/sdk/resources/completions.js +0 -17
  283. package/vendor/sdk/resources/completions.js.map +0 -1
  284. package/vendor/sdk/resources/completions.mjs +0 -13
  285. package/vendor/sdk/resources/completions.mjs.map +0 -1
  286. package/vendor/sdk/resources/index.d.ts +0 -6
  287. package/vendor/sdk/resources/index.d.ts.map +0 -1
  288. package/vendor/sdk/resources/index.js +0 -29
  289. package/vendor/sdk/resources/index.js.map +0 -1
  290. package/vendor/sdk/resources/index.mjs +0 -7
  291. package/vendor/sdk/resources/index.mjs.map +0 -1
  292. package/vendor/sdk/resources/messages/batches.d.ts +0 -253
  293. package/vendor/sdk/resources/messages/batches.d.ts.map +0 -1
  294. package/vendor/sdk/resources/messages/batches.js +0 -102
  295. package/vendor/sdk/resources/messages/batches.js.map +0 -1
  296. package/vendor/sdk/resources/messages/batches.mjs +0 -97
  297. package/vendor/sdk/resources/messages/batches.mjs.map +0 -1
  298. package/vendor/sdk/resources/messages/index.d.ts +0 -3
  299. package/vendor/sdk/resources/messages/index.d.ts.map +0 -1
  300. package/vendor/sdk/resources/messages/index.js +0 -10
  301. package/vendor/sdk/resources/messages/index.js.map +0 -1
  302. package/vendor/sdk/resources/messages/index.mjs +0 -4
  303. package/vendor/sdk/resources/messages/index.mjs.map +0 -1
  304. package/vendor/sdk/resources/messages/messages.d.ts +0 -1028
  305. package/vendor/sdk/resources/messages/messages.d.ts.map +0 -1
  306. package/vendor/sdk/resources/messages/messages.js +0 -82
  307. package/vendor/sdk/resources/messages/messages.js.map +0 -1
  308. package/vendor/sdk/resources/messages/messages.mjs +0 -54
  309. package/vendor/sdk/resources/messages/messages.mjs.map +0 -1
  310. package/vendor/sdk/resources/models.d.ts +0 -49
  311. package/vendor/sdk/resources/models.d.ts.map +0 -1
  312. package/vendor/sdk/resources/models.js +0 -30
  313. package/vendor/sdk/resources/models.js.map +0 -1
  314. package/vendor/sdk/resources/models.mjs +0 -25
  315. package/vendor/sdk/resources/models.mjs.map +0 -1
  316. package/vendor/sdk/resources/shared.d.ts +0 -42
  317. package/vendor/sdk/resources/shared.d.ts.map +0 -1
  318. package/vendor/sdk/resources/shared.js +0 -4
  319. package/vendor/sdk/resources/shared.js.map +0 -1
  320. package/vendor/sdk/resources/shared.mjs +0 -3
  321. package/vendor/sdk/resources/shared.mjs.map +0 -1
  322. package/vendor/sdk/resources/top-level.d.ts +0 -2
  323. package/vendor/sdk/resources/top-level.d.ts.map +0 -1
  324. package/vendor/sdk/resources/top-level.js +0 -4
  325. package/vendor/sdk/resources/top-level.js.map +0 -1
  326. package/vendor/sdk/resources/top-level.mjs +0 -3
  327. package/vendor/sdk/resources/top-level.mjs.map +0 -1
  328. package/vendor/sdk/shims/node.d.ts +0 -30
  329. package/vendor/sdk/shims/node.d.ts.map +0 -1
  330. package/vendor/sdk/shims/node.js +0 -31
  331. package/vendor/sdk/shims/node.js.map +0 -1
  332. package/vendor/sdk/shims/node.mjs +0 -5
  333. package/vendor/sdk/shims/node.mjs.map +0 -1
  334. package/vendor/sdk/shims/web.d.ts +0 -26
  335. package/vendor/sdk/shims/web.d.ts.map +0 -1
  336. package/vendor/sdk/shims/web.js +0 -31
  337. package/vendor/sdk/shims/web.js.map +0 -1
  338. package/vendor/sdk/shims/web.mjs +0 -5
  339. package/vendor/sdk/shims/web.mjs.map +0 -1
  340. package/vendor/sdk/src/_shims/MultipartBody.ts +0 -9
  341. package/vendor/sdk/src/_shims/README.md +0 -46
  342. package/vendor/sdk/src/_shims/auto/runtime-bun.ts +0 -4
  343. package/vendor/sdk/src/_shims/auto/runtime-node.ts +0 -4
  344. package/vendor/sdk/src/_shims/auto/runtime.ts +0 -4
  345. package/vendor/sdk/src/_shims/auto/types-node.ts +0 -4
  346. package/vendor/sdk/src/_shims/auto/types.d.ts +0 -101
  347. package/vendor/sdk/src/_shims/auto/types.js +0 -3
  348. package/vendor/sdk/src/_shims/auto/types.mjs +0 -3
  349. package/vendor/sdk/src/_shims/bun-runtime.ts +0 -14
  350. package/vendor/sdk/src/_shims/index.d.ts +0 -81
  351. package/vendor/sdk/src/_shims/index.js +0 -13
  352. package/vendor/sdk/src/_shims/index.mjs +0 -7
  353. package/vendor/sdk/src/_shims/manual-types.d.ts +0 -12
  354. package/vendor/sdk/src/_shims/manual-types.js +0 -3
  355. package/vendor/sdk/src/_shims/manual-types.mjs +0 -3
  356. package/vendor/sdk/src/_shims/node-runtime.ts +0 -81
  357. package/vendor/sdk/src/_shims/node-types.d.ts +0 -42
  358. package/vendor/sdk/src/_shims/node-types.js +0 -3
  359. package/vendor/sdk/src/_shims/node-types.mjs +0 -3
  360. package/vendor/sdk/src/_shims/registry.ts +0 -67
  361. package/vendor/sdk/src/_shims/web-runtime.ts +0 -103
  362. package/vendor/sdk/src/_shims/web-types.d.ts +0 -83
  363. package/vendor/sdk/src/_shims/web-types.js +0 -3
  364. package/vendor/sdk/src/_shims/web-types.mjs +0 -3
  365. package/vendor/sdk/src/_vendor/partial-json-parser/README.md +0 -3
  366. package/vendor/sdk/src/_vendor/partial-json-parser/parser.ts +0 -264
  367. package/vendor/sdk/src/core.ts +0 -1250
  368. package/vendor/sdk/src/error.ts +0 -133
  369. package/vendor/sdk/src/index.ts +0 -465
  370. package/vendor/sdk/src/internal/decoders/jsonl.ts +0 -41
  371. package/vendor/sdk/src/internal/decoders/line.ts +0 -145
  372. package/vendor/sdk/src/internal/stream-utils.ts +0 -32
  373. package/vendor/sdk/src/lib/.keep +0 -4
  374. package/vendor/sdk/src/lib/BetaMessageStream.ts +0 -661
  375. package/vendor/sdk/src/lib/MessageStream.ts +0 -662
  376. package/vendor/sdk/src/pagination.ts +0 -92
  377. package/vendor/sdk/src/resource.ts +0 -11
  378. package/vendor/sdk/src/resources/beta/beta.ts +0 -249
  379. package/vendor/sdk/src/resources/beta/index.ts +0 -83
  380. package/vendor/sdk/src/resources/beta/messages/batches.ts +0 -486
  381. package/vendor/sdk/src/resources/beta/messages/index.ts +0 -87
  382. package/vendor/sdk/src/resources/beta/messages/messages.ts +0 -1444
  383. package/vendor/sdk/src/resources/beta/models.ts +0 -78
  384. package/vendor/sdk/src/resources/completions.ts +0 -210
  385. package/vendor/sdk/src/resources/index.ts +0 -95
  386. package/vendor/sdk/src/resources/messages/batches.ts +0 -352
  387. package/vendor/sdk/src/resources/messages/index.ts +0 -85
  388. package/vendor/sdk/src/resources/messages/messages.ts +0 -1412
  389. package/vendor/sdk/src/resources/models.ts +0 -75
  390. package/vendor/sdk/src/resources/shared.ts +0 -72
  391. package/vendor/sdk/src/resources/top-level.ts +0 -3
  392. package/vendor/sdk/src/shims/node.ts +0 -50
  393. package/vendor/sdk/src/shims/web.ts +0 -50
  394. package/vendor/sdk/src/streaming.ts +0 -372
  395. package/vendor/sdk/src/tsconfig.json +0 -11
  396. package/vendor/sdk/src/uploads.ts +0 -255
  397. package/vendor/sdk/src/version.ts +0 -1
  398. package/vendor/sdk/streaming.d.ts +0 -36
  399. package/vendor/sdk/streaming.d.ts.map +0 -1
  400. package/vendor/sdk/streaming.js +0 -316
  401. package/vendor/sdk/streaming.js.map +0 -1
  402. package/vendor/sdk/streaming.mjs +0 -310
  403. package/vendor/sdk/streaming.mjs.map +0 -1
  404. package/vendor/sdk/uploads.d.ts +0 -75
  405. package/vendor/sdk/uploads.d.ts.map +0 -1
  406. package/vendor/sdk/uploads.js +0 -171
  407. package/vendor/sdk/uploads.js.map +0 -1
  408. package/vendor/sdk/uploads.mjs +0 -158
  409. package/vendor/sdk/uploads.mjs.map +0 -1
  410. package/vendor/sdk/version.d.ts +0 -2
  411. package/vendor/sdk/version.d.ts.map +0 -1
  412. package/vendor/sdk/version.js +0 -5
  413. package/vendor/sdk/version.js.map +0 -1
  414. package/vendor/sdk/version.mjs +0 -2
  415. package/vendor/sdk/version.mjs.map +0 -1
@@ -1,473 +0,0 @@
1
- /**
2
- * The `os` module provides operating system-related utility methods and
3
- * properties. It can be accessed using:
4
- *
5
- * ```js
6
- * import os from 'node:os';
7
- * ```
8
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/os.js)
9
- */
10
- declare module "os" {
11
- interface CpuInfo {
12
- model: string;
13
- speed: number;
14
- times: {
15
- user: number;
16
- nice: number;
17
- sys: number;
18
- idle: number;
19
- irq: number;
20
- };
21
- }
22
- interface NetworkInterfaceBase {
23
- address: string;
24
- netmask: string;
25
- mac: string;
26
- internal: boolean;
27
- cidr: string | null;
28
- }
29
- interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
30
- family: "IPv4";
31
- scopeid?: undefined;
32
- }
33
- interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
34
- family: "IPv6";
35
- scopeid: number;
36
- }
37
- interface UserInfo<T> {
38
- username: T;
39
- uid: number;
40
- gid: number;
41
- shell: T | null;
42
- homedir: T;
43
- }
44
- type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
45
- /**
46
- * Returns the host name of the operating system as a string.
47
- * @since v0.3.3
48
- */
49
- function hostname(): string;
50
- /**
51
- * Returns an array containing the 1, 5, and 15 minute load averages.
52
- *
53
- * The load average is a measure of system activity calculated by the operating
54
- * system and expressed as a fractional number.
55
- *
56
- * The load average is a Unix-specific concept. On Windows, the return value is
57
- * always `[0, 0, 0]`.
58
- * @since v0.3.3
59
- */
60
- function loadavg(): number[];
61
- /**
62
- * Returns the system uptime in number of seconds.
63
- * @since v0.3.3
64
- */
65
- function uptime(): number;
66
- /**
67
- * Returns the amount of free system memory in bytes as an integer.
68
- * @since v0.3.3
69
- */
70
- function freemem(): number;
71
- /**
72
- * Returns the total amount of system memory in bytes as an integer.
73
- * @since v0.3.3
74
- */
75
- function totalmem(): number;
76
- /**
77
- * Returns an array of objects containing information about each logical CPU core.
78
- *
79
- * The properties included on each object include:
80
- *
81
- * ```js
82
- * [
83
- * {
84
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
85
- * speed: 2926,
86
- * times: {
87
- * user: 252020,
88
- * nice: 0,
89
- * sys: 30340,
90
- * idle: 1070356870,
91
- * irq: 0
92
- * }
93
- * },
94
- * {
95
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
96
- * speed: 2926,
97
- * times: {
98
- * user: 306960,
99
- * nice: 0,
100
- * sys: 26980,
101
- * idle: 1071569080,
102
- * irq: 0
103
- * }
104
- * },
105
- * {
106
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
107
- * speed: 2926,
108
- * times: {
109
- * user: 248450,
110
- * nice: 0,
111
- * sys: 21750,
112
- * idle: 1070919370,
113
- * irq: 0
114
- * }
115
- * },
116
- * {
117
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
118
- * speed: 2926,
119
- * times: {
120
- * user: 256880,
121
- * nice: 0,
122
- * sys: 19430,
123
- * idle: 1070905480,
124
- * irq: 20
125
- * }
126
- * },
127
- * ]
128
- * ```
129
- *
130
- * `nice` values are POSIX-only. On Windows, the `nice` values of all processors
131
- * are always 0.
132
- * @since v0.3.3
133
- */
134
- function cpus(): CpuInfo[];
135
- /**
136
- * Returns an estimate of the default amount of parallelism a program should use. Always returns a value greater than zero.
137
- *
138
- * This function is a small wrapper about libuv's [`uv_available_parallelism()`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_available_parallelism).
139
- * @since 18.4.0
140
- */
141
- function availableParallelism(): number;
142
- /**
143
- * Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it
144
- * returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows.
145
- *
146
- * See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information
147
- * about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems.
148
- * @since v0.3.3
149
- */
150
- function type(): string;
151
- /**
152
- * Returns the operating system as a string.
153
- *
154
- * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See
155
- * [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
156
- * @since v0.3.3
157
- */
158
- function release(): string;
159
- /**
160
- * Returns an object containing network interfaces that have been assigned a
161
- * network address.
162
- *
163
- * Each key on the returned object identifies a network interface. The associated
164
- * value is an array of objects that each describe an assigned network address.
165
- *
166
- * The properties available on the assigned network address object include:
167
- *
168
- * ```js
169
- * {
170
- * lo: [
171
- * {
172
- * address: '127.0.0.1',
173
- * netmask: '255.0.0.0',
174
- * family: 'IPv4',
175
- * mac: '00:00:00:00:00:00',
176
- * internal: true,
177
- * cidr: '127.0.0.1/8'
178
- * },
179
- * {
180
- * address: '::1',
181
- * netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
182
- * family: 'IPv6',
183
- * mac: '00:00:00:00:00:00',
184
- * scopeid: 0,
185
- * internal: true,
186
- * cidr: '::1/128'
187
- * }
188
- * ],
189
- * eth0: [
190
- * {
191
- * address: '192.168.1.108',
192
- * netmask: '255.255.255.0',
193
- * family: 'IPv4',
194
- * mac: '01:02:03:0a:0b:0c',
195
- * internal: false,
196
- * cidr: '192.168.1.108/24'
197
- * },
198
- * {
199
- * address: 'fe80::a00:27ff:fe4e:66a1',
200
- * netmask: 'ffff:ffff:ffff:ffff::',
201
- * family: 'IPv6',
202
- * mac: '01:02:03:0a:0b:0c',
203
- * scopeid: 1,
204
- * internal: false,
205
- * cidr: 'fe80::a00:27ff:fe4e:66a1/64'
206
- * }
207
- * ]
208
- * }
209
- * ```
210
- * @since v0.6.0
211
- */
212
- function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
213
- /**
214
- * Returns the string path of the current user's home directory.
215
- *
216
- * On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it
217
- * uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory.
218
- *
219
- * On Windows, it uses the `USERPROFILE` environment variable if defined.
220
- * Otherwise it uses the path to the profile directory of the current user.
221
- * @since v2.3.0
222
- */
223
- function homedir(): string;
224
- /**
225
- * Returns information about the currently effective user. On POSIX platforms,
226
- * this is typically a subset of the password file. The returned object includes
227
- * the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and `gid` fields are `-1`, and `shell` is `null`.
228
- *
229
- * The value of `homedir` returned by `os.userInfo()` is provided by the operating
230
- * system. This differs from the result of `os.homedir()`, which queries
231
- * environment variables for the home directory before falling back to the
232
- * operating system response.
233
- *
234
- * Throws a `SystemError` if a user has no `username` or `homedir`.
235
- * @since v6.0.0
236
- */
237
- function userInfo(options: { encoding: "buffer" }): UserInfo<Buffer>;
238
- function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
239
- type SignalConstants = {
240
- [key in NodeJS.Signals]: number;
241
- };
242
- namespace constants {
243
- const UV_UDP_REUSEADDR: number;
244
- namespace signals {}
245
- const signals: SignalConstants;
246
- namespace errno {
247
- const E2BIG: number;
248
- const EACCES: number;
249
- const EADDRINUSE: number;
250
- const EADDRNOTAVAIL: number;
251
- const EAFNOSUPPORT: number;
252
- const EAGAIN: number;
253
- const EALREADY: number;
254
- const EBADF: number;
255
- const EBADMSG: number;
256
- const EBUSY: number;
257
- const ECANCELED: number;
258
- const ECHILD: number;
259
- const ECONNABORTED: number;
260
- const ECONNREFUSED: number;
261
- const ECONNRESET: number;
262
- const EDEADLK: number;
263
- const EDESTADDRREQ: number;
264
- const EDOM: number;
265
- const EDQUOT: number;
266
- const EEXIST: number;
267
- const EFAULT: number;
268
- const EFBIG: number;
269
- const EHOSTUNREACH: number;
270
- const EIDRM: number;
271
- const EILSEQ: number;
272
- const EINPROGRESS: number;
273
- const EINTR: number;
274
- const EINVAL: number;
275
- const EIO: number;
276
- const EISCONN: number;
277
- const EISDIR: number;
278
- const ELOOP: number;
279
- const EMFILE: number;
280
- const EMLINK: number;
281
- const EMSGSIZE: number;
282
- const EMULTIHOP: number;
283
- const ENAMETOOLONG: number;
284
- const ENETDOWN: number;
285
- const ENETRESET: number;
286
- const ENETUNREACH: number;
287
- const ENFILE: number;
288
- const ENOBUFS: number;
289
- const ENODATA: number;
290
- const ENODEV: number;
291
- const ENOENT: number;
292
- const ENOEXEC: number;
293
- const ENOLCK: number;
294
- const ENOLINK: number;
295
- const ENOMEM: number;
296
- const ENOMSG: number;
297
- const ENOPROTOOPT: number;
298
- const ENOSPC: number;
299
- const ENOSR: number;
300
- const ENOSTR: number;
301
- const ENOSYS: number;
302
- const ENOTCONN: number;
303
- const ENOTDIR: number;
304
- const ENOTEMPTY: number;
305
- const ENOTSOCK: number;
306
- const ENOTSUP: number;
307
- const ENOTTY: number;
308
- const ENXIO: number;
309
- const EOPNOTSUPP: number;
310
- const EOVERFLOW: number;
311
- const EPERM: number;
312
- const EPIPE: number;
313
- const EPROTO: number;
314
- const EPROTONOSUPPORT: number;
315
- const EPROTOTYPE: number;
316
- const ERANGE: number;
317
- const EROFS: number;
318
- const ESPIPE: number;
319
- const ESRCH: number;
320
- const ESTALE: number;
321
- const ETIME: number;
322
- const ETIMEDOUT: number;
323
- const ETXTBSY: number;
324
- const EWOULDBLOCK: number;
325
- const EXDEV: number;
326
- const WSAEINTR: number;
327
- const WSAEBADF: number;
328
- const WSAEACCES: number;
329
- const WSAEFAULT: number;
330
- const WSAEINVAL: number;
331
- const WSAEMFILE: number;
332
- const WSAEWOULDBLOCK: number;
333
- const WSAEINPROGRESS: number;
334
- const WSAEALREADY: number;
335
- const WSAENOTSOCK: number;
336
- const WSAEDESTADDRREQ: number;
337
- const WSAEMSGSIZE: number;
338
- const WSAEPROTOTYPE: number;
339
- const WSAENOPROTOOPT: number;
340
- const WSAEPROTONOSUPPORT: number;
341
- const WSAESOCKTNOSUPPORT: number;
342
- const WSAEOPNOTSUPP: number;
343
- const WSAEPFNOSUPPORT: number;
344
- const WSAEAFNOSUPPORT: number;
345
- const WSAEADDRINUSE: number;
346
- const WSAEADDRNOTAVAIL: number;
347
- const WSAENETDOWN: number;
348
- const WSAENETUNREACH: number;
349
- const WSAENETRESET: number;
350
- const WSAECONNABORTED: number;
351
- const WSAECONNRESET: number;
352
- const WSAENOBUFS: number;
353
- const WSAEISCONN: number;
354
- const WSAENOTCONN: number;
355
- const WSAESHUTDOWN: number;
356
- const WSAETOOMANYREFS: number;
357
- const WSAETIMEDOUT: number;
358
- const WSAECONNREFUSED: number;
359
- const WSAELOOP: number;
360
- const WSAENAMETOOLONG: number;
361
- const WSAEHOSTDOWN: number;
362
- const WSAEHOSTUNREACH: number;
363
- const WSAENOTEMPTY: number;
364
- const WSAEPROCLIM: number;
365
- const WSAEUSERS: number;
366
- const WSAEDQUOT: number;
367
- const WSAESTALE: number;
368
- const WSAEREMOTE: number;
369
- const WSASYSNOTREADY: number;
370
- const WSAVERNOTSUPPORTED: number;
371
- const WSANOTINITIALISED: number;
372
- const WSAEDISCON: number;
373
- const WSAENOMORE: number;
374
- const WSAECANCELLED: number;
375
- const WSAEINVALIDPROCTABLE: number;
376
- const WSAEINVALIDPROVIDER: number;
377
- const WSAEPROVIDERFAILEDINIT: number;
378
- const WSASYSCALLFAILURE: number;
379
- const WSASERVICE_NOT_FOUND: number;
380
- const WSATYPE_NOT_FOUND: number;
381
- const WSA_E_NO_MORE: number;
382
- const WSA_E_CANCELLED: number;
383
- const WSAEREFUSED: number;
384
- }
385
- namespace priority {
386
- const PRIORITY_LOW: number;
387
- const PRIORITY_BELOW_NORMAL: number;
388
- const PRIORITY_NORMAL: number;
389
- const PRIORITY_ABOVE_NORMAL: number;
390
- const PRIORITY_HIGH: number;
391
- const PRIORITY_HIGHEST: number;
392
- }
393
- }
394
- const devNull: string;
395
- const EOL: string;
396
- /**
397
- * Returns the operating system CPU architecture for which the Node.js binary was
398
- * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, and `'x64'`.
399
- *
400
- * The return value is equivalent to `process.arch`.
401
- * @since v0.5.0
402
- */
403
- function arch(): string;
404
- /**
405
- * Returns a string identifying the kernel version.
406
- *
407
- * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
408
- * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
409
- * @since v13.11.0, v12.17.0
410
- */
411
- function version(): string;
412
- /**
413
- * Returns a string identifying the operating system platform for which
414
- * the Node.js binary was compiled. The value is set at compile time.
415
- * Possible values are `'aix'`, `'darwin'`, `'freebsd'`, `'linux'`, `'openbsd'`, `'sunos'`, and `'win32'`.
416
- *
417
- * The return value is equivalent to `process.platform`.
418
- *
419
- * The value `'android'` may also be returned if Node.js is built on the Android
420
- * operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
421
- * @since v0.5.0
422
- */
423
- function platform(): NodeJS.Platform;
424
- /**
425
- * Returns the machine type as a string, such as arm, aarch64, mips, mips64, ppc64, ppc64le, s390, s390x, i386, i686, x86_64.
426
- *
427
- * On POSIX systems, the machine type is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname).
428
- * On Windows, `RtlGetVersion()` is used, and if it is not available, `GetVersionExW()` will be used.
429
- * See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
430
- * @since v18.9.0
431
- */
432
- function machine(): string;
433
- /**
434
- * Returns the operating system's default directory for temporary files as a
435
- * string.
436
- * @since v0.9.9
437
- */
438
- function tmpdir(): string;
439
- /**
440
- * Returns a string identifying the endianness of the CPU for which the Node.js
441
- * binary was compiled.
442
- *
443
- * Possible values are `'BE'` for big endian and `'LE'` for little endian.
444
- * @since v0.9.4
445
- */
446
- function endianness(): "BE" | "LE";
447
- /**
448
- * Returns the scheduling priority for the process specified by `pid`. If `pid` is
449
- * not provided or is `0`, the priority of the current process is returned.
450
- * @since v10.10.0
451
- * @param [pid=0] The process ID to retrieve scheduling priority for.
452
- */
453
- function getPriority(pid?: number): number;
454
- /**
455
- * Attempts to set the scheduling priority for the process specified by `pid`. If`pid` is not provided or is `0`, the process ID of the current process is used.
456
- *
457
- * The `priority` input must be an integer between `-20` (high priority) and `19` (low priority). Due to differences between Unix priority levels and Windows
458
- * priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range
459
- * mapping may cause the return value to be slightly different on Windows. To avoid
460
- * confusion, set `priority` to one of the priority constants.
461
- *
462
- * On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user
463
- * privileges. Otherwise the set priority will be silently reduced to`PRIORITY_HIGH`.
464
- * @since v10.10.0
465
- * @param [pid=0] The process ID to set scheduling priority for.
466
- * @param priority The scheduling priority to assign to the process.
467
- */
468
- function setPriority(priority: number): void;
469
- function setPriority(pid: number, priority: number): void;
470
- }
471
- declare module "node:os" {
472
- export * from "os";
473
- }
@@ -1,225 +0,0 @@
1
- {
2
- "name": "@types/node",
3
- "version": "18.19.68",
4
- "description": "TypeScript definitions for node",
5
- "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
- "license": "MIT",
7
- "contributors": [
8
- {
9
- "name": "Microsoft TypeScript",
10
- "githubUsername": "Microsoft",
11
- "url": "https://github.com/Microsoft"
12
- },
13
- {
14
- "name": "Alberto Schiabel",
15
- "githubUsername": "jkomyno",
16
- "url": "https://github.com/jkomyno"
17
- },
18
- {
19
- "name": "Alvis HT Tang",
20
- "githubUsername": "alvis",
21
- "url": "https://github.com/alvis"
22
- },
23
- {
24
- "name": "Andrew Makarov",
25
- "githubUsername": "r3nya",
26
- "url": "https://github.com/r3nya"
27
- },
28
- {
29
- "name": "Benjamin Toueg",
30
- "githubUsername": "btoueg",
31
- "url": "https://github.com/btoueg"
32
- },
33
- {
34
- "name": "Chigozirim C.",
35
- "githubUsername": "smac89",
36
- "url": "https://github.com/smac89"
37
- },
38
- {
39
- "name": "David Junger",
40
- "githubUsername": "touffy",
41
- "url": "https://github.com/touffy"
42
- },
43
- {
44
- "name": "Deividas Bakanas",
45
- "githubUsername": "DeividasBakanas",
46
- "url": "https://github.com/DeividasBakanas"
47
- },
48
- {
49
- "name": "Eugene Y. Q. Shen",
50
- "githubUsername": "eyqs",
51
- "url": "https://github.com/eyqs"
52
- },
53
- {
54
- "name": "Hannes Magnusson",
55
- "githubUsername": "Hannes-Magnusson-CK",
56
- "url": "https://github.com/Hannes-Magnusson-CK"
57
- },
58
- {
59
- "name": "Huw",
60
- "githubUsername": "hoo29",
61
- "url": "https://github.com/hoo29"
62
- },
63
- {
64
- "name": "Kelvin Jin",
65
- "githubUsername": "kjin",
66
- "url": "https://github.com/kjin"
67
- },
68
- {
69
- "name": "Klaus Meinhardt",
70
- "githubUsername": "ajafff",
71
- "url": "https://github.com/ajafff"
72
- },
73
- {
74
- "name": "Lishude",
75
- "githubUsername": "islishude",
76
- "url": "https://github.com/islishude"
77
- },
78
- {
79
- "name": "Mariusz Wiktorczyk",
80
- "githubUsername": "mwiktorczyk",
81
- "url": "https://github.com/mwiktorczyk"
82
- },
83
- {
84
- "name": "Mohsen Azimi",
85
- "githubUsername": "mohsen1",
86
- "url": "https://github.com/mohsen1"
87
- },
88
- {
89
- "name": "Nikita Galkin",
90
- "githubUsername": "galkin",
91
- "url": "https://github.com/galkin"
92
- },
93
- {
94
- "name": "Parambir Singh",
95
- "githubUsername": "parambirs",
96
- "url": "https://github.com/parambirs"
97
- },
98
- {
99
- "name": "Sebastian Silbermann",
100
- "githubUsername": "eps1lon",
101
- "url": "https://github.com/eps1lon"
102
- },
103
- {
104
- "name": "Simon Schick",
105
- "githubUsername": "SimonSchick",
106
- "url": "https://github.com/SimonSchick"
107
- },
108
- {
109
- "name": "Thomas den Hollander",
110
- "githubUsername": "ThomasdenH",
111
- "url": "https://github.com/ThomasdenH"
112
- },
113
- {
114
- "name": "Wilco Bakker",
115
- "githubUsername": "WilcoBakker",
116
- "url": "https://github.com/WilcoBakker"
117
- },
118
- {
119
- "name": "wwwy3y3",
120
- "githubUsername": "wwwy3y3",
121
- "url": "https://github.com/wwwy3y3"
122
- },
123
- {
124
- "name": "Samuel Ainsworth",
125
- "githubUsername": "samuela",
126
- "url": "https://github.com/samuela"
127
- },
128
- {
129
- "name": "Kyle Uehlein",
130
- "githubUsername": "kuehlein",
131
- "url": "https://github.com/kuehlein"
132
- },
133
- {
134
- "name": "Thanik Bhongbhibhat",
135
- "githubUsername": "bhongy",
136
- "url": "https://github.com/bhongy"
137
- },
138
- {
139
- "name": "Marcin Kopacz",
140
- "githubUsername": "chyzwar",
141
- "url": "https://github.com/chyzwar"
142
- },
143
- {
144
- "name": "Trivikram Kamat",
145
- "githubUsername": "trivikr",
146
- "url": "https://github.com/trivikr"
147
- },
148
- {
149
- "name": "Junxiao Shi",
150
- "githubUsername": "yoursunny",
151
- "url": "https://github.com/yoursunny"
152
- },
153
- {
154
- "name": "Ilia Baryshnikov",
155
- "githubUsername": "qwelias",
156
- "url": "https://github.com/qwelias"
157
- },
158
- {
159
- "name": "ExE Boss",
160
- "githubUsername": "ExE-Boss",
161
- "url": "https://github.com/ExE-Boss"
162
- },
163
- {
164
- "name": "Piotr Błażejewicz",
165
- "githubUsername": "peterblazejewicz",
166
- "url": "https://github.com/peterblazejewicz"
167
- },
168
- {
169
- "name": "Anna Henningsen",
170
- "githubUsername": "addaleax",
171
- "url": "https://github.com/addaleax"
172
- },
173
- {
174
- "name": "Victor Perin",
175
- "githubUsername": "victorperin",
176
- "url": "https://github.com/victorperin"
177
- },
178
- {
179
- "name": "NodeJS Contributors",
180
- "githubUsername": "NodeJS",
181
- "url": "https://github.com/NodeJS"
182
- },
183
- {
184
- "name": "Linus Unnebäck",
185
- "githubUsername": "LinusU",
186
- "url": "https://github.com/LinusU"
187
- },
188
- {
189
- "name": "wafuwafu13",
190
- "githubUsername": "wafuwafu13",
191
- "url": "https://github.com/wafuwafu13"
192
- },
193
- {
194
- "name": "Matteo Collina",
195
- "githubUsername": "mcollina",
196
- "url": "https://github.com/mcollina"
197
- },
198
- {
199
- "name": "Dmitry Semigradsky",
200
- "githubUsername": "Semigradsky",
201
- "url": "https://github.com/Semigradsky"
202
- }
203
- ],
204
- "main": "",
205
- "types": "index.d.ts",
206
- "typesVersions": {
207
- "<=5.6": {
208
- "*": [
209
- "ts5.6/*"
210
- ]
211
- }
212
- },
213
- "repository": {
214
- "type": "git",
215
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
216
- "directory": "types/node"
217
- },
218
- "scripts": {},
219
- "dependencies": {
220
- "undici-types": "~5.26.4"
221
- },
222
- "peerDependencies": {},
223
- "typesPublisherContentHash": "56e9652e8e5c0166a0eb8171aa8412aaa9da59fd37f61f91c18f6c931041c798",
224
- "typeScriptVersion": "5.0"
225
- }