@anthropic-ai/claude-agent-sdk 0.3.206 → 0.3.207

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,47 +1,68 @@
1
1
  {
2
- "version": "2.1.206",
3
- "commit": "edc8ebf7f852d3abffad32a5bf8e49e439f92afb",
4
- "buildDate": "2026-07-09T01:48:20Z",
2
+ "version": "2.1.207",
3
+ "commit": "bc512d56332530b2be3f5079e29ec17aa20b8553",
4
+ "buildDate": "2026-07-10T21:39:38Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "3197aba4442dbd5b3df42b6f35e6d7bd03b5e48ce18b7a3c5c6f5f8c28e03b7f",
9
- "size": 240395024
8
+ "checksum": "1397a062c6889675055e3314dd956376ac51262a7734ad9e819c26975d71547a",
9
+ "size": 241237136
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "b1e1636917a12c7d4e1fa54cd13f7f76ba3779fb988180610b6ca483258c2f46",
14
- "size": 248431568
13
+ "checksum": "8a4355d251a60c90d8cf08f32fdb22a8157dd3d085542f95d0da0475f9a2c57c",
14
+ "size": 249273680
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "cb8ccaf4ae6beb558747227a362010c6b32b4f4a5868c3a7e96aa9972fc6ef58",
19
- "size": 255376112
18
+ "checksum": "8bc14a284065383460f37981d724b8f7aa7ca93c9849d2fe367e08f03383f454",
19
+ "size": 256228080
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "d131494be407ff56a62f4e99a96ba60102002d01e3b6b1494db16bef4b7f060f",
24
- "size": 258566968
23
+ "checksum": "85e7e988a392d859f90802ca21fb26e89d3c9ab527f5ed0b08df3955e34d5c83",
24
+ "size": 259402552
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "b1920556c3b077694d52397f4e5221df2419ad9b44af641be0f49647b51f87ad",
29
- "size": 248624312
28
+ "checksum": "ec3b657344dcf6693f434fe11ffe4592381d31d4e6a7976649c1a610770dcc74",
29
+ "size": 249476280
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "b0d780783401de979024c25f14a2cae665873afbcfe718c090b73e13c4cd08a0",
34
- "size": 253251968
33
+ "checksum": "09a43ff41e33cbb0c4903a4939353933ee8f0d1964abab4b837004a951edb9ee",
34
+ "size": 254091648
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "d5072b25b9a20bffb24625d36129a05ed2be4d2eb7e35625aad6aa35596892c2",
39
- "size": 248682144
38
+ "checksum": "781fdc2c89868b1cb05cc22c253ef142a0b44e7cc36236aecd6335745c7d42d0",
39
+ "size": 249485472
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "c17ac3a5a8edf5cfa658e82bd41fcf83170af21538e51cc9d4cbaeefe382aba3",
44
- "size": 243149984
43
+ "checksum": "fa0c887a3f944ba1915766b525538b82b029ca8078ed6ee180c3b83c1b862521",
44
+ "size": 243952800
45
45
  }
46
+ },
47
+ "sdkCompat": {
48
+ "testedWrapperVersions": [
49
+ "0.3.181",
50
+ "0.3.182",
51
+ "0.3.183",
52
+ "0.3.185",
53
+ "0.3.186",
54
+ "0.3.187",
55
+ "0.3.190",
56
+ "0.3.191",
57
+ "0.3.195",
58
+ "0.3.196",
59
+ "0.3.197",
60
+ "0.3.198",
61
+ "0.3.201",
62
+ "0.3.202",
63
+ "0.3.204",
64
+ "0.3.205"
65
+ ],
66
+ "harnessSchema": 1
46
67
  }
