@anthropic-ai/claude-agent-sdk 0.3.325 → 0.3.327

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,54 +1,52 @@
1
1
  {
2
- "version": "2.1.325",
2
+ "version": "2.1.327",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "a360e7297ecfcddeae9ec99fb3c93153ed86aca4",
5
- "buildDate": "2026-11-13T19:15:06Z",
4
+ "commit": "f467840f2a4cef7025c988cdd4deac9aba5e264a",
5
+ "buildDate": "2026-11-17T18:29:12Z",
6
6
  "platforms": {
7
7
  "darwin-arm64": {
8
8
  "binary": "claude",
9
- "checksum": "84590fefe6338be9087f5814b61f9a54c5f21524163a4c127cb5a808e31009f2",
10
- "size": 347406976
9
+ "checksum": "76d48205c926c8a6978cfc2171b631bcd01e20bbadd085638bb2ec57bea91c5b",
10
+ "size": 354515104
11
11
  },
12
12
  "darwin-x64": {
13
13
  "binary": "claude",
14
- "checksum": "af9760c59f947044e2a0d5072343de563f31efb68bd18ccee4f43c5240570de7",
15
- "size": 362162560
14
+ "checksum": "1fe75c05df7be824af1ed80ff9ccdf2be991f3a2212b97e05fc9a3bff2f39ef9",
15
+ "size": 369295744
16
16
  },
17
17
  "linux-arm64": {
18
18
  "binary": "claude",
19
- "checksum": "7b6e484b1989a5a14a4b354709ccc8672518a3ec5b9ccd7981fc6254327fde67",
20
- "size": 364701112
19
+ "checksum": "acf0ef2f9da8d5ab08f193f007e19a06cbfb608b96a2f1f758d63a92a386cff8",
20
+ "size": 371779000
21
21
  },
22
22
  "linux-x64": {
23
23
  "binary": "claude",
24
- "checksum": "0dc4f4a9a165fc60746d7ae8489712e5fc352f1e7ad4eb22e7141bd0812eb0cf",
25
- "size": 365842960
24
+ "checksum": "343c744baa14bfd38286a7cb90871051f04379956da6c5b803a9e66019a76ac9",
25
+ "size": 372904464
26
26
  },
27
27
  "linux-arm64-musl": {
28
28
  "binary": "claude",
29
- "checksum": "14dc17cd958f62d82fb2ff6276368fc611a88be303e0ae1a8cca580495964efe",
30
- "size": 349795272
29
+ "checksum": "e44a59ef850788c578adaab7a6487d5d0af9c0844401da9d7263e7b41515754b",
30
+ "size": 356873160
31
31
  },
32
32
  "linux-x64-musl": {
33
33
  "binary": "claude",
34
- "checksum": "a5e3bd36dce97db0429705aa5c3573eea346a77938a89104b9c28fce409b20cd",
35
- "size": 352201992
34
+ "checksum": "d2b02e78664c1347aff8fcee045356ee044116be41d7f412721a6c50182b6d98",
35
+ "size": 359267592
36
36
  },
37
37
  "win32-x64": {
38
38
  "binary": "claude.exe",
39
- "checksum": "87e0cb6ae0f4775da388cd3043f4d8097ef961dcddbf55fe90bc61ffc3f57a30",
40
- "size": 372461728
39
+ "checksum": "d6c8075bfb3b87f1c1254e64b6c35dadc628d21e75930ae51e47047b3f05a4a2",
40
+ "size": 379536544
41
41
  },
42
42
  "win32-arm64": {
43
43
  "binary": "claude.exe",
44
- "checksum": "45c1d546a0048dcdde3433ada6c10f7f23bd71a96868b9d75e28f1ac266f1a25",
45
- "size": 354470048
44
+ "checksum": "d2c3395d252007540a5662a2cfd4d8903a0beb5fa32c893cd13b81be427625a7",
45
+ "size": 361547936
46
46
  }
47
47
  },
48
48
  "sdkCompat": {
49
49
  "testedWrapperVersions": [
50
- "0.3.291",
51
- "0.3.292",
52
50
  "0.3.293",
53
51
  "0.3.294",
54
52
  "0.3.295",
@@ -76,7 +74,9 @@
76
74
  "0.3.321",
77
75
  "0.3.322",
78
76
  "0.3.323",
79
- "0.3.324"
77
+ "0.3.324",
78
+ "0.3.325",
79
+ "0.3.326"
80
80
  ],
81
81
  "harnessSchema": 1
82
82
  }
package/manifest.zst.json CHANGED
@@ -1,62 +1,60 @@
1
1
  {
2
- "version": "2.1.325",
2
+ "version": "2.1.327",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "a360e7297ecfcddeae9ec99fb3c93153ed86aca4",
5
- "buildDate": "2026-11-13T19:17:00Z",
4
+ "commit": "f467840f2a4cef7025c988cdd4deac9aba5e264a",
5
+ "buildDate": "2026-11-17T18:31:39Z",
6
6
  "platforms": {
7
7
  "darwin-arm64": {
8
8
  "binary": "claude.zst",
9
- "checksum": "5117df01bb8150ced024d8944a9706034e0c9bf6e28ee527b8d7735397aca6db",
10
- "size": 119662237,
9
+ "checksum": "bba95782cd2be6baa993d93fe35719eb7a168ce8cfb12b9967e84f2f31341abb",
10
+ "size": 121833959,
11
11
  "bundle": {
12
- "checksum": "485fdac4332e02d74388bf7824d4bcc82207e7ded75c151869324ab0ab5d8ba8",
13
- "size": 119664793
12
+ "checksum": "12b8ad19c8e569093a03dc4ff3de9d93efee384810c05f7e79f2b3b6b2c56aba",
13
+ "size": 121836633
14
14
  }
15
15
  },
16
16
  "darwin-x64": {
17
17
  "binary": "claude.zst",
18
- "checksum": "d92be13773f84a1cb0a378dcb0aa67dcd2c8262645f25bfa0dd7b1af21972cf2",
19
- "size": 127207855,
18
+ "checksum": "61e0618f147caa94eebfc4b3a5011c95f8ed355fc387fc7597ca58958d942567",
19
+ "size": 129401570,
20
20
  "bundle": {
21
- "checksum": "75357a81506001c34829251a40912ed73c33b8bb05e6822c6cd217c436c0257e",
22
- "size": 127197217
21
+ "checksum": "d69384a537eef9bc463326f6a2cab8d6d82debbe9f2b3f8e8ffdb11e670334c1",
22
+ "size": 129401787
23
23
  }
24
24
  },
25
25
  "linux-arm64": {
26
26
  "binary": "claude.zst",
27
- "checksum": "9e0304bfa6890a8badad29f40061f90a2a6fd704d9d47b44efc10ab74184a0ee",
28
- "size": 130929554
27
+ "checksum": "2f2201df61973fc0637e5e50c0c81c75884bec3ca7eed856e3242ab4cfb22e17",
28
+ "size": 133077941
29
29
  },
30
30
  "linux-x64": {
31
31
  "binary": "claude.zst",
32
- "checksum": "00b1b977bcc3f32eb69129f0ac3277aafb1aecbfb87c17c0af53806832ed436a",
33
- "size": 132357990
32
+ "checksum": "a7ba3640f5c656d697b743c20bcfa4470e8b4e88aa352be82dafe3041d5f8961",
33
+ "size": 134515965
34
34
  },
35
35
  "linux-arm64-musl": {
36
36
  "binary": "claude.zst",
37
- "checksum": "0ba3d79a4b1706f14a4815098b0dc630e41dfcc5119f2e3feb7ae6eb2fda1469",
38
- "size": 125096445
37
+ "checksum": "b138f2d35da647a95a6b3d0ab0c4edd53591cf527507c03f5cc154cc35fc8f35",
38
+ "size": 127253974
39
39
  },
40
40
  "linux-x64-musl": {
41
41
  "binary": "claude.zst",
42
- "checksum": "584ee8c7767aa49101410d09e7b58067ca749de8ce06827448ccef11d94d9943",
43
- "size": 126606790
42
+ "checksum": "4081ee69a1e09f8e219fd1eb475c275e4ee8a52e92cee1919ccca7bce66f7f3d",
43
+ "size": 128762925
44
44
  },
45
45
  "win32-x64": {
46
46
  "binary": "claude.exe.zst",
47
- "checksum": "806e0a45e6f5e6ce201e4ef133dd41a30e235dc2745caceeba2351aed7878792",
48
- "size": 134865344
47
+ "checksum": "689a7f718b3653bf7aff96bb4cd3042adc76b5bc74fadcc3af23a548458a48e5",
48
+ "size": 137009857
49
49
  },
50
50
  "win32-arm64": {
51
51
  "binary": "claude.exe.zst",
52
- "checksum": "bb79f03fa3c4d6b1e36149891c01c27b2b42a31076c61db5f27d9e0f11d83264",
53
- "size": 128711245
52
+ "checksum": "18418aea0b5879318b2fb1ab3702c944cef79dd6a1c22a7367de3a24b2e208ce",
53
+ "size": 130871478
54
54
  }
55
55
  },
56
56
  "sdkCompat": {
57
57
  "testedWrapperVersions": [
58
- "0.3.291",
59
- "0.3.292",
60
58
  "0.3.293",
61
59
  "0.3.294",
62
60
  "0.3.295",
@@ -84,7 +82,9 @@
84
82
  "0.3.321",
85
83
  "0.3.322",
86
84
  "0.3.323",
87
- "0.3.324"
85
+ "0.3.324",
86
+ "0.3.325",
87
+ "0.3.326"
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.327",
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.327",
65
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.327",
66
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.327",
67
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.327",
68
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.327",
69
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.327",
70
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.327",
71
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.327"
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-25bstexa.mjs",
89
+ "core-4ps8vwh1.mjs",
90
+ "core-9a7zb9bm.mjs",
91
+ "core-a8ty0dnc.mjs",
92
+ "core-ae73vzp2.mjs",
93
+ "core-dsa3p77h.mjs",
94
+ "core-e93r8awg.mjs",
95
+ "core-eqz9ara6.mjs",
96
+ "core-esw7xtkz.mjs",
97
+ "core-ey906mbk.mjs",
98
+ "core-k19jejpn.mjs",
99
+ "core-kag24kjr.mjs",
100
+ "core-mhczx7zp.mjs",
101
+ "core-nfa6p2rw.mjs",
102
+ "core-v6sp3qjw.mjs"
99
103
  ],
100
- "claudeCodeVersion": "2.1.325"
104
+ "claudeCodeVersion": "2.1.327"
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
  }
@@ -4298,6 +4299,10 @@ export interface MonitorOutput {
4298
4299
  * No timeout — runs until TaskStop or session end.
4299
4300
  */
4300
4301
  persistent?: boolean;
4302
+ /**
4303
+ * True when the command ran in the sandbox only because its permission check relied on the sandbox; the settings would otherwise have exempted it.
4304
+ */
4305
+ keptInSandboxByCheck?: boolean;
4301
4306
  }
4302
4307
  export interface ProposeSkillsOutput {
4303
4308
  /**
@@ -4307,7 +4312,7 @@ export interface ProposeSkillsOutput {
4307
4312
  }
4308
4313
  export interface ProposeGoalOutput {
4309
4314
  /**
4310
- * The condition shown to the user for approval, or set directly when ask_user was false
4315
+ * The condition shown to the user for approval, or set directly
4311
4316
  */
4312
4317
  condition: string;
4313
4318
  /**