@anthropic-ai/claude-code 0.2.29 → 0.2.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.mjs +442 -690
- package/package.json +1 -5
- package/vendor/sdk/CHANGELOG.md +0 -1421
- package/vendor/sdk/LICENSE +0 -8
- package/vendor/sdk/README.md +0 -536
- package/vendor/sdk/_shims/MultipartBody.d.ts +0 -9
- package/vendor/sdk/_shims/MultipartBody.d.ts.map +0 -1
- package/vendor/sdk/_shims/MultipartBody.js +0 -16
- package/vendor/sdk/_shims/MultipartBody.js.map +0 -1
- package/vendor/sdk/_shims/MultipartBody.mjs +0 -12
- package/vendor/sdk/_shims/MultipartBody.mjs.map +0 -1
- package/vendor/sdk/_shims/README.md +0 -46
- package/vendor/sdk/_shims/auto/runtime-bun.d.ts +0 -5
- package/vendor/sdk/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-bun.js +0 -21
- package/vendor/sdk/_shims/auto/runtime-bun.js.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-bun.mjs +0 -2
- package/vendor/sdk/_shims/auto/runtime-bun.mjs.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-node.d.ts +0 -5
- package/vendor/sdk/_shims/auto/runtime-node.d.ts.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-node.js +0 -21
- package/vendor/sdk/_shims/auto/runtime-node.js.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-node.mjs +0 -2
- package/vendor/sdk/_shims/auto/runtime-node.mjs.map +0 -1
- package/vendor/sdk/_shims/auto/runtime.d.ts +0 -5
- package/vendor/sdk/_shims/auto/runtime.d.ts.map +0 -1
- package/vendor/sdk/_shims/auto/runtime.js +0 -21
- package/vendor/sdk/_shims/auto/runtime.js.map +0 -1
- package/vendor/sdk/_shims/auto/runtime.mjs +0 -2
- package/vendor/sdk/_shims/auto/runtime.mjs.map +0 -1
- package/vendor/sdk/_shims/auto/types-node.d.ts +0 -5
- package/vendor/sdk/_shims/auto/types-node.d.ts.map +0 -1
- package/vendor/sdk/_shims/auto/types-node.js +0 -21
- package/vendor/sdk/_shims/auto/types-node.js.map +0 -1
- package/vendor/sdk/_shims/auto/types-node.mjs +0 -2
- package/vendor/sdk/_shims/auto/types-node.mjs.map +0 -1
- package/vendor/sdk/_shims/auto/types.d.ts +0 -101
- package/vendor/sdk/_shims/auto/types.js +0 -3
- package/vendor/sdk/_shims/auto/types.mjs +0 -3
- package/vendor/sdk/_shims/bun-runtime.d.ts +0 -6
- package/vendor/sdk/_shims/bun-runtime.d.ts.map +0 -1
- package/vendor/sdk/_shims/bun-runtime.js +0 -14
- package/vendor/sdk/_shims/bun-runtime.js.map +0 -1
- package/vendor/sdk/_shims/bun-runtime.mjs +0 -10
- package/vendor/sdk/_shims/bun-runtime.mjs.map +0 -1
- package/vendor/sdk/_shims/index.d.ts +0 -81
- package/vendor/sdk/_shims/index.js +0 -13
- package/vendor/sdk/_shims/index.mjs +0 -7
- package/vendor/sdk/_shims/manual-types.d.ts +0 -12
- package/vendor/sdk/_shims/manual-types.js +0 -3
- package/vendor/sdk/_shims/manual-types.mjs +0 -3
- package/vendor/sdk/_shims/node-runtime.d.ts +0 -3
- package/vendor/sdk/_shims/node-runtime.d.ts.map +0 -1
- package/vendor/sdk/_shims/node-runtime.js +0 -89
- package/vendor/sdk/_shims/node-runtime.js.map +0 -1
- package/vendor/sdk/_shims/node-runtime.mjs +0 -56
- package/vendor/sdk/_shims/node-runtime.mjs.map +0 -1
- package/vendor/sdk/_shims/node-types.d.ts +0 -42
- package/vendor/sdk/_shims/node-types.js +0 -3
- package/vendor/sdk/_shims/node-types.mjs +0 -3
- package/vendor/sdk/_shims/registry.d.ts +0 -37
- package/vendor/sdk/_shims/registry.d.ts.map +0 -1
- package/vendor/sdk/_shims/registry.js +0 -41
- package/vendor/sdk/_shims/registry.js.map +0 -1
- package/vendor/sdk/_shims/registry.mjs +0 -37
- package/vendor/sdk/_shims/registry.mjs.map +0 -1
- package/vendor/sdk/_shims/web-runtime.d.ts +0 -5
- package/vendor/sdk/_shims/web-runtime.d.ts.map +0 -1
- package/vendor/sdk/_shims/web-runtime.js +0 -78
- package/vendor/sdk/_shims/web-runtime.js.map +0 -1
- package/vendor/sdk/_shims/web-runtime.mjs +0 -71
- package/vendor/sdk/_shims/web-runtime.mjs.map +0 -1
- package/vendor/sdk/_shims/web-types.d.ts +0 -83
- package/vendor/sdk/_shims/web-types.js +0 -3
- package/vendor/sdk/_shims/web-types.mjs +0 -3
- package/vendor/sdk/_vendor/partial-json-parser/parser.d.ts +0 -3
- package/vendor/sdk/_vendor/partial-json-parser/parser.d.ts.map +0 -1
- package/vendor/sdk/_vendor/partial-json-parser/parser.js +0 -226
- package/vendor/sdk/_vendor/partial-json-parser/parser.js.map +0 -1
- package/vendor/sdk/_vendor/partial-json-parser/parser.mjs +0 -223
- package/vendor/sdk/_vendor/partial-json-parser/parser.mjs.map +0 -1
- package/vendor/sdk/core.d.ts +0 -248
- package/vendor/sdk/core.d.ts.map +0 -1
- package/vendor/sdk/core.js +0 -935
- package/vendor/sdk/core.js.map +0 -1
- package/vendor/sdk/core.mjs +0 -903
- package/vendor/sdk/core.mjs.map +0 -1
- package/vendor/sdk/error.d.ts +0 -48
- package/vendor/sdk/error.d.ts.map +0 -1
- package/vendor/sdk/error.js +0 -114
- package/vendor/sdk/error.js.map +0 -1
- package/vendor/sdk/error.mjs +0 -98
- package/vendor/sdk/error.mjs.map +0 -1
- package/vendor/sdk/index.d.mts +0 -152
- package/vendor/sdk/index.d.ts +0 -152
- package/vendor/sdk/index.d.ts.map +0 -1
- package/vendor/sdk/index.js +0 -179
- package/vendor/sdk/index.js.map +0 -1
- package/vendor/sdk/index.mjs +0 -136
- package/vendor/sdk/index.mjs.map +0 -1
- package/vendor/sdk/internal/decoders/jsonl.d.ts +0 -12
- package/vendor/sdk/internal/decoders/jsonl.d.ts.map +0 -1
- package/vendor/sdk/internal/decoders/jsonl.js +0 -35
- package/vendor/sdk/internal/decoders/jsonl.js.map +0 -1
- package/vendor/sdk/internal/decoders/jsonl.mjs +0 -31
- package/vendor/sdk/internal/decoders/jsonl.mjs.map +0 -1
- package/vendor/sdk/internal/decoders/line.d.ts +0 -20
- package/vendor/sdk/internal/decoders/line.d.ts.map +0 -1
- package/vendor/sdk/internal/decoders/line.js +0 -123
- package/vendor/sdk/internal/decoders/line.js.map +0 -1
- package/vendor/sdk/internal/decoders/line.mjs +0 -119
- package/vendor/sdk/internal/decoders/line.mjs.map +0 -1
- package/vendor/sdk/internal/stream-utils.d.ts +0 -8
- package/vendor/sdk/internal/stream-utils.d.ts.map +0 -1
- package/vendor/sdk/internal/stream-utils.js +0 -39
- package/vendor/sdk/internal/stream-utils.js.map +0 -1
- package/vendor/sdk/internal/stream-utils.mjs +0 -35
- package/vendor/sdk/internal/stream-utils.mjs.map +0 -1
- package/vendor/sdk/lib/BetaMessageStream.d.ts +0 -114
- package/vendor/sdk/lib/BetaMessageStream.d.ts.map +0 -1
- package/vendor/sdk/lib/BetaMessageStream.js +0 -547
- package/vendor/sdk/lib/BetaMessageStream.js.map +0 -1
- package/vendor/sdk/lib/BetaMessageStream.mjs +0 -543
- package/vendor/sdk/lib/BetaMessageStream.mjs.map +0 -1
- package/vendor/sdk/lib/MessageStream.d.ts +0 -114
- package/vendor/sdk/lib/MessageStream.d.ts.map +0 -1
- package/vendor/sdk/lib/MessageStream.js +0 -547
- package/vendor/sdk/lib/MessageStream.js.map +0 -1
- package/vendor/sdk/lib/MessageStream.mjs +0 -543
- package/vendor/sdk/lib/MessageStream.mjs.map +0 -1
- package/vendor/sdk/node_modules/@types/node/LICENSE +0 -21
- package/vendor/sdk/node_modules/@types/node/README.md +0 -15
- package/vendor/sdk/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/vendor/sdk/node_modules/@types/node/assert.d.ts +0 -985
- package/vendor/sdk/node_modules/@types/node/async_hooks.d.ts +0 -522
- package/vendor/sdk/node_modules/@types/node/buffer.buffer.d.ts +0 -385
- package/vendor/sdk/node_modules/@types/node/buffer.d.ts +0 -1903
- package/vendor/sdk/node_modules/@types/node/child_process.d.ts +0 -1549
- package/vendor/sdk/node_modules/@types/node/cluster.d.ts +0 -578
- package/vendor/sdk/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
- package/vendor/sdk/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/vendor/sdk/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/vendor/sdk/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
- package/vendor/sdk/node_modules/@types/node/console.d.ts +0 -452
- package/vendor/sdk/node_modules/@types/node/constants.d.ts +0 -19
- package/vendor/sdk/node_modules/@types/node/crypto.d.ts +0 -4453
- package/vendor/sdk/node_modules/@types/node/dgram.d.ts +0 -596
- package/vendor/sdk/node_modules/@types/node/diagnostics_channel.d.ts +0 -546
- package/vendor/sdk/node_modules/@types/node/dns/promises.d.ts +0 -475
- package/vendor/sdk/node_modules/@types/node/dns.d.ts +0 -853
- package/vendor/sdk/node_modules/@types/node/dom-events.d.ts +0 -124
- package/vendor/sdk/node_modules/@types/node/domain.d.ts +0 -170
- package/vendor/sdk/node_modules/@types/node/events.d.ts +0 -819
- package/vendor/sdk/node_modules/@types/node/fs/promises.d.ts +0 -1205
- package/vendor/sdk/node_modules/@types/node/fs.d.ts +0 -4237
- package/vendor/sdk/node_modules/@types/node/globals.d.ts +0 -442
- package/vendor/sdk/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/vendor/sdk/node_modules/@types/node/http.d.ts +0 -1839
- package/vendor/sdk/node_modules/@types/node/http2.d.ts +0 -2517
- package/vendor/sdk/node_modules/@types/node/https.d.ts +0 -544
- package/vendor/sdk/node_modules/@types/node/index.d.ts +0 -90
- package/vendor/sdk/node_modules/@types/node/inspector.d.ts +0 -2775
- package/vendor/sdk/node_modules/@types/node/module.d.ts +0 -291
- package/vendor/sdk/node_modules/@types/node/net.d.ts +0 -924
- package/vendor/sdk/node_modules/@types/node/os.d.ts +0 -473
- package/vendor/sdk/node_modules/@types/node/package.json +0 -225
- package/vendor/sdk/node_modules/@types/node/path.d.ts +0 -191
- package/vendor/sdk/node_modules/@types/node/perf_hooks.d.ts +0 -753
- package/vendor/sdk/node_modules/@types/node/process.d.ts +0 -1553
- package/vendor/sdk/node_modules/@types/node/punycode.d.ts +0 -117
- package/vendor/sdk/node_modules/@types/node/querystring.d.ts +0 -141
- package/vendor/sdk/node_modules/@types/node/readline/promises.d.ts +0 -154
- package/vendor/sdk/node_modules/@types/node/readline.d.ts +0 -715
- package/vendor/sdk/node_modules/@types/node/repl.d.ts +0 -430
- package/vendor/sdk/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/vendor/sdk/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/vendor/sdk/node_modules/@types/node/stream/web.d.ts +0 -523
- package/vendor/sdk/node_modules/@types/node/stream.d.ts +0 -1731
- package/vendor/sdk/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/vendor/sdk/node_modules/@types/node/test.d.ts +0 -1245
- package/vendor/sdk/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/vendor/sdk/node_modules/@types/node/timers.d.ts +0 -126
- package/vendor/sdk/node_modules/@types/node/tls.d.ts +0 -1203
- package/vendor/sdk/node_modules/@types/node/trace_events.d.ts +0 -171
- package/vendor/sdk/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -385
- package/vendor/sdk/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/vendor/sdk/node_modules/@types/node/ts5.6/index.d.ts +0 -90
- package/vendor/sdk/node_modules/@types/node/tty.d.ts +0 -206
- package/vendor/sdk/node_modules/@types/node/url.d.ts +0 -957
- package/vendor/sdk/node_modules/@types/node/util.d.ts +0 -2083
- package/vendor/sdk/node_modules/@types/node/v8.d.ts +0 -753
- package/vendor/sdk/node_modules/@types/node/vm.d.ts +0 -666
- package/vendor/sdk/node_modules/@types/node/wasi.d.ts +0 -160
- package/vendor/sdk/node_modules/@types/node/worker_threads.d.ts +0 -695
- package/vendor/sdk/node_modules/@types/node/zlib.d.ts +0 -517
- package/vendor/sdk/node_modules/undici-types/README.md +0 -6
- package/vendor/sdk/node_modules/undici-types/agent.d.ts +0 -31
- package/vendor/sdk/node_modules/undici-types/api.d.ts +0 -43
- package/vendor/sdk/node_modules/undici-types/balanced-pool.d.ts +0 -18
- package/vendor/sdk/node_modules/undici-types/cache.d.ts +0 -36
- package/vendor/sdk/node_modules/undici-types/client.d.ts +0 -97
- package/vendor/sdk/node_modules/undici-types/connector.d.ts +0 -34
- package/vendor/sdk/node_modules/undici-types/content-type.d.ts +0 -21
- package/vendor/sdk/node_modules/undici-types/cookies.d.ts +0 -28
- package/vendor/sdk/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
- package/vendor/sdk/node_modules/undici-types/dispatcher.d.ts +0 -241
- package/vendor/sdk/node_modules/undici-types/errors.d.ts +0 -128
- package/vendor/sdk/node_modules/undici-types/fetch.d.ts +0 -209
- package/vendor/sdk/node_modules/undici-types/file.d.ts +0 -39
- package/vendor/sdk/node_modules/undici-types/filereader.d.ts +0 -54
- package/vendor/sdk/node_modules/undici-types/formdata.d.ts +0 -108
- package/vendor/sdk/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/vendor/sdk/node_modules/undici-types/global-origin.d.ts +0 -7
- package/vendor/sdk/node_modules/undici-types/handlers.d.ts +0 -9
- package/vendor/sdk/node_modules/undici-types/header.d.ts +0 -4
- package/vendor/sdk/node_modules/undici-types/index.d.ts +0 -63
- package/vendor/sdk/node_modules/undici-types/interceptors.d.ts +0 -5
- package/vendor/sdk/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/vendor/sdk/node_modules/undici-types/mock-client.d.ts +0 -25
- package/vendor/sdk/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/vendor/sdk/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/vendor/sdk/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/vendor/sdk/node_modules/undici-types/package.json +0 -55
- package/vendor/sdk/node_modules/undici-types/patch.d.ts +0 -71
- package/vendor/sdk/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/vendor/sdk/node_modules/undici-types/pool.d.ts +0 -28
- package/vendor/sdk/node_modules/undici-types/proxy-agent.d.ts +0 -30
- package/vendor/sdk/node_modules/undici-types/readable.d.ts +0 -61
- package/vendor/sdk/node_modules/undici-types/webidl.d.ts +0 -220
- package/vendor/sdk/node_modules/undici-types/websocket.d.ts +0 -131
- package/vendor/sdk/package.json +0 -124
- package/vendor/sdk/pagination.d.ts +0 -27
- package/vendor/sdk/pagination.d.ts.map +0 -1
- package/vendor/sdk/pagination.js +0 -60
- package/vendor/sdk/pagination.js.map +0 -1
- package/vendor/sdk/pagination.mjs +0 -56
- package/vendor/sdk/pagination.mjs.map +0 -1
- package/vendor/sdk/resource.d.ts +0 -6
- package/vendor/sdk/resource.d.ts.map +0 -1
- package/vendor/sdk/resource.js +0 -11
- package/vendor/sdk/resource.js.map +0 -1
- package/vendor/sdk/resource.mjs +0 -7
- package/vendor/sdk/resource.mjs.map +0 -1
- package/vendor/sdk/resources/beta/beta.d.ts +0 -57
- package/vendor/sdk/resources/beta/beta.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/beta.js +0 -44
- package/vendor/sdk/resources/beta/beta.js.map +0 -1
- package/vendor/sdk/resources/beta/beta.mjs +0 -17
- package/vendor/sdk/resources/beta/beta.mjs.map +0 -1
- package/vendor/sdk/resources/beta/index.d.ts +0 -4
- package/vendor/sdk/resources/beta/index.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/index.js +0 -12
- package/vendor/sdk/resources/beta/index.js.map +0 -1
- package/vendor/sdk/resources/beta/index.mjs +0 -5
- package/vendor/sdk/resources/beta/index.mjs.map +0 -1
- package/vendor/sdk/resources/beta/messages/batches.d.ts +0 -289
- package/vendor/sdk/resources/beta/messages/batches.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/messages/batches.js +0 -112
- package/vendor/sdk/resources/beta/messages/batches.js.map +0 -1
- package/vendor/sdk/resources/beta/messages/batches.mjs +0 -107
- package/vendor/sdk/resources/beta/messages/batches.mjs.map +0 -1
- package/vendor/sdk/resources/beta/messages/index.d.ts +0 -3
- package/vendor/sdk/resources/beta/messages/index.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/messages/index.js +0 -10
- package/vendor/sdk/resources/beta/messages/index.js.map +0 -1
- package/vendor/sdk/resources/beta/messages/index.mjs +0 -4
- package/vendor/sdk/resources/beta/messages/index.mjs.map +0 -1
- package/vendor/sdk/resources/beta/messages/messages.d.ts +0 -1038
- package/vendor/sdk/resources/beta/messages/messages.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/messages/messages.js +0 -93
- package/vendor/sdk/resources/beta/messages/messages.js.map +0 -1
- package/vendor/sdk/resources/beta/messages/messages.mjs +0 -66
- package/vendor/sdk/resources/beta/messages/messages.mjs.map +0 -1
- package/vendor/sdk/resources/beta/models.d.ts +0 -49
- package/vendor/sdk/resources/beta/models.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/models.js +0 -30
- package/vendor/sdk/resources/beta/models.js.map +0 -1
- package/vendor/sdk/resources/beta/models.mjs +0 -25
- package/vendor/sdk/resources/beta/models.mjs.map +0 -1
- package/vendor/sdk/resources/completions.d.ts +0 -166
- package/vendor/sdk/resources/completions.d.ts.map +0 -1
- package/vendor/sdk/resources/completions.js +0 -17
- package/vendor/sdk/resources/completions.js.map +0 -1
- package/vendor/sdk/resources/completions.mjs +0 -13
- package/vendor/sdk/resources/completions.mjs.map +0 -1
- package/vendor/sdk/resources/index.d.ts +0 -6
- package/vendor/sdk/resources/index.d.ts.map +0 -1
- package/vendor/sdk/resources/index.js +0 -29
- package/vendor/sdk/resources/index.js.map +0 -1
- package/vendor/sdk/resources/index.mjs +0 -7
- package/vendor/sdk/resources/index.mjs.map +0 -1
- package/vendor/sdk/resources/messages/batches.d.ts +0 -253
- package/vendor/sdk/resources/messages/batches.d.ts.map +0 -1
- package/vendor/sdk/resources/messages/batches.js +0 -102
- package/vendor/sdk/resources/messages/batches.js.map +0 -1
- package/vendor/sdk/resources/messages/batches.mjs +0 -97
- package/vendor/sdk/resources/messages/batches.mjs.map +0 -1
- package/vendor/sdk/resources/messages/index.d.ts +0 -3
- package/vendor/sdk/resources/messages/index.d.ts.map +0 -1
- package/vendor/sdk/resources/messages/index.js +0 -10
- package/vendor/sdk/resources/messages/index.js.map +0 -1
- package/vendor/sdk/resources/messages/index.mjs +0 -4
- package/vendor/sdk/resources/messages/index.mjs.map +0 -1
- package/vendor/sdk/resources/messages/messages.d.ts +0 -1028
- package/vendor/sdk/resources/messages/messages.d.ts.map +0 -1
- package/vendor/sdk/resources/messages/messages.js +0 -82
- package/vendor/sdk/resources/messages/messages.js.map +0 -1
- package/vendor/sdk/resources/messages/messages.mjs +0 -54
- package/vendor/sdk/resources/messages/messages.mjs.map +0 -1
- package/vendor/sdk/resources/models.d.ts +0 -49
- package/vendor/sdk/resources/models.d.ts.map +0 -1
- package/vendor/sdk/resources/models.js +0 -30
- package/vendor/sdk/resources/models.js.map +0 -1
- package/vendor/sdk/resources/models.mjs +0 -25
- package/vendor/sdk/resources/models.mjs.map +0 -1
- package/vendor/sdk/resources/shared.d.ts +0 -42
- package/vendor/sdk/resources/shared.d.ts.map +0 -1
- package/vendor/sdk/resources/shared.js +0 -4
- package/vendor/sdk/resources/shared.js.map +0 -1
- package/vendor/sdk/resources/shared.mjs +0 -3
- package/vendor/sdk/resources/shared.mjs.map +0 -1
- package/vendor/sdk/resources/top-level.d.ts +0 -2
- package/vendor/sdk/resources/top-level.d.ts.map +0 -1
- package/vendor/sdk/resources/top-level.js +0 -4
- package/vendor/sdk/resources/top-level.js.map +0 -1
- package/vendor/sdk/resources/top-level.mjs +0 -3
- package/vendor/sdk/resources/top-level.mjs.map +0 -1
- package/vendor/sdk/shims/node.d.ts +0 -30
- package/vendor/sdk/shims/node.d.ts.map +0 -1
- package/vendor/sdk/shims/node.js +0 -31
- package/vendor/sdk/shims/node.js.map +0 -1
- package/vendor/sdk/shims/node.mjs +0 -5
- package/vendor/sdk/shims/node.mjs.map +0 -1
- package/vendor/sdk/shims/web.d.ts +0 -26
- package/vendor/sdk/shims/web.d.ts.map +0 -1
- package/vendor/sdk/shims/web.js +0 -31
- package/vendor/sdk/shims/web.js.map +0 -1
- package/vendor/sdk/shims/web.mjs +0 -5
- package/vendor/sdk/shims/web.mjs.map +0 -1
- package/vendor/sdk/src/_shims/MultipartBody.ts +0 -9
- package/vendor/sdk/src/_shims/README.md +0 -46
- package/vendor/sdk/src/_shims/auto/runtime-bun.ts +0 -4
- package/vendor/sdk/src/_shims/auto/runtime-node.ts +0 -4
- package/vendor/sdk/src/_shims/auto/runtime.ts +0 -4
- package/vendor/sdk/src/_shims/auto/types-node.ts +0 -4
- package/vendor/sdk/src/_shims/auto/types.d.ts +0 -101
- package/vendor/sdk/src/_shims/auto/types.js +0 -3
- package/vendor/sdk/src/_shims/auto/types.mjs +0 -3
- package/vendor/sdk/src/_shims/bun-runtime.ts +0 -14
- package/vendor/sdk/src/_shims/index.d.ts +0 -81
- package/vendor/sdk/src/_shims/index.js +0 -13
- package/vendor/sdk/src/_shims/index.mjs +0 -7
- package/vendor/sdk/src/_shims/manual-types.d.ts +0 -12
- package/vendor/sdk/src/_shims/manual-types.js +0 -3
- package/vendor/sdk/src/_shims/manual-types.mjs +0 -3
- package/vendor/sdk/src/_shims/node-runtime.ts +0 -81
- package/vendor/sdk/src/_shims/node-types.d.ts +0 -42
- package/vendor/sdk/src/_shims/node-types.js +0 -3
- package/vendor/sdk/src/_shims/node-types.mjs +0 -3
- package/vendor/sdk/src/_shims/registry.ts +0 -67
- package/vendor/sdk/src/_shims/web-runtime.ts +0 -103
- package/vendor/sdk/src/_shims/web-types.d.ts +0 -83
- package/vendor/sdk/src/_shims/web-types.js +0 -3
- package/vendor/sdk/src/_shims/web-types.mjs +0 -3
- package/vendor/sdk/src/_vendor/partial-json-parser/README.md +0 -3
- package/vendor/sdk/src/_vendor/partial-json-parser/parser.ts +0 -264
- package/vendor/sdk/src/core.ts +0 -1250
- package/vendor/sdk/src/error.ts +0 -133
- package/vendor/sdk/src/index.ts +0 -465
- package/vendor/sdk/src/internal/decoders/jsonl.ts +0 -41
- package/vendor/sdk/src/internal/decoders/line.ts +0 -145
- package/vendor/sdk/src/internal/stream-utils.ts +0 -32
- package/vendor/sdk/src/lib/.keep +0 -4
- package/vendor/sdk/src/lib/BetaMessageStream.ts +0 -661
- package/vendor/sdk/src/lib/MessageStream.ts +0 -662
- package/vendor/sdk/src/pagination.ts +0 -92
- package/vendor/sdk/src/resource.ts +0 -11
- package/vendor/sdk/src/resources/beta/beta.ts +0 -249
- package/vendor/sdk/src/resources/beta/index.ts +0 -83
- package/vendor/sdk/src/resources/beta/messages/batches.ts +0 -486
- package/vendor/sdk/src/resources/beta/messages/index.ts +0 -87
- package/vendor/sdk/src/resources/beta/messages/messages.ts +0 -1444
- package/vendor/sdk/src/resources/beta/models.ts +0 -78
- package/vendor/sdk/src/resources/completions.ts +0 -210
- package/vendor/sdk/src/resources/index.ts +0 -95
- package/vendor/sdk/src/resources/messages/batches.ts +0 -352
- package/vendor/sdk/src/resources/messages/index.ts +0 -85
- package/vendor/sdk/src/resources/messages/messages.ts +0 -1412
- package/vendor/sdk/src/resources/models.ts +0 -75
- package/vendor/sdk/src/resources/shared.ts +0 -72
- package/vendor/sdk/src/resources/top-level.ts +0 -3
- package/vendor/sdk/src/shims/node.ts +0 -50
- package/vendor/sdk/src/shims/web.ts +0 -50
- package/vendor/sdk/src/streaming.ts +0 -372
- package/vendor/sdk/src/tsconfig.json +0 -11
- package/vendor/sdk/src/uploads.ts +0 -255
- package/vendor/sdk/src/version.ts +0 -1
- package/vendor/sdk/streaming.d.ts +0 -36
- package/vendor/sdk/streaming.d.ts.map +0 -1
- package/vendor/sdk/streaming.js +0 -316
- package/vendor/sdk/streaming.js.map +0 -1
- package/vendor/sdk/streaming.mjs +0 -310
- package/vendor/sdk/streaming.mjs.map +0 -1
- package/vendor/sdk/uploads.d.ts +0 -75
- package/vendor/sdk/uploads.d.ts.map +0 -1
- package/vendor/sdk/uploads.js +0 -171
- package/vendor/sdk/uploads.js.map +0 -1
- package/vendor/sdk/uploads.mjs +0 -158
- package/vendor/sdk/uploads.mjs.map +0 -1
- package/vendor/sdk/version.d.ts +0 -2
- package/vendor/sdk/version.d.ts.map +0 -1
- package/vendor/sdk/version.js +0 -5
- package/vendor/sdk/version.js.map +0 -1
- package/vendor/sdk/version.mjs +0 -2
- package/vendor/sdk/version.mjs.map +0 -1
package/vendor/sdk/CHANGELOG.md
DELETED
|
@@ -1,1421 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 0.36.3 (2025-01-27)
|
|
4
|
-
|
|
5
|
-
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)
|
|
6
|
-
|
|
7
|
-
### Bug Fixes
|
|
8
|
-
|
|
9
|
-
* **streaming:** accumulate citations ([#675](https://github.com/anthropics/anthropic-sdk-typescript/issues/675)) ([522118f](https://github.com/anthropics/anthropic-sdk-typescript/commit/522118ffeab327e8476f12d9b9fa1f19042ed714))
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
### Chores
|
|
13
|
-
|
|
14
|
-
* **docs:** updates ([#673](https://github.com/anthropics/anthropic-sdk-typescript/issues/673)) ([751ecd0](https://github.com/anthropics/anthropic-sdk-typescript/commit/751ecd0d44707b21ccb390c81716937fae3d8e35))
|
|
15
|
-
|
|
16
|
-
## 0.36.2 (2025-01-23)
|
|
17
|
-
|
|
18
|
-
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)
|
|
19
|
-
|
|
20
|
-
### Bug Fixes
|
|
21
|
-
|
|
22
|
-
* **bedrock:** update streaming util import ([255c059](https://github.com/anthropics/anthropic-sdk-typescript/commit/255c0599e333e6fae582255e3b0631538b168c69))
|
|
23
|
-
|
|
24
|
-
## 0.36.1 (2025-01-23)
|
|
25
|
-
|
|
26
|
-
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)
|
|
27
|
-
|
|
28
|
-
### Chores
|
|
29
|
-
|
|
30
|
-
* **tests:** fix types ([9efe3ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/9efe3eebf64bd762a34caf362a1cd1a0f0858f92))
|
|
31
|
-
|
|
32
|
-
## 0.36.0 (2025-01-23)
|
|
33
|
-
|
|
34
|
-
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)
|
|
35
|
-
|
|
36
|
-
### Features
|
|
37
|
-
|
|
38
|
-
* **api:** add citations ([#668](https://github.com/anthropics/anthropic-sdk-typescript/issues/668)) ([1fef177](https://github.com/anthropics/anthropic-sdk-typescript/commit/1fef17749adbbeb243480b96c04941be29c0746c))
|
|
39
|
-
* **client:** support results endpoint ([#666](https://github.com/anthropics/anthropic-sdk-typescript/issues/666)) ([db5fffe](https://github.com/anthropics/anthropic-sdk-typescript/commit/db5fffeb38a99a3e9283ebf001fbf767d756162e))
|
|
40
|
-
* **stream:** expose `response` property as well ([b0235c7](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0235c7b3ac174b3c8e670e381b4aa038e61c826))
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Chores
|
|
44
|
-
|
|
45
|
-
* **bedrock:** bump dependency on @anthropic-ai/sdk ([8745ca2](https://github.com/anthropics/anthropic-sdk-typescript/commit/8745ca2160f5af4d89e5732a44e560c5e2787aa8))
|
|
46
|
-
* **internal:** fix import ([628b55e](https://github.com/anthropics/anthropic-sdk-typescript/commit/628b55ef5ff8f0245287ecaea688480a0174e2e9))
|
|
47
|
-
* **internal:** minor restructuring ([#664](https://github.com/anthropics/anthropic-sdk-typescript/issues/664)) ([57aefa7](https://github.com/anthropics/anthropic-sdk-typescript/commit/57aefa73230d54da24d787a89adc277481986d02))
|
|
48
|
-
* **vertex:** bump dependency on @anthropic-ai/sdk ([a1c7fcd](https://github.com/anthropics/anthropic-sdk-typescript/commit/a1c7fcdce081f860cbb1148c3862e3303ddb8a62))
|
|
49
|
-
|
|
50
|
-
## 0.35.0 (2025-01-21)
|
|
51
|
-
|
|
52
|
-
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)
|
|
53
|
-
|
|
54
|
-
### Features
|
|
55
|
-
|
|
56
|
-
* 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))
|
|
57
|
-
* **stream:** add `.withResponse()` ([#654](https://github.com/anthropics/anthropic-sdk-typescript/issues/654)) ([b54477f](https://github.com/anthropics/anthropic-sdk-typescript/commit/b54477f20c92db4c2c5ed89af5d46c36b035bf1e))
|
|
58
|
-
* **streaming:** add `.request_id` getter ([4572478](https://github.com/anthropics/anthropic-sdk-typescript/commit/4572478266a67e12e32ffef69817cbc495943b1d))
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
### Bug Fixes
|
|
62
|
-
|
|
63
|
-
* **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))
|
|
64
|
-
* **examples:** add token counting example ([2498e2e](https://github.com/anthropics/anthropic-sdk-typescript/commit/2498e2eaf49d66a664ed1fdcd7bbd331979cf5b2))
|
|
65
|
-
* 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))
|
|
66
|
-
* **vertex:** add beta.messages.countTokens method ([51d3f23](https://github.com/anthropics/anthropic-sdk-typescript/commit/51d3f23a7cc1bea798cc8e4041e08114ebc3a4eb))
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### Chores
|
|
70
|
-
|
|
71
|
-
* deprecate more models ([661f5f9](https://github.com/anthropics/anthropic-sdk-typescript/commit/661f5f9d9b24f3661df246dcf101dd9812b3e19e))
|
|
72
|
-
* **internal:** add test ([#660](https://github.com/anthropics/anthropic-sdk-typescript/issues/660)) ([3ec7d1a](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ec7d1a9eea30255b24cdb16c1a26705bdfea0ac))
|
|
73
|
-
* **internal:** temporary revert commit ([#643](https://github.com/anthropics/anthropic-sdk-typescript/issues/643)) ([43dd43c](https://github.com/anthropics/anthropic-sdk-typescript/commit/43dd43c4c8ab69d5a60e59473af7dff5f7799048))
|
|
74
|
-
* **internal:** update examples ([#649](https://github.com/anthropics/anthropic-sdk-typescript/issues/649)) ([036a239](https://github.com/anthropics/anthropic-sdk-typescript/commit/036a239800fec7e6cbc439f125101d5475eae5b3))
|
|
75
|
-
* **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))
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
### Documentation
|
|
79
|
-
|
|
80
|
-
* **readme:** fix misplaced period ([#650](https://github.com/anthropics/anthropic-sdk-typescript/issues/650)) ([8754744](https://github.com/anthropics/anthropic-sdk-typescript/commit/87547448c8b4bf69a61756af1f12927f33b68680))
|
|
81
|
-
* **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))
|
|
82
|
-
|
|
83
|
-
## 0.34.0 (2024-12-20)
|
|
84
|
-
|
|
85
|
-
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)
|
|
86
|
-
|
|
87
|
-
### Features
|
|
88
|
-
|
|
89
|
-
* **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))
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Bug Fixes
|
|
93
|
-
|
|
94
|
-
* **client:** normalize method ([#639](https://github.com/anthropics/anthropic-sdk-typescript/issues/639)) ([384bb04](https://github.com/anthropics/anthropic-sdk-typescript/commit/384bb042dd854ed753c6bd8e25f522d0e042bfbf))
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
### Chores
|
|
98
|
-
|
|
99
|
-
* bump testing data uri ([#637](https://github.com/anthropics/anthropic-sdk-typescript/issues/637)) ([3f23530](https://github.com/anthropics/anthropic-sdk-typescript/commit/3f23530fb55d9fec7278967ea02600e44e9f58e2))
|
|
100
|
-
* **internal:** temporary revert commit ([#643](https://github.com/anthropics/anthropic-sdk-typescript/issues/643)) ([8057b1e](https://github.com/anthropics/anthropic-sdk-typescript/commit/8057b1eb67ccccee042a45f2efe53cccced15682))
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
### Documentation
|
|
104
|
-
|
|
105
|
-
* minor formatting changes ([#641](https://github.com/anthropics/anthropic-sdk-typescript/issues/641)) ([8b362ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b362ee72954b31b4de920b35aed97255efa5e2e))
|
|
106
|
-
* **readme:** add alpha callout ([#646](https://github.com/anthropics/anthropic-sdk-typescript/issues/646)) ([640304c](https://github.com/anthropics/anthropic-sdk-typescript/commit/640304c7c7e8bc67cbf799a646169736d89ad4c8))
|
|
107
|
-
|
|
108
|
-
## 0.33.1 (2024-12-17)
|
|
109
|
-
|
|
110
|
-
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)
|
|
111
|
-
|
|
112
|
-
### Bug Fixes
|
|
113
|
-
|
|
114
|
-
* **vertex:** remove `anthropic_version` deletion for token counting ([88221be](https://github.com/anthropics/anthropic-sdk-typescript/commit/88221be305d6e13ccf92e6e9cdb00daba45b57db))
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
### Chores
|
|
118
|
-
|
|
119
|
-
* **internal:** fix some typos ([#633](https://github.com/anthropics/anthropic-sdk-typescript/issues/633)) ([a0298f5](https://github.com/anthropics/anthropic-sdk-typescript/commit/a0298f5f67b8ecd25de416dbb3eada68b86befd7))
|
|
120
|
-
|
|
121
|
-
## 0.33.0 (2024-12-17)
|
|
122
|
-
|
|
123
|
-
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)
|
|
124
|
-
|
|
125
|
-
### Features
|
|
126
|
-
|
|
127
|
-
* **api:** general availability updates ([93d1316](https://github.com/anthropics/anthropic-sdk-typescript/commit/93d13168f950b2cdfc3b7c6664205b06418fea79))
|
|
128
|
-
* **api:** general availability updates ([#631](https://github.com/anthropics/anthropic-sdk-typescript/issues/631)) ([b5c92e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/b5c92e5b74c370ac3f9ba28e915bd54588a42be0))
|
|
129
|
-
* **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))
|
|
130
|
-
* **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))
|
|
131
|
-
* **vertex:** support token counting ([9e76b4d](https://github.com/anthropics/anthropic-sdk-typescript/commit/9e76b4dc22d62b1239b382bb771b69ad8cff9442))
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
### Bug Fixes
|
|
135
|
-
|
|
136
|
-
* **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))
|
|
137
|
-
* **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))
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### Chores
|
|
141
|
-
|
|
142
|
-
* **api:** update spec version ([#607](https://github.com/anthropics/anthropic-sdk-typescript/issues/607)) ([ea44f9a](https://github.com/anthropics/anthropic-sdk-typescript/commit/ea44f9ac49dcc25a5dfa53880ebf61318ee90f6c))
|
|
143
|
-
* **api:** update spec version ([#629](https://github.com/anthropics/anthropic-sdk-typescript/issues/629)) ([a25295c](https://github.com/anthropics/anthropic-sdk-typescript/commit/a25295cd6db7b57162fdd9049eb8a3c37bb94f08))
|
|
144
|
-
* **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))
|
|
145
|
-
* **bedrock:** remove unsupported methods ([6458dc1](https://github.com/anthropics/anthropic-sdk-typescript/commit/6458dc14544c16240a6580a21a36fcf5bde594b2))
|
|
146
|
-
* **ci:** remove unneeded workflow ([#594](https://github.com/anthropics/anthropic-sdk-typescript/issues/594)) ([7572e48](https://github.com/anthropics/anthropic-sdk-typescript/commit/7572e48dbccb2090562399c7ff2d01503c86f445))
|
|
147
|
-
* **client:** drop unused devDependency ([#610](https://github.com/anthropics/anthropic-sdk-typescript/issues/610)) ([5d0d523](https://github.com/anthropics/anthropic-sdk-typescript/commit/5d0d523390d8c34cae836c423940b67defb9d2aa))
|
|
148
|
-
* improve browser error message ([#613](https://github.com/anthropics/anthropic-sdk-typescript/issues/613)) ([c26121e](https://github.com/anthropics/anthropic-sdk-typescript/commit/c26121e84039b7430995b6363876ea9795ba31ed))
|
|
149
|
-
* **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))
|
|
150
|
-
* **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))
|
|
151
|
-
* **internal:** update isAbsoluteURL ([#627](https://github.com/anthropics/anthropic-sdk-typescript/issues/627)) ([2528ea0](https://github.com/anthropics/anthropic-sdk-typescript/commit/2528ea0dcfc83f38e76b58eaadaa5e8c5c0b188d))
|
|
152
|
-
* **internal:** update spec ([#630](https://github.com/anthropics/anthropic-sdk-typescript/issues/630)) ([82cac06](https://github.com/anthropics/anthropic-sdk-typescript/commit/82cac065e2711467773c0ea62848cdf139ed5a11))
|
|
153
|
-
* **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))
|
|
154
|
-
* 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))
|
|
155
|
-
* **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))
|
|
156
|
-
* **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))
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
### Documentation
|
|
160
|
-
|
|
161
|
-
* 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))
|
|
162
|
-
* 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))
|
|
163
|
-
|
|
164
|
-
## 0.32.1 (2024-11-05)
|
|
165
|
-
|
|
166
|
-
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)
|
|
167
|
-
|
|
168
|
-
### Bug Fixes
|
|
169
|
-
|
|
170
|
-
* **bedrock:** don't mutate request body inputs ([f83b535](https://github.com/anthropics/anthropic-sdk-typescript/commit/f83b53520262219229cecc388f95d92be83c09d5))
|
|
171
|
-
* **vertex:** don't mutate request body inputs ([e9a82e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/e9a82e56f0d7fff956c2ebd19e103a190f8beb83))
|
|
172
|
-
|
|
173
|
-
## 0.32.0 (2024-11-04)
|
|
174
|
-
|
|
175
|
-
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)
|
|
176
|
-
|
|
177
|
-
### Features
|
|
178
|
-
|
|
179
|
-
* **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))
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Bug Fixes
|
|
183
|
-
|
|
184
|
-
* 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))
|
|
185
|
-
* **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))
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
### Chores
|
|
189
|
-
|
|
190
|
-
* 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))
|
|
191
|
-
|
|
192
|
-
## 0.31.0 (2024-11-01)
|
|
193
|
-
|
|
194
|
-
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)
|
|
195
|
-
|
|
196
|
-
### Features
|
|
197
|
-
|
|
198
|
-
* **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))
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
### Bug Fixes
|
|
202
|
-
|
|
203
|
-
* **countTokens:** correctly set beta header ([1680757](https://github.com/anthropics/anthropic-sdk-typescript/commit/16807572af923831e384869a0a6ccccaa8dbec84))
|
|
204
|
-
* **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))
|
|
205
|
-
* **types:** add missing token-counting-2024-11-01 ([aff1546](https://github.com/anthropics/anthropic-sdk-typescript/commit/aff1546cd84ce50a52d17bcdcaba54e60e92955a))
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
### Reverts
|
|
209
|
-
|
|
210
|
-
* 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))
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
### Chores
|
|
214
|
-
|
|
215
|
-
* **internal:** update spec version ([#571](https://github.com/anthropics/anthropic-sdk-typescript/issues/571)) ([5760012](https://github.com/anthropics/anthropic-sdk-typescript/commit/576001245f0b5222cb9b17fafb8619f68d51bec3))
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
### Documentation
|
|
219
|
-
|
|
220
|
-
* **readme:** minor typo fixes ([#577](https://github.com/anthropics/anthropic-sdk-typescript/issues/577)) ([8412854](https://github.com/anthropics/anthropic-sdk-typescript/commit/8412854c05837cdb8b8ff898bef2a4e0dbb23cd2))
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
### Refactors
|
|
224
|
-
|
|
225
|
-
* 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))
|
|
226
|
-
* 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))
|
|
227
|
-
|
|
228
|
-
## 0.30.1 (2024-10-23)
|
|
229
|
-
|
|
230
|
-
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)
|
|
231
|
-
|
|
232
|
-
### Bug Fixes
|
|
233
|
-
|
|
234
|
-
* **bedrock:** correct messages beta handling ([9b57586](https://github.com/anthropics/anthropic-sdk-typescript/commit/9b57586456221f8900902b8e85c7c017959c150a))
|
|
235
|
-
* **vertex:** correct messages beta handling ([26f21ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/26f21ee5f524f4cbfb7a97d40aa62553608b1d99))
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
### Chores
|
|
239
|
-
|
|
240
|
-
* **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))
|
|
241
|
-
|
|
242
|
-
## 0.30.0 (2024-10-22)
|
|
243
|
-
|
|
244
|
-
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)
|
|
245
|
-
|
|
246
|
-
### Features
|
|
247
|
-
|
|
248
|
-
* **api:** add new model and `computer-use-2024-10-22` beta ([6981d89](https://github.com/anthropics/anthropic-sdk-typescript/commit/6981d89d3efe6ae8d35c7562527a6c81ad8ed78f))
|
|
249
|
-
* **bedrock:** add beta.messages.create() method ([6317592](https://github.com/anthropics/anthropic-sdk-typescript/commit/63175920a016a2ad187dd1127d263357cf6c007e))
|
|
250
|
-
* **vertex:** add beta.messages.create() ([22cfdba](https://github.com/anthropics/anthropic-sdk-typescript/commit/22cfdba2a3a54e916f2efcbce62990544d3e5f5f))
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
### Bug Fixes
|
|
254
|
-
|
|
255
|
-
* **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))
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
### Chores
|
|
259
|
-
|
|
260
|
-
* **api:** add title ([#564](https://github.com/anthropics/anthropic-sdk-typescript/issues/564)) ([a8b7544](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8b7544e56d4a1dfa1f6de530ddaa728ae52c87f))
|
|
261
|
-
* **internal:** update spec ([#566](https://github.com/anthropics/anthropic-sdk-typescript/issues/566)) ([5b998ea](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b998eaf3216fba2283e7762faa115bd5f47a239))
|
|
262
|
-
|
|
263
|
-
## 0.29.2 (2024-10-17)
|
|
264
|
-
|
|
265
|
-
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)
|
|
266
|
-
|
|
267
|
-
### Bug Fixes
|
|
268
|
-
|
|
269
|
-
* **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))
|
|
270
|
-
|
|
271
|
-
## 0.29.1 (2024-10-15)
|
|
272
|
-
|
|
273
|
-
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)
|
|
274
|
-
|
|
275
|
-
### Bug Fixes
|
|
276
|
-
|
|
277
|
-
* **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))
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
### Chores
|
|
281
|
-
|
|
282
|
-
* **internal:** update spec URL ([#554](https://github.com/anthropics/anthropic-sdk-typescript/issues/554)) ([1fb6448](https://github.com/anthropics/anthropic-sdk-typescript/commit/1fb64489aa1b13c266692c7d14d2dd9b5350b7fc))
|
|
283
|
-
|
|
284
|
-
## 0.29.0 (2024-10-08)
|
|
285
|
-
|
|
286
|
-
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)
|
|
287
|
-
|
|
288
|
-
### Features
|
|
289
|
-
|
|
290
|
-
* **api:** add message batches api ([4f114d5](https://github.com/anthropics/anthropic-sdk-typescript/commit/4f114d5121f5c66619c7bdd18d0aa2b7a627e3ff))
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
### Chores
|
|
294
|
-
|
|
295
|
-
* **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))
|
|
296
|
-
* **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))
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
### Refactors
|
|
300
|
-
|
|
301
|
-
* **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))
|
|
302
|
-
* **types:** improve metadata types ([#546](https://github.com/anthropics/anthropic-sdk-typescript/issues/546)) ([3fe538b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3fe538bb8cd50e6d68cacc0846f287dc539238d3))
|
|
303
|
-
* **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))
|
|
304
|
-
* **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))
|
|
305
|
-
|
|
306
|
-
## 0.28.0 (2024-10-04)
|
|
307
|
-
|
|
308
|
-
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)
|
|
309
|
-
|
|
310
|
-
### Features
|
|
311
|
-
|
|
312
|
-
* **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))
|
|
313
|
-
* **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))
|
|
314
|
-
* **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))
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
### Bug Fixes
|
|
318
|
-
|
|
319
|
-
* **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))
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
### Chores
|
|
323
|
-
|
|
324
|
-
* 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))
|
|
325
|
-
* 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))
|
|
326
|
-
* **internal:** add dev dependency ([#531](https://github.com/anthropics/anthropic-sdk-typescript/issues/531)) ([a9c127b](https://github.com/anthropics/anthropic-sdk-typescript/commit/a9c127b2854d0cf7efd49e7d46ff10fe52372949))
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
### Documentation
|
|
330
|
-
|
|
331
|
-
* 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))
|
|
332
|
-
* update CONTRIBUTING.md ([#528](https://github.com/anthropics/anthropic-sdk-typescript/issues/528)) ([2609dec](https://github.com/anthropics/anthropic-sdk-typescript/commit/2609dec770d33b828c957e431f2d03871e67e629))
|
|
333
|
-
|
|
334
|
-
## 0.27.3 (2024-09-09)
|
|
335
|
-
|
|
336
|
-
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)
|
|
337
|
-
|
|
338
|
-
### Bug Fixes
|
|
339
|
-
|
|
340
|
-
* **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))
|
|
341
|
-
* **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))
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
### Chores
|
|
345
|
-
|
|
346
|
-
* **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))
|
|
347
|
-
|
|
348
|
-
## 0.27.2 (2024-09-04)
|
|
349
|
-
|
|
350
|
-
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)
|
|
351
|
-
|
|
352
|
-
### Bug Fixes
|
|
353
|
-
|
|
354
|
-
* **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))
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
### Chores
|
|
358
|
-
|
|
359
|
-
* **api:** deprecate claude-1 models ([53644d2](https://github.com/anthropics/anthropic-sdk-typescript/commit/53644d2690e62623afc04383cad0126f98ea37e8))
|
|
360
|
-
* **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))
|
|
361
|
-
* **internal:** dependency updates ([#519](https://github.com/anthropics/anthropic-sdk-typescript/issues/519)) ([b7b0cd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7b0cd6579cd987662e7118f8563f68c0903f8da))
|
|
362
|
-
* 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))
|
|
363
|
-
|
|
364
|
-
## 0.27.1 (2024-08-27)
|
|
365
|
-
|
|
366
|
-
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)
|
|
367
|
-
|
|
368
|
-
### Chores
|
|
369
|
-
|
|
370
|
-
* **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))
|
|
371
|
-
|
|
372
|
-
## 0.27.0 (2024-08-21)
|
|
373
|
-
|
|
374
|
-
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)
|
|
375
|
-
|
|
376
|
-
### Features
|
|
377
|
-
|
|
378
|
-
* **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))
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
### Documentation
|
|
382
|
-
|
|
383
|
-
* **readme:** update formatting and clarity for CORS flag ([9cb2c35](https://github.com/anthropics/anthropic-sdk-typescript/commit/9cb2c35f92827eb8654b1669db5ba702770fcae4))
|
|
384
|
-
|
|
385
|
-
## 0.26.1 (2024-08-15)
|
|
386
|
-
|
|
387
|
-
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)
|
|
388
|
-
|
|
389
|
-
### Chores
|
|
390
|
-
|
|
391
|
-
* **ci:** add CODEOWNERS file ([#498](https://github.com/anthropics/anthropic-sdk-typescript/issues/498)) ([c34433f](https://github.com/anthropics/anthropic-sdk-typescript/commit/c34433fb6528fdd00d189ea0a3b177d95c7c7fa9))
|
|
392
|
-
* **docs/api:** update prompt caching helpers ([04195a3](https://github.com/anthropics/anthropic-sdk-typescript/commit/04195a345d62c98f826e5eecdad20f497db5b3e5))
|
|
393
|
-
|
|
394
|
-
## 0.26.0 (2024-08-14)
|
|
395
|
-
|
|
396
|
-
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)
|
|
397
|
-
|
|
398
|
-
### Features
|
|
399
|
-
|
|
400
|
-
* **api:** add prompt caching beta ([c920b77](https://github.com/anthropics/anthropic-sdk-typescript/commit/c920b77fc67bd839bfeb6716ceab9d7c9bbe7393))
|
|
401
|
-
* **client:** add streaming helpers ([39abc26](https://github.com/anthropics/anthropic-sdk-typescript/commit/39abc2635517d564ac8b7e63235f0a338fc4bed0))
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
### Chores
|
|
405
|
-
|
|
406
|
-
* **examples:** minor formatting changes ([#491](https://github.com/anthropics/anthropic-sdk-typescript/issues/491)) ([8afef58](https://github.com/anthropics/anthropic-sdk-typescript/commit/8afef584895ffa3f8382c98d2c0a3fc6138e9420))
|
|
407
|
-
|
|
408
|
-
## 0.25.2 (2024-08-12)
|
|
409
|
-
|
|
410
|
-
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)
|
|
411
|
-
|
|
412
|
-
### Chores
|
|
413
|
-
|
|
414
|
-
* **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))
|
|
415
|
-
* **ci:** minor changes ([#488](https://github.com/anthropics/anthropic-sdk-typescript/issues/488)) ([747fd97](https://github.com/anthropics/anthropic-sdk-typescript/commit/747fd973af594cc52f244b33f31bcf8079733e7d))
|
|
416
|
-
|
|
417
|
-
## 0.25.1 (2024-08-09)
|
|
418
|
-
|
|
419
|
-
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)
|
|
420
|
-
|
|
421
|
-
### Chores
|
|
422
|
-
|
|
423
|
-
* **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))
|
|
424
|
-
* **internal:** updates ([#487](https://github.com/anthropics/anthropic-sdk-typescript/issues/487)) ([67a3325](https://github.com/anthropics/anthropic-sdk-typescript/commit/67a3325aa05c5a19f06b0cb1e67517168427c300))
|
|
425
|
-
* sync openapi version ([#481](https://github.com/anthropics/anthropic-sdk-typescript/issues/481)) ([5fd7e21](https://github.com/anthropics/anthropic-sdk-typescript/commit/5fd7e219732a4483c2edd9a812049569b31943c4))
|
|
426
|
-
* sync openapi version ([#485](https://github.com/anthropics/anthropic-sdk-typescript/issues/485)) ([e74c522](https://github.com/anthropics/anthropic-sdk-typescript/commit/e74c522989cfb979ca916e416c7c14a349b32ef5))
|
|
427
|
-
* sync openapi version ([#486](https://github.com/anthropics/anthropic-sdk-typescript/issues/486)) ([ad98e9e](https://github.com/anthropics/anthropic-sdk-typescript/commit/ad98e9eca5db4f5a04bf8c26e4c53050985cec33))
|
|
428
|
-
|
|
429
|
-
## 0.25.0 (2024-07-29)
|
|
430
|
-
|
|
431
|
-
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)
|
|
432
|
-
|
|
433
|
-
### Features
|
|
434
|
-
|
|
435
|
-
* add back compat alias for InputJsonDelta ([8b08161](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b081613a50821b8dfa8a1251d42337a20607411))
|
|
436
|
-
* **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))
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
### Bug Fixes
|
|
440
|
-
|
|
441
|
-
* **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))
|
|
442
|
-
* use relative paths ([#475](https://github.com/anthropics/anthropic-sdk-typescript/issues/475)) ([a8ca93c](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8ca93cc40464dc76118f7dd72e94c52693f3d63))
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
### Chores
|
|
446
|
-
|
|
447
|
-
* **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))
|
|
448
|
-
* **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))
|
|
449
|
-
* **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))
|
|
450
|
-
* **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))
|
|
451
|
-
* **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))
|
|
452
|
-
* **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))
|
|
453
|
-
* **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))
|
|
454
|
-
* **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))
|
|
455
|
-
* **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))
|
|
456
|
-
* **internal:** remove old reference to check-test-server ([8dc9afc](https://github.com/anthropics/anthropic-sdk-typescript/commit/8dc9afcf00c4a38c2d85171ebceafc5f6a47c117))
|
|
457
|
-
* sync spec ([#470](https://github.com/anthropics/anthropic-sdk-typescript/issues/470)) ([b493aa4](https://github.com/anthropics/anthropic-sdk-typescript/commit/b493aa49d3d6e67be22c3e8255dd4286e6bbcdeb))
|
|
458
|
-
* **tests:** update prism version ([#473](https://github.com/anthropics/anthropic-sdk-typescript/issues/473)) ([6f21ecf](https://github.com/anthropics/anthropic-sdk-typescript/commit/6f21ecfd781d04a7dc83641f069bb38d5584a320))
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
### Refactors
|
|
462
|
-
|
|
463
|
-
* 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))
|
|
464
|
-
|
|
465
|
-
## 0.24.3 (2024-07-01)
|
|
466
|
-
|
|
467
|
-
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)
|
|
468
|
-
|
|
469
|
-
### Bug Fixes
|
|
470
|
-
|
|
471
|
-
* **types:** avoid errors on certain TS versions ([dd6aca5](https://github.com/anthropics/anthropic-sdk-typescript/commit/dd6aca56e58d52f09e67e227cccbf273b92adb13))
|
|
472
|
-
|
|
473
|
-
## 0.24.2 (2024-06-28)
|
|
474
|
-
|
|
475
|
-
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)
|
|
476
|
-
|
|
477
|
-
### Bug Fixes
|
|
478
|
-
|
|
479
|
-
* **partial-json:** don't error on unknown tokens ([d212ce1](https://github.com/anthropics/anthropic-sdk-typescript/commit/d212ce152ca0b8846e7891636ad4ba287da50958))
|
|
480
|
-
* **partial-json:** handle `null` token properly ([f53742f](https://github.com/anthropics/anthropic-sdk-typescript/commit/f53742f497a33b8f0639a63cec828d430a19cb27))
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
### Chores
|
|
484
|
-
|
|
485
|
-
* gitignore test server logs ([#451](https://github.com/anthropics/anthropic-sdk-typescript/issues/451)) ([ee1308f](https://github.com/anthropics/anthropic-sdk-typescript/commit/ee1308f74e5544ed0ce53bfd14ca49d0f03bcffb))
|
|
486
|
-
* **tests:** add unit tests for partial-json-parser ([4fb3bea](https://github.com/anthropics/anthropic-sdk-typescript/commit/4fb3bea74538823c8ab359048f823029d4716277))
|
|
487
|
-
|
|
488
|
-
## 0.24.1 (2024-06-25)
|
|
489
|
-
|
|
490
|
-
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)
|
|
491
|
-
|
|
492
|
-
### Bug Fixes
|
|
493
|
-
|
|
494
|
-
* **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))
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
### Chores
|
|
498
|
-
|
|
499
|
-
* **internal:** minor reformatting ([#444](https://github.com/anthropics/anthropic-sdk-typescript/issues/444)) ([46790bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/46790bb462db01ae1725e120f2bdca0a89c8f722))
|
|
500
|
-
* **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))
|
|
501
|
-
|
|
502
|
-
## 0.24.0 (2024-06-20)
|
|
503
|
-
|
|
504
|
-
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)
|
|
505
|
-
|
|
506
|
-
### Features
|
|
507
|
-
|
|
508
|
-
* **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))
|
|
509
|
-
|
|
510
|
-
## 0.23.0 (2024-06-14)
|
|
511
|
-
|
|
512
|
-
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)
|
|
513
|
-
|
|
514
|
-
### Features
|
|
515
|
-
|
|
516
|
-
* 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))
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
### Bug Fixes
|
|
520
|
-
|
|
521
|
-
* 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))
|
|
522
|
-
|
|
523
|
-
## 0.22.0 (2024-05-30)
|
|
524
|
-
|
|
525
|
-
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)
|
|
526
|
-
|
|
527
|
-
### Features
|
|
528
|
-
|
|
529
|
-
* **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))
|
|
530
|
-
* **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))
|
|
531
|
-
* **bedrock:** support tools ([91fc61a](https://github.com/anthropics/anthropic-sdk-typescript/commit/91fc61ae7246705d26e96a95dae38b46e9ad9290))
|
|
532
|
-
* **streaming:** add tools support ([4c83bb1](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c83bb111735cd513c09d5ed57a5cb0888534afd))
|
|
533
|
-
* **vertex:** support tools ([acf0aa7](https://github.com/anthropics/anthropic-sdk-typescript/commit/acf0aa7571425c8582740616e24883c2ec65218b))
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
### Documentation
|
|
537
|
-
|
|
538
|
-
* **helpers:** mention inputJson event ([0ef0e39](https://github.com/anthropics/anthropic-sdk-typescript/commit/0ef0e39a870541bbe800b03c1bdcf88eb6e1350c))
|
|
539
|
-
* **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))
|
|
540
|
-
|
|
541
|
-
## 0.21.1 (2024-05-21)
|
|
542
|
-
|
|
543
|
-
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)
|
|
544
|
-
|
|
545
|
-
### Chores
|
|
546
|
-
|
|
547
|
-
* **docs:** fix typo ([#423](https://github.com/anthropics/anthropic-sdk-typescript/issues/423)) ([d42f458](https://github.com/anthropics/anthropic-sdk-typescript/commit/d42f45820347171bd456b0038406a53b098a4fa2))
|
|
548
|
-
* **internal:** run build script over sub-packages ([6f04f66](https://github.com/anthropics/anthropic-sdk-typescript/commit/6f04f6689603ef5a59ce15f490d74392241694c3))
|
|
549
|
-
|
|
550
|
-
## 0.21.0 (2024-05-16)
|
|
551
|
-
|
|
552
|
-
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)
|
|
553
|
-
|
|
554
|
-
### Features
|
|
555
|
-
|
|
556
|
-
* **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))
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
### Chores
|
|
560
|
-
|
|
561
|
-
* **docs:** add SECURITY.md ([#411](https://github.com/anthropics/anthropic-sdk-typescript/issues/411)) ([bf2ad84](https://github.com/anthropics/anthropic-sdk-typescript/commit/bf2ad8496d97de46b28575dfa37fa9cf15341eb4))
|
|
562
|
-
* **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))
|
|
563
|
-
* **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))
|
|
564
|
-
|
|
565
|
-
## 0.20.9 (2024-05-07)
|
|
566
|
-
|
|
567
|
-
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)
|
|
568
|
-
|
|
569
|
-
### Bug Fixes
|
|
570
|
-
|
|
571
|
-
* **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))
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
### Chores
|
|
575
|
-
|
|
576
|
-
* **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))
|
|
577
|
-
* **internal:** bump prism version ([#407](https://github.com/anthropics/anthropic-sdk-typescript/issues/407)) ([0c1eb5d](https://github.com/anthropics/anthropic-sdk-typescript/commit/0c1eb5d5c500ea95fbf9a5ccce37c74170c6a84f))
|
|
578
|
-
* **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))
|
|
579
|
-
* **internal:** refactor scripts ([#404](https://github.com/anthropics/anthropic-sdk-typescript/issues/404)) ([f60e2d8](https://github.com/anthropics/anthropic-sdk-typescript/commit/f60e2d81bb241063507d2d7e728c78e78c1c5e51))
|
|
580
|
-
|
|
581
|
-
## 0.20.8 (2024-04-29)
|
|
582
|
-
|
|
583
|
-
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)
|
|
584
|
-
|
|
585
|
-
### Chores
|
|
586
|
-
|
|
587
|
-
* **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))
|
|
588
|
-
* **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))
|
|
589
|
-
|
|
590
|
-
## 0.20.7 (2024-04-24)
|
|
591
|
-
|
|
592
|
-
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)
|
|
593
|
-
|
|
594
|
-
### Chores
|
|
595
|
-
|
|
596
|
-
* **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))
|
|
597
|
-
|
|
598
|
-
## 0.20.6 (2024-04-17)
|
|
599
|
-
|
|
600
|
-
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)
|
|
601
|
-
|
|
602
|
-
### Build System
|
|
603
|
-
|
|
604
|
-
* 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))
|
|
605
|
-
|
|
606
|
-
## 0.20.5 (2024-04-15)
|
|
607
|
-
|
|
608
|
-
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)
|
|
609
|
-
|
|
610
|
-
### Chores
|
|
611
|
-
|
|
612
|
-
* **internal:** formatting ([#390](https://github.com/anthropics/anthropic-sdk-typescript/issues/390)) ([b7861b9](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7861b940dc9c1c21eb6edf3bac8d1d62d2d372f))
|
|
613
|
-
|
|
614
|
-
## 0.20.4 (2024-04-11)
|
|
615
|
-
|
|
616
|
-
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)
|
|
617
|
-
|
|
618
|
-
### Chores
|
|
619
|
-
|
|
620
|
-
* **internal:** update gitignore ([#388](https://github.com/anthropics/anthropic-sdk-typescript/issues/388)) ([03f03a2](https://github.com/anthropics/anthropic-sdk-typescript/commit/03f03a22532680a3b9bbd2e49116ef760b07a498))
|
|
621
|
-
|
|
622
|
-
## 0.20.3 (2024-04-10)
|
|
623
|
-
|
|
624
|
-
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)
|
|
625
|
-
|
|
626
|
-
### Bug Fixes
|
|
627
|
-
|
|
628
|
-
* **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))
|
|
629
|
-
|
|
630
|
-
## 0.20.2 (2024-04-09)
|
|
631
|
-
|
|
632
|
-
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)
|
|
633
|
-
|
|
634
|
-
### Chores
|
|
635
|
-
|
|
636
|
-
* **internal:** update lock files ([#377](https://github.com/anthropics/anthropic-sdk-typescript/issues/377)) ([6d239ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d239efaca730baba374a1b49f6b1a4037b3e163))
|
|
637
|
-
|
|
638
|
-
## 0.20.1 (2024-04-04)
|
|
639
|
-
|
|
640
|
-
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)
|
|
641
|
-
|
|
642
|
-
### Documentation
|
|
643
|
-
|
|
644
|
-
* **readme:** mention tool use ([#375](https://github.com/anthropics/anthropic-sdk-typescript/issues/375)) ([72356dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/72356dd9c498344074c292ffdab602d54c4fa13e))
|
|
645
|
-
|
|
646
|
-
## 0.20.0 (2024-04-04)
|
|
647
|
-
|
|
648
|
-
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)
|
|
649
|
-
|
|
650
|
-
### Features
|
|
651
|
-
|
|
652
|
-
* **api:** tool use beta ([#374](https://github.com/anthropics/anthropic-sdk-typescript/issues/374)) ([e28514a](https://github.com/anthropics/anthropic-sdk-typescript/commit/e28514a305908f71e98bc33123bc99ed6bf7348f))
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
### Bug Fixes
|
|
656
|
-
|
|
657
|
-
* **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))
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
### Chores
|
|
661
|
-
|
|
662
|
-
* **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))
|
|
663
|
-
|
|
664
|
-
## 0.19.2 (2024-04-04)
|
|
665
|
-
|
|
666
|
-
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)
|
|
667
|
-
|
|
668
|
-
### Bug Fixes
|
|
669
|
-
|
|
670
|
-
* **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))
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
### Chores
|
|
674
|
-
|
|
675
|
-
* **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))
|
|
676
|
-
* **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))
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
### Documentation
|
|
680
|
-
|
|
681
|
-
* **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))
|
|
682
|
-
|
|
683
|
-
## 0.19.1 (2024-03-29)
|
|
684
|
-
|
|
685
|
-
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)
|
|
686
|
-
|
|
687
|
-
### Bug Fixes
|
|
688
|
-
|
|
689
|
-
* **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))
|
|
690
|
-
* 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))
|
|
691
|
-
* **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))
|
|
692
|
-
* **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))
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
### Chores
|
|
696
|
-
|
|
697
|
-
* **internal:** add type ([#359](https://github.com/anthropics/anthropic-sdk-typescript/issues/359)) ([9456414](https://github.com/anthropics/anthropic-sdk-typescript/commit/945641467deffb674f762920955c98d10f287c8e))
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
### Documentation
|
|
701
|
-
|
|
702
|
-
* **bedrock:** fix dead link ([#356](https://github.com/anthropics/anthropic-sdk-typescript/issues/356)) ([a953e00](https://github.com/anthropics/anthropic-sdk-typescript/commit/a953e0070698f3238b728ffe06a056a9f2d6b7ff))
|
|
703
|
-
* **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))
|
|
704
|
-
* **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))
|
|
705
|
-
|
|
706
|
-
## 0.19.0 (2024-03-19)
|
|
707
|
-
|
|
708
|
-
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)
|
|
709
|
-
|
|
710
|
-
### Features
|
|
711
|
-
|
|
712
|
-
* **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))
|
|
713
|
-
* **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))
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
### Bug Fixes
|
|
717
|
-
|
|
718
|
-
* **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))
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
### Chores
|
|
722
|
-
|
|
723
|
-
* **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))
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
### Documentation
|
|
727
|
-
|
|
728
|
-
* 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))
|
|
729
|
-
|
|
730
|
-
## 0.18.0 (2024-03-13)
|
|
731
|
-
|
|
732
|
-
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)
|
|
733
|
-
|
|
734
|
-
### Features
|
|
735
|
-
|
|
736
|
-
* **api:** add haiku model ([#333](https://github.com/anthropics/anthropic-sdk-typescript/issues/333)) ([11becc6](https://github.com/anthropics/anthropic-sdk-typescript/commit/11becc64a8b07b353835678e063a70e3a0bd85e3))
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
### Documentation
|
|
740
|
-
|
|
741
|
-
* 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))
|
|
742
|
-
|
|
743
|
-
## 0.17.2 (2024-03-12)
|
|
744
|
-
|
|
745
|
-
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)
|
|
746
|
-
|
|
747
|
-
### Chores
|
|
748
|
-
|
|
749
|
-
* **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))
|
|
750
|
-
|
|
751
|
-
## 0.17.1 (2024-03-06)
|
|
752
|
-
|
|
753
|
-
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)
|
|
754
|
-
|
|
755
|
-
### Documentation
|
|
756
|
-
|
|
757
|
-
* 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))
|
|
758
|
-
* 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))
|
|
759
|
-
|
|
760
|
-
## 0.17.0 (2024-03-06)
|
|
761
|
-
|
|
762
|
-
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)
|
|
763
|
-
|
|
764
|
-
### Features
|
|
765
|
-
|
|
766
|
-
* **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))
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
### Bug Fixes
|
|
770
|
-
|
|
771
|
-
* **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))
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
### Chores
|
|
775
|
-
|
|
776
|
-
* **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))
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
### Documentation
|
|
780
|
-
|
|
781
|
-
* **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))
|
|
782
|
-
* **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))
|
|
783
|
-
|
|
784
|
-
## 0.16.1 (2024-03-04)
|
|
785
|
-
|
|
786
|
-
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)
|
|
787
|
-
|
|
788
|
-
### Chores
|
|
789
|
-
|
|
790
|
-
* 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))
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
### Documentation
|
|
794
|
-
|
|
795
|
-
* **readme:** reference bedrock sdk ([#309](https://github.com/anthropics/anthropic-sdk-typescript/issues/309)) ([0fd0416](https://github.com/anthropics/anthropic-sdk-typescript/commit/0fd041617eca18dd506efffe5a4e2505dd1aa004))
|
|
796
|
-
|
|
797
|
-
## 0.16.0 (2024-03-04)
|
|
798
|
-
|
|
799
|
-
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)
|
|
800
|
-
|
|
801
|
-
### Features
|
|
802
|
-
|
|
803
|
-
* **bedrock:** add messages API ([#305](https://github.com/anthropics/anthropic-sdk-typescript/issues/305)) ([8b7f89e](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b7f89e1e60416f9ad5b575d43238a4259654395))
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
### Chores
|
|
807
|
-
|
|
808
|
-
* update examples ([459956a](https://github.com/anthropics/anthropic-sdk-typescript/commit/459956ac44b5a2fd1dd0d0828e0281875b5900e9))
|
|
809
|
-
|
|
810
|
-
## 0.15.0 (2024-03-04)
|
|
811
|
-
|
|
812
|
-
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)
|
|
813
|
-
|
|
814
|
-
### Features
|
|
815
|
-
|
|
816
|
-
* **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))
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
### Bug Fixes
|
|
820
|
-
|
|
821
|
-
* **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))
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
### Chores
|
|
825
|
-
|
|
826
|
-
* **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))
|
|
827
|
-
* **internal:** update deps ([#296](https://github.com/anthropics/anthropic-sdk-typescript/issues/296)) ([8804a92](https://github.com/anthropics/anthropic-sdk-typescript/commit/8804a92e3c873d712cac75089af0e82104e6381c))
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
### Documentation
|
|
831
|
-
|
|
832
|
-
* **contributing:** improve wording ([#299](https://github.com/anthropics/anthropic-sdk-typescript/issues/299)) ([7697fa1](https://github.com/anthropics/anthropic-sdk-typescript/commit/7697fa1a3b680015c55ed715a1496c727630a3dc))
|
|
833
|
-
* **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))
|
|
834
|
-
|
|
835
|
-
## 0.14.1 (2024-02-22)
|
|
836
|
-
|
|
837
|
-
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)
|
|
838
|
-
|
|
839
|
-
### Chores
|
|
840
|
-
|
|
841
|
-
* **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))
|
|
842
|
-
* **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))
|
|
843
|
-
* **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))
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
### Documentation
|
|
847
|
-
|
|
848
|
-
* **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))
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
### Refactors
|
|
852
|
-
|
|
853
|
-
* **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))
|
|
854
|
-
|
|
855
|
-
## 0.14.0 (2024-02-13)
|
|
856
|
-
|
|
857
|
-
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)
|
|
858
|
-
|
|
859
|
-
### ⚠ BREAKING CHANGES
|
|
860
|
-
|
|
861
|
-
* **api:** messages is generally available ([#287](https://github.com/anthropics/anthropic-sdk-typescript/issues/287))
|
|
862
|
-
|
|
863
|
-
### Features
|
|
864
|
-
|
|
865
|
-
* **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))
|
|
866
|
-
|
|
867
|
-
## 0.13.1 (2024-02-07)
|
|
868
|
-
|
|
869
|
-
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)
|
|
870
|
-
|
|
871
|
-
### Chores
|
|
872
|
-
|
|
873
|
-
* **internal:** reformat pacakge.json ([#284](https://github.com/anthropics/anthropic-sdk-typescript/issues/284)) ([3760c68](https://github.com/anthropics/anthropic-sdk-typescript/commit/3760c68f207b596261da336cbe62b4b84fb1763f))
|
|
874
|
-
* 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))
|
|
875
|
-
|
|
876
|
-
## 0.13.0 (2024-02-02)
|
|
877
|
-
|
|
878
|
-
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)
|
|
879
|
-
|
|
880
|
-
### Features
|
|
881
|
-
|
|
882
|
-
* **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))
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
### Chores
|
|
886
|
-
|
|
887
|
-
* **package:** fix formatting ([#283](https://github.com/anthropics/anthropic-sdk-typescript/issues/283)) ([f88579a](https://github.com/anthropics/anthropic-sdk-typescript/commit/f88579a0768e0a7d5064eec9e1dd79e86c66bce7))
|
|
888
|
-
|
|
889
|
-
## 0.12.8 (2024-02-02)
|
|
890
|
-
|
|
891
|
-
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)
|
|
892
|
-
|
|
893
|
-
### Chores
|
|
894
|
-
|
|
895
|
-
* **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))
|
|
896
|
-
* **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))
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
### Documentation
|
|
900
|
-
|
|
901
|
-
* add a CONTRIBUTING.md ([#280](https://github.com/anthropics/anthropic-sdk-typescript/issues/280)) ([5b53551](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b535512f2eacdb9f2fef795c85f2d2aaeedaea3))
|
|
902
|
-
|
|
903
|
-
## 0.12.7 (2024-01-31)
|
|
904
|
-
|
|
905
|
-
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)
|
|
906
|
-
|
|
907
|
-
### Chores
|
|
908
|
-
|
|
909
|
-
* **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))
|
|
910
|
-
* **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))
|
|
911
|
-
|
|
912
|
-
## 0.12.6 (2024-01-30)
|
|
913
|
-
|
|
914
|
-
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)
|
|
915
|
-
|
|
916
|
-
### Chores
|
|
917
|
-
|
|
918
|
-
* **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))
|
|
919
|
-
|
|
920
|
-
## 0.12.5 (2024-01-25)
|
|
921
|
-
|
|
922
|
-
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)
|
|
923
|
-
|
|
924
|
-
### Chores
|
|
925
|
-
|
|
926
|
-
* **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))
|
|
927
|
-
* **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))
|
|
928
|
-
|
|
929
|
-
## 0.12.4 (2024-01-23)
|
|
930
|
-
|
|
931
|
-
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)
|
|
932
|
-
|
|
933
|
-
### Chores
|
|
934
|
-
|
|
935
|
-
* **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))
|
|
936
|
-
* **internal:** minor streaming updates ([#264](https://github.com/anthropics/anthropic-sdk-typescript/issues/264)) ([d4414ff](https://github.com/anthropics/anthropic-sdk-typescript/commit/d4414ffeafbc47769b91c4b2681f130b46d1a7c1))
|
|
937
|
-
* **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))
|
|
938
|
-
|
|
939
|
-
## 0.12.3 (2024-01-19)
|
|
940
|
-
|
|
941
|
-
Full Changelog: [v0.12.2...v0.12.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.2...v0.12.3)
|
|
942
|
-
|
|
943
|
-
### Bug Fixes
|
|
944
|
-
|
|
945
|
-
* 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))
|
|
946
|
-
|
|
947
|
-
## 0.12.2 (2024-01-18)
|
|
948
|
-
|
|
949
|
-
Full Changelog: [v0.12.1...v0.12.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.1...v0.12.2)
|
|
950
|
-
|
|
951
|
-
### Bug Fixes
|
|
952
|
-
|
|
953
|
-
* **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))
|
|
954
|
-
* **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))
|
|
955
|
-
* 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))
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
### Chores
|
|
959
|
-
|
|
960
|
-
* **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))
|
|
961
|
-
* **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))
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
### Documentation
|
|
965
|
-
|
|
966
|
-
* 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))
|
|
967
|
-
* **readme:** improve api reference ([#254](https://github.com/anthropics/anthropic-sdk-typescript/issues/254)) ([3721927](https://github.com/anthropics/anthropic-sdk-typescript/commit/3721927e895d42c167e2464f30f7f2addb690ec6))
|
|
968
|
-
|
|
969
|
-
## 0.12.1 (2024-01-08)
|
|
970
|
-
|
|
971
|
-
Full Changelog: [v0.12.0...v0.12.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.0...v0.12.1)
|
|
972
|
-
|
|
973
|
-
### Bug Fixes
|
|
974
|
-
|
|
975
|
-
* **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))
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
### Chores
|
|
979
|
-
|
|
980
|
-
* 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))
|
|
981
|
-
* **internal:** improve type signatures ([#247](https://github.com/anthropics/anthropic-sdk-typescript/issues/247)) ([40edd29](https://github.com/anthropics/anthropic-sdk-typescript/commit/40edd299a83f1f60e973080d1fa84f6f42752663))
|
|
982
|
-
|
|
983
|
-
## 0.12.0 (2023-12-21)
|
|
984
|
-
|
|
985
|
-
Full Changelog: [v0.11.0...v0.12.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.11.0...v0.12.0)
|
|
986
|
-
|
|
987
|
-
### ⚠ BREAKING CHANGES
|
|
988
|
-
|
|
989
|
-
* remove anthropic-beta and x-api-key headers from param types ([#243](https://github.com/anthropics/anthropic-sdk-typescript/issues/243))
|
|
990
|
-
|
|
991
|
-
### Bug Fixes
|
|
992
|
-
|
|
993
|
-
* 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))
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
### Documentation
|
|
997
|
-
|
|
998
|
-
* **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))
|
|
999
|
-
* **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))
|
|
1000
|
-
* reformat README.md ([#241](https://github.com/anthropics/anthropic-sdk-typescript/issues/241)) ([eb12705](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb12705a7d975f584ca31f24b99c35318cf6419b))
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
### Refactors
|
|
1004
|
-
|
|
1005
|
-
* 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))
|
|
1006
|
-
|
|
1007
|
-
## 0.11.0 (2023-12-19)
|
|
1008
|
-
|
|
1009
|
-
Full Changelog: [v0.10.2...v0.11.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.2...v0.11.0)
|
|
1010
|
-
|
|
1011
|
-
### Features
|
|
1012
|
-
|
|
1013
|
-
* **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))
|
|
1014
|
-
* **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))
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
### Chores
|
|
1018
|
-
|
|
1019
|
-
* **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))
|
|
1020
|
-
* **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))
|
|
1021
|
-
* **deps:** update jest ([#234](https://github.com/anthropics/anthropic-sdk-typescript/issues/234)) ([5506174](https://github.com/anthropics/anthropic-sdk-typescript/commit/5506174092d5248354f3d288c84da5ba4749375c))
|
|
1022
|
-
* update dependencies ([#231](https://github.com/anthropics/anthropic-sdk-typescript/issues/231)) ([4e34536](https://github.com/anthropics/anthropic-sdk-typescript/commit/4e345362c9002528fb0d95ca739fb8211ab3aec8))
|
|
1023
|
-
* update prettier ([#230](https://github.com/anthropics/anthropic-sdk-typescript/issues/230)) ([173603e](https://github.com/anthropics/anthropic-sdk-typescript/commit/173603e14fc5fe87c056553ecec3278059fe58d9))
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
### Documentation
|
|
1027
|
-
|
|
1028
|
-
* 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))
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
### Build System
|
|
1032
|
-
|
|
1033
|
-
* specify `packageManager: yarn` ([#229](https://github.com/anthropics/anthropic-sdk-typescript/issues/229)) ([d31dae4](https://github.com/anthropics/anthropic-sdk-typescript/commit/d31dae455d750a61ae3b9a751ab73309b0f87417))
|
|
1034
|
-
|
|
1035
|
-
## 0.10.2 (2023-11-28)
|
|
1036
|
-
|
|
1037
|
-
Full Changelog: [v0.10.1...v0.10.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.1...v0.10.2)
|
|
1038
|
-
|
|
1039
|
-
## 0.10.1 (2023-11-24)
|
|
1040
|
-
|
|
1041
|
-
Full Changelog: [v0.10.0...v0.10.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.0...v0.10.1)
|
|
1042
|
-
|
|
1043
|
-
### Chores
|
|
1044
|
-
|
|
1045
|
-
* **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))
|
|
1046
|
-
|
|
1047
|
-
## 0.10.0 (2023-11-21)
|
|
1048
|
-
|
|
1049
|
-
Full Changelog: [v0.9.1...v0.10.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.9.1...v0.10.0)
|
|
1050
|
-
|
|
1051
|
-
### Features
|
|
1052
|
-
|
|
1053
|
-
* 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))
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
### Chores
|
|
1057
|
-
|
|
1058
|
-
* **ci:** fix publish-npm ([#213](https://github.com/anthropics/anthropic-sdk-typescript/issues/213)) ([4ab77b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ab77b7b323f22019193ba4f0a85fc89af193fbf))
|
|
1059
|
-
* **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))
|
|
1060
|
-
|
|
1061
|
-
## 0.9.1 (2023-11-14)
|
|
1062
|
-
|
|
1063
|
-
Full Changelog: [v0.9.0...v0.9.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.9.0...v0.9.1)
|
|
1064
|
-
|
|
1065
|
-
### Chores
|
|
1066
|
-
|
|
1067
|
-
* **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))
|
|
1068
|
-
* **docs:** fix github links ([#208](https://github.com/anthropics/anthropic-sdk-typescript/issues/208)) ([b316603](https://github.com/anthropics/anthropic-sdk-typescript/commit/b3166033cffe31f5d11793ddd32e595161f1a2e6))
|
|
1069
|
-
* **internal:** update APIResource structure ([#211](https://github.com/anthropics/anthropic-sdk-typescript/issues/211)) ([0d6bbce](https://github.com/anthropics/anthropic-sdk-typescript/commit/0d6bbce8ff699b511133ee6bfb72c1244d85eb32))
|
|
1070
|
-
* **internal:** update jest config ([#210](https://github.com/anthropics/anthropic-sdk-typescript/issues/210)) ([b0c64eb](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0c64eb9531d417f024567a4c74d9dd64743b889))
|
|
1071
|
-
* **internal:** update tsconfig ([#209](https://github.com/anthropics/anthropic-sdk-typescript/issues/209)) ([81b3e0b](https://github.com/anthropics/anthropic-sdk-typescript/commit/81b3e0b59801f737c6f1783e59eef8c1af77b1ad))
|
|
1072
|
-
|
|
1073
|
-
## 0.9.0 (2023-11-05)
|
|
1074
|
-
|
|
1075
|
-
Full Changelog: [v0.8.1...v0.9.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.8.1...v0.9.0)
|
|
1076
|
-
|
|
1077
|
-
### Features
|
|
1078
|
-
|
|
1079
|
-
* **client:** allow binary returns ([#203](https://github.com/anthropics/anthropic-sdk-typescript/issues/203)) ([5983d5e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5983d5e5de327d6835c7baaea022914a101865a2))
|
|
1080
|
-
* **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))
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
### Chores
|
|
1084
|
-
|
|
1085
|
-
* **internal:** update gitignore ([#198](https://github.com/anthropics/anthropic-sdk-typescript/issues/198)) ([3048738](https://github.com/anthropics/anthropic-sdk-typescript/commit/3048738235b9dff9de19aae59ff66487dffb9e8e))
|
|
1086
|
-
* small cleanups ([#201](https://github.com/anthropics/anthropic-sdk-typescript/issues/201)) ([9f0a73d](https://github.com/anthropics/anthropic-sdk-typescript/commit/9f0a73d794fc110689ce1c67b68d0a68133adb8d))
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
### Documentation
|
|
1090
|
-
|
|
1091
|
-
* document customizing fetch ([#204](https://github.com/anthropics/anthropic-sdk-typescript/issues/204)) ([d2df724](https://github.com/anthropics/anthropic-sdk-typescript/commit/d2df7246ec244f2de73d359ffbff3f88acec781d))
|
|
1092
|
-
* fix github links ([#200](https://github.com/anthropics/anthropic-sdk-typescript/issues/200)) ([4038acd](https://github.com/anthropics/anthropic-sdk-typescript/commit/4038acd91f4de7c3b20efe7f76523d1e6970f5d9))
|
|
1093
|
-
* **readme:** mention version header ([#205](https://github.com/anthropics/anthropic-sdk-typescript/issues/205)) ([a8d8f07](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8d8f07f9d4890195847b6ea86eb311e258e655f))
|
|
1094
|
-
|
|
1095
|
-
## 0.8.1 (2023-10-25)
|
|
1096
|
-
|
|
1097
|
-
Full Changelog: [v0.8.0...v0.8.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.8.0...v0.8.1)
|
|
1098
|
-
|
|
1099
|
-
### Bug Fixes
|
|
1100
|
-
|
|
1101
|
-
* typo in build script ([#197](https://github.com/anthropics/anthropic-sdk-typescript/issues/197)) ([212e990](https://github.com/anthropics/anthropic-sdk-typescript/commit/212e9903e9b72b3169f450d8ab11ebd384951dba))
|
|
1102
|
-
|
|
1103
|
-
## 0.8.0 (2023-10-24)
|
|
1104
|
-
|
|
1105
|
-
Full Changelog: [v0.7.0...v0.8.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.7.0...v0.8.0)
|
|
1106
|
-
|
|
1107
|
-
### Features
|
|
1108
|
-
|
|
1109
|
-
* **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))
|
|
1110
|
-
|
|
1111
|
-
## 0.7.0 (2023-10-19)
|
|
1112
|
-
|
|
1113
|
-
Full Changelog: [v0.6.8...v0.7.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.8...v0.7.0)
|
|
1114
|
-
|
|
1115
|
-
### Features
|
|
1116
|
-
|
|
1117
|
-
* 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))
|
|
1118
|
-
|
|
1119
|
-
## 0.6.8 (2023-10-17)
|
|
1120
|
-
|
|
1121
|
-
Full Changelog: [v0.6.7...v0.6.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.7...v0.6.8)
|
|
1122
|
-
|
|
1123
|
-
### Bug Fixes
|
|
1124
|
-
|
|
1125
|
-
* 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))
|
|
1126
|
-
|
|
1127
|
-
## 0.6.7 (2023-10-16)
|
|
1128
|
-
|
|
1129
|
-
Full Changelog: [v0.6.6...v0.6.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.6...v0.6.7)
|
|
1130
|
-
|
|
1131
|
-
### Bug Fixes
|
|
1132
|
-
|
|
1133
|
-
* 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))
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
### Chores
|
|
1137
|
-
|
|
1138
|
-
* 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))
|
|
1139
|
-
* **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))
|
|
1140
|
-
* update comment ([#179](https://github.com/anthropics/anthropic-sdk-typescript/issues/179)) ([27a425e](https://github.com/anthropics/anthropic-sdk-typescript/commit/27a425ee64dcdc569b92ac27b501bca0dadf2dea))
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
### Documentation
|
|
1144
|
-
|
|
1145
|
-
* 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))
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
### Refactors
|
|
1149
|
-
|
|
1150
|
-
* **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))
|
|
1151
|
-
* **test:** refactor authentication tests ([#176](https://github.com/anthropics/anthropic-sdk-typescript/issues/176)) ([f59daad](https://github.com/anthropics/anthropic-sdk-typescript/commit/f59daad06cab4c5df3068ea7f71ecbb20d8af141))
|
|
1152
|
-
|
|
1153
|
-
## 0.6.6 (2023-10-11)
|
|
1154
|
-
|
|
1155
|
-
Full Changelog: [v0.6.5...v0.6.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.5...v0.6.6)
|
|
1156
|
-
|
|
1157
|
-
### Chores
|
|
1158
|
-
|
|
1159
|
-
* update README ([#173](https://github.com/anthropics/anthropic-sdk-typescript/issues/173)) ([5f50c1b](https://github.com/anthropics/anthropic-sdk-typescript/commit/5f50c1b2f160610c89f158a10d83029c356d925a))
|
|
1160
|
-
|
|
1161
|
-
## 0.6.5 (2023-10-11)
|
|
1162
|
-
|
|
1163
|
-
Full Changelog: [v0.6.4...v0.6.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.4...v0.6.5)
|
|
1164
|
-
|
|
1165
|
-
### Features
|
|
1166
|
-
|
|
1167
|
-
* **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))
|
|
1168
|
-
* **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))
|
|
1169
|
-
* **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))
|
|
1170
|
-
* **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))
|
|
1171
|
-
* **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))
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
### Bug Fixes
|
|
1175
|
-
|
|
1176
|
-
* **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))
|
|
1177
|
-
* fix namespace exports regression ([#171](https://github.com/anthropics/anthropic-sdk-typescript/issues/171)) ([0689a91](https://github.com/anthropics/anthropic-sdk-typescript/commit/0689a9196619d968870b7fd2e1a0f037a1aee282))
|
|
1178
|
-
* 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))
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
### Chores
|
|
1182
|
-
|
|
1183
|
-
* **internal:** bump lock file ([#159](https://github.com/anthropics/anthropic-sdk-typescript/issues/159)) ([e6030fa](https://github.com/anthropics/anthropic-sdk-typescript/commit/e6030fa915f26569f9c48c478a5e6c01910a6557))
|
|
1184
|
-
* **internal:** minor formatting improvement ([#168](https://github.com/anthropics/anthropic-sdk-typescript/issues/168)) ([6447608](https://github.com/anthropics/anthropic-sdk-typescript/commit/644760883802bc2769a916fa477f2c6491f018fd))
|
|
1185
|
-
* **internal:** update lock file ([#161](https://github.com/anthropics/anthropic-sdk-typescript/issues/161)) ([370ce3c](https://github.com/anthropics/anthropic-sdk-typescript/commit/370ce3c34b87591071fefc8b53977078603b6ca4))
|
|
1186
|
-
* **internal:** update lock file ([#163](https://github.com/anthropics/anthropic-sdk-typescript/issues/163)) ([4a37181](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a37181e0ceada13e3ed61d6df7aa34492dc57a7))
|
|
1187
|
-
* **internal:** update lock file ([#164](https://github.com/anthropics/anthropic-sdk-typescript/issues/164)) ([939c155](https://github.com/anthropics/anthropic-sdk-typescript/commit/939c155277e67c19f7b2ff956f7cf0d40d4671cd))
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
### Documentation
|
|
1191
|
-
|
|
1192
|
-
* **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))
|
|
1193
|
-
* 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))
|
|
1194
|
-
* **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))
|
|
1195
|
-
|
|
1196
|
-
## 0.6.4 (2023-09-08)
|
|
1197
|
-
|
|
1198
|
-
Full Changelog: [v0.6.3...v0.6.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.3...v0.6.4)
|
|
1199
|
-
|
|
1200
|
-
### Features
|
|
1201
|
-
|
|
1202
|
-
* **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))
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
### Bug Fixes
|
|
1206
|
-
|
|
1207
|
-
* **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))
|
|
1208
|
-
* **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))
|
|
1209
|
-
* **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))
|
|
1210
|
-
* 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))
|
|
1211
|
-
* **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))
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
### Chores
|
|
1215
|
-
|
|
1216
|
-
* **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))
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
### Documentation
|
|
1220
|
-
|
|
1221
|
-
* **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))
|
|
1222
|
-
|
|
1223
|
-
## 0.6.3 (2023-08-28)
|
|
1224
|
-
|
|
1225
|
-
Full Changelog: [v0.6.2...v0.6.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.2...v0.6.3)
|
|
1226
|
-
|
|
1227
|
-
### Bug Fixes
|
|
1228
|
-
|
|
1229
|
-
* **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))
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
### Chores
|
|
1233
|
-
|
|
1234
|
-
* **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))
|
|
1235
|
-
|
|
1236
|
-
## [0.6.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.1...v0.6.2) (2023-08-26)
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
### Bug Fixes
|
|
1240
|
-
|
|
1241
|
-
* **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))
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
### Refactors
|
|
1245
|
-
|
|
1246
|
-
* 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))
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
### Chores
|
|
1250
|
-
|
|
1251
|
-
* **internal:** add helper method ([#133](https://github.com/anthropics/anthropic-sdk-typescript/issues/133)) ([4c6950a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c6950a489b818151127aa1a39c239e4fd58a06e))
|
|
1252
|
-
* **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))
|
|
1253
|
-
|
|
1254
|
-
## [0.6.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.0...v0.6.1) (2023-08-23)
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
### Features
|
|
1258
|
-
|
|
1259
|
-
* 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))
|
|
1260
|
-
* **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))
|
|
1261
|
-
* **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))
|
|
1262
|
-
* **types:** export RequestOptions type ([#127](https://github.com/anthropics/anthropic-sdk-typescript/issues/127)) ([9769751](https://github.com/anthropics/anthropic-sdk-typescript/commit/9769751b84853822e3e6596110ecb2c367f07438))
|
|
1263
|
-
* **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))
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
### Bug Fixes
|
|
1267
|
-
|
|
1268
|
-
* **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))
|
|
1269
|
-
* **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))
|
|
1270
|
-
* **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))
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
### Documentation
|
|
1274
|
-
|
|
1275
|
-
* **readme:** fix typo ([#121](https://github.com/anthropics/anthropic-sdk-typescript/issues/121)) ([c5dbc3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/c5dbc3fe89c84a728b6a4d7a4f6eadb228ac5688))
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
### Chores
|
|
1279
|
-
|
|
1280
|
-
* 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))
|
|
1281
|
-
* **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))
|
|
1282
|
-
* **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))
|
|
1283
|
-
* **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))
|
|
1284
|
-
|
|
1285
|
-
## [0.6.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.10...v0.6.0) (2023-08-12)
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
### Features
|
|
1289
|
-
|
|
1290
|
-
* **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))
|
|
1291
|
-
* **client:** detect browser usage ([#101](https://github.com/anthropics/anthropic-sdk-typescript/issues/101)) ([f4cae3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/f4cae3f63c2e65e087a7bf27dac1eeb8200e0a36))
|
|
1292
|
-
* **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))
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
### Documentation
|
|
1296
|
-
|
|
1297
|
-
* **readme:** minor updates ([#107](https://github.com/anthropics/anthropic-sdk-typescript/issues/107)) ([406fd97](https://github.com/anthropics/anthropic-sdk-typescript/commit/406fd97d4cee0dd363ad548c9a251f78091a70e3))
|
|
1298
|
-
* **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))
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
### Chores
|
|
1302
|
-
|
|
1303
|
-
* **docs:** remove trailing spaces ([#108](https://github.com/anthropics/anthropic-sdk-typescript/issues/108)) ([4ba2c6f](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ba2c6f181521ed9a60ed45c35d2276129cd7a0b))
|
|
1304
|
-
* **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))
|
|
1305
|
-
* **internal:** fix deno build ([#98](https://github.com/anthropics/anthropic-sdk-typescript/issues/98)) ([f011e04](https://github.com/anthropics/anthropic-sdk-typescript/commit/f011e041f2f9cabb12951013825c0f0a2a569053))
|
|
1306
|
-
* **internal:** remove deno build ([#103](https://github.com/anthropics/anthropic-sdk-typescript/issues/103)) ([9af1527](https://github.com/anthropics/anthropic-sdk-typescript/commit/9af152707a9bcf3027afc64f027566be25da2eb9))
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
### Refactors
|
|
1310
|
-
|
|
1311
|
-
* **client:** remove Stream.toReadableStream() ([#110](https://github.com/anthropics/anthropic-sdk-typescript/issues/110)) ([c370412](https://github.com/anthropics/anthropic-sdk-typescript/commit/c37041285ed9cccf6d980a953e14ffd4006a8acc))
|
|
1312
|
-
|
|
1313
|
-
## [0.5.10](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.9...v0.5.10) (2023-08-01)
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
### Refactors
|
|
1317
|
-
|
|
1318
|
-
* 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))
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
### Documentation
|
|
1322
|
-
|
|
1323
|
-
* **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))
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
### Chores
|
|
1327
|
-
|
|
1328
|
-
* **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))
|
|
1329
|
-
* **internal:** fix deno build ([#96](https://github.com/anthropics/anthropic-sdk-typescript/issues/96)) ([3fdab4e](https://github.com/anthropics/anthropic-sdk-typescript/commit/3fdab4e33b4c8668d17b8cddabbb09a22adf4124))
|
|
1330
|
-
|
|
1331
|
-
## [0.5.9](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.8...v0.5.9) (2023-07-29)
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
### Bug Fixes
|
|
1335
|
-
|
|
1336
|
-
* **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))
|
|
1337
|
-
* **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))
|
|
1338
|
-
* 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))
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
### Chores
|
|
1342
|
-
|
|
1343
|
-
* **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))
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
### Refactors
|
|
1347
|
-
|
|
1348
|
-
* 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))
|
|
1349
|
-
|
|
1350
|
-
## [0.5.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.7...v0.5.8) (2023-07-22)
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
### Features
|
|
1354
|
-
|
|
1355
|
-
* **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))
|
|
1356
|
-
|
|
1357
|
-
## [0.5.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.6...v0.5.7) (2023-07-19)
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
### Features
|
|
1361
|
-
|
|
1362
|
-
* 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))
|
|
1363
|
-
* **client:** export ClientOptions interface ([#75](https://github.com/anthropics/anthropic-sdk-typescript/issues/75)) ([0315ce1](https://github.com/anthropics/anthropic-sdk-typescript/commit/0315ce170db463ad900384ab7e4f62885cb471a2))
|
|
1364
|
-
* **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))
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
### Bug Fixes
|
|
1368
|
-
|
|
1369
|
-
* **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))
|
|
1370
|
-
* 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))
|
|
1371
|
-
* fix export map order ([#74](https://github.com/anthropics/anthropic-sdk-typescript/issues/74)) ([51e70cb](https://github.com/anthropics/anthropic-sdk-typescript/commit/51e70cb9b55128d4de1b0597fad475d0f4bc836c))
|
|
1372
|
-
|
|
1373
|
-
## [0.5.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.5...v0.5.6) (2023-07-15)
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
### Bug Fixes
|
|
1377
|
-
|
|
1378
|
-
* 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))
|
|
1379
|
-
|
|
1380
|
-
## [0.5.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.4...v0.5.5) (2023-07-13)
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
### Features
|
|
1384
|
-
|
|
1385
|
-
* **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))
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
### Bug Fixes
|
|
1389
|
-
|
|
1390
|
-
* **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))
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
### Documentation
|
|
1394
|
-
|
|
1395
|
-
* **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))
|
|
1396
|
-
* **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))
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
### Chores
|
|
1400
|
-
|
|
1401
|
-
* **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))
|
|
1402
|
-
* **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))
|
|
1403
|
-
* **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))
|
|
1404
|
-
|
|
1405
|
-
## [0.5.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.3...v0.5.4) (2023-07-11)
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
### Features
|
|
1409
|
-
|
|
1410
|
-
* **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))
|
|
1411
|
-
* **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))
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
### Bug Fixes
|
|
1415
|
-
|
|
1416
|
-
* **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))
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
### Refactors
|
|
1420
|
-
|
|
1421
|
-
* **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))
|