@anthropic-ai/claude-agent-sdk 0.3.200 → 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/bridge.mjs +95 -95
- package/browser-sdk.js +63 -63
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk-tools.d.ts +16 -6
- package/sdk.d.ts +8 -0
- package/sdk.mjs +72 -72
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-07-
|
|
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": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "7414f707861e2fe5afef33a466f888a8d2170e5028f5e9d2858f1d3ef45ffca5",
|
|
9
|
+
"size": 243631376
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "0dc578bb294094f5041e99a0444030ac6ae7236b387e56f00d4a5214816763bd",
|
|
14
|
+
"size": 251667920
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "de5e0bb28e2b32409444ed4c1431e2931001c05ed270a3dc96c6706b0693867f",
|
|
19
|
+
"size": 258587376
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "71590202249892db3805ecd5b867f831f04b8129eaabd3f9a5bd4ba16b52c839",
|
|
24
|
+
"size": 261786424
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "80405fead329dd67d786b2a3d49bb121797a157937c99dedae2e36fcc77b55e6",
|
|
29
|
+
"size": 251835576
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "bd62d47b677b8867e34f32642ee13f9fb87ad31b8acfdd326307eeffec02ec89",
|
|
34
|
+
"size": 256471424
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "7ff0787ebdc19fc509ccea8886ebf6a53ad8213407fa3a2b7c6d1446efc419f6",
|
|
39
|
+
"size": 252038816
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
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.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-07-
|
|
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": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "668e01a49f04109a684aef40e8dd2674c0f5d29c1f171e48ae0a55cf569fe53f",
|
|
9
|
+
"size": 50501159,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "070b7c331a7bff703ebf648321f02f75ccfbda4d55c2c18455cc26585ac726fc",
|
|
12
|
+
"size": 50506363
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "78f4735b6ec277bcab7793d2820cbec78bad4cffd2bd8eb83f2a667c9ece55b3",
|
|
18
|
+
"size": 53523497,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "60ee7df0122220c6572bd70169f72ca3582c5a5f76bab28055c10cd31e53becc",
|
|
21
|
+
"size": 53526015
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "43c35faea30b549a068e2ecbd7f443dbccae2a99ca16ce18cc5fc78edc045565",
|
|
27
|
+
"size": 58171109
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "23324365c8cd5eb3c00a9993bd66b169efce8634518e930fc015f646a02d083a",
|
|
32
|
+
"size": 59449827
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "d7d41350d53b20eafdacff5d6ef75073ef99ab033d16f6b0a8c7768d0d360ae1",
|
|
37
|
+
"size": 56873478
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "946eac4aee457ddd83c6333555daa38114708986bd64d040df629a5aa0f29b76",
|
|
42
|
+
"size": 58251881
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "3dd80d3a36ecbd4d792590e77818bdb2d980b982ccda322661dbc71cafc49579",
|
|
47
|
+
"size": 59562945
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
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.
|
|
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.
|
|
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.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.
|
|
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
|
|
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
|
|
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
|
|
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
|
*/
|