@anthropic-ai/claude-agent-sdk 0.3.195 → 0.3.196

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.195",
3
- "commit": "4603aa3f2ea164bd0974f82eb413ae7acc99a7ee",
4
- "buildDate": "2026-06-26T01:56:37Z",
2
+ "version": "2.1.196",
3
+ "commit": "a4ca500badcac68511fb5f04303e32e4360f3dfb",
4
+ "buildDate": "2026-06-29T01:55:28Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "8b45adad93f336ab95f33e714494b19fd3377a494eb05c122c8677bc895876ad",
9
- "size": 224682640
8
+ "checksum": "6fc6e61ab7582c2bf241225ff90d9f79e91d69380cb9589fc9dedd3a30070f5a",
9
+ "size": 225782608
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "7eb8716e6d6e6a278d13158793529336290837fca457facfec656f1b1a287c60",
14
- "size": 234066032
13
+ "checksum": "32c74d66e27b9ca77aea638fc46cb11c90470bd0d294b2a981065da8896d1ee0",
14
+ "size": 235139408
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "b02279999058dc80a0e1c5d39463d1545a178615492f84139aac8d61214a7e9a",
19
- "size": 241154800
18
+ "checksum": "05aa9189d335d1e921ca9608acd699193e661559aff56704456ce5bda6fd4dd8",
19
+ "size": 242203376
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "8323e70125063147a4478b957745d835a87e5e72ffd25b838ea9a841c03e6a37",
24
- "size": 244276024
23
+ "checksum": "eb933c6dd5534db89b83ba09009d5c0932bd1395f7e3bb0f34ba37eec37bbade",
24
+ "size": 245373752
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "52713b5f7690764b3b4742807b1a6fab24ce5e01dabf82964b97f519e8f9e7fe",
29
- "size": 234403000
28
+ "checksum": "0591ff8e1378d3773c85456d0c812bf79b333cac2d06396cd076ecfc75022ba4",
29
+ "size": 235451576
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "63a2b3291369ff85e970c0cfd3767bb48065071ec12fb2d0055387ccde511541",
34
- "size": 238977408
33
+ "checksum": "fa7e93303ea5eda7defce9f70f360c1f951b06f9f36b03296baffbade512049f",
34
+ "size": 240058752
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "3ef7fb7b16e169739640fe2903ee7011cff8b43d2dbb15f9badc9b11cfad18a3",
39
- "size": 234930336
38
+ "checksum": "180d7b279455e8b89d4353a5146447be2f80b80fb0db14bdc6dd9cb98c0aef09",
39
+ "size": 235977376
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "038fb49213c0ac828b5a8a1f31cf510753d7e7891e9ae4596673a602cff251f5",
44
- "size": 229410464
43
+ "checksum": "882ed64ae93385067bff7b1e1d1975898f1cbca739dff322e0e370cd2db3e6ed",
44
+ "size": 230444704
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.195",
3
- "commit": "4603aa3f2ea164bd0974f82eb413ae7acc99a7ee",
4
- "buildDate": "2026-06-26T01:58:22Z",
2
+ "version": "2.1.196",
3
+ "commit": "a4ca500badcac68511fb5f04303e32e4360f3dfb",
4
+ "buildDate": "2026-06-29T01:57:03Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "edd737e0b727d846b333abea409fe41b288d93a61b57c9436ba5936a95777524",
9
- "size": 46324238,
8
+ "checksum": "10fed08630de5ee96d282bd46468c8846fe2efcf912ffb7081b6100b82bb1b41",
9
+ "size": 46562853,
10
10
  "bundle": {
11
- "checksum": "dadeba60923e54e98dc5a1a391be77839fb7f23bf1e66d69988daa951caf5e57",
12
- "size": 46316695
11
+ "checksum": "17bb23e00ade792182c1b1b77007ab76de6eb6aea6f297a44a0b1d4634aa62c7",
12
+ "size": 46573556
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "d2b1b1ca02bf3f15d90e63c645c12e854cd9b860bc134278b9f5be2ccdc9ad51",
18
- "size": 50621837,
17
+ "checksum": "bff7cdb27a7020d6b21fbe5d4d4d41f59531172c7927f9599e533bf342dd9fb4",
18
+ "size": 50891667,
19
19
  "bundle": {
20
- "checksum": "42b85b75f832b0e1ab2c2e27e7f7bdc3f7d754f26a9b09aee1ab8a3ca641ead8",
21
- "size": 50626429
20
+ "checksum": "b7738d70a60a7097dfcc35b54bc13030671339790b6b9fa90c5d31ac4d9ed486",
21
+ "size": 50896401
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "92790e9ac5e82011b13603fdc6cbd169f4404a7294dba096bfd53d4d148418ea",
27
- "size": 55414570
26
+ "checksum": "6be5c69d32441ee7ee5d75c61816c3011422de98d9584b0cde45daa2bb4c675f",
27
+ "size": 55673912
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "502eb0186d3f2af31fc1eff3a89d440ce682cb941a09ab9f95828635e2e6cdcf",
32
- "size": 56663286
31
+ "checksum": "8d9b31a9309541e63e201d64f04ced4b4603b4c91bf579645c1f95f56fca737c",
32
+ "size": 56938352
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "6d318ddec8dc6bbab324ae0b70231160721f608c837a92a449c24359db87971a",
37
- "size": 54087314
36
+ "checksum": "1f2fcfc247efba1c882451de9c51c399c7e1fc3910c575660a543d43c6b8d92e",
37
+ "size": 54346444
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "9ea3130f98bcdfa9651ce487c415787928e5392568b391628be2da4aa62f0ba2",
42
- "size": 55471929
41
+ "checksum": "d0108bfbd32283b7ecafdd13f6433d525fd4741264bdfb921314dffec3a7ea83",
42
+ "size": 55731691
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "b1d4cfecfb3c5c617cf0c4f52406cee1f7f5c7c39ad73009c92e351066ca52f1",
47
- "size": 56797947
46
+ "checksum": "6a5543df854f30efe169b2e2f5609f4dd6b85db8eaba0e2a65ef335ac0e96998",
47
+ "size": 57049291
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "7ada1c6de7e4111a7bc128389f96f013af57997f39efb46d35759ed5ce2e5ab6",
52
- "size": 54835024
51
+ "checksum": "5adb89a3270336fc9598cf4b5b2ab4cebf48b41f8fdaa45fdaa2a5578c33f45d",
52
+ "size": 55081320
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.195",
3
+ "version": "0.3.196",
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.195",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.195",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.195",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.195",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.195",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.195",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.195",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.195"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.196",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.196",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.196",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.196",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.196",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.196",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.196",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.196"
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.195"
83
+ "claudeCodeVersion": "2.1.196"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -24,6 +24,7 @@ export type ToolInputSchemas =
24
24
  | NotebookEditInput
25
25
  | ReadMcpResourceDirInput
26
26
  | ReadMcpResourceInput
27
+ | ReportFindingsInput
27
28
  | TodoWriteInput
28
29
  | WebFetchInput
29
30
  | WebSearchInput
@@ -63,6 +64,7 @@ export type ToolOutputSchemas =
63
64
  | NotebookEditOutput
64
65
  | ReadMcpResourceDirOutput
65
66
  | ReadMcpResourceOutput
67
+ | ReportFindingsOutput
66
68
  | TodoWriteOutput
67
69
  | WebFetchOutput
68
70
  | WebSearchOutput
@@ -687,6 +689,43 @@ export interface ReadMcpResourceInput {
687
689
  */
688
690
  uri: string;
689
691
  }
692
+ export interface ReportFindingsInput {
693
+ /**
694
+ * Effort level the review ran at
695
+ */
696
+ level?: "low" | "medium" | "high" | "xhigh" | "max";
697
+ /**
698
+ * Verified findings, most-severe first; empty if none survived
699
+ *
700
+ * @maxItems 32
701
+ */
702
+ findings: {
703
+ /**
704
+ * Repo-relative path of the file the finding is in
705
+ */
706
+ file: string;
707
+ /**
708
+ * 1-indexed line the finding anchors to
709
+ */
710
+ line?: number;
711
+ /**
712
+ * One-sentence statement of the defect
713
+ */
714
+ summary: string;
715
+ /**
716
+ * Concrete inputs/state → wrong output/crash
717
+ */
718
+ failure_scenario: string;
719
+ /**
720
+ * Set when a verify pass ran; absent on inline-only reviews
721
+ */
722
+ verdict?: "CONFIRMED" | "PLAUSIBLE";
723
+ /**
724
+ * Set ONLY when re-reporting after applying fixes: what happened to this finding
725
+ */
726
+ outcome?: "fixed" | "skipped" | "no_change_needed";
727
+ }[];
728
+ }
690
729
  export interface TodoWriteInput {
691
730
  /**
692
731
  * The updated todo list
@@ -2526,6 +2565,10 @@ export interface ArtifactInput {
2526
2565
  * Browser-tab icon: one or two emoji (e.g. "📊"). No markup. Keep stable across redeploys; change only on a hard topic pivot.
2527
2566
  */
2528
2567
  favicon: string;
2568
+ /**
2569
+ * One-sentence subtitle shown on the gallery card. Say what the page is or does.
2570
+ */
2571
+ description?: string;
2529
2572
  /**
2530
2573
  * Short human-readable name for this version, max 60 chars (e.g. "fixed-background"). Shown in the version picker. Not a description — keep it to a few words.
2531
2574
  */
@@ -2920,6 +2963,45 @@ export interface ReadMcpResourceOutput {
2920
2963
  */
2921
2964
  error?: string;
2922
2965
  }
2966
+ export interface ReportFindingsOutput {
2967
+ /**
2968
+ * Number of findings reported
2969
+ */
2970
+ count: number;
2971
+ /**
2972
+ * Effort level the review ran at
2973
+ */
2974
+ level?: "low" | "medium" | "high" | "xhigh" | "max";
2975
+ /**
2976
+ * Echoed for the result body
2977
+ */
2978
+ findings: {
2979
+ /**
2980
+ * Repo-relative path of the file the finding is in
2981
+ */
2982
+ file: string;
2983
+ /**
2984
+ * 1-indexed line the finding anchors to
2985
+ */
2986
+ line?: number;
2987
+ /**
2988
+ * One-sentence statement of the defect
2989
+ */
2990
+ summary: string;
2991
+ /**
2992
+ * Concrete inputs/state → wrong output/crash
2993
+ */
2994
+ failure_scenario: string;
2995
+ /**
2996
+ * Set when a verify pass ran; absent on inline-only reviews
2997
+ */
2998
+ verdict?: "CONFIRMED" | "PLAUSIBLE";
2999
+ /**
3000
+ * Set ONLY when re-reporting after applying fixes: what happened to this finding
3001
+ */
3002
+ outcome?: "fixed" | "skipped" | "no_change_needed";
3003
+ }[];
3004
+ }
2923
3005
  export interface TodoWriteOutput {
2924
3006
  /**
2925
3007
  * The todo list before the update
package/sdk.d.ts CHANGED
@@ -157,6 +157,10 @@ export declare type BaseHookInput = {
157
157
  session_id: string;
158
158
  transcript_path: string;
159
159
  cwd: string;
160
+ /**
161
+ * UUID correlating a user prompt with all subsequent events until the next prompt. Same value emitted on OpenTelemetry events as the `prompt.id` attribute, so hook output can be joined to OTel events at prompt grain. Absent until the first user input of the process lifetime.
162
+ */
163
+ prompt_id?: string;
160
164
  permission_mode?: string;
161
165
  /**
162
166
  * Subagent identifier. Present only when the hook fires from within a subagent (e.g., a tool called by an AgentTool worker). Absent for the main thread, even in --agent sessions. Use this field (not agent_type) to distinguish subagent calls from main-thread calls.
@@ -2783,6 +2787,7 @@ export declare type SDKCompactBoundaryMessage = {
2783
2787
  trigger: 'manual' | 'auto';
2784
2788
  pre_tokens: number;
2785
2789
  post_tokens?: number;
2790
+
2786
2791
  duration_ms?: number;
2787
2792
 
2788
2793
 
@@ -5012,6 +5017,10 @@ export declare interface Settings {
5012
5017
  * Disable the Artifact tool (also via CLAUDE_CODE_DISABLE_ARTIFACT).
5013
5018
  */
5014
5019
  disableArtifact?: boolean;
5020
+ /**
5021
+ * Enable or disable the Artifact tool for this user. Unset = default by plan once the feature is available.
5022
+ */
5023
+ enableArtifact?: boolean;
5015
5024
  /**
5016
5025
  * Enable or disable the Workflows feature for this user. Unset = default by plan once the feature is available.
5017
5026
  */
@@ -6039,6 +6048,7 @@ export declare interface Settings {
6039
6048
  prefersReducedMotion?: boolean;
6040
6049
 
6041
6050
 
6051
+
6042
6052
  /**
6043
6053
  * Enable auto-memory for this project. When false, Claude will not read from or write to the auto-memory directory.
6044
6054
  */