@anthropic-ai/claude-agent-sdk 0.3.170 → 0.3.172

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.170",
3
- "commit": "1cda84def004ef3a8f569f8e8284a153a6b98c3a",
4
- "buildDate": "2026-06-09T15:22:30Z",
2
+ "version": "2.1.172",
3
+ "commit": "1b719ca2781a2dccc4a769b66bc35b4a60509ad7",
4
+ "buildDate": "2026-06-10T16:38:17Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "e903646d8b7a31882a80ecd27569a27d8ac57b3708745f349709632c84117fdf",
9
- "size": 222102816
8
+ "checksum": "3c31f345575bf6f261c7e19981f6491bb93eeb0ffb499e95033610a7184831ce",
9
+ "size": 223390752
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "914f23a70bbed5d9ae567e3e04b86206ed9971b371bc9baca3f79c8885bfddb4",
14
- "size": 224616976
13
+ "checksum": "c507f98750c5230e4247f7eadff38e4db04c006904f85379e31c5d5e82e1c384",
14
+ "size": 225892528
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "1bb9d032440a75532f7dd4cafbc687f220aaf16c63eba17e192dfbec2f04bd25",
19
- "size": 247379592
18
+ "checksum": "4ef0d735bd4180c3bffc381f6dc38df979229a8637d294be751c6043d93d12e1",
19
+ "size": 248624776
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "849e007277a0442ab27570d3e3d6d43787507946590e8dd1947e5a39b7081f9e",
24
- "size": 247469776
23
+ "checksum": "c0915dd1691d569aeebc7978b12e029718323685ec0dd4b5c6a453108d6be1f7",
24
+ "size": 248743632
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "73154fd674aaf233254edea8fbfb6a53d82d5297ae7546b998e36983def4dddc",
29
- "size": 240234328
28
+ "checksum": "6b10aad4270348175206bd2475f82ef3c56007dfb55d7b90f1950dfa8fb9eb40",
29
+ "size": 241479512
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "5d19b7c91a03182ccb69da249f721684aebecfa4c52fe46b9205a81d8fc64a47",
34
- "size": 241863728
33
+ "checksum": "58f2c60711f95e51d86d1af5b915cbdd0458710f1830b7c26d59b78f1ad1f861",
34
+ "size": 243153968
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "193061508fe619abf534b2c9d48151f26971d1d5b8460ad75c0af4be3d3525fb",
39
- "size": 242929824
38
+ "checksum": "07132ca4bbef551c92c1ae6ca0220a5e523092c9fa9cf402f65f428450687455",
39
+ "size": 244181152
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "9abd330bcc191aecc877a8ee9da2b448852cfe3bda15e5e4608385ea1d9d1709",
44
- "size": 238894240
43
+ "checksum": "1e3e165c03de2af83c1e3516b73890b56e9785a2382338adcc28f41918bf4d2f",
44
+ "size": 240146080
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.170",
3
- "commit": "1cda84def004ef3a8f569f8e8284a153a6b98c3a",
4
- "buildDate": "2026-06-09T15:24:16Z",
2
+ "version": "2.1.172",
3
+ "commit": "1b719ca2781a2dccc4a769b66bc35b4a60509ad7",
4
+ "buildDate": "2026-06-10T16:40:02Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "5b710d5fdc5f32d20ad6f0be1c774cac30a790b47ffbab8ca8dd47bba6988fcf",
9
- "size": 45639007,
8
+ "checksum": "759bbc3536d1a718cac24dfdd08a368bc63b64f64d199e64b354d101a4542050",
9
+ "size": 45892652,
10
10
  "bundle": {
11
- "checksum": "ab5825cf9eff1cf5de79324e4725d52b30b870513eb44dfc39440ecf3f16c1ae",
12
- "size": 45646762
11
+ "checksum": "8ed897263049f1dc5d7eff8b70bd2a08cdd459a07e11702a9a51fa68e4b44130",
12
+ "size": 45888336
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "1deee31fef3b351b96f1a47a0eede87871fb8ebc543f00a1198dcfdf1d60802a",
18
- "size": 47557780,
17
+ "checksum": "f8207869e2d8969e4df23d59a0ba619c9b782ba647622e5567ddd9daf3c68996",
18
+ "size": 47796942,
19
19
  "bundle": {
20
- "checksum": "6ef22a77501c630d5d0328d65405f371ff43fe6d93717d4b75bdfd690220f0ef",
21
- "size": 47568410
20
+ "checksum": "f63edc2de24311b5baad57225f354a62622b611e3ccb009c9a4928ab1973be4b",
21
+ "size": 47794444
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "8ad3da80e89f00fedb80216c652775eae50daebdc5fa5c56e892fdec55f25937",
27
- "size": 53311093
26
+ "checksum": "bfb5b7972cd5b6e8409e3f1dd259f2bb56ccbd3faa78420c030d9c1bd2c589b2",
27
+ "size": 53537540
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "9da4443a307f9d5b731d8df15a3b238cc2c306e5708c274293d2bee2a5ab9aac",
32
- "size": 53921266
31
+ "checksum": "cccc4486cb1c536918c1f54ff8509524633380f741253b00e29ce0db67fc1003",
32
+ "size": 54221669
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "c10605119a27e0d0895b4c51172891b6eca8837d4d160eea0323c76754b5513d",
37
- "size": 51934316
36
+ "checksum": "e3e80acadc3d75733ebfdd196e3fa8d6d189ec938a28b6cb361a99a1b49beec5",
37
+ "size": 52160799
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "8e5eb050f326496a4729f0d2bd9ff3f718bbeecbf35bc4df709bce77034bfd39",
42
- "size": 52653467
41
+ "checksum": "f88dba6370ab59cf918806dfae856e52c53595fca27072b78ee2a5757219dae3",
42
+ "size": 52864871
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "b5346325dd053578694e8ea4a401b863348d586cd7aeb43506c81ba1c7651049",
47
- "size": 54661611
46
+ "checksum": "94297aa5ba27fcc918e5401b6894b9690a6671c35224f8eafb6915de4271d7ec",
47
+ "size": 54883060
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "1ae429d218861943aa221fe98e18ba0227f88d899bfb60b4b54a7745b847410e",
52
- "size": 52936449
51
+ "checksum": "e10be49737ca3feab22bd88ecfb017f32eb06978e8237daebbce8f84f79a2eb3",
52
+ "size": 53155326
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.170",
3
+ "version": "0.3.172",
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.170",
65
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.170",
66
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.170",
67
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.170",
68
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.170",
69
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.170",
70
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.170",
71
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.170"
64
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.172",
65
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.172",
66
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.172",
67
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.172",
68
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.172",
69
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.172",
70
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.172",
71
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.172"
72
72
  },
73
73
  "files": [
74
74
  "sdk.mjs",
@@ -86,5 +86,5 @@
86
86
  "manifest.json",
87
87
  "manifest.zst.json"
88
88
  ],
89
- "claudeCodeVersion": "2.1.170"
89
+ "claudeCodeVersion": "2.1.172"
90
90
  }
