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
23 changes: 0 additions & 23 deletions .github/workflows/release-doctor.yml

This file was deleted.

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.89.0",
".": "0.90.0",
"packages/vertex-sdk": "0.16.0",
"packages/bedrock-sdk": "0.28.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: 72
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-f4d4f18820ecfbe244fb1bbc2232939afca73dfcb21ce23bc296571ee7320e3a.yml
openapi_spec_hash: d849fdf2c4dd6631a60c4340e9bc1322
config_hash: 2e9a2fd5355db62857f6be16f46a3ccc
configured_endpoints: 77
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-e0696f59ae07dc1a9c5a8fc87a4eb05eb35afabaac0b5ff0ea38810fa9dd4a74.yml
openapi_spec_hash: 69278ebbb0d1aa0b322bbbd5128bcec5
config_hash: b0dbd234c2752507397c139a416f6cba
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.90.0 (2026-04-16)

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

### Features

* **api:** add claude-opus-4-7, token budgets and user_profiles ([b26134b](https://github.com/anthropics/anthropic-sdk-typescript/commit/b26134bb17508494b5588dab770d93bf16cbdeb1))


### Chores

* actually delete release-doctor.yml ([0fe984d](https://github.com/anthropics/anthropic-sdk-typescript/commit/0fe984d1f66e9dbf88cadbe010e00f02316396b1))
* **ci:** remove release-doctor workflow ([08e58bd](https://github.com/anthropics/anthropic-sdk-typescript/commit/08e58bd0bbb04d47116e731b475d684fc1f98906))

## 0.89.0 (2026-04-14)

Full Changelog: [sdk-v0.88.0...sdk-v0.89.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.88.0...sdk-v0.89.0)
Expand Down
3 changes: 3 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ client.example.list(undefined, { headers: { ... } });
- `client.beta.skills.delete()`
- `client.beta.skills.versions.create()`
- `client.beta.skills.versions.list()`
- `client.beta.userProfiles.retrieve()`
- `client.beta.userProfiles.list()`
- `client.beta.userProfiles.createEnrollmentURL()`

</details>

Expand Down
17 changes: 17 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ Types:
- <code><a href="./src/resources/beta/messages/messages.ts">BetaThinkingConfigParam</a></code>
- <code><a href="./src/resources/beta/messages/messages.ts">BetaThinkingDelta</a></code>
- <code><a href="./src/resources/beta/messages/messages.ts">BetaThinkingTurns</a></code>
- <code><a href="./src/resources/beta/messages/messages.ts">BetaTokenTaskBudget</a></code>
- <code><a href="./src/resources/beta/messages/messages.ts">BetaTool</a></code>
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolBash20241022</a></code>
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolBash20250124</a></code>
Expand Down Expand Up @@ -785,3 +786,19 @@ Methods:
- <code title="get /v1/skills/{skill_id}/versions/{version}?beta=true">client.beta.skills.versions.<a href="./src/resources/beta/skills/versions.ts">retrieve</a>(version, { ...params }) -> VersionRetrieveResponse</code>
- <code title="get /v1/skills/{skill_id}/versions?beta=true">client.beta.skills.versions.<a href="./src/resources/beta/skills/versions.ts">list</a>(skillID, { ...params }) -> VersionListResponsesPageCursor</code>
- <code title="delete /v1/skills/{skill_id}/versions/{version}?beta=true">client.beta.skills.versions.<a href="./src/resources/beta/skills/versions.ts">delete</a>(version, { ...params }) -> VersionDeleteResponse</code>

## UserProfiles

Types:

- <code><a href="./src/resources/beta/user-profiles.ts">BetaUserProfile</a></code>
- <code><a href="./src/resources/beta/user-profiles.ts">BetaUserProfileEnrollmentURL</a></code>
- <code><a href="./src/resources/beta/user-profiles.ts">BetaUserProfileTrustGrant</a></code>

Methods:

- <code title="post /v1/user_profiles?beta=true">client.beta.userProfiles.<a href="./src/resources/beta/user-profiles.ts">create</a>({ ...params }) -> BetaUserProfile</code>
- <code title="get /v1/user_profiles/{user_profile_id}?beta=true">client.beta.userProfiles.<a href="./src/resources/beta/user-profiles.ts">retrieve</a>(userProfileID, { ...params }) -> BetaUserProfile</code>
- <code title="post /v1/user_profiles/{user_profile_id}?beta=true">client.beta.userProfiles.<a href="./src/resources/beta/user-profiles.ts">update</a>(userProfileID, { ...params }) -> BetaUserProfile</code>
- <code title="get /v1/user_profiles?beta=true">client.beta.userProfiles.<a href="./src/resources/beta/user-profiles.ts">list</a>({ ...params }) -> BetaUserProfilesPageCursor</code>
- <code title="post /v1/user_profiles/{user_profile_id}/enrollment_url?beta=true">client.beta.userProfiles.<a href="./src/resources/beta/user-profiles.ts">createEnrollmentURL</a>(userProfileID, { ...params }) -> BetaUserProfileEnrollmentURL</code>
26 changes: 0 additions & 26 deletions bin/check-release-environment

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anthropic-ai/sdk",
"version": "0.89.0",
"version": "0.90.0",
"description": "The official TypeScript library for the Anthropic API",
"author": "Anthropic <support@anthropic.com>",
"types": "dist/index.d.ts",
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.89.0"
version "0.90.0"
# x-release-please-end-version
dependencies:
json-schema-to-ts "^3.1.1"
Expand Down
1 change: 1 addition & 0 deletions scripts/detect-breaking-changes
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,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/user-profiles.test.ts
tests/index.test.ts
)

Expand Down
1 change: 1 addition & 0 deletions src/resources/beta/agents/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ export interface BetaManagedAgentsMCPToolsetParams {
* details and options.
*/
export type BetaManagedAgentsModel =
| 'claude-opus-4-7'
| 'claude-opus-4-6'
| 'claude-sonnet-4-6'
| 'claude-haiku-4-5'
Expand Down
33 changes: 32 additions & 1 deletion src/resources/beta/beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@ import {
ModelRetrieveParams,
Models,
} from './models';
import * as UserProfilesAPI from './user-profiles';
import {
BetaUserProfile,
BetaUserProfileEnrollmentURL,
BetaUserProfileTrustGrant,
BetaUserProfilesPageCursor,
UserProfileCreateEnrollmentURLParams,
UserProfileCreateParams,
UserProfileListParams,
UserProfileRetrieveParams,
UserProfileUpdateParams,
UserProfiles,
} from './user-profiles';
import * as AgentsAPI from './agents/agents';
import {
AgentArchiveParams,
Expand Down Expand Up @@ -238,6 +251,7 @@ import {
BetaThinkingConfigParam,
BetaThinkingDelta,
BetaThinkingTurns,
BetaTokenTaskBudget,
BetaTool,
BetaToolBash20241022,
BetaToolBash20250124,
Expand Down Expand Up @@ -352,6 +366,7 @@ export class Beta extends APIResource {
vaults: VaultsAPI.Vaults = new VaultsAPI.Vaults(this._client);
files: FilesAPI.Files = new FilesAPI.Files(this._client);
skills: SkillsAPI.Skills = new SkillsAPI.Skills(this._client);
userProfiles: UserProfilesAPI.UserProfiles = new UserProfilesAPI.UserProfiles(this._client);
}

export type AnthropicBeta =
Expand All @@ -377,7 +392,8 @@ export type AnthropicBeta =
| 'skills-2025-10-02'
| 'fast-mode-2026-02-01'
| 'output-300k-2026-03-24'
| 'advisor-tool-2026-03-01';
| 'advisor-tool-2026-03-01'
| 'user-profiles-2026-03-24';

export interface BetaAPIError {
message: string;
Expand Down Expand Up @@ -460,6 +476,7 @@ Beta.Sessions = Sessions;
Beta.Vaults = Vaults;
Beta.Files = Files;
Beta.Skills = Skills;
Beta.UserProfiles = UserProfiles;

export declare namespace Beta {
export {
Expand Down Expand Up @@ -644,6 +661,7 @@ export declare namespace Beta {
type BetaThinkingConfigParam as BetaThinkingConfigParam,
type BetaThinkingDelta as BetaThinkingDelta,
type BetaThinkingTurns as BetaThinkingTurns,
type BetaTokenTaskBudget as BetaTokenTaskBudget,
type BetaTool as BetaTool,
type BetaToolBash20241022 as BetaToolBash20241022,
type BetaToolBash20250124 as BetaToolBash20250124,
Expand Down Expand Up @@ -817,4 +835,17 @@ export declare namespace Beta {
type SkillListParams as SkillListParams,
type SkillDeleteParams as SkillDeleteParams,
};

export {
UserProfiles as UserProfiles,
type BetaUserProfile as BetaUserProfile,
type BetaUserProfileEnrollmentURL as BetaUserProfileEnrollmentURL,
type BetaUserProfileTrustGrant as BetaUserProfileTrustGrant,
type BetaUserProfilesPageCursor as BetaUserProfilesPageCursor,
type UserProfileCreateParams as UserProfileCreateParams,
type UserProfileRetrieveParams as UserProfileRetrieveParams,
type UserProfileUpdateParams as UserProfileUpdateParams,
type UserProfileListParams as UserProfileListParams,
type UserProfileCreateEnrollmentURLParams as UserProfileCreateEnrollmentURLParams,
};
}
13 changes: 13 additions & 0 deletions src/resources/beta/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ export {
type BetaThinkingConfigParam,
type BetaThinkingDelta,
type BetaThinkingTurns,
type BetaTokenTaskBudget,
type BetaTool,
type BetaToolBash20241022,
type BetaToolBash20250124,
Expand Down Expand Up @@ -345,6 +346,18 @@ export {
type SkillDeleteParams,
type SkillListResponsesPageCursor,
} from './skills/index';
export {
UserProfiles,
type BetaUserProfile,
type BetaUserProfileEnrollmentURL,
type BetaUserProfileTrustGrant,
type UserProfileCreateParams,
type UserProfileRetrieveParams,
type UserProfileUpdateParams,
type UserProfileListParams,
type UserProfileCreateEnrollmentURLParams,
type BetaUserProfilesPageCursor,
} from './user-profiles';
export {
Vaults,
type BetaManagedAgentsDeletedVault,
Expand Down
6 changes: 6 additions & 0 deletions src/resources/beta/messages/batches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,12 @@ export namespace BatchCreateParams {
* other values will be rejected with a 400 error.
*/
top_p?: number;

/**
* The user profile ID to attribute this request to. Use when acting on behalf of a
* party other than your organization.
*/
user_profile_id?: string | null;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/resources/beta/messages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export {
type BetaThinkingConfigParam,
type BetaThinkingDelta,
type BetaThinkingTurns,
type BetaTokenTaskBudget,
type BetaTool,
type BetaToolBash20241022,
type BetaToolBash20250124,
Expand Down
Loading
Loading