47
68
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,76 @@
1
1
  {
2
- "version": "2.1.206",
3
- "commit": "edc8ebf7f852d3abffad32a5bf8e49e439f92afb",
4
- "buildDate": "2026-07-09T01:50:10Z",
2
+ "version": "2.1.207",
3
+ "commit": "bc512d56332530b2be3f5079e29ec17aa20b8553",
4
+ "buildDate": "2026-07-10T21:41:27Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "f82b3ad6293ce2c991e63a7e5af05ad7d8b78c6a5f454838b928116ea8506b45",
9
- "size": 50458380,
8
+ "checksum": "1a8f29a408042f9695f2f757ac55ea22c92607940d1ff7739b22b738dce221e2",
9
+ "size": 50610712,
10
10
  "bundle": {
11
- "checksum": "6a7ff1b3d4fc5739a9befc4df3a6419dedab342579f9f9fb4c26a356dddec052",
12
- "size": 50456788
11
+ "checksum": "03debae4f03c3b2163f755a633b11708a69098bda768f6a241e99103821ab713",
12
+ "size": 50594718
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "25419961c3d901b18b0d63bb2efe3e68c47629239f9872ac08139f8f7559216e",
18
- "size": 53474125,
17
+ "checksum": "b5e3cd3bb3a541a8e7eadf87a76b267804b9753326b8ffbae2b667afe85297fb",
18
+ "size": 53624005,
19
19
  "bundle": {
20
- "checksum": "6cbf6ee82fedf869ccde175ae739ed8740e517a5caad1f2c5a9aa400ec5b0161",
21
- "size": 53484346
20
+ "checksum": "d272255ec783b43f8644d34d590d75c1904a55dfacf6c2f67342576871da5509",
21
+ "size": 53637501
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "a6a1698b6dc9438deab622618756e735f29e22a624bdf5d382e9a9dd835438fd",
27
- "size": 58141512
26
+ "checksum": "72b19a4cf11ee241a8187dd099bf662e1eebf7093996c61ef572f877882ca285",
27
+ "size": 58294671
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "a224eb404540adc8f3bbd29165ff3c070c1550c1e629e62d7effd6c673d1d79b",
32
- "size": 59407746
31
+ "checksum": "df17174ee43c41372332b5fa8cbc7787aa9a0e7eb0d1e2f83ef9cbba635027c8",
32
+ "size": 59550032
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "ef98d868f5695fbd05fdf3b83f1df52e81a5024022b22fb999a1f3e48d5b3d3b",
37
- "size": 56828247
36
+ "checksum": "9012a37af351dd99f8f57555efd127d385037fa9d1e02f17dc8690e13f9f0d19",
37
+ "size": 56979756
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "316fdfb584e22897aea3c6532f93f00f93b86f9af64d2422295a7a93da809758",
42
- "size": 58218590
41
+ "checksum": "1fcedd418e777e178d682c64bb5ffa7d529b1e1fe71205f05cdf2064b94a6506",
42
+ "size": 58355365
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "a5733df130abe206b7ba95d1c1c8bcc40c661a8284b1c11409cc072eb41944bd",
47
- "size": 59528232
46
+ "checksum": "26bfafd689f32a3422ea61ca602b5fdbd859ac5a3fdbee1ee6d2e5ec2a78883d",
47
+ "size": 59678481
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "e2f74a9b7c5bc2ba9b9650cc654c87b4a71f1df453f99ab427788bd081ba681e",
52
- "size": 57558450
51
+ "checksum": "feab03d833eb383445471007c2ece19d0ea12f0704f9c86252356d8f0b254b0c",
52
+ "size": 57703648
53
53
  }
54
+ },
55
+ "sdkCompat": {
56
+ "testedWrapperVersions": [
57
+ "0.3.181",
58
+ "0.3.182",
59
+ "0.3.183",
60
+ "0.3.185",
61
+ "0.3.186",
62
+ "0.3.187",
63
+ "0.3.190",
64
+ "0.3.191",
65
+ "0.3.195",
66
+ "0.3.196",
67
+ "0.3.197",
68
+ "0.3.198",
69
+ "0.3.201",
70
+ "0.3.202",
71
+ "0.3.204",
72
+ "0.3.205"
73
+ ],
74
+ "harnessSchema": 1
54
75
  }
55
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.206",
3
+ "version": "0.3.207",
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.206",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.206",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.206",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.206",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.206",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.206",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.206",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.206"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.207",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.207",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.207",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.207",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.207",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.207",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.207",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.207"
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.206"
83
+ "claudeCodeVersion": "2.1.207"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -97,6 +97,7 @@ export type AgentOutput =
97
97
  content: {
98
98
  type: "text";
99
99
  text: string;
100
+ citations?: unknown[] | null;
100
101
  }[];
101
102
  resolvedModel?: string;
102
103
  totalToolUseCount: number;
@@ -111,11 +112,14 @@ export type AgentOutput =
111
112
  web_search_requests: number;
112
113
  web_fetch_requests: number;
113
114
  } | null;
