@tetral-ai/sdk 0.110.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1341) hide show
  1. package/.github/logo.svg +3 -0
  2. package/CHANGELOG.md +2815 -0
  3. package/COMPATIBILITY.md +97 -0
  4. package/LICENSE +8 -0
  5. package/README.md +132 -0
  6. package/_vendor/partial-json-parser/parser.d.mts +3 -0
  7. package/_vendor/partial-json-parser/parser.d.mts.map +1 -0
  8. package/_vendor/partial-json-parser/parser.d.ts +3 -0
  9. package/_vendor/partial-json-parser/parser.d.ts.map +1 -0
  10. package/_vendor/partial-json-parser/parser.js +238 -0
  11. package/_vendor/partial-json-parser/parser.js.map +1 -0
  12. package/_vendor/partial-json-parser/parser.mjs +235 -0
  13. package/_vendor/partial-json-parser/parser.mjs.map +1 -0
  14. package/api-promise.d.mts +3 -0
  15. package/api-promise.d.mts.map +1 -0
  16. package/api-promise.d.ts +3 -0
  17. package/api-promise.d.ts.map +1 -0
  18. package/api-promise.js +6 -0
  19. package/api-promise.js.map +1 -0
  20. package/api-promise.mjs +3 -0
  21. package/api-promise.mjs.map +1 -0
  22. package/api.md +1297 -0
  23. package/bin/cli +53 -0
  24. package/bin/migration-config.json +933 -0
  25. package/client.d.mts +387 -0
  26. package/client.d.mts.map +1 -0
  27. package/client.d.ts +387 -0
  28. package/client.d.ts.map +1 -0
  29. package/client.js +943 -0
  30. package/client.js.map +1 -0
  31. package/client.mjs +938 -0
  32. package/client.mjs.map +1 -0
  33. package/core/api-promise.d.mts +49 -0
  34. package/core/api-promise.d.mts.map +1 -0
  35. package/core/api-promise.d.ts +49 -0
  36. package/core/api-promise.d.ts.map +1 -0
  37. package/core/api-promise.js +76 -0
  38. package/core/api-promise.js.map +1 -0
  39. package/core/api-promise.mjs +72 -0
  40. package/core/api-promise.mjs.map +1 -0
  41. package/core/api.d.mts +11 -0
  42. package/core/api.d.mts.map +1 -0
  43. package/core/api.d.ts +11 -0
  44. package/core/api.d.ts.map +1 -0
  45. package/core/api.js +3 -0
  46. package/core/api.js.map +1 -0
  47. package/core/api.mjs +2 -0
  48. package/core/api.mjs.map +1 -0
  49. package/core/credentials.d.mts +131 -0
  50. package/core/credentials.d.mts.map +1 -0
  51. package/core/credentials.d.ts +131 -0
  52. package/core/credentials.d.ts.map +1 -0
  53. package/core/credentials.js +317 -0
  54. package/core/credentials.js.map +1 -0
  55. package/core/credentials.mjs +277 -0
  56. package/core/credentials.mjs.map +1 -0
  57. package/core/error.d.mts +61 -0
  58. package/core/error.d.mts.map +1 -0
  59. package/core/error.d.ts +61 -0
  60. package/core/error.d.ts.map +1 -0
  61. package/core/error.js +132 -0
  62. package/core/error.js.map +1 -0
  63. package/core/error.mjs +115 -0
  64. package/core/error.mjs.map +1 -0
  65. package/core/middleware.d.mts +154 -0
  66. package/core/middleware.d.mts.map +1 -0
  67. package/core/middleware.d.ts +154 -0
  68. package/core/middleware.d.ts.map +1 -0
  69. package/core/middleware.js +174 -0
  70. package/core/middleware.js.map +1 -0
  71. package/core/middleware.mjs +168 -0
  72. package/core/middleware.mjs.map +1 -0
  73. package/core/pagination.d.mts +122 -0
  74. package/core/pagination.d.mts.map +1 -0
  75. package/core/pagination.d.ts +122 -0
  76. package/core/pagination.d.ts.map +1 -0
  77. package/core/pagination.js +203 -0
  78. package/core/pagination.js.map +1 -0
  79. package/core/pagination.mjs +194 -0
  80. package/core/pagination.mjs.map +1 -0
  81. package/core/resource.d.mts +6 -0
  82. package/core/resource.d.mts.map +1 -0
  83. package/core/resource.d.ts +6 -0
  84. package/core/resource.d.ts.map +1 -0
  85. package/core/resource.js +11 -0
  86. package/core/resource.js.map +1 -0
  87. package/core/resource.mjs +7 -0
  88. package/core/resource.mjs.map +1 -0
  89. package/core/streaming.d.mts +42 -0
  90. package/core/streaming.d.mts.map +1 -0
  91. package/core/streaming.d.ts +42 -0
  92. package/core/streaming.d.ts.map +1 -0
  93. package/core/streaming.js +341 -0
  94. package/core/streaming.js.map +1 -0
  95. package/core/streaming.mjs +336 -0
  96. package/core/streaming.mjs.map +1 -0
  97. package/core/uploads.d.mts +3 -0
  98. package/core/uploads.d.mts.map +1 -0
  99. package/core/uploads.d.ts +3 -0
  100. package/core/uploads.d.ts.map +1 -0
  101. package/core/uploads.js +6 -0
  102. package/core/uploads.js.map +1 -0
  103. package/core/uploads.mjs +2 -0
  104. package/core/uploads.mjs.map +1 -0
  105. package/error.d.mts +3 -0
  106. package/error.d.mts.map +1 -0
  107. package/error.d.ts +3 -0
  108. package/error.d.ts.map +1 -0
  109. package/error.js +6 -0
  110. package/error.js.map +1 -0
  111. package/error.mjs +3 -0
  112. package/error.mjs.map +1 -0
  113. package/helpers/beta/environments.d.mts +25 -0
  114. package/helpers/beta/environments.d.mts.map +1 -0
  115. package/helpers/beta/environments.d.ts +25 -0
  116. package/helpers/beta/environments.d.ts.map +1 -0
  117. package/helpers/beta/environments.js +33 -0
  118. package/helpers/beta/environments.js.map +1 -0
  119. package/helpers/beta/environments.mjs +25 -0
  120. package/helpers/beta/environments.mjs.map +1 -0
  121. package/helpers/beta/json-schema.d.mts +37 -0
  122. package/helpers/beta/json-schema.d.mts.map +1 -0
  123. package/helpers/beta/json-schema.d.ts +37 -0
  124. package/helpers/beta/json-schema.d.ts.map +1 -0
  125. package/helpers/beta/json-schema.js +57 -0
  126. package/helpers/beta/json-schema.js.map +1 -0
  127. package/helpers/beta/json-schema.mjs +53 -0
  128. package/helpers/beta/json-schema.mjs.map +1 -0
  129. package/helpers/beta/mcp.d.mts +303 -0
  130. package/helpers/beta/mcp.d.mts.map +1 -0
  131. package/helpers/beta/mcp.d.ts +303 -0
  132. package/helpers/beta/mcp.d.ts.map +1 -0
  133. package/helpers/beta/mcp.js +419 -0
  134. package/helpers/beta/mcp.js.map +1 -0
  135. package/helpers/beta/mcp.mjs +406 -0
  136. package/helpers/beta/mcp.mjs.map +1 -0
  137. package/helpers/beta/memory.d.mts +11 -0
  138. package/helpers/beta/memory.d.mts.map +1 -0
  139. package/helpers/beta/memory.d.ts +11 -0
  140. package/helpers/beta/memory.d.ts.map +1 -0
  141. package/helpers/beta/memory.js +18 -0
  142. package/helpers/beta/memory.js.map +1 -0
  143. package/helpers/beta/memory.mjs +15 -0
  144. package/helpers/beta/memory.mjs.map +1 -0
  145. package/helpers/beta/zod.d.mts +33 -0
  146. package/helpers/beta/zod.d.mts.map +1 -0
  147. package/helpers/beta/zod.d.ts +33 -0
  148. package/helpers/beta/zod.d.ts.map +1 -0
  149. package/helpers/beta/zod.js +58 -0
  150. package/helpers/beta/zod.js.map +1 -0
  151. package/helpers/beta/zod.mjs +53 -0
  152. package/helpers/beta/zod.mjs.map +1 -0
  153. package/helpers/index.d.mts +3 -0
  154. package/helpers/index.d.mts.map +1 -0
  155. package/helpers/index.d.ts +3 -0
  156. package/helpers/index.d.ts.map +1 -0
  157. package/helpers/index.js +8 -0
  158. package/helpers/index.js.map +1 -0
  159. package/helpers/index.mjs +3 -0
  160. package/helpers/index.mjs.map +1 -0
  161. package/helpers/json-schema.d.mts +18 -0
  162. package/helpers/json-schema.d.mts.map +1 -0
  163. package/helpers/json-schema.d.ts +18 -0
  164. package/helpers/json-schema.d.ts.map +1 -0
  165. package/helpers/json-schema.js +37 -0
  166. package/helpers/json-schema.js.map +1 -0
  167. package/helpers/json-schema.mjs +34 -0
  168. package/helpers/json-schema.mjs.map +1 -0
  169. package/helpers/zod.d.mts +13 -0
  170. package/helpers/zod.d.mts.map +1 -0
  171. package/helpers/zod.d.ts +13 -0
  172. package/helpers/zod.d.ts.map +1 -0
  173. package/helpers/zod.js +47 -0
  174. package/helpers/zod.js.map +1 -0
  175. package/helpers/zod.mjs +43 -0
  176. package/helpers/zod.mjs.map +1 -0
  177. package/index.d.mts +10 -0
  178. package/index.d.mts.map +1 -0
  179. package/index.d.ts +10 -0
  180. package/index.d.ts.map +1 -0
  181. package/index.js +40 -0
  182. package/index.js.map +1 -0
  183. package/index.mjs +9 -0
  184. package/index.mjs.map +1 -0
  185. package/internal/builtin-types.d.mts +73 -0
  186. package/internal/builtin-types.d.mts.map +1 -0
  187. package/internal/builtin-types.d.ts +73 -0
  188. package/internal/builtin-types.d.ts.map +1 -0
  189. package/internal/builtin-types.js +4 -0
  190. package/internal/builtin-types.js.map +1 -0
  191. package/internal/builtin-types.mjs +3 -0
  192. package/internal/builtin-types.mjs.map +1 -0
  193. package/internal/constants.d.mts +5 -0
  194. package/internal/constants.d.mts.map +1 -0
  195. package/internal/constants.d.ts +5 -0
  196. package/internal/constants.d.ts.map +1 -0
  197. package/internal/constants.js +18 -0
  198. package/internal/constants.js.map +1 -0
  199. package/internal/constants.mjs +15 -0
  200. package/internal/constants.mjs.map +1 -0
  201. package/internal/decoders/jsonl.d.mts +10 -0
  202. package/internal/decoders/jsonl.d.mts.map +1 -0
  203. package/internal/decoders/jsonl.d.ts +10 -0
  204. package/internal/decoders/jsonl.d.ts.map +1 -0
  205. package/internal/decoders/jsonl.js +39 -0
  206. package/internal/decoders/jsonl.js.map +1 -0
  207. package/internal/decoders/jsonl.mjs +35 -0
  208. package/internal/decoders/jsonl.mjs.map +1 -0
  209. package/internal/decoders/line.d.mts +17 -0
  210. package/internal/decoders/line.d.mts.map +1 -0
  211. package/internal/decoders/line.d.ts +17 -0
  212. package/internal/decoders/line.d.ts.map +1 -0
  213. package/internal/decoders/line.js +113 -0
  214. package/internal/decoders/line.js.map +1 -0
  215. package/internal/decoders/line.mjs +108 -0
  216. package/internal/decoders/line.mjs.map +1 -0
  217. package/internal/detect-platform.d.mts +15 -0
  218. package/internal/detect-platform.d.mts.map +1 -0
  219. package/internal/detect-platform.d.ts +15 -0
  220. package/internal/detect-platform.d.ts.map +1 -0
  221. package/internal/detect-platform.js +162 -0
  222. package/internal/detect-platform.js.map +1 -0
  223. package/internal/detect-platform.mjs +157 -0
  224. package/internal/detect-platform.mjs.map +1 -0
  225. package/internal/errors.d.mts +3 -0
  226. package/internal/errors.d.mts.map +1 -0
  227. package/internal/errors.d.ts +3 -0
  228. package/internal/errors.d.ts.map +1 -0
  229. package/internal/errors.js +41 -0
  230. package/internal/errors.js.map +1 -0
  231. package/internal/errors.mjs +36 -0
  232. package/internal/errors.mjs.map +1 -0
  233. package/internal/headers.d.mts +29 -0
  234. package/internal/headers.d.mts.map +1 -0
  235. package/internal/headers.d.ts +29 -0
  236. package/internal/headers.d.ts.map +1 -0
  237. package/internal/headers.js +120 -0
  238. package/internal/headers.js.map +1 -0
  239. package/internal/headers.mjs +114 -0
  240. package/internal/headers.mjs.map +1 -0
  241. package/internal/message-stream-utils.d.mts +10 -0
  242. package/internal/message-stream-utils.d.mts.map +1 -0
  243. package/internal/message-stream-utils.d.ts +10 -0
  244. package/internal/message-stream-utils.d.ts.map +1 -0
  245. package/internal/message-stream-utils.js +34 -0
  246. package/internal/message-stream-utils.js.map +1 -0
  247. package/internal/message-stream-utils.mjs +30 -0
  248. package/internal/message-stream-utils.mjs.map +1 -0
  249. package/internal/parse.d.mts +17 -0
  250. package/internal/parse.d.mts.map +1 -0
  251. package/internal/parse.d.ts +17 -0
  252. package/internal/parse.d.ts.map +1 -0
  253. package/internal/parse.js +57 -0
  254. package/internal/parse.js.map +1 -0
  255. package/internal/parse.mjs +53 -0
  256. package/internal/parse.mjs.map +1 -0
  257. package/internal/qs/formats.d.mts +7 -0
  258. package/internal/qs/formats.d.mts.map +1 -0
  259. package/internal/qs/formats.d.ts +7 -0
  260. package/internal/qs/formats.d.ts.map +1 -0
  261. package/internal/qs/formats.js +13 -0
  262. package/internal/qs/formats.js.map +1 -0
  263. package/internal/qs/formats.mjs +9 -0
  264. package/internal/qs/formats.mjs.map +1 -0
  265. package/internal/qs/index.d.mts +10 -0
  266. package/internal/qs/index.d.mts.map +1 -0
  267. package/internal/qs/index.d.ts +10 -0
  268. package/internal/qs/index.d.ts.map +1 -0
  269. package/internal/qs/index.js +14 -0
  270. package/internal/qs/index.js.map +1 -0
  271. package/internal/qs/index.mjs +10 -0
  272. package/internal/qs/index.mjs.map +1 -0
  273. package/internal/qs/stringify.d.mts +3 -0
  274. package/internal/qs/stringify.d.mts.map +1 -0
  275. package/internal/qs/stringify.d.ts +3 -0
  276. package/internal/qs/stringify.d.ts.map +1 -0
  277. package/internal/qs/stringify.js +277 -0
  278. package/internal/qs/stringify.js.map +1 -0
  279. package/internal/qs/stringify.mjs +274 -0
  280. package/internal/qs/stringify.mjs.map +1 -0
  281. package/internal/qs/types.d.mts +57 -0
  282. package/internal/qs/types.d.mts.map +1 -0
  283. package/internal/qs/types.d.ts +57 -0
  284. package/internal/qs/types.d.ts.map +1 -0
  285. package/internal/qs/types.js +3 -0
  286. package/internal/qs/types.js.map +1 -0
  287. package/internal/qs/types.mjs +2 -0
  288. package/internal/qs/types.mjs.map +1 -0
  289. package/internal/qs/utils.d.mts +15 -0
  290. package/internal/qs/utils.d.mts.map +1 -0
  291. package/internal/qs/utils.d.ts +15 -0
  292. package/internal/qs/utils.d.ts.map +1 -0
  293. package/internal/qs/utils.js +230 -0
  294. package/internal/qs/utils.js.map +1 -0
  295. package/internal/qs/utils.mjs +217 -0
  296. package/internal/qs/utils.mjs.map +1 -0
  297. package/internal/request-options.d.mts +127 -0
  298. package/internal/request-options.d.mts.map +1 -0
  299. package/internal/request-options.d.ts +127 -0
  300. package/internal/request-options.d.ts.map +1 -0
  301. package/internal/request-options.js +25 -0
  302. package/internal/request-options.js.map +1 -0
  303. package/internal/request-options.mjs +20 -0
  304. package/internal/request-options.mjs.map +1 -0
  305. package/internal/shim-types.d.mts +17 -0
  306. package/internal/shim-types.d.mts.map +1 -0
  307. package/internal/shim-types.d.ts +17 -0
  308. package/internal/shim-types.d.ts.map +1 -0
  309. package/internal/shim-types.js +4 -0
  310. package/internal/shim-types.js.map +1 -0
  311. package/internal/shim-types.mjs +3 -0
  312. package/internal/shim-types.mjs.map +1 -0
  313. package/internal/shims.d.mts +26 -0
  314. package/internal/shims.d.mts.map +1 -0
  315. package/internal/shims.d.ts +26 -0
  316. package/internal/shims.d.ts.map +1 -0
  317. package/internal/shims.js +92 -0
  318. package/internal/shims.js.map +1 -0
  319. package/internal/shims.mjs +85 -0
  320. package/internal/shims.mjs.map +1 -0
  321. package/internal/stainless-helper-header.d.mts +60 -0
  322. package/internal/stainless-helper-header.d.mts.map +1 -0
  323. package/internal/stainless-helper-header.d.ts +60 -0
  324. package/internal/stainless-helper-header.d.ts.map +1 -0
  325. package/internal/stainless-helper-header.js +91 -0
  326. package/internal/stainless-helper-header.js.map +1 -0
  327. package/internal/stainless-helper-header.mjs +83 -0
  328. package/internal/stainless-helper-header.mjs.map +1 -0
  329. package/internal/stream-utils.d.mts +8 -0
  330. package/internal/stream-utils.d.mts.map +1 -0
  331. package/internal/stream-utils.d.ts +8 -0
  332. package/internal/stream-utils.d.ts.map +1 -0
  333. package/internal/stream-utils.js +38 -0
  334. package/internal/stream-utils.js.map +1 -0
  335. package/internal/stream-utils.mjs +35 -0
  336. package/internal/stream-utils.mjs.map +1 -0
  337. package/internal/to-file.d.mts +45 -0
  338. package/internal/to-file.d.mts.map +1 -0
  339. package/internal/to-file.d.ts +45 -0
  340. package/internal/to-file.d.ts.map +1 -0
  341. package/internal/to-file.js +96 -0
  342. package/internal/to-file.js.map +1 -0
  343. package/internal/to-file.mjs +93 -0
  344. package/internal/to-file.mjs.map +1 -0
  345. package/internal/tslib.js +81 -0
  346. package/internal/tslib.mjs +17 -0
  347. package/internal/types.d.mts +69 -0
  348. package/internal/types.d.mts.map +1 -0
  349. package/internal/types.d.ts +69 -0
  350. package/internal/types.d.ts.map +1 -0
  351. package/internal/types.js +4 -0
  352. package/internal/types.js.map +1 -0
  353. package/internal/types.mjs +3 -0
  354. package/internal/types.mjs.map +1 -0
  355. package/internal/uploads.d.mts +42 -0
  356. package/internal/uploads.d.mts.map +1 -0
  357. package/internal/uploads.d.ts +42 -0
  358. package/internal/uploads.d.ts.map +1 -0
  359. package/internal/uploads.js +145 -0
  360. package/internal/uploads.js.map +1 -0
  361. package/internal/uploads.mjs +135 -0
  362. package/internal/uploads.mjs.map +1 -0
  363. package/internal/utils/abort.d.mts +13 -0
  364. package/internal/utils/abort.d.mts.map +1 -0
  365. package/internal/utils/abort.d.ts +13 -0
  366. package/internal/utils/abort.d.ts.map +1 -0
  367. package/internal/utils/abort.js +26 -0
  368. package/internal/utils/abort.js.map +1 -0
  369. package/internal/utils/abort.mjs +23 -0
  370. package/internal/utils/abort.mjs.map +1 -0
  371. package/internal/utils/async-queue.d.mts +31 -0
  372. package/internal/utils/async-queue.d.mts.map +1 -0
  373. package/internal/utils/async-queue.d.ts +31 -0
  374. package/internal/utils/async-queue.d.ts.map +1 -0
  375. package/internal/utils/async-queue.js +75 -0
  376. package/internal/utils/async-queue.js.map +1 -0
  377. package/internal/utils/async-queue.mjs +71 -0
  378. package/internal/utils/async-queue.mjs.map +1 -0
  379. package/internal/utils/backoff.d.mts +23 -0
  380. package/internal/utils/backoff.d.mts.map +1 -0
  381. package/internal/utils/backoff.d.ts +23 -0
  382. package/internal/utils/backoff.d.ts.map +1 -0
  383. package/internal/utils/backoff.js +44 -0
  384. package/internal/utils/backoff.js.map +1 -0
  385. package/internal/utils/backoff.mjs +36 -0
  386. package/internal/utils/backoff.mjs.map +1 -0
  387. package/internal/utils/base64.d.mts +3 -0
  388. package/internal/utils/base64.d.mts.map +1 -0
  389. package/internal/utils/base64.d.ts +3 -0
  390. package/internal/utils/base64.d.ts.map +1 -0
  391. package/internal/utils/base64.js +38 -0
  392. package/internal/utils/base64.js.map +1 -0
  393. package/internal/utils/base64.mjs +33 -0
  394. package/internal/utils/base64.mjs.map +1 -0
  395. package/internal/utils/bytes.d.mts +4 -0
  396. package/internal/utils/bytes.d.mts.map +1 -0
  397. package/internal/utils/bytes.d.ts +4 -0
  398. package/internal/utils/bytes.d.ts.map +1 -0
  399. package/internal/utils/bytes.js +31 -0
  400. package/internal/utils/bytes.js.map +1 -0
  401. package/internal/utils/bytes.mjs +26 -0
  402. package/internal/utils/bytes.mjs.map +1 -0
  403. package/internal/utils/env.d.mts +9 -0
  404. package/internal/utils/env.d.mts.map +1 -0
  405. package/internal/utils/env.d.ts +9 -0
  406. package/internal/utils/env.d.ts.map +1 -0
  407. package/internal/utils/env.js +22 -0
  408. package/internal/utils/env.js.map +1 -0
  409. package/internal/utils/env.mjs +18 -0
  410. package/internal/utils/env.mjs.map +1 -0
  411. package/internal/utils/log.d.mts +47 -0
  412. package/internal/utils/log.d.mts.map +1 -0
  413. package/internal/utils/log.d.ts +47 -0
  414. package/internal/utils/log.d.ts.map +1 -0
  415. package/internal/utils/log.js +112 -0
  416. package/internal/utils/log.js.map +1 -0
  417. package/internal/utils/log.mjs +105 -0
  418. package/internal/utils/log.mjs.map +1 -0
  419. package/internal/utils/path.d.mts +15 -0
  420. package/internal/utils/path.d.mts.map +1 -0
  421. package/internal/utils/path.d.ts +15 -0
  422. package/internal/utils/path.d.ts.map +1 -0
  423. package/internal/utils/path.js +79 -0
  424. package/internal/utils/path.js.map +1 -0
  425. package/internal/utils/path.mjs +74 -0
  426. package/internal/utils/path.mjs.map +1 -0
  427. package/internal/utils/promise.d.mts +11 -0
  428. package/internal/utils/promise.d.mts.map +1 -0
  429. package/internal/utils/promise.d.ts +11 -0
  430. package/internal/utils/promise.d.ts.map +1 -0
  431. package/internal/utils/promise.js +18 -0
  432. package/internal/utils/promise.js.map +1 -0
  433. package/internal/utils/promise.mjs +15 -0
  434. package/internal/utils/promise.mjs.map +1 -0
  435. package/internal/utils/query.d.mts +2 -0
  436. package/internal/utils/query.d.mts.map +1 -0
  437. package/internal/utils/query.d.ts +2 -0
  438. package/internal/utils/query.d.ts.map +1 -0
  439. package/internal/utils/query.js +10 -0
  440. package/internal/utils/query.js.map +1 -0
  441. package/internal/utils/query.mjs +6 -0
  442. package/internal/utils/query.mjs.map +1 -0
  443. package/internal/utils/sleep.d.mts +10 -0
  444. package/internal/utils/sleep.d.mts.map +1 -0
  445. package/internal/utils/sleep.d.ts +10 -0
  446. package/internal/utils/sleep.d.ts.map +1 -0
  447. package/internal/utils/sleep.js +28 -0
  448. package/internal/utils/sleep.js.map +1 -0
  449. package/internal/utils/sleep.mjs +24 -0
  450. package/internal/utils/sleep.mjs.map +1 -0
  451. package/internal/utils/time.d.mts +3 -0
  452. package/internal/utils/time.d.mts.map +1 -0
  453. package/internal/utils/time.d.ts +3 -0
  454. package/internal/utils/time.d.ts.map +1 -0
  455. package/internal/utils/time.js +8 -0
  456. package/internal/utils/time.js.map +1 -0
  457. package/internal/utils/time.mjs +5 -0
  458. package/internal/utils/time.mjs.map +1 -0
  459. package/internal/utils/uuid.d.mts +5 -0
  460. package/internal/utils/uuid.d.mts.map +1 -0
  461. package/internal/utils/uuid.d.ts +5 -0
  462. package/internal/utils/uuid.d.ts.map +1 -0
  463. package/internal/utils/uuid.js +19 -0
  464. package/internal/utils/uuid.js.map +1 -0
  465. package/internal/utils/uuid.mjs +15 -0
  466. package/internal/utils/uuid.mjs.map +1 -0
  467. package/internal/utils/values.d.mts +19 -0
  468. package/internal/utils/values.d.mts.map +1 -0
  469. package/internal/utils/values.d.ts +19 -0
  470. package/internal/utils/values.d.ts.map +1 -0
  471. package/internal/utils/values.js +119 -0
  472. package/internal/utils/values.js.map +1 -0
  473. package/internal/utils/values.mjs +100 -0
  474. package/internal/utils/values.mjs.map +1 -0
  475. package/internal/utils.d.mts +8 -0
  476. package/internal/utils.d.mts.map +1 -0
  477. package/internal/utils.d.ts +8 -0
  478. package/internal/utils.d.ts.map +1 -0
  479. package/internal/utils.js +12 -0
  480. package/internal/utils.js.map +1 -0
  481. package/internal/utils.mjs +9 -0
  482. package/internal/utils.mjs.map +1 -0
  483. package/lib/BetaMessageStream.d.mts +122 -0
  484. package/lib/BetaMessageStream.d.mts.map +1 -0
  485. package/lib/BetaMessageStream.d.ts +122 -0
  486. package/lib/BetaMessageStream.d.ts.map +1 -0
  487. package/lib/BetaMessageStream.js +639 -0
  488. package/lib/BetaMessageStream.js.map +1 -0
  489. package/lib/BetaMessageStream.mjs +635 -0
  490. package/lib/BetaMessageStream.mjs.map +1 -0
  491. package/lib/MessageStream.d.mts +121 -0
  492. package/lib/MessageStream.d.mts.map +1 -0
  493. package/lib/MessageStream.d.ts +121 -0
  494. package/lib/MessageStream.d.ts.map +1 -0
  495. package/lib/MessageStream.js +595 -0
  496. package/lib/MessageStream.js.map +1 -0
  497. package/lib/MessageStream.mjs +591 -0
  498. package/lib/MessageStream.mjs.map +1 -0
  499. package/lib/beta-parser.d.mts +37 -0
  500. package/lib/beta-parser.d.mts.map +1 -0
  501. package/lib/beta-parser.d.ts +37 -0
  502. package/lib/beta-parser.d.ts.map +1 -0
  503. package/lib/beta-parser.js +79 -0
  504. package/lib/beta-parser.js.map +1 -0
  505. package/lib/beta-parser.mjs +75 -0
  506. package/lib/beta-parser.mjs.map +1 -0
  507. package/lib/credentials/credential-chain.d.mts +39 -0
  508. package/lib/credentials/credential-chain.d.mts.map +1 -0
  509. package/lib/credentials/credential-chain.d.ts +39 -0
  510. package/lib/credentials/credential-chain.d.ts.map +1 -0
  511. package/lib/credentials/credential-chain.js +245 -0
  512. package/lib/credentials/credential-chain.js.map +1 -0
  513. package/lib/credentials/credential-chain.mjs +208 -0
  514. package/lib/credentials/credential-chain.mjs.map +1 -0
  515. package/lib/credentials/identity-token.d.mts +11 -0
  516. package/lib/credentials/identity-token.d.mts.map +1 -0
  517. package/lib/credentials/identity-token.d.ts +11 -0
  518. package/lib/credentials/identity-token.d.ts.map +1 -0
  519. package/lib/credentials/identity-token.js +72 -0
  520. package/lib/credentials/identity-token.js.map +1 -0
  521. package/lib/credentials/identity-token.mjs +35 -0
  522. package/lib/credentials/identity-token.mjs.map +1 -0
  523. package/lib/credentials/oidc-federation.d.mts +40 -0
  524. package/lib/credentials/oidc-federation.d.mts.map +1 -0
  525. package/lib/credentials/oidc-federation.d.ts +40 -0
  526. package/lib/credentials/oidc-federation.d.ts.map +1 -0
  527. package/lib/credentials/oidc-federation.js +82 -0
  528. package/lib/credentials/oidc-federation.js.map +1 -0
  529. package/lib/credentials/oidc-federation.mjs +79 -0
  530. package/lib/credentials/oidc-federation.mjs.map +1 -0
  531. package/lib/credentials/token-cache.d.mts +54 -0
  532. package/lib/credentials/token-cache.d.mts.map +1 -0
  533. package/lib/credentials/token-cache.d.ts +54 -0
  534. package/lib/credentials/token-cache.d.ts.map +1 -0
  535. package/lib/credentials/token-cache.js +112 -0
  536. package/lib/credentials/token-cache.js.map +1 -0
  537. package/lib/credentials/token-cache.mjs +108 -0
  538. package/lib/credentials/token-cache.mjs.map +1 -0
  539. package/lib/credentials/types.d.mts +96 -0
  540. package/lib/credentials/types.d.mts.map +1 -0
  541. package/lib/credentials/types.d.ts +96 -0
  542. package/lib/credentials/types.d.ts.map +1 -0
  543. package/lib/credentials/types.js +266 -0
  544. package/lib/credentials/types.js.map +1 -0
  545. package/lib/credentials/types.mjs +224 -0
  546. package/lib/credentials/types.mjs.map +1 -0
  547. package/lib/credentials/user-oauth.d.mts +21 -0
  548. package/lib/credentials/user-oauth.d.mts.map +1 -0
  549. package/lib/credentials/user-oauth.d.ts +21 -0
  550. package/lib/credentials/user-oauth.d.ts.map +1 -0
  551. package/lib/credentials/user-oauth.js +130 -0
  552. package/lib/credentials/user-oauth.js.map +1 -0
  553. package/lib/credentials/user-oauth.mjs +94 -0
  554. package/lib/credentials/user-oauth.mjs.map +1 -0
  555. package/lib/credentials.d.mts +4 -0
  556. package/lib/credentials.d.mts.map +1 -0
  557. package/lib/credentials.d.ts +4 -0
  558. package/lib/credentials.d.ts.map +1 -0
  559. package/lib/credentials.js +8 -0
  560. package/lib/credentials.js.map +1 -0
  561. package/lib/credentials.mjs +3 -0
  562. package/lib/credentials.mjs.map +1 -0
  563. package/lib/environments/index.d.mts +4 -0
  564. package/lib/environments/index.d.mts.map +1 -0
  565. package/lib/environments/index.d.ts +4 -0
  566. package/lib/environments/index.d.ts.map +1 -0
  567. package/lib/environments/index.js +18 -0
  568. package/lib/environments/index.js.map +1 -0
  569. package/lib/environments/index.mjs +4 -0
  570. package/lib/environments/index.mjs.map +1 -0
  571. package/lib/environments/poller.d.mts +93 -0
  572. package/lib/environments/poller.d.mts.map +1 -0
  573. package/lib/environments/poller.d.ts +93 -0
  574. package/lib/environments/poller.d.ts.map +1 -0
  575. package/lib/environments/poller.js +185 -0
  576. package/lib/environments/poller.js.map +1 -0
  577. package/lib/environments/poller.mjs +176 -0
  578. package/lib/environments/poller.mjs.map +1 -0
  579. package/lib/environments/worker.d.mts +150 -0
  580. package/lib/environments/worker.d.mts.map +1 -0
  581. package/lib/environments/worker.d.ts +150 -0
  582. package/lib/environments/worker.d.ts.map +1 -0
  583. package/lib/environments/worker.js +271 -0
  584. package/lib/environments/worker.js.map +1 -0
  585. package/lib/environments/worker.mjs +267 -0
  586. package/lib/environments/worker.mjs.map +1 -0
  587. package/lib/helper-client.d.mts +34 -0
  588. package/lib/helper-client.d.mts.map +1 -0
  589. package/lib/helper-client.d.ts +34 -0
  590. package/lib/helper-client.d.ts.map +1 -0
  591. package/lib/helper-client.js +73 -0
  592. package/lib/helper-client.js.map +1 -0
  593. package/lib/helper-client.mjs +70 -0
  594. package/lib/helper-client.mjs.map +1 -0
  595. package/lib/middleware.d.mts +96 -0
  596. package/lib/middleware.d.mts.map +1 -0
  597. package/lib/middleware.d.ts +96 -0
  598. package/lib/middleware.d.ts.map +1 -0
  599. package/lib/middleware.js +711 -0
  600. package/lib/middleware.js.map +1 -0
  601. package/lib/middleware.mjs +706 -0
  602. package/lib/middleware.mjs.map +1 -0
  603. package/lib/parser.d.mts +32 -0
  604. package/lib/parser.d.mts.map +1 -0
  605. package/lib/parser.d.ts +32 -0
  606. package/lib/parser.d.ts.map +1 -0
  607. package/lib/parser.js +66 -0
  608. package/lib/parser.js.map +1 -0
  609. package/lib/parser.mjs +62 -0
  610. package/lib/parser.mjs.map +1 -0
  611. package/lib/sessions/accumulate.d.mts +22 -0
  612. package/lib/sessions/accumulate.d.mts.map +1 -0
  613. package/lib/sessions/accumulate.d.ts +22 -0
  614. package/lib/sessions/accumulate.d.ts.map +1 -0
  615. package/lib/sessions/accumulate.js +87 -0
  616. package/lib/sessions/accumulate.js.map +1 -0
  617. package/lib/sessions/accumulate.mjs +84 -0
  618. package/lib/sessions/accumulate.mjs.map +1 -0
  619. package/lib/tools/BetaRunnableTool.d.mts +68 -0
  620. package/lib/tools/BetaRunnableTool.d.mts.map +1 -0
  621. package/lib/tools/BetaRunnableTool.d.ts +68 -0
  622. package/lib/tools/BetaRunnableTool.d.ts.map +1 -0
  623. package/lib/tools/BetaRunnableTool.js +40 -0
  624. package/lib/tools/BetaRunnableTool.js.map +1 -0
  625. package/lib/tools/BetaRunnableTool.mjs +35 -0
  626. package/lib/tools/BetaRunnableTool.mjs.map +1 -0
  627. package/lib/tools/BetaToolRunner.d.mts +161 -0
  628. package/lib/tools/BetaToolRunner.d.mts.map +1 -0
  629. package/lib/tools/BetaToolRunner.d.ts +161 -0
  630. package/lib/tools/BetaToolRunner.d.ts.map +1 -0
  631. package/lib/tools/BetaToolRunner.js +400 -0
  632. package/lib/tools/BetaToolRunner.js.map +1 -0
  633. package/lib/tools/BetaToolRunner.mjs +396 -0
  634. package/lib/tools/BetaToolRunner.mjs.map +1 -0
  635. package/lib/tools/CompactionControl.d.mts +30 -0
  636. package/lib/tools/CompactionControl.d.mts.map +1 -0
  637. package/lib/tools/CompactionControl.d.ts +30 -0
  638. package/lib/tools/CompactionControl.d.ts.map +1 -0
  639. package/lib/tools/CompactionControl.js +28 -0
  640. package/lib/tools/CompactionControl.js.map +1 -0
  641. package/lib/tools/CompactionControl.mjs +25 -0
  642. package/lib/tools/CompactionControl.mjs.map +1 -0
  643. package/lib/tools/SessionToolRunner.d.mts +154 -0
  644. package/lib/tools/SessionToolRunner.d.mts.map +1 -0
  645. package/lib/tools/SessionToolRunner.d.ts +154 -0
  646. package/lib/tools/SessionToolRunner.d.ts.map +1 -0
  647. package/lib/tools/SessionToolRunner.js +474 -0
  648. package/lib/tools/SessionToolRunner.js.map +1 -0
  649. package/lib/tools/SessionToolRunner.mjs +470 -0
  650. package/lib/tools/SessionToolRunner.mjs.map +1 -0
  651. package/lib/tools/ToolError.d.mts +33 -0
  652. package/lib/tools/ToolError.d.mts.map +1 -0
  653. package/lib/tools/ToolError.d.ts +33 -0
  654. package/lib/tools/ToolError.d.ts.map +1 -0
  655. package/lib/tools/ToolError.js +42 -0
  656. package/lib/tools/ToolError.js.map +1 -0
  657. package/lib/tools/ToolError.mjs +38 -0
  658. package/lib/tools/ToolError.mjs.map +1 -0
  659. package/lib/tools/ToolRunner.d.mts +132 -0
  660. package/lib/tools/ToolRunner.d.mts.map +1 -0
  661. package/lib/tools/ToolRunner.d.ts +132 -0
  662. package/lib/tools/ToolRunner.d.ts.map +1 -0
  663. package/lib/tools/ToolRunner.js +294 -0
  664. package/lib/tools/ToolRunner.js.map +1 -0
  665. package/lib/tools/ToolRunner.mjs +290 -0
  666. package/lib/tools/ToolRunner.mjs.map +1 -0
  667. package/lib/transform-json-schema.d.mts +3 -0
  668. package/lib/transform-json-schema.d.mts.map +1 -0
  669. package/lib/transform-json-schema.d.ts +3 -0
  670. package/lib/transform-json-schema.d.ts.map +1 -0
  671. package/lib/transform-json-schema.js +114 -0
  672. package/lib/transform-json-schema.js.map +1 -0
  673. package/lib/transform-json-schema.mjs +111 -0
  674. package/lib/transform-json-schema.mjs.map +1 -0
  675. package/package.json +266 -0
  676. package/pagination.d.mts +3 -0
  677. package/pagination.d.mts.map +1 -0
  678. package/pagination.d.ts +3 -0
  679. package/pagination.d.ts.map +1 -0
  680. package/pagination.js +6 -0
  681. package/pagination.js.map +1 -0
  682. package/pagination.mjs +3 -0
  683. package/pagination.mjs.map +1 -0
  684. package/resource.d.mts +3 -0
  685. package/resource.d.mts.map +1 -0
  686. package/resource.d.ts +3 -0
  687. package/resource.d.ts.map +1 -0
  688. package/resource.js +6 -0
  689. package/resource.js.map +1 -0
  690. package/resource.mjs +3 -0
  691. package/resource.mjs.map +1 -0
  692. package/resources/beta/agents/agents.d.mts +917 -0
  693. package/resources/beta/agents/agents.d.mts.map +1 -0
  694. package/resources/beta/agents/agents.d.ts +917 -0
  695. package/resources/beta/agents/agents.d.ts.map +1 -0
  696. package/resources/beta/agents/agents.js +133 -0
  697. package/resources/beta/agents/agents.js.map +1 -0
  698. package/resources/beta/agents/agents.mjs +128 -0
  699. package/resources/beta/agents/agents.mjs.map +1 -0
  700. package/resources/beta/agents/index.d.mts +3 -0
  701. package/resources/beta/agents/index.d.mts.map +1 -0
  702. package/resources/beta/agents/index.d.ts +3 -0
  703. package/resources/beta/agents/index.d.ts.map +1 -0
  704. package/resources/beta/agents/index.js +9 -0
  705. package/resources/beta/agents/index.js.map +1 -0
  706. package/resources/beta/agents/index.mjs +4 -0
  707. package/resources/beta/agents/index.mjs.map +1 -0
  708. package/resources/beta/agents/versions.d.mts +33 -0
  709. package/resources/beta/agents/versions.d.mts.map +1 -0
  710. package/resources/beta/agents/versions.d.ts +33 -0
  711. package/resources/beta/agents/versions.d.ts.map +1 -0
  712. package/resources/beta/agents/versions.js +36 -0
  713. package/resources/beta/agents/versions.js.map +1 -0
  714. package/resources/beta/agents/versions.mjs +32 -0
  715. package/resources/beta/agents/versions.mjs.map +1 -0
  716. package/resources/beta/agents.d.mts +2 -0
  717. package/resources/beta/agents.d.mts.map +1 -0
  718. package/resources/beta/agents.d.ts +2 -0
  719. package/resources/beta/agents.d.ts.map +1 -0
  720. package/resources/beta/agents.js +6 -0
  721. package/resources/beta/agents.js.map +1 -0
  722. package/resources/beta/agents.mjs +3 -0
  723. package/resources/beta/agents.mjs.map +1 -0
  724. package/resources/beta/beta.d.mts +102 -0
  725. package/resources/beta/beta.d.mts.map +1 -0
  726. package/resources/beta/beta.d.ts +102 -0
  727. package/resources/beta/beta.d.ts.map +1 -0
  728. package/resources/beta/beta.js +65 -0
  729. package/resources/beta/beta.js.map +1 -0
  730. package/resources/beta/beta.mjs +60 -0
  731. package/resources/beta/beta.mjs.map +1 -0
  732. package/resources/beta/deployment-runs.d.mts +311 -0
  733. package/resources/beta/deployment-runs.d.mts.map +1 -0
  734. package/resources/beta/deployment-runs.d.ts +311 -0
  735. package/resources/beta/deployment-runs.d.ts.map +1 -0
  736. package/resources/beta/deployment-runs.js +60 -0
  737. package/resources/beta/deployment-runs.js.map +1 -0
  738. package/resources/beta/deployment-runs.mjs +56 -0
  739. package/resources/beta/deployment-runs.mjs.map +1 -0
  740. package/resources/beta/deployments.d.mts +688 -0
  741. package/resources/beta/deployments.d.mts.map +1 -0
  742. package/resources/beta/deployments.d.ts +688 -0
  743. package/resources/beta/deployments.d.ts.map +1 -0
  744. package/resources/beta/deployments.js +201 -0
  745. package/resources/beta/deployments.js.map +1 -0
  746. package/resources/beta/deployments.mjs +197 -0
  747. package/resources/beta/deployments.mjs.map +1 -0
  748. package/resources/beta/environments/environments.d.mts +463 -0
  749. package/resources/beta/environments/environments.d.mts.map +1 -0
  750. package/resources/beta/environments/environments.d.ts +463 -0
  751. package/resources/beta/environments/environments.d.ts.map +1 -0
  752. package/resources/beta/environments/environments.js +150 -0
  753. package/resources/beta/environments/environments.js.map +1 -0
  754. package/resources/beta/environments/environments.mjs +145 -0
  755. package/resources/beta/environments/environments.mjs.map +1 -0
  756. package/resources/beta/environments/index.d.mts +3 -0
  757. package/resources/beta/environments/index.d.mts.map +1 -0
  758. package/resources/beta/environments/index.d.ts +3 -0
  759. package/resources/beta/environments/index.d.ts.map +1 -0
  760. package/resources/beta/environments/index.js +9 -0
  761. package/resources/beta/environments/index.js.map +1 -0
  762. package/resources/beta/environments/index.mjs +4 -0
  763. package/resources/beta/environments/index.mjs.map +1 -0
  764. package/resources/beta/environments/work.d.mts +499 -0
  765. package/resources/beta/environments/work.d.mts.map +1 -0
  766. package/resources/beta/environments/work.d.ts +499 -0
  767. package/resources/beta/environments/work.d.ts.map +1 -0
  768. package/resources/beta/environments/work.js +281 -0
  769. package/resources/beta/environments/work.js.map +1 -0
  770. package/resources/beta/environments/work.mjs +275 -0
  771. package/resources/beta/environments/work.mjs.map +1 -0
  772. package/resources/beta/environments.d.mts +2 -0
  773. package/resources/beta/environments.d.mts.map +1 -0
  774. package/resources/beta/environments.d.ts +2 -0
  775. package/resources/beta/environments.d.ts.map +1 -0
  776. package/resources/beta/environments.js +6 -0
  777. package/resources/beta/environments.js.map +1 -0
  778. package/resources/beta/environments.mjs +3 -0
  779. package/resources/beta/environments.mjs.map +1 -0
  780. package/resources/beta/files.d.mts +179 -0
  781. package/resources/beta/files.d.mts.map +1 -0
  782. package/resources/beta/files.d.ts +179 -0
  783. package/resources/beta/files.d.ts.map +1 -0
  784. package/resources/beta/files.js +132 -0
  785. package/resources/beta/files.js.map +1 -0
  786. package/resources/beta/files.mjs +128 -0
  787. package/resources/beta/files.mjs.map +1 -0
  788. package/resources/beta/index.d.mts +15 -0
  789. package/resources/beta/index.d.mts.map +1 -0
  790. package/resources/beta/index.d.ts +15 -0
  791. package/resources/beta/index.d.ts.map +1 -0
  792. package/resources/beta/index.js +33 -0
  793. package/resources/beta/index.js.map +1 -0
  794. package/resources/beta/index.mjs +16 -0
  795. package/resources/beta/index.mjs.map +1 -0
  796. package/resources/beta/memory-stores/index.d.mts +4 -0
  797. package/resources/beta/memory-stores/index.d.mts.map +1 -0
  798. package/resources/beta/memory-stores/index.d.ts +4 -0
  799. package/resources/beta/memory-stores/index.d.ts.map +1 -0
  800. package/resources/beta/memory-stores/index.js +11 -0
  801. package/resources/beta/memory-stores/index.js.map +1 -0
  802. package/resources/beta/memory-stores/index.mjs +5 -0
  803. package/resources/beta/memory-stores/index.mjs.map +1 -0
  804. package/resources/beta/memory-stores/memories.d.mts +368 -0
  805. package/resources/beta/memory-stores/memories.d.mts.map +1 -0
  806. package/resources/beta/memory-stores/memories.d.ts +368 -0
  807. package/resources/beta/memory-stores/memories.d.ts.map +1 -0
  808. package/resources/beta/memory-stores/memories.js +134 -0
  809. package/resources/beta/memory-stores/memories.js.map +1 -0
  810. package/resources/beta/memory-stores/memories.mjs +130 -0
  811. package/resources/beta/memory-stores/memories.mjs.map +1 -0
  812. package/resources/beta/memory-stores/memory-stores.d.mts +235 -0
  813. package/resources/beta/memory-stores/memory-stores.d.mts.map +1 -0
  814. package/resources/beta/memory-stores/memory-stores.d.ts +235 -0
  815. package/resources/beta/memory-stores/memory-stores.d.ts.map +1 -0
  816. package/resources/beta/memory-stores/memory-stores.js +149 -0
  817. package/resources/beta/memory-stores/memory-stores.js.map +1 -0
  818. package/resources/beta/memory-stores/memory-stores.mjs +144 -0
  819. package/resources/beta/memory-stores/memory-stores.mjs.map +1 -0
  820. package/resources/beta/memory-stores/memory-versions.d.mts +241 -0
  821. package/resources/beta/memory-stores/memory-versions.d.mts.map +1 -0
  822. package/resources/beta/memory-stores/memory-versions.d.ts +241 -0
  823. package/resources/beta/memory-stores/memory-versions.d.ts.map +1 -0
  824. package/resources/beta/memory-stores/memory-versions.js +85 -0
  825. package/resources/beta/memory-stores/memory-versions.js.map +1 -0
  826. package/resources/beta/memory-stores/memory-versions.mjs +81 -0
  827. package/resources/beta/memory-stores/memory-versions.mjs.map +1 -0
  828. package/resources/beta/memory-stores.d.mts +2 -0
  829. package/resources/beta/memory-stores.d.mts.map +1 -0
  830. package/resources/beta/memory-stores.d.ts +2 -0
  831. package/resources/beta/memory-stores.d.ts.map +1 -0
  832. package/resources/beta/memory-stores.js +6 -0
  833. package/resources/beta/memory-stores.js.map +1 -0
  834. package/resources/beta/memory-stores.mjs +3 -0
  835. package/resources/beta/memory-stores.mjs.map +1 -0
  836. package/resources/beta/messages/batches.d.mts +689 -0
  837. package/resources/beta/messages/batches.d.mts.map +1 -0
  838. package/resources/beta/messages/batches.d.ts +689 -0
  839. package/resources/beta/messages/batches.d.ts.map +1 -0
  840. package/resources/beta/messages/batches.js +212 -0
  841. package/resources/beta/messages/batches.js.map +1 -0
  842. package/resources/beta/messages/batches.mjs +208 -0
  843. package/resources/beta/messages/batches.mjs.map +1 -0
  844. package/resources/beta/messages/index.d.mts +4 -0
  845. package/resources/beta/messages/index.d.mts.map +1 -0
  846. package/resources/beta/messages/index.d.ts +4 -0
  847. package/resources/beta/messages/index.d.ts.map +1 -0
  848. package/resources/beta/messages/index.js +12 -0
  849. package/resources/beta/messages/index.js.map +1 -0
  850. package/resources/beta/messages/index.mjs +5 -0
  851. package/resources/beta/messages/index.mjs.map +1 -0
  852. package/resources/beta/messages/messages.d.mts +3795 -0
  853. package/resources/beta/messages/messages.d.mts.map +1 -0
  854. package/resources/beta/messages/messages.d.ts +3795 -0
  855. package/resources/beta/messages/messages.d.ts.map +1 -0
  856. package/resources/beta/messages/messages.js +188 -0
  857. package/resources/beta/messages/messages.js.map +1 -0
  858. package/resources/beta/messages/messages.mjs +181 -0
  859. package/resources/beta/messages/messages.mjs.map +1 -0
  860. package/resources/beta/messages.d.mts +2 -0
  861. package/resources/beta/messages.d.mts.map +1 -0
  862. package/resources/beta/messages.d.ts +2 -0
  863. package/resources/beta/messages.d.ts.map +1 -0
  864. package/resources/beta/messages.js +6 -0
  865. package/resources/beta/messages.js.map +1 -0
  866. package/resources/beta/messages.mjs +3 -0
  867. package/resources/beta/messages.mjs.map +1 -0
  868. package/resources/beta/models.d.mts +223 -0
  869. package/resources/beta/models.d.mts.map +1 -0
  870. package/resources/beta/models.d.ts +223 -0
  871. package/resources/beta/models.d.ts.map +1 -0
  872. package/resources/beta/models.js +65 -0
  873. package/resources/beta/models.js.map +1 -0
  874. package/resources/beta/models.mjs +61 -0
  875. package/resources/beta/models.mjs.map +1 -0
  876. package/resources/beta/sessions/events.d.mts +1466 -0
  877. package/resources/beta/sessions/events.d.mts.map +1 -0
  878. package/resources/beta/sessions/events.d.ts +1466 -0
  879. package/resources/beta/sessions/events.d.ts.map +1 -0
  880. package/resources/beta/sessions/events.js +122 -0
  881. package/resources/beta/sessions/events.js.map +1 -0
  882. package/resources/beta/sessions/events.mjs +117 -0
  883. package/resources/beta/sessions/events.mjs.map +1 -0
  884. package/resources/beta/sessions/index.d.mts +5 -0
  885. package/resources/beta/sessions/index.d.mts.map +1 -0
  886. package/resources/beta/sessions/index.d.ts +5 -0
  887. package/resources/beta/sessions/index.d.ts.map +1 -0
  888. package/resources/beta/sessions/index.js +13 -0
  889. package/resources/beta/sessions/index.js.map +1 -0
  890. package/resources/beta/sessions/index.mjs +6 -0
  891. package/resources/beta/sessions/index.mjs.map +1 -0
  892. package/resources/beta/sessions/resources.d.mts +231 -0
  893. package/resources/beta/sessions/resources.d.mts.map +1 -0
  894. package/resources/beta/sessions/resources.d.ts +231 -0
  895. package/resources/beta/sessions/resources.d.ts.map +1 -0
  896. package/resources/beta/sessions/resources.js +135 -0
  897. package/resources/beta/sessions/resources.js.map +1 -0
  898. package/resources/beta/sessions/resources.mjs +131 -0
  899. package/resources/beta/sessions/resources.mjs.map +1 -0
  900. package/resources/beta/sessions/sessions.d.mts +819 -0
  901. package/resources/beta/sessions/sessions.d.mts.map +1 -0
  902. package/resources/beta/sessions/sessions.d.ts +819 -0
  903. package/resources/beta/sessions/sessions.d.ts.map +1 -0
  904. package/resources/beta/sessions/sessions.js +159 -0
  905. package/resources/beta/sessions/sessions.js.map +1 -0
  906. package/resources/beta/sessions/sessions.mjs +154 -0
  907. package/resources/beta/sessions/sessions.mjs.map +1 -0
  908. package/resources/beta/sessions/threads/events.d.mts +64 -0
  909. package/resources/beta/sessions/threads/events.d.mts.map +1 -0
  910. package/resources/beta/sessions/threads/events.d.ts +64 -0
  911. package/resources/beta/sessions/threads/events.d.ts.map +1 -0
  912. package/resources/beta/sessions/threads/events.js +60 -0
  913. package/resources/beta/sessions/threads/events.js.map +1 -0
  914. package/resources/beta/sessions/threads/events.mjs +56 -0
  915. package/resources/beta/sessions/threads/events.mjs.map +1 -0
  916. package/resources/beta/sessions/threads/index.d.mts +3 -0
  917. package/resources/beta/sessions/threads/index.d.mts.map +1 -0
  918. package/resources/beta/sessions/threads/index.d.ts +3 -0
  919. package/resources/beta/sessions/threads/index.d.ts.map +1 -0
  920. package/resources/beta/sessions/threads/index.js +9 -0
  921. package/resources/beta/sessions/threads/index.js.map +1 -0
  922. package/resources/beta/sessions/threads/index.mjs +4 -0
  923. package/resources/beta/sessions/threads/index.mjs.map +1 -0
  924. package/resources/beta/sessions/threads/threads.d.mts +183 -0
  925. package/resources/beta/sessions/threads/threads.d.mts.map +1 -0
  926. package/resources/beta/sessions/threads/threads.d.ts +183 -0
  927. package/resources/beta/sessions/threads/threads.d.ts.map +1 -0
  928. package/resources/beta/sessions/threads/threads.js +88 -0
  929. package/resources/beta/sessions/threads/threads.js.map +1 -0
  930. package/resources/beta/sessions/threads/threads.mjs +83 -0
  931. package/resources/beta/sessions/threads/threads.mjs.map +1 -0
  932. package/resources/beta/sessions/threads.d.mts +2 -0
  933. package/resources/beta/sessions/threads.d.mts.map +1 -0
  934. package/resources/beta/sessions/threads.d.ts +2 -0
  935. package/resources/beta/sessions/threads.d.ts.map +1 -0
  936. package/resources/beta/sessions/threads.js +6 -0
  937. package/resources/beta/sessions/threads.js.map +1 -0
  938. package/resources/beta/sessions/threads.mjs +3 -0
  939. package/resources/beta/sessions/threads.mjs.map +1 -0
  940. package/resources/beta/sessions.d.mts +2 -0
  941. package/resources/beta/sessions.d.mts.map +1 -0
  942. package/resources/beta/sessions.d.ts +2 -0
  943. package/resources/beta/sessions.d.ts.map +1 -0
  944. package/resources/beta/sessions.js +6 -0
  945. package/resources/beta/sessions.js.map +1 -0
  946. package/resources/beta/sessions.mjs +3 -0
  947. package/resources/beta/sessions.mjs.map +1 -0
  948. package/resources/beta/skills/index.d.mts +3 -0
  949. package/resources/beta/skills/index.d.mts.map +1 -0
  950. package/resources/beta/skills/index.d.ts +3 -0
  951. package/resources/beta/skills/index.d.ts.map +1 -0
  952. package/resources/beta/skills/index.js +9 -0
  953. package/resources/beta/skills/index.js.map +1 -0
  954. package/resources/beta/skills/index.mjs +4 -0
  955. package/resources/beta/skills/index.mjs.map +1 -0
  956. package/resources/beta/skills/skills.d.mts +258 -0
  957. package/resources/beta/skills/skills.d.mts.map +1 -0
  958. package/resources/beta/skills/skills.d.ts +258 -0
  959. package/resources/beta/skills/skills.d.ts.map +1 -0
  960. package/resources/beta/skills/skills.js +105 -0
  961. package/resources/beta/skills/skills.js.map +1 -0
  962. package/resources/beta/skills/skills.mjs +100 -0
  963. package/resources/beta/skills/skills.mjs.map +1 -0
  964. package/resources/beta/skills/versions.d.mts +298 -0
  965. package/resources/beta/skills/versions.d.mts.map +1 -0
  966. package/resources/beta/skills/versions.d.ts +298 -0
  967. package/resources/beta/skills/versions.d.ts.map +1 -0
  968. package/resources/beta/skills/versions.js +137 -0
  969. package/resources/beta/skills/versions.js.map +1 -0
  970. package/resources/beta/skills/versions.mjs +133 -0
  971. package/resources/beta/skills/versions.mjs.map +1 -0
  972. package/resources/beta/skills.d.mts +2 -0
  973. package/resources/beta/skills.d.mts.map +1 -0
  974. package/resources/beta/skills.d.ts +2 -0
  975. package/resources/beta/skills.d.ts.map +1 -0
  976. package/resources/beta/skills.js +6 -0
  977. package/resources/beta/skills.js.map +1 -0
  978. package/resources/beta/skills.mjs +3 -0
  979. package/resources/beta/skills.mjs.map +1 -0
  980. package/resources/beta/user-profiles.d.mts +228 -0
  981. package/resources/beta/user-profiles.d.mts.map +1 -0
  982. package/resources/beta/user-profiles.d.ts +228 -0
  983. package/resources/beta/user-profiles.d.ts.map +1 -0
  984. package/resources/beta/user-profiles.js +123 -0
  985. package/resources/beta/user-profiles.js.map +1 -0
  986. package/resources/beta/user-profiles.mjs +119 -0
  987. package/resources/beta/user-profiles.mjs.map +1 -0
  988. package/resources/beta/vaults/credentials.d.mts +843 -0
  989. package/resources/beta/vaults/credentials.d.mts.map +1 -0
  990. package/resources/beta/vaults/credentials.d.ts +843 -0
  991. package/resources/beta/vaults/credentials.d.ts.map +1 -0
  992. package/resources/beta/vaults/credentials.js +177 -0
  993. package/resources/beta/vaults/credentials.js.map +1 -0
  994. package/resources/beta/vaults/credentials.mjs +173 -0
  995. package/resources/beta/vaults/credentials.mjs.map +1 -0
  996. package/resources/beta/vaults/index.d.mts +3 -0
  997. package/resources/beta/vaults/index.d.mts.map +1 -0
  998. package/resources/beta/vaults/index.d.ts +3 -0
  999. package/resources/beta/vaults/index.d.ts.map +1 -0
  1000. package/resources/beta/vaults/index.js +9 -0
  1001. package/resources/beta/vaults/index.js.map +1 -0
  1002. package/resources/beta/vaults/index.mjs +4 -0
  1003. package/resources/beta/vaults/index.mjs.map +1 -0
  1004. package/resources/beta/vaults/vaults.d.mts +192 -0
  1005. package/resources/beta/vaults/vaults.d.mts.map +1 -0
  1006. package/resources/beta/vaults/vaults.d.ts +192 -0
  1007. package/resources/beta/vaults/vaults.d.ts.map +1 -0
  1008. package/resources/beta/vaults/vaults.js +149 -0
  1009. package/resources/beta/vaults/vaults.js.map +1 -0
  1010. package/resources/beta/vaults/vaults.mjs +144 -0
  1011. package/resources/beta/vaults/vaults.mjs.map +1 -0
  1012. package/resources/beta/vaults.d.mts +2 -0
  1013. package/resources/beta/vaults.d.mts.map +1 -0
  1014. package/resources/beta/vaults.d.ts +2 -0
  1015. package/resources/beta/vaults.d.ts.map +1 -0
  1016. package/resources/beta/vaults.js +6 -0
  1017. package/resources/beta/vaults.js.map +1 -0
  1018. package/resources/beta/vaults.mjs +3 -0
  1019. package/resources/beta/vaults.mjs.map +1 -0
  1020. package/resources/beta/webhooks.d.mts +399 -0
  1021. package/resources/beta/webhooks.d.mts.map +1 -0
  1022. package/resources/beta/webhooks.d.ts +399 -0
  1023. package/resources/beta/webhooks.d.ts.map +1 -0
  1024. package/resources/beta/webhooks.js +25 -0
  1025. package/resources/beta/webhooks.js.map +1 -0
  1026. package/resources/beta/webhooks.mjs +21 -0
  1027. package/resources/beta/webhooks.mjs.map +1 -0
  1028. package/resources/beta.d.mts +2 -0
  1029. package/resources/beta.d.mts.map +1 -0
  1030. package/resources/beta.d.ts +2 -0
  1031. package/resources/beta.d.ts.map +1 -0
  1032. package/resources/beta.js +6 -0
  1033. package/resources/beta.js.map +1 -0
  1034. package/resources/beta.mjs +3 -0
  1035. package/resources/beta.mjs.map +1 -0
  1036. package/resources/completions.d.mts +173 -0
  1037. package/resources/completions.d.mts.map +1 -0
  1038. package/resources/completions.d.ts +173 -0
  1039. package/resources/completions.d.ts.map +1 -0
  1040. package/resources/completions.js +23 -0
  1041. package/resources/completions.js.map +1 -0
  1042. package/resources/completions.mjs +19 -0
  1043. package/resources/completions.mjs.map +1 -0
  1044. package/resources/index.d.mts +6 -0
  1045. package/resources/index.d.mts.map +1 -0
  1046. package/resources/index.d.ts +6 -0
  1047. package/resources/index.d.ts.map +1 -0
  1048. package/resources/index.js +15 -0
  1049. package/resources/index.js.map +1 -0
  1050. package/resources/index.mjs +7 -0
  1051. package/resources/index.mjs.map +1 -0
  1052. package/resources/messages/batches.d.mts +313 -0
  1053. package/resources/messages/batches.d.mts.map +1 -0
  1054. package/resources/messages/batches.d.ts +313 -0
  1055. package/resources/messages/batches.d.ts.map +1 -0
  1056. package/resources/messages/batches.js +161 -0
  1057. package/resources/messages/batches.js.map +1 -0
  1058. package/resources/messages/batches.mjs +157 -0
  1059. package/resources/messages/batches.mjs.map +1 -0
  1060. package/resources/messages/index.d.mts +3 -0
  1061. package/resources/messages/index.d.mts.map +1 -0
  1062. package/resources/messages/index.d.ts +3 -0
  1063. package/resources/messages/index.d.ts.map +1 -0
  1064. package/resources/messages/index.js +9 -0
  1065. package/resources/messages/index.js.map +1 -0
  1066. package/resources/messages/index.mjs +4 -0
  1067. package/resources/messages/index.mjs.map +1 -0
  1068. package/resources/messages/messages.d.mts +2580 -0
  1069. package/resources/messages/messages.d.mts.map +1 -0
  1070. package/resources/messages/messages.d.ts +2580 -0
  1071. package/resources/messages/messages.d.ts.map +1 -0
  1072. package/resources/messages/messages.js +148 -0
  1073. package/resources/messages/messages.js.map +1 -0
  1074. package/resources/messages/messages.mjs +143 -0
  1075. package/resources/messages/messages.mjs.map +1 -0
  1076. package/resources/messages.d.mts +2 -0
  1077. package/resources/messages.d.mts.map +1 -0
  1078. package/resources/messages.d.ts +2 -0
  1079. package/resources/messages.d.ts.map +1 -0
  1080. package/resources/messages.js +6 -0
  1081. package/resources/messages.js.map +1 -0
  1082. package/resources/messages.mjs +3 -0
  1083. package/resources/messages.mjs.map +1 -0
  1084. package/resources/models.d.mts +197 -0
  1085. package/resources/models.d.mts.map +1 -0
  1086. package/resources/models.d.ts +197 -0
  1087. package/resources/models.d.ts.map +1 -0
  1088. package/resources/models.js +45 -0
  1089. package/resources/models.js.map +1 -0
  1090. package/resources/models.mjs +41 -0
  1091. package/resources/models.mjs.map +1 -0
  1092. package/resources/shared.d.mts +59 -0
  1093. package/resources/shared.d.mts.map +1 -0
  1094. package/resources/shared.d.ts +59 -0
  1095. package/resources/shared.d.ts.map +1 -0
  1096. package/resources/shared.js +4 -0
  1097. package/resources/shared.js.map +1 -0
  1098. package/resources/shared.mjs +3 -0
  1099. package/resources/shared.mjs.map +1 -0
  1100. package/resources/top-level.d.mts +2 -0
  1101. package/resources/top-level.d.mts.map +1 -0
  1102. package/resources/top-level.d.ts +2 -0
  1103. package/resources/top-level.d.ts.map +1 -0
  1104. package/resources/top-level.js +4 -0
  1105. package/resources/top-level.js.map +1 -0
  1106. package/resources/top-level.mjs +3 -0
  1107. package/resources/top-level.mjs.map +1 -0
  1108. package/resources.d.mts +2 -0
  1109. package/resources.d.mts.map +1 -0
  1110. package/resources.d.ts +2 -0
  1111. package/resources.d.ts.map +1 -0
  1112. package/resources.js +5 -0
  1113. package/resources.js.map +1 -0
  1114. package/resources.mjs +2 -0
  1115. package/resources.mjs.map +1 -0
  1116. package/src/_vendor/partial-json-parser/README.md +3 -0
  1117. package/src/_vendor/partial-json-parser/parser.ts +280 -0
  1118. package/src/api-promise.ts +2 -0
  1119. package/src/client.ts +1858 -0
  1120. package/src/core/README.md +3 -0
  1121. package/src/core/api-promise.ts +101 -0
  1122. package/src/core/api.ts +11 -0
  1123. package/src/core/credentials.ts +379 -0
  1124. package/src/core/error.ts +160 -0
  1125. package/src/core/middleware.ts +339 -0
  1126. package/src/core/pagination.ts +378 -0
  1127. package/src/core/resource.ts +11 -0
  1128. package/src/core/streaming.ts +403 -0
  1129. package/src/core/uploads.ts +2 -0
  1130. package/src/error.ts +2 -0
  1131. package/src/helpers/beta/environments.ts +36 -0
  1132. package/src/helpers/beta/json-schema.ts +85 -0
  1133. package/src/helpers/beta/mcp.ts +624 -0
  1134. package/src/helpers/beta/memory.ts +28 -0
  1135. package/src/helpers/beta/zod.ts +81 -0
  1136. package/src/helpers/index.ts +2 -0
  1137. package/src/helpers/json-schema.ts +48 -0
  1138. package/src/helpers/zod.ts +57 -0
  1139. package/src/index.ts +47 -0
  1140. package/src/internal/README.md +3 -0
  1141. package/src/internal/builtin-types.ts +93 -0
  1142. package/src/internal/constants.ts +15 -0
  1143. package/src/internal/decoders/jsonl.ts +48 -0
  1144. package/src/internal/decoders/line.ts +135 -0
  1145. package/src/internal/detect-platform.ts +196 -0
  1146. package/src/internal/errors.ts +33 -0
  1147. package/src/internal/headers.ts +142 -0
  1148. package/src/internal/message-stream-utils.ts +30 -0
  1149. package/src/internal/parse.ts +86 -0
  1150. package/src/internal/qs/LICENSE.md +13 -0
  1151. package/src/internal/qs/README.md +3 -0
  1152. package/src/internal/qs/formats.ts +10 -0
  1153. package/src/internal/qs/index.ts +13 -0
  1154. package/src/internal/qs/stringify.ts +385 -0
  1155. package/src/internal/qs/types.ts +71 -0
  1156. package/src/internal/qs/utils.ts +265 -0
  1157. package/src/internal/request-options.ts +146 -0
  1158. package/src/internal/shim-types.ts +26 -0
  1159. package/src/internal/shims.ts +107 -0
  1160. package/src/internal/stainless-helper-header.ts +122 -0
  1161. package/src/internal/stream-utils.ts +32 -0
  1162. package/src/internal/to-file.ts +159 -0
  1163. package/src/internal/types.ts +93 -0
  1164. package/src/internal/uploads.ts +204 -0
  1165. package/src/internal/utils/abort.ts +21 -0
  1166. package/src/internal/utils/async-queue.ts +66 -0
  1167. package/src/internal/utils/backoff.ts +41 -0
  1168. package/src/internal/utils/base64.ts +40 -0
  1169. package/src/internal/utils/bytes.ts +32 -0
  1170. package/src/internal/utils/env.ts +18 -0
  1171. package/src/internal/utils/log.ts +158 -0
  1172. package/src/internal/utils/path.ts +88 -0
  1173. package/src/internal/utils/promise.ts +18 -0
  1174. package/src/internal/utils/query.ts +7 -0
  1175. package/src/internal/utils/sleep.ts +26 -0
  1176. package/src/internal/utils/time.ts +4 -0
  1177. package/src/internal/utils/uuid.ts +17 -0
  1178. package/src/internal/utils/values.ts +112 -0
  1179. package/src/internal/utils.ts +9 -0
  1180. package/src/lib/.keep +4 -0
  1181. package/src/lib/BetaMessageStream.ts +781 -0
  1182. package/src/lib/MessageStream.ts +740 -0
  1183. package/src/lib/beta-parser.ts +148 -0
  1184. package/src/lib/credentials/credential-chain.ts +292 -0
  1185. package/src/lib/credentials/identity-token.ts +37 -0
  1186. package/src/lib/credentials/oidc-federation.ts +140 -0
  1187. package/src/lib/credentials/token-cache.ts +130 -0
  1188. package/src/lib/credentials/types.ts +295 -0
  1189. package/src/lib/credentials/user-oauth.ts +144 -0
  1190. package/src/lib/credentials.ts +3 -0
  1191. package/src/lib/environments/index.ts +23 -0
  1192. package/src/lib/environments/poller.ts +257 -0
  1193. package/src/lib/environments/worker.ts +404 -0
  1194. package/src/lib/helper-client.ts +102 -0
  1195. package/src/lib/middleware.ts +949 -0
  1196. package/src/lib/parser.ts +125 -0
  1197. package/src/lib/sessions/accumulate.ts +129 -0
  1198. package/src/lib/tools/BetaRunnableTool.ts +130 -0
  1199. package/src/lib/tools/BetaToolRunner.ts +542 -0
  1200. package/src/lib/tools/CompactionControl.ts +57 -0
  1201. package/src/lib/tools/SessionToolRunner.ts +616 -0
  1202. package/src/lib/tools/ToolError.ts +47 -0
  1203. package/src/lib/tools/ToolRunner.ts +381 -0
  1204. package/src/lib/transform-json-schema.ts +124 -0
  1205. package/src/pagination.ts +2 -0
  1206. package/src/resource.ts +2 -0
  1207. package/src/resources/beta/agents/agents.ts +1279 -0
  1208. package/src/resources/beta/agents/index.ts +65 -0
  1209. package/src/resources/beta/agents/versions.ts +58 -0
  1210. package/src/resources/beta/agents.ts +3 -0
  1211. package/src/resources/beta/beta.ts +1267 -0
  1212. package/src/resources/beta/deployment-runs.ts +446 -0
  1213. package/src/resources/beta/deployments.ts +982 -0
  1214. package/src/resources/beta/environments/environments.ts +673 -0
  1215. package/src/resources/beta/environments/index.ts +45 -0
  1216. package/src/resources/beta/environments/work.ts +699 -0
  1217. package/src/resources/beta/environments.ts +3 -0
  1218. package/src/resources/beta/files.ts +294 -0
  1219. package/src/resources/beta/index.ts +570 -0
  1220. package/src/resources/beta/memory-stores/index.ts +47 -0
  1221. package/src/resources/beta/memory-stores/memories.ts +535 -0
  1222. package/src/resources/beta/memory-stores/memory-stores.ts +422 -0
  1223. package/src/resources/beta/memory-stores/memory-versions.ts +348 -0
  1224. package/src/resources/beta/memory-stores.ts +3 -0
  1225. package/src/resources/beta/messages/batches.ts +877 -0
  1226. package/src/resources/beta/messages/index.ts +261 -0
  1227. package/src/resources/beta/messages/messages.ts +5454 -0
  1228. package/src/resources/beta/messages.ts +3 -0
  1229. package/src/resources/beta/models.ts +301 -0
  1230. package/src/resources/beta/sessions/events.ts +2036 -0
  1231. package/src/resources/beta/sessions/index.ts +154 -0
  1232. package/src/resources/beta/sessions/resources.ts +373 -0
  1233. package/src/resources/beta/sessions/sessions.ts +1341 -0
  1234. package/src/resources/beta/sessions/threads/events.ts +107 -0
  1235. package/src/resources/beta/sessions/threads/index.ts +15 -0
  1236. package/src/resources/beta/sessions/threads/threads.ts +314 -0
  1237. package/src/resources/beta/sessions/threads.ts +3 -0
  1238. package/src/resources/beta/sessions.ts +3 -0
  1239. package/src/resources/beta/skills/index.ts +27 -0
  1240. package/src/resources/beta/skills/skills.ts +392 -0
  1241. package/src/resources/beta/skills/versions.ts +433 -0
  1242. package/src/resources/beta/skills.ts +3 -0
  1243. package/src/resources/beta/user-profiles.ts +330 -0
  1244. package/src/resources/beta/vaults/credentials.ts +1172 -0
  1245. package/src/resources/beta/vaults/index.ts +66 -0
  1246. package/src/resources/beta/vaults/vaults.ts +409 -0
  1247. package/src/resources/beta/vaults.ts +3 -0
  1248. package/src/resources/beta/webhooks.ts +647 -0
  1249. package/src/resources/beta.ts +3 -0
  1250. package/src/resources/completions.ts +221 -0
  1251. package/src/resources/index.ts +211 -0
  1252. package/src/resources/messages/batches.ts +414 -0
  1253. package/src/resources/messages/index.ts +194 -0
  1254. package/src/resources/messages/messages.ts +3765 -0
  1255. package/src/resources/messages.ts +3 -0
  1256. package/src/resources/models.ts +274 -0
  1257. package/src/resources/shared.ts +112 -0
  1258. package/src/resources/top-level.ts +3 -0
  1259. package/src/resources.ts +1 -0
  1260. package/src/streaming.ts +2 -0
  1261. package/src/tools/agent-toolset/fs-util.ts +157 -0
  1262. package/src/tools/agent-toolset/node.browser.ts +90 -0
  1263. package/src/tools/agent-toolset/node.ts +817 -0
  1264. package/src/tools/agent-toolset/skills.ts +256 -0
  1265. package/src/tools/memory/node.browser.ts +64 -0
  1266. package/src/tools/memory/node.ts +400 -0
  1267. package/src/tsconfig.json +11 -0
  1268. package/src/uploads.ts +2 -0
  1269. package/src/version.ts +1 -0
  1270. package/streaming.d.mts +3 -0
  1271. package/streaming.d.mts.map +1 -0
  1272. package/streaming.d.ts +3 -0
  1273. package/streaming.d.ts.map +1 -0
  1274. package/streaming.js +6 -0
  1275. package/streaming.js.map +1 -0
  1276. package/streaming.mjs +3 -0
  1277. package/streaming.mjs.map +1 -0
  1278. package/tools/agent-toolset/fs-util.d.mts +50 -0
  1279. package/tools/agent-toolset/fs-util.d.mts.map +1 -0
  1280. package/tools/agent-toolset/fs-util.d.ts +50 -0
  1281. package/tools/agent-toolset/fs-util.d.ts.map +1 -0
  1282. package/tools/agent-toolset/fs-util.js +162 -0
  1283. package/tools/agent-toolset/fs-util.js.map +1 -0
  1284. package/tools/agent-toolset/fs-util.mjs +154 -0
  1285. package/tools/agent-toolset/fs-util.mjs.map +1 -0
  1286. package/tools/agent-toolset/node.browser.d.mts +42 -0
  1287. package/tools/agent-toolset/node.browser.d.mts.map +1 -0
  1288. package/tools/agent-toolset/node.browser.d.ts +42 -0
  1289. package/tools/agent-toolset/node.browser.d.ts.map +1 -0
  1290. package/tools/agent-toolset/node.browser.js +81 -0
  1291. package/tools/agent-toolset/node.browser.js.map +1 -0
  1292. package/tools/agent-toolset/node.browser.mjs +66 -0
  1293. package/tools/agent-toolset/node.browser.mjs.map +1 -0
  1294. package/tools/agent-toolset/node.d.mts +149 -0
  1295. package/tools/agent-toolset/node.d.mts.map +1 -0
  1296. package/tools/agent-toolset/node.d.ts +149 -0
  1297. package/tools/agent-toolset/node.d.ts.map +1 -0
  1298. package/tools/agent-toolset/node.js +768 -0
  1299. package/tools/agent-toolset/node.js.map +1 -0
  1300. package/tools/agent-toolset/node.mjs +753 -0
  1301. package/tools/agent-toolset/node.mjs.map +1 -0
  1302. package/tools/agent-toolset/skills.d.mts +50 -0
  1303. package/tools/agent-toolset/skills.d.mts.map +1 -0
  1304. package/tools/agent-toolset/skills.d.ts +50 -0
  1305. package/tools/agent-toolset/skills.d.ts.map +1 -0
  1306. package/tools/agent-toolset/skills.js +249 -0
  1307. package/tools/agent-toolset/skills.js.map +1 -0
  1308. package/tools/agent-toolset/skills.mjs +243 -0
  1309. package/tools/agent-toolset/skills.mjs.map +1 -0
  1310. package/tools/memory/node.browser.d.mts +27 -0
  1311. package/tools/memory/node.browser.d.mts.map +1 -0
  1312. package/tools/memory/node.browser.d.ts +27 -0
  1313. package/tools/memory/node.browser.d.ts.map +1 -0
  1314. package/tools/memory/node.browser.js +49 -0
  1315. package/tools/memory/node.browser.js.map +1 -0
  1316. package/tools/memory/node.browser.mjs +44 -0
  1317. package/tools/memory/node.browser.mjs.map +1 -0
  1318. package/tools/memory/node.d.mts +18 -0
  1319. package/tools/memory/node.d.mts.map +1 -0
  1320. package/tools/memory/node.d.ts +18 -0
  1321. package/tools/memory/node.d.ts.map +1 -0
  1322. package/tools/memory/node.js +331 -0
  1323. package/tools/memory/node.js.map +1 -0
  1324. package/tools/memory/node.mjs +325 -0
  1325. package/tools/memory/node.mjs.map +1 -0
  1326. package/uploads.d.mts +3 -0
  1327. package/uploads.d.mts.map +1 -0
  1328. package/uploads.d.ts +3 -0
  1329. package/uploads.d.ts.map +1 -0
  1330. package/uploads.js +6 -0
  1331. package/uploads.js.map +1 -0
  1332. package/uploads.mjs +3 -0
  1333. package/uploads.mjs.map +1 -0
  1334. package/version.d.mts +2 -0
  1335. package/version.d.mts.map +1 -0
  1336. package/version.d.ts +2 -0
  1337. package/version.d.ts.map +1 -0
  1338. package/version.js +5 -0
  1339. package/version.js.map +1 -0
  1340. package/version.mjs +2 -0
  1341. package/version.mjs.map +1 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,2815 @@
