modelmix 2.6.4 → 2.6.8

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 (590) hide show
  1. package/index.js +4 -1
  2. package/package.json +1 -1
  3. package/demo/node_modules/.package-lock.json +0 -254
  4. package/demo/node_modules/@anthropic-ai/sdk/CHANGELOG.md +0 -859
  5. package/demo/node_modules/@anthropic-ai/sdk/LICENSE +0 -8
  6. package/demo/node_modules/@anthropic-ai/sdk/README.md +0 -424
  7. package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.d.ts +0 -9
  8. package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.d.ts.map +0 -1
  9. package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.js +0 -16
  10. package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.js.map +0 -1
  11. package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.mjs +0 -12
  12. package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.mjs.map +0 -1
  13. package/demo/node_modules/@anthropic-ai/sdk/_shims/README.md +0 -46
  14. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.d.ts +0 -5
  15. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.d.ts.map +0 -1
  16. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.js +0 -21
  17. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.js.map +0 -1
  18. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.mjs +0 -2
  19. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.mjs.map +0 -1
  20. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.d.ts +0 -5
  21. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.d.ts.map +0 -1
  22. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.js +0 -21
  23. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.js.map +0 -1
  24. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.mjs +0 -2
  25. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.mjs.map +0 -1
  26. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.d.ts +0 -5
  27. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.d.ts.map +0 -1
  28. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.js +0 -21
  29. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.js.map +0 -1
  30. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.mjs +0 -2
  31. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.mjs.map +0 -1
  32. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.d.ts +0 -5
  33. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.d.ts.map +0 -1
  34. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.js +0 -21
  35. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.js.map +0 -1
  36. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.mjs +0 -2
  37. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.mjs.map +0 -1
  38. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types.d.ts +0 -101
  39. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types.js +0 -3
  40. package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types.mjs +0 -3
  41. package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.d.ts +0 -6
  42. package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.d.ts.map +0 -1
  43. package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.js +0 -14
  44. package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.js.map +0 -1
  45. package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.mjs +0 -10
  46. package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.mjs.map +0 -1
  47. package/demo/node_modules/@anthropic-ai/sdk/_shims/index.d.ts +0 -81
  48. package/demo/node_modules/@anthropic-ai/sdk/_shims/index.js +0 -13
  49. package/demo/node_modules/@anthropic-ai/sdk/_shims/index.mjs +0 -7
  50. package/demo/node_modules/@anthropic-ai/sdk/_shims/manual-types.d.ts +0 -12
  51. package/demo/node_modules/@anthropic-ai/sdk/_shims/manual-types.js +0 -3
  52. package/demo/node_modules/@anthropic-ai/sdk/_shims/manual-types.mjs +0 -3
  53. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.d.ts +0 -3
  54. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.d.ts.map +0 -1
  55. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.js +0 -90
  56. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.js.map +0 -1
  57. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.mjs +0 -56
  58. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.mjs.map +0 -1
  59. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-types.d.ts +0 -42
  60. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-types.js +0 -3
  61. package/demo/node_modules/@anthropic-ai/sdk/_shims/node-types.mjs +0 -3
  62. package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.d.ts +0 -37
  63. package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.d.ts.map +0 -1
  64. package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.js +0 -41
  65. package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.js.map +0 -1
  66. package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.mjs +0 -37
  67. package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.mjs.map +0 -1
  68. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.d.ts +0 -5
  69. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.d.ts.map +0 -1
  70. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.js +0 -78
  71. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.js.map +0 -1
  72. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.mjs +0 -71
  73. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.mjs.map +0 -1
  74. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-types.d.ts +0 -83
  75. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-types.js +0 -3
  76. package/demo/node_modules/@anthropic-ai/sdk/_shims/web-types.mjs +0 -3
  77. package/demo/node_modules/@anthropic-ai/sdk/core.d.ts +0 -239
  78. package/demo/node_modules/@anthropic-ai/sdk/core.d.ts.map +0 -1
  79. package/demo/node_modules/@anthropic-ai/sdk/core.js +0 -879
  80. package/demo/node_modules/@anthropic-ai/sdk/core.js.map +0 -1
  81. package/demo/node_modules/@anthropic-ai/sdk/core.mjs +0 -848
  82. package/demo/node_modules/@anthropic-ai/sdk/core.mjs.map +0 -1
  83. package/demo/node_modules/@anthropic-ai/sdk/error.d.ts +0 -53
  84. package/demo/node_modules/@anthropic-ai/sdk/error.d.ts.map +0 -1
  85. package/demo/node_modules/@anthropic-ai/sdk/error.js +0 -143
  86. package/demo/node_modules/@anthropic-ai/sdk/error.js.map +0 -1
  87. package/demo/node_modules/@anthropic-ai/sdk/error.mjs +0 -127
  88. package/demo/node_modules/@anthropic-ai/sdk/error.mjs.map +0 -1
  89. package/demo/node_modules/@anthropic-ai/sdk/index.d.mts +0 -147
  90. package/demo/node_modules/@anthropic-ai/sdk/index.d.ts +0 -147
  91. package/demo/node_modules/@anthropic-ai/sdk/index.d.ts.map +0 -1
  92. package/demo/node_modules/@anthropic-ai/sdk/index.js +0 -149
  93. package/demo/node_modules/@anthropic-ai/sdk/index.js.map +0 -1
  94. package/demo/node_modules/@anthropic-ai/sdk/index.mjs +0 -121
  95. package/demo/node_modules/@anthropic-ai/sdk/index.mjs.map +0 -1
  96. package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +0 -94
  97. package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +0 -1
  98. package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +0 -436
  99. package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +0 -1
  100. package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +0 -432
  101. package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +0 -1
  102. package/demo/node_modules/@anthropic-ai/sdk/package.json +0 -104
  103. package/demo/node_modules/@anthropic-ai/sdk/resource.d.ts +0 -6
  104. package/demo/node_modules/@anthropic-ai/sdk/resource.d.ts.map +0 -1
  105. package/demo/node_modules/@anthropic-ai/sdk/resource.js +0 -11
  106. package/demo/node_modules/@anthropic-ai/sdk/resource.js.map +0 -1
  107. package/demo/node_modules/@anthropic-ai/sdk/resource.mjs +0 -7
  108. package/demo/node_modules/@anthropic-ai/sdk/resource.mjs.map +0 -1
  109. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +0 -9
  110. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +0 -1
  111. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +0 -40
  112. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +0 -1
  113. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +0 -13
  114. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +0 -1
  115. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +0 -3
  116. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +0 -1
  117. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.js +0 -9
  118. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +0 -1
  119. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +0 -4
  120. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +0 -1
  121. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.d.ts +0 -3
  122. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.d.ts.map +0 -1
  123. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.js +0 -9
  124. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.js.map +0 -1
  125. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.mjs +0 -4
  126. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.mjs.map +0 -1
  127. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.d.ts +0 -462
  128. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.d.ts.map +0 -1
  129. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.js +0 -20
  130. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.js.map +0 -1
  131. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.mjs +0 -16
  132. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.mjs.map +0 -1
  133. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.d.ts +0 -19
  134. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.d.ts.map +0 -1
  135. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.js +0 -40
  136. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.js.map +0 -1
  137. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.mjs +0 -13
  138. package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.mjs.map +0 -1
  139. package/demo/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +0 -184
  140. package/demo/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +0 -1
  141. package/demo/node_modules/@anthropic-ai/sdk/resources/completions.js +0 -19
  142. package/demo/node_modules/@anthropic-ai/sdk/resources/completions.js.map +0 -1
  143. package/demo/node_modules/@anthropic-ai/sdk/resources/completions.mjs +0 -15
  144. package/demo/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +0 -1
  145. package/demo/node_modules/@anthropic-ai/sdk/resources/index.d.ts +0 -4
  146. package/demo/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +0 -1
  147. package/demo/node_modules/@anthropic-ai/sdk/resources/index.js +0 -11
  148. package/demo/node_modules/@anthropic-ai/sdk/resources/index.js.map +0 -1
  149. package/demo/node_modules/@anthropic-ai/sdk/resources/index.mjs +0 -5
  150. package/demo/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +0 -1
  151. package/demo/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +0 -619
  152. package/demo/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +0 -1
  153. package/demo/node_modules/@anthropic-ai/sdk/resources/messages.js +0 -28
  154. package/demo/node_modules/@anthropic-ai/sdk/resources/messages.js.map +0 -1
  155. package/demo/node_modules/@anthropic-ai/sdk/resources/messages.mjs +0 -23
  156. package/demo/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +0 -1
  157. package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +0 -2
  158. package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +0 -1
  159. package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.js +0 -4
  160. package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +0 -1
  161. package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +0 -3
  162. package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +0 -1
  163. package/demo/node_modules/@anthropic-ai/sdk/shims/node.d.ts +0 -29
  164. package/demo/node_modules/@anthropic-ai/sdk/shims/node.d.ts.map +0 -1
  165. package/demo/node_modules/@anthropic-ai/sdk/shims/node.js +0 -31
  166. package/demo/node_modules/@anthropic-ai/sdk/shims/node.js.map +0 -1
  167. package/demo/node_modules/@anthropic-ai/sdk/shims/node.mjs +0 -5
  168. package/demo/node_modules/@anthropic-ai/sdk/shims/node.mjs.map +0 -1
  169. package/demo/node_modules/@anthropic-ai/sdk/shims/web.d.ts +0 -26
  170. package/demo/node_modules/@anthropic-ai/sdk/shims/web.d.ts.map +0 -1
  171. package/demo/node_modules/@anthropic-ai/sdk/shims/web.js +0 -31
  172. package/demo/node_modules/@anthropic-ai/sdk/shims/web.js.map +0 -1
  173. package/demo/node_modules/@anthropic-ai/sdk/shims/web.mjs +0 -5
  174. package/demo/node_modules/@anthropic-ai/sdk/shims/web.mjs.map +0 -1
  175. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/MultipartBody.ts +0 -9
  176. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/README.md +0 -46
  177. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/runtime-bun.ts +0 -4
  178. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/runtime-node.ts +0 -4
  179. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/runtime.ts +0 -4
  180. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/types-node.ts +0 -4
  181. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/types.d.ts +0 -101
  182. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/types.js +0 -3
  183. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/types.mjs +0 -3
  184. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/bun-runtime.ts +0 -14
  185. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/index.d.ts +0 -81
  186. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/index.js +0 -13
  187. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/index.mjs +0 -7
  188. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/manual-types.d.ts +0 -12
  189. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/manual-types.js +0 -3
  190. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/manual-types.mjs +0 -3
  191. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/node-runtime.ts +0 -83
  192. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/node-types.d.ts +0 -42
  193. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/node-types.js +0 -3
  194. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/node-types.mjs +0 -3
  195. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/registry.ts +0 -67
  196. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/web-runtime.ts +0 -103
  197. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/web-types.d.ts +0 -83
  198. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/web-types.js +0 -3
  199. package/demo/node_modules/@anthropic-ai/sdk/src/_shims/web-types.mjs +0 -3
  200. package/demo/node_modules/@anthropic-ai/sdk/src/core.ts +0 -1162
  201. package/demo/node_modules/@anthropic-ai/sdk/src/error.ts +0 -146
  202. package/demo/node_modules/@anthropic-ai/sdk/src/index.ts +0 -264
  203. package/demo/node_modules/@anthropic-ai/sdk/src/lib/.keep +0 -4
  204. package/demo/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +0 -535
  205. package/demo/node_modules/@anthropic-ai/sdk/src/resource.ts +0 -11
  206. package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +0 -12
  207. package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +0 -4
  208. package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/tools/index.ts +0 -16
  209. package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/tools/messages.ts +0 -531
  210. package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/tools/tools.ts +0 -22
  211. package/demo/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +0 -223
  212. package/demo/node_modules/@anthropic-ai/sdk/src/resources/index.ts +0 -33
  213. package/demo/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +0 -729
  214. package/demo/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +0 -3
  215. package/demo/node_modules/@anthropic-ai/sdk/src/shims/node.ts +0 -50
  216. package/demo/node_modules/@anthropic-ai/sdk/src/shims/web.ts +0 -50
  217. package/demo/node_modules/@anthropic-ai/sdk/src/streaming.ts +0 -509
  218. package/demo/node_modules/@anthropic-ai/sdk/src/tsconfig.json +0 -11
  219. package/demo/node_modules/@anthropic-ai/sdk/src/uploads.ts +0 -248
  220. package/demo/node_modules/@anthropic-ai/sdk/src/version.ts +0 -1
  221. package/demo/node_modules/@anthropic-ai/sdk/streaming.d.ts +0 -41
  222. package/demo/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +0 -1
  223. package/demo/node_modules/@anthropic-ai/sdk/streaming.js +0 -431
  224. package/demo/node_modules/@anthropic-ai/sdk/streaming.js.map +0 -1
  225. package/demo/node_modules/@anthropic-ai/sdk/streaming.mjs +0 -424
  226. package/demo/node_modules/@anthropic-ai/sdk/streaming.mjs.map +0 -1
  227. package/demo/node_modules/@anthropic-ai/sdk/uploads.d.ts +0 -75
  228. package/demo/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +0 -1
  229. package/demo/node_modules/@anthropic-ai/sdk/uploads.js +0 -165
  230. package/demo/node_modules/@anthropic-ai/sdk/uploads.js.map +0 -1
  231. package/demo/node_modules/@anthropic-ai/sdk/uploads.mjs +0 -152
  232. package/demo/node_modules/@anthropic-ai/sdk/uploads.mjs.map +0 -1
  233. package/demo/node_modules/@anthropic-ai/sdk/version.d.ts +0 -2
  234. package/demo/node_modules/@anthropic-ai/sdk/version.d.ts.map +0 -1
  235. package/demo/node_modules/@anthropic-ai/sdk/version.js +0 -5
  236. package/demo/node_modules/@anthropic-ai/sdk/version.js.map +0 -1
  237. package/demo/node_modules/@anthropic-ai/sdk/version.mjs +0 -2
  238. package/demo/node_modules/@anthropic-ai/sdk/version.mjs.map +0 -1
  239. package/demo/node_modules/@types/node/LICENSE +0 -21
  240. package/demo/node_modules/@types/node/README.md +0 -15
  241. package/demo/node_modules/@types/node/assert/strict.d.ts +0 -8
  242. package/demo/node_modules/@types/node/assert.d.ts +0 -985
  243. package/demo/node_modules/@types/node/async_hooks.d.ts +0 -522
  244. package/demo/node_modules/@types/node/buffer.d.ts +0 -2353
  245. package/demo/node_modules/@types/node/child_process.d.ts +0 -1544
  246. package/demo/node_modules/@types/node/cluster.d.ts +0 -578
  247. package/demo/node_modules/@types/node/console.d.ts +0 -452
  248. package/demo/node_modules/@types/node/constants.d.ts +0 -19
  249. package/demo/node_modules/@types/node/crypto.d.ts +0 -4457
  250. package/demo/node_modules/@types/node/dgram.d.ts +0 -596
  251. package/demo/node_modules/@types/node/diagnostics_channel.d.ts +0 -546
  252. package/demo/node_modules/@types/node/dns/promises.d.ts +0 -473
  253. package/demo/node_modules/@types/node/dns.d.ts +0 -853
  254. package/demo/node_modules/@types/node/dom-events.d.ts +0 -124
  255. package/demo/node_modules/@types/node/domain.d.ts +0 -170
  256. package/demo/node_modules/@types/node/events.d.ts +0 -819
  257. package/demo/node_modules/@types/node/fs/promises.d.ts +0 -1205
  258. package/demo/node_modules/@types/node/fs.d.ts +0 -4237
  259. package/demo/node_modules/@types/node/globals.d.ts +0 -377
  260. package/demo/node_modules/@types/node/globals.global.d.ts +0 -1
  261. package/demo/node_modules/@types/node/http.d.ts +0 -1803
  262. package/demo/node_modules/@types/node/http2.d.ts +0 -2392
  263. package/demo/node_modules/@types/node/https.d.ts +0 -544
  264. package/demo/node_modules/@types/node/index.d.ts +0 -88
  265. package/demo/node_modules/@types/node/inspector.d.ts +0 -2738
  266. package/demo/node_modules/@types/node/module.d.ts +0 -298
  267. package/demo/node_modules/@types/node/net.d.ts +0 -918
  268. package/demo/node_modules/@types/node/os.d.ts +0 -473
  269. package/demo/node_modules/@types/node/package.json +0 -222
  270. package/demo/node_modules/@types/node/path.d.ts +0 -191
  271. package/demo/node_modules/@types/node/perf_hooks.d.ts +0 -626
  272. package/demo/node_modules/@types/node/process.d.ts +0 -1548
  273. package/demo/node_modules/@types/node/punycode.d.ts +0 -117
  274. package/demo/node_modules/@types/node/querystring.d.ts +0 -141
  275. package/demo/node_modules/@types/node/readline/promises.d.ts +0 -143
  276. package/demo/node_modules/@types/node/readline.d.ts +0 -666
  277. package/demo/node_modules/@types/node/repl.d.ts +0 -430
  278. package/demo/node_modules/@types/node/stream/consumers.d.ts +0 -12
  279. package/demo/node_modules/@types/node/stream/promises.d.ts +0 -83
  280. package/demo/node_modules/@types/node/stream/web.d.ts +0 -352
  281. package/demo/node_modules/@types/node/stream.d.ts +0 -1731
  282. package/demo/node_modules/@types/node/string_decoder.d.ts +0 -67
  283. package/demo/node_modules/@types/node/test.d.ts +0 -1113
  284. package/demo/node_modules/@types/node/timers/promises.d.ts +0 -93
  285. package/demo/node_modules/@types/node/timers.d.ts +0 -126
  286. package/demo/node_modules/@types/node/tls.d.ts +0 -1203
  287. package/demo/node_modules/@types/node/trace_events.d.ts +0 -171
  288. package/demo/node_modules/@types/node/tty.d.ts +0 -206
  289. package/demo/node_modules/@types/node/url.d.ts +0 -954
  290. package/demo/node_modules/@types/node/util.d.ts +0 -2075
  291. package/demo/node_modules/@types/node/v8.d.ts +0 -753
  292. package/demo/node_modules/@types/node/vm.d.ts +0 -667
  293. package/demo/node_modules/@types/node/wasi.d.ts +0 -160
  294. package/demo/node_modules/@types/node/worker_threads.d.ts +0 -692
  295. package/demo/node_modules/@types/node/zlib.d.ts +0 -517
  296. package/demo/node_modules/@types/node-fetch/LICENSE +0 -21
  297. package/demo/node_modules/@types/node-fetch/README.md +0 -15
  298. package/demo/node_modules/@types/node-fetch/externals.d.ts +0 -32
  299. package/demo/node_modules/@types/node-fetch/index.d.ts +0 -238
  300. package/demo/node_modules/@types/node-fetch/package.json +0 -83
  301. package/demo/node_modules/abort-controller/LICENSE +0 -21
  302. package/demo/node_modules/abort-controller/README.md +0 -98
  303. package/demo/node_modules/abort-controller/browser.js +0 -13
  304. package/demo/node_modules/abort-controller/browser.mjs +0 -11
  305. package/demo/node_modules/abort-controller/package.json +0 -97
  306. package/demo/node_modules/abort-controller/polyfill.js +0 -21
  307. package/demo/node_modules/abort-controller/polyfill.mjs +0 -19
  308. package/demo/node_modules/agentkeepalive/History.md +0 -268
  309. package/demo/node_modules/agentkeepalive/LICENSE +0 -23
  310. package/demo/node_modules/agentkeepalive/README.md +0 -256
  311. package/demo/node_modules/agentkeepalive/browser.js +0 -5
  312. package/demo/node_modules/agentkeepalive/index.d.ts +0 -65
  313. package/demo/node_modules/agentkeepalive/index.js +0 -5
  314. package/demo/node_modules/agentkeepalive/lib/agent.js +0 -402
  315. package/demo/node_modules/agentkeepalive/lib/constants.js +0 -14
  316. package/demo/node_modules/agentkeepalive/lib/https_agent.js +0 -51
  317. package/demo/node_modules/agentkeepalive/package.json +0 -56
  318. package/demo/node_modules/asynckit/LICENSE +0 -21
  319. package/demo/node_modules/asynckit/README.md +0 -233
  320. package/demo/node_modules/asynckit/bench.js +0 -76
  321. package/demo/node_modules/asynckit/index.js +0 -6
  322. package/demo/node_modules/asynckit/lib/abort.js +0 -29
  323. package/demo/node_modules/asynckit/lib/async.js +0 -34
  324. package/demo/node_modules/asynckit/lib/defer.js +0 -26
  325. package/demo/node_modules/asynckit/lib/iterate.js +0 -75
  326. package/demo/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  327. package/demo/node_modules/asynckit/lib/readable_parallel.js +0 -25
  328. package/demo/node_modules/asynckit/lib/readable_serial.js +0 -25
  329. package/demo/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  330. package/demo/node_modules/asynckit/lib/state.js +0 -37
  331. package/demo/node_modules/asynckit/lib/streamify.js +0 -141
  332. package/demo/node_modules/asynckit/lib/terminator.js +0 -29
  333. package/demo/node_modules/asynckit/package.json +0 -63
  334. package/demo/node_modules/asynckit/parallel.js +0 -43
  335. package/demo/node_modules/asynckit/serial.js +0 -17
  336. package/demo/node_modules/asynckit/serialOrdered.js +0 -75
  337. package/demo/node_modules/asynckit/stream.js +0 -21
  338. package/demo/node_modules/combined-stream/License +0 -19
  339. package/demo/node_modules/combined-stream/Readme.md +0 -138
  340. package/demo/node_modules/combined-stream/lib/combined_stream.js +0 -208
  341. package/demo/node_modules/combined-stream/package.json +0 -25
  342. package/demo/node_modules/combined-stream/yarn.lock +0 -17
  343. package/demo/node_modules/delayed-stream/License +0 -19
  344. package/demo/node_modules/delayed-stream/Makefile +0 -7
  345. package/demo/node_modules/delayed-stream/Readme.md +0 -141
  346. package/demo/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  347. package/demo/node_modules/delayed-stream/package.json +0 -27
  348. package/demo/node_modules/dotenv/CHANGELOG.md +0 -475
  349. package/demo/node_modules/dotenv/LICENSE +0 -23
  350. package/demo/node_modules/dotenv/README-es.md +0 -448
  351. package/demo/node_modules/dotenv/README.md +0 -728
  352. package/demo/node_modules/dotenv/config.d.ts +0 -1
  353. package/demo/node_modules/dotenv/config.js +0 -9
  354. package/demo/node_modules/dotenv/lib/cli-options.js +0 -11
  355. package/demo/node_modules/dotenv/lib/env-options.js +0 -24
  356. package/demo/node_modules/dotenv/lib/main.d.ts +0 -153
  357. package/demo/node_modules/dotenv/lib/main.js +0 -361
  358. package/demo/node_modules/dotenv/package.json +0 -65
  359. package/demo/node_modules/event-target-shim/LICENSE +0 -22
  360. package/demo/node_modules/event-target-shim/README.md +0 -293
  361. package/demo/node_modules/event-target-shim/index.d.ts +0 -399
  362. package/demo/node_modules/event-target-shim/package.json +0 -82
  363. package/demo/node_modules/form-data/License +0 -19
  364. package/demo/node_modules/form-data/README.md.bak +0 -358
  365. package/demo/node_modules/form-data/Readme.md +0 -358
  366. package/demo/node_modules/form-data/index.d.ts +0 -62
  367. package/demo/node_modules/form-data/lib/browser.js +0 -2
  368. package/demo/node_modules/form-data/lib/form_data.js +0 -501
  369. package/demo/node_modules/form-data/lib/populate.js +0 -10
  370. package/demo/node_modules/form-data/package.json +0 -68
  371. package/demo/node_modules/form-data-encoder/@type/FileLike.d.ts +0 -23
  372. package/demo/node_modules/form-data-encoder/@type/FormDataEncoder.d.ts +0 -160
  373. package/demo/node_modules/form-data-encoder/@type/FormDataLike.d.ts +0 -40
  374. package/demo/node_modules/form-data-encoder/@type/index.d.ts +0 -5
  375. package/demo/node_modules/form-data-encoder/@type/util/createBoundary.d.ts +0 -13
  376. package/demo/node_modules/form-data-encoder/@type/util/escapeName.d.ts +0 -11
  377. package/demo/node_modules/form-data-encoder/@type/util/isFileLike.d.ts +0 -28
  378. package/demo/node_modules/form-data-encoder/@type/util/isFormData.d.ts +0 -15
  379. package/demo/node_modules/form-data-encoder/@type/util/isFunction.d.ts +0 -7
  380. package/demo/node_modules/form-data-encoder/@type/util/isPlainObject.d.ts +0 -2
  381. package/demo/node_modules/form-data-encoder/@type/util/normalizeValue.d.ts +0 -11
  382. package/demo/node_modules/form-data-encoder/lib/cjs/FileLike.js +0 -2
  383. package/demo/node_modules/form-data-encoder/lib/cjs/FormDataEncoder.js +0 -126
  384. package/demo/node_modules/form-data-encoder/lib/cjs/FormDataLike.js +0 -2
  385. package/demo/node_modules/form-data-encoder/lib/cjs/index.js +0 -17
  386. package/demo/node_modules/form-data-encoder/lib/cjs/package.json +0 -3
  387. package/demo/node_modules/form-data-encoder/lib/cjs/util/createBoundary.js +0 -12
  388. package/demo/node_modules/form-data-encoder/lib/cjs/util/escapeName.js +0 -7
  389. package/demo/node_modules/form-data-encoder/lib/cjs/util/isFileLike.js +0 -16
  390. package/demo/node_modules/form-data-encoder/lib/cjs/util/isFormData.js +0 -16
  391. package/demo/node_modules/form-data-encoder/lib/cjs/util/isFunction.js +0 -4
  392. package/demo/node_modules/form-data-encoder/lib/cjs/util/isPlainObject.js +0 -15
  393. package/demo/node_modules/form-data-encoder/lib/cjs/util/normalizeValue.js +0 -11
  394. package/demo/node_modules/form-data-encoder/lib/esm/FileLike.js +0 -1
  395. package/demo/node_modules/form-data-encoder/lib/esm/FormDataEncoder.js +0 -119
  396. package/demo/node_modules/form-data-encoder/lib/esm/FormDataLike.js +0 -1
  397. package/demo/node_modules/form-data-encoder/lib/esm/index.js +0 -5
  398. package/demo/node_modules/form-data-encoder/lib/esm/package.json +0 -3
  399. package/demo/node_modules/form-data-encoder/lib/esm/util/createBoundary.js +0 -10
  400. package/demo/node_modules/form-data-encoder/lib/esm/util/escapeName.js +0 -5
  401. package/demo/node_modules/form-data-encoder/lib/esm/util/isFileLike.js +0 -9
  402. package/demo/node_modules/form-data-encoder/lib/esm/util/isFormData.js +0 -9
  403. package/demo/node_modules/form-data-encoder/lib/esm/util/isFunction.js +0 -2
  404. package/demo/node_modules/form-data-encoder/lib/esm/util/isPlainObject.js +0 -13
  405. package/demo/node_modules/form-data-encoder/lib/esm/util/normalizeValue.js +0 -9
  406. package/demo/node_modules/form-data-encoder/license +0 -21
  407. package/demo/node_modules/form-data-encoder/package.json +0 -63
  408. package/demo/node_modules/form-data-encoder/readme.md +0 -366
  409. package/demo/node_modules/formdata-node/@type/Blob.d.ts +0 -66
  410. package/demo/node_modules/formdata-node/@type/BlobPart.d.ts +0 -2
  411. package/demo/node_modules/formdata-node/@type/File.d.ts +0 -53
  412. package/demo/node_modules/formdata-node/@type/FormData.d.ts +0 -105
  413. package/demo/node_modules/formdata-node/@type/blobHelpers.d.ts +0 -9
  414. package/demo/node_modules/formdata-node/@type/browser.d.ts +0 -10
  415. package/demo/node_modules/formdata-node/@type/deprecateConstructorEntries.d.ts +0 -1
  416. package/demo/node_modules/formdata-node/@type/fileFromPath.d.ts +0 -55
  417. package/demo/node_modules/formdata-node/@type/index.d.ts +0 -3
  418. package/demo/node_modules/formdata-node/@type/isBlob.d.ts +0 -2
  419. package/demo/node_modules/formdata-node/@type/isFile.d.ts +0 -7
  420. package/demo/node_modules/formdata-node/@type/isFunction.d.ts +0 -1
  421. package/demo/node_modules/formdata-node/@type/isPlainObject.d.ts +0 -2
  422. package/demo/node_modules/formdata-node/lib/cjs/Blob.js +0 -122
  423. package/demo/node_modules/formdata-node/lib/cjs/BlobPart.js +0 -2
  424. package/demo/node_modules/formdata-node/lib/cjs/File.js +0 -52
  425. package/demo/node_modules/formdata-node/lib/cjs/FormData.js +0 -148
  426. package/demo/node_modules/formdata-node/lib/cjs/blobHelpers.js +0 -80
  427. package/demo/node_modules/formdata-node/lib/cjs/browser.js +0 -13
  428. package/demo/node_modules/formdata-node/lib/cjs/deprecateConstructorEntries.js +0 -6
  429. package/demo/node_modules/formdata-node/lib/cjs/fileFromPath.js +0 -97
  430. package/demo/node_modules/formdata-node/lib/cjs/index.js +0 -15
  431. package/demo/node_modules/formdata-node/lib/cjs/isBlob.js +0 -6
  432. package/demo/node_modules/formdata-node/lib/cjs/isFile.js +0 -6
  433. package/demo/node_modules/formdata-node/lib/cjs/isFunction.js +0 -5
  434. package/demo/node_modules/formdata-node/lib/cjs/isPlainObject.js +0 -15
  435. package/demo/node_modules/formdata-node/lib/cjs/package.json +0 -3
  436. package/demo/node_modules/formdata-node/lib/esm/Blob.js +0 -118
  437. package/demo/node_modules/formdata-node/lib/esm/BlobPart.js +0 -1
  438. package/demo/node_modules/formdata-node/lib/esm/File.js +0 -48
  439. package/demo/node_modules/formdata-node/lib/esm/FormData.js +0 -144
  440. package/demo/node_modules/formdata-node/lib/esm/blobHelpers.js +0 -75
  441. package/demo/node_modules/formdata-node/lib/esm/browser.js +0 -10
  442. package/demo/node_modules/formdata-node/lib/esm/deprecateConstructorEntries.js +0 -3
  443. package/demo/node_modules/formdata-node/lib/esm/fileFromPath.js +0 -79
  444. package/demo/node_modules/formdata-node/lib/esm/index.js +0 -3
  445. package/demo/node_modules/formdata-node/lib/esm/isBlob.js +0 -2
  446. package/demo/node_modules/formdata-node/lib/esm/isFile.js +0 -2
  447. package/demo/node_modules/formdata-node/lib/esm/isFunction.js +0 -1
  448. package/demo/node_modules/formdata-node/lib/esm/isPlainObject.js +0 -13
  449. package/demo/node_modules/formdata-node/lib/esm/package.json +0 -3
  450. package/demo/node_modules/formdata-node/lib/node-domexception.d.ts +0 -5
  451. package/demo/node_modules/formdata-node/license +0 -21
  452. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/LICENSE +0 -22
  453. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/README.md +0 -135
  454. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/es5/package.json +0 -6
  455. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/package.json +0 -101
  456. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/polyfill/es5/package.json +0 -5
  457. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/polyfill/package.json +0 -5
  458. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/types/polyfill.d.ts +0 -62
  459. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts +0 -775
  460. package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/types/tsdoc-metadata.json +0 -11
  461. package/demo/node_modules/formdata-node/package.json +0 -94
  462. package/demo/node_modules/formdata-node/readme.md +0 -444
  463. package/demo/node_modules/humanize-ms/History.md +0 -25
  464. package/demo/node_modules/humanize-ms/LICENSE +0 -17
  465. package/demo/node_modules/humanize-ms/README.md +0 -40
  466. package/demo/node_modules/humanize-ms/index.js +0 -24
  467. package/demo/node_modules/humanize-ms/package.json +0 -37
  468. package/demo/node_modules/mime-db/HISTORY.md +0 -507
  469. package/demo/node_modules/mime-db/LICENSE +0 -23
  470. package/demo/node_modules/mime-db/README.md +0 -100
  471. package/demo/node_modules/mime-db/db.json +0 -8519
  472. package/demo/node_modules/mime-db/index.js +0 -12
  473. package/demo/node_modules/mime-db/package.json +0 -60
  474. package/demo/node_modules/mime-types/HISTORY.md +0 -397
  475. package/demo/node_modules/mime-types/LICENSE +0 -23
  476. package/demo/node_modules/mime-types/README.md +0 -113
  477. package/demo/node_modules/mime-types/index.js +0 -188
  478. package/demo/node_modules/mime-types/package.json +0 -44
  479. package/demo/node_modules/ms/index.js +0 -162
  480. package/demo/node_modules/ms/license.md +0 -21
  481. package/demo/node_modules/ms/package.json +0 -38
  482. package/demo/node_modules/ms/readme.md +0 -59
  483. package/demo/node_modules/node-domexception/.history/README_20210527203617.md +0 -2
  484. package/demo/node_modules/node-domexception/.history/README_20210527212714.md +0 -41
  485. package/demo/node_modules/node-domexception/.history/README_20210527213345.md +0 -36
  486. package/demo/node_modules/node-domexception/.history/README_20210527213411.md +0 -36
  487. package/demo/node_modules/node-domexception/.history/README_20210527213803.md +0 -36
  488. package/demo/node_modules/node-domexception/.history/README_20210527214323.md +0 -38
  489. package/demo/node_modules/node-domexception/.history/README_20210527214408.md +0 -38
  490. package/demo/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
  491. package/demo/node_modules/node-domexception/.history/index_20210527203947.js +0 -8
  492. package/demo/node_modules/node-domexception/.history/index_20210527204259.js +0 -9
  493. package/demo/node_modules/node-domexception/.history/index_20210527204418.js +0 -9
  494. package/demo/node_modules/node-domexception/.history/index_20210527204756.js +0 -11
  495. package/demo/node_modules/node-domexception/.history/index_20210527204833.js +0 -11
  496. package/demo/node_modules/node-domexception/.history/index_20210527211208.js +0 -15
  497. package/demo/node_modules/node-domexception/.history/index_20210527211248.js +0 -15
  498. package/demo/node_modules/node-domexception/.history/index_20210527212722.js +0 -23
  499. package/demo/node_modules/node-domexception/.history/index_20210527212731.js +0 -23
  500. package/demo/node_modules/node-domexception/.history/index_20210527212746.js +0 -15
  501. package/demo/node_modules/node-domexception/.history/index_20210527212900.js +0 -16
  502. package/demo/node_modules/node-domexception/.history/index_20210527213022.js +0 -16
  503. package/demo/node_modules/node-domexception/.history/index_20210527213822.js +0 -16
  504. package/demo/node_modules/node-domexception/.history/index_20210527213843.js +0 -17
  505. package/demo/node_modules/node-domexception/.history/index_20210527213852.js +0 -17
  506. package/demo/node_modules/node-domexception/.history/index_20210527213910.js +0 -16
  507. package/demo/node_modules/node-domexception/.history/index_20210527214034.js +0 -16
  508. package/demo/node_modules/node-domexception/.history/index_20210527214643.js +0 -41
  509. package/demo/node_modules/node-domexception/.history/index_20210527214654.js +0 -41
  510. package/demo/node_modules/node-domexception/.history/index_20210527214700.js +0 -16
  511. package/demo/node_modules/node-domexception/.history/package_20210527203733.json +0 -19
  512. package/demo/node_modules/node-domexception/.history/package_20210527203825.json +0 -16
  513. package/demo/node_modules/node-domexception/.history/package_20210527204621.json +0 -19
  514. package/demo/node_modules/node-domexception/.history/package_20210527204913.json +0 -25
  515. package/demo/node_modules/node-domexception/.history/package_20210527204925.json +0 -25
  516. package/demo/node_modules/node-domexception/.history/package_20210527205145.json +0 -29
  517. package/demo/node_modules/node-domexception/.history/package_20210527205156.json +0 -29
  518. package/demo/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
  519. package/demo/node_modules/node-domexception/.history/test_20210527205957.js +0 -3
  520. package/demo/node_modules/node-domexception/.history/test_20210527210021.js +0 -3
  521. package/demo/node_modules/node-domexception/LICENSE +0 -21
  522. package/demo/node_modules/node-domexception/README.md +0 -46
  523. package/demo/node_modules/node-domexception/index.js +0 -16
  524. package/demo/node_modules/node-domexception/package.json +0 -29
  525. package/demo/node_modules/node-fetch/LICENSE.md +0 -22
  526. package/demo/node_modules/node-fetch/README.md +0 -634
  527. package/demo/node_modules/node-fetch/browser.js +0 -25
  528. package/demo/node_modules/node-fetch/lib/index.es.js +0 -1777
  529. package/demo/node_modules/node-fetch/lib/index.js +0 -1787
  530. package/demo/node_modules/node-fetch/lib/index.mjs +0 -1775
  531. package/demo/node_modules/node-fetch/package.json +0 -89
  532. package/demo/node_modules/tr46/index.js +0 -193
  533. package/demo/node_modules/tr46/lib/.gitkeep +0 -0
  534. package/demo/node_modules/tr46/lib/mappingTable.json +0 -1
  535. package/demo/node_modules/tr46/package.json +0 -31
  536. package/demo/node_modules/undici-types/README.md +0 -6
  537. package/demo/node_modules/undici-types/agent.d.ts +0 -31
  538. package/demo/node_modules/undici-types/api.d.ts +0 -43
  539. package/demo/node_modules/undici-types/balanced-pool.d.ts +0 -18
  540. package/demo/node_modules/undici-types/cache.d.ts +0 -36
  541. package/demo/node_modules/undici-types/client.d.ts +0 -97
  542. package/demo/node_modules/undici-types/connector.d.ts +0 -34
  543. package/demo/node_modules/undici-types/content-type.d.ts +0 -21
  544. package/demo/node_modules/undici-types/cookies.d.ts +0 -28
  545. package/demo/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
  546. package/demo/node_modules/undici-types/dispatcher.d.ts +0 -241
  547. package/demo/node_modules/undici-types/errors.d.ts +0 -128
  548. package/demo/node_modules/undici-types/fetch.d.ts +0 -209
  549. package/demo/node_modules/undici-types/file.d.ts +0 -39
  550. package/demo/node_modules/undici-types/filereader.d.ts +0 -54
  551. package/demo/node_modules/undici-types/formdata.d.ts +0 -108
  552. package/demo/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  553. package/demo/node_modules/undici-types/global-origin.d.ts +0 -7
  554. package/demo/node_modules/undici-types/handlers.d.ts +0 -9
  555. package/demo/node_modules/undici-types/header.d.ts +0 -4
  556. package/demo/node_modules/undici-types/index.d.ts +0 -63
  557. package/demo/node_modules/undici-types/interceptors.d.ts +0 -5
  558. package/demo/node_modules/undici-types/mock-agent.d.ts +0 -50
  559. package/demo/node_modules/undici-types/mock-client.d.ts +0 -25
  560. package/demo/node_modules/undici-types/mock-errors.d.ts +0 -12
  561. package/demo/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  562. package/demo/node_modules/undici-types/mock-pool.d.ts +0 -25
  563. package/demo/node_modules/undici-types/package.json +0 -55
  564. package/demo/node_modules/undici-types/patch.d.ts +0 -71
  565. package/demo/node_modules/undici-types/pool-stats.d.ts +0 -19
  566. package/demo/node_modules/undici-types/pool.d.ts +0 -28
  567. package/demo/node_modules/undici-types/proxy-agent.d.ts +0 -30
  568. package/demo/node_modules/undici-types/readable.d.ts +0 -61
  569. package/demo/node_modules/undici-types/webidl.d.ts +0 -220
  570. package/demo/node_modules/undici-types/websocket.d.ts +0 -131
  571. package/demo/node_modules/web-streams-polyfill/LICENSE +0 -22
  572. package/demo/node_modules/web-streams-polyfill/README.md +0 -110
  573. package/demo/node_modules/web-streams-polyfill/es2018/package.json +0 -14
  574. package/demo/node_modules/web-streams-polyfill/es6/package.json +0 -14
  575. package/demo/node_modules/web-streams-polyfill/package.json +0 -83
  576. package/demo/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +0 -13
  577. package/demo/node_modules/web-streams-polyfill/ponyfill/es6/package.json +0 -13
  578. package/demo/node_modules/web-streams-polyfill/ponyfill/package.json +0 -13
  579. package/demo/node_modules/webidl-conversions/LICENSE.md +0 -12
  580. package/demo/node_modules/webidl-conversions/README.md +0 -53
  581. package/demo/node_modules/webidl-conversions/lib/index.js +0 -189
  582. package/demo/node_modules/webidl-conversions/package.json +0 -23
  583. package/demo/node_modules/whatwg-url/LICENSE.txt +0 -21
  584. package/demo/node_modules/whatwg-url/README.md +0 -67
  585. package/demo/node_modules/whatwg-url/lib/URL-impl.js +0 -200
  586. package/demo/node_modules/whatwg-url/lib/URL.js +0 -196
  587. package/demo/node_modules/whatwg-url/lib/public-api.js +0 -11
  588. package/demo/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
  589. package/demo/node_modules/whatwg-url/lib/utils.js +0 -20
  590. package/demo/node_modules/whatwg-url/package.json +0 -32
