@anthropic-ai/claude-agent-sdk 0.2.89 → 0.2.90
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/bridge.mjs +43 -38
- package/browser-sdk.js +3 -3
- package/cli.js +2102 -2015
- package/manifest.json +18 -18
- package/manifest.zst.json +22 -22
- package/package.json +2 -2
- package/sdk.d.ts +2 -2
- package/sdk.mjs +6 -5
- package/vendor/ripgrep/arm64-darwin/rg +0 -0
- package/vendor/ripgrep/arm64-linux/rg +0 -0
- package/vendor/ripgrep/x64-darwin/rg +0 -0
- package/vendor/ripgrep/x64-linux/rg +0 -0
package/manifest.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"buildDate": "2026-
|
|
2
|
+
"version": "2.1.90",
|
|
3
|
+
"buildDate": "2026-04-01T22:59:02Z",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"binary": "claude",
|
|
7
|
-
"checksum": "
|
|
8
|
-
"size":
|
|
7
|
+
"checksum": "73c1a7570501ca743cd2d7467cb4699103534a2138052a4e6cab53c0e09d79c8",
|
|
8
|
+
"size": 197828752
|
|
9
9
|
},
|
|
10
10
|
"darwin-x64": {
|
|
11
11
|
"binary": "claude",
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "9934675063ea4360665b7a43f649c92e6ba5cf93257324af7af1a6b490746395",
|
|
13
|
+
"size": 199326928
|
|
14
14
|
},
|
|
15
15
|
"linux-arm64": {
|
|
16
16
|
"binary": "claude",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "15d5089ee7d9981faacf5463eabd427a012814d9fc02113883bb23a4f387ad4a",
|
|
18
|
+
"size": 230165056
|
|
19
19
|
},
|
|
20
20
|
"linux-x64": {
|
|
21
21
|
"binary": "claude",
|
|
22
|
-
"checksum": "
|
|
23
|
-
"size":
|
|
22
|
+
"checksum": "6074e3959989b2958a9abec60adf7b441a0f6f1c7e66401abff0fe54dad04fd6",
|
|
23
|
+
"size": 229902976
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64-musl": {
|
|
26
26
|
"binary": "claude",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "2508fa1c9c0575cf6fa26f2561ff7f0fd83be5fb4c6f9ec8281dfd5911d44371",
|
|
28
|
+
"size": 223218112
|
|
29
29
|
},
|
|
30
30
|
"linux-x64-musl": {
|
|
31
31
|
"binary": "claude",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "854746d04db11f543ed8d3836b5316366d965e6b6cfa2ac6312e6f7a5c4b5cb1",
|
|
33
|
+
"size": 224201152
|
|
34
34
|
},
|
|
35
35
|
"win32-x64": {
|
|
36
36
|
"binary": "claude.exe",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "f6be38fbdcadc373e93f751d1286845f58b032690e32be8f64799380a295a79f",
|
|
38
|
+
"size": 239622816
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"binary": "claude.exe",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "019f7210055cd7a884d13c4e6a0b6caf1a82348ee42950b7b5247a4b0484709c",
|
|
43
|
+
"size": 236335776
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"buildDate": "2026-
|
|
2
|
+
"version": "2.1.90",
|
|
3
|
+
"buildDate": "2026-04-01T22:59:03Z",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"binary": "claude.zst",
|
|
7
|
-
"checksum": "
|
|
8
|
-
"size":
|
|
7
|
+
"checksum": "f9e5837c6b1443c8195273693ddcd0e0d36bb1df8869b4a243476fec1cd99353",
|
|
8
|
+
"size": 40930381,
|
|
9
9
|
"bundle": {
|
|
10
|
-
"checksum": "
|
|
11
|
-
"size":
|
|
10
|
+
"checksum": "af98cac55f19dd7db4c291f42e8c75d34fa7320c00834f3036d2f34133080edd",
|
|
11
|
+
"size": 40943366
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"darwin-x64": {
|
|
15
15
|
"binary": "claude.zst",
|
|
16
|
-
"checksum": "
|
|
17
|
-
"size":
|
|
16
|
+
"checksum": "feba4e7545b1fcf2f5654d7f5e93d513b6866748a5661c723209c3b6e080e999",
|
|
17
|
+
"size": 42570760,
|
|
18
18
|
"bundle": {
|
|
19
|
-
"checksum": "
|
|
20
|
-
"size":
|
|
19
|
+
"checksum": "f6c5188a6eed2b57e21062e10f02afc4c1f577579c1caf61f16b54c10e34e050",
|
|
20
|
+
"size": 42576243
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"linux-arm64": {
|
|
24
24
|
"binary": "claude.zst",
|
|
25
|
-
"checksum": "
|
|
26
|
-
"size":
|
|
25
|
+
"checksum": "cfaa2f7c288ce59b5b89efa83f1bc20444d019c96317cf97a8fd82d9e484b12c",
|
|
26
|
+
"size": 50613437
|
|
27
27
|
},
|
|
28
28
|
"linux-x64": {
|
|
29
29
|
"binary": "claude.zst",
|
|
30
|
-
"checksum": "
|
|
31
|
-
"size":
|
|
30
|
+
"checksum": "1d68e9bf6f8d2068c5d846fbedff9c48a71e19e6b28f826ea22a9faf854bdbe7",
|
|
31
|
+
"size": 51155944
|
|
32
32
|
},
|
|
33
33
|
"linux-arm64-musl": {
|
|
34
34
|
"binary": "claude.zst",
|
|
35
|
-
"checksum": "
|
|
36
|
-
"size":
|
|
35
|
+
"checksum": "3d5be51b80e0f9296b17c8cde5f1f48691213f628c3dfd95282416d1bbe0e403",
|
|
36
|
+
"size": 49270739
|
|
37
37
|
},
|
|
38
38
|
"linux-x64-musl": {
|
|
39
39
|
"binary": "claude.zst",
|
|
40
|
-
"checksum": "
|
|
41
|
-
"size":
|
|
40
|
+
"checksum": "8821108c6d63c6994ff2118bddc95ce682dc94cce39c71548719aef020042278",
|
|
41
|
+
"size": 49863571
|
|
42
42
|
},
|
|
43
43
|
"win32-x64": {
|
|
44
44
|
"binary": "claude.exe.zst",
|
|
45
|
-
"checksum": "
|
|
46
|
-
"size":
|
|
45
|
+
"checksum": "8297f87c0f5b049c2eab6074ad7cd862c363fb5006ae081d9a60b49736827ab0",
|
|
46
|
+
"size": 52814347
|
|
47
47
|
},
|
|
48
48
|
"win32-arm64": {
|
|
49
49
|
"binary": "claude.exe.zst",
|
|
50
|
-
"checksum": "
|
|
51
|
-
"size":
|
|
50
|
+
"checksum": "b22b93b33b44db2d07a8902a46a1c91386a04771e85e8c4b6b2fc18c10a10f7a",
|
|
51
|
+
"size": 50979842
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-agent-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.90",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"@img/sharp-win32-arm64": "^0.34.2",
|
|
66
66
|
"@img/sharp-win32-x64": "^0.34.2"
|
|
67
67
|
},
|
|
68
|
-
"claudeCodeVersion": "2.1.
|
|
68
|
+
"claudeCodeVersion": "2.1.90"
|
|
69
69
|
}
|
package/sdk.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare type AccountInfo = {
|
|
|
29
29
|
/**
|
|
30
30
|
* Active API backend. Anthropic OAuth login only applies when "firstParty"; for 3P providers the other fields are absent and auth is external (AWS creds, gcloud ADC, etc.).
|
|
31
31
|
*/
|
|
32
|
-
apiProvider?: 'firstParty' | 'bedrock' | 'vertex' | 'foundry';
|
|
32
|
+
apiProvider?: 'firstParty' | 'bedrock' | 'vertex' | 'foundry' | 'anthropicAws';
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -4147,7 +4147,7 @@ export declare interface SpawnOptions {
|
|
|
4147
4147
|
signal: AbortSignal;
|
|
4148
4148
|
}
|
|
4149
4149
|
|
|
4150
|
-
declare type StdoutMessage = coreTypes.SDKMessage | coreTypes.
|
|
4150
|
+
declare type StdoutMessage = coreTypes.SDKMessage | coreTypes.SDKPostTurnSummaryMessage | SDKControlResponse | SDKControlRequest | SDKControlCancelRequest | SDKKeepAliveMessage;
|
|
4151
4151
|
|
|
4152
4152
|
export declare type StopFailureHookInput = BaseHookInput & {
|
|
4153
4153
|
hook_event_name: 'StopFailure';
|