@anthropic-ai/claude-agent-sdk 0.3.201 → 0.3.202

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,47 @@
1
1
  {
2
- "version": "2.1.201",
3
- "commit": "5bb45156ece6b12214696c88adec695b2dca1338",
4
- "buildDate": "2026-07-03T20:01:44Z",
2
+ "version": "2.1.202",
3
+ "commit": "23f7f00042c9899630a3a02963fe4bb349512614",
4
+ "buildDate": "2026-07-06T20:02:44Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "a0852d76afc47b30f5cb0b7625ec9a7714cb189f2eeef6c28c77e2be954fb7fd",
9
- "size": 231708784
8
+ "checksum": "7414f707861e2fe5afef33a466f888a8d2170e5028f5e9d2858f1d3ef45ffca5",
9
+ "size": 243631376
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "1889287a92d25356ae8bd8d8e67b11456015516ee8ba4277a0c7074786c49bb6",
14
- "size": 241100240
13
+ "checksum": "0dc578bb294094f5041e99a0444030ac6ae7236b387e56f00d4a5214816763bd",
14
+ "size": 251667920
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "86b2eab34d382c7b428fc2e9f4c97f04e46805e950582472a13eb7d48de60516",
19
- "size": 248101616
18
+ "checksum": "de5e0bb28e2b32409444ed4c1431e2931001c05ed270a3dc96c6706b0693867f",
19
+ "size": 258587376
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "a34809a6839fdefff21b9347d7fb5b6b58e6a9cc208a5e62853f29c83eb107a3",
24
- "size": 251300664
23
+ "checksum": "71590202249892db3805ecd5b867f831f04b8129eaabd3f9a5bd4ba16b52c839",
24
+ "size": 261786424
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "5b4cde588b0196c8f88654ca9652c4703788f4d9fbab32a17ab3c444830085ae",
29
- "size": 241349816
28
+ "checksum": "80405fead329dd67d786b2a3d49bb121797a157937c99dedae2e36fcc77b55e6",
29
+ "size": 251835576
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "a0f81ec99ac65e8c5919e7aae54b8a496488e0f1311884fc9ffd05c7cbf6bd2f",
34
- "size": 245985664
33
+ "checksum": "bd62d47b677b8867e34f32642ee13f9fb87ad31b8acfdd326307eeffec02ec89",
34
+ "size": 256471424
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "fb804ee019bfbb8d7e85abf965e528e53b5aa5a4e4ebc0f164139dc10a9e0320",
39
- "size": 241591968
38
+ "checksum": "7ff0787ebdc19fc509ccea8886ebf6a53ad8213407fa3a2b7c6d1446efc419f6",
39
+ "size": 252038816
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "a3ad78a0b593dea94c3ee787b1f5b17a173a7679203a296acf9aae7ef4705d42",
44
- "size": 236058784
43
+ "checksum": "67a437feb7489620063f57e3bb073b8b7b82252d9373c9edc1d4969e42796be4",
44
+ "size": 246505120
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.201",
3
- "commit": "5bb45156ece6b12214696c88adec695b2dca1338",
4
- "buildDate": "2026-07-03T20:03:32Z",
2
+ "version": "2.1.202",
3
+ "commit": "23f7f00042c9899630a3a02963fe4bb349512614",
4
+ "buildDate": "2026-07-06T20:04:33Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "18e2b15bbf0333a88a65cd2e3020cf52ae6d415f39ed588afc331d8473190154",
9
- "size": 47431348,
8
+ "checksum": "668e01a49f04109a684aef40e8dd2674c0f5d29c1f171e48ae0a55cf569fe53f",
9
+ "size": 50501159,
10
10
  "bundle": {
11
- "checksum": "add99ff8b25ef856b3d8695fdeef344048fe712bdc5708629a984787ba3c9188",
12
- "size": 47428744
11
+ "checksum": "070b7c331a7bff703ebf648321f02f75ccfbda4d55c2c18455cc26585ac726fc",
12
+ "size": 50506363
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "4b2050debc0e3d510b94239b8626fe6a869789cf724fa42c5015a5d4b9fec114",
18
- "size": 51796127,
17
+ "checksum": "78f4735b6ec277bcab7793d2820cbec78bad4cffd2bd8eb83f2a667c9ece55b3",
18
+ "size": 53523497,
19
19
  "bundle": {
20
- "checksum": "0044c4c2ce846f1972a2ab956751d81fbba0f3568979154f2faf629a44d79c15",
21
- "size": 51801449
20
+ "checksum": "60ee7df0122220c6572bd70169f72ca3582c5a5f76bab28055c10cd31e53becc",
21
+ "size": 53526015
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "4658386a325d60fcb0131e57dc039504b851e3d99ff1f5bb0ac9316976b08729",
27
- "size": 56535728
26
+ "checksum": "43c35faea30b549a068e2ecbd7f443dbccae2a99ca16ce18cc5fc78edc045565",
27
+ "size": 58171109
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "52c34ff3734e0908c49c59eccbb97182d86912fb598c09196071e7dcbd067320",
32
- "size": 57783888
31
+ "checksum": "23324365c8cd5eb3c00a9993bd66b169efce8634518e930fc015f646a02d083a",
32
+ "size": 59449827
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "c9520418ef28daa25f304e969f63f9fe3889d9ed53659b0d9ce357b8ff6ee361",
37
- "size": 55209060
36
+ "checksum": "d7d41350d53b20eafdacff5d6ef75073ef99ab033d16f6b0a8c7768d0d360ae1",
37
+ "size": 56873478
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "c44e0e4614c71a2e900f0ce369af0fdb4e416184f1211b31a787e5e2f39c2793",
42
- "size": 56589666
41
+ "checksum": "946eac4aee457ddd83c6333555daa38114708986bd64d040df629a5aa0f29b76",
42
+ "size": 58251881
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "ee8a3b36e6d4104f5b8ce716beb1a9584016d22ce12a813a55020379727358d3",
47
- "size": 57924143
46
+ "checksum": "3dd80d3a36ecbd4d792590e77818bdb2d980b982ccda322661dbc71cafc49579",
47
+ "size": 59562945
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "96aba507c1e1baa3062f009eedef1f9f8084d9b263de72c7a4e834f8e528bbf2",
52
- "size": 55958009
51
+ "checksum": "bcfc87def886c59f9a18f06ee83f19c2b5f103fcd02ea1efa75581a40dc73d6f",
52
+ "size": 57605572
53
53
  }
54
54
  }
55
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.201",
3
+ "version": "0.3.202",
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.201",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.201",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.201",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.201",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.201",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.201",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.201",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.201"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.202",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.202",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.202",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.202",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.202",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.202",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.202",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.202"
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.201"
83
+ "claudeCodeVersion": "2.1.202"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -2518,17 +2518,21 @@ export interface CronDeleteInput {
2518
2518
  export interface CronListInput {}
2519
2519
  export interface ScheduleWakeupInput {
2520
2520
  /**
2521
- * Seconds from now to wake up. Clamped to [60, 3600] by the runtime.
2521
+ * Seconds from now to wake up. Clamped to [60, 3600] by the runtime. Required unless `stop` is true.
2522
2522
  */
2523
- delaySeconds: number;
2523
+ delaySeconds?: number;
2524
2524
  /**
2525
- * One short sentence explaining the chosen delay. Goes to telemetry and is shown to the user. Be specific.
2525
+ * One short sentence explaining the chosen delay. Goes to telemetry and is shown to the user. Be specific. Required unless `stop` is true.
2526
2526
  */
2527
- reason: string;
2527
+ reason?: string;
2528
2528
  /**
2529
- * The /loop input to fire on wake-up. Pass the same /loop input verbatim each turn so the next firing re-enters the skill and continues the loop. For autonomous /loop (no user prompt), pass the literal sentinel `<<autonomous-loop-dynamic>>` instead (the dynamic-pacing variant, not the CronCreate-mode `<<autonomous-loop>>`).
2529
+ * The /loop input to fire on wake-up. Pass the same /loop input verbatim each turn so the next firing re-enters the skill and continues the loop. For autonomous /loop (no user prompt), pass the literal sentinel `<<autonomous-loop-dynamic>>` instead (the dynamic-pacing variant, not the CronCreate-mode `<<autonomous-loop>>`). Required unless `stop` is true.
2530
2530
  */
2531
- prompt: string;
2531
+ prompt?: string;
2532
+ /**
2533
+ * Set to true to end the dynamic loop immediately instead of scheduling another wakeup. When true, all other fields are ignored and no further wakeups fire.
2534
+ */
2535
+ stop?: boolean;
2532
2536
  }
2533
2537
  export interface RemoteTriggerInput {
2534
2538
  action: "list" | "get" | "create" | "update" | "run";
@@ -3355,6 +3359,8 @@ export interface ArtifactOutput {
3355
3359
  [k: string]: unknown;
3356
3360
  };
3357
3361
  };
3362
+ warnings?: string[];
3363
+ contract?: string;
3358
3364
  }
3359
3365
  export interface RemoteTriggerOutput {
3360
3366
  status: number;
@@ -3378,6 +3384,10 @@ export interface ScheduleWakeupOutput {
3378
3384
  * True if the requested delaySeconds was outside [60, 3600]
3379
3385
  */
3380
3386
  wasClamped: boolean;
3387
+ /**
3388
+ * True when the model ended the loop via `stop: true`
3389
+ */
3390
+ stopped?: boolean;
3381
3391
  }
3382
3392
  export interface MonitorOutput {
3383
3393
  /**
package/sdk.d.ts CHANGED
@@ -4431,6 +4431,13 @@ export declare type SessionMessage = {
4431
4431
  session_id: string;
4432
4432
  message: unknown;
4433
4433
  parent_tool_use_id: string | null;
4434
+ /**
4435
+ * agentId of the subagent that spawned this subagent, or null when this
4436
+ * message belongs to a depth-1 subagent (spawned by the main loop) or to
4437
+ * the main session itself. Sessions whose metadata lacks the field report
4438
+ * null.
4439
+ */
4440
+ parent_agent_id: string | null;
4434
4441
  };
4435
4442
 
4436
4443
  /**
@@ -6117,6 +6124,7 @@ export declare interface Settings {
6117
6124
 
6118
6125
 
6119
6126
 
6127
+
6120
6128
  /**
6121
6129
  * Enable auto-memory for this project. When false, Claude will not read from or write to the auto-memory directory.
6122
6130
  */