@anthropic-ai/claude-agent-sdk 0.3.234 → 0.3.235
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/bridge.mjs +52 -52
- package/browser-sdk.js +9 -9
- package/manifest.json +19 -20
- package/manifest.zst.json +23 -24
- package/package.json +10 -10
- package/sdk-tools.d.ts +10 -0
- package/sdk.d.ts +24 -2
- package/sdk.mjs +72 -72
package/manifest.json
CHANGED
|
@@ -1,52 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-08-
|
|
2
|
+
"version": "2.1.235",
|
|
3
|
+
"commit": "ba01fa45e3d1d888c1c23caed775ddd06192448b",
|
|
4
|
+
"buildDate": "2026-08-18T01:48:25Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "83b8f806f6f2eea316cfe246628e6c23374711d868f1fd0409db551b877b7748",
|
|
9
|
+
"size": 313334608
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "325a2dbc166ba8361a913ce588dce4a236789502060239acea52072bb51a54f1",
|
|
14
|
+
"size": 321995248
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "cff9592faa292db0f6ac21874f151b8c3d44e23bf0ab9fd1bcca95edc3469549",
|
|
19
|
+
"size": 328063208
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "bfcf0ae2dbf94b2b6a106074aabf3938b9a10889c3b678e4cb5a00c03274d5d5",
|
|
24
|
+
"size": 330946864
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "c852a47a50db72560a779240a0a9b86ef38cc1453ab5268228f6519e0eb231de",
|
|
29
|
+
"size": 321208088
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "6aae801d8f9d31d372e2152cab17d582941d94be03cfcd63328bb4436f0e0385",
|
|
34
|
+
"size": 325074912
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "6786fa5d75a64260de09a3b5f88cd4644dc4292e45a38a4df93dc7eb4d0df3fb",
|
|
39
|
+
"size": 326528672
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "8709594f6daebfef9a03ab56401600cfd1d0a980c640daf30d6de6f7cf3f42fe",
|
|
44
|
+
"size": 314428576
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"sdkCompat": {
|
|
48
48
|
"testedWrapperVersions": [
|
|
49
|
-
"0.3.196",
|
|
50
49
|
"0.3.197",
|
|
51
50
|
"0.3.198",
|
|
52
51
|
"0.3.199",
|
package/manifest.zst.json
CHANGED
|
@@ -1,60 +1,59 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-08-
|
|
2
|
+
"version": "2.1.235",
|
|
3
|
+
"commit": "ba01fa45e3d1d888c1c23caed775ddd06192448b",
|
|
4
|
+
"buildDate": "2026-08-18T01:50:18Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "64d9a0d943bd19b86b129d1999448ae84646c9b65cf973c4a86868432690c44e",
|
|
9
|
+
"size": 62750371,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "7b8fa15d473fbf54042c78917f6008d1fafff2b3f4f33d236151763e15b6b0a0",
|
|
12
|
+
"size": 62762493
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "46c273a1e1ba96313f0efd6f3b613b64fa6e62701e7c373cabf61454e84f2d10",
|
|
18
|
+
"size": 67364668,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "10fda1f5e7257e827fe9efb6f9da90efc7e92301ba051b7bfeb1e2cd8d9d68a7",
|
|
21
|
+
"size": 67365408
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "eab7499cd16fdfd907887ae3ad094600cc7153f1ebaadb5122245c63cb916221",
|
|
27
|
+
"size": 71589337
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "09976131001b794c1124af4ba971f7f03886c69a5d6ec70c8b44b955fafba038",
|
|
32
|
+
"size": 72781979
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "fc18507b4fe81e6a7e9a33df96baff59b0ff58f3068e681f3030b5946c6dd81b",
|
|
37
|
+
"size": 70224998
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "d95803e48b20cdd5a17bff7636d549e7f43b4e9d0d6240b93f0a1fe668447a11",
|
|
42
|
+
"size": 71315234
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "0edc56f8a064608dd06cb9ddcd826b59bc3d43d039fc9cdfd74a40dcc4969494",
|
|
47
|
+
"size": 75127952
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "3d8a085053720c9bfd539e2e3188c436fcab206e0f0f3922ffbd3e96a2ccddc1",
|
|
52
|
+
"size": 71516738
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"sdkCompat": {
|
|
56
56
|
"testedWrapperVersions": [
|
|
57
|
-
"0.3.196",
|
|
58
57
|
"0.3.197",
|
|
59
58
|
"0.3.198",
|
|
60
59
|
"0.3.199",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-agent-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.235",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"zod": "^4.0.0"
|
|
58
58
|
},
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.
|
|
61
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
62
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
63
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
60
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.235",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.235",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.235",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.235",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.235",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.235",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.235",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.235"
|
|
68
68
|
},
|
|
69
69
|
"files": [
|
|
70
70
|
"sdk.mjs",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"manifest.json",
|
|
81
81
|
"manifest.zst.json"
|
|
82
82
|
],
|
|
83
|
-
"claudeCodeVersion": "2.1.
|
|
83
|
+
"claudeCodeVersion": "2.1.235"
|
|
84
84
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -2977,6 +2977,16 @@ export interface ArtifactInput {
|
|
|
2977
2977
|
* list_assets only: the `next` value from a previous list_assets result, to continue that listing.
|
|
2978
2978
|
*/
|
|
2979
2979
|
after?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* Runtime capabilities this page declares, as {name: config}. The control plane is the authority on valid names and config shapes. An empty object clears any previously stored declaration; omit the field on a redeploy to carry the stored declaration forward unchanged. Before declaring any capability, load the `artifact-capabilities` skill for the current contract and per-capability guidance.
|
|
2982
|
+
*/
|
|
2983
|
+
capabilities?: {
|
|
2984
|
+
[k: string]: unknown;
|
|
2985
|
+
};
|
|
2986
|
+
/**
|
|
2987
|
+
* The artifact's runtime version. Omit to keep its current version (the default); 'latest' to upgrade; a specific version to pin or roll back. Changing it changes how the published page behaves — pass only when the author explicitly intends the change, never as a side effect of editing.
|
|
2988
|
+
*/
|
|
2989
|
+
contract?: "latest" | string;
|
|
2980
2990
|
}
|
|
2981
2991
|
export interface PushNotificationInput {
|
|
2982
2992
|
/**
|
package/sdk.d.ts
CHANGED
|
@@ -1299,7 +1299,7 @@ export declare type ModelUsage = {
|
|
|
1299
1299
|
*/
|
|
1300
1300
|
canonicalModel?: string;
|
|
1301
1301
|
/**
|
|
1302
|
-
* API provider that served this model ('firstParty', 'bedrock', 'vertex', 'foundry', 'anthropicAws', '
|
|
1302
|
+
* API provider that served this model (e.g. 'firstParty', 'bedrock', 'vertex', 'foundry', 'anthropicAws', 'mantle', 'gateway').
|
|
1303
1303
|
*/
|
|
1304
1304
|
provider?: string;
|
|
1305
1305
|
};
|
|
@@ -3097,7 +3097,7 @@ export declare type SDKAssistantMessage = {
|
|
|
3097
3097
|
|
|
3098
3098
|
};
|
|
3099
3099
|
|
|
3100
|
-
export declare type SDKAssistantMessageError = 'authentication_failed' | 'oauth_org_not_allowed' | 'billing_error' | 'rate_limit' | 'overloaded' | 'invalid_request' | 'model_not_found' | 'server_error' | 'unknown' | 'max_output_tokens';
|
|
3100
|
+
export declare type SDKAssistantMessageError = 'authentication_failed' | 'oauth_org_not_allowed' | 'account_on_hold' | 'billing_error' | 'rate_limit' | 'overloaded' | 'invalid_request' | 'model_not_found' | 'server_error' | 'unknown' | 'max_output_tokens';
|
|
3101
3101
|
|
|
3102
3102
|
export declare type SDKAuthStatusMessage = {
|
|
3103
3103
|
type: 'auth_status';
|
|
@@ -7267,6 +7267,28 @@ export declare interface Settings {
|
|
|
7267
7267
|
* Whether to disable syntax highlighting in diffs
|
|
7268
7268
|
*/
|
|
7269
7269
|
syntaxHighlightingDisabled?: boolean;
|
|
7270
|
+
/**
|
|
7271
|
+
* Underline misspelled words in the prompt input as you type, using an installed aspell, hunspell or ispell (off unless "enabled" is true; does nothing if none is installed). Read from user, flag and managed settings only (the whole block from the highest-precedence of those applies); ignored in project .claude/settings.json and .claude/settings.local.json.
|
|
7272
|
+
*/
|
|
7273
|
+
spellcheck?: {
|
|
7274
|
+
/**
|
|
7275
|
+
* Turn on spell checking of the prompt input (default: false)
|
|
7276
|
+
*/
|
|
7277
|
+
enabled?: boolean;
|
|
7278
|
+
/**
|
|
7279
|
+
* Which spell checker to run: "aspell", "hunspell", "ispell", or "auto" (default) for the first of those found on PATH
|
|
7280
|
+
*/
|
|
7281
|
+
checker?: string;
|
|
7282
|
+
/**
|
|
7283
|
+
* Dictionary to use, passed to the checker as-is (aspell --lang, hunspell -d, ispell -d), e.g. "en_GB"; names are checker-specific (letters, digits and _ - . , only). Default: the checker's own default
|
|
7284
|
+
*/
|
|
7285
|
+
language?: string;
|
|
7286
|
+
/**
|
|
7287
|
+
* Color of misspelled words (they are also underlined): a terminal color name such as "red" or "magenta", "#rrggbb", "rgb(r,g,b)", "ansi256(n)" or "ansi:<name>". Default: the theme's error color
|
|
7288
|
+
*/
|
|
7289
|
+
color?: string;
|
|
7290
|
+
[k: string]: unknown;
|
|
7291
|
+
};
|
|
7270
7292
|
/**
|
|
7271
7293
|
* Whether /rename updates the terminal tab title (defaults to true). Set to false to keep auto-generated topic titles.
|
|
7272
7294
|
*/
|