package/sdk-tools.d.ts CHANGED
@@ -39,7 +39,9 @@ export type ToolInputSchemas =
39
39
  | CronListInput
40
40
  | ScheduleWakeupInput
41
41
  | RemoteTriggerInput
42
+ | ShowOnboardingRolePickerInput
42
43
  | MonitorInput
44
+ | ArtifactInput
43
45
  | PushNotificationInput
44
46
  | EnterWorktreeInput
45
47
  | ExitWorktreeInput
@@ -68,7 +70,9 @@ export type ToolOutputSchemas =
68
70
  | TaskGetOutput
69
71
  | TaskUpdateOutput
70
72
  | TaskListOutput
73
+ | ArtifactOutput
71
74
  | RemoteTriggerOutput
75
+ | ShowOnboardingRolePickerOutput
72
76
  | ScheduleWakeupOutput
73
77
  | MonitorOutput
74
78
  | EnterPlanModeOutput
@@ -2348,6 +2352,7 @@ export interface RemoteTriggerInput {
2348
2352
  [k: string]: unknown;
2349
2353
  };
2350
2354
  }
2355
+ export interface ShowOnboardingRolePickerInput {}
2351
2356
  export interface MonitorInput {
2352
2357
  /**
2353
2358
  * Short human-readable description of what you are monitoring (shown in notifications).
@@ -2366,6 +2371,24 @@ export interface MonitorInput {
2366
2371
  */
2367
2372
  command: string;
2368
2373
  }
