Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
".": "0.94.0",
".": "0.95.0",
"packages/vertex-sdk": "0.16.0",
"packages/bedrock-sdk": "0.29.1",
"packages/foundry-sdk": "0.2.3",
Expand Down
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 91
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic/anthropic-ad9228826393d94e86ecf4c22853ae51b1d4094960c836238b3ab79a1044be32.yml
openapi_spec_hash: dc43ed54947d427a084a891b7c4a783a
config_hash: bbf09e23cb2e12b5bb8cbcee3044ceec
configured_endpoints: 97
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic/anthropic-0df2c793ea4c3ad955e8e488be39d7041a0a95e2fe144dd69ae4d9fb72835190.yml
openapi_spec_hash: b169b786bdf1f07d7f77f18f7b94abfa
config_hash: ed43b84afda7441f472a59dda6badb05
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.95.0 (2026-05-06)

Full Changelog: [sdk-v0.94.0...sdk-v0.95.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.94.0...sdk-v0.95.0)

### Features

* **api:** add support for Managed Agents multiagents and outcomes, webhooks, vault validation ([e0c0e9b](https://github.com/anthropics/anthropic-sdk-typescript/commit/e0c0e9bef90b1919a5b806eb252e028981841e68))


### Bug Fixes

* **api:** Adjust webhook configuration ([deed3f6](https://github.com/anthropics/anthropic-sdk-typescript/commit/deed3f6290c0728dfc688e19117e1c01efb81a52))

## 0.94.0 (2026-05-05)

Full Changelog: [sdk-v0.93.0...sdk-v0.94.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.93.0...sdk-v0.94.0)
Expand Down
6 changes: 6 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,15 @@ This affects the following methods:
- `client.beta.sessions.resources.retrieve()`
- `client.beta.sessions.resources.update()`
- `client.beta.sessions.resources.delete()`
- `client.beta.sessions.threads.retrieve()`
- `client.beta.sessions.threads.archive()`
- `client.beta.sessions.threads.events.list()`
- `client.beta.sessions.threads.events.stream()`
- `client.beta.vaults.credentials.retrieve()`
- `client.beta.vaults.credentials.update()`
- `client.beta.vaults.credentials.delete()`
- `client.beta.vaults.credentials.archive()`
- `client.beta.vaults.credentials.mcpOAuthValidate()`
- `client.beta.memoryStores.memories.retrieve()`
- `client.beta.memoryStores.memories.update()`
- `client.beta.memoryStores.memories.delete()`
Expand Down Expand Up @@ -125,6 +130,7 @@ client.example.list(undefined, { headers: { ... } });
- `client.beta.sessions.events.list()`
- `client.beta.sessions.events.stream()`
- `client.beta.sessions.resources.list()`
- `client.beta.sessions.threads.list()`
- `client.beta.vaults.retrieve()`
- `client.beta.vaults.list()`
- `client.beta.vaults.delete()`
Expand Down
89 changes: 89 additions & 0 deletions api.md

Large diffs are not rendered by default.

185 changes: 185 additions & 0 deletions bin/migration-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,154 @@
}
]
},
{
"base": "beta.sessions.threads",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.threads",
"name": "archive",
"params": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.threads.events",
"name": "list",
"params": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.threads.events",
"name": "stream",
"params": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.vaults.credentials",
"name": "retrieve",
Expand Down Expand Up @@ -263,6 +411,43 @@
}
]
},
{
"base": "beta.vaults.credentials",
"name": "mcpOAuthValidate",
"params": [
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vault_id",
"location": "path"
},
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.memoryStores.memories",
"name": "retrieve",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anthropic-ai/sdk",
"version": "0.94.0",
"version": "0.95.0",
"description": "The official TypeScript library for the Anthropic API",
"author": "Anthropic <support@anthropic.com>",
"types": "dist/index.d.ts",
Expand All @@ -27,6 +27,7 @@
"fix": "./scripts/format"
},
"dependencies": {
"standardwebhooks": "^1.0.0",
"json-schema-to-ts": "^3.1.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vertex-sdk/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

"@anthropic-ai/sdk@file:../../dist":
# x-release-please-start-version
version "0.94.0"
version "0.95.0"
# x-release-please-end-version
dependencies:
json-schema-to-ts "^3.1.1"
Expand Down
3 changes: 3 additions & 0 deletions scripts/detect-breaking-changes
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ TEST_PATHS=(
tests/api-resources/beta/sessions/sessions.test.ts
tests/api-resources/beta/sessions/events.test.ts
tests/api-resources/beta/sessions/resources.test.ts
tests/api-resources/beta/sessions/threads/threads.test.ts
tests/api-resources/beta/sessions/threads/events.test.ts
tests/api-resources/beta/vaults/vaults.test.ts
tests/api-resources/beta/vaults/credentials.test.ts
tests/api-resources/beta/memory-stores/memory-stores.test.ts
Expand All @@ -29,6 +31,7 @@ TEST_PATHS=(
tests/api-resources/beta/files.test.ts
tests/api-resources/beta/skills/skills.test.ts
tests/api-resources/beta/skills/versions.test.ts
tests/api-resources/beta/webhooks.test.ts
tests/api-resources/beta/user-profiles.test.ts
tests/index.test.ts
)
Expand Down
4 changes: 2 additions & 2 deletions scripts/mock
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [ "$1" == "--daemon" ]; then
# Pre-install the package so the download doesn't eat into the startup timeout
npm exec --package=@stdy/cli@0.22.1 -- steady --version

npm exec --package=@stdy/cli@0.22.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log &
npm exec --package=@stdy/cli@0.22.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log &

# Wait for server to come online via health endpoint (max 30s)
echo -n "Waiting for server"
Expand All @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then

echo
else
npm exec --package=@stdy/cli@0.22.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL"
npm exec --package=@stdy/cli@0.22.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL"
fi
2 changes: 1 addition & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ elif ! steady_is_running ; then
echo -e "To run the server, pass in the path or url of your OpenAPI"
echo -e "spec to the steady command:"
echo
echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.22.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}"
echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.22.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}"
echo

exit 1
Expand Down
Loading
Loading