@anthropic-ai/claude-agent-sdk 0.3.259 → 0.3.260
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 +82 -87
- package/browser-sdk.js +53 -53
- package/manifest.json +19 -20
- package/manifest.zst.json +23 -24
- package/package.json +10 -10
- package/sdk-tools.d.ts +3 -0
- package/sdk.d.ts +12 -1
- package/sdk.mjs +80 -80
package/manifest.json
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.260",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-09-
|
|
4
|
+
"commit": "e51f681183f733dbe9a81bf35921c786ee26dbc6",
|
|
5
|
+
"buildDate": "2026-09-03T19:51:05Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "3c269f66801028823e24a63ced9fdd3988cb86cf85fccd9f03f87e463b9d3e3c",
|
|
10
|
+
"size": 198289440
|
|
11
11
|
},
|
|
12
12
|
"darwin-x64": {
|
|
13
13
|
"binary": "claude",
|
|
14
|
-
"checksum": "
|
|
15
|
-
"size":
|
|
14
|
+
"checksum": "2d791b1bff2bc36419de09e1f2226c076b40b0717ee43108928938f622ea9b77",
|
|
15
|
+
"size": 207051744
|
|
16
16
|
},
|
|
17
17
|
"linux-arm64": {
|
|
18
18
|
"binary": "claude",
|
|
19
|
-
"checksum": "
|
|
20
|
-
"size":
|
|
19
|
+
"checksum": "9811afb5f97224c2c5d3d0ee1e8c316117d298d5ec3e095d5ff0c1dd0e889ca5",
|
|
20
|
+
"size": 214228392
|
|
21
21
|
},
|
|
22
22
|
"linux-x64": {
|
|
23
23
|
"binary": "claude",
|
|
24
|
-
"checksum": "
|
|
25
|
-
"size":
|
|
24
|
+
"checksum": "7a2fdc74b6836ea3d183f665b869f0ee3baebc9713cbebffe5838da4ea7bd82e",
|
|
25
|
+
"size": 214687216
|
|
26
26
|
},
|
|
27
27
|
"linux-arm64-musl": {
|
|
28
28
|
"binary": "claude",
|
|
29
|
-
"checksum": "
|
|
30
|
-
"size":
|
|
29
|
+
"checksum": "414fea0ef7bf774b7b1d1a42635ce176b6fc5ec80912303557307f1e04aca621",
|
|
30
|
+
"size": 207173272
|
|
31
31
|
},
|
|
32
32
|
"linux-x64-musl": {
|
|
33
33
|
"binary": "claude",
|
|
34
|
-
"checksum": "
|
|
35
|
-
"size":
|
|
34
|
+
"checksum": "08a7ca9c07d88af26d3ea53ed59a27bf74d8827b2f3e01d329f1fd2ae42ceaaa",
|
|
35
|
+
"size": 208703440
|
|
36
36
|
},
|
|
37
37
|
"win32-x64": {
|
|
38
38
|
"binary": "claude.exe",
|
|
39
|
-
"checksum": "
|
|
40
|
-
"size":
|
|
39
|
+
"checksum": "ab5fe6cb800a9faf3df1cc0f6bcb71f097296b302a16b576ca906446a22fea71",
|
|
40
|
+
"size": 217771680
|
|
41
41
|
},
|
|
42
42
|
"win32-arm64": {
|
|
43
43
|
"binary": "claude.exe",
|
|
44
|
-
"checksum": "
|
|
45
|
-
"size":
|
|
44
|
+
"checksum": "40c1dfef976a6c4df772c75d73cb313773d3bbfcb8ce8d05fd2965afec3718b5",
|
|
45
|
+
"size": 208821920
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"sdkCompat": {
|
|
49
49
|
"testedWrapperVersions": [
|
|
50
|
-
"0.3.218",
|
|
51
50
|
"0.3.219",
|
|
52
51
|
"0.3.220",
|
|
53
52
|
"0.3.221",
|
package/manifest.zst.json
CHANGED
|
@@ -1,61 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.260",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-09-
|
|
4
|
+
"commit": "e51f681183f733dbe9a81bf35921c786ee26dbc6",
|
|
5
|
+
"buildDate": "2026-09-03T19:52:17Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude.zst",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "90c8e9f337f7461b7582862f35ce22f89ad13b8d529c150f2969e8fa6d3bf020",
|
|
10
|
+
"size": 65758751,
|
|
11
11
|
"bundle": {
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "7639b52c3ff28116f770e198ffb9760f9ecd44632a7c2a0ff0200c4dcf1dd038",
|
|
13
|
+
"size": 65759778
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"darwin-x64": {
|
|
17
17
|
"binary": "claude.zst",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "6f85206e0365f2edbcaff94058802d627d5c48d585d5630cf71e5fe1515f3e00",
|
|
19
|
+
"size": 69805574,
|
|
20
20
|
"bundle": {
|
|
21
|
-
"checksum": "
|
|
22
|
-
"size":
|
|
21
|
+
"checksum": "e81267bb7ff923e2b5d2b61dbe6e0767e2783dd88e306e0a1f308b8477cab96f",
|
|
22
|
+
"size": 69807328
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64": {
|
|
26
26
|
"binary": "claude.zst",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "cfd17d6812c2bd7c2e9c4bc028786e5619db2962a17ac10b77667a3ff1148877",
|
|
28
|
+
"size": 74961889
|
|
29
29
|
},
|
|
30
30
|
"linux-x64": {
|
|
31
31
|
"binary": "claude.zst",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "ad1c0b3f2de334f4bcb4a783c275b1af7a5945c0c955a9c7352cf4fa0666a7ec",
|
|
33
|
+
"size": 75589735
|
|
34
34
|
},
|
|
35
35
|
"linux-arm64-musl": {
|
|
36
36
|
"binary": "claude.zst",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "b483ac78a8f2169a744703f273ed24b302baf8b671c92897a7611f107f6c3920",
|
|
38
|
+
"size": 73440071
|
|
39
39
|
},
|
|
40
40
|
"linux-x64-musl": {
|
|
41
41
|
"binary": "claude.zst",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "0d4231f3bafbc88f26899e54c246638659feccfb7e8be7b0d02078b58bdd4039",
|
|
43
|
+
"size": 74103087
|
|
44
44
|
},
|
|
45
45
|
"win32-x64": {
|
|
46
46
|
"binary": "claude.exe.zst",
|
|
47
|
-
"checksum": "
|
|
48
|
-
"size":
|
|
47
|
+
"checksum": "664d2c6ca08afcd030100ddaddb80c5764bc517a4df407d819e6839bcc5edca8",
|
|
48
|
+
"size": 78005064
|
|
49
49
|
},
|
|
50
50
|
"win32-arm64": {
|
|
51
51
|
"binary": "claude.exe.zst",
|
|
52
|
-
"checksum": "
|
|
53
|
-
"size":
|
|
52
|
+
"checksum": "f38cd767f8aef8c0eec1a09bf1f636bf9c6b8589d133c80be54a3ec9798a0f18",
|
|
53
|
+
"size": 74742830
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"sdkCompat": {
|
|
57
57
|
"testedWrapperVersions": [
|
|
58
|
-
"0.3.218",
|
|
59
58
|
"0.3.219",
|
|
60
59
|
"0.3.220",
|
|
61
60
|
"0.3.221",
|
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.260",
|
|
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.260",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.260",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.260",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.260",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.260",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.260",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.260",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.260"
|
|
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.260"
|
|
84
84
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -577,6 +577,7 @@ export type ArtifactOutput =
|
|
|
577
577
|
max_bytes: number;
|
|
578
578
|
};
|
|
579
579
|
next?: string;
|
|
580
|
+
cowritten?: true;
|
|
580
581
|
};
|
|
581
582
|
}
|
|
582
583
|
| {
|
|
@@ -586,6 +587,7 @@ export type ArtifactOutput =
|
|
|
586
587
|
size_bytes: number;
|
|
587
588
|
content_type: string;
|
|
588
589
|
sha256: string;
|
|
590
|
+
cowritten?: true;
|
|
589
591
|
};
|
|
590
592
|
}
|
|
591
593
|
| {
|
|
@@ -3057,6 +3059,7 @@ export interface ArtifactInput {
|
|
|
3057
3059
|
| "publish"
|
|
3058
3060
|
| "list"
|
|
3059
3061
|
| "read"
|
|
3062
|
+
| "list_types"
|
|
3060
3063
|
| "watch"
|
|
3061
3064
|
| "unwatch"
|
|
3062
3065
|
| "status"
|
package/sdk.d.ts
CHANGED
|
@@ -3032,7 +3032,7 @@ export declare type RewindFilesResult = {
|
|
|
3032
3032
|
insertions?: number;
|
|
3033
3033
|
deletions?: number;
|
|
3034
3034
|
/**
|
|
3035
|
-
* Count of tracked files NOT restored or deleted because a symlink, hard link, or other non-regular file was detected at the tracked path, its parent directory no longer resolves to where it pointed when the checkpoint was taken, or its backup could not be safely read. Only populated by a real (non-dryRun) rewind — on a dryRun response the field is never set and the preview counts do not reflect link-safety refusals. Absent or 0 on a real rewind means no link-safety refusals occurred; other per-file failures (for example a missing backup file) are
|
|
3035
|
+
* Count of tracked files NOT restored or deleted because a symlink, hard link, or other non-regular file was detected at the tracked path, its parent directory no longer resolves to where it pointed when the checkpoint was taken, or its backup could not be safely read. Only populated by a real (non-dryRun) rewind — on a dryRun response the field is never set and the preview counts do not reflect link-safety refusals. Absent or 0 on a real rewind means no link-safety refusals occurred; other per-file failures (for example a missing backup file) are not counted here; they are reported in telemetry, and when every differing file fails to restore the rewind itself fails (canRewind: false).
|
|
3036
3036
|
*/
|
|
3037
3037
|
skippedLinks?: number;
|
|
3038
3038
|
};
|
|
@@ -3317,6 +3317,7 @@ export declare type SDKAssistantMessage = {
|
|
|
3317
3317
|
*/
|
|
3318
3318
|
task_description?: string;
|
|
3319
3319
|
|
|
3320
|
+
|
|
3320
3321
|
/**
|
|
3321
3322
|
* ISO timestamp of when this content block finished on the originating process. One API assistant turn may produce several assistant messages sharing a message.id, each with its own timestamp. Uses the originating host's clock, so it's for display only; do not order messages by this field. Older emitters omit it; consumers should fall back to receive time.
|
|
3322
3323
|
*/
|
|
@@ -4948,6 +4949,10 @@ export declare type SDKResultSuccess = {
|
|
|
4948
4949
|
user_message_uuid?: string;
|
|
4949
4950
|
user_message_uuids?: string[];
|
|
4950
4951
|
request_sent_wall_ms?: number;
|
|
4952
|
+
first_content_frame_ms?: number;
|
|
4953
|
+
first_stream_post_ms?: number;
|
|
4954
|
+
first_stream_post_ack_ms?: number;
|
|
4955
|
+
first_stream_post_wall_ms?: number;
|
|
4951
4956
|
time_to_request_from_spawn_ms?: number;
|
|
4952
4957
|
warm_spare_claimed?: boolean;
|
|
4953
4958
|
time_origin_ms?: number;
|
|
@@ -5252,6 +5257,10 @@ export declare type SDKThinkingTokensMessage = {
|
|
|
5252
5257
|
subtype: 'thinking_tokens';
|
|
5253
5258
|
estimated_tokens: number;
|
|
5254
5259
|
estimated_tokens_delta: number;
|
|
5260
|
+
/**
|
|
5261
|
+
* Client uuid of the user message that triggered this turn (submitMessage options.uuid), stamped on every thinking_tokens frame of a headless (stream-json / Agent SDK) turn so a consumer can attribute thinking progress to the send it answers before any reply frame arrives. Absent on synthetic/scheduled (meta) turns, on turns without a client uuid, on Remote Control (interactive terminal) sessions, and from older producers.
|
|
5262
|
+
*/
|
|
5263
|
+
user_message_uuid?: string;
|
|
5255
5264
|
uuid: UUID;
|
|
5256
5265
|
session_id: string;
|
|
5257
5266
|
};
|
|
@@ -8146,6 +8155,7 @@ export declare interface Settings {
|
|
|
8146
8155
|
* Start Remote Control bridge automatically each session
|
|
8147
8156
|
*/
|
|
8148
8157
|
remoteControlAtStartup?: boolean;
|
|
8158
|
+
|
|
8149
8159
|
/**
|
|
8150
8160
|
* Require explicit approval before SendMessage can reach a peer session on another machine via Remote Control
|
|
8151
8161
|
*/
|
|
@@ -8528,6 +8538,7 @@ export declare type ToolConfig = {
|
|
|
8528
8538
|
* @default 'markdown'
|
|
8529
8539
|
*/
|
|
8530
8540
|
previewFormat?: 'markdown' | 'html';
|
|
8541
|
+
|
|
8531
8542
|
};
|
|
8532
8543
|
};
|
|
8533
8544
|
|