@anthropic-ai/claude-agent-sdk 0.3.325 → 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/manifest.json CHANGED
@@ -1,53 +1,52 @@
1
1
  {
2
- "version": "2.1.325",
2
+ "version": "2.1.326",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "a360e7297ecfcddeae9ec99fb3c93153ed86aca4",
5
- "buildDate": "2026-11-13T19:15:06Z",
4
+ "commit": "e601e33ab7cb260b9713df44fa4406cde23c91a0",
5
+ "buildDate": "2026-11-16T17:26:18Z",
6
6
  "platforms": {
7
7
  "darwin-arm64": {
8
8
  "binary": "claude",
9
- "checksum": "84590fefe6338be9087f5814b61f9a54c5f21524163a4c127cb5a808e31009f2",
10
- "size": 347406976
9
+ "checksum": "e214ad76dcc0e846b03be28ed1c2734aacd4e27acb527cb7f8a9e2bed644e837",
10
+ "size": 353037664
11
11
  },
12
12
  "darwin-x64": {
13
13
  "binary": "claude",
14
- "checksum": "af9760c59f947044e2a0d5072343de563f31efb68bd18ccee4f43c5240570de7",
15
- "size": 362162560
14
+ "checksum": "bd8e26290f93353590b831600a7ced02d625018fbaa2a82d8817368d3e2d2f82",
15
+ "size": 367809664
16
16
  },
17
17
  "linux-arm64": {
18
18
  "binary": "claude",
19
- "checksum": "7b6e484b1989a5a14a4b354709ccc8672518a3ec5b9ccd7981fc6254327fde67",
20
- "size": 364701112
19
+ "checksum": "98d56f6ffe53469767a74864a38eaf359d62ef557a8de1b1ad524d61a66ec119",
20
+ "size": 370271672
21
21
  },
22
22
  "linux-x64": {
23
23
  "binary": "claude",
24
- "checksum": "0dc4f4a9a165fc60746d7ae8489712e5fc352f1e7ad4eb22e7141bd0812eb0cf",
25
- "size": 365842960
24
+ "checksum": "b6b3647d981130dc44fc670846ae97b6cde531ffb667cf9c4d17cfcafb38cb37",
25
+ "size": 371429904
26
26
  },
27
27
  "linux-arm64-musl": {
28
28
  "binary": "claude",
29
- "checksum": "14dc17cd958f62d82fb2ff6276368fc611a88be303e0ae1a8cca580495964efe",
30
- "size": 349795272
29
+ "checksum": "827b08bda7ed682685ee770e0e61f8c128d3c951486e96348663893dca5bae41",
30
+ "size": 355365832
31
31
  },
32
32
  "linux-x64-musl": {
33
33
  "binary": "claude",
34
- "checksum": "a5e3bd36dce97db0429705aa5c3573eea346a77938a89104b9c28fce409b20cd",
35
- "size": 352201992
34
+ "checksum": "595f563b879d54965e5c4bafa3b6b1829ef34865a434b97408ebcb797eb85d5c",
35
+ "size": 357788936
36
36
  },
37
37
  "win32-x64": {
38
38
  "binary": "claude.exe",
39
- "checksum": "87e0cb6ae0f4775da388cd3043f4d8097ef961dcddbf55fe90bc61ffc3f57a30",
40
- "size": 372461728
39
+ "checksum": "44e85ac6d3e36b924a0d631d3f69c13a6907491115d71e97c8eb6160c82b2aed",
40
+ "size": 378067616
41
41
  },
42
42
  "win32-arm64": {
43
43
  "binary": "claude.exe",
44
- "checksum": "45c1d546a0048dcdde3433ada6c10f7f23bd71a96868b9d75e28f1ac266f1a25",
45
- "size": 354470048
44
+ "checksum": "12042740540c184b351274c11aa808252796770626ce990be740dd0d11d67e5b",
45
+ "size": 360077472
46
46
  }
47
47
  },
48
48
  "sdkCompat": {
49
49
  "testedWrapperVersions": [
50
- "0.3.291",
51
50
  "0.3.292",
52
51
  "0.3.293",
53
52
  "0.3.294",
@@ -76,7 +75,8 @@
76
75
  "0.3.321",
77
76
  "0.3.322",
78
77
  "0.3.323",
79
- "0.3.324"
78
+ "0.3.324",
79
+ "0.3.325"
80
80
  ],
81
81
  "harnessSchema": 1
82
82
  }
package/manifest.zst.json CHANGED
@@ -1,61 +1,60 @@
1
1
  {
2
- "version": "2.1.325",
2
+ "version": "2.1.326",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "a360e7297ecfcddeae9ec99fb3c93153ed86aca4",
5
- "buildDate": "2026-11-13T19:17:00Z",
4
+ "commit": "e601e33ab7cb260b9713df44fa4406cde23c91a0",
5
+ "buildDate": "2026-11-16T17:28:22Z",
6
6
  "platforms": {
7
7
  "darwin-arm64": {
8
8
  "binary": "claude.zst",
9
- "checksum": "5117df01bb8150ced024d8944a9706034e0c9bf6e28ee527b8d7735397aca6db",
10
- "size": 119662237,
9
+ "checksum": "54df908478d26bca61942d6745b5e4c6a4f2af1d30f95566df2fe580d987a94c",
10
+ "size": 121575125,
11
11
  "bundle": {
12
- "checksum": "485fdac4332e02d74388bf7824d4bcc82207e7ded75c151869324ab0ab5d8ba8",
13
- "size": 119664793
12
+ "checksum": "c4434d650cb33999939847a668017baf105911f3345d7e63df3dbd22de596ca2",
13
+ "size": 121572955
14
14
  }
15
15
  },
16
16
  "darwin-x64": {
17
17
  "binary": "claude.zst",
18
- "checksum": "d92be13773f84a1cb0a378dcb0aa67dcd2c8262645f25bfa0dd7b1af21972cf2",
19
- "size": 127207855,
18
+ "checksum": "3c36ff5545e026161054cac99a061e7562327506d47838928391fdc8e0129b7e",
19
+ "size": 129155707,
20
20
  "bundle": {
21
- "checksum": "75357a81506001c34829251a40912ed73c33b8bb05e6822c6cd217c436c0257e",
22
- "size": 127197217
21
+ "checksum": "657e649501ff044ed1e8d9f4f321dd1c20e3be6949d8472eba3db29cdf5b9a8d",
22
+ "size": 129148319
23
23
  }
24
24
  },
25
25
  "linux-arm64": {
26
26
  "binary": "claude.zst",
27
- "checksum": "9e0304bfa6890a8badad29f40061f90a2a6fd704d9d47b44efc10ab74184a0ee",
28
- "size": 130929554
27
+ "checksum": "d5ca836da289593d5ebfc6bac21fa7954ad66f1eaf22f9860916ec0608d1ed2e",
28
+ "size": 132819275
29
29
  },
30
30
  "linux-x64": {
31
31
  "binary": "claude.zst",
32
- "checksum": "00b1b977bcc3f32eb69129f0ac3277aafb1aecbfb87c17c0af53806832ed436a",
33
- "size": 132357990
32
+ "checksum": "8a6e8f4fdc137f93359285d0677640dcd73e67a35ffabeab8c042d433d685abd",
33
+ "size": 134248725
34
34
  },
35
35
  "linux-arm64-musl": {
36
36
  "binary": "claude.zst",
37
- "checksum": "0ba3d79a4b1706f14a4815098b0dc630e41dfcc5119f2e3feb7ae6eb2fda1469",
38
- "size": 125096445
37
+ "checksum": "5879b7b84189ed5c120a3f36179159d56fc42af72272742842b4bf632b7c3aa6",
38
+ "size": 126991630
39
39
  },
40
40
  "linux-x64-musl": {
41
41
  "binary": "claude.zst",
42
- "checksum": "584ee8c7767aa49101410d09e7b58067ca749de8ce06827448ccef11d94d9943",
43
- "size": 126606790
42
+ "checksum": "b617d2464d17d3d42602072da9a04b0e0615474f8a23747b6b14e0bc2a50623e",
43
+ "size": 128488017
44
44
  },
45
45
  "win32-x64": {
46
46
  "binary": "claude.exe.zst",
47
- "checksum": "806e0a45e6f5e6ce201e4ef133dd41a30e235dc2745caceeba2351aed7878792",
48
- "size": 134865344
47
+ "checksum": "d31a4581af928af7cecf38efc2229a154286b41888d28640ddf5f1f229c64f92",
48
+ "size": 136770114
49
49
  },
50
50
  "win32-arm64": {
51
51
  "binary": "claude.exe.zst",
52
- "checksum": "bb79f03fa3c4d6b1e36149891c01c27b2b42a31076c61db5f27d9e0f11d83264",
53
- "size": 128711245
52
+ "checksum": "f6ede2a432939a1ce102304586c28e75778f03adac4c2f781779bf5affd0a8a0",
53
+ "size": 130606094
54
54
  }
55
55
  },
56
56
  "sdkCompat": {
57
57
  "testedWrapperVersions": [
58
- "0.3.291",
59
58
  "0.3.292",
60
59
  "0.3.293",
61
60
  "0.3.294",
@@ -84,7 +83,8 @@
84
83
  "0.3.321",
85
84
  "0.3.322",
86
85
  "0.3.323",
87
- "0.3.324"
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.325",
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.325",
65
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.325",
66
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.325",
67
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.325",
68
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.325",
69
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.325",
70
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.325",
71
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.325"
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-0a66n3e7.mjs",
89
- "core-0bmnpbz2.mjs",
90
- "core-9je8ee1j.mjs",
91
- "core-ds2jqcef.mjs",
92
- "core-fxa8mwbm.mjs",
93
- "core-gbbw9cgm.mjs",
94
- "core-msnqqcc2.mjs",
95
- "core-wadgcjfh.mjs",
96
- "core-x20yarwf.mjs",
97
- "core-x3hc9abc.mjs",
98
- "core-zg882d22.mjs"
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.325"
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. Completed agent() calls with unchanged (prompt, opts) return their cached results instantly; only edited or new calls re-run. Same-session only. Stop the prior run first (TaskStop) before resuming.
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 propose, 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
+ * 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 both.
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 when ask_user was false
4311
+ * The condition shown to the user for approval, or set directly
4311
4312
  */
4312
4313
  condition: string;
4313
4314
  /**