@anthropic-ai/claude-agent-sdk 0.3.324 → 0.3.326
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/README.md +1 -1
- package/bridge.mjs +96 -96
- package/browser-sdk.d.ts +7 -0
- package/browser-sdk.js +73 -71
- package/core-2h2qc9qv.mjs +18 -0
- package/core-9sxfsmzx.mjs +18 -0
- package/{core-qe0dk8na.mjs → core-ba5rrckm.mjs} +2 -2
- package/core-dnsvg8nc.mjs +53 -0
- package/{core-hjrk2537.mjs → core-h6r54bwv.mjs} +2 -2
- package/core-k67vj6j9.mjs +20 -0
- package/core-qbjntcdf.mjs +18 -0
- package/core-qj4dtgyt.mjs +17 -0
- package/core-rn7tc54w.mjs +17 -0
- package/core-sstebd83.mjs +18 -0
- package/core-td7rt8zt.mjs +17 -0
- package/{core-mjr5v0tc.mjs → core-tf03rfab.mjs} +3 -3
- package/core-x4kwpwv9.mjs +16 -0
- package/core-y6bhrwmk.mjs +47 -0
- package/{core-nbx2rjdx.mjs → core-ya1m7gzj.mjs} +3 -3
- package/core.d.ts +1 -0
- package/core.mjs +11 -11
- package/manifest.json +22 -22
- package/manifest.zst.json +26 -26
- package/package.json +25 -21
- package/sdk-tools.d.ts +7 -6
- package/sdk.d.ts +175 -123
- package/sdk.mjs +88 -85
- package/core-4tdxk2rb.mjs +0 -16
- package/core-7sc5aw3j.mjs +0 -17
- package/core-de9edyhn.mjs +0 -19
- package/core-dtdat34e.mjs +0 -45
- package/core-qkncpzfw.mjs +0 -42
- package/core-s4as5f4b.mjs +0 -18
- package/core-ttsjec9g.mjs +0 -17
package/manifest.json
CHANGED
|
@@ -1,54 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.326",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-11-
|
|
4
|
+
"commit": "e601e33ab7cb260b9713df44fa4406cde23c91a0",
|
|
5
|
+
"buildDate": "2026-11-16T17:26:18Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "e214ad76dcc0e846b03be28ed1c2734aacd4e27acb527cb7f8a9e2bed644e837",
|
|
10
|
+
"size": 353037664
|
|
11
11
|
},
|
|
12
12
|
"darwin-x64": {
|
|
13
13
|
"binary": "claude",
|
|
14
|
-
"checksum": "
|
|
15
|
-
"size":
|
|
14
|
+
"checksum": "bd8e26290f93353590b831600a7ced02d625018fbaa2a82d8817368d3e2d2f82",
|
|
15
|
+
"size": 367809664
|
|
16
16
|
},
|
|
17
17
|
"linux-arm64": {
|
|
18
18
|
"binary": "claude",
|
|
19
|
-
"checksum": "
|
|
20
|
-
"size":
|
|
19
|
+
"checksum": "98d56f6ffe53469767a74864a38eaf359d62ef557a8de1b1ad524d61a66ec119",
|
|
20
|
+
"size": 370271672
|
|
21
21
|
},
|
|
22
22
|
"linux-x64": {
|
|
23
23
|
"binary": "claude",
|
|
24
|
-
"checksum": "
|
|
25
|
-
"size":
|
|
24
|
+
"checksum": "b6b3647d981130dc44fc670846ae97b6cde531ffb667cf9c4d17cfcafb38cb37",
|
|
25
|
+
"size": 371429904
|
|
26
26
|
},
|
|
27
27
|
"linux-arm64-musl": {
|
|
28
28
|
"binary": "claude",
|
|
29
|
-
"checksum": "
|
|
30
|
-
"size":
|
|
29
|
+
"checksum": "827b08bda7ed682685ee770e0e61f8c128d3c951486e96348663893dca5bae41",
|
|
30
|
+
"size": 355365832
|
|
31
31
|
},
|
|
32
32
|
"linux-x64-musl": {
|
|
33
33
|
"binary": "claude",
|
|
34
|
-
"checksum": "
|
|
35
|
-
"size":
|
|
34
|
+
"checksum": "595f563b879d54965e5c4bafa3b6b1829ef34865a434b97408ebcb797eb85d5c",
|
|
35
|
+
"size": 357788936
|
|
36
36
|
},
|
|
37
37
|
"win32-x64": {
|
|
38
38
|
"binary": "claude.exe",
|
|
39
|
-
"checksum": "
|
|
40
|
-
"size":
|
|
39
|
+
"checksum": "44e85ac6d3e36b924a0d631d3f69c13a6907491115d71e97c8eb6160c82b2aed",
|
|
40
|
+
"size": 378067616
|
|
41
41
|
},
|
|
42
42
|
"win32-arm64": {
|
|
43
43
|
"binary": "claude.exe",
|
|
44
|
-
"checksum": "
|
|
45
|
-
"size":
|
|
44
|
+
"checksum": "12042740540c184b351274c11aa808252796770626ce990be740dd0d11d67e5b",
|
|
45
|
+
"size": 360077472
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"sdkCompat": {
|
|
49
49
|
"testedWrapperVersions": [
|
|
50
|
-
"0.3.290",
|
|
51
|
-
"0.3.291",
|
|
52
50
|
"0.3.292",
|
|
53
51
|
"0.3.293",
|
|
54
52
|
"0.3.294",
|
|
@@ -76,7 +74,9 @@
|
|
|
76
74
|
"0.3.319",
|
|
77
75
|
"0.3.321",
|
|
78
76
|
"0.3.322",
|
|
79
|
-
"0.3.323"
|
|
77
|
+
"0.3.323",
|
|
78
|
+
"0.3.324",
|
|
79
|
+
"0.3.325"
|
|
80
80
|
],
|
|
81
81
|
"harnessSchema": 1
|
|
82
82
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,62 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.326",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-11-
|
|
4
|
+
"commit": "e601e33ab7cb260b9713df44fa4406cde23c91a0",
|
|
5
|
+
"buildDate": "2026-11-16T17:28:22Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude.zst",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "54df908478d26bca61942d6745b5e4c6a4f2af1d30f95566df2fe580d987a94c",
|
|
10
|
+
"size": 121575125,
|
|
11
11
|
"bundle": {
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "c4434d650cb33999939847a668017baf105911f3345d7e63df3dbd22de596ca2",
|
|
13
|
+
"size": 121572955
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"darwin-x64": {
|
|
17
17
|
"binary": "claude.zst",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "3c36ff5545e026161054cac99a061e7562327506d47838928391fdc8e0129b7e",
|
|
19
|
+
"size": 129155707,
|
|
20
20
|
"bundle": {
|
|
21
|
-
"checksum": "
|
|
22
|
-
"size":
|
|
21
|
+
"checksum": "657e649501ff044ed1e8d9f4f321dd1c20e3be6949d8472eba3db29cdf5b9a8d",
|
|
22
|
+
"size": 129148319
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64": {
|
|
26
26
|
"binary": "claude.zst",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "d5ca836da289593d5ebfc6bac21fa7954ad66f1eaf22f9860916ec0608d1ed2e",
|
|
28
|
+
"size": 132819275
|
|
29
29
|
},
|
|
30
30
|
"linux-x64": {
|
|
31
31
|
"binary": "claude.zst",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "8a6e8f4fdc137f93359285d0677640dcd73e67a35ffabeab8c042d433d685abd",
|
|
33
|
+
"size": 134248725
|
|
34
34
|
},
|
|
35
35
|
"linux-arm64-musl": {
|
|
36
36
|
"binary": "claude.zst",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "5879b7b84189ed5c120a3f36179159d56fc42af72272742842b4bf632b7c3aa6",
|
|
38
|
+
"size": 126991630
|
|
39
39
|
},
|
|
40
40
|
"linux-x64-musl": {
|
|
41
41
|
"binary": "claude.zst",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "b617d2464d17d3d42602072da9a04b0e0615474f8a23747b6b14e0bc2a50623e",
|
|
43
|
+
"size": 128488017
|
|
44
44
|
},
|
|
45
45
|
"win32-x64": {
|
|
46
46
|
"binary": "claude.exe.zst",
|
|
47
|
-
"checksum": "
|
|
48
|
-
"size":
|
|
47
|
+
"checksum": "d31a4581af928af7cecf38efc2229a154286b41888d28640ddf5f1f229c64f92",
|
|
48
|
+
"size": 136770114
|
|
49
49
|
},
|
|
50
50
|
"win32-arm64": {
|
|
51
51
|
"binary": "claude.exe.zst",
|
|
52
|
-
"checksum": "
|
|
53
|
-
"size":
|
|
52
|
+
"checksum": "f6ede2a432939a1ce102304586c28e75778f03adac4c2f781779bf5affd0a8a0",
|
|
53
|
+
"size": 130606094
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"sdkCompat": {
|
|
57
57
|
"testedWrapperVersions": [
|
|
58
|
-
"0.3.290",
|
|
59
|
-
"0.3.291",
|
|
60
58
|
"0.3.292",
|
|
61
59
|
"0.3.293",
|
|
62
60
|
"0.3.294",
|
|
@@ -84,7 +82,9 @@
|
|
|
84
82
|
"0.3.319",
|
|
85
83
|
"0.3.321",
|
|
86
84
|
"0.3.322",
|
|
87
|
-
"0.3.323"
|
|
85
|
+
"0.3.323",
|
|
86
|
+
"0.3.324",
|
|
87
|
+
"0.3.325"
|
|
88
88
|
],
|
|
89
89
|
"harnessSchema": 1
|
|
90
90
|
}
|
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.326",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"zod": "^4.0.0"
|
|
62
62
|
},
|
|
63
63
|
"optionalDependencies": {
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
68
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
70
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
71
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.326",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.326",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.326",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.326",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.326",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.326",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.326",
|
|
71
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.326"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|
|
74
74
|
"sdk.mjs",
|
|
@@ -85,17 +85,21 @@
|
|
|
85
85
|
"extractFromBunfs.d.ts",
|
|
86
86
|
"manifest.json",
|
|
87
87
|
"manifest.zst.json",
|
|
88
|
-
"core-
|
|
89
|
-
"core-
|
|
90
|
-
"core-
|
|
91
|
-
"core-
|
|
92
|
-
"core-
|
|
93
|
-
"core-
|
|
94
|
-
"core-
|
|
95
|
-
"core-
|
|
96
|
-
"core-
|
|
97
|
-
"core-
|
|
98
|
-
"core-
|
|
88
|
+
"core-2h2qc9qv.mjs",
|
|
89
|
+
"core-9sxfsmzx.mjs",
|
|
90
|
+
"core-ba5rrckm.mjs",
|
|
91
|
+
"core-dnsvg8nc.mjs",
|
|
92
|
+
"core-h6r54bwv.mjs",
|
|
93
|
+
"core-k67vj6j9.mjs",
|
|
94
|
+
"core-qbjntcdf.mjs",
|
|
95
|
+
"core-qj4dtgyt.mjs",
|
|
96
|
+
"core-rn7tc54w.mjs",
|
|
97
|
+
"core-sstebd83.mjs",
|
|
98
|
+
"core-td7rt8zt.mjs",
|
|
99
|
+
"core-tf03rfab.mjs",
|
|
100
|
+
"core-x4kwpwv9.mjs",
|
|
101
|
+
"core-y6bhrwmk.mjs",
|
|
102
|
+
"core-ya1m7gzj.mjs"
|
|
99
103
|
],
|
|
100
|
-
"claudeCodeVersion": "2.1.
|
|
104
|
+
"claudeCodeVersion": "2.1.326"
|
|
101
105
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -440,6 +440,7 @@ export type ArtifactOutput =
|
|
|
440
440
|
faviconSent?: true;
|
|
441
441
|
iconDropped?: true;
|
|
442
442
|
audience?: string;
|
|
443
|
+
folder_audience?: "others" | "unknown";
|
|
443
444
|
seq?: number;
|
|
444
445
|
unchanged?: true;
|
|
445
446
|
liveSubscription?: string;
|
|
@@ -2887,7 +2888,7 @@ export interface WorkflowInput {
|
|
|
2887
2888
|
*/
|
|
2888
2889
|
scriptPath?: string;
|
|
2889
2890
|
/**
|
|
2890
|
-
* Run ID of a prior Workflow invocation to resume from.
|
|
2891
|
+
* Run ID of a prior Workflow invocation to resume from. The cache is positional: agent() calls replay from cache up to the first call that failed, no longer matches the earlier run (edited, added, removed or reordered) or never started in it; that call and every call after it run again, even when their own (prompt, opts) are unchanged. A call a usage limit refused, or one still running when the run stopped, usually runs again without ending reuse: finished calls after it still come from cache. Same-session only. Stop the prior run first (TaskStop) before resuming.
|
|
2891
2892
|
*/
|
|
2892
2893
|
resumeFromRunId?: string;
|
|
2893
2894
|
}
|
|
@@ -3309,11 +3310,11 @@ export interface ProposeSkillsInput {
|
|
|
3309
3310
|
}
|
|
3310
3311
|
export interface ProposeGoalInput {
|
|
3311
3312
|
/**
|
|
3312
|
-
* The completion condition to
|
|
3313
|
+
* The completion condition to set, written so a separate evaluator can verify it from the conversation (e.g. "all tests in test/auth pass (bun test exits 0)"). At most 500 characters — the user must be able to read the whole condition in the approval dialog.
|
|
3313
3314
|
*/
|
|
3314
3315
|
condition: string;
|
|
3315
3316
|
/**
|
|
3316
|
-
* Whether to ask the user for approval before the goal is set. Defaults to true — an approval dialog is shown. Set false ONLY when the user's own words in this conversation stated this outcome as what they want; the goal is then set directly, with a visible notice in the transcript, and the user can clear it with /goal clear.
|
|
3317
|
+
* Whether to ask the user for approval before the goal is set. Defaults to true — an approval dialog is shown. Set false ONLY when the user's own words in this conversation stated this outcome as what they want; the goal is then set directly, with a visible notice in the transcript, and the user can clear it with /goal clear. While a goal is active the dialog is shown whatever this says.
|
|
3317
3318
|
*/
|
|
3318
3319
|
ask_user?: boolean;
|
|
3319
3320
|
}
|
|
@@ -3436,11 +3437,11 @@ export interface EnterWorktreeInput {
|
|
|
3436
3437
|
}
|
|
3437
3438
|
export interface ExitWorktreeInput {
|
|
3438
3439
|
/**
|
|
3439
|
-
* "keep" leaves the worktree and branch on disk; "remove" deletes
|
|
3440
|
+
* "keep" leaves the worktree and branch on disk; "remove" deletes the worktree and, unless a hook made it or git refuses, its branch.
|
|
3440
3441
|
*/
|
|
3441
3442
|
action: "keep" | "remove";
|
|
3442
3443
|
/**
|
|
3443
|
-
* Required true when action is "remove" and the worktree has uncommitted files or unmerged commits. The tool will refuse and list them otherwise.
|
|
3444
|
+
* Required true when action is "remove" and the worktree has uncommitted files or unmerged commits. The tool will refuse and list them otherwise. It also removes the worktree under any task still running there, so set it only after the user has confirmed.
|
|
3444
3445
|
*/
|
|
3445
3446
|
discard_changes?: boolean;
|
|
3446
3447
|
}
|
|
@@ -4307,7 +4308,7 @@ export interface ProposeSkillsOutput {
|
|
|
4307
4308
|
}
|
|
4308
4309
|
export interface ProposeGoalOutput {
|
|
4309
4310
|
/**
|
|
4310
|
-
* The condition shown to the user for approval, or set directly
|
|
4311
|
+
* The condition shown to the user for approval, or set directly
|
|
4311
4312
|
*/
|
|
4312
4313
|
condition: string;
|
|
4313
4314
|
/**
|