@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/manifest.json CHANGED
@@ -1,53 +1,52 @@
1
1
  {
2
- "version": "2.1.259",
2
+ "version": "2.1.260",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "9b549c8d1c72e407ea9d3af3b9d5e50da794ec4d",
5
- "buildDate": "2026-09-02T20:40:41Z",
4
+ "commit": "e51f681183f733dbe9a81bf35921c786ee26dbc6",
5
+ "buildDate": "2026-09-03T19:51:05Z",
6
6
  "platforms": {
7
7
  "darwin-arm64": {
8
8
  "binary": "claude",
9
- "checksum": "884baa38fe1a624be25c4a91568bf5a08b5cf4e7d7acf29b7760e3525d964898",
10
- "size": 200225968
9
+ "checksum": "3c269f66801028823e24a63ced9fdd3988cb86cf85fccd9f03f87e463b9d3e3c",
10
+ "size": 198289440
11
11
  },
12
12
  "darwin-x64": {
13
13
  "binary": "claude",
14
- "checksum": "af8741cff0d3fb5c4b893c7cb3613bd21b28fa61cca45469d60b8e5e161eb9d8",
15
- "size": 209000528
14
+ "checksum": "2d791b1bff2bc36419de09e1f2226c076b40b0717ee43108928938f622ea9b77",
15
+ "size": 207051744
16
16
  },
17
17
  "linux-arm64": {
18
18
  "binary": "claude",
19
- "checksum": "c6ff03c389ccdeae0f19e9dc32488eeba61fbef4796f531dbfba6c00f45040d0",
20
- "size": 216194384
19
+ "checksum": "9811afb5f97224c2c5d3d0ee1e8c316117d298d5ec3e095d5ff0c1dd0e889ca5",
20
+ "size": 214228392
21
21
  },
22
22
  "linux-x64": {
23
23
  "binary": "claude",
24
- "checksum": "f7dd62ae415378018cd21dd950eb3bac174ab085830304d3b8b098146bfd47b6",
25
- "size": 216677784
24
+ "checksum": "7a2fdc74b6836ea3d183f665b869f0ee3baebc9713cbebffe5838da4ea7bd82e",
25
+ "size": 214687216
26
26
  },
27
27
  "linux-arm64-musl": {
28
28
  "binary": "claude",
29
- "checksum": "2203a17d0dddf7c5afece2d948d60d20fdef4f227ffc0c1c1ed17ce6221fa65b",
30
- "size": 209073816
29
+ "checksum": "414fea0ef7bf774b7b1d1a42635ce176b6fc5ec80912303557307f1e04aca621",
30
+ "size": 207173272
31
31
  },
32
32
  "linux-x64-musl": {
33
33
  "binary": "claude",
34
- "checksum": "1a595699211501087e8fb31952254d03a13ebb62a3e45f95990f15138eec6d70",
35
- "size": 210702280
34
+ "checksum": "08a7ca9c07d88af26d3ea53ed59a27bf74d8827b2f3e01d329f1fd2ae42ceaaa",
35
+ "size": 208703440
36
36
  },
37
37
  "win32-x64": {
38
38
  "binary": "claude.exe",
39
- "checksum": "85429000ec9b80082613e9ecd2e0d3b2276c9d5b22a681936575d2c4c2f342ed",
40
- "size": 219715232
39
+ "checksum": "ab5fe6cb800a9faf3df1cc0f6bcb71f097296b302a16b576ca906446a22fea71",
40
+ "size": 217771680
41
41
  },
42
42
  "win32-arm64": {
43
43
  "binary": "claude.exe",
44
- "checksum": "5d964b5bc68c1a4cd618a6f992ae56266cb34e68ae2c4aed9aa0ed68247dd218",
45
- "size": 210756256
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.259",
2
+ "version": "2.1.260",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "9b549c8d1c72e407ea9d3af3b9d5e50da794ec4d",
5
- "buildDate": "2026-09-02T20:41:43Z",
4
+ "commit": "e51f681183f733dbe9a81bf35921c786ee26dbc6",
5
+ "buildDate": "2026-09-03T19:52:17Z",
6
6
  "platforms": {
7
7
  "darwin-arm64": {
8
8
  "binary": "claude.zst",
9
- "checksum": "e2afc0237a4ee7213730b3cf579a51f1c1a2b627b0f2d615ac3478433c4f9b9d",
10
- "size": 66314944,
9
+ "checksum": "90c8e9f337f7461b7582862f35ce22f89ad13b8d529c150f2969e8fa6d3bf020",
10
+ "size": 65758751,
11
11
  "bundle": {
12
- "checksum": "9a73fbc4c23cc04ba3ac0280cd6b7bf3941cd039099fad713be75b0010c7fc8b",
13
- "size": 66313806
12
+ "checksum": "7639b52c3ff28116f770e198ffb9760f9ecd44632a7c2a0ff0200c4dcf1dd038",
13
+ "size": 65759778
14
14
  }
15
15
  },
16
16
  "darwin-x64": {
17
17
  "binary": "claude.zst",
18
- "checksum": "bec7b01d0fccc8902b850cd9cf655024d0a484306e4da2104fb1bee6fb5334da",
19
- "size": 70374909,
18
+ "checksum": "6f85206e0365f2edbcaff94058802d627d5c48d585d5630cf71e5fe1515f3e00",
19
+ "size": 69805574,
20
20
  "bundle": {
21
- "checksum": "ad45869201a4e81c882d7251c676a74a539d7378beeaaf13be044f4fa7d5397c",
22
- "size": 70378257
21
+ "checksum": "e81267bb7ff923e2b5d2b61dbe6e0767e2783dd88e306e0a1f308b8477cab96f",
22
+ "size": 69807328
23
23
  }
24
24
  },
25
25
  "linux-arm64": {
26
26
  "binary": "claude.zst",
27
- "checksum": "75b8227d2735398754aacc875866fee533e673d54199a16a7e5424f09feb21ad",
28
- "size": 75526532
27
+ "checksum": "cfd17d6812c2bd7c2e9c4bc028786e5619db2962a17ac10b77667a3ff1148877",
28
+ "size": 74961889
29
29
  },
30
30
  "linux-x64": {
31
31
  "binary": "claude.zst",
32
- "checksum": "3623df24e9be0ae1a92eb1103d11cdf44d04f6b589200952ce8e6853de8aa845",
33
- "size": 76150824
32
+ "checksum": "ad1c0b3f2de334f4bcb4a783c275b1af7a5945c0c955a9c7352cf4fa0666a7ec",
33
+ "size": 75589735
34
34
  },
35
35
  "linux-arm64-musl": {
36
36
  "binary": "claude.zst",
37
- "checksum": "fcd70a9db4aaea51ff721fd0638faf9dc0b45f6e4d4489280801c4870b4bc642",
38
- "size": 73995724
37
+ "checksum": "b483ac78a8f2169a744703f273ed24b302baf8b671c92897a7611f107f6c3920",
38
+ "size": 73440071
39
39
  },
40
40
  "linux-x64-musl": {
41
41
  "binary": "claude.zst",
42
- "checksum": "7afb1ee29124e2884226215c85cfcde486da6fd31dc999810dffe8e9d8cda37d",
43
- "size": 74670388
42
+ "checksum": "0d4231f3bafbc88f26899e54c246638659feccfb7e8be7b0d02078b58bdd4039",
43
+ "size": 74103087
44
44
  },
45
45
  "win32-x64": {
46
46
  "binary": "claude.exe.zst",
47
- "checksum": "ae95350b7235bd1fc1fba12ca6b296205b505c4990af607ac18424746ad4ce37",
48
- "size": 78555005
47
+ "checksum": "664d2c6ca08afcd030100ddaddb80c5764bc517a4df407d819e6839bcc5edca8",
48
+ "size": 78005064
49
49
  },
50
50
  "win32-arm64": {
51
51
  "binary": "claude.exe.zst",
52
- "checksum": "479df3648b599f4918d3305f909487103a4819cad574d14ef30441a8e48aec4f",
53
- "size": 75294093
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.259",
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.259",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.259",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.259",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.259",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.259",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.259",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.259",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.259"
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.259"
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 logged and reported in telemetry but are not counted here.
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