@anthropic-ai/claude-agent-sdk 0.3.146 → 0.3.148

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.146",
3
- "commit": "c900a8c71aa966a1a8bf14c49139d87fac9ae881",
4
- "buildDate": "2026-05-20T01:57:57Z",
2
+ "version": "2.1.148",
3
+ "commit": "650a3d6e4b17f2fd01a8432a7691d9fb147adf8d",
4
+ "buildDate": "2026-05-21T23:11:38Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "b16f466a2213a04cecf1ad958201655148a49f42952134e6ae182257ccfc08f3",
9
- "size": 211056288
8
+ "checksum": "f4a1860d3d9b01653dde4183e2f1216ca9e0c1a404dd63caa4edf07c904102aa",
9
+ "size": 211584672
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "6bc14f45e28ea6c8c34220c88327bb72a38c5f978b9aa44d0cb34375cbf78837",
14
- "size": 213570448
13
+ "checksum": "7c52d8419cc22b8355c6309d4542df32b3f245d1a7c3329a30797244ef3c4629",
14
+ "size": 214082320
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "af25334c7a2632a531b34e3f4c0d69763b997149d31d5f0d748e44813758806f",
19
- "size": 236435080
18
+ "checksum": "b53c29b1fe003372636048c16d57a74f1ca2c57d8413dd5b14e2ca77710823ed",
19
+ "size": 236959368
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "825d5301380f1f5f466c5268de25a062927be658938fc1d630cfa02c521b8185",
24
- "size": 236512976
23
+ "checksum": "3b38836a1801a6397f8431c6a62b127ce47e3e9d103c1a700fca7f9c8ab5f8ac",
24
+ "size": 237037264
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "256703637576ef323b8f87695b81e65a7bdc66327f1512dacc9257b7896e7a0f",
29
- "size": 229289816
28
+ "checksum": "06b54aef9989ea379933239c3f2dbee254034523ff67f9a0c8ed31ac6982c077",
29
+ "size": 229814104
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "e8ab94b1ffb9d9213134d4addfe5d3fe6fd10c524aa2927667e543ac165a7242",
34
- "size": 230906928
33
+ "checksum": "ad0077c9ec67ec2eaeee8be7624cc2e55b9e012e1c19154e5b80ef0a47d0e360",
34
+ "size": 231431216
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "b585bbaf085554757b627e5ed87aa5c153abb90ef408fb43b0311453b72e8bc2",
39
- "size": 232326816
38
+ "checksum": "1bb46bdb06ef092b0af29cafbfec6ab73251ea34562cfe1d3a5bdf67fe3a5f93",
39
+ "size": 232827552
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "159488363d937bbac11c55364246513f677e94e681d7431e1622336250091c00",
44
- "size": 228292256
43
+ "checksum": "d86eeb4d84a2bbee253913843a4a507192a37512a2d918a4c91e3f583cb310a5",
44
+ "size": 228792992
45
45
  }
46
46
  }
47
47
  }