1
+ # Changelog
2
+
3
+ ## 0.110.0 (2026-07-02)
4
+
5
+ Full Changelog: [sdk-v0.109.1...sdk-v0.110.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.109.1...sdk-v0.110.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** add agent-memory-2026-07-22 beta header ([a470e10](https://github.com/anthropics/anthropic-sdk-typescript/commit/a470e10aaad12078e3e5f2bb9adf6c2652ea9ca0))
10
+
11
+ ## 0.109.1 (2026-07-01)
12
+
13
+ Full Changelog: [sdk-v0.109.0...sdk-v0.109.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.109.0...sdk-v0.109.1)
14
+
15
+ ### Chores
16
+
17
+ * **api:** remove some nonfunctional types from the SDKs ([cc4dd4e](https://github.com/anthropics/anthropic-sdk-typescript/commit/cc4dd4e257cc3354f14e263b0d2441ddae71759e))
18
+
19
+ ## 0.109.0 (2026-06-30)
20
+
21
+ Full Changelog: [sdk-v0.108.0...sdk-v0.109.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.108.0...sdk-v0.109.0)
22
+
23
+ ### Features
24
+
25
+ * **api:** add support for Managed Agents event delta streaming, agent overrides, reverse pagination, vault credential injection scoping, and agent and deployment webhook events ([7f3211b](https://github.com/anthropics/anthropic-sdk-typescript/commit/7f3211b4886053d25e98b91edc90fedc199ef186))
26
+
27
+ ## 0.108.0 (2026-06-30)
28
+
29
+ Full Changelog: [sdk-v0.107.0...sdk-v0.108.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.107.0...sdk-v0.108.0)
30
+
31
+ ### Features
32
+
33
+ * **api:** add support for claude-sonnet-5 ([4588db0](https://github.com/anthropics/anthropic-sdk-typescript/commit/4588db01eccd7529a5d2e99b8e5da3af1acdbbc8))
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **agent-toolset:** allow absolute paths that resolve inside workdir ([#112](https://github.com/anthropics/anthropic-sdk-typescript/issues/112)) ([e951fb2](https://github.com/anthropics/anthropic-sdk-typescript/commit/e951fb2ed70f8d6cd0113ae1642a795404e1cc9a))
39
+
40
+
41
+ ### Chores
42
+
43
+ * format README.md ([#176](https://github.com/anthropics/anthropic-sdk-typescript/issues/176)) ([98dcff7](https://github.com/anthropics/anthropic-sdk-typescript/commit/98dcff71b632a92e0e1dff19ca4a95439a5fe447))
44
+
45
+ ## 0.107.0 (2026-06-29)
46
+
47
+ Full Changelog: [sdk-v0.106.0...sdk-v0.107.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.106.0...sdk-v0.107.0)
48
+
49
+ ### Features
50
+
51
+ * **api:** add support for 20260318 web fetch and support tools ([d7057ea](https://github.com/anthropics/anthropic-sdk-typescript/commit/d7057ea73ba564d1e89cff40c58a85d9375ccbbf))
52
+
53
+
54
+ ### Bug Fixes
55
+
56
+ * **agent-toolset:** bound canonicalize symlink hops; resolve glob matches before confinement check ([#142](https://github.com/anthropics/anthropic-sdk-typescript/issues/142)) ([277be80](https://github.com/anthropics/anthropic-sdk-typescript/commit/277be80af68eb088e954c0008dc1aa932375afe2))
57
+ * **types:** restore BatchCreateParams.Request.params dropped by codegen merge ([#165](https://github.com/anthropics/anthropic-sdk-typescript/issues/165)) ([c6b68d2](https://github.com/anthropics/anthropic-sdk-typescript/commit/c6b68d248e037617017fc00f928dbeb9091f917d))
58
+
59
+
60
+ ### Chores
61
+
62
+ * **api:** accept user profile ID's when counting tokens ([6cda67e](https://github.com/anthropics/anthropic-sdk-typescript/commit/6cda67e3b9d97505aa24e318cd22e28837760025))
63
+ * **docs:** updates to descriptions and example values ([51a5f81](https://github.com/anthropics/anthropic-sdk-typescript/commit/51a5f8138f8e771a84456628ec9d31b6257d2f3f))
64
+
65
+
66
+ ### Documentation
67
+
68
+ * update readme requirements to match anthropic docs ([#146](https://github.com/anthropics/anthropic-sdk-typescript/issues/146)) ([3818412](https://github.com/anthropics/anthropic-sdk-typescript/commit/3818412d371372fa1054b34a7293853fb3bfbef3))
69
+
70
+ ## 0.106.0 (2026-06-24)
71
+
72
+ Full Changelog: [sdk-v0.105.0...sdk-v0.106.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.105.0...sdk-v0.106.0)
73
+
74
+ ### Features
75
+
76
+ * **client:** add support for system.message streaming events ([a7c14b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/a7c14b7ffc8295e34d8c159d1374f170d2b87767))
77
+
78
+
79
+ ### Bug Fixes
80
+
81
+ * **helpers:** single source for x-stainless-helper, append semantics, and tag the fallback middleware ([#107](https://github.com/anthropics/anthropic-sdk-typescript/issues/107)) ([106bea0](https://github.com/anthropics/anthropic-sdk-typescript/commit/106bea081439ece2cb0170e56b24c5f039af5e16))
82
+
83
+
84
+ ### Chores
85
+
86
+ * **api:** add support for new refusal category ([b38fd01](https://github.com/anthropics/anthropic-sdk-typescript/commit/b38fd01d15bcd519aa66cd640a8ad40310ae9d01))
87
+ * **api:** add support for sending User Profile ID in request headers ([198583e](https://github.com/anthropics/anthropic-sdk-typescript/commit/198583e2fc3236f62a85ef7be0bfdfdea2164264))
88
+
89
+ ## 0.105.0 (2026-06-18)
90
+
91
+ Full Changelog: [sdk-v0.104.2...sdk-v0.105.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.104.2...sdk-v0.105.0)
92
+
93
+ ### Features
94
+
95
+ * **api:** add support for new code_execution_20260120 tool ([8dc2b54](https://github.com/anthropics/anthropic-sdk-typescript/commit/8dc2b54ee9f19cfc0a8f5cb49d0e1b93f4a4cadd))
96
+ * **stream:** lazily parse partial tool json input ([#99](https://github.com/anthropics/anthropic-sdk-typescript/issues/99)) ([e55ceee](https://github.com/anthropics/anthropic-sdk-typescript/commit/e55ceee5e3053ada96a7fe008b1fd6ebc0e42544))
97
+
98
+
99
+ ### Chores
100
+
101
+ * **internal/deps:** bump swc to 1.15.40 ([#97](https://github.com/anthropics/anthropic-sdk-typescript/issues/97)) ([a1d4d75](https://github.com/anthropics/anthropic-sdk-typescript/commit/a1d4d7549251f88100f44b0350f6123c9cbea5ec))
102
+ * **internal:** use are the types wrong directly ([#94](https://github.com/anthropics/anthropic-sdk-typescript/issues/94)) ([3d362af](https://github.com/anthropics/anthropic-sdk-typescript/commit/3d362afd0aade3d18f10e61a5e4809c0bd495768))
103
+ * **tests:** stop using deprecated models ([#98](https://github.com/anthropics/anthropic-sdk-typescript/issues/98)) ([65ae1af](https://github.com/anthropics/anthropic-sdk-typescript/commit/65ae1afee1bb76179c58e1758a48d668e3fcf7b3))
104
+
105
+ ## 0.104.2 (2026-06-15)
106
+
107
+ Full Changelog: [sdk-v0.104.1...sdk-v0.104.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.104.1...sdk-v0.104.2)
108
+
109
+ ### Chores
110
+
111
+ * **api:** remove retired models from API and SDKs ([a942876](https://github.com/anthropics/anthropic-sdk-typescript/commit/a94287690a383ba34aa0d2ad9e0262eeb9241bd3))
112
+
113
+ ## 0.104.1 (2026-06-09)
114
+
115
+ Full Changelog: [sdk-v0.104.0...sdk-v0.104.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.104.0...sdk-v0.104.1)
116
+
117
+ ### Bug Fixes
118
+
119
+ * **api:** add `frontier_llm` refusal category ([465e686](https://github.com/anthropics/anthropic-sdk-typescript/commit/465e6866d66952c0a0a9eb2c465b2e4389da58f1))
120
+
121
+ ## 0.104.0 (2026-06-09)
122
+
123
+ Full Changelog: [sdk-v0.103.0...sdk-v0.104.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.103.0...sdk-v0.104.0)
124
+
125
+ ### Features
126
+
127
+ * **api:** add support for Managed Agents deployments and environment variable credentials ([d01e38b](https://github.com/anthropics/anthropic-sdk-typescript/commit/d01e38b5b6f62400450b727d9724ea00a6b1eaf5))
128
+
129
+ ## 0.103.0 (2026-06-09)
130
+
131
+ Full Changelog: [sdk-v0.102.0...sdk-v0.103.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.102.0...sdk-v0.103.0)
132
+
133
+ ### Features
134
+
135
+ * **api:** add support for claude-mythos-5 and claude-fable-5, with support for server-side fallbacks on refusal ([cc337f7](https://github.com/anthropics/anthropic-sdk-typescript/commit/cc337f72dcf22d2ffd92f511918330f37ffab652))
136
+ * **client:** adds client-side fallbacks middleware for API providers that do not support server-side fallbacks ([cc337f7](https://github.com/anthropics/anthropic-sdk-typescript/commit/cc337f72dcf22d2ffd92f511918330f37ffab652))
137
+ * **middleware:** add ctx.logger ([#55](https://github.com/anthropics/anthropic-sdk-typescript/issues/55)) ([edd1454](https://github.com/anthropics/anthropic-sdk-typescript/commit/edd14544173cf60ee2a2bf01acbf14e50bcfdaaa))
138
+
139
+
140
+ ### Bug Fixes
141
+
142
+ * **client:** 3p middleware ordering ([#53](https://github.com/anthropics/anthropic-sdk-typescript/issues/53)) ([2a4c339](https://github.com/anthropics/anthropic-sdk-typescript/commit/2a4c339e6887aa2e8e1278c7b22d3732cf64a76c))
143
+
144
+ ## 0.102.0 (2026-06-06)
145
+
146
+ Full Changelog: [sdk-v0.101.0...sdk-v0.102.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.101.0...sdk-v0.102.0)
147
+
148
+ ### Features
149
+
150
+ * **api:** small updates to Managed Agents types ([8ba4f92](https://github.com/anthropics/anthropic-sdk-typescript/commit/8ba4f92df32eb434503b8c69bc7328adc5edcbec))
151
+
152
+
153
+ ### Bug Fixes
154
+
155
+ * **client:** run middleware before request signing ([#45](https://github.com/anthropics/anthropic-sdk-typescript/issues/45)) ([95f1a4a](https://github.com/anthropics/anthropic-sdk-typescript/commit/95f1a4a406c95aa31855fa1178fedfcb19978e16))
156
+
157
+ ## 0.101.0 (2026-06-05)
158
+
159
+ Full Changelog: [sdk-v0.100.1...sdk-v0.101.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.100.1...sdk-v0.101.0)
160
+
161
+ ### Features
162
+
163
+ * **client:** add support for middleware ([9b01120](https://github.com/anthropics/anthropic-sdk-typescript/commit/9b011207965540211cefb19d44d758b7942aedab))
164
+
165
+
166
+ ### Bug Fixes
167
+
168
+ * apply request timeout to inner fetch only, not middleware chain ([#40](https://github.com/anthropics/anthropic-sdk-typescript/issues/40)) ([25c13f6](https://github.com/anthropics/anthropic-sdk-typescript/commit/25c13f6183391f006396f16a9bd9a2c2f710d52c))
169
+ * **streaming:** carry stop_details through beta message_delta accumulation ([ed3fec7](https://github.com/anthropics/anthropic-sdk-typescript/commit/ed3fec7ace406fe4b0ca3494439061695dabf475))
170
+ * **streaming:** correctly parse json numbers with scientific notation ([#9](https://github.com/anthropics/anthropic-sdk-typescript/issues/9)) ([7d5e642](https://github.com/anthropics/anthropic-sdk-typescript/commit/7d5e6422dc5b58bc991c1587c4f1a0e8e753f2a5))
171
+
172
+
173
+ ### Chores
174
+
175
+ * **internal:** fix artifact url ([925ec27](https://github.com/anthropics/anthropic-sdk-typescript/commit/925ec276fa97baf63d3643f24430bd2a8302c5dc))
176
+ * **internal:** fix branch names ([fa3cf2c](https://github.com/anthropics/anthropic-sdk-typescript/commit/fa3cf2c491f0ed274dc7839779f7fd91c15b5dbf))
177
+ * **internal:** update private repo name ([a8ac213](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8ac213b8ce0955bd66f0b2f5bcecc2976867fb2))
178
+
179
+
180
+ ### Documentation
181
+
182
+ * point security reports to Anthropic's HackerOne program ([#16](https://github.com/anthropics/anthropic-sdk-typescript/issues/16)) ([5c7912c](https://github.com/anthropics/anthropic-sdk-typescript/commit/5c7912c36e0210c6cbc773a32a7ba983aaf611df))
183
+
184
+ ## 0.100.1 (2026-05-29)
185
+
186
+ Full Changelog: [sdk-v0.100.0...sdk-v0.100.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.100.0...sdk-v0.100.1)
187
+
188
+ ### Bug Fixes
189
+
190
+ * **streaming:** carry encrypted_content on beta compaction blocks ([#1025](https://github.com/anthropics/anthropic-sdk-typescript/issues/1025)) ([eccddf3](https://github.com/anthropics/anthropic-sdk-typescript/commit/eccddf3ed28645bceed2f3b6eb7826466377f1e8))
191
+
192
+
193
+ ### Chores
194
+
195
+ * **client:** update lockfiles to have proper dependencies on standardwebhooks ([5e9b523](https://github.com/anthropics/anthropic-sdk-typescript/commit/5e9b5237e53aefda65637bd11eb0d07f50bbc952))
196
+
197
+ ## 0.100.0 (2026-05-28)
198
+
199
+ Full Changelog: [sdk-v0.99.0...sdk-v0.100.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.99.0...sdk-v0.100.0)
200
+
201
+ ### Features
202
+
203
+ * **api:** Add support for claude-opus-4-8, mid-conversation system blocks, and usage.output_tokens_details ([bb0bf27](https://github.com/anthropics/anthropic-sdk-typescript/commit/bb0bf278ea0afdf383b6ea711cadf3ab788ea84a))
204
+
205
+
206
+ ### Documentation
207
+
208
+ * replace literal newlines ([66ba142](https://github.com/anthropics/anthropic-sdk-typescript/commit/66ba1421737231e50bcef295b4437ce60cc90be2))
209
+
210
+ ## 0.99.0 (2026-05-27)
211
+
212
+ Full Changelog: [sdk-v0.98.1...sdk-v0.99.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.98.1...sdk-v0.99.0)
213
+
214
+ ### Features
215
+
216
+ * support custom file size caps ([#1029](https://github.com/anthropics/anthropic-sdk-typescript/issues/1029)) ([814cd4c](https://github.com/anthropics/anthropic-sdk-typescript/commit/814cd4c6b5b01e9640d52738d87fa61fc62991e7))
217
+
218
+
219
+ ### Bug Fixes
220
+
221
+ * **streaming:** carry stop_details through message_delta accumulation ([#1027](https://github.com/anthropics/anthropic-sdk-typescript/issues/1027)) ([198bc27](https://github.com/anthropics/anthropic-sdk-typescript/commit/198bc277fdfccabe5e9f8a7723a2aa191b46af33))
222
+
223
+ ## 0.98.1 (2026-05-26)
224
+
225
+ Full Changelog: [sdk-v0.98.0...sdk-v0.98.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.98.0...sdk-v0.98.1)
226
+
227
+ ### Bug Fixes
228
+
229
+ * **client:** preserve directory prefix in skills.versions.create uploads ([#1024](https://github.com/anthropics/anthropic-sdk-typescript/issues/1024)) ([abbcd6a](https://github.com/anthropics/anthropic-sdk-typescript/commit/abbcd6a47d84bc6efcf259f0f803158847f255cf))
230
+
231
+
232
+ ### Chores
233
+
234
+ * **client:** swap to using Trusted Publishing ([821a50e](https://github.com/anthropics/anthropic-sdk-typescript/commit/821a50ef1fd64270e09c026a3235a34c647cdfab))
235
+ * **examples:** rename managed-agents private-sandbox-worker example to self-hosted-sandbox-worker ([#1023](https://github.com/anthropics/anthropic-sdk-typescript/issues/1023)) ([49fe221](https://github.com/anthropics/anthropic-sdk-typescript/commit/49fe221fe444a72715a16e4ea2e318e54ba91d4a))
236
+
237
+ ## 0.98.0 (2026-05-21)
238
+
239
+ Full Changelog: [sdk-v0.97.1...sdk-v0.98.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.97.1...sdk-v0.98.0)
240
+
241
+ ### Features
242
+
243
+ * **api:** Add support for thinking-token-count beta for estimated tokens in thinking block deltas when streaming ([0528d47](https://github.com/anthropics/anthropic-sdk-typescript/commit/0528d47b0a390ee7f88d72f85ffe6079ae1c6c00))
244
+
245
+ ## 0.97.1 (2026-05-19)
246
+
247
+ Full Changelog: [sdk-v0.97.0...sdk-v0.97.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.97.0...sdk-v0.97.1)
248
+
249
+ ### Bug Fixes
250
+
251
+ * **runner:** skip tool calls SessionToolRunner does not own ([9987379](https://github.com/anthropics/anthropic-sdk-typescript/commit/9987379abeaf28b17edb5518ac229d2a6caa4bf6))
252
+
253
+ ## 0.97.0 (2026-05-19)
254
+
255
+ Full Changelog: [sdk-v0.96.0...sdk-v0.97.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.96.0...sdk-v0.97.0)
256
+
257
+ ### Features
258
+
259
+ * **client:** Add support for self-hosted sandboxes in CMA with sandbox helpers ([659a343](https://github.com/anthropics/anthropic-sdk-typescript/commit/659a343c820e316229715466b64e420428ee762b))
260
+
261
+
262
+ ### Bug Fixes
263
+
264
+ * **typescript:** upgrade tsc-multi so that it works with Node 26 ([623f71c](https://github.com/anthropics/anthropic-sdk-typescript/commit/623f71c848ce9b3b88eb08e009b6b3d08a6e5c1c))
265
+
266
+
267
+ ### Chores
268
+
269
+ * **tests:** remove redundant File import ([cf821fc](https://github.com/anthropics/anthropic-sdk-typescript/commit/cf821fcc06f84cb2150cc0ed4ddb862b5d67f633))
270
+
271
+ ## 0.96.0 (2026-05-13)
272
+
273
+ Full Changelog: [sdk-v0.95.2...sdk-v0.96.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.95.2...sdk-v0.96.0)
274
+
275
+ ### Features
276
+
277
+ * **api:** Add BetaManagedAgentsSearchResultBlock types ([08f02f3](https://github.com/anthropics/anthropic-sdk-typescript/commit/08f02f3d0c34a9563b17af40b227acf3b105f8a3))
278
+ * **api:** Add support for cache diagnostics beta ([eafbd6d](https://github.com/anthropics/anthropic-sdk-typescript/commit/eafbd6d78b81253c79cb861de6a9232b18eb60de))
279
+
280
+
281
+ ### Bug Fixes
282
+
283
+ * **zod:** ensure only zod/v4 types are used ([#992](https://github.com/anthropics/anthropic-sdk-typescript/issues/992)) ([9e08bcc](https://github.com/anthropics/anthropic-sdk-typescript/commit/9e08bcc988697c195b31569b7519b7954aea6372))
284
+
285
+
286
+ ### Chores
287
+
288
+ * **api:** spec updates ([27d64ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/27d64ef828dc4ec11d44118a7ed1fcf83d67da0d))
289
+
290
+ ## 0.95.2 (2026-05-11)
291
+
292
+ Full Changelog: [sdk-v0.95.1...sdk-v0.95.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.95.1...sdk-v0.95.2)
293
+
294
+ ## 0.95.1 (2026-05-07)
295
+
296
+ Full Changelog: [sdk-v0.95.0...sdk-v0.95.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.95.0...sdk-v0.95.1)
297
+
298
+ ### Chores
299
+
300
+ * redact api-key headers in debug logs ([fad8fee](https://github.com/anthropics/anthropic-sdk-typescript/commit/fad8feeb51d1b9bafaf85cf8345bb28627728e00))
301
+
302
+ ## 0.95.0 (2026-05-06)
303
+
304
+ Full Changelog: [sdk-v0.94.0...sdk-v0.95.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.94.0...sdk-v0.95.0)
305
+
306
+ ### Features
307
+
308
+ * **api:** add support for Managed Agents multiagents and outcomes, webhooks, vault validation ([e0c0e9b](https://github.com/anthropics/anthropic-sdk-typescript/commit/e0c0e9bef90b1919a5b806eb252e028981841e68))
309
+
310
+
311
+ ### Bug Fixes
312
+
313
+ * **api:** Adjust webhook configuration ([deed3f6](https://github.com/anthropics/anthropic-sdk-typescript/commit/deed3f6290c0728dfc688e19117e1c01efb81a52))
314
+
315
+ ## 0.94.0 (2026-05-05)
316
+
317
+ Full Changelog: [sdk-v0.93.0...sdk-v0.94.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.93.0...sdk-v0.94.0)
318
+
319
+ ### Features
320
+
321
+ * **client:** allow targeting a workspace for OIDC federation token exchange ([bde6620](https://github.com/anthropics/anthropic-sdk-typescript/commit/bde6620d68c2dd9e8e641b4cfed8847486ff046f))
322
+
323
+ ## 0.93.0 (2026-05-04)
324
+
325
+ Full Changelog: [sdk-v0.92.0...sdk-v0.93.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.92.0...sdk-v0.93.0)
326
+
327
+ ### Features
328
+
329
+ * **client:** add Workload Identity Federation, interactive OAuth, and auth profiles ([d5d6abd](https://github.com/anthropics/anthropic-sdk-typescript/commit/d5d6abdb1976db389aca87553ffedab2414e0d77))
330
+
331
+ ## 0.92.0 (2026-04-30)
332
+
333
+ Full Changelog: [sdk-v0.91.1...sdk-v0.92.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.91.1...sdk-v0.92.0)
334
+
335
+ ### Features
336
+
337
+ * **api:** improve Managed Agents APIs ([ca1bf4a](https://github.com/anthropics/anthropic-sdk-typescript/commit/ca1bf4a9b278fddc7f082b1c4f2b3a3e4e20298d))
338
+ * support setting headers via env ([32f67d4](https://github.com/anthropics/anthropic-sdk-typescript/commit/32f67d47952b12bb930c8bbfe87ab2ba2aee1882))
339
+
340
+
341
+ ### Bug Fixes
342
+
343
+ * **bedrock:** throw APIError for error events delivered in chunk frames ([#1021](https://github.com/anthropics/anthropic-sdk-typescript/issues/1021)) ([3ae887b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ae887b89bde1721c75dc9c9812cb9ac191ffc92))
344
+
345
+
346
+ ### Chores
347
+
348
+ * **format:** run eslint and prettier separately ([7ce257c](https://github.com/anthropics/anthropic-sdk-typescript/commit/7ce257c1b1ad9ff4e1cee19e82851bcb65e0e044))
349
+ * **internal:** codegen related update ([f08cc77](https://github.com/anthropics/anthropic-sdk-typescript/commit/f08cc771efd596026f4247ecff418e7ef6a3b38a))
350
+
351
+ ## 0.91.1 (2026-04-24)
352
+
353
+ Full Changelog: [sdk-v0.91.0...sdk-v0.91.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.91.0...sdk-v0.91.1)
354
+
355
+ ### Bug Fixes
356
+
357
+ * **memory:** use restrictive file mode for memory files ([#901](https://github.com/anthropics/anthropic-sdk-typescript/issues/901)) ([6db3b7e](https://github.com/anthropics/anthropic-sdk-typescript/commit/6db3b7e2218430971cbc137081b5a55ad593fca8))
358
+
359
+
360
+ ### Chores
361
+
362
+ * **formatter:** run prettier and eslint separately ([974d22f](https://github.com/anthropics/anthropic-sdk-typescript/commit/974d22fcf607b942bff3376c699bc3f6cb3b3ae5))
363
+
364
+ ## 0.91.0 (2026-04-23)
365
+
366
+ Full Changelog: [sdk-v0.90.0...sdk-v0.91.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.90.0...sdk-v0.91.0)
367
+
368
+ ### Features
369
+
370
+ * **api:** CMA Memory public beta ([ddf732f](https://github.com/anthropics/anthropic-sdk-typescript/commit/ddf732f5f35c123f963fa270669e35707a2e3f7f))
371
+ * **bedrock:** use auth header for mantle client ([#866](https://github.com/anthropics/anthropic-sdk-typescript/issues/866)) ([aec801a](https://github.com/anthropics/anthropic-sdk-typescript/commit/aec801afc7d37d9e8ca1471748ca599b442cbce4))
372
+
373
+
374
+ ### Bug Fixes
375
+
376
+ * **api:** fix errors in api spec ([ae10768](https://github.com/anthropics/anthropic-sdk-typescript/commit/ae1076848587c6f994b45e3030269a635d38bc0b))
377
+ * **api:** restore missing features ([1a5b47b](https://github.com/anthropics/anthropic-sdk-typescript/commit/1a5b47b6895ee2c47af8adea1f403b76dd3ca62f))
378
+
379
+
380
+ ### Chores
381
+
382
+ * **internal:** more robust bootstrap script ([7716e19](https://github.com/anthropics/anthropic-sdk-typescript/commit/7716e19f7fceeb63bb20b9e4df904a021ae705dc))
383
+ * **tests:** bump steady to v0.22.1 ([219a971](https://github.com/anthropics/anthropic-sdk-typescript/commit/219a9717439a458189ac83633b2d5cd9f1ad7d25))
384
+
385
+ ## 0.90.0 (2026-04-16)
386
+
387
+ Full Changelog: [sdk-v0.89.0...sdk-v0.90.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.89.0...sdk-v0.90.0)
388
+
389
+ ### Features
390
+
391
+ * **api:** add claude-opus-4-7, token budgets and user_profiles ([b26134b](https://github.com/anthropics/anthropic-sdk-typescript/commit/b26134bb17508494b5588dab770d93bf16cbdeb1))
392
+
393
+
394
+ ### Chores
395
+
396
+ * actually delete release-doctor.yml ([0fe984d](https://github.com/anthropics/anthropic-sdk-typescript/commit/0fe984d1f66e9dbf88cadbe010e00f02316396b1))
397
+ * **ci:** remove release-doctor workflow ([08e58bd](https://github.com/anthropics/anthropic-sdk-typescript/commit/08e58bd0bbb04d47116e731b475d684fc1f98906))
398
+
399
+ ## 0.89.0 (2026-04-14)
400
+
401
+ Full Changelog: [sdk-v0.88.0...sdk-v0.89.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.88.0...sdk-v0.89.0)
402
+
403
+ ### Features
404
+
405
+ * **api:** manual updates ([57c2a11](https://github.com/anthropics/anthropic-sdk-typescript/commit/57c2a11c61ef9dfdad49a3ab91c4c567d13d1f73))
406
+ * **api:** mark Sonnet and Opus 4 as deprecated ([eff41b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/eff41b717f16435167e53c5227774ef5bf079523))
407
+
408
+
409
+ ### Bug Fixes
410
+
411
+ * **streaming:** add missing events ([4c52919](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c52919187d17c15d53b08d818d7dd9a5728267e))
412
+
413
+ ## 0.88.0 (2026-04-10)
414
+
415
+ Full Changelog: [sdk-v0.87.0...sdk-v0.88.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.87.0...sdk-v0.88.0)
416
+
417
+ ### Features
418
+
419
+ * vertex eu region ([#882](https://github.com/anthropics/anthropic-sdk-typescript/issues/882)) ([1933857](https://github.com/anthropics/anthropic-sdk-typescript/commit/193385760676b1c941a1f500aa91d0f7a3204b40))
420
+
421
+
422
+ ### Documentation
423
+
424
+ * improve examples ([de4f483](https://github.com/anthropics/anthropic-sdk-typescript/commit/de4f483c1eb4f758116887da5d19305eccb6f8f4))
425
+ * update examples ([454e1c5](https://github.com/anthropics/anthropic-sdk-typescript/commit/454e1c594cfd420eb11e891baefbf6a6530d7131))
426
+
427
+ ## 0.87.0 (2026-04-09)
428
+
429
+ Full Changelog: [sdk-v0.86.1...sdk-v0.87.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.86.1...sdk-v0.87.0)
430
+
431
+ ### Features
432
+
433
+ * **api:** Add beta advisor tool ([1e99a8d](https://github.com/anthropics/anthropic-sdk-typescript/commit/1e99a8db387b8dbc2ce5cd43e3c4e4ca440aa01b))
434
+
435
+ ## 0.86.1 (2026-04-08)
436
+
437
+ Full Changelog: [sdk-v0.86.0...sdk-v0.86.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.86.0...sdk-v0.86.1)
438
+
439
+ ### Chores
440
+
441
+ * update @anthropic-ai/sdk dependency version ([#870](https://github.com/anthropics/anthropic-sdk-typescript/issues/870)) ([036342b](https://github.com/anthropics/anthropic-sdk-typescript/commit/036342bdbf9867e223465510d4a39146f1b721dd))
442
+
443
+ ## 0.86.0 (2026-04-08)
444
+
445
+ Full Changelog: [sdk-v0.85.0...sdk-v0.86.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.85.0...sdk-v0.86.0)
446
+
447
+ ### Features
448
+
449
+ * **api:** add support for Claude Managed Agents ([2ef732a](https://github.com/anthropics/anthropic-sdk-typescript/commit/2ef732a1df5cfb4bf65f274e3662c5fb8fe78af4))
450
+
451
+
452
+ ### Chores
453
+
454
+ * **internal:** codegen related update ([d644830](https://github.com/anthropics/anthropic-sdk-typescript/commit/d644830d59179881abe4ba2a2d56d17aa784a8c3))
455
+
456
+ ## 0.85.0 (2026-04-07)
457
+
458
+ Full Changelog: [sdk-v0.84.0...sdk-v0.85.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.84.0...sdk-v0.85.0)
459
+
460
+ ### Features
461
+
462
+ * **client:** Create Bedrock Mantle client ([#810](https://github.com/anthropics/anthropic-sdk-typescript/issues/810)) ([2f1f4a1](https://github.com/anthropics/anthropic-sdk-typescript/commit/2f1f4a1f565a6c12afc1dd7fd98d2adf735dd68b))
463
+
464
+ ## 0.84.0 (2026-04-07)
465
+
466
+ Full Changelog: [sdk-v0.83.0...sdk-v0.84.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.83.0...sdk-v0.84.0)
467
+
468
+ ### Features
469
+
470
+ * **api:** Add support for claude-mythos-preview ([d4057b0](https://github.com/anthropics/anthropic-sdk-typescript/commit/d4057b0a9559d9a620e6a398a4199f5a416bc7a6))
471
+ * **tools:** add AbortSignal support for tool runner ([#848](https://github.com/anthropics/anthropic-sdk-typescript/issues/848)) ([972d591](https://github.com/anthropics/anthropic-sdk-typescript/commit/972d5918a4d24b15686c8c407860cbfed4215ffa))
472
+
473
+ ## 0.83.0 (2026-04-03)
474
+
475
+ Full Changelog: [sdk-v0.82.0...sdk-v0.83.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.82.0...sdk-v0.83.0)
476
+
477
+ ### Features
478
+
479
+ * **vertex:** add support for US multi-region endpoint ([5e5aea7](https://github.com/anthropics/anthropic-sdk-typescript/commit/5e5aea72e8af1d0cd0af7770f7c98a716fa24629))
480
+ * **vertex:** add support for US multi-region endpoint ([0de0e98](https://github.com/anthropics/anthropic-sdk-typescript/commit/0de0e98aace311d7f6b5617b597d73324de73e2f))
481
+
482
+
483
+ ### Bug Fixes
484
+
485
+ * **client:** dont upload aws artifact ([#844](https://github.com/anthropics/anthropic-sdk-typescript/issues/844)) ([d1a31fc](https://github.com/anthropics/anthropic-sdk-typescript/commit/d1a31fcd591d61d3bd2a4cb1b0b5cfcf2f66f5fe))
486
+
487
+
488
+ ### Chores
489
+
490
+ * **client:** deprecate client-side compaction helpers ([1926e87](https://github.com/anthropics/anthropic-sdk-typescript/commit/1926e870393b653ac87c4fb9e521a8a44786ab49))
491
+ * **client:** internal updates ([3d64763](https://github.com/anthropics/anthropic-sdk-typescript/commit/3d6476315480508cff8462a5b4523944579dbd32))
492
+
493
+ ## 0.82.0 (2026-04-01)
494
+
495
+ Full Changelog: [sdk-v0.81.0...sdk-v0.82.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.81.0...sdk-v0.82.0)
496
+
497
+ ### Features
498
+
499
+ * **api:** add structured stop_details to message responses ([031328a](https://github.com/anthropics/anthropic-sdk-typescript/commit/031328a1b43ec72fb4bb5a77c79ee6c275694a20))
500
+ * prepare aws package ([#782](https://github.com/anthropics/anthropic-sdk-typescript/issues/782)) ([f351d4d](https://github.com/anthropics/anthropic-sdk-typescript/commit/f351d4dfeb57b48bcb126686dc608493813262da))
501
+ * support API keys in Bedrock SDK ([#824](https://github.com/anthropics/anthropic-sdk-typescript/issues/824)) ([be6c608](https://github.com/anthropics/anthropic-sdk-typescript/commit/be6c608bf0de9ceb2c09974b28f7f80db96ed42e))
502
+
503
+
504
+ ### Chores
505
+
506
+ * **tests:** bump steady to v0.20.2 ([6cf12cc](https://github.com/anthropics/anthropic-sdk-typescript/commit/6cf12cc819733e241b3a1effaff3fcbc96e94476))
507
+
508
+ ## 0.81.0 (2026-03-31)
509
+
510
+ Full Changelog: [sdk-v0.80.0...sdk-v0.81.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.80.0...sdk-v0.81.0)
511
+
512
+ ### Features
513
+
514
+ * add .type field to APIError for error kind identification ([#790](https://github.com/anthropics/anthropic-sdk-typescript/issues/790)) ([4bf637d](https://github.com/anthropics/anthropic-sdk-typescript/commit/4bf637d962c2203ca7977d4e5447e2b083e29188))
515
+
516
+
517
+ ### Bug Fixes
518
+
519
+ * **memory:** append path separator in validatePath prefix check ([0ac69b3](https://github.com/anthropics/anthropic-sdk-typescript/commit/0ac69b3438ee9c96b21a7d3c39c07b7cdb6995d9))
520
+
521
+
522
+ ### Chores
523
+
524
+ * **ci:** run builds on CI even if only spec metadata changed ([70b657a](https://github.com/anthropics/anthropic-sdk-typescript/commit/70b657aac1be76e941885dfe9d683c45a57ad005))
525
+ * **ci:** skip lint on metadata-only changes ([69bdc94](https://github.com/anthropics/anthropic-sdk-typescript/commit/69bdc94a16e5402b8fd19d54a1f4695cba834dbb))
526
+ * **internal:** codegen related update ([7ff7390](https://github.com/anthropics/anthropic-sdk-typescript/commit/7ff7390029867195adf78e6dbfaa43d8bb0a9720))
527
+ * **internal:** update gitignore ([46d6667](https://github.com/anthropics/anthropic-sdk-typescript/commit/46d66675d59da125c0a00cc8feb6a13bc6105637))
528
+ * **internal:** update multipart form array serialization ([d55b07d](https://github.com/anthropics/anthropic-sdk-typescript/commit/d55b07d4f791763738fd54a032cd421b6d16d151))
529
+ * **tests:** bump steady to v0.19.4 ([4957a5e](https://github.com/anthropics/anthropic-sdk-typescript/commit/4957a5e65bdc77528f81c123ec2865784c064055))
530
+ * **tests:** bump steady to v0.19.5 ([c511ae0](https://github.com/anthropics/anthropic-sdk-typescript/commit/c511ae042129805400c5286a02d3c45f49e51ca6))
531
+ * **tests:** bump steady to v0.19.6 ([6d2b4b9](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d2b4b910a687c2cf73bb51450ce24c704fdc384))
532
+ * **tests:** bump steady to v0.19.7 ([d6cff9d](https://github.com/anthropics/anthropic-sdk-typescript/commit/d6cff9d2c8688fb95dc6af0f89ae33480f9758e0))
533
+ * **tests:** bump steady to v0.20.1 ([284561f](https://github.com/anthropics/anthropic-sdk-typescript/commit/284561fe36b244f5b6ab624ec2608c07f71f476e))
534
+
535
+ ## 0.80.0 (2026-03-18)
536
+
537
+ Full Changelog: [sdk-v0.79.0...sdk-v0.80.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.79.0...sdk-v0.80.0)
538
+
539
+ ### Features
540
+
541
+ * **api:** manual updates ([dd12f1a](https://github.com/anthropics/anthropic-sdk-typescript/commit/dd12f1a29c4a8f4554caa8c7023bddadfb69e9b0))
542
+ * **api:** manual updates ([9c0a077](https://github.com/anthropics/anthropic-sdk-typescript/commit/9c0a0778d73ffe2f84cf4a3d593f8f645d776b02))
543
+
544
+
545
+ ### Chores
546
+
547
+ * **internal:** tweak CI branches ([4a5819e](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a5819e9e820a926add4df134a6a4d6d0e65c196))
548
+
549
+ ## 0.79.0 (2026-03-16)
550
+
551
+ Full Changelog: [sdk-v0.78.0...sdk-v0.79.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.78.0...sdk-v0.79.0)
552
+
553
+ ### Features
554
+
555
+ * add support for filesystem memory tools ([#599](https://github.com/anthropics/anthropic-sdk-typescript/issues/599)) ([1064199](https://github.com/anthropics/anthropic-sdk-typescript/commit/106419918ec0098cd74df5541dd7fd9134268f6e))
556
+ * **api:** chore(config): clean up model enum list ([#31](https://github.com/anthropics/anthropic-sdk-typescript/issues/31)) ([07727a6](https://github.com/anthropics/anthropic-sdk-typescript/commit/07727a63c4d3685a20de3067a563396b2d2adbb2))
557
+ * **api:** GA thinking-display-setting ([4dc8df4](https://github.com/anthropics/anthropic-sdk-typescript/commit/4dc8df4b7d098b7e748ca952ac18e5e22264a4c8))
558
+ * **tests:** update mock server ([e5c3be9](https://github.com/anthropics/anthropic-sdk-typescript/commit/e5c3be981177874b4f9ab5d1a56e4c8cfb7a6744))
559
+
560
+
561
+ ### Bug Fixes
562
+
563
+ * **docs/contributing:** correct pnpm link command ([16bf66c](https://github.com/anthropics/anthropic-sdk-typescript/commit/16bf66c4ab9334f2f817f29e8834ff82f1689e9e))
564
+ * **internal:** skip tests that depend on mock server ([07417e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/07417e521b35b01670cb0334aa3f23e77ba38cbc))
565
+ * **zod:** use v4 import path for Zod ^3.25 compatibility ([#925](https://github.com/anthropics/anthropic-sdk-typescript/issues/925)) ([c6c0ac8](https://github.com/anthropics/anthropic-sdk-typescript/commit/c6c0ac8a3091ad83890fb6813e4a0ee2a6e45bba))
566
+
567
+
568
+ ### Chores
569
+
570
+ * **client:** remove unused import ([3827ab5](https://github.com/anthropics/anthropic-sdk-typescript/commit/3827ab5d56d37b659cfa7b25f16a42f41ad99b29))
571
+ * **internal:** codegen related update ([2c1fc10](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c1fc106f8c83a13bda1a7f755e53120b3c3919d))
572
+ * **internal:** improve import alias names ([5b9615b](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b9615b51007cc0bb9cea9de9dc5f2acc9fa77e8))
573
+ * **internal:** move stringifyQuery implementation to internal function ([16239f3](https://github.com/anthropics/anthropic-sdk-typescript/commit/16239f3bd4efddaf01a35a182014131e983ee738))
574
+ * **internal:** update dependencies to address dependabot vulnerabilities ([6fdea5e](https://github.com/anthropics/anthropic-sdk-typescript/commit/6fdea5ebdf767da93bff7e55a7035772610ba287))
575
+ * **mcp-server:** improve instructions ([66e5363](https://github.com/anthropics/anthropic-sdk-typescript/commit/66e5363c114c2c5950a4a1674c1264c30619bc43))
576
+ * remove accidentally committed file ([#929](https://github.com/anthropics/anthropic-sdk-typescript/issues/929)) ([0989113](https://github.com/anthropics/anthropic-sdk-typescript/commit/0989113a5a34fbf85a2a0f87b5ab78ea7d297fd4))
577
+ * **tests:** unskip tests that are now supported in steady ([616a98a](https://github.com/anthropics/anthropic-sdk-typescript/commit/616a98a2363b3c77ebd4bc54eaae1b9003d323f9))
578
+
579
+
580
+ ### Documentation
581
+
582
+ * streamline and standardize docs ([#687](https://github.com/anthropics/anthropic-sdk-typescript/issues/687)) ([dbdc5d3](https://github.com/anthropics/anthropic-sdk-typescript/commit/dbdc5d3c8246732c9b477a1503618243e13e9bd6))
583
+
584
+ ## 0.78.0 (2026-02-19)
585
+
586
+ Full Changelog: [sdk-v0.77.0...sdk-v0.78.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.77.0...sdk-v0.78.0)
587
+
588
+ ### Features
589
+
590
+ * **api:** Add top-level cache control (automatic caching) ([1e2f83d](https://github.com/anthropics/anthropic-sdk-typescript/commit/1e2f83d0bb2c3e98302d1b17fcb4888b17889f6d))
591
+
592
+
593
+ ### Bug Fixes
594
+
595
+ * **bedrock:** eliminate race condition in AWS credential resolution ([#901](https://github.com/anthropics/anthropic-sdk-typescript/issues/901)) ([e5a101d](https://github.com/anthropics/anthropic-sdk-typescript/commit/e5a101d060cdce65872ec787e792c94799dcc295))
596
+ * **client:** format batches test file ([821e9bf](https://github.com/anthropics/anthropic-sdk-typescript/commit/821e9bf13db32c8b632352292948f64a057a9d55))
597
+ * **tests:** fix issue in batches test ([5f4ccf8](https://github.com/anthropics/anthropic-sdk-typescript/commit/5f4ccf8779e69226a5c9307e3422f6779e8fda6b))
598
+
599
+
600
+ ### Chores
601
+
602
+ * update mock server docs ([25d337f](https://github.com/anthropics/anthropic-sdk-typescript/commit/25d337f484b9236b03e26e1f4c67b1a2d96c6c23))
603
+
604
+ ## 0.77.0 (2026-02-18)
605
+
606
+ Full Changelog: [sdk-v0.76.0...sdk-v0.77.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.76.0...sdk-v0.77.0)
607
+
608
+ ### Features
609
+
610
+ * **api:** fix shared UserLocation and error code types ([c84038f](https://github.com/anthropics/anthropic-sdk-typescript/commit/c84038f4eddafc2c5415ab4eaef40326b7af376c))
611
+
612
+
613
+ ### Bug Fixes
614
+
615
+ * add backward-compat namespace re-exports for UserLocation ([#706](https://github.com/anthropics/anthropic-sdk-typescript/issues/706)) ([b88834f](https://github.com/anthropics/anthropic-sdk-typescript/commit/b88834fc82bb9d1ae0cf16bd264d5ef4d1edbcff))
616
+
617
+ ## 0.76.0 (2026-02-18)
618
+
619
+ Full Changelog: [sdk-v0.75.0...sdk-v0.76.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.75.0...sdk-v0.76.0)
620
+
621
+ ### Features
622
+
623
+ * **api:** manual updates ([25fe41c](https://github.com/anthropics/anthropic-sdk-typescript/commit/25fe41cdf61a1d8c0a5700955bf3c00f28900339))
624
+
625
+ ## 0.75.0 (2026-02-17)
626
+
627
+ Full Changelog: [sdk-v0.74.0...sdk-v0.75.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.74.0...sdk-v0.75.0)
628
+
629
+ ### Features
630
+
631
+ * **api:** Releasing claude-sonnet-4-6 ([d75e1c0](https://github.com/anthropics/anthropic-sdk-typescript/commit/d75e1c07bf8c1082610c6493eaa2864a9c042ae8))
632
+
633
+
634
+ ### Bug Fixes
635
+
636
+ * **api:** fix spec errors ([aa99e46](https://github.com/anthropics/anthropic-sdk-typescript/commit/aa99e46bbb1d7d8bbc79a1fd974091bc87d75688))
637
+ * **tests:** fix erroneous speed tests ([#699](https://github.com/anthropics/anthropic-sdk-typescript/issues/699)) ([fcac1ca](https://github.com/anthropics/anthropic-sdk-typescript/commit/fcac1ca6d25051073e4e13470730fbb1872926e7))
638
+
639
+
640
+ ### Chores
641
+
642
+ * **internal/client:** fix form-urlencoded requests ([cba82b4](https://github.com/anthropics/anthropic-sdk-typescript/commit/cba82b422f5f6d64d127b367ec247bb4953f75ef))
643
+ * **internal:** avoid type checking errors with ts-reset ([c723296](https://github.com/anthropics/anthropic-sdk-typescript/commit/c723296478726adece8fbc72d2b0bf434e83eee8))
644
+ * **readme:** change badge color to blue ([3f7e788](https://github.com/anthropics/anthropic-sdk-typescript/commit/3f7e7881ce851049fb1aa208d52eaa3796b6b6e1))
645
+
646
+ ## 0.74.0 (2026-02-07)
647
+
648
+ Full Changelog: [sdk-v0.73.0...sdk-v0.74.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.73.0...sdk-v0.74.0)
649
+
650
+ ### Features
651
+
652
+ * **api:** enabling fast-mode in claude-opus-4-6 ([e337981](https://github.com/anthropics/anthropic-sdk-typescript/commit/e337981a7b7dad1dc3d836b1dcfbc7c61e5e13eb))
653
+
654
+ ## 0.73.0 (2026-02-05)
655
+
656
+ Full Changelog: [sdk-v0.72.1...sdk-v0.73.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.72.1...sdk-v0.73.0)
657
+
658
+ ### Features
659
+
660
+ * **api:** Release Claude Opus 4.6, adaptive thinking, and other features ([f741f92](https://github.com/anthropics/anthropic-sdk-typescript/commit/f741f921d10e020d3c67c7a3f8442f0c4adf229d))
661
+
662
+
663
+ ### Bug Fixes
664
+
665
+ * **client:** avoid memory leak in abort signal listener ([#895](https://github.com/anthropics/anthropic-sdk-typescript/issues/895)) ([3bdd153](https://github.com/anthropics/anthropic-sdk-typescript/commit/3bdd153c43280adf233a2d7d7d9bb55cd5ad4c26))
666
+ * **client:** avoid memory leak with abort signals ([53e47df](https://github.com/anthropics/anthropic-sdk-typescript/commit/53e47dfa6985e6a206c475b8c920b8a97c27e17e))
667
+ * **client:** avoid removing abort listener too early ([cd6e832](https://github.com/anthropics/anthropic-sdk-typescript/commit/cd6e83255a2e5644872902ee878c9aba881976cb))
668
+
669
+
670
+ ### Chores
671
+
672
+ * **client:** do not parse responses with empty content-length ([2be2df9](https://github.com/anthropics/anthropic-sdk-typescript/commit/2be2df928d1564286cddc9765fd9959f9649d314))
673
+ * **client:** restructure abort controller binding ([0eeacb6](https://github.com/anthropics/anthropic-sdk-typescript/commit/0eeacb6c310d961e09ac3d00b4b2e50957b31e2f))
674
+ * **internal:** fix pagination internals not accepting option promises ([7c23a3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c23a3f93d039116845b045ede8863ffbafbad85))
675
+ * remove claude-code-review workflow ([#644](https://github.com/anthropics/anthropic-sdk-typescript/issues/644)) ([ad09c76](https://github.com/anthropics/anthropic-sdk-typescript/commit/ad09c76b0d323c0a867d23f765f20909cddbd885))
676
+
677
+ ## 0.72.1 (2026-01-30)
678
+
679
+ Full Changelog: [sdk-v0.72.0...sdk-v0.72.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.72.0...sdk-v0.72.1)
680
+
681
+ ### Bug Fixes
682
+
683
+ * **client:** remove OutputFormat exports from index.ts ([bf2cf08](https://github.com/anthropics/anthropic-sdk-typescript/commit/bf2cf081eedb1fef7270c042ba24dfc9f474cab0))
684
+
685
+ ## 0.72.0 (2026-01-29)
686
+
687
+ Full Changelog: [sdk-v0.71.2...sdk-v0.72.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.71.2...sdk-v0.72.0)
688
+
689
+ ### Features
690
+
691
+ * **api:** add support for Structured Outputs in the Messages API ([eeb7fab](https://github.com/anthropics/anthropic-sdk-typescript/commit/eeb7fabbedb4cd381addb49e02e77574324af43a))
692
+ * **api:** migrate sending message format in output_config rather than output_format ([99f4066](https://github.com/anthropics/anthropic-sdk-typescript/commit/99f40668ee2c1b25f527eb34f41eadf79550a73f))
693
+ * **ci:** add breaking change detection workflow ([b181568](https://github.com/anthropics/anthropic-sdk-typescript/commit/b181568601537957f91f7123420d8d0f4625c2b7))
694
+ * **client:** migrate structured output format ([#625](https://github.com/anthropics/anthropic-sdk-typescript/issues/625)) ([abcdddc](https://github.com/anthropics/anthropic-sdk-typescript/commit/abcdddcec1c06126405115b2cd63ecde9ec2441b))
695
+ * **helpers:** add MCP SDK helper functions ([#610](https://github.com/anthropics/anthropic-sdk-typescript/issues/610)) ([b6c3963](https://github.com/anthropics/anthropic-sdk-typescript/commit/b6c396320323e93c31d23fcfa779765c23337c8a))
696
+
697
+
698
+ ### Bug Fixes
699
+
700
+ * **mcp:** correct code tool API endpoint ([4bd6ad6](https://github.com/anthropics/anthropic-sdk-typescript/commit/4bd6ad6a15ad5c11abb4ba2f9ac8c5d9aa756fec))
701
+ * **mcp:** return correct lines on typescript errors ([c425959](https://github.com/anthropics/anthropic-sdk-typescript/commit/c425959190cf04b4b14dfd83334ce2b854badbd1))
702
+
703
+
704
+ ### Chores
705
+
706
+ * break long lines in snippets into multiline ([2c44e2d](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c44e2d92b37769eba9dad65a89315cd5a772e99))
707
+ * **ci:** Add Claude Code GitHub Workflow ([#612](https://github.com/anthropics/anthropic-sdk-typescript/issues/612)) ([28a9a00](https://github.com/anthropics/anthropic-sdk-typescript/commit/28a9a00d902ae87b9dcd9942a3571dc09976eb5b))
708
+ * **ci:** fix multi package publishing ([b9e3ab9](https://github.com/anthropics/anthropic-sdk-typescript/commit/b9e3ab9b74ba29c2675d08546dd417fbd62456a6))
709
+ * **ci:** upgrade `actions/github-script` ([ff9dd44](https://github.com/anthropics/anthropic-sdk-typescript/commit/ff9dd44c3435bdda56db6fbad09e25c714401a44))
710
+ * **internal:** codegen related update ([754de58](https://github.com/anthropics/anthropic-sdk-typescript/commit/754de5895cdbf54c82bda835aa5e6cf717c9982f))
711
+ * **internal:** codegen related update ([cb411e4](https://github.com/anthropics/anthropic-sdk-typescript/commit/cb411e4a1638e15570eb774500c1a022d4be41ae))
712
+ * **internal:** update `actions/checkout` version ([c0057be](https://github.com/anthropics/anthropic-sdk-typescript/commit/c0057be99f9b3e01960640cc57befa832954df47))
713
+ * **internal:** upgrade babel, qs, js-yaml ([494d9ed](https://github.com/anthropics/anthropic-sdk-typescript/commit/494d9ed99f89e790d612245859a2dc57ec447598))
714
+ * **internal:** version bump ([24ecc83](https://github.com/anthropics/anthropic-sdk-typescript/commit/24ecc838b0adbb837b14fe24fac0895d81ea8891))
715
+ * **tests:** remove extraneous header test ([076a87c](https://github.com/anthropics/anthropic-sdk-typescript/commit/076a87cd41bad9e8bd5bb07fa1af0434321ce60b))
716
+
717
+
718
+ ### Documentation
719
+
720
+ * tool use documentation link ([#873](https://github.com/anthropics/anthropic-sdk-typescript/issues/873)) ([664cdd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/664cdd6bc91641bf610155d470a14c67a177a08d))
721
+ * update import paths for beta helpers ([#834](https://github.com/anthropics/anthropic-sdk-typescript/issues/834)) ([d08fd40](https://github.com/anthropics/anthropic-sdk-typescript/commit/d08fd40c7c8b3637963a7a042ce82624963597f6))
722
+ * update README with Claude branding ([#611](https://github.com/anthropics/anthropic-sdk-typescript/issues/611)) ([2a9a5f7](https://github.com/anthropics/anthropic-sdk-typescript/commit/2a9a5f7f94d2fe807bcc73aa6a3a92f8e50db763))
723
+
724
+ ## 0.71.2 (2025-12-05)
725
+
726
+ Full Changelog: [sdk-v0.71.1...sdk-v0.71.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.71.1...sdk-v0.71.2)
727
+
728
+ ### Bug Fixes
729
+
730
+ * **streams:** ensure errors are catchable ([#856](https://github.com/anthropics/anthropic-sdk-typescript/issues/856)) ([a480eaf](https://github.com/anthropics/anthropic-sdk-typescript/commit/a480eafbcbebc83510446b6280f91f969de531f9))
731
+
732
+ ## 0.71.1 (2025-12-04)
733
+
734
+ Full Changelog: [sdk-v0.71.0...sdk-v0.71.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.71.0...sdk-v0.71.1)
735
+
736
+ ### Bug Fixes
737
+
738
+ * **parser:** use correct naming for parsed text blocks ([6472bcd](https://github.com/anthropics/anthropic-sdk-typescript/commit/6472bcd222f826a131d1abf20301a57749993d2f))
739
+ * **structured outputs:** ensure parsed is not enumerable ([860175f](https://github.com/anthropics/anthropic-sdk-typescript/commit/860175ff77caf258a0ed3a0177f53f3a4a771064)), closes [#857](https://github.com/anthropics/anthropic-sdk-typescript/issues/857)
740
+
741
+
742
+ ### Chores
743
+
744
+ * add deprecation warnings for accessing .parsed ([ae7a637](https://github.com/anthropics/anthropic-sdk-typescript/commit/ae7a637b86f8fa318df2257564c0a71ae37c0381))
745
+ * **client:** fix logger property type ([e3e4d7c](https://github.com/anthropics/anthropic-sdk-typescript/commit/e3e4d7c40c986668ed46a3f4040d60bfd2c7e76b))
746
+ * **internal:** upgrade eslint ([5fbe661](https://github.com/anthropics/anthropic-sdk-typescript/commit/5fbe661d009446ab98c7b7488a8955238276b55e))
747
+
748
+ ## 0.71.0 (2025-11-24)
749
+
750
+ Full Changelog: [sdk-v0.70.1...sdk-v0.71.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.70.1...sdk-v0.71.0)
751
+
752
+ ### Features
753
+
754
+ * **api:** adds support for Claude Opus 4.5, Effort, Advance Tool Use Features, Autocompaction, and Computer Use v5 ([f3a0dac](https://github.com/anthropics/anthropic-sdk-typescript/commit/f3a0dac4c6248f4e06231868fd64eec8034a68ba))
755
+
756
+
757
+ ### Chores
758
+
759
+ * fix ci errors ([8d96290](https://github.com/anthropics/anthropic-sdk-typescript/commit/8d9629004e35a77413a839c14874e323ced34f95))
760
+ * include publishConfig in all package.json files ([4c72960](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c72960c5f494317d3f88816b941ffa103bf24d5))
761
+ * **readme:** fix example import ([4e8983a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4e8983add6a035ea0a1dad2f84e68ead5cc9f29b))
762
+
763
+ ## 0.70.1 (2025-11-20)
764
+
765
+ Full Changelog: [sdk-v0.70.0...sdk-v0.70.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.70.0...sdk-v0.70.1)
766
+
767
+ ### Bug Fixes
768
+
769
+ * **structured outputs:** use correct beta header ([626662c](https://github.com/anthropics/anthropic-sdk-typescript/commit/626662cff81896fbbb691e0ed353eede4c463421))
770
+
771
+ ## 0.70.0 (2025-11-18)
772
+
773
+ Full Changelog: [sdk-v0.69.0...sdk-v0.70.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.69.0...sdk-v0.70.0)
774
+
775
+ ### Features
776
+
777
+ * add Foundry SDK ([40b0e87](https://github.com/anthropics/anthropic-sdk-typescript/commit/40b0e87047887dee3f9fab6e02fa65a1d728cf1e))
778
+
779
+ ## 0.69.0 (2025-11-14)
780
+
781
+ Full Changelog: [sdk-v0.68.0...sdk-v0.69.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.68.0...sdk-v0.69.0)
782
+
783
+ ### Features
784
+
785
+ * **api:** add support for structured outputs beta ([e6562d7](https://github.com/anthropics/anthropic-sdk-typescript/commit/e6562d72502030e6cf90a31192b21b23c0b03422))
786
+
787
+ ## 0.68.0 (2025-10-28)
788
+
789
+ Full Changelog: [sdk-v0.67.1...sdk-v0.68.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.67.1...sdk-v0.68.0)
790
+
791
+ ### Features
792
+
793
+ * **api:** add ability to clear thinking in context management ([d8707d3](https://github.com/anthropics/anthropic-sdk-typescript/commit/d8707d3cc9f7f2fe59c0b4d4c84c184dd47f8689))
794
+
795
+ ## 0.67.1 (2025-10-28)
796
+
797
+ Full Changelog: [sdk-v0.67.0...sdk-v0.67.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.67.0...sdk-v0.67.1)
798
+
799
+ ### Chores
800
+
801
+ * **api:** mark older sonnet models as deprecated ([64ad72d](https://github.com/anthropics/anthropic-sdk-typescript/commit/64ad72d04dcd1e229cf1ea1bdde35494822ee916))
802
+
803
+ ## 0.67.0 (2025-10-16)
804
+
805
+ Full Changelog: [sdk-v0.66.0...sdk-v0.67.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.66.0...sdk-v0.67.0)
806
+
807
+ ### Features
808
+
809
+ * **api:** adding support for agent skills ([0b7d97f](https://github.com/anthropics/anthropic-sdk-typescript/commit/0b7d97ff19d6e262eb484652e5ba344acbb2f1f0))
810
+
811
+ ## 0.66.0 (2025-10-15)
812
+
813
+ Full Changelog: [sdk-v0.65.0...sdk-v0.66.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.65.0...sdk-v0.66.0)
814
+
815
+ ### Features
816
+
817
+ * **api:** manual updates ([7605d04](https://github.com/anthropics/anthropic-sdk-typescript/commit/7605d046c41e5e9e8a5e2e28b9e6b3f996766dea))
818
+
819
+
820
+ ### Bug Fixes
821
+
822
+ * **tool-runner:** fix unhandled promise error for streams ([4f6bc94](https://github.com/anthropics/anthropic-sdk-typescript/commit/4f6bc9476b3914c742dd5ef2302ca367c6a1169b))
823
+
824
+
825
+ ### Chores
826
+
827
+ * **client:** add context-management-2025-06-27 beta header ([c6efc98](https://github.com/anthropics/anthropic-sdk-typescript/commit/c6efc98e9507ba41b9336687e78f9362345036f9))
828
+ * **client:** add model-context-window-exceeded-2025-08-26 beta header ([06d2513](https://github.com/anthropics/anthropic-sdk-typescript/commit/06d25137453f44717c0ed6abffd12669fab5e29f))
829
+ * **internal:** use npm pack for build uploads ([55c0ad7](https://github.com/anthropics/anthropic-sdk-typescript/commit/55c0ad7609d11e93a0cd048651dc6331b36581d9))
830
+ * **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the package‘s public interface ([62c1b5e](https://github.com/anthropics/anthropic-sdk-typescript/commit/62c1b5ee6d2580eb9baa8ede08b24247d4457218))
831
+
832
+ ## 0.65.0 (2025-09-29)
833
+
834
+ Full Changelog: [sdk-v0.64.0...sdk-v0.65.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.64.0...sdk-v0.65.0)
835
+
836
+ ### Features
837
+
838
+ * **api:** adds support for Claude Sonnet 4.5 and context management features ([3f0b0fb](https://github.com/anthropics/anthropic-sdk-typescript/commit/3f0b0fb25317ebc60f970eddfee0e4a7cf6f6fb8))
839
+
840
+
841
+ ### Chores
842
+
843
+ * **internal:** codegen related update ([724a2b1](https://github.com/anthropics/anthropic-sdk-typescript/commit/724a2b1a0cea4631ccdbef5a1b7cc69a767e6c41))
844
+ * **internal:** ignore .eslintcache ([56a5f30](https://github.com/anthropics/anthropic-sdk-typescript/commit/56a5f30285efab611c7c5bbbc3f308105ba0f031))
845
+
846
+ ## 0.64.0 (2025-09-26)
847
+
848
+ Full Changelog: [sdk-v0.63.1...sdk-v0.64.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.63.1...sdk-v0.64.0)
849
+
850
+ ### Features
851
+
852
+ * **toolRunner:** support custom headers ([ac6a7a3](https://github.com/anthropics/anthropic-sdk-typescript/commit/ac6a7a39335258e09238d7c970b2d45f504df816))
853
+
854
+
855
+ ### Performance Improvements
856
+
857
+ * faster formatting ([32d6185](https://github.com/anthropics/anthropic-sdk-typescript/commit/32d6185b0d944d12c9c160f3055dd9d5ade44d8a))
858
+
859
+
860
+ ### Chores
861
+
862
+ * **internal:** fix incremental formatting in some cases ([2bdf8ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/2bdf8ee858fec58e011218ae1c9925c66bf2b982))
863
+ * **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([2817c45](https://github.com/anthropics/anthropic-sdk-typescript/commit/2817c4543abbcf10947e9ae812d88604cf812c33))
864
+
865
+ ## 0.63.1 (2025-09-23)
866
+
867
+ Full Changelog: [sdk-v0.63.0...sdk-v0.63.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.63.0...sdk-v0.63.1)
868
+
869
+ ### Bug Fixes
870
+
871
+ * **helpers/zod:** fix compat with zod 3 ([a2952e1](https://github.com/anthropics/anthropic-sdk-typescript/commit/a2952e1a64e4dfb2a03f90c9af4e816627bf85e7))
872
+
873
+
874
+ ### Chores
875
+
876
+ * do not install brew dependencies in ./scripts/bootstrap by default ([115d81a](https://github.com/anthropics/anthropic-sdk-typescript/commit/115d81aef0623746220fb13c58c4ba87603a511d))
877
+ * **internal:** update CI ([dfa991a](https://github.com/anthropics/anthropic-sdk-typescript/commit/dfa991aca8f4cbbbf5af8ea32bb5be0a8dae1ace))
878
+ * **package:** lower zod peer dependency constraints ([b40cfec](https://github.com/anthropics/anthropic-sdk-typescript/commit/b40cfeca234432f9a0b1b3ddd8b90c29ff25be02))
879
+
880
+ ## 0.63.0 (2025-09-17)
881
+
882
+ Full Changelog: [sdk-v0.62.0...sdk-v0.63.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.62.0...sdk-v0.63.0)
883
+
884
+ ### Features
885
+
886
+ * **client:** add support for toolRunner helpers ([28f5837](https://github.com/anthropics/anthropic-sdk-typescript/commit/28f583739d4f15c202ecc88002cd8abc9d3aed76))
887
+
888
+
889
+ ### Chores
890
+
891
+ * **internal:** fix tests ([003617d](https://github.com/anthropics/anthropic-sdk-typescript/commit/003617d1b1386bbddadb102e0e8e7922d23c1643))
892
+ * **vertex:** update model string to valid example ([7b77da0](https://github.com/anthropics/anthropic-sdk-typescript/commit/7b77da02620a886b50d984a797a74b650ea88181))
893
+
894
+ ## 0.62.0 (2025-09-10)
895
+
896
+ Full Changelog: [sdk-v0.61.0...sdk-v0.62.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.61.0...sdk-v0.62.0)
897
+
898
+ ### Features
899
+
900
+ * **api:** adds support for Documents in tool results ([5d971f9](https://github.com/anthropics/anthropic-sdk-typescript/commit/5d971f928897ff79acbd418ca9bf0dd9bc6e16a4))
901
+ * **api:** adds support for web_fetch_20250910 tool ([c663898](https://github.com/anthropics/anthropic-sdk-typescript/commit/c663898d51f0e82b418e61814e2937256e70bad0))
902
+
903
+ ## 0.61.0 (2025-09-02)
904
+
905
+ Full Changelog: [sdk-v0.60.0...sdk-v0.61.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.60.0...sdk-v0.61.0)
906
+
907
+ ### Features
908
+
909
+ * **client:** adds support for code-execution-2025-08-26 tool ([91dd1bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/91dd1bb6ae63a2fbca28de543fadd8fc34a35e05))
910
+ * **mcp:** add code execution tool ([2f9cfba](https://github.com/anthropics/anthropic-sdk-typescript/commit/2f9cfba68f843b12aa96885bbe7332567384be22))
911
+
912
+
913
+ ### Chores
914
+
915
+ * add package to package.json ([3ee3632](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ee36323eb384804f24ebded6f789b818f4473dc))
916
+ * **client:** qualify global Blob ([e6bfd68](https://github.com/anthropics/anthropic-sdk-typescript/commit/e6bfd68de63ad0d4823aa1da81826fed50636d99))
917
+ * **deps:** update dependency @types/node to v20.17.58 ([e3577f1](https://github.com/anthropics/anthropic-sdk-typescript/commit/e3577f11939a4af7df07bd6697cbde1aeb0fd4b3))
918
+ * **internal:** formatting change ([c8f4029](https://github.com/anthropics/anthropic-sdk-typescript/commit/c8f4029d07da07624d319422a38266af6a17a8c7))
919
+ * **internal:** update global Error reference ([c82be0d](https://github.com/anthropics/anthropic-sdk-typescript/commit/c82be0d1700cb722243aefba3d63c0e412af85c1))
920
+ * update CI script ([92f4e99](https://github.com/anthropics/anthropic-sdk-typescript/commit/92f4e993c3565e729419d247aacab395ff8d3a16))
921
+
922
+
923
+ ### Documentation
924
+
925
+ * fix default timeout comment ([#812](https://github.com/anthropics/anthropic-sdk-typescript/issues/812)) ([a59964d](https://github.com/anthropics/anthropic-sdk-typescript/commit/a59964d03726169df1991d43a634dbda77ff7997))
926
+
927
+ ## 0.60.0 (2025-08-13)
928
+
929
+ Full Changelog: [sdk-v0.59.0...sdk-v0.60.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.59.0...sdk-v0.60.0)
930
+
931
+ ### Features
932
+
933
+ * **api:** makes 1 hour TTL Cache Control generally available ([b3c97bd](https://github.com/anthropics/anthropic-sdk-typescript/commit/b3c97bddd98829c6f0a6e6b4f118820d92f1f457))
934
+ * **betas:** add context-1m-2025-08-07 ([a5f6db8](https://github.com/anthropics/anthropic-sdk-typescript/commit/a5f6db8dc645a64896ac2835b2fd7d3d3754121e))
935
+
936
+
937
+ ### Chores
938
+
939
+ * deprecate older claude-3-5 sonnet models ([#488](https://github.com/anthropics/anthropic-sdk-typescript/issues/488)) ([4fc9f76](https://github.com/anthropics/anthropic-sdk-typescript/commit/4fc9f7638058cff5890f4a989df41726a2abb798))
940
+ * **internal:** update comment in script ([8157062](https://github.com/anthropics/anthropic-sdk-typescript/commit/81570622d168226e75275af72c7ebf9d81945df7))
941
+ * **internal:** update test skipping reason ([4ea623a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ea623a734493c9c333832d703cc80cb1a290831))
942
+ * update @stainless-api/prism-cli to v5.15.0 ([43616bd](https://github.com/anthropics/anthropic-sdk-typescript/commit/43616bddad0d832e27fc2506c14a51337d09673f))
943
+
944
+
945
+ ### Documentation
946
+
947
+ * **readme:** clarify beta feature usage ([3196064](https://github.com/anthropics/anthropic-sdk-typescript/commit/3196064705a952845893d0d9cb677be0f1516f62))
948
+
949
+ ## 0.59.0 (2025-08-08)
950
+
951
+ Full Changelog: [sdk-v0.58.0...sdk-v0.59.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.58.0...sdk-v0.59.0)
952
+
953
+ ### Features
954
+
955
+ * **api:** search result content blocks ([f372c0d](https://github.com/anthropics/anthropic-sdk-typescript/commit/f372c0dc7e3ecd6376de657431c2a3053be7bc84))
956
+
957
+
958
+ ### Chores
959
+
960
+ * **internal:** move publish config ([5c1689e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5c1689e277b9b7313a3c21217acea09bbe6da6e8))
961
+
962
+ ## 0.58.0 (2025-08-05)
963
+
964
+ Full Changelog: [sdk-v0.57.0...sdk-v0.58.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.57.0...sdk-v0.58.0)
965
+
966
+ ### Features
967
+
968
+ * **api:** add claude-opus-4-1-20250805 ([08c61db](https://github.com/anthropics/anthropic-sdk-typescript/commit/08c61dbcb1f7e7fa6889d4578b38717586bfec20))
969
+ * **api:** adds support for text_editor_20250728 tool ([ca57d74](https://github.com/anthropics/anthropic-sdk-typescript/commit/ca57d7444db6512880786aec7cc11c32522e86f0))
970
+ * **api:** removed older deprecated models ([352a5fd](https://github.com/anthropics/anthropic-sdk-typescript/commit/352a5fd17372ac37277a2f001122973537579968))
971
+ * update streaming error message to say 'required' not 'recommended' ([ffac3e0](https://github.com/anthropics/anthropic-sdk-typescript/commit/ffac3e0dd9162c88a98102c204aea08a9c9a60e7))
972
+ * update streaming error message to say 'required' not 'recommended' ([82a9ae5](https://github.com/anthropics/anthropic-sdk-typescript/commit/82a9ae5835c3dde1f061fc4147e5c06dbf546ef2))
973
+ * **vertex:** support global endpoint ([#449](https://github.com/anthropics/anthropic-sdk-typescript/issues/449)) ([1c42030](https://github.com/anthropics/anthropic-sdk-typescript/commit/1c420301c4a1e9a2bfacf45067eb5473a7cdb53c))
974
+
975
+
976
+ ### Bug Fixes
977
+
978
+ * **internal/bootstrap:** install dependencies for all packages ([d3734f9](https://github.com/anthropics/anthropic-sdk-typescript/commit/d3734f98ebecaee5d37206794bc35fcac9c8b3ec))
979
+ * **internal/bootstrap:** only build main package ([82428c7](https://github.com/anthropics/anthropic-sdk-typescript/commit/82428c728c9cd164d43087a8d3c055b3aa8a14d3))
980
+ * **internal/bootstrap:** run build before installing other packages ([301f504](https://github.com/anthropics/anthropic-sdk-typescript/commit/301f50444bdb28a68c6dd8e012422a7267617e80))
981
+ * **internal/test:** use jest directly ([dab423b](https://github.com/anthropics/anthropic-sdk-typescript/commit/dab423bc7fe5be2c97ba311c4fc38532a2bdf293))
982
+
983
+
984
+ ### Chores
985
+
986
+ * **client:** add TextEditor_20250429 tool ([bcb557d](https://github.com/anthropics/anthropic-sdk-typescript/commit/bcb557d23e13e6ea73020bf1247447a54b317653))
987
+ * **internal:** remove redundant imports config ([555769d](https://github.com/anthropics/anthropic-sdk-typescript/commit/555769da822dc3b105b96d1481108b9b62666c99))
988
+ * **internal:** version bump ([eb97e85](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb97e8577279fb150582297d2a0924a297185c3c))
989
+
990
+ ## 0.57.0 (2025-07-21)
991
+
992
+ Full Changelog: [sdk-v0.56.0...sdk-v0.57.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.56.0...sdk-v0.57.0)
993
+
994
+ ### Features
995
+
996
+ * **bedrock:** better edge runtime support ([#462](https://github.com/anthropics/anthropic-sdk-typescript/issues/462)) ([5f8d1bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/5f8d1bb6a1e7a71acf7a89a090bb2296c050e1d2))
997
+ * **client:** add breaking change detection to CI ([04332aa](https://github.com/anthropics/anthropic-sdk-typescript/commit/04332aa52c371a2c3126c8c188e9855898017772))
998
+
999
+
1000
+ ### Bug Fixes
1001
+
1002
+ * **bedrock:** fix lint errors ([aa40e9c](https://github.com/anthropics/anthropic-sdk-typescript/commit/aa40e9c6987a23ca964683a72fb89c9f570528bd))
1003
+ * **internal:** fix type error for fromSSEResponse call ([2405664](https://github.com/anthropics/anthropic-sdk-typescript/commit/2405664427fb313a785ee6fb7d5e357388dcf5d7))
1004
+ * **vertex:** fix lint errors ([7772f78](https://github.com/anthropics/anthropic-sdk-typescript/commit/7772f78a34dbfcf5c6fc1e149e4d851de9e722f8))
1005
+
1006
+
1007
+ ### Chores
1008
+
1009
+ * make some internal functions async ([9cc6c55](https://github.com/anthropics/anthropic-sdk-typescript/commit/9cc6c55713308f91f56e5f9c4c02966b421cee7f))
1010
+ * **ts:** reorder package.json imports ([e02b0a1](https://github.com/anthropics/anthropic-sdk-typescript/commit/e02b0a1e8c58499e7881f17688a75c0e8c405985))
1011
+
1012
+ ## 0.56.0 (2025-07-03)
1013
+
1014
+ Full Changelog: [sdk-v0.55.1...sdk-v0.56.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.55.1...sdk-v0.56.0)
1015
+
1016
+ ### Features
1017
+
1018
+ * **api:** add support for Search Result Content Blocks ([2910b28](https://github.com/anthropics/anthropic-sdk-typescript/commit/2910b280ef8ab8888dbad59e2ab97c63565879cb))
1019
+ * **tests:** add fixture-based streaming tests and improve test coverage ([00424bc](https://github.com/anthropics/anthropic-sdk-typescript/commit/00424bc033895c20f2f73d9311c85dabfe0e9a9f))
1020
+ * **vertex:** add AuthClient interface support for improved auth flexibility ([b6f86e2](https://github.com/anthropics/anthropic-sdk-typescript/commit/b6f86e29396f5521eeaae43d43084a76e3e518fe))
1021
+
1022
+
1023
+ ### Bug Fixes
1024
+
1025
+ * avoid console usage ([e5ab01d](https://github.com/anthropics/anthropic-sdk-typescript/commit/e5ab01dd3f0a9a9904b000f4599a05f4200e1f67))
1026
+ * **bedrock:** fix bedrock logger ([f183bc9](https://github.com/anthropics/anthropic-sdk-typescript/commit/f183bc97bc5a83b0e00053740caa387a1c98c322))
1027
+
1028
+
1029
+ ### Chores
1030
+
1031
+ * add docs to RequestOptions type ([38cb967](https://github.com/anthropics/anthropic-sdk-typescript/commit/38cb9676c929e86a1048bd086c5c26129aeea46d))
1032
+ * **api:** update BetaCitationSearchResultLocation ([760be6b](https://github.com/anthropics/anthropic-sdk-typescript/commit/760be6be14ae6b10004841aa97db2b3871ac15aa))
1033
+
1034
+
1035
+ ### Documentation
1036
+
1037
+ * model in examples ([9385376](https://github.com/anthropics/anthropic-sdk-typescript/commit/9385376d8352040bccf9563ab985438b55dbbdae))
1038
+ * more beta updates ([7d8b8ac](https://github.com/anthropics/anthropic-sdk-typescript/commit/7d8b8ac2f219c0a64beeecfdd4f2be90c5786201))
1039
+ * update model in readme ([b1799f7](https://github.com/anthropics/anthropic-sdk-typescript/commit/b1799f7efa15938ecc00e2a65d90ecb03da9dda0))
1040
+ * update models and non-beta batches ([5305cdb](https://github.com/anthropics/anthropic-sdk-typescript/commit/5305cdbd65e6b1b7b8c460c1cea845b23fddc770))
1041
+
1042
+ ## 0.55.1 (2025-06-30)
1043
+
1044
+ Full Changelog: [sdk-v0.55.0...sdk-v0.55.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.55.0...sdk-v0.55.1)
1045
+
1046
+ ### Bug Fixes
1047
+
1048
+ * **ci:** release-doctor — report correct token name ([5fa2ebf](https://github.com/anthropics/anthropic-sdk-typescript/commit/5fa2ebfd2c13ddfb7811160da795d0935161d7d7))
1049
+ * **client:** get fetchOptions type more reliably ([60673ab](https://github.com/anthropics/anthropic-sdk-typescript/commit/60673abd8ca59ec0491a205ae259cc36cb640a22))
1050
+ * **client:** use proxy in bedrock when requesting credentials from AWS ([8cfd227](https://github.com/anthropics/anthropic-sdk-typescript/commit/8cfd227dd82686101ea54d5d32a0c1d6ad04d336))
1051
+
1052
+
1053
+ ### Chores
1054
+
1055
+ * **ci:** only run for pushes and fork pull requests ([3d1c911](https://github.com/anthropics/anthropic-sdk-typescript/commit/3d1c911d8c2cf2c9999ba1284c036edbf4f0078e))
1056
+ * **client:** improve path param validation ([1638f13](https://github.com/anthropics/anthropic-sdk-typescript/commit/1638f1315b1eb836dc933e41f8d89222a4374e35))
1057
+
1058
+ ## 0.55.0 (2025-06-24)
1059
+
1060
+ Full Changelog: [sdk-v0.54.0...sdk-v0.55.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.54.0...sdk-v0.55.0)
1061
+
1062
+ ### Features
1063
+
1064
+ * **client:** add support for endpoint-specific base URLs ([9be46a8](https://github.com/anthropics/anthropic-sdk-typescript/commit/9be46a802deaab8689d1986c4e33315111ec0133))
1065
+
1066
+
1067
+ ### Bug Fixes
1068
+
1069
+ * **client:** explicitly copy fetch in withOptions ([3a5909b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3a5909bae831701d2124783ec141ddda527daf30))
1070
+ * **internal:** resolve conflict ([acfff05](https://github.com/anthropics/anthropic-sdk-typescript/commit/acfff053f3638700d14e51ff1f180d7a476ecc20))
1071
+ * publish script — handle NPM errors correctly ([c4a6666](https://github.com/anthropics/anthropic-sdk-typescript/commit/c4a66664f0b36cfae88bd4f788f58d6a61045862))
1072
+ * **stream:** avoid event listener leak ([eb272af](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb272af39becf87549859f7257ec272facf590b2))
1073
+
1074
+
1075
+ ### Chores
1076
+
1077
+ * **ci:** enable for pull requests ([8505818](https://github.com/anthropics/anthropic-sdk-typescript/commit/85058186ac5bd044046a6bf60bf27405923b193a))
1078
+ * **client:** refactor imports ([d5dff04](https://github.com/anthropics/anthropic-sdk-typescript/commit/d5dff0418054494f170359735e0ceba8b0283abf))
1079
+ * **internal:** add pure annotations, make base APIResource abstract ([183d39c](https://github.com/anthropics/anthropic-sdk-typescript/commit/183d39cb7880a7d6d22015ca32de539b3594bae3))
1080
+ * **readme:** update badges ([147f321](https://github.com/anthropics/anthropic-sdk-typescript/commit/147f3211972fd2d28c777fd3feea37b6db8ab621))
1081
+ * **readme:** use better example snippet for undocumented params ([5beafd5](https://github.com/anthropics/anthropic-sdk-typescript/commit/5beafd5f5c0488c051a1fd7a32d7eea976bf671d))
1082
+
1083
+ ## 0.54.0 (2025-06-11)
1084
+
1085
+ Full Changelog: [sdk-v0.53.0...sdk-v0.54.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.53.0...sdk-v0.54.0)
1086
+
1087
+ ### Features
1088
+
1089
+ * **api:** api update ([e923aa1](https://github.com/anthropics/anthropic-sdk-typescript/commit/e923aa1b48b1739def4d5d97756678979b4c01a3))
1090
+ * **api:** api update ([4877181](https://github.com/anthropics/anthropic-sdk-typescript/commit/4877181c118ebcf1b5d98ca4bfd26acf5dbdedab))
1091
+ * **api:** manual updates ([99b0111](https://github.com/anthropics/anthropic-sdk-typescript/commit/99b0111ec289eb4454c1290f80600d653a5a9c30))
1092
+ * **client:** add support for fine-grained-tool-streaming-2025-05-14 ([6b35dd9](https://github.com/anthropics/anthropic-sdk-typescript/commit/6b35dd968b47e6ed486ed6d0a7b8d29cf1928aaf))
1093
+
1094
+
1095
+ ### Bug Fixes
1096
+
1097
+ * **client:** deprecate BetaBase64PDFBlock in favor of BetaRequestDocumentBlock ([7fa10db](https://github.com/anthropics/anthropic-sdk-typescript/commit/7fa10db38d56f8839be3a3197b77a4c8f24fa42a))
1098
+ * **client:** improve error message in parsing JSON ([7c0cb84](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c0cb8414473ffff3939f105d1bdb92b7d02ab5e))
1099
+ * **internal:** revert unintentional changes ([28dccec](https://github.com/anthropics/anthropic-sdk-typescript/commit/28dccec451d0426e7a0afe6de1122e5fddb057f5))
1100
+
1101
+
1102
+ ### Chores
1103
+
1104
+ * avoid type error in certain environments ([48c1a41](https://github.com/anthropics/anthropic-sdk-typescript/commit/48c1a4143bf2a6cae73007532e8292922a0b4fb8))
1105
+ * **tests:** add testing for invalid json raising ([52260c1](https://github.com/anthropics/anthropic-sdk-typescript/commit/52260c196ab91be10354770362b0e2191607337b))
1106
+
1107
+ ## 0.53.0 (2025-06-04)
1108
+
1109
+ Full Changelog: [sdk-v0.52.0...sdk-v0.53.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.52.0...sdk-v0.53.0)
1110
+
1111
+ ### Features
1112
+
1113
+ * **client:** add support for new text_editor_20250429 tool ([e49ebfb](https://github.com/anthropics/anthropic-sdk-typescript/commit/e49ebfb23729c5554796a2ef6b19869d2fb8854e))
1114
+
1115
+
1116
+ ### Bug Fixes
1117
+
1118
+ * **client:** correctly track input from server_tool_use input deltas ([4a14253](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a142533c0e56b6cca120b15dc78779000496bc2))
1119
+ * **client:** fix link to streaming responses docs ([2ad98be](https://github.com/anthropics/anthropic-sdk-typescript/commit/2ad98be9088517715571438ef0cd577f428b50a4))
1120
+ * compat with more runtimes ([3c70ae3](https://github.com/anthropics/anthropic-sdk-typescript/commit/3c70ae35411566ae39428d1b0583fd9fe1b4f2a6))
1121
+
1122
+
1123
+ ### Chores
1124
+
1125
+ * adjust eslint.config.mjs ignore pattern ([ab404cf](https://github.com/anthropics/anthropic-sdk-typescript/commit/ab404cfddd74d6203acfb63c8e56c6727ab9ec9a))
1126
+ * **ci:** fix release workflow ([7e2e566](https://github.com/anthropics/anthropic-sdk-typescript/commit/7e2e5666b65168e926d32500a73f849e9d61fb17))
1127
+ * **deps:** bump eslint-plugin-prettier ([8f973c4](https://github.com/anthropics/anthropic-sdk-typescript/commit/8f973c428734fe37710f46cbbcb2c79a046246d9))
1128
+ * **docs:** use top-level-await in example snippets ([b4a60ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/b4a60ee8a6912d7cfb68849b6369124260da69ed))
1129
+ * **examples:** show how to pass an authorization token to an MCP server ([340461b](https://github.com/anthropics/anthropic-sdk-typescript/commit/340461b39d9e27e281affda7ff9359c04bde3878))
1130
+ * improve publish-npm script --latest tag logic ([4a7bdc0](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a7bdc07f5bbc0da266daaa163319665400318c9))
1131
+ * **internal:** codegen related update ([345af47](https://github.com/anthropics/anthropic-sdk-typescript/commit/345af474e599d8083aa473d043061ed64d9bd284))
1132
+ * **internal:** codegen related update ([6d924ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d924efc8669b6cdadf4bb23612ca08afa3c7885))
1133
+ * **internal:** fix readablestream types in node 20 ([b68745b](https://github.com/anthropics/anthropic-sdk-typescript/commit/b68745b6a98aa0f12b9ce2e97d24a0cbed47758e))
1134
+ * **internal:** fix release workflows ([a8da56f](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8da56f2ce042804925ec882cbdbe2ba1d66a183))
1135
+
1136
+
1137
+ ### Documentation
1138
+
1139
+ * **pagination:** improve naming ([8e62803](https://github.com/anthropics/anthropic-sdk-typescript/commit/8e62803aca24e182bf2202b1ea8ae9c6e3061883))
1140
+
1141
+ ## 0.52.0 (2025-05-22)
1142
+
1143
+ Full Changelog: [sdk-v0.51.0...sdk-v0.52.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.51.0...sdk-v0.52.0)
1144
+
1145
+ ### Features
1146
+
1147
+ * **api:** add claude 4 models, files API, code execution tool, MCP connector and more ([769f9da](https://github.com/anthropics/anthropic-sdk-typescript/commit/769f9da91cf4480d1e4aa4bb488d6d9cc2471985))
1148
+
1149
+
1150
+ ### Chores
1151
+
1152
+ * **internal:** codegen related update ([2ed236d](https://github.com/anthropics/anthropic-sdk-typescript/commit/2ed236ddb9977a91289c4799692a583f460ce8b6))
1153
+ * **internal:** version bump ([8ebaf61](https://github.com/anthropics/anthropic-sdk-typescript/commit/8ebaf616d2e5c6aebc153f19a403dde41ab5a9f1))
1154
+
1155
+ ## 0.51.0 (2025-05-15)
1156
+
1157
+ Full Changelog: [sdk-v0.50.4...sdk-v0.51.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.4...sdk-v0.51.0)
1158
+
1159
+ ### Features
1160
+
1161
+ * **bedrock:** support skipAuth on Bedrock client to bypass local auth requirements ([b661c5f](https://github.com/anthropics/anthropic-sdk-typescript/commit/b661c5fe4d93fa749de5b7cbbce98dc224a68adc))
1162
+
1163
+
1164
+ ### Bug Fixes
1165
+
1166
+ * **bedrock:** support model names with slashes ([cb5fa8a](https://github.com/anthropics/anthropic-sdk-typescript/commit/cb5fa8a8f55ed12382aeb5f09110b0d5fefc46bb))
1167
+
1168
+
1169
+ ### Chores
1170
+
1171
+ * **package:** remove engines ([f0378ec](https://github.com/anthropics/anthropic-sdk-typescript/commit/f0378ec0be0cac0b165d169a05548692f8ef3b69))
1172
+
1173
+ ## 0.50.4 (2025-05-12)
1174
+
1175
+ Full Changelog: [sdk-v0.50.3...sdk-v0.50.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.3...sdk-v0.50.4)
1176
+
1177
+ ### Bug Fixes
1178
+
1179
+ * **stream:** correctly accumulate usage ([c55b4f0](https://github.com/anthropics/anthropic-sdk-typescript/commit/c55b4f01cdd545faf93d6f463caef6f6c5839f07))
1180
+
1181
+ ## 0.50.3 (2025-05-09)
1182
+
1183
+ Full Changelog: [sdk-v0.50.2...sdk-v0.50.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.2...sdk-v0.50.3)
1184
+
1185
+ ### Bug Fixes
1186
+
1187
+ * **client:** always overwrite when merging headers ([657912a](https://github.com/anthropics/anthropic-sdk-typescript/commit/657912ad66f86e878291a4cab5436844efbb633b))
1188
+ * **client:** always overwrite when merging headers ([bf70c9f](https://github.com/anthropics/anthropic-sdk-typescript/commit/bf70c9f6c8031616cb3927d86272dbcce2158b4e))
1189
+
1190
+ ## 0.50.2 (2025-05-09)
1191
+
1192
+ Full Changelog: [sdk-v0.50.1...sdk-v0.50.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.1...sdk-v0.50.2)
1193
+
1194
+ ### Bug Fixes
1195
+
1196
+ * **ci:** bump publish workflow to node 20 ([306a081](https://github.com/anthropics/anthropic-sdk-typescript/commit/306a0816c3fe383ae8ac78a43ebb57927597417e))
1197
+
1198
+
1199
+ ### Chores
1200
+
1201
+ * **internal:** minor sync ([d89476f](https://github.com/anthropics/anthropic-sdk-typescript/commit/d89476ffacccdf1c30c03bbfac8ae3280a4e8d08))
1202
+ * sync repo ([508e385](https://github.com/anthropics/anthropic-sdk-typescript/commit/508e38511c13ba8842065d0dafbc7f462abe0322))
1203
+
1204
+
1205
+ ### Documentation
1206
+
1207
+ * update readme ([ef0c60a](https://github.com/anthropics/anthropic-sdk-typescript/commit/ef0c60afc9ebc690c6179466a22d3e26c77f71db))
1208
+
1209
+ ## 0.50.1 (2025-05-09)
1210
+
1211
+ Full Changelog: [sdk-v0.50.0...sdk-v0.50.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.0...sdk-v0.50.1)
1212
+
1213
+ ## 0.50.0 (2025-05-09)
1214
+
1215
+ Full Changelog: [sdk-v0.41.0...sdk-v0.50.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.41.0...sdk-v0.42.0)
1216
+
1217
+ ### Features
1218
+
1219
+ * **api:** adds web search capabilities to the Claude API ([b36623f](https://github.com/anthropics/anthropic-sdk-typescript/commit/b36623f33134e937ba8fc7585ab5fab3b31203ed))
1220
+ * **api:** manual updates ([80d5daa](https://github.com/anthropics/anthropic-sdk-typescript/commit/80d5daaff943536fbf300f5f19d7c9922294e837))
1221
+ * **api:** manual updates ([3124e2b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3124e2b5fc5d279403f409168186cb08de3b0d13))
1222
+ * **client:** add withOptions helper ([caab783](https://github.com/anthropics/anthropic-sdk-typescript/commit/caab78382741526d50e0c6d3a3e2834ac889fbd7))
1223
+
1224
+
1225
+ ### Bug Fixes
1226
+
1227
+ * **bedrock,vertex:** update to new SDK version ([cb620bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/cb620bbb60e64f27168f74db7a48ad8c2d5f953e))
1228
+ * **client:** send all configured auth headers ([3961628](https://github.com/anthropics/anthropic-sdk-typescript/commit/3961628811d807cc967b9f0f781e55415b578f5d))
1229
+ * **internal:** fix file uploads in node 18 jest ([1071b34](https://github.com/anthropics/anthropic-sdk-typescript/commit/1071b342d56a81d375f2b373c649843f800a3ad5))
1230
+ * **mcp:** remove unused tools.ts ([4c4d763](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c4d7635bf6c6ef3fd810adefb3a290ad0f59576))
1231
+ * **messages:** updates for server tools ([c2709b2](https://github.com/anthropics/anthropic-sdk-typescript/commit/c2709b27b17a5a80daf399b7bfca41b953706d51))
1232
+ * update old links ([f33a68a](https://github.com/anthropics/anthropic-sdk-typescript/commit/f33a68abddd29ef8f8fe1a334d7dcd259595c4cb))
1233
+ * **vertex,bedrock:** correct build script ([df895a7](https://github.com/anthropics/anthropic-sdk-typescript/commit/df895a7d7cbd51422343fca95ab9f1d58918b2a1))
1234
+
1235
+
1236
+ ### Chores
1237
+
1238
+ * **bedrock:** add `skipAuth` option to allow users to let authorization be handled elsewhere ([ee58772](https://github.com/anthropics/anthropic-sdk-typescript/commit/ee587723718109797efa80b020076c43a300f1b9))
1239
+ * **bedrock:** bump [@aws-sdk](https://github.com/aws-sdk) dependencies ([ff925db](https://github.com/anthropics/anthropic-sdk-typescript/commit/ff925db987a66950c997ec50b9c55e67152d1945))
1240
+ * **bedrock:** bump @aws-sdk/credential-providers ([9f611d6](https://github.com/anthropics/anthropic-sdk-typescript/commit/9f611d6ba8c6b3de02c3183e4f2f42d1540525f0))
1241
+ * **ci:** add timeout thresholds for CI jobs ([385f900](https://github.com/anthropics/anthropic-sdk-typescript/commit/385f900ae36892a8c65e2568faf46ce7bb011206))
1242
+ * **ci:** only use depot for staging repos ([1f05880](https://github.com/anthropics/anthropic-sdk-typescript/commit/1f058806ccd549aa99194fc8b808ab21c7655bcf))
1243
+ * **ci:** run on more branches and use depot runners ([7176150](https://github.com/anthropics/anthropic-sdk-typescript/commit/7176150915334f06ac2ee3ed854ddf6752c1e113))
1244
+ * **client:** drop support for EOL node versions ([ffbb2da](https://github.com/anthropics/anthropic-sdk-typescript/commit/ffbb2dac2b9e3b82c57d043dfb279ab95948cbc0))
1245
+ * **client:** minor internal fixes ([595678f](https://github.com/anthropics/anthropic-sdk-typescript/commit/595678f2b8588f20d7ca3d9219878a4d72c56c7d))
1246
+ * **internal:** codegen related update ([a6ae129](https://github.com/anthropics/anthropic-sdk-typescript/commit/a6ae12953f6f841d4585a8cf8cf03fa24f17d57c))
1247
+ * **internal:** fix format script ([9ce30ba](https://github.com/anthropics/anthropic-sdk-typescript/commit/9ce30ba225a37feb50c0089164bbec830ab18a1c))
1248
+ * **internal:** formatting fixes ([7bd4594](https://github.com/anthropics/anthropic-sdk-typescript/commit/7bd45941a46703db869161fd0585cd209efc782c))
1249
+ * **internal:** improve index signature formatting ([7dc3e19](https://github.com/anthropics/anthropic-sdk-typescript/commit/7dc3e190c854623c030d20530cef2f16798dae50))
1250
+ * **internal:** improve node 18 shims ([c6780dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/c6780ddc12282ae1e6796825c713bacf5a50812c))
1251
+ * **internal:** reduce CI branch coverage ([464431d](https://github.com/anthropics/anthropic-sdk-typescript/commit/464431d1e57954812b10baa04d12795f4cba6b76))
1252
+ * **internal:** refactor utils ([b3dee57](https://github.com/anthropics/anthropic-sdk-typescript/commit/b3dee573e69afe41d1c588e732780b5d370980dd))
1253
+ * **internal:** share typescript helpers ([74187db](https://github.com/anthropics/anthropic-sdk-typescript/commit/74187dbc73585c68aa6ae0f05bcba6053d257434))
1254
+ * **internal:** upload builds and expand CI branch coverage ([bbda5d3](https://github.com/anthropics/anthropic-sdk-typescript/commit/bbda5d3ccd5c10abbd0727c33c9d63bd366ef557))
1255
+ * **perf:** faster base64 decoding ([975795a](https://github.com/anthropics/anthropic-sdk-typescript/commit/975795a61b3067396035621638feb631a7e44dbc))
1256
+ * **tests:** improve enum examples ([66cf6d4](https://github.com/anthropics/anthropic-sdk-typescript/commit/66cf6d4d460f93c728aeee069af4f134b853b7d7))
1257
+
1258
+
1259
+ ### Documentation
1260
+
1261
+ * **readme:** fix typo ([6f8fce9](https://github.com/anthropics/anthropic-sdk-typescript/commit/6f8fce9cf7a921b0fc7a5cf0aada0ce130667082))
1262
+
1263
+ ## 0.41.0 (2025-05-07)
1264
+
1265
+ Full Changelog: [sdk-v0.40.1...sdk-v0.41.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.40.1...sdk-v0.41.0)
1266
+
1267
+ ### Features
1268
+
1269
+ * **api:** adds web search capabilities to the Claude API ([fae7e52](https://github.com/anthropics/anthropic-sdk-typescript/commit/fae7e521568d9659e376d13c4e4a6c320b13b1d4))
1270
+
1271
+
1272
+ ### Chores
1273
+
1274
+ * **ci:** bump node version for release workflows ([3502747](https://github.com/anthropics/anthropic-sdk-typescript/commit/350274792ed3d9b7ea237ee60876883373344016))
1275
+
1276
+
1277
+ ### Documentation
1278
+
1279
+ * add examples to tsdocs ([19a9285](https://github.com/anthropics/anthropic-sdk-typescript/commit/19a928512b1616f2cac9c82f02e7bd9a158dab95))
1280
+ * **readme:** fix typo ([735574e](https://github.com/anthropics/anthropic-sdk-typescript/commit/735574e23b7956cbfd0c05d0374079391d5d4e96))
1281
+
1282
+ ## 0.40.1 (2025-04-28)
1283
+
1284
+ Full Changelog: [sdk-v0.40.0...sdk-v0.40.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.40.0...sdk-v0.40.1)
1285
+
1286
+ ### Chores
1287
+
1288
+ * **bedrock:** bump [@aws-sdk](https://github.com/aws-sdk) dependencies ([6440e1d](https://github.com/anthropics/anthropic-sdk-typescript/commit/6440e1db992779aeead231b420a55002ec0991d1))
1289
+
1290
+ ## 0.40.0 (2025-04-25)
1291
+
1292
+ Full Changelog: [sdk-v0.39.0...sdk-v0.40.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.39.0...sdk-v0.40.0)
1293
+
1294
+ ### Features
1295
+
1296
+ * add SKIP_BREW env var to ./scripts/bootstrap ([#710](https://github.com/anthropics/anthropic-sdk-typescript/issues/710)) ([1b8376a](https://github.com/anthropics/anthropic-sdk-typescript/commit/1b8376aac5475e1bb6b5f79c7c5684ab77908c1f))
1297
+ * **api:** extract ContentBlockDelta events into their own schemas ([#732](https://github.com/anthropics/anthropic-sdk-typescript/issues/732)) ([fd0ec83](https://github.com/anthropics/anthropic-sdk-typescript/commit/fd0ec836ab9244c05b913a68224f806b4ac8da60))
1298
+ * **api:** manual updates ([39b64c9](https://github.com/anthropics/anthropic-sdk-typescript/commit/39b64c96679efa08e9220c6c3ecff297c6aa8b7c))
1299
+ * **api:** manual updates ([771e05b](https://github.com/anthropics/anthropic-sdk-typescript/commit/771e05b24690dbda1d2118f10fd19304db4f0826))
1300
+ * **api:** manual updates ([ca6dbd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/ca6dbd6b1588b94da6d1763cb52f54cc42aacaa1))
1301
+ * **api:** manual updates ([14df8cc](https://github.com/anthropics/anthropic-sdk-typescript/commit/14df8cce890993e7056dfe5432f86b53faf7a044))
1302
+ * **client:** accept RFC6838 JSON content types ([#713](https://github.com/anthropics/anthropic-sdk-typescript/issues/713)) ([fc32787](https://github.com/anthropics/anthropic-sdk-typescript/commit/fc3278702b3d27f792006e9710432f612e856af1))
1303
+ * **mcp:** allow opt-in mcp resources and endpoints ([#720](https://github.com/anthropics/anthropic-sdk-typescript/issues/720)) ([9f3a54e](https://github.com/anthropics/anthropic-sdk-typescript/commit/9f3a54e868feb78e63a4593aae3b7fffc4ce588f))
1304
+
1305
+
1306
+ ### Bug Fixes
1307
+
1308
+ * **api:** improve type resolution when importing as a package ([#738](https://github.com/anthropics/anthropic-sdk-typescript/issues/738)) ([8992ed4](https://github.com/anthropics/anthropic-sdk-typescript/commit/8992ed4b8fa3ce7216c0d8414b79ad71adefdf42))
1309
+ * avoid type error in certain environments ([#723](https://github.com/anthropics/anthropic-sdk-typescript/issues/723)) ([208fdaf](https://github.com/anthropics/anthropic-sdk-typescript/commit/208fdaf0e00ab4cb12c0172cda870f3f1e13098c))
1310
+ * **client:** deduplicate stop reason type ([#726](https://github.com/anthropics/anthropic-sdk-typescript/issues/726)) ([2d7cef1](https://github.com/anthropics/anthropic-sdk-typescript/commit/2d7cef14ecdb0501deac02ca270b355ffa5275f2))
1311
+ * **client:** send `X-Stainless-Timeout` in seconds ([#733](https://github.com/anthropics/anthropic-sdk-typescript/issues/733)) ([cae4f77](https://github.com/anthropics/anthropic-sdk-typescript/commit/cae4f77474a84d2ce81b890dfb39d3b28c8b5834))
1312
+ * **client:** send all configured auth headers ([#742](https://github.com/anthropics/anthropic-sdk-typescript/issues/742)) ([86708b4](https://github.com/anthropics/anthropic-sdk-typescript/commit/86708b496558fe52d46bd6a77f705273fad374b1))
1313
+ * **exports:** ensure resource imports don't require /index ([#717](https://github.com/anthropics/anthropic-sdk-typescript/issues/717)) ([56b2a80](https://github.com/anthropics/anthropic-sdk-typescript/commit/56b2a80145999256d4c075cf48be891df7832aad))
1314
+ * **internal:** work around https://github.com/vercel/next.js/issues/76881 ([#727](https://github.com/anthropics/anthropic-sdk-typescript/issues/727)) ([36ea0ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/36ea0efd017d48931b3954034744234aec084a42))
1315
+ * **mcp:** remove unused tools.ts ([#740](https://github.com/anthropics/anthropic-sdk-typescript/issues/740)) ([26793e7](https://github.com/anthropics/anthropic-sdk-typescript/commit/26793e7fe5a7c03d5adac69564a588e5a030c01c))
1316
+ * remove duplicate exports ([2df4cdd](https://github.com/anthropics/anthropic-sdk-typescript/commit/2df4cdd6f3a4f35a858fde57ce6327c50d3319d8))
1317
+
1318
+
1319
+ ### Chores
1320
+
1321
+ * add hash of OpenAPI spec/config inputs to .stats.yml ([#725](https://github.com/anthropics/anthropic-sdk-typescript/issues/725)) ([271be7d](https://github.com/anthropics/anthropic-sdk-typescript/commit/271be7d6d3cc615df3c8c48d4e1fb907d286df62))
1322
+ * **bedrock:** bump @aws-sdk/credential-providers ([a4d88d7](https://github.com/anthropics/anthropic-sdk-typescript/commit/a4d88d7807e2cf1a0836dc05d9deff5bfc0c665f))
1323
+ * **ci:** add timeout thresholds for CI jobs ([1080c70](https://github.com/anthropics/anthropic-sdk-typescript/commit/1080c704f2e6c08d396aec7e3782c86c705cfe49))
1324
+ * **ci:** only use depot for staging repos ([359dafa](https://github.com/anthropics/anthropic-sdk-typescript/commit/359dafae718f626d1b0883fb40c0df3421d5939c))
1325
+ * **ci:** run on more branches and use depot runners ([3331315](https://github.com/anthropics/anthropic-sdk-typescript/commit/333131560d0e1557e037fbc2bc7b60b74d0c3fed))
1326
+ * **client:** minor internal fixes ([fcf3e35](https://github.com/anthropics/anthropic-sdk-typescript/commit/fcf3e3559692d09e5b5568a6cfa90c342bb33c60))
1327
+ * **internal:** add aliases for Record and Array ([#735](https://github.com/anthropics/anthropic-sdk-typescript/issues/735)) ([e0a4bec](https://github.com/anthropics/anthropic-sdk-typescript/commit/e0a4becfdd79898b1187b50b18bb5a082e67c7cd))
1328
+ * **internal:** add back release workflow ([68d54e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/68d54e5540bf5cc9c9bf21c8e21a3d7225e17bba))
1329
+ * **internal:** codegen related update ([#737](https://github.com/anthropics/anthropic-sdk-typescript/issues/737)) ([2a368bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/2a368bbb8d13d409116881ece456af3c36998c8f))
1330
+ * **internal:** fix lint ([2cf3641](https://github.com/anthropics/anthropic-sdk-typescript/commit/2cf3641681fdfc01bd8ffbb7154d2ebcb5d8a8d3))
1331
+ * **internal:** import ordering changes ([#708](https://github.com/anthropics/anthropic-sdk-typescript/issues/708)) ([a5680e1](https://github.com/anthropics/anthropic-sdk-typescript/commit/a5680e1466a6ea1bed0ddc4c880dd4e342ea1350))
1332
+ * **internal:** improve index signature formatting ([#739](https://github.com/anthropics/anthropic-sdk-typescript/issues/739)) ([627c5fa](https://github.com/anthropics/anthropic-sdk-typescript/commit/627c5fadfb1a0b84dd4715d96cb9234607952957))
1333
+ * **internal:** reduce CI branch coverage ([6ed0bd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/6ed0bd6fa8e3076ff908a1cd1cec3f110afef431))
1334
+ * **internal:** remove CI condition ([#730](https://github.com/anthropics/anthropic-sdk-typescript/issues/730)) ([cc31518](https://github.com/anthropics/anthropic-sdk-typescript/commit/cc3151809070c885450f0884fb5120e0276e2d66))
1335
+ * **internal:** remove extra empty newlines ([#716](https://github.com/anthropics/anthropic-sdk-typescript/issues/716)) ([4d3c024](https://github.com/anthropics/anthropic-sdk-typescript/commit/4d3c02496ee09625fbcb5da545e90faa3890a885))
1336
+ * **internal:** update config ([#728](https://github.com/anthropics/anthropic-sdk-typescript/issues/728)) ([ababd80](https://github.com/anthropics/anthropic-sdk-typescript/commit/ababd809519fb31ae82395c77b997fd76a3d804e))
1337
+ * **internal:** upload builds and expand CI branch coverage ([#744](https://github.com/anthropics/anthropic-sdk-typescript/issues/744)) ([0b7432a](https://github.com/anthropics/anthropic-sdk-typescript/commit/0b7432a3f1088f36ae4c45f99872d18ad9167d80))
1338
+ * **tests:** improve enum examples ([#743](https://github.com/anthropics/anthropic-sdk-typescript/issues/743)) ([c1c93a7](https://github.com/anthropics/anthropic-sdk-typescript/commit/c1c93a7ecf17b4cd1956344678d325b36fafd598))
1339
+
1340
+ ## 0.39.0 (2025-02-28)
1341
+
1342
+ Full Changelog: [sdk-v0.38.0...sdk-v0.39.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.38.0...sdk-v0.39.0)
1343
+
1344
+ ### Features
1345
+
1346
+ * **api:** add support for disabling tool calls ([#701](https://github.com/anthropics/anthropic-sdk-typescript/issues/701)) ([1602b51](https://github.com/anthropics/anthropic-sdk-typescript/commit/1602b5156432d587c3fd55abb719cab98ef50928))
1347
+
1348
+
1349
+ ### Documentation
1350
+
1351
+ * update URLs from stainlessapi.com to stainless.com ([#699](https://github.com/anthropics/anthropic-sdk-typescript/issues/699)) ([05e33b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/05e33b7f5fbcc2adacd2c3ab1d4c7806ea7d40fd))
1352
+
1353
+ ## 0.38.0 (2025-02-27)
1354
+
1355
+ Full Changelog: [sdk-v0.37.0...sdk-v0.38.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.37.0...sdk-v0.38.0)
1356
+
1357
+ ### Features
1358
+
1359
+ * **api:** add URL source blocks for images and PDFs ([#698](https://github.com/anthropics/anthropic-sdk-typescript/issues/698)) ([16e7336](https://github.com/anthropics/anthropic-sdk-typescript/commit/16e7336ca99f261ab21efabfadc927f3e3c34198))
1360
+
1361
+
1362
+ ### Chores
1363
+
1364
+ * **internal:** update spec ([#692](https://github.com/anthropics/anthropic-sdk-typescript/issues/692)) ([142f221](https://github.com/anthropics/anthropic-sdk-typescript/commit/142f221d364c7450f3397563f59e56f8d9a41e02))
1365
+
1366
+
1367
+ ### Documentation
1368
+
1369
+ * add thinking examples ([db6f761](https://github.com/anthropics/anthropic-sdk-typescript/commit/db6f761007b29b2ace293723f20728ad31b316dd))
1370
+
1371
+ ## 0.37.0 (2025-02-24)
1372
+
1373
+ Full Changelog: [sdk-v0.36.3...sdk-v0.37.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.36.3...sdk-v0.37.0)
1374
+
1375
+ ### Features
1376
+
1377
+ * **api:** add claude-3.7 + support for thinking ([ffab311](https://github.com/anthropics/anthropic-sdk-typescript/commit/ffab3113ddb042951a35d71e571727f8cce184ee))
1378
+ * **client:** send `X-Stainless-Timeout` header ([#679](https://github.com/anthropics/anthropic-sdk-typescript/issues/679)) ([1172430](https://github.com/anthropics/anthropic-sdk-typescript/commit/1172430c87ba42acd2e16f4960247fe4003641a5))
1379
+ * **pagination:** avoid fetching when has_more: false ([#680](https://github.com/anthropics/anthropic-sdk-typescript/issues/680)) ([d4df248](https://github.com/anthropics/anthropic-sdk-typescript/commit/d4df248ff4eafa15b5f4b21b3da69d1a710052fa))
1380
+
1381
+
1382
+ ### Bug Fixes
1383
+
1384
+ * **client:** fix export map for index exports ([#684](https://github.com/anthropics/anthropic-sdk-typescript/issues/684)) ([56d9c7a](https://github.com/anthropics/anthropic-sdk-typescript/commit/56d9c7ab269af132d2ac374b6b7b9e5e523e0720))
1385
+ * correctly decode multi-byte characters over multiple chunks ([#681](https://github.com/anthropics/anthropic-sdk-typescript/issues/681)) ([e369e3d](https://github.com/anthropics/anthropic-sdk-typescript/commit/e369e3d650f2d761c3479935502615cab2a42b8d))
1386
+ * optimize sse chunk reading off-by-one error ([#686](https://github.com/anthropics/anthropic-sdk-typescript/issues/686)) ([53669af](https://github.com/anthropics/anthropic-sdk-typescript/commit/53669af8507c503dfd109ea34896dd018fbb1fc8))
1387
+
1388
+
1389
+ ### Chores
1390
+
1391
+ * **api:** update openapi spec url ([#678](https://github.com/anthropics/anthropic-sdk-typescript/issues/678)) ([84401b1](https://github.com/anthropics/anthropic-sdk-typescript/commit/84401b1068a11ae241a03643d32c459d837a82c6))
1392
+ * **internal:** add missing return type annotation ([#685](https://github.com/anthropics/anthropic-sdk-typescript/issues/685)) ([a8862b9](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8862b9d39f688707ecf2142b002aa27a3cbd09b))
1393
+ * **internal:** fix devcontainers setup ([#689](https://github.com/anthropics/anthropic-sdk-typescript/issues/689)) ([8665946](https://github.com/anthropics/anthropic-sdk-typescript/commit/8665946ded8472e892301449569aae30613175fa))
1394
+ * **internal:** reorder model constants ([#676](https://github.com/anthropics/anthropic-sdk-typescript/issues/676)) ([52a2a11](https://github.com/anthropics/anthropic-sdk-typescript/commit/52a2a11467e4c117b50516104eb9b29aca86e232))
1395
+ * **internal:** update models used in tests ([52a2a11](https://github.com/anthropics/anthropic-sdk-typescript/commit/52a2a11467e4c117b50516104eb9b29aca86e232))
1396
+
1397
+ ## 0.36.3 (2025-01-27)
1398
+
1399
+ Full Changelog: [sdk-v0.36.2...sdk-v0.36.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.36.2...sdk-v0.36.3)
1400
+
1401
+ ### Bug Fixes
1402
+
1403
+ * **streaming:** accumulate citations ([#675](https://github.com/anthropics/anthropic-sdk-typescript/issues/675)) ([522118f](https://github.com/anthropics/anthropic-sdk-typescript/commit/522118ffeab327e8476f12d9b9fa1f19042ed714))
1404
+
1405
+
1406
+ ### Chores
1407
+
1408
+ * **docs:** updates ([#673](https://github.com/anthropics/anthropic-sdk-typescript/issues/673)) ([751ecd0](https://github.com/anthropics/anthropic-sdk-typescript/commit/751ecd0d44707b21ccb390c81716937fae3d8e35))
1409
+
1410
+ ## 0.36.2 (2025-01-23)
1411
+
1412
+ Full Changelog: [sdk-v0.36.1...sdk-v0.36.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.36.1...sdk-v0.36.2)
1413
+
1414
+ ### Bug Fixes
1415
+
1416
+ * **bedrock:** update streaming util import ([255c059](https://github.com/anthropics/anthropic-sdk-typescript/commit/255c0599e333e6fae582255e3b0631538b168c69))
1417
+
1418
+ ## 0.36.1 (2025-01-23)
1419
+
1420
+ Full Changelog: [sdk-v0.36.0...sdk-v0.36.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.36.0...sdk-v0.36.1)
1421
+
1422
+ ### Chores
1423
+
1424
+ * **tests:** fix types ([9efe3ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/9efe3eebf64bd762a34caf362a1cd1a0f0858f92))
1425
+
1426
+ ## 0.36.0 (2025-01-23)
1427
+
1428
+ Full Changelog: [sdk-v0.35.0...sdk-v0.36.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.35.0...sdk-v0.36.0)
1429
+
1430
+ ### Features
1431
+
1432
+ * **api:** add citations ([#668](https://github.com/anthropics/anthropic-sdk-typescript/issues/668)) ([1fef177](https://github.com/anthropics/anthropic-sdk-typescript/commit/1fef17749adbbeb243480b96c04941be29c0746c))
1433
+ * **client:** support results endpoint ([#666](https://github.com/anthropics/anthropic-sdk-typescript/issues/666)) ([db5fffe](https://github.com/anthropics/anthropic-sdk-typescript/commit/db5fffeb38a99a3e9283ebf001fbf767d756162e))
1434
+ * **stream:** expose `response` property as well ([b0235c7](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0235c7b3ac174b3c8e670e381b4aa038e61c826))
1435
+
1436
+
1437
+ ### Chores
1438
+
1439
+ * **bedrock:** bump dependency on @anthropic-ai/sdk ([8745ca2](https://github.com/anthropics/anthropic-sdk-typescript/commit/8745ca2160f5af4d89e5732a44e560c5e2787aa8))
1440
+ * **internal:** fix import ([628b55e](https://github.com/anthropics/anthropic-sdk-typescript/commit/628b55ef5ff8f0245287ecaea688480a0174e2e9))
1441
+ * **internal:** minor restructuring ([#664](https://github.com/anthropics/anthropic-sdk-typescript/issues/664)) ([57aefa7](https://github.com/anthropics/anthropic-sdk-typescript/commit/57aefa73230d54da24d787a89adc277481986d02))
1442
+ * **vertex:** bump dependency on @anthropic-ai/sdk ([a1c7fcd](https://github.com/anthropics/anthropic-sdk-typescript/commit/a1c7fcdce081f860cbb1148c3862e3303ddb8a62))
1443
+
1444
+ ## 0.35.0 (2025-01-21)
1445
+
1446
+ Full Changelog: [sdk-v0.34.0...sdk-v0.35.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.34.0...sdk-v0.35.0)
1447
+
1448
+ ### Features
1449
+
1450
+ * add beta message streaming helpers ([#655](https://github.com/anthropics/anthropic-sdk-typescript/issues/655)) ([d7b5af1](https://github.com/anthropics/anthropic-sdk-typescript/commit/d7b5af1629dbcefdb7bfdca271ab497567830227))
1451
+ * **stream:** add `.withResponse()` ([#654](https://github.com/anthropics/anthropic-sdk-typescript/issues/654)) ([b54477f](https://github.com/anthropics/anthropic-sdk-typescript/commit/b54477f20c92db4c2c5ed89af5d46c36b035bf1e))
1452
+ * **streaming:** add `.request_id` getter ([4572478](https://github.com/anthropics/anthropic-sdk-typescript/commit/4572478266a67e12e32ffef69817cbc495943b1d))
1453
+
1454
+
1455
+ ### Bug Fixes
1456
+
1457
+ * **docs:** correct results return type ([#657](https://github.com/anthropics/anthropic-sdk-typescript/issues/657)) ([4e6d031](https://github.com/anthropics/anthropic-sdk-typescript/commit/4e6d031a41625ebf9c4311638e0c149179fcae0c))
1458
+ * **examples:** add token counting example ([2498e2e](https://github.com/anthropics/anthropic-sdk-typescript/commit/2498e2eaf49d66a664ed1fdcd7bbd331979cf5b2))
1459
+ * send correct Accept header for certain endpoints ([#651](https://github.com/anthropics/anthropic-sdk-typescript/issues/651)) ([17ffaeb](https://github.com/anthropics/anthropic-sdk-typescript/commit/17ffaeba5af48d13b08483973b82cfe1ae79347f))
1460
+ * **vertex:** add beta.messages.countTokens method ([51d3f23](https://github.com/anthropics/anthropic-sdk-typescript/commit/51d3f23a7cc1bea798cc8e4041e08114ebc3a4eb))
1461
+
1462
+
1463
+ ### Chores
1464
+
1465
+ * deprecate more models ([661f5f9](https://github.com/anthropics/anthropic-sdk-typescript/commit/661f5f9d9b24f3661df246dcf101dd9812b3e19e))
1466
+ * **internal:** add test ([#660](https://github.com/anthropics/anthropic-sdk-typescript/issues/660)) ([3ec7d1a](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ec7d1a9eea30255b24cdb16c1a26705bdfea0ac))
1467
+ * **internal:** temporary revert commit ([#643](https://github.com/anthropics/anthropic-sdk-typescript/issues/643)) ([43dd43c](https://github.com/anthropics/anthropic-sdk-typescript/commit/43dd43c4c8ab69d5a60e59473af7dff5f7799048))
1468
+ * **internal:** update examples ([#649](https://github.com/anthropics/anthropic-sdk-typescript/issues/649)) ([036a239](https://github.com/anthropics/anthropic-sdk-typescript/commit/036a239800fec7e6cbc439f125101d5475eae5b3))
1469
+ * **types:** add `| undefined` to client options properties ([#656](https://github.com/anthropics/anthropic-sdk-typescript/issues/656)) ([d642298](https://github.com/anthropics/anthropic-sdk-typescript/commit/d642298334529ff95b9d7ac497d548a6b04dbcfb))
1470
+
1471
+
1472
+ ### Documentation
1473
+
1474
+ * **readme:** fix misplaced period ([#650](https://github.com/anthropics/anthropic-sdk-typescript/issues/650)) ([8754744](https://github.com/anthropics/anthropic-sdk-typescript/commit/87547448c8b4bf69a61756af1f12927f33b68680))
1475
+ * **readme:** fix Request IDs example ([#659](https://github.com/anthropics/anthropic-sdk-typescript/issues/659)) ([6d3162d](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d3162da1ddb964b75e575376f278468ba1ed9f5))
1476
+
1477
+ ## 0.34.0 (2024-12-20)
1478
+
1479
+ Full Changelog: [sdk-v0.33.1...sdk-v0.34.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.33.1...sdk-v0.34.0)
1480
+
1481
+ ### Features
1482
+
1483
+ * **api:** add message batch delete endpoint ([#640](https://github.com/anthropics/anthropic-sdk-typescript/issues/640)) ([54f7e1f](https://github.com/anthropics/anthropic-sdk-typescript/commit/54f7e1ffb9a2956ee27a4a715b84717aa681eb7c))
1484
+
1485
+
1486
+ ### Bug Fixes
1487
+
1488
+ * **client:** normalize method ([#639](https://github.com/anthropics/anthropic-sdk-typescript/issues/639)) ([384bb04](https://github.com/anthropics/anthropic-sdk-typescript/commit/384bb042dd854ed753c6bd8e25f522d0e042bfbf))
1489
+
1490
+
1491
+ ### Chores
1492
+
1493
+ * bump testing data uri ([#637](https://github.com/anthropics/anthropic-sdk-typescript/issues/637)) ([3f23530](https://github.com/anthropics/anthropic-sdk-typescript/commit/3f23530fb55d9fec7278967ea02600e44e9f58e2))
1494
+ * **internal:** temporary revert commit ([#643](https://github.com/anthropics/anthropic-sdk-typescript/issues/643)) ([8057b1e](https://github.com/anthropics/anthropic-sdk-typescript/commit/8057b1eb67ccccee042a45f2efe53cccced15682))
1495
+
1496
+
1497
+ ### Documentation
1498
+
1499
+ * minor formatting changes ([#641](https://github.com/anthropics/anthropic-sdk-typescript/issues/641)) ([8b362ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b362ee72954b31b4de920b35aed97255efa5e2e))
1500
+ * **readme:** add alpha callout ([#646](https://github.com/anthropics/anthropic-sdk-typescript/issues/646)) ([640304c](https://github.com/anthropics/anthropic-sdk-typescript/commit/640304c7c7e8bc67cbf799a646169736d89ad4c8))
1501
+
1502
+ ## 0.33.1 (2024-12-17)
1503
+
1504
+ Full Changelog: [sdk-v0.33.0...sdk-v0.33.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.33.0...sdk-v0.33.1)
1505
+
1506
+ ### Bug Fixes
1507
+
1508
+ * **vertex:** remove `anthropic_version` deletion for token counting ([88221be](https://github.com/anthropics/anthropic-sdk-typescript/commit/88221be305d6e13ccf92e6e9cdb00daba45b57db))
1509
+
1510
+
1511
+ ### Chores
1512
+
1513
+ * **internal:** fix some typos ([#633](https://github.com/anthropics/anthropic-sdk-typescript/issues/633)) ([a0298f5](https://github.com/anthropics/anthropic-sdk-typescript/commit/a0298f5f67b8ecd25de416dbb3eada68b86befd7))
1514
+
1515
+ ## 0.33.0 (2024-12-17)
1516
+
1517
+ Full Changelog: [sdk-v0.32.1...sdk-v0.33.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.32.1...sdk-v0.33.0)
1518
+
1519
+ ### Features
1520
+
1521
+ * **api:** general availability updates ([93d1316](https://github.com/anthropics/anthropic-sdk-typescript/commit/93d13168f950b2cdfc3b7c6664205b06418fea79))
1522
+ * **api:** general availability updates ([#631](https://github.com/anthropics/anthropic-sdk-typescript/issues/631)) ([b5c92e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/b5c92e5b74c370ac3f9ba28e915bd54588a42be0))
1523
+ * **client:** add ._request_id property to object responses ([#596](https://github.com/anthropics/anthropic-sdk-typescript/issues/596)) ([9d6d584](https://github.com/anthropics/anthropic-sdk-typescript/commit/9d6d58430a216df9888434158bf628ae4b067aba))
1524
+ * **internal:** make git install file structure match npm ([#617](https://github.com/anthropics/anthropic-sdk-typescript/issues/617)) ([d3dd7d5](https://github.com/anthropics/anthropic-sdk-typescript/commit/d3dd7d5f8cad460dd18725d5c0f3c8db3f00115d))
1525
+ * **vertex:** support token counting ([9e76b4d](https://github.com/anthropics/anthropic-sdk-typescript/commit/9e76b4dc22d62b1239b382bb771b69ad8cff9442))
1526
+
1527
+
1528
+ ### Bug Fixes
1529
+
1530
+ * **docs:** add missing await to pagination example ([#609](https://github.com/anthropics/anthropic-sdk-typescript/issues/609)) ([e303077](https://github.com/anthropics/anthropic-sdk-typescript/commit/e303077ebab73c41adee7d25375b767c3fc78998))
1531
+ * **types:** remove anthropic-instant-1.2 model ([#599](https://github.com/anthropics/anthropic-sdk-typescript/issues/599)) ([e222a4d](https://github.com/anthropics/anthropic-sdk-typescript/commit/e222a4d0518aa80671c66ee2a25d87dc87a51316))
1532
+
1533
+
1534
+ ### Chores
1535
+
1536
+ * **api:** update spec version ([#607](https://github.com/anthropics/anthropic-sdk-typescript/issues/607)) ([ea44f9a](https://github.com/anthropics/anthropic-sdk-typescript/commit/ea44f9ac49dcc25a5dfa53880ebf61318ee90f6c))
1537
+ * **api:** update spec version ([#629](https://github.com/anthropics/anthropic-sdk-typescript/issues/629)) ([a25295c](https://github.com/anthropics/anthropic-sdk-typescript/commit/a25295cd6db7b57162fdd9049eb8a3c37bb94f08))
1538
+ * **bedrock,vertex:** remove unsupported countTokens method ([#597](https://github.com/anthropics/anthropic-sdk-typescript/issues/597)) ([17b7da5](https://github.com/anthropics/anthropic-sdk-typescript/commit/17b7da5ee6f35ea2bdd53a66a662871affae6341))
1539
+ * **bedrock:** remove unsupported methods ([6458dc1](https://github.com/anthropics/anthropic-sdk-typescript/commit/6458dc14544c16240a6580a21a36fcf5bde594b2))
1540
+ * **ci:** remove unneeded workflow ([#594](https://github.com/anthropics/anthropic-sdk-typescript/issues/594)) ([7572e48](https://github.com/anthropics/anthropic-sdk-typescript/commit/7572e48dbccb2090562399c7ff2d01503c86f445))
1541
+ * **client:** drop unused devDependency ([#610](https://github.com/anthropics/anthropic-sdk-typescript/issues/610)) ([5d0d523](https://github.com/anthropics/anthropic-sdk-typescript/commit/5d0d523390d8c34cae836c423940b67defb9d2aa))
1542
+ * improve browser error message ([#613](https://github.com/anthropics/anthropic-sdk-typescript/issues/613)) ([c26121e](https://github.com/anthropics/anthropic-sdk-typescript/commit/c26121e84039b7430995b6363876ea9795ba31ed))
1543
+ * **internal:** bump cross-spawn to v7.0.6 ([#624](https://github.com/anthropics/anthropic-sdk-typescript/issues/624)) ([e58ba9a](https://github.com/anthropics/anthropic-sdk-typescript/commit/e58ba9a177ec5c8545fd3a3f4fd3d2e7c722f023))
1544
+ * **internal:** remove unnecessary getRequestClient function ([#623](https://github.com/anthropics/anthropic-sdk-typescript/issues/623)) ([882c45f](https://github.com/anthropics/anthropic-sdk-typescript/commit/882c45f5a0bd1f4b996d59e6589a205c2111f46b))
1545
+ * **internal:** update isAbsoluteURL ([#627](https://github.com/anthropics/anthropic-sdk-typescript/issues/627)) ([2528ea0](https://github.com/anthropics/anthropic-sdk-typescript/commit/2528ea0dcfc83f38e76b58eaadaa5e8c5c0b188d))
1546
+ * **internal:** update spec ([#630](https://github.com/anthropics/anthropic-sdk-typescript/issues/630)) ([82cac06](https://github.com/anthropics/anthropic-sdk-typescript/commit/82cac065e2711467773c0ea62848cdf139ed5a11))
1547
+ * **internal:** use reexports not destructuring ([#604](https://github.com/anthropics/anthropic-sdk-typescript/issues/604)) ([e4daff2](https://github.com/anthropics/anthropic-sdk-typescript/commit/e4daff2b6a3fb42876ebd06ed4947c88cff919d8))
1548
+ * remove redundant word in comment ([#615](https://github.com/anthropics/anthropic-sdk-typescript/issues/615)) ([ef57a10](https://github.com/anthropics/anthropic-sdk-typescript/commit/ef57a103bcfc922a724a7c878f970dbd369b305e))
1549
+ * **tests:** limit array example length ([#611](https://github.com/anthropics/anthropic-sdk-typescript/issues/611)) ([91dc181](https://github.com/anthropics/anthropic-sdk-typescript/commit/91dc1812db2cc9e1f4660a13106bad932518b7cf))
1550
+ * **types:** nicer error class types + jsdocs ([#626](https://github.com/anthropics/anthropic-sdk-typescript/issues/626)) ([0287993](https://github.com/anthropics/anthropic-sdk-typescript/commit/0287993912ef81bd2c49603d120f49f4f979d75e))
1551
+
1552
+
1553
+ ### Documentation
1554
+
1555
+ * remove suggestion to use `npm` call out ([#614](https://github.com/anthropics/anthropic-sdk-typescript/issues/614)) ([6369261](https://github.com/anthropics/anthropic-sdk-typescript/commit/6369261e3597351f17b8f1a3945ca56b00eba177))
1556
+ * use latest sonnet in example snippets ([#625](https://github.com/anthropics/anthropic-sdk-typescript/issues/625)) ([f70882b](https://github.com/anthropics/anthropic-sdk-typescript/commit/f70882b0e8119a414b01b9f0b85fbe1ccb06f122))
1557
+
1558
+ ## 0.32.1 (2024-11-05)
1559
+
1560
+ Full Changelog: [sdk-v0.32.0...sdk-v0.32.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.32.0...sdk-v0.32.1)
1561
+
1562
+ ### Bug Fixes
1563
+
1564
+ * **bedrock:** don't mutate request body inputs ([f83b535](https://github.com/anthropics/anthropic-sdk-typescript/commit/f83b53520262219229cecc388f95d92be83c09d5))
1565
+ * **vertex:** don't mutate request body inputs ([e9a82e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/e9a82e56f0d7fff956c2ebd19e103a190f8beb83))
1566
+
1567
+ ## 0.32.0 (2024-11-04)
1568
+
1569
+ Full Changelog: [sdk-v0.31.0...sdk-v0.32.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.31.0...sdk-v0.32.0)
1570
+
1571
+ ### Features
1572
+
1573
+ * **api:** add new haiku model ([#587](https://github.com/anthropics/anthropic-sdk-typescript/issues/587)) ([983b13c](https://github.com/anthropics/anthropic-sdk-typescript/commit/983b13c9e4f55b832fc4fddfd46bed89756d745e))
1574
+
1575
+
1576
+ ### Bug Fixes
1577
+
1578
+ * don't require deno to run build-deno ([#586](https://github.com/anthropics/anthropic-sdk-typescript/issues/586)) ([0e431d6](https://github.com/anthropics/anthropic-sdk-typescript/commit/0e431d61ec318aae09687dee0bfb922ccb8ddd15))
1579
+ * **types:** add missing token-counting-2024-11-01 ([#583](https://github.com/anthropics/anthropic-sdk-typescript/issues/583)) ([13d629c](https://github.com/anthropics/anthropic-sdk-typescript/commit/13d629c9b444a32b69729df7792199556a2b95f2))
1580
+
1581
+
1582
+ ### Chores
1583
+
1584
+ * remove unused build-deno condition ([#585](https://github.com/anthropics/anthropic-sdk-typescript/issues/585)) ([491e8fe](https://github.com/anthropics/anthropic-sdk-typescript/commit/491e8fe28745aeb55217809f94ad4e37900f4675))
1585
+
1586
+ ## 0.31.0 (2024-11-01)
1587
+
1588
+ Full Changelog: [sdk-v0.30.1...sdk-v0.31.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.30.1...sdk-v0.31.0)
1589
+
1590
+ ### Features
1591
+
1592
+ * **api:** add message token counting & PDFs support ([#582](https://github.com/anthropics/anthropic-sdk-typescript/issues/582)) ([b593837](https://github.com/anthropics/anthropic-sdk-typescript/commit/b593837ae2d320414a26b5ec53aa6d3f30a3e6bc))
1593
+
1594
+
1595
+ ### Bug Fixes
1596
+
1597
+ * **countTokens:** correctly set beta header ([1680757](https://github.com/anthropics/anthropic-sdk-typescript/commit/16807572af923831e384869a0a6ccccaa8dbec84))
1598
+ * **internal:** support pnpm git installs ([#579](https://github.com/anthropics/anthropic-sdk-typescript/issues/579)) ([86bb102](https://github.com/anthropics/anthropic-sdk-typescript/commit/86bb102ce33346930a8b0a553a909fcc7d964a36))
1599
+ * **types:** add missing token-counting-2024-11-01 ([aff1546](https://github.com/anthropics/anthropic-sdk-typescript/commit/aff1546cd84ce50a52d17bcdcaba54e60e92955a))
1600
+
1601
+
1602
+ ### Reverts
1603
+
1604
+ * disable isolatedModules and change imports ([#575](https://github.com/anthropics/anthropic-sdk-typescript/issues/575)) ([2c3b176](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c3b176fc551c21abef240b4fa6a98d33ca52048))
1605
+
1606
+
1607
+ ### Chores
1608
+
1609
+ * **internal:** update spec version ([#571](https://github.com/anthropics/anthropic-sdk-typescript/issues/571)) ([5760012](https://github.com/anthropics/anthropic-sdk-typescript/commit/576001245f0b5222cb9b17fafb8619f68d51bec3))
1610
+
1611
+
1612
+ ### Documentation
1613
+
1614
+ * **readme:** minor typo fixes ([#577](https://github.com/anthropics/anthropic-sdk-typescript/issues/577)) ([8412854](https://github.com/anthropics/anthropic-sdk-typescript/commit/8412854c05837cdb8b8ff898bef2a4e0dbb23cd2))
1615
+
1616
+
1617
+ ### Refactors
1618
+
1619
+ * enable isolatedModules and change imports ([#573](https://github.com/anthropics/anthropic-sdk-typescript/issues/573)) ([9068b4b](https://github.com/anthropics/anthropic-sdk-typescript/commit/9068b4b0a0a08a69a9330ce03418135e11aa539e))
1620
+ * use type imports for type-only imports ([#580](https://github.com/anthropics/anthropic-sdk-typescript/issues/580)) ([2c8a337](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c8a337033e850b7282d35b37c3ce36d5b0dabbe))
1621
+
1622
+ ## 0.30.1 (2024-10-23)
1623
+
1624
+ Full Changelog: [sdk-v0.30.0...sdk-v0.30.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.30.0...sdk-v0.30.1)
1625
+
1626
+ ### Bug Fixes
1627
+
1628
+ * **bedrock:** correct messages beta handling ([9b57586](https://github.com/anthropics/anthropic-sdk-typescript/commit/9b57586456221f8900902b8e85c7c017959c150a))
1629
+ * **vertex:** correct messages beta handling ([26f21ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/26f21ee5f524f4cbfb7a97d40aa62553608b1d99))
1630
+
1631
+
1632
+ ### Chores
1633
+
1634
+ * **internal:** bumps eslint and related dependencies ([#570](https://github.com/anthropics/anthropic-sdk-typescript/issues/570)) ([0b3ebb0](https://github.com/anthropics/anthropic-sdk-typescript/commit/0b3ebb01c07356e09f0100c235200ca91384aa6a))
1635
+
1636
+ ## 0.30.0 (2024-10-22)
1637
+
1638
+ Full Changelog: [sdk-v0.29.2...sdk-v0.30.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.29.2...sdk-v0.30.0)
1639
+
1640
+ ### Features
1641
+
1642
+ * **api:** add new model and `computer-use-2024-10-22` beta ([6981d89](https://github.com/anthropics/anthropic-sdk-typescript/commit/6981d89d3efe6ae8d35c7562527a6c81ad8ed78f))
1643
+ * **bedrock:** add beta.messages.create() method ([6317592](https://github.com/anthropics/anthropic-sdk-typescript/commit/63175920a016a2ad187dd1127d263357cf6c007e))
1644
+ * **vertex:** add beta.messages.create() ([22cfdba](https://github.com/anthropics/anthropic-sdk-typescript/commit/22cfdba2a3a54e916f2efcbce62990544d3e5f5f))
1645
+
1646
+
1647
+ ### Bug Fixes
1648
+
1649
+ * **client:** respect x-stainless-retry-count default headers ([#562](https://github.com/anthropics/anthropic-sdk-typescript/issues/562)) ([274573f](https://github.com/anthropics/anthropic-sdk-typescript/commit/274573f5bc74e382302071850dee058ea2920f0c))
1650
+
1651
+
1652
+ ### Chores
1653
+
1654
+ * **api:** add title ([#564](https://github.com/anthropics/anthropic-sdk-typescript/issues/564)) ([a8b7544](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8b7544e56d4a1dfa1f6de530ddaa728ae52c87f))
1655
+ * **internal:** update spec ([#566](https://github.com/anthropics/anthropic-sdk-typescript/issues/566)) ([5b998ea](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b998eaf3216fba2283e7762faa115bd5f47a239))
1656
+
1657
+ ## 0.29.2 (2024-10-17)
1658
+
1659
+ Full Changelog: [sdk-v0.29.1...sdk-v0.29.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.29.1...sdk-v0.29.2)
1660
+
1661
+ ### Bug Fixes
1662
+
1663
+ * **types:** remove misleading betas TypedDict property for the Batch API ([#559](https://github.com/anthropics/anthropic-sdk-typescript/issues/559)) ([4de5d0a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4de5d0a9d0a8733987d13dcef968146620d3b110))
1664
+
1665
+ ## 0.29.1 (2024-10-15)
1666
+
1667
+ Full Changelog: [sdk-v0.29.0...sdk-v0.29.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.29.0...sdk-v0.29.1)
1668
+
1669
+ ### Bug Fixes
1670
+
1671
+ * **beta:** merge betas param with the default value ([#556](https://github.com/anthropics/anthropic-sdk-typescript/issues/556)) ([5520bbc](https://github.com/anthropics/anthropic-sdk-typescript/commit/5520bbccaa75fbab5aa321402637c77651ae3c87))
1672
+
1673
+
1674
+ ### Chores
1675
+
1676
+ * **internal:** update spec URL ([#554](https://github.com/anthropics/anthropic-sdk-typescript/issues/554)) ([1fb6448](https://github.com/anthropics/anthropic-sdk-typescript/commit/1fb64489aa1b13c266692c7d14d2dd9b5350b7fc))
1677
+
1678
+ ## 0.29.0 (2024-10-08)
1679
+
1680
+ Full Changelog: [sdk-v0.28.0...sdk-v0.29.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.28.0...sdk-v0.29.0)
1681
+
1682
+ ### Features
1683
+
1684
+ * **api:** add message batches api ([4f114d5](https://github.com/anthropics/anthropic-sdk-typescript/commit/4f114d5121f5c66619c7bdd18d0aa2b7a627e3ff))
1685
+
1686
+
1687
+ ### Chores
1688
+
1689
+ * **internal:** move LineDecoder to a separate file ([#541](https://github.com/anthropics/anthropic-sdk-typescript/issues/541)) ([fd42469](https://github.com/anthropics/anthropic-sdk-typescript/commit/fd4246928d11347147955ca19efcd4c5b0accb10))
1690
+ * **internal:** pass props through internal parser ([#549](https://github.com/anthropics/anthropic-sdk-typescript/issues/549)) ([dd71955](https://github.com/anthropics/anthropic-sdk-typescript/commit/dd7195501e0419ca1e6bafd7341b0726e8b809ab))
1691
+
1692
+
1693
+ ### Refactors
1694
+
1695
+ * **types:** improve metadata type names ([#547](https://github.com/anthropics/anthropic-sdk-typescript/issues/547)) ([cef499c](https://github.com/anthropics/anthropic-sdk-typescript/commit/cef499cf3b01643f7e5e3c09524f49e198b940be))
1696
+ * **types:** improve metadata types ([#546](https://github.com/anthropics/anthropic-sdk-typescript/issues/546)) ([3fe538b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3fe538bb8cd50e6d68cacc0846f287dc539238d3))
1697
+ * **types:** improve tool type names ([#543](https://github.com/anthropics/anthropic-sdk-typescript/issues/543)) ([18dbe77](https://github.com/anthropics/anthropic-sdk-typescript/commit/18dbe7773781eb3917c9609bf490b515d75e6841))
1698
+ * **types:** improve tool type names ([#544](https://github.com/anthropics/anthropic-sdk-typescript/issues/544)) ([fc2d823](https://github.com/anthropics/anthropic-sdk-typescript/commit/fc2d8230c6fb68e247743ffa82c3ba9f8b989adf))
1699
+
1700
+ ## 0.28.0 (2024-10-04)
1701
+
1702
+ Full Changelog: [sdk-v0.27.3...sdk-v0.28.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.27.3...sdk-v0.28.0)
1703
+
1704
+ ### Features
1705
+
1706
+ * **api:** support disabling parallel tool use ([#540](https://github.com/anthropics/anthropic-sdk-typescript/issues/540)) ([df0032f](https://github.com/anthropics/anthropic-sdk-typescript/commit/df0032f263884190b31a63ddcb20429372617deb))
1707
+ * **client:** allow overriding retry count header ([#536](https://github.com/anthropics/anthropic-sdk-typescript/issues/536)) ([ec11f91](https://github.com/anthropics/anthropic-sdk-typescript/commit/ec11f9189e9a24f413a9d48b21a10ce88e367ac3))
1708
+ * **client:** send retry count header ([#533](https://github.com/anthropics/anthropic-sdk-typescript/issues/533)) ([401b81c](https://github.com/anthropics/anthropic-sdk-typescript/commit/401b81c55c1f998dc917fc268884c162f214df20))
1709
+
1710
+
1711
+ ### Bug Fixes
1712
+
1713
+ * **types:** remove leftover polyfill usage ([#532](https://github.com/anthropics/anthropic-sdk-typescript/issues/532)) ([ac188b2](https://github.com/anthropics/anthropic-sdk-typescript/commit/ac188b29670d409c15e740bca26f8ef488cb7d05))
1714
+
1715
+
1716
+ ### Chores
1717
+
1718
+ * better object fallback behaviour for casting errors ([#503](https://github.com/anthropics/anthropic-sdk-typescript/issues/503)) ([3660e97](https://github.com/anthropics/anthropic-sdk-typescript/commit/3660e977e7127b10446b24b0a76b0133b3f666de))
1719
+ * better object fallback behaviour for casting errors ([#526](https://github.com/anthropics/anthropic-sdk-typescript/issues/526)) ([4ffb2e4](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ffb2e4e1f5fef3ae58d9f4c99a63e75dd459c5b))
1720
+ * **internal:** add dev dependency ([#531](https://github.com/anthropics/anthropic-sdk-typescript/issues/531)) ([a9c127b](https://github.com/anthropics/anthropic-sdk-typescript/commit/a9c127b2854d0cf7efd49e7d46ff10fe52372949))
1721
+
1722
+
1723
+ ### Documentation
1724
+
1725
+ * improve and reference contributing documentation ([#539](https://github.com/anthropics/anthropic-sdk-typescript/issues/539)) ([cbef925](https://github.com/anthropics/anthropic-sdk-typescript/commit/cbef925519c63f09626ea7aa61ab8ba9d36bc35d))
1726
+ * update CONTRIBUTING.md ([#528](https://github.com/anthropics/anthropic-sdk-typescript/issues/528)) ([2609dec](https://github.com/anthropics/anthropic-sdk-typescript/commit/2609dec770d33b828c957e431f2d03871e67e629))
1727
+
1728
+ ## 0.27.3 (2024-09-09)
1729
+
1730
+ Full Changelog: [sdk-v0.27.2...sdk-v0.27.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.27.2...sdk-v0.27.3)
1731
+
1732
+ ### Bug Fixes
1733
+
1734
+ * **streaming:** correct error message serialisation ([#524](https://github.com/anthropics/anthropic-sdk-typescript/issues/524)) ([e150fa4](https://github.com/anthropics/anthropic-sdk-typescript/commit/e150fa47d0cd4cbbe1269e3971085d4a434fc3ba))
1735
+ * **uploads:** avoid making redundant memory copies ([#520](https://github.com/anthropics/anthropic-sdk-typescript/issues/520)) ([b6d2638](https://github.com/anthropics/anthropic-sdk-typescript/commit/b6d2638387612def84cebac2dedd5fbbea776d09))
1736
+
1737
+
1738
+ ### Chores
1739
+
1740
+ * **docs:** update browser support information ([#522](https://github.com/anthropics/anthropic-sdk-typescript/issues/522)) ([ce7aeb5](https://github.com/anthropics/anthropic-sdk-typescript/commit/ce7aeb59ccba4e4d19cb9aa88d7055fb585865ae))
1741
+
1742
+ ## 0.27.2 (2024-09-04)
1743
+
1744
+ Full Changelog: [sdk-v0.27.1...sdk-v0.27.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.27.1...sdk-v0.27.2)
1745
+
1746
+ ### Bug Fixes
1747
+
1748
+ * **client:** correct File construction from node-fetch Responses ([#518](https://github.com/anthropics/anthropic-sdk-typescript/issues/518)) ([62ae46f](https://github.com/anthropics/anthropic-sdk-typescript/commit/62ae46fb1e1b360850aafc9e935411c9b7d1c3bb))
1749
+
1750
+
1751
+ ### Chores
1752
+
1753
+ * **api:** deprecate claude-1 models ([53644d2](https://github.com/anthropics/anthropic-sdk-typescript/commit/53644d2690e62623afc04383cad0126f98ea37e8))
1754
+ * **ci:** install deps via ./script/bootstrap ([#515](https://github.com/anthropics/anthropic-sdk-typescript/issues/515)) ([90a8da1](https://github.com/anthropics/anthropic-sdk-typescript/commit/90a8da1dc937e9aea9fdf6862c3ddb414b39963a))
1755
+ * **internal:** dependency updates ([#519](https://github.com/anthropics/anthropic-sdk-typescript/issues/519)) ([b7b0cd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7b0cd6579cd987662e7118f8563f68c0903f8da))
1756
+ * run tsc as part of lint script ([#513](https://github.com/anthropics/anthropic-sdk-typescript/issues/513)) ([c8127cf](https://github.com/anthropics/anthropic-sdk-typescript/commit/c8127cfa3bdd1370934fe122018e20fc659a4dbb))
1757
+
1758
+ ## 0.27.1 (2024-08-27)
1759
+
1760
+ Full Changelog: [sdk-v0.27.0...sdk-v0.27.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.27.0...sdk-v0.27.1)
1761
+
1762
+ ### Chores
1763
+
1764
+ * **ci:** check for build errors ([#511](https://github.com/anthropics/anthropic-sdk-typescript/issues/511)) ([3ab1d3d](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ab1d3d936f5ba3500f2ce87012c38bd198c3cbd))
1765
+
1766
+ ## 0.27.0 (2024-08-21)
1767
+
1768
+ Full Changelog: [sdk-v0.26.1...sdk-v0.27.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.26.1...sdk-v0.27.0)
1769
+
1770
+ ### Features
1771
+
1772
+ * **client:** add support for browser usage ([#504](https://github.com/anthropics/anthropic-sdk-typescript/issues/504)) ([93c5f16](https://github.com/anthropics/anthropic-sdk-typescript/commit/93c5f16b4b8c3404bd67d6eb5a0556a8b0a5d027))
1773
+
1774
+
1775
+ ### Documentation
1776
+
1777
+ * **readme:** update formatting and clarity for CORS flag ([9cb2c35](https://github.com/anthropics/anthropic-sdk-typescript/commit/9cb2c35f92827eb8654b1669db5ba702770fcae4))
1778
+
1779
+ ## 0.26.1 (2024-08-15)
1780
+
1781
+ Full Changelog: [sdk-v0.26.0...sdk-v0.26.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.26.0...sdk-v0.26.1)
1782
+
1783
+ ### Chores
1784
+
1785
+ * **ci:** add CODEOWNERS file ([#498](https://github.com/anthropics/anthropic-sdk-typescript/issues/498)) ([c34433f](https://github.com/anthropics/anthropic-sdk-typescript/commit/c34433fb6528fdd00d189ea0a3b177d95c7c7fa9))
1786
+ * **docs/api:** update prompt caching helpers ([04195a3](https://github.com/anthropics/anthropic-sdk-typescript/commit/04195a345d62c98f826e5eecdad20f497db5b3e5))
1787
+
1788
+ ## 0.26.0 (2024-08-14)
1789
+
1790
+ Full Changelog: [sdk-v0.25.2...sdk-v0.26.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.25.2...sdk-v0.26.0)
1791
+
1792
+ ### Features
1793
+
1794
+ * **api:** add prompt caching beta ([c920b77](https://github.com/anthropics/anthropic-sdk-typescript/commit/c920b77fc67bd839bfeb6716ceab9d7c9bbe7393))
1795
+ * **client:** add streaming helpers ([39abc26](https://github.com/anthropics/anthropic-sdk-typescript/commit/39abc2635517d564ac8b7e63235f0a338fc4bed0))
1796
+
1797
+
1798
+ ### Chores
1799
+
1800
+ * **examples:** minor formatting changes ([#491](https://github.com/anthropics/anthropic-sdk-typescript/issues/491)) ([8afef58](https://github.com/anthropics/anthropic-sdk-typescript/commit/8afef584895ffa3f8382c98d2c0a3fc6138e9420))
1801
+
1802
+ ## 0.25.2 (2024-08-12)
1803
+
1804
+ Full Changelog: [sdk-v0.25.1...sdk-v0.25.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.25.1...sdk-v0.25.2)
1805
+
1806
+ ### Chores
1807
+
1808
+ * **ci:** bump prism mock server version ([#490](https://github.com/anthropics/anthropic-sdk-typescript/issues/490)) ([bfb27f5](https://github.com/anthropics/anthropic-sdk-typescript/commit/bfb27f54c9b4ff4f9ae06327db454f72431b5bf4))
1809
+ * **ci:** minor changes ([#488](https://github.com/anthropics/anthropic-sdk-typescript/issues/488)) ([747fd97](https://github.com/anthropics/anthropic-sdk-typescript/commit/747fd973af594cc52f244b33f31bcf8079733e7d))
1810
+
1811
+ ## 0.25.1 (2024-08-09)
1812
+
1813
+ Full Changelog: [sdk-v0.25.0...sdk-v0.25.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.25.0...sdk-v0.25.1)
1814
+
1815
+ ### Chores
1816
+
1817
+ * **internal:** update publish npm script ([#483](https://github.com/anthropics/anthropic-sdk-typescript/issues/483)) ([fb862ff](https://github.com/anthropics/anthropic-sdk-typescript/commit/fb862ff18be308ff710a2f97716f0ad1a62b9fbd))
1818
+ * **internal:** updates ([#487](https://github.com/anthropics/anthropic-sdk-typescript/issues/487)) ([67a3325](https://github.com/anthropics/anthropic-sdk-typescript/commit/67a3325aa05c5a19f06b0cb1e67517168427c300))
1819
+ * sync openapi version ([#481](https://github.com/anthropics/anthropic-sdk-typescript/issues/481)) ([5fd7e21](https://github.com/anthropics/anthropic-sdk-typescript/commit/5fd7e219732a4483c2edd9a812049569b31943c4))
1820
+ * sync openapi version ([#485](https://github.com/anthropics/anthropic-sdk-typescript/issues/485)) ([e74c522](https://github.com/anthropics/anthropic-sdk-typescript/commit/e74c522989cfb979ca916e416c7c14a349b32ef5))
1821
+ * sync openapi version ([#486](https://github.com/anthropics/anthropic-sdk-typescript/issues/486)) ([ad98e9e](https://github.com/anthropics/anthropic-sdk-typescript/commit/ad98e9eca5db4f5a04bf8c26e4c53050985cec33))
1822
+
1823
+ ## 0.25.0 (2024-07-29)
1824
+
1825
+ Full Changelog: [sdk-v0.24.3...sdk-v0.25.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.24.3...sdk-v0.25.0)
1826
+
1827
+ ### Features
1828
+
1829
+ * add back compat alias for InputJsonDelta ([8b08161](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b081613a50821b8dfa8a1251d42337a20607411))
1830
+ * **client:** make request-id header more accessible ([#462](https://github.com/anthropics/anthropic-sdk-typescript/issues/462)) ([5ea6f8b](https://github.com/anthropics/anthropic-sdk-typescript/commit/5ea6f8be0696e3753d8624f72328a5cba3a86056))
1831
+
1832
+
1833
+ ### Bug Fixes
1834
+
1835
+ * **compat:** remove ReadableStream polyfill redundant since node v16 ([#478](https://github.com/anthropics/anthropic-sdk-typescript/issues/478)) ([75f5710](https://github.com/anthropics/anthropic-sdk-typescript/commit/75f5710d57e6f72b6770d32d9c6dd71bbfb43d85))
1836
+ * use relative paths ([#475](https://github.com/anthropics/anthropic-sdk-typescript/issues/475)) ([a8ca93c](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8ca93cc40464dc76118f7dd72e94c52693f3d63))
1837
+
1838
+
1839
+ ### Chores
1840
+
1841
+ * **bedrock:** use `chunk` for internal SSE parsing instead of `completion` ([#472](https://github.com/anthropics/anthropic-sdk-typescript/issues/472)) ([0f6190a](https://github.com/anthropics/anthropic-sdk-typescript/commit/0f6190a69d8986ac3779441eba43d345ec3fb342))
1842
+ * **ci:** also run workflows for PRs targeting `next` ([#464](https://github.com/anthropics/anthropic-sdk-typescript/issues/464)) ([cc405a8](https://github.com/anthropics/anthropic-sdk-typescript/commit/cc405a8cc4ea26389b9d857d75818722d0bcbfcd))
1843
+ * **docs:** fix incorrect client var names ([#479](https://github.com/anthropics/anthropic-sdk-typescript/issues/479)) ([a247935](https://github.com/anthropics/anthropic-sdk-typescript/commit/a247935a86b87b90209f493921661d20c9bc6457))
1844
+ * **docs:** mention lack of support for web browser runtimes ([#468](https://github.com/anthropics/anthropic-sdk-typescript/issues/468)) ([968a7fb](https://github.com/anthropics/anthropic-sdk-typescript/commit/968a7fbb6cb779d17d9f6c485c0b61f241e327bc))
1845
+ * **docs:** minor update to formatting of API link in README ([#467](https://github.com/anthropics/anthropic-sdk-typescript/issues/467)) ([50b9f2b](https://github.com/anthropics/anthropic-sdk-typescript/commit/50b9f2b0c3feb4707af2b9e5f006a3f726782803))
1846
+ * **docs:** rename anthropic const to client ([#471](https://github.com/anthropics/anthropic-sdk-typescript/issues/471)) ([e1a7f9f](https://github.com/anthropics/anthropic-sdk-typescript/commit/e1a7f9f813077fb033c732c004c7bda85738a321))
1847
+ * **docs:** use client instead of package name in Node examples ([#469](https://github.com/anthropics/anthropic-sdk-typescript/issues/469)) ([8961ebf](https://github.com/anthropics/anthropic-sdk-typescript/commit/8961ebf54bbab898667119c8d9551e33a4de6846))
1848
+ * **internal:** add constant for default timeout ([#480](https://github.com/anthropics/anthropic-sdk-typescript/issues/480)) ([dc89753](https://github.com/anthropics/anthropic-sdk-typescript/commit/dc897537789c6b4bc31ee8238aad8ffaaa65df5e))
1849
+ * **internal:** minor changes to tests ([#465](https://github.com/anthropics/anthropic-sdk-typescript/issues/465)) ([c1fd563](https://github.com/anthropics/anthropic-sdk-typescript/commit/c1fd563693bd354a81e0ae55c7355144f06b7f0b))
1850
+ * **internal:** remove old reference to check-test-server ([8dc9afc](https://github.com/anthropics/anthropic-sdk-typescript/commit/8dc9afcf00c4a38c2d85171ebceafc5f6a47c117))
1851
+ * sync spec ([#470](https://github.com/anthropics/anthropic-sdk-typescript/issues/470)) ([b493aa4](https://github.com/anthropics/anthropic-sdk-typescript/commit/b493aa49d3d6e67be22c3e8255dd4286e6bbcdeb))
1852
+ * **tests:** update prism version ([#473](https://github.com/anthropics/anthropic-sdk-typescript/issues/473)) ([6f21ecf](https://github.com/anthropics/anthropic-sdk-typescript/commit/6f21ecfd781d04a7dc83641f069bb38d5584a320))
1853
+
1854
+
1855
+ ### Refactors
1856
+
1857
+ * extract model out to a named type and rename partialjson ([#477](https://github.com/anthropics/anthropic-sdk-typescript/issues/477)) ([d2d4e36](https://github.com/anthropics/anthropic-sdk-typescript/commit/d2d4e36b995cc84e8a3a7c64eb614011df399c5e))
1858
+
1859
+ ## 0.24.3 (2024-07-01)
1860
+
1861
+ Full Changelog: [sdk-v0.24.2...sdk-v0.24.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.24.2...sdk-v0.24.3)
1862
+
1863
+ ### Bug Fixes
1864
+
1865
+ * **types:** avoid errors on certain TS versions ([dd6aca5](https://github.com/anthropics/anthropic-sdk-typescript/commit/dd6aca56e58d52f09e67e227cccbf273b92adb13))
1866
+
1867
+ ## 0.24.2 (2024-06-28)
1868
+
1869
+ Full Changelog: [sdk-v0.24.1...sdk-v0.24.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.24.1...sdk-v0.24.2)
1870
+
1871
+ ### Bug Fixes
1872
+
1873
+ * **partial-json:** don't error on unknown tokens ([d212ce1](https://github.com/anthropics/anthropic-sdk-typescript/commit/d212ce152ca0b8846e7891636ad4ba287da50958))
1874
+ * **partial-json:** handle `null` token properly ([f53742f](https://github.com/anthropics/anthropic-sdk-typescript/commit/f53742f497a33b8f0639a63cec828d430a19cb27))
1875
+
1876
+
1877
+ ### Chores
1878
+
1879
+ * gitignore test server logs ([#451](https://github.com/anthropics/anthropic-sdk-typescript/issues/451)) ([ee1308f](https://github.com/anthropics/anthropic-sdk-typescript/commit/ee1308f74e5544ed0ce53bfd14ca49d0f03bcffb))
1880
+ * **tests:** add unit tests for partial-json-parser ([4fb3bea](https://github.com/anthropics/anthropic-sdk-typescript/commit/4fb3bea74538823c8ab359048f823029d4716277))
1881
+
1882
+ ## 0.24.1 (2024-06-25)
1883
+
1884
+ Full Changelog: [sdk-v0.24.0...sdk-v0.24.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.24.0...sdk-v0.24.1)
1885
+
1886
+ ### Bug Fixes
1887
+
1888
+ * **api:** add string to tool result block ([#448](https://github.com/anthropics/anthropic-sdk-typescript/issues/448)) ([87af4e9](https://github.com/anthropics/anthropic-sdk-typescript/commit/87af4e9280923ac73295f9b32086f82c2ed0c6f2))
1889
+
1890
+
1891
+ ### Chores
1892
+
1893
+ * **internal:** minor reformatting ([#444](https://github.com/anthropics/anthropic-sdk-typescript/issues/444)) ([46790bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/46790bb462db01ae1725e120f2bdca0a89c8f722))
1894
+ * **internal:** replace deprecated aws-sdk packages with [@smithy](https://github.com/smithy) ([#447](https://github.com/anthropics/anthropic-sdk-typescript/issues/447)) ([4328cbf](https://github.com/anthropics/anthropic-sdk-typescript/commit/4328cbf9e64f8bfc9b95a9048b18729c9a938ba5))
1895
+
1896
+ ## 0.24.0 (2024-06-20)
1897
+
1898
+ Full Changelog: [sdk-v0.23.0...sdk-v0.24.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.23.0...sdk-v0.24.0)
1899
+
1900
+ ### Features
1901
+
1902
+ * **api:** add new claude-3-5-sonnet-20240620 model ([#438](https://github.com/anthropics/anthropic-sdk-typescript/issues/438)) ([8d60d1b](https://github.com/anthropics/anthropic-sdk-typescript/commit/8d60d1b6fb14988a2257727a1aaab9fbc8f75be3))
1903
+
1904
+ ## 0.23.0 (2024-06-14)
1905
+
1906
+ Full Changelog: [sdk-v0.22.0...sdk-v0.23.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.22.0...sdk-v0.23.0)
1907
+
1908
+ ### Features
1909
+
1910
+ * support `application/octet-stream` request bodies ([#436](https://github.com/anthropics/anthropic-sdk-typescript/issues/436)) ([3a8e6ed](https://github.com/anthropics/anthropic-sdk-typescript/commit/3a8e6ed7cc057b77fabeaf8f774f6231836022d7))
1911
+
1912
+
1913
+ ### Bug Fixes
1914
+
1915
+ * allow git imports for pnpm ([#433](https://github.com/anthropics/anthropic-sdk-typescript/issues/433)) ([a4f5263](https://github.com/anthropics/anthropic-sdk-typescript/commit/a4f5263692aea74fbf91d0591958aca16c820e00))
1916
+
1917
+ ## 0.22.0 (2024-05-30)
1918
+
1919
+ Full Changelog: [sdk-v0.21.1...sdk-v0.22.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.21.1...sdk-v0.22.0)
1920
+
1921
+ ### Features
1922
+
1923
+ * **api/types:** add stream event type aliases with a Raw prefix ([#428](https://github.com/anthropics/anthropic-sdk-typescript/issues/428)) ([1e367e4](https://github.com/anthropics/anthropic-sdk-typescript/commit/1e367e4020fa4691c565c89bdfba40c2f6060871))
1924
+ * **api:** tool use is GA and available on 3P ([#429](https://github.com/anthropics/anthropic-sdk-typescript/issues/429)) ([2decf85](https://github.com/anthropics/anthropic-sdk-typescript/commit/2decf85e7471932dad98c21d4ed2d476ab1588a6))
1925
+ * **bedrock:** support tools ([91fc61a](https://github.com/anthropics/anthropic-sdk-typescript/commit/91fc61ae7246705d26e96a95dae38b46e9ad9290))
1926
+ * **streaming:** add tools support ([4c83bb1](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c83bb111735cd513c09d5ed57a5cb0888534afd))
1927
+ * **vertex:** support tools ([acf0aa7](https://github.com/anthropics/anthropic-sdk-typescript/commit/acf0aa7571425c8582740616e24883c2ec65218b))
1928
+
1929
+
1930
+ ### Documentation
1931
+
1932
+ * **helpers:** mention inputJson event ([0ef0e39](https://github.com/anthropics/anthropic-sdk-typescript/commit/0ef0e39a870541bbe800b03c1bdcf88eb6e1350c))
1933
+ * **readme:** add bundle size badge ([#426](https://github.com/anthropics/anthropic-sdk-typescript/issues/426)) ([bf7c1fd](https://github.com/anthropics/anthropic-sdk-typescript/commit/bf7c1fdaf3476d5c43079e8a0789ed0dd0c807a6))
1934
+
1935
+ ## 0.21.1 (2024-05-21)
1936
+
1937
+ Full Changelog: [sdk-v0.21.0...sdk-v0.21.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.21.0...sdk-v0.21.1)
1938
+
1939
+ ### Chores
1940
+
1941
+ * **docs:** fix typo ([#423](https://github.com/anthropics/anthropic-sdk-typescript/issues/423)) ([d42f458](https://github.com/anthropics/anthropic-sdk-typescript/commit/d42f45820347171bd456b0038406a53b098a4fa2))
1942
+ * **internal:** run build script over sub-packages ([6f04f66](https://github.com/anthropics/anthropic-sdk-typescript/commit/6f04f6689603ef5a59ce15f490d74392241694c3))
1943
+
1944
+ ## 0.21.0 (2024-05-16)
1945
+
1946
+ Full Changelog: [sdk-v0.20.9...sdk-v0.21.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.9...sdk-v0.21.0)
1947
+
1948
+ ### Features
1949
+
1950
+ * **api:** add `tool_choice` param, image block params inside `tool_result.content`, and streaming for `tool_use` blocks ([#418](https://github.com/anthropics/anthropic-sdk-typescript/issues/418)) ([421a1e6](https://github.com/anthropics/anthropic-sdk-typescript/commit/421a1e6f53cbb2f440e3668be3e13475976eebbf))
1951
+
1952
+
1953
+ ### Chores
1954
+
1955
+ * **docs:** add SECURITY.md ([#411](https://github.com/anthropics/anthropic-sdk-typescript/issues/411)) ([bf2ad84](https://github.com/anthropics/anthropic-sdk-typescript/commit/bf2ad8496d97de46b28575dfa37fa9cf15341eb4))
1956
+ * **internal:** add slightly better logging to scripts ([#415](https://github.com/anthropics/anthropic-sdk-typescript/issues/415)) ([7a042d2](https://github.com/anthropics/anthropic-sdk-typescript/commit/7a042d2dd5a5e310f15c02277c7f7a19e9772872))
1957
+ * **internal:** fix generated version numbers ([#413](https://github.com/anthropics/anthropic-sdk-typescript/issues/413)) ([ea77063](https://github.com/anthropics/anthropic-sdk-typescript/commit/ea770630897bb85caaecd39bccf478e4dd3f169c))
1958
+
1959
+ ## 0.20.9 (2024-05-07)
1960
+
1961
+ 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)
1962
+
1963
+ ### Bug Fixes
1964
+
1965
+ * **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))
1966
+
1967
+
1968
+ ### Chores
1969
+
1970
+ * **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))
1971
+ * **internal:** bump prism version ([#407](https://github.com/anthropics/anthropic-sdk-typescript/issues/407)) ([0c1eb5d](https://github.com/anthropics/anthropic-sdk-typescript/commit/0c1eb5d5c500ea95fbf9a5ccce37c74170c6a84f))
1972
+ * **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))
1973
+ * **internal:** refactor scripts ([#404](https://github.com/anthropics/anthropic-sdk-typescript/issues/404)) ([f60e2d8](https://github.com/anthropics/anthropic-sdk-typescript/commit/f60e2d81bb241063507d2d7e728c78e78c1c5e51))
1974
+
1975
+ ## 0.20.8 (2024-04-29)
1976
+
1977
+ 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)
1978
+
1979
+ ### Chores
1980
+
1981
+ * **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))
1982
+ * **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))
1983
+
1984
+ ## 0.20.7 (2024-04-24)
1985
+
1986
+ 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)
1987
+
1988
+ ### Chores
1989
+
1990
+ * **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))
1991
+
1992
+ ## 0.20.6 (2024-04-17)
1993
+
1994
+ 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)
1995
+
1996
+ ### Build System
1997
+
1998
+ * 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))
1999
+
2000
+ ## 0.20.5 (2024-04-15)
2001
+
2002
+ 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)
2003
+
2004
+ ### Chores
2005
+
2006
+ * **internal:** formatting ([#390](https://github.com/anthropics/anthropic-sdk-typescript/issues/390)) ([b7861b9](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7861b940dc9c1c21eb6edf3bac8d1d62d2d372f))
2007
+
2008
+ ## 0.20.4 (2024-04-11)
2009
+
2010
+ 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)
2011
+
2012
+ ### Chores
2013
+
2014
+ * **internal:** update gitignore ([#388](https://github.com/anthropics/anthropic-sdk-typescript/issues/388)) ([03f03a2](https://github.com/anthropics/anthropic-sdk-typescript/commit/03f03a22532680a3b9bbd2e49116ef760b07a498))
2015
+
2016
+ ## 0.20.3 (2024-04-10)
2017
+
2018
+ 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)
2019
+
2020
+ ### Bug Fixes
2021
+
2022
+ * **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))
2023
+
2024
+ ## 0.20.2 (2024-04-09)
2025
+
2026
+ 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)
2027
+
2028
+ ### Chores
2029
+
2030
+ * **internal:** update lock files ([#377](https://github.com/anthropics/anthropic-sdk-typescript/issues/377)) ([6d239ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d239efaca730baba374a1b49f6b1a4037b3e163))
2031
+
2032
+ ## 0.20.1 (2024-04-04)
2033
+
2034
+ 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)
2035
+
2036
+ ### Documentation
2037
+
2038
+ * **readme:** mention tool use ([#375](https://github.com/anthropics/anthropic-sdk-typescript/issues/375)) ([72356dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/72356dd9c498344074c292ffdab602d54c4fa13e))
2039
+
2040
+ ## 0.20.0 (2024-04-04)
2041
+
2042
+ 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)
2043
+
2044
+ ### Features
2045
+
2046
+ * **api:** tool use beta ([#374](https://github.com/anthropics/anthropic-sdk-typescript/issues/374)) ([e28514a](https://github.com/anthropics/anthropic-sdk-typescript/commit/e28514a305908f71e98bc33123bc99ed6bf7348f))
2047
+
2048
+
2049
+ ### Bug Fixes
2050
+
2051
+ * **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))
2052
+
2053
+
2054
+ ### Chores
2055
+
2056
+ * **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))
2057
+
2058
+ ## 0.19.2 (2024-04-04)
2059
+
2060
+ 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)
2061
+
2062
+ ### Bug Fixes
2063
+
2064
+ * **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))
2065
+
2066
+
2067
+ ### Chores
2068
+
2069
+ * **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))
2070
+ * **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))
2071
+
2072
+
2073
+ ### Documentation
2074
+
2075
+ * **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))
2076
+
2077
+ ## 0.19.1 (2024-03-29)
2078
+
2079
+ 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)
2080
+
2081
+ ### Bug Fixes
2082
+
2083
+ * **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))
2084
+ * 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))
2085
+ * **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))
2086
+ * **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))
2087
+
2088
+
2089
+ ### Chores
2090
+
2091
+ * **internal:** add type ([#359](https://github.com/anthropics/anthropic-sdk-typescript/issues/359)) ([9456414](https://github.com/anthropics/anthropic-sdk-typescript/commit/945641467deffb674f762920955c98d10f287c8e))
2092
+
2093
+
2094
+ ### Documentation
2095
+
2096
+ * **bedrock:** fix dead link ([#356](https://github.com/anthropics/anthropic-sdk-typescript/issues/356)) ([a953e00](https://github.com/anthropics/anthropic-sdk-typescript/commit/a953e0070698f3238b728ffe06a056a9f2d6b7ff))
2097
+ * **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))
2098
+ * **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))
2099
+
2100
+ ## 0.19.0 (2024-03-19)
2101
+
2102
+ 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)
2103
+
2104
+ ### Features
2105
+
2106
+ * **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))
2107
+ * **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))
2108
+
2109
+
2110
+ ### Bug Fixes
2111
+
2112
+ * **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))
2113
+
2114
+
2115
+ ### Chores
2116
+
2117
+ * **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))
2118
+
2119
+
2120
+ ### Documentation
2121
+
2122
+ * 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))
2123
+
2124
+ ## 0.18.0 (2024-03-13)
2125
+
2126
+ 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)
2127
+
2128
+ ### Features
2129
+
2130
+ * **api:** add haiku model ([#333](https://github.com/anthropics/anthropic-sdk-typescript/issues/333)) ([11becc6](https://github.com/anthropics/anthropic-sdk-typescript/commit/11becc64a8b07b353835678e063a70e3a0bd85e3))
2131
+
2132
+
2133
+ ### Documentation
2134
+
2135
+ * 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))
2136
+
2137
+ ## 0.17.2 (2024-03-12)
2138
+
2139
+ 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)
2140
+
2141
+ ### Chores
2142
+
2143
+ * **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))
2144
+
2145
+ ## 0.17.1 (2024-03-06)
2146
+
2147
+ 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)
2148
+
2149
+ ### Documentation
2150
+
2151
+ * 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))
2152
+ * 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))
2153
+
2154
+ ## 0.17.0 (2024-03-06)
2155
+
2156
+ 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)
2157
+
2158
+ ### Features
2159
+
2160
+ * **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))
2161
+
2162
+
2163
+ ### Bug Fixes
2164
+
2165
+ * **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))
2166
+
2167
+
2168
+ ### Chores
2169
+
2170
+ * **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))
2171
+
2172
+
2173
+ ### Documentation
2174
+
2175
+ * **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))
2176
+ * **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))
2177
+
2178
+ ## 0.16.1 (2024-03-04)
2179
+
2180
+ 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)
2181
+
2182
+ ### Chores
2183
+
2184
+ * 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))
2185
+
2186
+
2187
+ ### Documentation
2188
+
2189
+ * **readme:** reference bedrock sdk ([#309](https://github.com/anthropics/anthropic-sdk-typescript/issues/309)) ([0fd0416](https://github.com/anthropics/anthropic-sdk-typescript/commit/0fd041617eca18dd506efffe5a4e2505dd1aa004))
2190
+
2191
+ ## 0.16.0 (2024-03-04)
2192
+
2193
+ 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)
2194
+
2195
+ ### Features
2196
+
2197
+ * **bedrock:** add messages API ([#305](https://github.com/anthropics/anthropic-sdk-typescript/issues/305)) ([8b7f89e](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b7f89e1e60416f9ad5b575d43238a4259654395))
2198
+
2199
+
2200
+ ### Chores
2201
+
2202
+ * update examples ([459956a](https://github.com/anthropics/anthropic-sdk-typescript/commit/459956ac44b5a2fd1dd0d0828e0281875b5900e9))
2203
+
2204
+ ## 0.15.0 (2024-03-04)
2205
+
2206
+ 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)
2207
+
2208
+ ### Features
2209
+
2210
+ * **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))
2211
+
2212
+
2213
+ ### Bug Fixes
2214
+
2215
+ * **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))
2216
+
2217
+
2218
+ ### Chores
2219
+
2220
+ * **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))
2221
+ * **internal:** update deps ([#296](https://github.com/anthropics/anthropic-sdk-typescript/issues/296)) ([8804a92](https://github.com/anthropics/anthropic-sdk-typescript/commit/8804a92e3c873d712cac75089af0e82104e6381c))
2222
+
2223
+
2224
+ ### Documentation
2225
+
2226
+ * **contributing:** improve wording ([#299](https://github.com/anthropics/anthropic-sdk-typescript/issues/299)) ([7697fa1](https://github.com/anthropics/anthropic-sdk-typescript/commit/7697fa1a3b680015c55ed715a1496c727630a3dc))
2227
+ * **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))
2228
+
2229
+ ## 0.14.1 (2024-02-22)
2230
+
2231
+ 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)
2232
+
2233
+ ### Chores
2234
+
2235
+ * **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))
2236
+ * **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))
2237
+ * **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))
2238
+
2239
+
2240
+ ### Documentation
2241
+
2242
+ * **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))
2243
+
2244
+
2245
+ ### Refactors
2246
+
2247
+ * **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))
2248
+
2249
+ ## 0.14.0 (2024-02-13)
2250
+
2251
+ 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)
2252
+
2253
+ ### ⚠ BREAKING CHANGES
2254
+
2255
+ * **api:** messages is generally available ([#287](https://github.com/anthropics/anthropic-sdk-typescript/issues/287))
2256
+
2257
+ ### Features
2258
+
2259
+ * **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))
2260
+
2261
+ ## 0.13.1 (2024-02-07)
2262
+
2263
+ 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)
2264
+
2265
+ ### Chores
2266
+
2267
+ * **internal:** reformat pacakge.json ([#284](https://github.com/anthropics/anthropic-sdk-typescript/issues/284)) ([3760c68](https://github.com/anthropics/anthropic-sdk-typescript/commit/3760c68f207b596261da336cbe62b4b84fb1763f))
2268
+ * 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))
2269
+
2270
+ ## 0.13.0 (2024-02-02)
2271
+
2272
+ 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)
2273
+
2274
+ ### Features
2275
+
2276
+ * **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))
2277
+
2278
+
2279
+ ### Chores
2280
+
2281
+ * **package:** fix formatting ([#283](https://github.com/anthropics/anthropic-sdk-typescript/issues/283)) ([f88579a](https://github.com/anthropics/anthropic-sdk-typescript/commit/f88579a0768e0a7d5064eec9e1dd79e86c66bce7))
2282
+
2283
+ ## 0.12.8 (2024-02-02)
2284
+
2285
+ 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)
2286
+
2287
+ ### Chores
2288
+
2289
+ * **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))
2290
+ * **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))
2291
+
2292
+
2293
+ ### Documentation
2294
+
2295
+ * add a CONTRIBUTING.md ([#280](https://github.com/anthropics/anthropic-sdk-typescript/issues/280)) ([5b53551](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b535512f2eacdb9f2fef795c85f2d2aaeedaea3))
2296
+
2297
+ ## 0.12.7 (2024-01-31)
2298
+
2299
+ 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)
2300
+
2301
+ ### Chores
2302
+
2303
+ * **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))
2304
+ * **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))
2305
+
2306
+ ## 0.12.6 (2024-01-30)
2307
+
2308
+ 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)
2309
+
2310
+ ### Chores
2311
+
2312
+ * **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))
2313
+
2314
+ ## 0.12.5 (2024-01-25)
2315
+
2316
+ 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)
2317
+
2318
+ ### Chores
2319
+
2320
+ * **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))
2321
+ * **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))
2322
+
2323
+ ## 0.12.4 (2024-01-23)
2324
+
2325
+ 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)
2326
+
2327
+ ### Chores
2328
+
2329
+ * **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))
2330
+ * **internal:** minor streaming updates ([#264](https://github.com/anthropics/anthropic-sdk-typescript/issues/264)) ([d4414ff](https://github.com/anthropics/anthropic-sdk-typescript/commit/d4414ffeafbc47769b91c4b2681f130b46d1a7c1))
2331
+ * **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))
2332
+
2333
+ ## 0.12.3 (2024-01-19)
2334
+
2335
+ Full Changelog: [v0.12.2...v0.12.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.2...v0.12.3)
2336
+
2337
+ ### Bug Fixes
2338
+
2339
+ * 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))
2340
+
2341
+ ## 0.12.2 (2024-01-18)
2342
+
2343
+ Full Changelog: [v0.12.1...v0.12.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.1...v0.12.2)
2344
+
2345
+ ### Bug Fixes
2346
+
2347
+ * **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))
2348
+ * **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))
2349
+ * 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))
2350
+
2351
+
2352
+ ### Chores
2353
+
2354
+ * **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))
2355
+ * **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))
2356
+
2357
+
2358
+ ### Documentation
2359
+
2360
+ * 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))
2361
+ * **readme:** improve api reference ([#254](https://github.com/anthropics/anthropic-sdk-typescript/issues/254)) ([3721927](https://github.com/anthropics/anthropic-sdk-typescript/commit/3721927e895d42c167e2464f30f7f2addb690ec6))
2362
+
2363
+ ## 0.12.1 (2024-01-08)
2364
+
2365
+ Full Changelog: [v0.12.0...v0.12.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.0...v0.12.1)
2366
+
2367
+ ### Bug Fixes
2368
+
2369
+ * **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))
2370
+
2371
+
2372
+ ### Chores
2373
+
2374
+ * 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))
2375
+ * **internal:** improve type signatures ([#247](https://github.com/anthropics/anthropic-sdk-typescript/issues/247)) ([40edd29](https://github.com/anthropics/anthropic-sdk-typescript/commit/40edd299a83f1f60e973080d1fa84f6f42752663))
2376
+
2377
+ ## 0.12.0 (2023-12-21)
2378
+
2379
+ Full Changelog: [v0.11.0...v0.12.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.11.0...v0.12.0)
2380
+
2381
+ ### ⚠ BREAKING CHANGES
2382
+
2383
+ * remove anthropic-beta and x-api-key headers from param types ([#243](https://github.com/anthropics/anthropic-sdk-typescript/issues/243))
2384
+
2385
+ ### Bug Fixes
2386
+
2387
+ * 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))
2388
+
2389
+
2390
+ ### Documentation
2391
+
2392
+ * **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))
2393
+ * **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))
2394
+ * reformat README.md ([#241](https://github.com/anthropics/anthropic-sdk-typescript/issues/241)) ([eb12705](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb12705a7d975f584ca31f24b99c35318cf6419b))
2395
+
2396
+
2397
+ ### Refactors
2398
+
2399
+ * 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))
2400
+
2401
+ ## 0.11.0 (2023-12-19)
2402
+
2403
+ Full Changelog: [v0.10.2...v0.11.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.2...v0.11.0)
2404
+
2405
+ ### Features
2406
+
2407
+ * **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))
2408
+ * **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))
2409
+
2410
+
2411
+ ### Chores
2412
+
2413
+ * **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))
2414
+ * **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))
2415
+ * **deps:** update jest ([#234](https://github.com/anthropics/anthropic-sdk-typescript/issues/234)) ([5506174](https://github.com/anthropics/anthropic-sdk-typescript/commit/5506174092d5248354f3d288c84da5ba4749375c))
2416
+ * update dependencies ([#231](https://github.com/anthropics/anthropic-sdk-typescript/issues/231)) ([4e34536](https://github.com/anthropics/anthropic-sdk-typescript/commit/4e345362c9002528fb0d95ca739fb8211ab3aec8))
2417
+ * update prettier ([#230](https://github.com/anthropics/anthropic-sdk-typescript/issues/230)) ([173603e](https://github.com/anthropics/anthropic-sdk-typescript/commit/173603e14fc5fe87c056553ecec3278059fe58d9))
2418
+
2419
+
2420
+ ### Documentation
2421
+
2422
+ * 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))
2423
+
2424
+
2425
+ ### Build System
2426
+
2427
+ * specify `packageManager: yarn` ([#229](https://github.com/anthropics/anthropic-sdk-typescript/issues/229)) ([d31dae4](https://github.com/anthropics/anthropic-sdk-typescript/commit/d31dae455d750a61ae3b9a751ab73309b0f87417))
2428
+
2429
+ ## 0.10.2 (2023-11-28)
2430
+
2431
+ Full Changelog: [v0.10.1...v0.10.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.1...v0.10.2)
2432
+
2433
+ ## 0.10.1 (2023-11-24)
2434
+
2435
+ Full Changelog: [v0.10.0...v0.10.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.0...v0.10.1)
2436
+
2437
+ ### Chores
2438
+
2439
+ * **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))
2440
+
2441
+ ## 0.10.0 (2023-11-21)
2442
+
2443
+ Full Changelog: [v0.9.1...v0.10.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.9.1...v0.10.0)
2444
+
2445
+ ### Features
2446
+
2447
+ * 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))
2448
+
2449
+
2450
+ ### Chores
2451
+
2452
+ * **ci:** fix publish-npm ([#213](https://github.com/anthropics/anthropic-sdk-typescript/issues/213)) ([4ab77b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ab77b7b323f22019193ba4f0a85fc89af193fbf))
2453
+ * **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))
2454
+
2455
+ ## 0.9.1 (2023-11-14)
2456
+
2457
+ Full Changelog: [v0.9.0...v0.9.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.9.0...v0.9.1)
2458
+
2459
+ ### Chores
2460
+
2461
+ * **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))
2462
+ * **docs:** fix github links ([#208](https://github.com/anthropics/anthropic-sdk-typescript/issues/208)) ([b316603](https://github.com/anthropics/anthropic-sdk-typescript/commit/b3166033cffe31f5d11793ddd32e595161f1a2e6))
2463
+ * **internal:** update APIResource structure ([#211](https://github.com/anthropics/anthropic-sdk-typescript/issues/211)) ([0d6bbce](https://github.com/anthropics/anthropic-sdk-typescript/commit/0d6bbce8ff699b511133ee6bfb72c1244d85eb32))
2464
+ * **internal:** update jest config ([#210](https://github.com/anthropics/anthropic-sdk-typescript/issues/210)) ([b0c64eb](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0c64eb9531d417f024567a4c74d9dd64743b889))
2465
+ * **internal:** update tsconfig ([#209](https://github.com/anthropics/anthropic-sdk-typescript/issues/209)) ([81b3e0b](https://github.com/anthropics/anthropic-sdk-typescript/commit/81b3e0b59801f737c6f1783e59eef8c1af77b1ad))
2466
+
2467
+ ## 0.9.0 (2023-11-05)
2468
+
2469
+ Full Changelog: [v0.8.1...v0.9.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.8.1...v0.9.0)
2470
+
2471
+ ### Features
2472
+
2473
+ * **client:** allow binary returns ([#203](https://github.com/anthropics/anthropic-sdk-typescript/issues/203)) ([5983d5e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5983d5e5de327d6835c7baaea022914a101865a2))
2474
+ * **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))
2475
+
2476
+
2477
+ ### Chores
2478
+
2479
+ * **internal:** update gitignore ([#198](https://github.com/anthropics/anthropic-sdk-typescript/issues/198)) ([3048738](https://github.com/anthropics/anthropic-sdk-typescript/commit/3048738235b9dff9de19aae59ff66487dffb9e8e))
2480
+ * small cleanups ([#201](https://github.com/anthropics/anthropic-sdk-typescript/issues/201)) ([9f0a73d](https://github.com/anthropics/anthropic-sdk-typescript/commit/9f0a73d794fc110689ce1c67b68d0a68133adb8d))
2481
+
2482
+
2483
+ ### Documentation
2484
+
2485
+ * document customizing fetch ([#204](https://github.com/anthropics/anthropic-sdk-typescript/issues/204)) ([d2df724](https://github.com/anthropics/anthropic-sdk-typescript/commit/d2df7246ec244f2de73d359ffbff3f88acec781d))
2486
+ * fix github links ([#200](https://github.com/anthropics/anthropic-sdk-typescript/issues/200)) ([4038acd](https://github.com/anthropics/anthropic-sdk-typescript/commit/4038acd91f4de7c3b20efe7f76523d1e6970f5d9))
2487
+ * **readme:** mention version header ([#205](https://github.com/anthropics/anthropic-sdk-typescript/issues/205)) ([a8d8f07](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8d8f07f9d4890195847b6ea86eb311e258e655f))
2488
+
2489
+ ## 0.8.1 (2023-10-25)
2490
+
2491
+ Full Changelog: [v0.8.0...v0.8.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.8.0...v0.8.1)
2492
+
2493
+ ### Bug Fixes
2494
+
2495
+ * typo in build script ([#197](https://github.com/anthropics/anthropic-sdk-typescript/issues/197)) ([212e990](https://github.com/anthropics/anthropic-sdk-typescript/commit/212e9903e9b72b3169f450d8ab11ebd384951dba))
2496
+
2497
+ ## 0.8.0 (2023-10-24)
2498
+
2499
+ Full Changelog: [v0.7.0...v0.8.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.7.0...v0.8.0)
2500
+
2501
+ ### Features
2502
+
2503
+ * **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))
2504
+
2505
+ ## 0.7.0 (2023-10-19)
2506
+
2507
+ Full Changelog: [v0.6.8...v0.7.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.8...v0.7.0)
2508
+
2509
+ ### Features
2510
+
2511
+ * 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))
2512
+
2513
+ ## 0.6.8 (2023-10-17)
2514
+
2515
+ Full Changelog: [v0.6.7...v0.6.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.7...v0.6.8)
2516
+
2517
+ ### Bug Fixes
2518
+
2519
+ * 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))
2520
+
2521
+ ## 0.6.7 (2023-10-16)
2522
+
2523
+ Full Changelog: [v0.6.6...v0.6.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.6...v0.6.7)
2524
+
2525
+ ### Bug Fixes
2526
+
2527
+ * 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))
2528
+
2529
+
2530
+ ### Chores
2531
+
2532
+ * 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))
2533
+ * **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))
2534
+ * update comment ([#179](https://github.com/anthropics/anthropic-sdk-typescript/issues/179)) ([27a425e](https://github.com/anthropics/anthropic-sdk-typescript/commit/27a425ee64dcdc569b92ac27b501bca0dadf2dea))
2535
+
2536
+
2537
+ ### Documentation
2538
+
2539
+ * 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))
2540
+
2541
+
2542
+ ### Refactors
2543
+
2544
+ * **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))
2545
+ * **test:** refactor authentication tests ([#176](https://github.com/anthropics/anthropic-sdk-typescript/issues/176)) ([f59daad](https://github.com/anthropics/anthropic-sdk-typescript/commit/f59daad06cab4c5df3068ea7f71ecbb20d8af141))
2546
+
2547
+ ## 0.6.6 (2023-10-11)
2548
+
2549
+ Full Changelog: [v0.6.5...v0.6.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.5...v0.6.6)
2550
+
2551
+ ### Chores
2552
+
2553
+ * update README ([#173](https://github.com/anthropics/anthropic-sdk-typescript/issues/173)) ([5f50c1b](https://github.com/anthropics/anthropic-sdk-typescript/commit/5f50c1b2f160610c89f158a10d83029c356d925a))
2554
+
2555
+ ## 0.6.5 (2023-10-11)
2556
+
2557
+ Full Changelog: [v0.6.4...v0.6.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.4...v0.6.5)
2558
+
2559
+ ### Features
2560
+
2561
+ * **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))
2562
+ * **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))
2563
+ * **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))
2564
+ * **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))
2565
+ * **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))
2566
+
2567
+
2568
+ ### Bug Fixes
2569
+
2570
+ * **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))
2571
+ * fix namespace exports regression ([#171](https://github.com/anthropics/anthropic-sdk-typescript/issues/171)) ([0689a91](https://github.com/anthropics/anthropic-sdk-typescript/commit/0689a9196619d968870b7fd2e1a0f037a1aee282))
2572
+ * 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))
2573
+
2574
+
2575
+ ### Chores
2576
+
2577
+ * **internal:** bump lock file ([#159](https://github.com/anthropics/anthropic-sdk-typescript/issues/159)) ([e6030fa](https://github.com/anthropics/anthropic-sdk-typescript/commit/e6030fa915f26569f9c48c478a5e6c01910a6557))
2578
+ * **internal:** minor formatting improvement ([#168](https://github.com/anthropics/anthropic-sdk-typescript/issues/168)) ([6447608](https://github.com/anthropics/anthropic-sdk-typescript/commit/644760883802bc2769a916fa477f2c6491f018fd))
2579
+ * **internal:** update lock file ([#161](https://github.com/anthropics/anthropic-sdk-typescript/issues/161)) ([370ce3c](https://github.com/anthropics/anthropic-sdk-typescript/commit/370ce3c34b87591071fefc8b53977078603b6ca4))
2580
+ * **internal:** update lock file ([#163](https://github.com/anthropics/anthropic-sdk-typescript/issues/163)) ([4a37181](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a37181e0ceada13e3ed61d6df7aa34492dc57a7))
2581
+ * **internal:** update lock file ([#164](https://github.com/anthropics/anthropic-sdk-typescript/issues/164)) ([939c155](https://github.com/anthropics/anthropic-sdk-typescript/commit/939c155277e67c19f7b2ff956f7cf0d40d4671cd))
2582
+
2583
+
2584
+ ### Documentation
2585
+
2586
+ * **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))
2587
+ * 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))
2588
+ * **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))
2589
+
2590
+ ## 0.6.4 (2023-09-08)
2591
+
2592
+ Full Changelog: [v0.6.3...v0.6.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.3...v0.6.4)
2593
+
2594
+ ### Features
2595
+
2596
+ * **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))
2597
+
2598
+
2599
+ ### Bug Fixes
2600
+
2601
+ * **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))
2602
+ * **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))
2603
+ * **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))
2604
+ * 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))
2605
+ * **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))
2606
+
2607
+
2608
+ ### Chores
2609
+
2610
+ * **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))
2611
+
2612
+
2613
+ ### Documentation
2614
+
2615
+ * **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))
2616
+
2617
+ ## 0.6.3 (2023-08-28)
2618
+
2619
+ Full Changelog: [v0.6.2...v0.6.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.2...v0.6.3)
2620
+
2621
+ ### Bug Fixes
2622
+
2623
+ * **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))
2624
+
2625
+
2626
+ ### Chores
2627
+
2628
+ * **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))
2629
+
2630
+ ## [0.6.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.1...v0.6.2) (2023-08-26)
2631
+
2632
+
2633
+ ### Bug Fixes
2634
+
2635
+ * **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))
2636
+
2637
+
2638
+ ### Refactors
2639
+
2640
+ * 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))
2641
+
2642
+
2643
+ ### Chores
2644
+
2645
+ * **internal:** add helper method ([#133](https://github.com/anthropics/anthropic-sdk-typescript/issues/133)) ([4c6950a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c6950a489b818151127aa1a39c239e4fd58a06e))
2646
+ * **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))
2647
+
2648
+ ## [0.6.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.0...v0.6.1) (2023-08-23)
2649
+
2650
+
2651
+ ### Features
2652
+
2653
+ * 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))
2654
+ * **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))
2655
+ * **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))
2656
+ * **types:** export RequestOptions type ([#127](https://github.com/anthropics/anthropic-sdk-typescript/issues/127)) ([9769751](https://github.com/anthropics/anthropic-sdk-typescript/commit/9769751b84853822e3e6596110ecb2c367f07438))
2657
+ * **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))
2658
+
2659
+
2660
+ ### Bug Fixes
2661
+
2662
+ * **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))
2663
+ * **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))
2664
+ * **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))
2665
+
2666
+
2667
+ ### Documentation
2668
+
2669
+ * **readme:** fix typo ([#121](https://github.com/anthropics/anthropic-sdk-typescript/issues/121)) ([c5dbc3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/c5dbc3fe89c84a728b6a4d7a4f6eadb228ac5688))
2670
+
2671
+
2672
+ ### Chores
2673
+
2674
+ * 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))
2675
+ * **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))
2676
+ * **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))
2677
+ * **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))
2678
+
2679
+ ## [0.6.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.10...v0.6.0) (2023-08-12)
2680
+
2681
+
2682
+ ### Features
2683
+
2684
+ * **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))
2685
+ * **client:** detect browser usage ([#101](https://github.com/anthropics/anthropic-sdk-typescript/issues/101)) ([f4cae3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/f4cae3f63c2e65e087a7bf27dac1eeb8200e0a36))
2686
+ * **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))
2687
+
2688
+
2689
+ ### Documentation
2690
+
2691
+ * **readme:** minor updates ([#107](https://github.com/anthropics/anthropic-sdk-typescript/issues/107)) ([406fd97](https://github.com/anthropics/anthropic-sdk-typescript/commit/406fd97d4cee0dd363ad548c9a251f78091a70e3))
2692
+ * **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))
2693
+
2694
+
2695
+ ### Chores
2696
+
2697
+ * **docs:** remove trailing spaces ([#108](https://github.com/anthropics/anthropic-sdk-typescript/issues/108)) ([4ba2c6f](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ba2c6f181521ed9a60ed45c35d2276129cd7a0b))
2698
+ * **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))
2699
+ * **internal:** fix deno build ([#98](https://github.com/anthropics/anthropic-sdk-typescript/issues/98)) ([f011e04](https://github.com/anthropics/anthropic-sdk-typescript/commit/f011e041f2f9cabb12951013825c0f0a2a569053))
2700
+ * **internal:** remove deno build ([#103](https://github.com/anthropics/anthropic-sdk-typescript/issues/103)) ([9af1527](https://github.com/anthropics/anthropic-sdk-typescript/commit/9af152707a9bcf3027afc64f027566be25da2eb9))
2701
+
2702
+
2703
+ ### Refactors
2704
+
2705
+ * **client:** remove Stream.toReadableStream() ([#110](https://github.com/anthropics/anthropic-sdk-typescript/issues/110)) ([c370412](https://github.com/anthropics/anthropic-sdk-typescript/commit/c37041285ed9cccf6d980a953e14ffd4006a8acc))
2706
+
2707
+ ## [0.5.10](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.9...v0.5.10) (2023-08-01)
2708
+
2709
+
2710
+ ### Refactors
2711
+
2712
+ * 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))
2713
+
2714
+
2715
+ ### Documentation
2716
+
2717
+ * **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))
2718
+
2719
+
2720
+ ### Chores
2721
+
2722
+ * **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))
2723
+ * **internal:** fix deno build ([#96](https://github.com/anthropics/anthropic-sdk-typescript/issues/96)) ([3fdab4e](https://github.com/anthropics/anthropic-sdk-typescript/commit/3fdab4e33b4c8668d17b8cddabbb09a22adf4124))
2724
+
2725
+ ## [0.5.9](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.8...v0.5.9) (2023-07-29)
2726
+
2727
+
2728
+ ### Bug Fixes
2729
+
2730
+ * **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))
2731
+ * **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))
2732
+ * 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))
2733
+
2734
+
2735
+ ### Chores
2736
+
2737
+ * **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))
2738
+
2739
+
2740
+ ### Refactors
2741
+
2742
+ * 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))
2743
+
2744
+ ## [0.5.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.7...v0.5.8) (2023-07-22)
2745
+
2746
+
2747
+ ### Features
2748
+
2749
+ * **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))
2750
+
2751
+ ## [0.5.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.6...v0.5.7) (2023-07-19)
2752
+
2753
+
2754
+ ### Features
2755
+
2756
+ * 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))
2757
+ * **client:** export ClientOptions interface ([#75](https://github.com/anthropics/anthropic-sdk-typescript/issues/75)) ([0315ce1](https://github.com/anthropics/anthropic-sdk-typescript/commit/0315ce170db463ad900384ab7e4f62885cb471a2))
2758
+ * **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))
2759
+
2760
+
2761
+ ### Bug Fixes
2762
+
2763
+ * **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))
2764
+ * 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))
2765
+ * fix export map order ([#74](https://github.com/anthropics/anthropic-sdk-typescript/issues/74)) ([51e70cb](https://github.com/anthropics/anthropic-sdk-typescript/commit/51e70cb9b55128d4de1b0597fad475d0f4bc836c))
2766
+
2767
+ ## [0.5.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.5...v0.5.6) (2023-07-15)
2768
+
2769
+
2770
+ ### Bug Fixes
2771
+
2772
+ * 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))
2773
+
2774
+ ## [0.5.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.4...v0.5.5) (2023-07-13)
2775
+
2776
+
2777
+ ### Features
2778
+
2779
+ * **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))
2780
+
2781
+
2782
+ ### Bug Fixes
2783
+
2784
+ * **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))
2785
+
2786
+
2787
+ ### Documentation
2788
+
2789
+ * **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))
2790
+ * **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))
2791
+
2792
+
2793
+ ### Chores
2794
+
2795
+ * **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))
2796
+ * **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))
2797
+ * **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))
2798
+
2799
+ ## [0.5.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.3...v0.5.4) (2023-07-11)
2800
+
2801
+
2802
+ ### Features
2803
+
2804
+ * **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))
2805
+ * **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))
2806
+
2807
+
2808
+ ### Bug Fixes
2809
+
2810
+ * **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))
2811
+
2812
+
2813
+ ### Refactors
2814
+
2815
+ * **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))