2374
+ export interface ArtifactInput {
2375
+ /**
2376
+ * Path to an .html or .md file to render. Use a short, distinctive basename — it is the fallback title if the HTML has no <title>.
2377
+ */
2378
+ file_path: string;
2379
+ /**
2380
+ * Browser-tab icon: one or two emoji (e.g. "📊"). No markup. Keep stable across redeploys; change only on a hard topic pivot.
2381
+ */
2382
+ favicon: string;
2383
+ /**
2384
+ * Short human-readable name for this version (e.g. "fixed-background"). Shown in the version picker instead of the raw version id.
2385
+ */
2386
+ label?: string;
2387
+ /**
2388
+ * Existing artifact URL to redeploy to. Pass when the user gives you a URL for an artifact not published in this session; omit for new artifacts or same-session redeploys. Must be an artifact the user owns.
2389
+ */
2390
+ url?: string;
2391
+ }
2369
2392
  export interface PushNotificationInput {
2370
2393
  /**
2371
2394
  * The notification body. Keep it under 200 characters; mobile OSes truncate.
@@ -2711,6 +2734,10 @@ export interface ReadMcpResourceOutput {
2711
2734
  */
2712
2735
  blobSavedTo?: string;
2713
2736
  }[];
2737
+ /**
2738
+ * Human-readable error when the server could not read the resource
2739
+ */
2740
+ error?: string;
2714
2741
  }
2715
2742
  export interface TodoWriteOutput {
2716
2743
  /**
@@ -3028,11 +3055,21 @@ export interface TaskListOutput {
3028
3055
  blockedBy: string[];
3029
3056
  }[];
3030
3057
  }
3058
+ export interface ArtifactOutput {
3059
+ url: string;
3060
+ path: string;
3061
+ title?: string;
3062
+ mcpDropped?: string;
3063
+ }
3031
3064
  export interface RemoteTriggerOutput {
3032
3065
  status: number;
3033
3066
  json: string;
3034
3067
  summary?: string;
3035
3068
  }
3069
+ export interface ShowOnboardingRolePickerOutput {
3070
+ role?: string;
3071
+ dismissed?: boolean;
3072
+ }
3036
3073
  export interface ScheduleWakeupOutput {
3037
3074
  /**
3038
3075
  * Epoch ms timestamp when the next wakeup will fire
package/sdk.d.ts CHANGED
@@ -3248,6 +3248,7 @@ export declare type SDKControlInitializeResponse = {
3248
3248
  */
3249
3249
  declare type SDKControlInterruptRequest = {
3250
3250
  subtype: 'interrupt';
3251
+
3251
3252
  };
3252
3253
 
3253
3254
  /**
@@ -3784,6 +3785,10 @@ export declare type SdkPluginConfig = {
3784
3785
  * Absolute or relative path to the plugin directory
3785
3786
  */
3786
3787
  path: string;
3788
+ /**
3789
+ * When true, the engine loads skills/hooks/agents/commands from this plugin but does NOT read its .mcp.json or manifest mcpServers. Use when the SDK host owns this plugin's MCP connections.
3790
+ */
3791
+ skipMcpDiscovery?: boolean;
3787
3792
  };
3788
3793
 
3789
3794
  /**
@@ -4879,6 +4884,10 @@ export declare interface Settings {
4879
4884
  * Disable the Workflows feature (also via CLAUDE_CODE_DISABLE_WORKFLOWS).
4880
4885
  */
4881
4886
  disableWorkflows?: boolean;
4887
+ /**
4888
+ * Disable the Artifact tool (also via CLAUDE_CODE_DISABLE_ARTIFACT).
4889
+ */
4890
+ disableArtifact?: boolean;
4882
4891
  /**
4883
4892
  * Enable or disable the Workflows feature for this user. Unset = default by plan once the feature is available.
4884
4893
  */