@@ -1,859 +0,0 @@
1
- # Changelog
2
-
3
- ## 0.20.9 (2024-05-07)
4
-
5
- Full Changelog: [sdk-v0.20.8...sdk-v0.20.9](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.8...sdk-v0.20.9)
6
-
7
- ### Bug Fixes
8
-
9
- * **package:** revert recent client file change ([#409](https://github.com/anthropics/anthropic-sdk-typescript/issues/409)) ([9054249](https://github.com/anthropics/anthropic-sdk-typescript/commit/90542499ccf9f5d020e71e1c8dc8935e0c86ede4))
10
-
11
-
12
- ### Chores
13
-
14
- * **internal:** add link to openapi spec ([#406](https://github.com/anthropics/anthropic-sdk-typescript/issues/406)) ([39c856d](https://github.com/anthropics/anthropic-sdk-typescript/commit/39c856d02abbb1d54efbacef087cc89b79bce017))
15
- * **internal:** bump prism version ([#407](https://github.com/anthropics/anthropic-sdk-typescript/issues/407)) ([0c1eb5d](https://github.com/anthropics/anthropic-sdk-typescript/commit/0c1eb5d5c500ea95fbf9a5ccce37c74170c6a84f))
16
- * **internal:** move client class to separate file ([#408](https://github.com/anthropics/anthropic-sdk-typescript/issues/408)) ([b5e1e4a](https://github.com/anthropics/anthropic-sdk-typescript/commit/b5e1e4a68c9fc00bede9134fa2214480bbbf5f2d))
17
- * **internal:** refactor scripts ([#404](https://github.com/anthropics/anthropic-sdk-typescript/issues/404)) ([f60e2d8](https://github.com/anthropics/anthropic-sdk-typescript/commit/f60e2d81bb241063507d2d7e728c78e78c1c5e51))
18
-
19
- ## 0.20.8 (2024-04-29)
20
-
21
- Full Changelog: [sdk-v0.20.7...sdk-v0.20.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.7...sdk-v0.20.8)
22
-
23
- ### Chores
24
-
25
- * **internal:** add scripts/test and scripts/mock ([#403](https://github.com/anthropics/anthropic-sdk-typescript/issues/403)) ([bdc6011](https://github.com/anthropics/anthropic-sdk-typescript/commit/bdc601192d651f9a7f6bf822c631db1d652d796c))
26
- * **internal:** use actions/checkout@v4 for codeflow ([#400](https://github.com/anthropics/anthropic-sdk-typescript/issues/400)) ([6d565d3](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d565d366f8787e87cbe9ac851e42c13f88c2579))
27
-
28
- ## 0.20.7 (2024-04-24)
29
-
30
- Full Changelog: [sdk-v0.20.6...sdk-v0.20.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.6...sdk-v0.20.7)
31
-
32
- ### Chores
33
-
34
- * **internal:** use @swc/jest for running tests ([#397](https://github.com/anthropics/anthropic-sdk-typescript/issues/397)) ([0dbca67](https://github.com/anthropics/anthropic-sdk-typescript/commit/0dbca679f26f4a301810290601cc41f18525fe6e))
35
-
36
- ## 0.20.6 (2024-04-17)
37
-
38
- Full Changelog: [sdk-v0.20.5...sdk-v0.20.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.5...sdk-v0.20.6)
39
-
40
- ### Build System
41
-
42
- * configure UTF-8 locale in devcontainer ([#393](https://github.com/anthropics/anthropic-sdk-typescript/issues/393)) ([db10244](https://github.com/anthropics/anthropic-sdk-typescript/commit/db10244fa87a653c48bbcc2fffbad206dbe39645))
43
-
44
- ## 0.20.5 (2024-04-15)
45
-
46
- Full Changelog: [sdk-v0.20.4...sdk-v0.20.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.4...sdk-v0.20.5)
47
-
48
- ### Chores
49
-
50
- * **internal:** formatting ([#390](https://github.com/anthropics/anthropic-sdk-typescript/issues/390)) ([b7861b9](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7861b940dc9c1c21eb6edf3bac8d1d62d2d372f))
51
-
52
- ## 0.20.4 (2024-04-11)
53
-
54
- Full Changelog: [sdk-v0.20.3...sdk-v0.20.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.3...sdk-v0.20.4)
55
-
56
- ### Chores
57
-
58
- * **internal:** update gitignore ([#388](https://github.com/anthropics/anthropic-sdk-typescript/issues/388)) ([03f03a2](https://github.com/anthropics/anthropic-sdk-typescript/commit/03f03a22532680a3b9bbd2e49116ef760b07a498))
59
-
60
- ## 0.20.3 (2024-04-10)
61
-
62
- Full Changelog: [sdk-v0.20.2...sdk-v0.20.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.2...sdk-v0.20.3)
63
-
64
- ### Bug Fixes
65
-
66
- * **vertex:** correct core client dependency constraint ([#384](https://github.com/anthropics/anthropic-sdk-typescript/issues/384)) ([de29699](https://github.com/anthropics/anthropic-sdk-typescript/commit/de2969902b68b5c46b6e682b8b947426c6ccf195))
67
-
68
- ## 0.20.2 (2024-04-09)
69
-
70
- Full Changelog: [sdk-v0.20.1...sdk-v0.20.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.1...sdk-v0.20.2)
71
-
72
- ### Chores
73
-
74
- * **internal:** update lock files ([#377](https://github.com/anthropics/anthropic-sdk-typescript/issues/377)) ([6d239ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d239efaca730baba374a1b49f6b1a4037b3e163))
75
-
76
- ## 0.20.1 (2024-04-04)
77
-
78
- Full Changelog: [sdk-v0.20.0...sdk-v0.20.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.0...sdk-v0.20.1)
79
-
80
- ### Documentation
81
-
82
- * **readme:** mention tool use ([#375](https://github.com/anthropics/anthropic-sdk-typescript/issues/375)) ([72356dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/72356dd9c498344074c292ffdab602d54c4fa13e))
83
-
84
- ## 0.20.0 (2024-04-04)
85
-
86
- Full Changelog: [sdk-v0.19.2...sdk-v0.20.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.19.2...sdk-v0.20.0)
87
-
88
- ### Features
89
-
90
- * **api:** tool use beta ([#374](https://github.com/anthropics/anthropic-sdk-typescript/issues/374)) ([e28514a](https://github.com/anthropics/anthropic-sdk-typescript/commit/e28514a305908f71e98bc33123bc99ed6bf7348f))
91
-
92
-
93
- ### Bug Fixes
94
-
95
- * **types:** correctly mark type as a required property in requests ([#371](https://github.com/anthropics/anthropic-sdk-typescript/issues/371)) ([a04edd8](https://github.com/anthropics/anthropic-sdk-typescript/commit/a04edd8d7f4c552281b37a44099edf432d7fcb27))
96
-
97
-
98
- ### Chores
99
-
100
- * **types:** consistent naming for text block types ([#373](https://github.com/anthropics/anthropic-sdk-typescript/issues/373)) ([84a6a58](https://github.com/anthropics/anthropic-sdk-typescript/commit/84a6a58ff978cc274b85656ca4394396e8b360e3))
101
-
102
- ## 0.19.2 (2024-04-04)
103
-
104
- Full Changelog: [sdk-v0.19.1...sdk-v0.19.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.19.1...sdk-v0.19.2)
105
-
106
- ### Bug Fixes
107
-
108
- * **streaming:** handle special line characters and fix multi-byte character decoding ([#370](https://github.com/anthropics/anthropic-sdk-typescript/issues/370)) ([7a97b38](https://github.com/anthropics/anthropic-sdk-typescript/commit/7a97b38e389809ef75c307d26fc671c829b5ea29))
109
-
110
-
111
- ### Chores
112
-
113
- * **deps:** bump yarn to v1.22.22 ([#369](https://github.com/anthropics/anthropic-sdk-typescript/issues/369)) ([603d7b1](https://github.com/anthropics/anthropic-sdk-typescript/commit/603d7b17411bc25a562acb80ebde71ae058892d0))
114
- * **deps:** remove unused dependency digest-fetch ([#368](https://github.com/anthropics/anthropic-sdk-typescript/issues/368)) ([df1df0f](https://github.com/anthropics/anthropic-sdk-typescript/commit/df1df0f509682841c703fa1ea5062a796cfe2091))
115
-
116
-
117
- ### Documentation
118
-
119
- * **readme:** change undocumented params wording ([#363](https://github.com/anthropics/anthropic-sdk-typescript/issues/363)) ([4222e08](https://github.com/anthropics/anthropic-sdk-typescript/commit/4222e088aff5e26a3d2fbe1b622781c6194b0469))
120
-
121
- ## 0.19.1 (2024-03-29)
122
-
123
- Full Changelog: [sdk-v0.19.0...sdk-v0.19.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.19.0...sdk-v0.19.1)
124
-
125
- ### Bug Fixes
126
-
127
- * **client:** correctly send deno version header ([#354](https://github.com/anthropics/anthropic-sdk-typescript/issues/354)) ([ad5162b](https://github.com/anthropics/anthropic-sdk-typescript/commit/ad5162be2ccb122eb355577f481732121b130b0b))
128
- * handle process.env being undefined in debug func ([#351](https://github.com/anthropics/anthropic-sdk-typescript/issues/351)) ([3b0f38a](https://github.com/anthropics/anthropic-sdk-typescript/commit/3b0f38ab427ae7d31c800cd5c8be1653da9ae709))
129
- * **streaming:** correct accumulation of output tokens ([#361](https://github.com/anthropics/anthropic-sdk-typescript/issues/361)) ([76af283](https://github.com/anthropics/anthropic-sdk-typescript/commit/76af283596530ccd3a77ed86788bc0ea1e93f3c1))
130
- * **types:** correct typo claude-2.1' to claude-2.1 ([#352](https://github.com/anthropics/anthropic-sdk-typescript/issues/352)) ([0d5efb9](https://github.com/anthropics/anthropic-sdk-typescript/commit/0d5efb9a0b9eb3ebe1df5ed10164fadfd886eac6))
131
-
132
-
133
- ### Chores
134
-
135
- * **internal:** add type ([#359](https://github.com/anthropics/anthropic-sdk-typescript/issues/359)) ([9456414](https://github.com/anthropics/anthropic-sdk-typescript/commit/945641467deffb674f762920955c98d10f287c8e))
136
-
137
-
138
- ### Documentation
139
-
140
- * **bedrock:** fix dead link ([#356](https://github.com/anthropics/anthropic-sdk-typescript/issues/356)) ([a953e00](https://github.com/anthropics/anthropic-sdk-typescript/commit/a953e0070698f3238b728ffe06a056a9f2d6b7ff))
141
- * **readme:** consistent use of sentence case in headings ([#347](https://github.com/anthropics/anthropic-sdk-typescript/issues/347)) ([30f45d1](https://github.com/anthropics/anthropic-sdk-typescript/commit/30f45d14a534d7392dfcc4fb503bf07ab8cf038d))
142
- * **readme:** document how to make undocumented requests ([#349](https://github.com/anthropics/anthropic-sdk-typescript/issues/349)) ([f92c50a](https://github.com/anthropics/anthropic-sdk-typescript/commit/f92c50ac6d9d1b8bdb837e52414aafd3224553da))
143
-
144
- ## 0.19.0 (2024-03-19)
145
-
146
- Full Changelog: [sdk-v0.18.0...sdk-v0.19.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.18.0...sdk-v0.19.0)
147
-
148
- ### Features
149
-
150
- * **vertex:** add support for overriding google auth ([#338](https://github.com/anthropics/anthropic-sdk-typescript/issues/338)) ([28d98c4](https://github.com/anthropics/anthropic-sdk-typescript/commit/28d98c487257a3c6b3c6d84597768d484fadb86d))
151
- * **vertex:** api is no longer in private beta ([#344](https://github.com/anthropics/anthropic-sdk-typescript/issues/344)) ([892127c](https://github.com/anthropics/anthropic-sdk-typescript/commit/892127cdac059eee11c1a322a5512f9250868023))
152
-
153
-
154
- ### Bug Fixes
155
-
156
- * **internal:** make toFile use input file's options ([#343](https://github.com/anthropics/anthropic-sdk-typescript/issues/343)) ([2dc2174](https://github.com/anthropics/anthropic-sdk-typescript/commit/2dc217441d6da8f2192b3e81b03c985383b6816e))
157
-
158
-
159
- ### Chores
160
-
161
- * **internal:** update generated pragma comment ([#341](https://github.com/anthropics/anthropic-sdk-typescript/issues/341)) ([fd60f63](https://github.com/anthropics/anthropic-sdk-typescript/commit/fd60f63d5e5cd978b287d66fd95deabe2ff089d2))
162
-
163
-
164
- ### Documentation
165
-
166
- * fix typo in CONTRIBUTING.md ([#340](https://github.com/anthropics/anthropic-sdk-typescript/issues/340)) ([ba9f3fa](https://github.com/anthropics/anthropic-sdk-typescript/commit/ba9f3faa5e3d116fce232d81f554b2f95f573ec8))
167
-
168
- ## 0.18.0 (2024-03-13)
169
-
170
- Full Changelog: [sdk-v0.17.2...sdk-v0.18.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.17.2...sdk-v0.18.0)
171
-
172
- ### Features
173
-
174
- * **api:** add haiku model ([#333](https://github.com/anthropics/anthropic-sdk-typescript/issues/333)) ([11becc6](https://github.com/anthropics/anthropic-sdk-typescript/commit/11becc64a8b07b353835678e063a70e3a0bd85e3))
175
-
176
-
177
- ### Documentation
178
-
179
- * update models in vertex examples ([#331](https://github.com/anthropics/anthropic-sdk-typescript/issues/331)) ([3d139b3](https://github.com/anthropics/anthropic-sdk-typescript/commit/3d139b374179ef5540a8e9436df06501c6ada6c5))
180
-
181
- ## 0.17.2 (2024-03-12)
182
-
183
- Full Changelog: [sdk-v0.17.1...sdk-v0.17.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.17.1...sdk-v0.17.2)
184
-
185
- ### Chores
186
-
187
- * **internal:** add explicit type annotation to decoder ([#324](https://github.com/anthropics/anthropic-sdk-typescript/issues/324)) ([7e172c7](https://github.com/anthropics/anthropic-sdk-typescript/commit/7e172c74f75414ee246cbd71104454c9e81efc0d))
188
-
189
- ## 0.17.1 (2024-03-06)
190
-
191
- Full Changelog: [sdk-v0.17.0...sdk-v0.17.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.17.0...sdk-v0.17.1)
192
-
193
- ### Documentation
194
-
195
- * deprecate old access token getter ([#322](https://github.com/anthropics/anthropic-sdk-typescript/issues/322)) ([1110548](https://github.com/anthropics/anthropic-sdk-typescript/commit/1110548d4543fab83bc0ef3beb99a75711cb028a))
196
- * remove extraneous --save and yarn install instructions ([#323](https://github.com/anthropics/anthropic-sdk-typescript/issues/323)) ([775ecb9](https://github.com/anthropics/anthropic-sdk-typescript/commit/775ecb9ef3ab17e88dabc149faa0876cd6ab5f0b))
197
-
198
- ## 0.17.0 (2024-03-06)
199
-
200
- Full Changelog: [sdk-v0.16.1...sdk-v0.17.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.16.1...sdk-v0.17.0)
201
-
202
- ### Features
203
-
204
- * **api:** add enum to model param for message ([#315](https://github.com/anthropics/anthropic-sdk-typescript/issues/315)) ([0c44de0](https://github.com/anthropics/anthropic-sdk-typescript/commit/0c44de01a5d5fc6dda3667f03779eb029247c18e))
205
-
206
-
207
- ### Bug Fixes
208
-
209
- * **streaming:** correctly handle trailing new lines in byte chunks ([#317](https://github.com/anthropics/anthropic-sdk-typescript/issues/317)) ([0147b46](https://github.com/anthropics/anthropic-sdk-typescript/commit/0147b4693bd4b1dc3c9cba04a7082aad3c3cb42c))
210
-
211
-
212
- ### Chores
213
-
214
- * **types:** fix accidental exposure of Buffer type to cloudflare ([#319](https://github.com/anthropics/anthropic-sdk-typescript/issues/319)) ([a5e4462](https://github.com/anthropics/anthropic-sdk-typescript/commit/a5e4462bcf054e8324cbcaa31d1b85ffc58113fd))
215
-
216
-
217
- ### Documentation
218
-
219
- * **readme:** fix https proxy example ([#310](https://github.com/anthropics/anthropic-sdk-typescript/issues/310)) ([99d3c54](https://github.com/anthropics/anthropic-sdk-typescript/commit/99d3c545f45230ec5862ddbbfcb64f46b54d7d13))
220
- * **readme:** fix https proxy example ([#311](https://github.com/anthropics/anthropic-sdk-typescript/issues/311)) ([ffb603c](https://github.com/anthropics/anthropic-sdk-typescript/commit/ffb603c15a0f5d396c96ac545a0cdd0c814ec4ef))
221
-
222
- ## 0.16.1 (2024-03-04)
223
-
224
- Full Changelog: [sdk-v0.16.0...sdk-v0.16.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.16.0...sdk-v0.16.1)
225
-
226
- ### Chores
227
-
228
- * fix error handler in readme ([#307](https://github.com/anthropics/anthropic-sdk-typescript/issues/307)) ([5007a1e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5007a1e71907648ea44e1663f5b7f71bb20d001d))
229
-
230
-
231
- ### Documentation
232
-
233
- * **readme:** reference bedrock sdk ([#309](https://github.com/anthropics/anthropic-sdk-typescript/issues/309)) ([0fd0416](https://github.com/anthropics/anthropic-sdk-typescript/commit/0fd041617eca18dd506efffe5a4e2505dd1aa004))
234
-
235
- ## 0.16.0 (2024-03-04)
236
-
237
- Full Changelog: [sdk-v0.15.0...sdk-v0.16.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.15.0...sdk-v0.16.0)
238
-
239
- ### Features
240
-
241
- * **bedrock:** add messages API ([#305](https://github.com/anthropics/anthropic-sdk-typescript/issues/305)) ([8b7f89e](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b7f89e1e60416f9ad5b575d43238a4259654395))
242
-
243
-
244
- ### Chores
245
-
246
- * update examples ([459956a](https://github.com/anthropics/anthropic-sdk-typescript/commit/459956ac44b5a2fd1dd0d0828e0281875b5900e9))
247
-
248
- ## 0.15.0 (2024-03-04)
249
-
250
- Full Changelog: [sdk-v0.14.1...sdk-v0.15.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.14.1...sdk-v0.15.0)
251
-
252
- ### Features
253
-
254
- * **messages:** add support for image inputs ([#303](https://github.com/anthropics/anthropic-sdk-typescript/issues/303)) ([7663bd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/7663bd6e1a4427483cf5f13889bc5c63314e5bae))
255
-
256
-
257
- ### Bug Fixes
258
-
259
- * **MessageStream:** handle errors more gracefully in async iterator ([#301](https://github.com/anthropics/anthropic-sdk-typescript/issues/301)) ([9cc0daa](https://github.com/anthropics/anthropic-sdk-typescript/commit/9cc0daa9af5717953933e12b487bdbdd5b762cc7))
260
-
261
-
262
- ### Chores
263
-
264
- * **docs:** mention install from git repo ([#302](https://github.com/anthropics/anthropic-sdk-typescript/issues/302)) ([dd2627b](https://github.com/anthropics/anthropic-sdk-typescript/commit/dd2627bc6404afbdccb2c2b66ee0dfcc3fc80031))
265
- * **internal:** update deps ([#296](https://github.com/anthropics/anthropic-sdk-typescript/issues/296)) ([8804a92](https://github.com/anthropics/anthropic-sdk-typescript/commit/8804a92e3c873d712cac75089af0e82104e6381c))
266
-
267
-
268
- ### Documentation
269
-
270
- * **contributing:** improve wording ([#299](https://github.com/anthropics/anthropic-sdk-typescript/issues/299)) ([7697fa1](https://github.com/anthropics/anthropic-sdk-typescript/commit/7697fa1a3b680015c55ed715a1496c727630a3dc))
271
- * **readme:** fix typo in custom fetch implementation ([#300](https://github.com/anthropics/anthropic-sdk-typescript/issues/300)) ([a4974c3](https://github.com/anthropics/anthropic-sdk-typescript/commit/a4974c3080c6b592c2a25367932481a154e6c280))
272
-
273
- ## 0.14.1 (2024-02-22)
274
-
275
- Full Changelog: [sdk-v0.14.0...sdk-v0.14.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.14.0...sdk-v0.14.1)
276
-
277
- ### Chores
278
-
279
- * **ci:** update actions/setup-node action to v4 ([#295](https://github.com/anthropics/anthropic-sdk-typescript/issues/295)) ([359a856](https://github.com/anthropics/anthropic-sdk-typescript/commit/359a856c4c93d962ca3e117f4dd799849eb5fa7d))
280
- * **docs:** remove references to old bedrock package ([#289](https://github.com/anthropics/anthropic-sdk-typescript/issues/289)) ([33b935e](https://github.com/anthropics/anthropic-sdk-typescript/commit/33b935e3d840346dd464445901846d2b22888e1c))
281
- * **internal:** refactor release environment script ([#294](https://github.com/anthropics/anthropic-sdk-typescript/issues/294)) ([b7f8714](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7f87143b16ad413adb943297e65473fd9b93b71))
282
-
283
-
284
- ### Documentation
285
-
286
- * **readme:** fix header for streaming helpers ([#293](https://github.com/anthropics/anthropic-sdk-typescript/issues/293)) ([7278e6f](https://github.com/anthropics/anthropic-sdk-typescript/commit/7278e6f7d62d837c2af0b1a440dfa97b6a3f6b4e))
287
-
288
-
289
- ### Refactors
290
-
291
- * **api:** mark completions API as legacy ([#291](https://github.com/anthropics/anthropic-sdk-typescript/issues/291)) ([c78e2e2](https://github.com/anthropics/anthropic-sdk-typescript/commit/c78e2e215067fabcc3eaee0a537213f55735b42e))
292
-
293
- ## 0.14.0 (2024-02-13)
294
-
295
- Full Changelog: [sdk-v0.13.1...sdk-v0.14.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.13.1...sdk-v0.14.0)
296
-
297
- ### ⚠ BREAKING CHANGES
298
-
299
- * **api:** messages is generally available ([#287](https://github.com/anthropics/anthropic-sdk-typescript/issues/287))
300
-
301
- ### Features
302
-
303
- * **api:** messages is generally available ([#287](https://github.com/anthropics/anthropic-sdk-typescript/issues/287)) ([be0a828](https://github.com/anthropics/anthropic-sdk-typescript/commit/be0a82883cf9b1b9d2944525b86e40f2b42cea4f))
304
-
305
- ## 0.13.1 (2024-02-07)
306
-
307
- Full Changelog: [sdk-v0.13.0...sdk-v0.13.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.13.0...sdk-v0.13.1)
308
-
309
- ### Chores
310
-
311
- * **internal:** reformat pacakge.json ([#284](https://github.com/anthropics/anthropic-sdk-typescript/issues/284)) ([3760c68](https://github.com/anthropics/anthropic-sdk-typescript/commit/3760c68f207b596261da336cbe62b4b84fb1763f))
312
- * respect `application/vnd.api+json` content-type header ([#286](https://github.com/anthropics/anthropic-sdk-typescript/issues/286)) ([daf0cae](https://github.com/anthropics/anthropic-sdk-typescript/commit/daf0cae6087580d61d4423e113259c8315c2b85a))
313
-
314
- ## 0.13.0 (2024-02-02)
315
-
316
- Full Changelog: [sdk-v0.12.8...sdk-v0.13.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.8...sdk-v0.13.0)
317
-
318
- ### Features
319
-
320
- * **api:** add new usage response fields ([#281](https://github.com/anthropics/anthropic-sdk-typescript/issues/281)) ([77bd18f](https://github.com/anthropics/anthropic-sdk-typescript/commit/77bd18fb3d149c0706664304102fc5f12830f761))
321
-
322
-
323
- ### Chores
324
-
325
- * **package:** fix formatting ([#283](https://github.com/anthropics/anthropic-sdk-typescript/issues/283)) ([f88579a](https://github.com/anthropics/anthropic-sdk-typescript/commit/f88579a0768e0a7d5064eec9e1dd79e86c66bce7))
326
-
327
- ## 0.12.8 (2024-02-02)
328
-
329
- Full Changelog: [sdk-v0.12.7...sdk-v0.12.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.7...sdk-v0.12.8)
330
-
331
- ### Chores
332
-
333
- * **interal:** make link to api.md relative ([#278](https://github.com/anthropics/anthropic-sdk-typescript/issues/278)) ([46f8c28](https://github.com/anthropics/anthropic-sdk-typescript/commit/46f8c2805af75a5a733fdaa53936765a483471cb))
334
- * **internal:** enable building when git installed ([#279](https://github.com/anthropics/anthropic-sdk-typescript/issues/279)) ([3065001](https://github.com/anthropics/anthropic-sdk-typescript/commit/3065001610041b0c74cc640b72f646b6ff867db1))
335
-
336
-
337
- ### Documentation
338
-
339
- * add a CONTRIBUTING.md ([#280](https://github.com/anthropics/anthropic-sdk-typescript/issues/280)) ([5b53551](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b535512f2eacdb9f2fef795c85f2d2aaeedaea3))
340
-
341
- ## 0.12.7 (2024-01-31)
342
-
343
- Full Changelog: [sdk-v0.12.6...sdk-v0.12.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.6...sdk-v0.12.7)
344
-
345
- ### Chores
346
-
347
- * **bedrock:** move bedrock SDK to the main repo ([#274](https://github.com/anthropics/anthropic-sdk-typescript/issues/274)) ([b4ef3a8](https://github.com/anthropics/anthropic-sdk-typescript/commit/b4ef3a854e447744a1e270ec1e7e6da81b98ade3))
348
- * **ci:** fix publish packages script ([#272](https://github.com/anthropics/anthropic-sdk-typescript/issues/272)) ([db3585d](https://github.com/anthropics/anthropic-sdk-typescript/commit/db3585daf759c9794ec307b05a568527a2e7df99))
349
-
350
- ## 0.12.6 (2024-01-30)
351
-
352
- Full Changelog: [sdk-v0.12.5...sdk-v0.12.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.5...sdk-v0.12.6)
353
-
354
- ### Chores
355
-
356
- * **internal:** support pre-release versioning ([#270](https://github.com/anthropics/anthropic-sdk-typescript/issues/270)) ([566069d](https://github.com/anthropics/anthropic-sdk-typescript/commit/566069d4eb1dbcc2123f4b455f855b0748d586ee))
357
-
358
- ## 0.12.5 (2024-01-25)
359
-
360
- Full Changelog: [sdk-v0.12.4...sdk-v0.12.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.4...sdk-v0.12.5)
361
-
362
- ### Chores
363
-
364
- * **internal:** don't re-export streaming type ([#267](https://github.com/anthropics/anthropic-sdk-typescript/issues/267)) ([bcae5a9](https://github.com/anthropics/anthropic-sdk-typescript/commit/bcae5a95078dfe091d01823cd38cf3c63d28026d))
365
- * **internal:** update release-please config ([#269](https://github.com/anthropics/anthropic-sdk-typescript/issues/269)) ([80952e6](https://github.com/anthropics/anthropic-sdk-typescript/commit/80952e6ff6aea24ade9ea45dcbe8bb61da385304))
366
-
367
- ## 0.12.4 (2024-01-23)
368
-
369
- Full Changelog: [sdk-v0.12.3...sdk-v0.12.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.3...sdk-v0.12.4)
370
-
371
- ### Chores
372
-
373
- * **internal:** add internal helpers & improve build scripts ([#261](https://github.com/anthropics/anthropic-sdk-typescript/issues/261)) ([4c1504a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c1504abc7eb8685a8409c4a19dc46d83ea26392))
374
- * **internal:** minor streaming updates ([#264](https://github.com/anthropics/anthropic-sdk-typescript/issues/264)) ([d4414ff](https://github.com/anthropics/anthropic-sdk-typescript/commit/d4414ffeafbc47769b91c4b2681f130b46d1a7c1))
375
- * **internal:** update resource client type ([#263](https://github.com/anthropics/anthropic-sdk-typescript/issues/263)) ([bc4f115](https://github.com/anthropics/anthropic-sdk-typescript/commit/bc4f115900cbeba1ff09d6f3cec79e639a8fda5e))
376
-
377
- ## 0.12.3 (2024-01-19)
378
-
379
- Full Changelog: [v0.12.2...v0.12.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.2...v0.12.3)
380
-
381
- ### Bug Fixes
382
-
383
- * allow body type in RequestOptions to be null ([#259](https://github.com/anthropics/anthropic-sdk-typescript/issues/259)) ([2f98de1](https://github.com/anthropics/anthropic-sdk-typescript/commit/2f98de1a42568b1242ce313ba046febb1c6625b5))
384
-
385
- ## 0.12.2 (2024-01-18)
386
-
387
- Full Changelog: [v0.12.1...v0.12.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.1...v0.12.2)
388
-
389
- ### Bug Fixes
390
-
391
- * **ci:** ignore stainless-app edits to release PR title ([#258](https://github.com/anthropics/anthropic-sdk-typescript/issues/258)) ([87e4ba8](https://github.com/anthropics/anthropic-sdk-typescript/commit/87e4ba82c5b498f881db9590edbfd68c8aba0930))
392
- * **types:** accept undefined for optional client options ([#257](https://github.com/anthropics/anthropic-sdk-typescript/issues/257)) ([a0e2c4a](https://github.com/anthropics/anthropic-sdk-typescript/commit/a0e2c4a4c4a269ad011d9a6c717c1ded2405711b))
393
- * use default base url if BASE_URL env var is blank ([#250](https://github.com/anthropics/anthropic-sdk-typescript/issues/250)) ([e38f32f](https://github.com/anthropics/anthropic-sdk-typescript/commit/e38f32f52398f3a082eb745e85179242ecee7663))
394
-
395
-
396
- ### Chores
397
-
398
- * **internal:** debug logging for retries; speculative retry-after-ms support ([#256](https://github.com/anthropics/anthropic-sdk-typescript/issues/256)) ([b4b70fd](https://github.com/anthropics/anthropic-sdk-typescript/commit/b4b70fdbee45dd2a68e46135db45b61381538ae8))
399
- * **internal:** narrow type into stringifyQuery ([#253](https://github.com/anthropics/anthropic-sdk-typescript/issues/253)) ([3f42e07](https://github.com/anthropics/anthropic-sdk-typescript/commit/3f42e0702ab55cd841c0dc186732028d2fb9f5bb))
400
-
401
-
402
- ### Documentation
403
-
404
- * fix missing async in readme code sample ([#255](https://github.com/anthropics/anthropic-sdk-typescript/issues/255)) ([553fb37](https://github.com/anthropics/anthropic-sdk-typescript/commit/553fb37159a9424a40df1e0f6bb36962ba9f5be8))
405
- * **readme:** improve api reference ([#254](https://github.com/anthropics/anthropic-sdk-typescript/issues/254)) ([3721927](https://github.com/anthropics/anthropic-sdk-typescript/commit/3721927e895d42c167e2464f30f7f2addb690ec6))
406
-
407
- ## 0.12.1 (2024-01-08)
408
-
409
- Full Changelog: [v0.12.0...v0.12.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.0...v0.12.1)
410
-
411
- ### Bug Fixes
412
-
413
- * **headers:** always send lowercase headers and strip undefined (BREAKING in rare cases) ([#245](https://github.com/anthropics/anthropic-sdk-typescript/issues/245)) ([7703066](https://github.com/anthropics/anthropic-sdk-typescript/commit/77030661f5612ea5312cb2fecf7987024ffd6ede))
414
-
415
-
416
- ### Chores
417
-
418
- * add .keep files for examples and custom code directories ([#249](https://github.com/anthropics/anthropic-sdk-typescript/issues/249)) ([26b9062](https://github.com/anthropics/anthropic-sdk-typescript/commit/26b9062c7489dd3ee7f620edfea9888f92a859d7))
419
- * **internal:** improve type signatures ([#247](https://github.com/anthropics/anthropic-sdk-typescript/issues/247)) ([40edd29](https://github.com/anthropics/anthropic-sdk-typescript/commit/40edd299a83f1f60e973080d1fa84f6f42752663))
420
-
421
- ## 0.12.0 (2023-12-21)
422
-
423
- Full Changelog: [v0.11.0...v0.12.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.11.0...v0.12.0)
424
-
425
- ### ⚠ BREAKING CHANGES
426
-
427
- * remove anthropic-beta and x-api-key headers from param types ([#243](https://github.com/anthropics/anthropic-sdk-typescript/issues/243))
428
-
429
- ### Bug Fixes
430
-
431
- * remove anthropic-beta and x-api-key headers from param types ([#243](https://github.com/anthropics/anthropic-sdk-typescript/issues/243)) ([60f67ae](https://github.com/anthropics/anthropic-sdk-typescript/commit/60f67ae757cfe8e482327f508a802b30ec3805a0))
432
-
433
-
434
- ### Documentation
435
-
436
- * **readme:** add streaming helper documentation ([#238](https://github.com/anthropics/anthropic-sdk-typescript/issues/238)) ([d74ee71](https://github.com/anthropics/anthropic-sdk-typescript/commit/d74ee7159f366a3f78091eacdcea3049c1e81ec7))
437
- * **readme:** remove old migration guide ([#236](https://github.com/anthropics/anthropic-sdk-typescript/issues/236)) ([65dff0a](https://github.com/anthropics/anthropic-sdk-typescript/commit/65dff0adb2ec836b81da4f71fb94a316c5f1a942))
438
- * reformat README.md ([#241](https://github.com/anthropics/anthropic-sdk-typescript/issues/241)) ([eb12705](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb12705a7d975f584ca31f24b99c35318cf6419b))
439
-
440
-
441
- ### Refactors
442
-
443
- * write jest config in typescript ([#239](https://github.com/anthropics/anthropic-sdk-typescript/issues/239)) ([7c87f24](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c87f242d921adfbd2bb21ed5f2c37ada2043f95))
444
-
445
- ## 0.11.0 (2023-12-19)
446
-
447
- Full Changelog: [v0.10.2...v0.11.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.2...v0.11.0)
448
-
449
- ### Features
450
-
451
- * **api:** add messages endpoint with streaming helpers ([#235](https://github.com/anthropics/anthropic-sdk-typescript/issues/235)) ([12b914f](https://github.com/anthropics/anthropic-sdk-typescript/commit/12b914f46f4aa625ff141ec0b6631400d0994f76))
452
- * **client:** support reading the base url from an env variable ([#223](https://github.com/anthropics/anthropic-sdk-typescript/issues/223)) ([5bc3600](https://github.com/anthropics/anthropic-sdk-typescript/commit/5bc3600a487e7ed49d944aaf36a43e0d895e907b))
453
-
454
-
455
- ### Chores
456
-
457
- * **ci:** run release workflow once per day ([#232](https://github.com/anthropics/anthropic-sdk-typescript/issues/232)) ([115479f](https://github.com/anthropics/anthropic-sdk-typescript/commit/115479f403838a6d2c81587220029b68a4371c02))
458
- * **deps:** update dependency ts-jest to v29.1.1 ([#233](https://github.com/anthropics/anthropic-sdk-typescript/issues/233)) ([bec6ab1](https://github.com/anthropics/anthropic-sdk-typescript/commit/bec6ab127d9b20071ab673e8e37087a879467b74))
459
- * **deps:** update jest ([#234](https://github.com/anthropics/anthropic-sdk-typescript/issues/234)) ([5506174](https://github.com/anthropics/anthropic-sdk-typescript/commit/5506174092d5248354f3d288c84da5ba4749375c))
460
- * update dependencies ([#231](https://github.com/anthropics/anthropic-sdk-typescript/issues/231)) ([4e34536](https://github.com/anthropics/anthropic-sdk-typescript/commit/4e345362c9002528fb0d95ca739fb8211ab3aec8))
461
- * update prettier ([#230](https://github.com/anthropics/anthropic-sdk-typescript/issues/230)) ([173603e](https://github.com/anthropics/anthropic-sdk-typescript/commit/173603e14fc5fe87c056553ecec3278059fe58d9))
462
-
463
-
464
- ### Documentation
465
-
466
- * update examples to show claude-2.1 ([#227](https://github.com/anthropics/anthropic-sdk-typescript/issues/227)) ([4b00d84](https://github.com/anthropics/anthropic-sdk-typescript/commit/4b00d84aee56090b5d576fdff9c3a07386475c72))
467
-
468
-
469
- ### Build System
470
-
471
- * specify `packageManager: yarn` ([#229](https://github.com/anthropics/anthropic-sdk-typescript/issues/229)) ([d31dae4](https://github.com/anthropics/anthropic-sdk-typescript/commit/d31dae455d750a61ae3b9a751ab73309b0f87417))
472
-
473
- ## 0.10.2 (2023-11-28)
474
-
475
- Full Changelog: [v0.10.1...v0.10.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.1...v0.10.2)
476
-
477
- ## 0.10.1 (2023-11-24)
478
-
479
- Full Changelog: [v0.10.0...v0.10.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.0...v0.10.1)
480
-
481
- ### Chores
482
-
483
- * **internal:** remove file import and conditionally run prepare ([#217](https://github.com/anthropics/anthropic-sdk-typescript/issues/217)) ([8ac5c7a](https://github.com/anthropics/anthropic-sdk-typescript/commit/8ac5c7ae63a7aa4262ad95e0f4d6a509428de794))
484
-
485
- ## 0.10.0 (2023-11-21)
486
-
487
- Full Changelog: [v0.9.1...v0.10.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.9.1...v0.10.0)
488
-
489
- ### Features
490
-
491
- * allow installing package directly from github ([#215](https://github.com/anthropics/anthropic-sdk-typescript/issues/215)) ([3de3f1b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3de3f1b8124c110ead3ebedf709f4d5d088230cd))
492
-
493
-
494
- ### Chores
495
-
496
- * **ci:** fix publish-npm ([#213](https://github.com/anthropics/anthropic-sdk-typescript/issues/213)) ([4ab77b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ab77b7b323f22019193ba4f0a85fc89af193fbf))
497
- * **internal:** don't call prepare in dist ([#216](https://github.com/anthropics/anthropic-sdk-typescript/issues/216)) ([b031904](https://github.com/anthropics/anthropic-sdk-typescript/commit/b031904901a17878545cd8ce5c43f03cd364a8fe))
498
-
499
- ## 0.9.1 (2023-11-14)
500
-
501
- Full Changelog: [v0.9.0...v0.9.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.9.0...v0.9.1)
502
-
503
- ### Chores
504
-
505
- * **ci:** update release-please config ([#206](https://github.com/anthropics/anthropic-sdk-typescript/issues/206)) ([270b0b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/270b0b725ea559ca4616ec8d8bac5a5cde1de0db))
506
- * **docs:** fix github links ([#208](https://github.com/anthropics/anthropic-sdk-typescript/issues/208)) ([b316603](https://github.com/anthropics/anthropic-sdk-typescript/commit/b3166033cffe31f5d11793ddd32e595161f1a2e6))
507
- * **internal:** update APIResource structure ([#211](https://github.com/anthropics/anthropic-sdk-typescript/issues/211)) ([0d6bbce](https://github.com/anthropics/anthropic-sdk-typescript/commit/0d6bbce8ff699b511133ee6bfb72c1244d85eb32))
508
- * **internal:** update jest config ([#210](https://github.com/anthropics/anthropic-sdk-typescript/issues/210)) ([b0c64eb](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0c64eb9531d417f024567a4c74d9dd64743b889))
509
- * **internal:** update tsconfig ([#209](https://github.com/anthropics/anthropic-sdk-typescript/issues/209)) ([81b3e0b](https://github.com/anthropics/anthropic-sdk-typescript/commit/81b3e0b59801f737c6f1783e59eef8c1af77b1ad))
510
-
511
- ## 0.9.0 (2023-11-05)
512
-
513
- Full Changelog: [v0.8.1...v0.9.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.8.1...v0.9.0)
514
-
515
- ### Features
516
-
517
- * **client:** allow binary returns ([#203](https://github.com/anthropics/anthropic-sdk-typescript/issues/203)) ([5983d5e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5983d5e5de327d6835c7baaea022914a101865a2))
518
- * **github:** include a devcontainer setup ([#202](https://github.com/anthropics/anthropic-sdk-typescript/issues/202)) ([ea97913](https://github.com/anthropics/anthropic-sdk-typescript/commit/ea97913a04a508da7704758b78a9b96d097be5a2))
519
-
520
-
521
- ### Chores
522
-
523
- * **internal:** update gitignore ([#198](https://github.com/anthropics/anthropic-sdk-typescript/issues/198)) ([3048738](https://github.com/anthropics/anthropic-sdk-typescript/commit/3048738235b9dff9de19aae59ff66487dffb9e8e))
524
- * small cleanups ([#201](https://github.com/anthropics/anthropic-sdk-typescript/issues/201)) ([9f0a73d](https://github.com/anthropics/anthropic-sdk-typescript/commit/9f0a73d794fc110689ce1c67b68d0a68133adb8d))
525
-
526
-
527
- ### Documentation
528
-
529
- * document customizing fetch ([#204](https://github.com/anthropics/anthropic-sdk-typescript/issues/204)) ([d2df724](https://github.com/anthropics/anthropic-sdk-typescript/commit/d2df7246ec244f2de73d359ffbff3f88acec781d))
530
- * fix github links ([#200](https://github.com/anthropics/anthropic-sdk-typescript/issues/200)) ([4038acd](https://github.com/anthropics/anthropic-sdk-typescript/commit/4038acd91f4de7c3b20efe7f76523d1e6970f5d9))
531
- * **readme:** mention version header ([#205](https://github.com/anthropics/anthropic-sdk-typescript/issues/205)) ([a8d8f07](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8d8f07f9d4890195847b6ea86eb311e258e655f))
532
-
533
- ## 0.8.1 (2023-10-25)
534
-
535
- Full Changelog: [v0.8.0...v0.8.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.8.0...v0.8.1)
536
-
537
- ### Bug Fixes
538
-
539
- * typo in build script ([#197](https://github.com/anthropics/anthropic-sdk-typescript/issues/197)) ([212e990](https://github.com/anthropics/anthropic-sdk-typescript/commit/212e9903e9b72b3169f450d8ab11ebd384951dba))
540
-
541
- ## 0.8.0 (2023-10-24)
542
-
543
- Full Changelog: [v0.7.0...v0.8.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.7.0...v0.8.0)
544
-
545
- ### Features
546
-
547
- * **client:** adjust retry behavior to be exponential backoff ([#192](https://github.com/anthropics/anthropic-sdk-typescript/issues/192)) ([747afe2](https://github.com/anthropics/anthropic-sdk-typescript/commit/747afe2bdbbe3a5489e9b9bc6ed4fcf2a276e40b))
548
-
549
- ## 0.7.0 (2023-10-19)
550
-
551
- Full Changelog: [v0.6.8...v0.7.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.8...v0.7.0)
552
-
553
- ### Features
554
-
555
- * handle 204 No Content gracefully ([#190](https://github.com/anthropics/anthropic-sdk-typescript/issues/190)) ([c8a8bec](https://github.com/anthropics/anthropic-sdk-typescript/commit/c8a8becd127e5275333900c3bb76955605ae0f02))
556
-
557
- ## 0.6.8 (2023-10-17)
558
-
559
- Full Changelog: [v0.6.7...v0.6.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.7...v0.6.8)
560
-
561
- ### Bug Fixes
562
-
563
- * import web-streams-polyfill without overriding globals ([#186](https://github.com/anthropics/anthropic-sdk-typescript/issues/186)) ([e774e17](https://github.com/anthropics/anthropic-sdk-typescript/commit/e774e1774642668e080de5233aeaa33cf5f1b3ae))
564
-
565
- ## 0.6.7 (2023-10-16)
566
-
567
- Full Changelog: [v0.6.6...v0.6.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.6...v0.6.7)
568
-
569
- ### Bug Fixes
570
-
571
- * improve status code in error messages ([#183](https://github.com/anthropics/anthropic-sdk-typescript/issues/183)) ([7d3bbd4](https://github.com/anthropics/anthropic-sdk-typescript/commit/7d3bbd485c9628bb7c3fb5d1660934198981fcc7))
572
-
573
-
574
- ### Chores
575
-
576
- * add case insensitive get header function ([#178](https://github.com/anthropics/anthropic-sdk-typescript/issues/178)) ([13c398d](https://github.com/anthropics/anthropic-sdk-typescript/commit/13c398dee3ff2eaa3b6046630eda9831580348f4))
577
- * **internal:** add debug logs for stream responses ([#182](https://github.com/anthropics/anthropic-sdk-typescript/issues/182)) ([a1fa1b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/a1fa1b7766248f3178cb55ac5342409a57c1dbb8))
578
- * update comment ([#179](https://github.com/anthropics/anthropic-sdk-typescript/issues/179)) ([27a425e](https://github.com/anthropics/anthropic-sdk-typescript/commit/27a425ee64dcdc569b92ac27b501bca0dadf2dea))
579
-
580
-
581
- ### Documentation
582
-
583
- * organisation -> organization (UK to US English) ([#185](https://github.com/anthropics/anthropic-sdk-typescript/issues/185)) ([70257d4](https://github.com/anthropics/anthropic-sdk-typescript/commit/70257d43296f5b448b5649a34b67a3a3a26704ab))
584
-
585
-
586
- ### Refactors
587
-
588
- * **streaming:** change Stream constructor signature ([#174](https://github.com/anthropics/anthropic-sdk-typescript/issues/174)) ([1951824](https://github.com/anthropics/anthropic-sdk-typescript/commit/195182432c41a2a8a4fc425788267e60f36f5820))
589
- * **test:** refactor authentication tests ([#176](https://github.com/anthropics/anthropic-sdk-typescript/issues/176)) ([f59daad](https://github.com/anthropics/anthropic-sdk-typescript/commit/f59daad06cab4c5df3068ea7f71ecbb20d8af141))
590
-
591
- ## 0.6.6 (2023-10-11)
592
-
593
- Full Changelog: [v0.6.5...v0.6.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.5...v0.6.6)
594
-
595
- ### Chores
596
-
597
- * update README ([#173](https://github.com/anthropics/anthropic-sdk-typescript/issues/173)) ([5f50c1b](https://github.com/anthropics/anthropic-sdk-typescript/commit/5f50c1b2f160610c89f158a10d83029c356d925a))
598
-
599
- ## 0.6.5 (2023-10-11)
600
-
601
- Full Changelog: [v0.6.4...v0.6.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.4...v0.6.5)
602
-
603
- ### Features
604
-
605
- * **client:** handle retry-after with a date ([#162](https://github.com/anthropics/anthropic-sdk-typescript/issues/162)) ([31bd609](https://github.com/anthropics/anthropic-sdk-typescript/commit/31bd60905858a6532414665a1368ae9f5fd29370))
606
- * **client:** retry on 408 Request Timeout ([#151](https://github.com/anthropics/anthropic-sdk-typescript/issues/151)) ([3523ffe](https://github.com/anthropics/anthropic-sdk-typescript/commit/3523ffe5647448d5a5960b1339c9a17374e85dd5))
607
- * **client:** support importing node or web shims manually ([#157](https://github.com/anthropics/anthropic-sdk-typescript/issues/157)) ([c1237fe](https://github.com/anthropics/anthropic-sdk-typescript/commit/c1237feaea9ca2d244720f2f75e023450a78019f))
608
- * **errors:** add status code to error message ([#155](https://github.com/anthropics/anthropic-sdk-typescript/issues/155)) ([76cf128](https://github.com/anthropics/anthropic-sdk-typescript/commit/76cf128b68f206038945ac4f54f6f50e8a6a2c1b))
609
- * **package:** export a root error type ([#160](https://github.com/anthropics/anthropic-sdk-typescript/issues/160)) ([51d8d60](https://github.com/anthropics/anthropic-sdk-typescript/commit/51d8d60b72fbe99dcb4d5a9ec32abbcb21ba1460))
610
-
611
-
612
- ### Bug Fixes
613
-
614
- * **client:** eliminate circular imports, which cause runtime errors in webpack dev bundles ([#170](https://github.com/anthropics/anthropic-sdk-typescript/issues/170)) ([4a86733](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a86733b9d11349fca041683ac9d89685133557d))
615
- * fix namespace exports regression ([#171](https://github.com/anthropics/anthropic-sdk-typescript/issues/171)) ([0689a91](https://github.com/anthropics/anthropic-sdk-typescript/commit/0689a9196619d968870b7fd2e1a0f037a1aee282))
616
- * prevent ReferenceError, update compatibility to ES2020 and Node 18+ ([#169](https://github.com/anthropics/anthropic-sdk-typescript/issues/169)) ([9753314](https://github.com/anthropics/anthropic-sdk-typescript/commit/9753314b7e36a270bb4c29f2981c521ec9c17773))
617
-
618
-
619
- ### Chores
620
-
621
- * **internal:** bump lock file ([#159](https://github.com/anthropics/anthropic-sdk-typescript/issues/159)) ([e6030fa](https://github.com/anthropics/anthropic-sdk-typescript/commit/e6030fa915f26569f9c48c478a5e6c01910a6557))
622
- * **internal:** minor formatting improvement ([#168](https://github.com/anthropics/anthropic-sdk-typescript/issues/168)) ([6447608](https://github.com/anthropics/anthropic-sdk-typescript/commit/644760883802bc2769a916fa477f2c6491f018fd))
623
- * **internal:** update lock file ([#161](https://github.com/anthropics/anthropic-sdk-typescript/issues/161)) ([370ce3c](https://github.com/anthropics/anthropic-sdk-typescript/commit/370ce3c34b87591071fefc8b53977078603b6ca4))
624
- * **internal:** update lock file ([#163](https://github.com/anthropics/anthropic-sdk-typescript/issues/163)) ([4a37181](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a37181e0ceada13e3ed61d6df7aa34492dc57a7))
625
- * **internal:** update lock file ([#164](https://github.com/anthropics/anthropic-sdk-typescript/issues/164)) ([939c155](https://github.com/anthropics/anthropic-sdk-typescript/commit/939c155277e67c19f7b2ff956f7cf0d40d4671cd))
626
-
627
-
628
- ### Documentation
629
-
630
- * **api.md:** add shared models ([#158](https://github.com/anthropics/anthropic-sdk-typescript/issues/158)) ([33e5518](https://github.com/anthropics/anthropic-sdk-typescript/commit/33e5518bdeca83bbbde0e144e444609f569f1477))
631
- * declare Bun 1.0 officially supported ([#154](https://github.com/anthropics/anthropic-sdk-typescript/issues/154)) ([429d8f4](https://github.com/anthropics/anthropic-sdk-typescript/commit/429d8f44b113a91599f0ebb69128636da82a5050))
632
- * **readme:** remove incorrect wording in opening ([#156](https://github.com/anthropics/anthropic-sdk-typescript/issues/156)) ([01973fe](https://github.com/anthropics/anthropic-sdk-typescript/commit/01973fe50b13ce2981656f8c13603975e7c43efd))
633
-
634
- ## 0.6.4 (2023-09-08)
635
-
636
- Full Changelog: [v0.6.3...v0.6.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.3...v0.6.4)
637
-
638
- ### Features
639
-
640
- * **package:** add Bun export map ([#139](https://github.com/anthropics/anthropic-sdk-typescript/issues/139)) ([ba3310d](https://github.com/anthropics/anthropic-sdk-typescript/commit/ba3310d903cd5fda91168266335f4e445e60cad4))
641
-
642
-
643
- ### Bug Fixes
644
-
645
- * **client:** fix TS errors that appear when users Go to Source in VSCode ([#142](https://github.com/anthropics/anthropic-sdk-typescript/issues/142)) ([f7bfbea](https://github.com/anthropics/anthropic-sdk-typescript/commit/f7bfbeaa54d364201bbe5cddf3132875ae2a3ccf))
646
- * **client:** handle case where the client is instantiated with a undefined baseURL ([#143](https://github.com/anthropics/anthropic-sdk-typescript/issues/143)) ([10e5203](https://github.com/anthropics/anthropic-sdk-typescript/commit/10e52034990d90dcdaf26672ea384545b88ddf35))
647
- * **client:** use explicit file extensions in _shims imports ([#141](https://github.com/anthropics/anthropic-sdk-typescript/issues/141)) ([10fd687](https://github.com/anthropics/anthropic-sdk-typescript/commit/10fd68742a202c5c0a8b520db190c239dce9b676))
648
- * fix module not found errors in Vercel edge ([#148](https://github.com/anthropics/anthropic-sdk-typescript/issues/148)) ([72e51a1](https://github.com/anthropics/anthropic-sdk-typescript/commit/72e51a170855281a8d099b00c6fb1e9ccb276212))
649
- * **readme:** update link to api.md to use the correct branch ([#145](https://github.com/anthropics/anthropic-sdk-typescript/issues/145)) ([5db78ed](https://github.com/anthropics/anthropic-sdk-typescript/commit/5db78edec4826f86b2fc21ee3f470b49a4987029))
650
-
651
-
652
- ### Chores
653
-
654
- * **internal:** export helper from core ([#147](https://github.com/anthropics/anthropic-sdk-typescript/issues/147)) ([7e79de1](https://github.com/anthropics/anthropic-sdk-typescript/commit/7e79de14edeab8110d740e996653e9f9cc2299a4))
655
-
656
-
657
- ### Documentation
658
-
659
- * **readme:** add link to api.md ([#144](https://github.com/anthropics/anthropic-sdk-typescript/issues/144)) ([716c9f0](https://github.com/anthropics/anthropic-sdk-typescript/commit/716c9f0714c0e9c26cb6cdcb007457aff1284cf4))
660
-
661
- ## 0.6.3 (2023-08-28)
662
-
663
- Full Changelog: [v0.6.2...v0.6.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.2...v0.6.3)
664
-
665
- ### Bug Fixes
666
-
667
- * **types:** improve getNextPage() return type ([#137](https://github.com/anthropics/anthropic-sdk-typescript/issues/137)) ([713d603](https://github.com/anthropics/anthropic-sdk-typescript/commit/713d6032c2c3b3630314a9625a1672147ef19258))
668
-
669
-
670
- ### Chores
671
-
672
- * **ci:** setup workflows to create releases and release PRs ([#135](https://github.com/anthropics/anthropic-sdk-typescript/issues/135)) ([56229d9](https://github.com/anthropics/anthropic-sdk-typescript/commit/56229d964733a8b00625dac4ff138b3ade7e4202))
673
-
674
- ## [0.6.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.1...v0.6.2) (2023-08-26)
675
-
676
-
677
- ### Bug Fixes
678
-
679
- * **stream:** declare Stream.controller as public ([#132](https://github.com/anthropics/anthropic-sdk-typescript/issues/132)) ([ff33a89](https://github.com/anthropics/anthropic-sdk-typescript/commit/ff33a893747aa708133bab14e97fba34ec776303))
680
-
681
-
682
- ### Refactors
683
-
684
- * remove unnecessary line in constructor ([#131](https://github.com/anthropics/anthropic-sdk-typescript/issues/131)) ([dcdf5e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/dcdf5e5183e99ae91d170ca09cc6da5e5637783f))
685
-
686
-
687
- ### Chores
688
-
689
- * **internal:** add helper method ([#133](https://github.com/anthropics/anthropic-sdk-typescript/issues/133)) ([4c6950a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c6950a489b818151127aa1a39c239e4fd58a06e))
690
- * **internal:** export HeadersInit type shim ([#129](https://github.com/anthropics/anthropic-sdk-typescript/issues/129)) ([bcd51bd](https://github.com/anthropics/anthropic-sdk-typescript/commit/bcd51bd12ad0854baf28b59dcada871889032515))
691
-
692
- ## [0.6.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.0...v0.6.1) (2023-08-23)
693
-
694
-
695
- ### Features
696
-
697
- * allow a default timeout to be set for clients ([#113](https://github.com/anthropics/anthropic-sdk-typescript/issues/113)) ([1c5b2e2](https://github.com/anthropics/anthropic-sdk-typescript/commit/1c5b2e29926100a6e4a6176f0943e2c98991175d))
698
- * **client:** improve compatibility with Bun ([#119](https://github.com/anthropics/anthropic-sdk-typescript/issues/119)) ([fe4f5d5](https://github.com/anthropics/anthropic-sdk-typescript/commit/fe4f5d5e35e35cab2a62388eb595519e9c14635c))
699
- * **docs:** add documentation to the client constructor ([#118](https://github.com/anthropics/anthropic-sdk-typescript/issues/118)) ([79303f9](https://github.com/anthropics/anthropic-sdk-typescript/commit/79303f9c46a8248abd05fedbedbbed6e735c046d))
700
- * **types:** export RequestOptions type ([#127](https://github.com/anthropics/anthropic-sdk-typescript/issues/127)) ([9769751](https://github.com/anthropics/anthropic-sdk-typescript/commit/9769751b84853822e3e6596110ecb2c367f07438))
701
- * **types:** remove footgun with streaming params ([#125](https://github.com/anthropics/anthropic-sdk-typescript/issues/125)) ([3ed67b6](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ed67b670bae14bc586df224aa57dd4dfa6e71f5))
702
-
703
-
704
- ### Bug Fixes
705
-
706
- * **client:** fix TypeError when a request gets retried ([#117](https://github.com/anthropics/anthropic-sdk-typescript/issues/117)) ([0ade979](https://github.com/anthropics/anthropic-sdk-typescript/commit/0ade979a322c07f9a8f5322407b38352fe99b3ce))
707
- * **core:** fix navigator check for strange environments ([#124](https://github.com/anthropics/anthropic-sdk-typescript/issues/124)) ([c783604](https://github.com/anthropics/anthropic-sdk-typescript/commit/c7836040017d5ce35204c07be0b018e87e827fdb))
708
- * **types:** add catch-all overload to streaming methods ([#123](https://github.com/anthropics/anthropic-sdk-typescript/issues/123)) ([7c229a2](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c229a24e6751bad22acb8c544113713140120fd))
709
-
710
-
711
- ### Documentation
712
-
713
- * **readme:** fix typo ([#121](https://github.com/anthropics/anthropic-sdk-typescript/issues/121)) ([c5dbc3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/c5dbc3fe89c84a728b6a4d7a4f6eadb228ac5688))
714
-
715
-
716
- ### Chores
717
-
718
- * assign default reviewers to release PRs ([#115](https://github.com/anthropics/anthropic-sdk-typescript/issues/115)) ([1df3965](https://github.com/anthropics/anthropic-sdk-typescript/commit/1df3965a10256d30f8ce2af8d9890a26522117a9))
719
- * **internal:** add missing eslint-plugin-prettier ([#122](https://github.com/anthropics/anthropic-sdk-typescript/issues/122)) ([66bede0](https://github.com/anthropics/anthropic-sdk-typescript/commit/66bede0ae3ed7b5baa002bbb0c87b4156306f982))
720
- * **internal:** fix error happening in CloudFlare pages ([#116](https://github.com/anthropics/anthropic-sdk-typescript/issues/116)) ([b0dc7b3](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0dc7b3b14520ce1f66c2b9d6a0f5aae4028985b))
721
- * **internal:** minor reformatting of code ([#120](https://github.com/anthropics/anthropic-sdk-typescript/issues/120)) ([4bcaf9e](https://github.com/anthropics/anthropic-sdk-typescript/commit/4bcaf9e30a312284cb22c2084e8242ad7d181ba8))
722
-
723
- ## [0.6.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.10...v0.6.0) (2023-08-12)
724
-
725
-
726
- ### Features
727
-
728
- * **client:** add support for accessing the raw response object ([#105](https://github.com/anthropics/anthropic-sdk-typescript/issues/105)) ([c86b059](https://github.com/anthropics/anthropic-sdk-typescript/commit/c86b0593a630f3adafc5c329019ea7028b6a41cd))
729
- * **client:** detect browser usage ([#101](https://github.com/anthropics/anthropic-sdk-typescript/issues/101)) ([f4cae3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/f4cae3f63c2e65e087a7bf27dac1eeb8200e0a36))
730
- * **types:** improve streaming params types ([#102](https://github.com/anthropics/anthropic-sdk-typescript/issues/102)) ([cdf808c](https://github.com/anthropics/anthropic-sdk-typescript/commit/cdf808ca2a18cd744a5d1840e5e2adb3015e8d1d))
731
-
732
-
733
- ### Documentation
734
-
735
- * **readme:** minor updates ([#107](https://github.com/anthropics/anthropic-sdk-typescript/issues/107)) ([406fd97](https://github.com/anthropics/anthropic-sdk-typescript/commit/406fd97d4cee0dd363ad548c9a251f78091a70e3))
736
- * **readme:** remove beta status + document versioning policy ([#100](https://github.com/anthropics/anthropic-sdk-typescript/issues/100)) ([e9ef3d2](https://github.com/anthropics/anthropic-sdk-typescript/commit/e9ef3d21a25e355d8bf94b7a941ad82ec5eafec8))
737
-
738
-
739
- ### Chores
740
-
741
- * **docs:** remove trailing spaces ([#108](https://github.com/anthropics/anthropic-sdk-typescript/issues/108)) ([4ba2c6f](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ba2c6f181521ed9a60ed45c35d2276129cd7a0b))
742
- * **internal:** conditionally include bin during build output ([#109](https://github.com/anthropics/anthropic-sdk-typescript/issues/109)) ([58ac305](https://github.com/anthropics/anthropic-sdk-typescript/commit/58ac305d752d6b5c378f91b988ddfb97231c003c))
743
- * **internal:** fix deno build ([#98](https://github.com/anthropics/anthropic-sdk-typescript/issues/98)) ([f011e04](https://github.com/anthropics/anthropic-sdk-typescript/commit/f011e041f2f9cabb12951013825c0f0a2a569053))
744
- * **internal:** remove deno build ([#103](https://github.com/anthropics/anthropic-sdk-typescript/issues/103)) ([9af1527](https://github.com/anthropics/anthropic-sdk-typescript/commit/9af152707a9bcf3027afc64f027566be25da2eb9))
745
-
746
-
747
- ### Refactors
748
-
749
- * **client:** remove Stream.toReadableStream() ([#110](https://github.com/anthropics/anthropic-sdk-typescript/issues/110)) ([c370412](https://github.com/anthropics/anthropic-sdk-typescript/commit/c37041285ed9cccf6d980a953e14ffd4006a8acc))
750
-
751
- ## [0.5.10](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.9...v0.5.10) (2023-08-01)
752
-
753
-
754
- ### Refactors
755
-
756
- * create build for deno.land ([#93](https://github.com/anthropics/anthropic-sdk-typescript/issues/93)) ([2ea741a](https://github.com/anthropics/anthropic-sdk-typescript/commit/2ea741a4d4a3123b2eaafb87b73d7884c69ae23b))
757
-
758
-
759
- ### Documentation
760
-
761
- * **readme:** add token counting reference ([#94](https://github.com/anthropics/anthropic-sdk-typescript/issues/94)) ([2c6a699](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c6a699d499a3468fc4312a6b6c9493ffd1806a2))
762
-
763
-
764
- ### Chores
765
-
766
- * **internal:** allow the build script to be run without yarn installed ([#91](https://github.com/anthropics/anthropic-sdk-typescript/issues/91)) ([9bd2b28](https://github.com/anthropics/anthropic-sdk-typescript/commit/9bd2b2871ca8a3b5f2466a904153d5c234094372))
767
- * **internal:** fix deno build ([#96](https://github.com/anthropics/anthropic-sdk-typescript/issues/96)) ([3fdab4e](https://github.com/anthropics/anthropic-sdk-typescript/commit/3fdab4e33b4c8668d17b8cddabbb09a22adf4124))
768
-
769
- ## [0.5.9](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.8...v0.5.9) (2023-07-29)
770
-
771
-
772
- ### Bug Fixes
773
-
774
- * **client:** handle undefined process in more places ([#87](https://github.com/anthropics/anthropic-sdk-typescript/issues/87)) ([d950c25](https://github.com/anthropics/anthropic-sdk-typescript/commit/d950c25469a6c6b0dd3cfecd282db078826366ba))
775
- * **examples:** avoid swallowing errors in example scripts ([#82](https://github.com/anthropics/anthropic-sdk-typescript/issues/82)) ([b27cfe9](https://github.com/anthropics/anthropic-sdk-typescript/commit/b27cfe9323bce983bb49f57dece98f1d9e507034))
776
- * fix undefined message in errors ([#86](https://github.com/anthropics/anthropic-sdk-typescript/issues/86)) ([5714a14](https://github.com/anthropics/anthropic-sdk-typescript/commit/5714a14d9af282a3d308b8694e6e03309d4b5642))
777
-
778
-
779
- ### Chores
780
-
781
- * **internal:** minor refactoring of client instantiation ([#88](https://github.com/anthropics/anthropic-sdk-typescript/issues/88)) ([2c53e1c](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c53e1ca28a444a48e5f1041d9eb9077608b3fc7))
782
-
783
-
784
- ### Refactors
785
-
786
- * use destructuring arguments in client constructor and respect false values ([#89](https://github.com/anthropics/anthropic-sdk-typescript/issues/89)) ([8d4c686](https://github.com/anthropics/anthropic-sdk-typescript/commit/8d4c6860273bbd16027023700d521a5e48db76f7))
787
-
788
- ## [0.5.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.7...v0.5.8) (2023-07-22)
789
-
790
-
791
- ### Features
792
-
793
- * **streaming:** make requests immediately throw an error if an aborted signal is passed in ([#79](https://github.com/anthropics/anthropic-sdk-typescript/issues/79)) ([5c86597](https://github.com/anthropics/anthropic-sdk-typescript/commit/5c865979a21d18db87df43a9bdb27b701815f4bb))
794
-
795
- ## [0.5.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.6...v0.5.7) (2023-07-19)
796
-
797
-
798
- ### Features
799
-
800
- * add flexible enum to model param ([#73](https://github.com/anthropics/anthropic-sdk-typescript/issues/73)) ([a6bbcad](https://github.com/anthropics/anthropic-sdk-typescript/commit/a6bbcadb447060f3c2e60881d31d7b7fb7a50512))
801
- * **client:** export ClientOptions interface ([#75](https://github.com/anthropics/anthropic-sdk-typescript/issues/75)) ([0315ce1](https://github.com/anthropics/anthropic-sdk-typescript/commit/0315ce170db463ad900384ab7e4f62885cb471a2))
802
- * **deps:** remove unneeded qs dep ([#72](https://github.com/anthropics/anthropic-sdk-typescript/issues/72)) ([0aea5a6](https://github.com/anthropics/anthropic-sdk-typescript/commit/0aea5a6f4852f351ecbe9f46d6857a6fafc7e864))
803
-
804
-
805
- ### Bug Fixes
806
-
807
- * **client:** fix errors with file uploads in the browser ([#76](https://github.com/anthropics/anthropic-sdk-typescript/issues/76)) ([ac48fa7](https://github.com/anthropics/anthropic-sdk-typescript/commit/ac48fa72bb764b2abed95f200bc658f65725e2b3))
808
- * fix error in environments without `TextEncoder` ([#70](https://github.com/anthropics/anthropic-sdk-typescript/issues/70)) ([5b78e05](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b78e0586fd351258ccc05c8ba89a2ba66681b0d))
809
- * fix export map order ([#74](https://github.com/anthropics/anthropic-sdk-typescript/issues/74)) ([51e70cb](https://github.com/anthropics/anthropic-sdk-typescript/commit/51e70cb9b55128d4de1b0597fad475d0f4bc836c))
810
-
811
- ## [0.5.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.5...v0.5.6) (2023-07-15)
812
-
813
-
814
- ### Bug Fixes
815
-
816
- * fix errors with "named" client export in CJS ([#67](https://github.com/anthropics/anthropic-sdk-typescript/issues/67)) ([08ef69c](https://github.com/anthropics/anthropic-sdk-typescript/commit/08ef69cca87bbdf82440d163611f45e04e894234))
817
-
818
- ## [0.5.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.4...v0.5.5) (2023-07-13)
819
-
820
-
821
- ### Features
822
-
823
- * **client:** add support for passing a `signal` request option ([#55](https://github.com/anthropics/anthropic-sdk-typescript/issues/55)) ([09604e9](https://github.com/anthropics/anthropic-sdk-typescript/commit/09604e9990e13dd703f4bcfd0a241b8ec2ebbc71))
824
-
825
-
826
- ### Bug Fixes
827
-
828
- * **streaming:** do not abort successfully completed streams ([#53](https://github.com/anthropics/anthropic-sdk-typescript/issues/53)) ([950dd49](https://github.com/anthropics/anthropic-sdk-typescript/commit/950dd4930429010d89ae31eef9ebb193be9517ad))
829
-
830
-
831
- ### Documentation
832
-
833
- * **examples:** bump model to claude-2 in example scripts ([#57](https://github.com/anthropics/anthropic-sdk-typescript/issues/57)) ([f85c05d](https://github.com/anthropics/anthropic-sdk-typescript/commit/f85c05d49a7a9db1deb8eed9124934da763b721b))
834
- * **readme:** improvements to formatting code snippets ([#58](https://github.com/anthropics/anthropic-sdk-typescript/issues/58)) ([67bae64](https://github.com/anthropics/anthropic-sdk-typescript/commit/67bae64d5388e7e71ea3a891b3579c072b743f38))
835
-
836
-
837
- ### Chores
838
-
839
- * **internal:** add helper function for b64 ([#62](https://github.com/anthropics/anthropic-sdk-typescript/issues/62)) ([04e303c](https://github.com/anthropics/anthropic-sdk-typescript/commit/04e303c5cc7b14a862b81379d547b3dc6e908720))
840
- * **internal:** let `toFile` helper accept promises to objects with name/type properties ([#63](https://github.com/anthropics/anthropic-sdk-typescript/issues/63)) ([93f9af2](https://github.com/anthropics/anthropic-sdk-typescript/commit/93f9af29a91cfced533d309d1816c58bc2efa355))
841
- * **internal:** remove unneeded type var usage ([#59](https://github.com/anthropics/anthropic-sdk-typescript/issues/59)) ([42fc4a9](https://github.com/anthropics/anthropic-sdk-typescript/commit/42fc4a90cc267f077b26d2bafebe487a74cae067))
842
-
843
- ## [0.5.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.3...v0.5.4) (2023-07-11)
844
-
845
-
846
- ### Features
847
-
848
- * **api:** reference claude-2 in examples ([#50](https://github.com/anthropics/anthropic-sdk-typescript/issues/50)) ([7c53ded](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c53ded6b7f5f3efec0df295181f18469c37e09d))
849
- * **client:** support passing a custom `fetch` function ([#46](https://github.com/anthropics/anthropic-sdk-typescript/issues/46)) ([7d54366](https://github.com/anthropics/anthropic-sdk-typescript/commit/7d54366fcefa0267e831a0cca4d10c9a146d9f6c))
850
-
851
-
852
- ### Bug Fixes
853
-
854
- * **client:** properly handle multi-byte characters in Content-Length ([#47](https://github.com/anthropics/anthropic-sdk-typescript/issues/47)) ([8dfff26](https://github.com/anthropics/anthropic-sdk-typescript/commit/8dfff2691a3ebd5721462c055d8da638ac77e571))
855
-
856
-
857
- ### Refactors
858
-
859
- * **streaming:** make response body streaming polyfill more spec-compliant ([#44](https://github.com/anthropics/anthropic-sdk-typescript/issues/44)) ([047d328](https://github.com/anthropics/anthropic-sdk-typescript/commit/047d328cb0968fb1926e41326d35b595ba3fb3bc))