package/manifest.zst.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "2.1.146",
3
- "commit": "c900a8c71aa966a1a8bf14c49139d87fac9ae881",
4
- "buildDate": "2026-05-20T02:05:27Z",
2
+ "version": "2.1.148",
3
+ "commit": "650a3d6e4b17f2fd01a8432a7691d9fb147adf8d",
4
+ "buildDate": "2026-05-21T23:19:25Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "36a21463866a850a146ea03a506123424d9ea6a5b8f105b83993466e6c626d98",
9
- "size": 43693790,
8
+ "checksum": "cbb332101752042b48f8afff379ca5ba2f2c88cd28cb9b551fadccd7249af847",
9
+ "size": 43811713,
10
10
  "bundle": {
11
- "checksum": "d388a11849a8f2576733c572ce55bd4fea25d465b36af4efd85f3e510121d87c",
12
- "size": 43694485
11
+ "checksum": "e1cddbe12614814a7eea85c3da3bd5eb9e8c929a5627efd6c289922b406e38ec",
12
+ "size": 43807431
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "d50073947f829a3d1cb7a21efff4f035bd6938852ac7b8c30c4aeacac8830329",
18
- "size": 45615774,
17
+ "checksum": "4799a5c7a0cae82c27b231f596d3f958155ecd095ebd2439e39adae63c6c46ba",
18
+ "size": 45712684,
19
19
  "bundle": {
20
- "checksum": "29c340be5c3255da0cf0f1af126c461a51251d0d6defce7e764ecc5fdb0d884d",
21
- "size": 45619469
20
+ "checksum": "af5335b1be1d801e178cfe409a42f6660c2a64b3d54fa35c3d1d8877c3005922",
21
+ "size": 45722868
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "84bd9dd9e85cacaec55dcfd28ec49e05131c3cc0244d906804559cb73cb731e6",
27
- "size": 51446658
26
+ "checksum": "514f371de6bbd24c0ae3b7cc76e5a9149ac2fc7a34ad90571cf403e305b92629",
27
+ "size": 51535302
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "8c6c61ca6fc7fafb4936de6a40815bf5d440ddedb477800510f2a2cf7a1595dc",
32
- "size": 52071854
31
+ "checksum": "cc25e702c43cbb618578402ca7ecc516aad3629f4962542bd5b4a36e42c525c6",
32
+ "size": 52151886
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "ecd65f1abe5a6b889f81f9e28a572d3e7186dac90ce9fb1deaf8cc97bb33e5a4",
37
- "size": 50095507
36
+ "checksum": "3f043d6a1599fc07e2b671e9c4141c0b7fed79bedf1de461088cc8f87cadf862",
37
+ "size": 50165954
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "23a02176f38c45ce93440ee4aea6009d614fb7020ce98bb95fe034c1c0d27701",
42
- "size": 50779496
41
+ "checksum": "5c996f1a8b26f25eb5eafa29ed6be41c103cc08e3812bbe075cd5ed551db3acc",
42
+ "size": 50891425
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "5d0cf87f8a331f98397f8a5608e77d5e453ae02c8ee4f6774d91a0755f9e7570",
47
- "size": 52800733
46
+ "checksum": "916a7e2283a2dd4667698e61750aab338b896e15b6e9dbb8e2bd02185516618e",
47
+ "size": 52891824
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "efebea1875409013c62dfe783d6c24590ca7944e69ff33f08ad9a3e169bdddcd",
52
- "size": 51081079
51
+ "checksum": "425d2e50e3908ba85592b359783d463a31cbd7254ff01f86f006fc29360ad797",
52
+ "size": 51187630
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.146",
3
+ "version": "0.3.148",
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.146",
65
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.146",
66
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.146",
67
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.146",
68
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.146",
69
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.146",
70
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.146",
71
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.146"
64
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.148",
65
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.148",
66
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.148",
67
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.148",
68
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.148",
69
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.148",
70
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.148",
71
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.148"
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.146"
89
+ "claudeCodeVersion": "2.1.148"
90
90
  }
package/sdk.d.ts CHANGED
@@ -988,6 +988,10 @@ export declare type McpClaudeAIProxyServerConfig = {
988
988
  type: 'claudeai-proxy';
989
989
  url: string;
990
990
  id: string;
991
+ /**
992
+ * Per-server tool-call timeout in milliseconds. Overrides the MCP_TOOL_TIMEOUT environment variable for this server. Hard wall-clock limit per call; progress notifications do not extend it. Floored at 1000ms.
993
+ */
994
+ timeout?: number;
991
995
  };
992
996
 
993
997
  export declare type McpHttpServerConfig = {
@@ -995,6 +999,10 @@ export declare type McpHttpServerConfig = {
995
999
  url: string;
996
1000
  headers?: Record<string, string>;
997
1001
  tools?: McpServerToolPolicy[];
1002
+ /**
1003
+ * Per-server tool-call timeout in milliseconds. Overrides the MCP_TOOL_TIMEOUT environment variable for this server. Hard wall-clock limit per call; progress notifications do not extend it. Floored at 1000ms.
1004
+ */
1005
+ timeout?: number;
998
1006
  /**
999
1007
  * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled. As a side effect this also blocks startup until the server is connected (capped at the standard 5s connect timeout) even though MCP startup is otherwise non-blocking by default, since the tools must be present when the turn-1 prompt is built.
1000
1008
  */
@@ -1101,6 +1109,10 @@ export declare type McpSSEServerConfig = {
1101
1109
  url: string;
1102
1110
  headers?: Record<string, string>;
1103
1111
  tools?: McpServerToolPolicy[];
1112
+ /**
1113
+ * Per-server tool-call timeout in milliseconds. Overrides the MCP_TOOL_TIMEOUT environment variable for this server. Hard wall-clock limit per call; progress notifications do not extend it. Floored at 1000ms.
1114
+ */
1115
+ timeout?: number;
1104
1116
  /**
1105
1117
  * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled. As a side effect this also blocks startup until the server is connected (capped at the standard 5s connect timeout) even though MCP startup is otherwise non-blocking by default, since the tools must be present when the turn-1 prompt is built.
1106
1118
  */
@@ -1113,6 +1125,10 @@ export declare type McpStdioServerConfig = {
1113
1125
  command: string;
1114
1126
  args?: string[];
1115
1127
  env?: Record<string, string>;
1128
+ /**
1129
+ * Per-server tool-call timeout in milliseconds. Overrides the MCP_TOOL_TIMEOUT environment variable for this server. Hard wall-clock limit per call; progress notifications do not extend it. Floored at 1000ms.
1130
+ */
1131
+ timeout?: number;
1116
1132
  /**
1117
1133
  * When true, all tools from this server are always included in the prompt and never deferred behind tool search. Equivalent to setting defer_loading: false on the API. Default: tools are deferred when tool search is enabled. As a side effect this also blocks startup until the server is connected (capped at the standard 5s connect timeout) even though MCP startup is otherwise non-blocking by default, since the tools must be present when the turn-1 prompt is built.
1118
1134
  */
@@ -3205,12 +3221,12 @@ export declare type SDKMemoryRecallMessage = {
3205
3221
  mode: 'select' | 'synthesize';
3206
3222
  memories: {
3207
3223
  /**
3208
- * Absolute path to the memory file, or a synthesis sentinel of the form `<synthesis:DIR>` when mode is 'synthesize'.
3224
+ * Absolute path to the memory file, a synthesis sentinel of the form `<synthesis:DIR>` when mode is 'synthesize', or an https URL when scope is 'organization'.
3209
3225
  */
3210
3226
  path: string;
3211
- scope: 'personal' | 'team';
3227
+ scope: 'personal' | 'team' | 'organization';
3212
3228
  /**
3213
- * Synthesis paragraph. Only present when mode is 'synthesize'; always absent for 'select' (renderers lazy-load from path).
3229
+ * The surfaced memory body. Always present for 'synthesize' mode and 'organization' scope (neither has an on-disk path to lazy-load from); absent for file-backed 'select' entries (renderers lazy-load from path).
3214
3230
  */
3215
3231
  content?: string;
3216
3232
  }[];