114
- service_tier: ("standard" | "priority" | "batch") | null;
115
+ service_tier: string | null;
115
116
  cache_creation: {
116
117
  ephemeral_1h_input_tokens: number;
117
118
  ephemeral_5m_input_tokens: number;
118
119
  } | null;
120
+ inference_geo?: string | null;
121
+ speed?: string | null;
122
+ iterations?: unknown;
119
123
  };
120
124
  toolStats?: {
121
125
  readCount: number;
@@ -125,12 +129,16 @@ export type AgentOutput =
125
129
  linesAdded: number;
126
130
  linesRemoved: number;
127
131
  otherToolCount: number;
132
+ frameCount?: number;
128
133
  };
129
134
  status: "completed";
130
135
  prompt: string;
136
+ worktreePath?: string;
137
+ worktreeBranch?: string;
131
138
  }
132
139
  | {
133
140
  status: "async_launched";
141
+ isAsync?: true;
134
142
  /**
135
143
  * The ID of the async agent
136
144
  */
@@ -3102,7 +3110,7 @@ export interface WebFetchOutput {
3102
3110
  url: string;
3103
3111
  artifactRead?: {
3104
3112
  slug: string;
3105
- ver: string;
3113
+ ver?: string;
3106
3114
  };
3107
3115
  }
3108
3116
  export interface WebSearchOutput {
package/sdk.d.ts CHANGED
@@ -4441,6 +4441,9 @@ export declare type SDKUserMessage = {
4441
4441
  message: MessageParam;
4442
4442
  parent_tool_use_id: string | null;
4443
4443
  isSynthetic?: boolean;
4444
+ /**
4445
+ * Structured tool output — the tool's full Output object, not the string content sent to the model. The shape is per-tool, keyed by the matching tool_use block's name (see the *Output types in toolTypes); MCP and dynamic tools carry their own shapes, so the field stays unknown-typed. For the Agent/Task tool the completed shape is AgentToolCompletedOutput: the subagent's final report without the model-directed agentId/usage trailer, plus run totals — render from it instead of parsing the tool_result text.
4446
+ */
4444
4447
  tool_use_result?: unknown;
4445
4448
  priority?: 'now' | 'next' | 'later';
4446
4449
  origin?: SDKMessageOrigin;
@@ -4483,6 +4486,9 @@ export declare type SDKUserMessageReplay = {
4483
4486
  message: MessageParam;
4484
4487
  parent_tool_use_id: string | null;
4485
4488
  isSynthetic?: boolean;
4489
+ /**
4490
+ * Structured tool output — the tool's full Output object, not the string content sent to the model. The shape is per-tool, keyed by the matching tool_use block's name (see the *Output types in toolTypes); MCP and dynamic tools carry their own shapes, so the field stays unknown-typed. For the Agent/Task tool the completed shape is AgentToolCompletedOutput: the subagent's final report without the model-directed agentId/usage trailer, plus run totals — render from it instead of parsing the tool_result text.
4491
+ */
4486
4492
  tool_use_result?: unknown;
4487
4493
  priority?: 'now' | 'next' | 'later';
4488
4494
  origin?: SDKMessageOrigin;