@anthropic-ai/claude-agent-sdk 0.3.191 → 0.3.193

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.191",
3
- "commit": "397db5e73d569118815b8037ca9ff2483a06bbfe",
4
- "buildDate": "2026-06-24T11:32:23Z",
2
+ "version": "2.1.193",
3
+ "commit": "a1938d2a07a2e4fecbef4eeac813221929e97d22",
4
+ "buildDate": "2026-06-25T18:25:46Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "99fdfb552a5260e649aedd06c024d0a4105b09cefec0bf67d558e017ee66c400",
9
- "size": 219856224
8
+ "checksum": "f7513a30385ad9019c237226fd6ec46508b3062ebefca8aedbe397d111a818ff",
9
+ "size": 222248240
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "6e83aad5fc4fd459fd74539cda06d2279105eac2befc603d2fba6494974cb2a4",
14
- "size": 229178416
13
+ "checksum": "cba5c3bdca8ab5f8e7590406702d418f6114d9b39f48f16876680e881abf1ee8",
14
+ "size": 230317808
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "1a31a7cbcfd784f8c073bfc8a0a1583fb6e93e60ef70b76d7fcf663ffed8949b",
19
- "size": 236305136
18
+ "checksum": "39454ce62e795eeb4871a81f6453cda96e926e2db9a4dd41d0ec1b60b0153448",
19
+ "size": 237419248
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "1038dba88bdf1b80941dc3e383e93b088325b00497329ac50da460c8786d5bee",
24
- "size": 239438648
23
+ "checksum": "c9f04d929f18bd9a101f3897f27de4e1e0f15ebe8400d4aaf02983d73dd66b1d",
24
+ "size": 240556856
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "7e5d3ac86e28dbd224f84d9349372b74bed39ad6392408df63356fd8a810c96e",
29
- "size": 229553336
28
+ "checksum": "658bbae05441c2d3792f9870a5001a1dfa7a62956abffc151aed7cae0adf9f7d",
29
+ "size": 230667448
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "b80e0066fb208cbd50fe539ed9c03dadd24fcc058bb67774fd36a316bca396ad",
34
- "size": 234123648
33
+ "checksum": "b37861314ace243d8425ebce503c657c5d9f76af361f9bd8ca3bd34b2e71474a",
34
+ "size": 235258240
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "83397a6a029c7da663fb1ce27211e05174a3546d8b151e42451bf4590b8343d7",
39
- "size": 230281888
38
+ "checksum": "ffea22269bf66ce778ce845ea0c15cb5b21d39be82601a065c3eca6f7368da3e",
39
+ "size": 231359136
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "ec8c342e835ee8891ef2c6d0eb9ac460f2d5e6a668788c8a03faa3451748c275",
44
- "size": 224756384
43
+ "checksum": "0bea15edaf5791220c646f9066bda84397a73053d88f225c7622c7a2ab45ff59",
44
+ "size": 225839264
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.191",
3
- "commit": "397db5e73d569118815b8037ca9ff2483a06bbfe",
4
- "buildDate": "2026-06-24T11:34:13Z",
2
+ "version": "2.1.193",
3
+ "commit": "a1938d2a07a2e4fecbef4eeac813221929e97d22",
4
+ "buildDate": "2026-06-25T18:27:30Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "1e0e43751a0c379346460f049bce96e575609b4e71d5962f4d2acf0b91c78fd9",
9
- "size": 45457602,
8
+ "checksum": "4a2ec55b60034283b5fa69f428e8f988ba34900df492570efa9d0b95ea8b2371",
9
+ "size": 46939034,
10
10
  "bundle": {
11
- "checksum": "2ab22c16cee6c72f85e69445225e57db046d46cb1568d8224321114a83792d33",
12
- "size": 45461631
11
+ "checksum": "b22dd015e35d7be690ab9bdb9881729f1193f7895cfe26537987b40d92abfef1",
12
+ "size": 46942638
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "4bee8d449b6f68c1b360a446d43f4bcea0e4f03b89929b5db5a84ccbc3c3848e",
18
- "size": 49724319,
17
+ "checksum": "03786846ce6be30dd8eacb4258802742d16ec380826b2f200c818a0dc24f974a",
18
+ "size": 49963257,
19
19
  "bundle": {
20
- "checksum": "6f0c567adf7319c4c8fc384ad734aa3cf78de5e7f8689475032714ab28d2ea08",
21
- "size": 49726387
20
+ "checksum": "b65bc8bf45d0778e4bfd30fb3f4ad9ba9fe04467ee42b032fd11a1bda0bbb5ef",
21
+ "size": 49966826
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "be5f54f9eaa0dca1daf8b8e0f8677343dca5096265cfe8643db19f4136daa659",
27
- "size": 54566562
26
+ "checksum": "78e004c0239710b557cc94c16b3bfd68901890ee615f065269940ec45344b230",
27
+ "size": 54766727
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "e230ba2f62780d101457f701b4427b714eb6d8bf9b3b2daa177216de9dce125f",
32
- "size": 55814450
31
+ "checksum": "f19d7c97b3f7a6042db6bd7c161f2cd79c9a989c561babc2aa9aba607d60b6c4",
32
+ "size": 56010978
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "7892cc6f6e0bcff888b645b411cf727c032a6ac303e383251627883beff5a74e",
37
- "size": 53232201
36
+ "checksum": "439690d551c0d5208f621fabb5bbf7692d28917c97c75fe2422c108d7f567cfd",
37
+ "size": 53446704
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "0d755b201aec6523f32964b8411b5f8efe25f36050b190985633ab41bd4cb790",
42
- "size": 54619464
41
+ "checksum": "3ad75f2b78602007b48e78b8e44fbd93cc3a08f7426874f4848a93d03f117f6d",
42
+ "size": 54812412
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "4c69daacf0d7f35b6649eac7578a4100e7179653636744293c2d59c3b913a60e",
47
- "size": 55953341
46
+ "checksum": "cd30d76348ef9d0af52d4b15bc72abc9d73e31ca8da5d3650cbb18cfdd767cd2",
47
+ "size": 56154427
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "308f78035eb81be6c7948858e61bc1f89869b84cc65ec877c36b0301e30a253f",
52
- "size": 53992570
51
+ "checksum": "3ab354ba3f088c1629fcb34beb2c71b99a27ea951a471d22567213136b8ae541",
52
+ "size": 54174949
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.191",
3
+ "version": "0.3.193",
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.191",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.191",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.191",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.191",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.191",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.191",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.191",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.191"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.193",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.193",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.193",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.193",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.193",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.193",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.193",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.193"
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.191"
83
+ "claudeCodeVersion": "2.1.193"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -2520,7 +2520,7 @@ export interface ArtifactInput {
2520
2520
  */
2521
2521
  favicon: string;
2522
2522
  /**
2523
- * Short human-readable name for this version (e.g. "fixed-background"). Shown in the version picker instead of the raw version id.
2523
+ * 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.
2524
2524
  */
2525
2525
  label?: string;
2526
2526
  /**
package/sdk.d.ts CHANGED
@@ -366,6 +366,7 @@ declare namespace coreTypes {
366
366
  SDKMessage,
367
367
  SDKMirrorErrorMessage,
368
368
  SDKModelRefusalFallbackMessage,
369
+ SDKModelRefusalNoFallbackMessage,
369
370
  SDKNotificationMessage,
370
371
  SDKPartialAssistantMessage,
371
372
  SDKPermissionDenial,
@@ -3696,7 +3697,7 @@ export declare type SDKMemoryRecallMessage = {
3696
3697
  session_id: string;
3697
3698
  };
3698
3699
 
3699
- export declare type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage | SDKPartialAssistantMessage | SDKCompactBoundaryMessage | SDKStatusMessage | SDKAPIRetryMessage | SDKModelRefusalFallbackMessage | SDKLocalCommandOutputMessage | SDKHookStartedMessage | SDKHookProgressMessage | SDKHookResponseMessage | SDKPluginInstallMessage | SDKToolProgressMessage | SDKAuthStatusMessage | SDKTaskNotificationMessage | SDKTaskStartedMessage | SDKTaskUpdatedMessage | SDKTaskProgressMessage | SDKThinkingTokensMessage | SDKSessionStateChangedMessage | SDKWorkerShuttingDownMessage | SDKCommandsChangedMessage | SDKNotificationMessage | SDKFilesPersistedEvent | SDKToolUseSummaryMessage | SDKMemoryRecallMessage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPermissionDeniedMessage | SDKPromptSuggestionMessage | SDKMirrorErrorMessage | SDKInformationalMessage;
3700
+ export declare type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage | SDKPartialAssistantMessage | SDKCompactBoundaryMessage | SDKStatusMessage | SDKAPIRetryMessage | SDKModelRefusalFallbackMessage | SDKModelRefusalNoFallbackMessage | SDKLocalCommandOutputMessage | SDKHookStartedMessage | SDKHookProgressMessage | SDKHookResponseMessage | SDKPluginInstallMessage | SDKToolProgressMessage | SDKAuthStatusMessage | SDKTaskNotificationMessage | SDKTaskStartedMessage | SDKTaskUpdatedMessage | SDKTaskProgressMessage | SDKThinkingTokensMessage | SDKSessionStateChangedMessage | SDKWorkerShuttingDownMessage | SDKCommandsChangedMessage | SDKNotificationMessage | SDKFilesPersistedEvent | SDKToolUseSummaryMessage | SDKMemoryRecallMessage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPermissionDeniedMessage | SDKPromptSuggestionMessage | SDKMirrorErrorMessage | SDKInformationalMessage;
3700
3701
 
3701
3702
  /**
3702
3703
  * Provenance of a user-role message (peer session, team lead, channel). Absent or `human` means keyboard input from the user.
@@ -3762,6 +3763,26 @@ export declare type SDKModelRefusalFallbackMessage = {
3762
3763
  * Wire uuids of the messages this fallback retracted — the refused partial as the consumer received it (one uuid per normalized SDK message; multi-block messages carry per-block derived uuids) plus any tombstoned tool_results. Emitted AFTER the retraction, so this is a resolution-time eviction signal: remove these messages from transcript state on receipt. Eviction is idempotent — unknown or already-removed uuids are a no-op. Absent when emitted by an older CLI.
3763
3764
  */
3764
3765
  retracted_message_uuids?: string[];
3766
+ /**
3767
+ * UUID of the user message the refused request was for — the rewind target and composer prefill for edit-and-retry. This is the message's own uuid as delivered on the replay ack (not a per-block normalized uuid). null when the refused turn was not human-authored (e.g. a background task notification or auto-continuation — nothing to edit-and-retry) or otherwise cannot be identified; absent from older CLIs.
3768
+ */
3769
+ refused_user_message_uuid?: string | null;
3770
+ content: string;
3771
+ uuid: UUID;
3772
+ session_id: string;
3773
+ };
3774
+
3775
+ /**
3776
+ * Emitted when the model ends the stream with stop_reason "refusal" and no fallback model is configured, so the turn ends as an error. The structured counterpart to detecting stop_reason "refusal" on the assistant error frame. Not emitted when a fallback existed but was declined or gate-failed (model_refusal_fallback covers the retry case). Absent from older CLIs.
3777
+ */
3778
+ export declare type SDKModelRefusalNoFallbackMessage = {
3779
+ type: 'system';
3780
+ subtype: 'model_refusal_no_fallback';
3781
+ original_model: string;
3782
+ request_id: string | null;
3783
+ api_refusal_category?: string | null;
3784
+ api_refusal_explanation?: string | null;
3785
+ refused_user_message_uuid?: string | null;
3765
3786
  content: string;
3766
3787
  uuid: UUID;
3767
3788
  session_id: string;
@@ -5172,7 +5193,7 @@ export declare interface Settings {
5172
5193
  } | {
5173
5194
  source: 'hostPattern';
5174
5195
  /**
5175
- * Regex pattern to match the host/domain extracted from any marketplace source type. For github sources, matches against "github.com". For git sources (SSH or HTTPS), extracts the hostname from the URL. Use in strictKnownMarketplaces to allow all marketplaces from a specific host (e.g., "^github\.mycompany\.com$").
5196
+ * Regex pattern to match the host/domain extracted from any marketplace source type. For github sources, matches against github.com. For git sources (SSH or HTTPS), extracts the hostname from the URL. Use in strictKnownMarketplaces to allow all marketplaces from a specific host (e.g., "^github\.mycompany\.com$").
5176
5197
  */
5177
5198
  hostPattern: string;
5178
5199
  } | {
@@ -5372,7 +5393,7 @@ export declare interface Settings {
5372
5393
  } | {
5373
5394
  source: 'hostPattern';
5374
5395
  /**
5375
- * Regex pattern to match the host/domain extracted from any marketplace source type. For github sources, matches against "github.com". For git sources (SSH or HTTPS), extracts the hostname from the URL. Use in strictKnownMarketplaces to allow all marketplaces from a specific host (e.g., "^github\.mycompany\.com$").
5396
+ * Regex pattern to match the host/domain extracted from any marketplace source type. For github sources, matches against github.com. For git sources (SSH or HTTPS), extracts the hostname from the URL. Use in strictKnownMarketplaces to allow all marketplaces from a specific host (e.g., "^github\.mycompany\.com$").
5376
5397
  */
5377
5398
  hostPattern: string;
5378
5399
  } | {
@@ -5562,7 +5583,7 @@ export declare interface Settings {
5562
5583
  } | {
5563
5584
  source: 'hostPattern';
5564
5585
  /**
5565
- * Regex pattern to match the host/domain extracted from any marketplace source type. For github sources, matches against "github.com". For git sources (SSH or HTTPS), extracts the hostname from the URL. Use in strictKnownMarketplaces to allow all marketplaces from a specific host (e.g., "^github\.mycompany\.com$").
5586
+ * Regex pattern to match the host/domain extracted from any marketplace source type. For github sources, matches against github.com. For git sources (SSH or HTTPS), extracts the hostname from the URL. Use in strictKnownMarketplaces to allow all marketplaces from a specific host (e.g., "^github\.mycompany\.com$").
5566
5587
  */
5567
5588
  hostPattern: string;
5568
5589
  } | {
@@ -5670,6 +5691,10 @@ export declare interface Settings {
5670
5691
  url?: string;
5671
5692
  };
5672
5693
  })[];
5694
+ /**
5695
+ * When true (and set in managed settings), rejects the --plugin-dir, --plugin-url, --agents, and non-sdk --mcp-config CLI flags at startup. Closes the CLI-flag bypass of strictKnownMarketplaces. Pair with allowedMcpServers for per-server MCP control; this setting does not gate other MCP entry points (SDK setMcpServers, claude mcp add, .mcp.json). Also blocks surfaces that spawn the CLI with these flags internally (see settings documentation). Only honored from managed settings; ignored in user/project/local settings.
5696
+ */
5697
+ disableSideloadFlags?: boolean;
5673
5698
  /**
5674
5699
  * Marketplace names whose plugins may surface as contextual install suggestions (relevance-based tips). No marketplace-declared suggestions surface without this allowlist; the built-in first-party frontend-design tip is unaffected. Only honored when set in managed settings (policy scope); the key is ignored in user, project, and local settings. A name only takes effect when the marketplace is registered on the machine AND its registered source is also declared in managed settings, either as the extraKnownMarketplaces entry for that name or as an entry of strictKnownMarketplaces. A marketplace registered from a different source under an allowlisted name is ignored. The official marketplace is exempt from the source requirement: allowlisting its name alone suffices, since that name can only register from the official Anthropic source.
5675
5700
  */
@@ -5929,6 +5954,8 @@ export declare interface Settings {
5929
5954
  options?: {
5930
5955
  [k: string]: string | number | boolean | string[];
5931
5956
  };
5957
+ } | {
5958
+ [k: string]: unknown;
5932
5959
  };
5933
5960
  };
5934
5961
  /**