@anthropic-ai/claude-agent-sdk 0.3.233 → 0.3.234

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,52 +1,51 @@
1
1
  {
2
- "version": "2.1.233",
3
- "commit": "f8d57569aaf350fe25dc4dfa10cad59db8ea4d45",
4
- "buildDate": "2026-08-14T17:37:41Z",
2
+ "version": "2.1.234",
3
+ "commit": "7215ba60b06dff03b3e75825084c7038a013d0b0",
4
+ "buildDate": "2026-08-17T01:50:17Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "bc466b6cde63edafc773f471a1fb98787fabb31f52240c8616ce7e1f587b212d",
9
- "size": 306981408
8
+ "checksum": "08d8700313697cbe730a25420c908a299ce52d56f0eb2cf4fac94cab5109bc57",
9
+ "size": 310740672
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "8b3ae18df411098ce55705c4bb151e9c97e34df55fe379c7b6b3122a69f0ea74",
14
- "size": 315654448
13
+ "checksum": "1a7b2e8948609f1f732a6498cd17b805b5c5187d74a99adc61ebaa5a29efc34c",
14
+ "size": 319452208
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "42df1841f74e9b2ac13f2c1a2a820ef6b9ac5b2efb8646bb25c9a92b8bd69194",
19
- "size": 321771752
18
+ "checksum": "24adda673591cd8345b03ec8245915bb151a259a1ebc3ef23649b57ba944aaa2",
19
+ "size": 325507304
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "55d281096f57d411ebbdd94dbf5e9ff3accb7c05713e37348c2c11d4b83bf9d9",
24
- "size": 324598064
23
+ "checksum": "3473601ea695d5bf769c5b202844d4cb4fbf723ae995450fcb6973204775c84a",
24
+ "size": 328358192
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "1669931403b9fea920aea1c2db398f70eae08836ca78896f3e5e85b04e9a2d97",
29
- "size": 314916456
28
+ "checksum": "3d458e3709a4373fb62f799c1d421e8fd2dd1cfcbf3d608157c15cddd11715fb",
29
+ "size": 318652008
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "55f95b1ed2f8c52b429a5334c7101dd6171a78368677e0f5b89905c570dc56de",
34
- "size": 318721832
33
+ "checksum": "408a059131b70cf51e01e2d19fbc340eafcbcfe1c99b49a08e6f8bd375326e71",
34
+ "size": 322486056
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "8ae35d41252b02a7b747097ececf368b6872fab93ca104832b99a8ec5942fabd",
39
- "size": 320400544
38
+ "checksum": "3f877e78543e2cb4daad61d18f06cc11028f9dffc1afd41ccf1f8f84cf02eb1b",
39
+ "size": 324028576
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "c3852bb4a2d8418493ba75531913b03d00373974753c6d4a018ae419a0a106a1",
44
- "size": 308298912
43
+ "checksum": "ed6cc3d0218e4b27f3691e3832837d814a5274b02755c34aedeb74e3db65e8d4",
44
+ "size": 311927456
45
45
  }
46
46
  },
47
47
  "sdkCompat": {
48
48
  "testedWrapperVersions": [
49
- "0.3.195",
50
49
  "0.3.196",
51
50
  "0.3.197",
52
51
  "0.3.198",
package/manifest.zst.json CHANGED
@@ -1,60 +1,59 @@
1
1
  {
2
- "version": "2.1.233",
3
- "commit": "f8d57569aaf350fe25dc4dfa10cad59db8ea4d45",
4
- "buildDate": "2026-08-14T17:40:05Z",
2
+ "version": "2.1.234",
3
+ "commit": "7215ba60b06dff03b3e75825084c7038a013d0b0",
4
+ "buildDate": "2026-08-17T01:52:35Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "1b7685b253a42738a7688ac823a9009289562101e42fd09a7ff9c7e5b0db8391",
9
- "size": 61430605,
8
+ "checksum": "0933d338da8100c8473a855109c2489d763d1a2e4cfa7e62ec856b20f1f8fbb8",
9
+ "size": 62195598,
10
10
  "bundle": {
11
- "checksum": "6870525f0a3a820964232e6662fc64ee045504212e83219ed2b640acb1b3843a",
12
- "size": 61439685
11
+ "checksum": "600ba8dc595379e285ce410f371c0f3502a48b6a1329e94560b21bf819b51c22",
12
+ "size": 62204737
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "3f40be805f152658d6624ea9871ee6c0c3be827124d52b6f6fc7237d829660f1",
18
- "size": 66079924,
17
+ "checksum": "3486479d280814e2a7389f9e6223a837d0bf6862ea84ed49d69ef729328d7c41",
18
+ "size": 66722541,
19
19
  "bundle": {
20
- "checksum": "75bbd13767a6da2611ff2a076bb1a81ed742a8bb0cbc39b4cfeb230b279fb7b6",
21
- "size": 66082098
20
+ "checksum": "823c1b54b5e9aa658bc594b51ab07f241e56a061b618d1792dfbb3e7027716bb",
21
+ "size": 66724705
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "2c17a95a120bda5ae4367282e393c71d28a3fd07f02fd090bc99616423579dc0",
27
- "size": 70277092
26
+ "checksum": "9e5c848be25fa07ea5ccc6bbd7f3427bd2c9df5c6f2d8a7057594958d938f7b7",
27
+ "size": 70973763
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "dd6fdb94e463f699e1fb6a4a94dd1f3691893356763523a1aac1129dc96be205",
32
- "size": 71473495
31
+ "checksum": "4bc7b43e5763fb358a8dff07465e5ce861c509189ebe470b85ac391343282c45",
32
+ "size": 72230260
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "69e08423b9364b6a1a2a0219bb170b15e35c76e1562df46851b4c700b371d561",
37
- "size": 68897236
36
+ "checksum": "bb9caeac5de39265e2f0eb64379d9e01e231456d917e122178ff998b99a585d9",
37
+ "size": 69614037
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "e342eea259332f55f783adbf164a33629e33311cc1d7bdf2179f59d499003e0f",
42
- "size": 70063739
41
+ "checksum": "0182672d1eb8671d06563837df57ef20b474f8e9f6b589ada8f253127cf061eb",
42
+ "size": 70768269
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "8d40160b128ca11e3656939b9d27e8c7d58287481c3844624a72797516e37a0c",
47
- "size": 73928967
46
+ "checksum": "0607364c42ef63631cf7417c4649a89dbeaff195fb9d19803d61d2c0cb2c86ef",
47
+ "size": 74584422
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "74e061a1a88622ae29985034a87450f5d69ffbad71559dc26c3e2aef4bc4a41c",
52
- "size": 70258680
51
+ "checksum": "3d5fccf124575f0aba1400aa7e49dd68504fc6226975d5404e0b4ffaa3a0df93",
52
+ "size": 70866632
53
53
  }
54
54
  },
55
55
  "sdkCompat": {
56
56
  "testedWrapperVersions": [
57
- "0.3.195",
58
57
  "0.3.196",
59
58
  "0.3.197",
60
59
  "0.3.198",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.233",
3
+ "version": "0.3.234",
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.233",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.233",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.233",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.233",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.233",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.233",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.233",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.233"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.234",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.234",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.234",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.234",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.234",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.234",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.234",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.234"
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.233"
83
+ "claudeCodeVersion": "2.1.234"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -424,6 +424,54 @@ export type ArtifactOutput =
424
424
  }[];
425
425
  truncated?: boolean;
426
426
  scope?: "shared" | "all";
427
+ }
428
+ | {
429
+ asset_upload: {
430
+ id: string;
431
+ url: string;
432
+ size_bytes: number;
433
+ content_type: string;
434
+ sha256?: string;
435
+ file_name: string;
436
+ };
437
+ }
438
+ | {
439
+ asset_list: {
440
+ url: string;
441
+ /**
442
+ * @maxItems 1000
443
+ */
444
+ assets: {
445
+ id: string;
446
+ url: string;
447
+ content_type: string;
448
+ size_bytes: number;
449
+ sha256?: string;
450
+ created_at: string;
451
+ }[];
452
+ usage: {
453
+ files: number;
454
+ bytes: number;
455
+ max_files: number;
456
+ max_bytes: number;
457
+ };
458
+ next?: string;
459
+ };
460
+ }
461
+ | {
462
+ asset_read: {
463
+ id: string;
464
+ path: string;
465
+ size_bytes: number;
466
+ content_type: string;
467
+ sha256: string;
468
+ };
469
+ }
470
+ | {
471
+ asset_delete: {
472
+ id: string;
473
+ deleted: boolean;
474
+ };
427
475
  };
428
476
  export type ProjectsOutput =
429
477
  | {
@@ -2878,11 +2926,11 @@ export interface ProposeGoalInput {
2878
2926
  }
2879
2927
  export interface ArtifactInput {
2880
2928
  /**
2881
- * Omit (or 'publish') to publish file_path. 'list' enumerates artifacts — the user's own by default, see `scope`; only `limit` and `scope` may accompany it.
2929
+ * Omit (or 'publish') to publish file_path. 'list' enumerates artifacts — the user's own by default, see `scope`; only `limit` and `scope` may accompany it. 'upload_asset' adds one local media, PDF, or font file to an existing artifact — pass `url` and `file_path`. 'list_assets' lists the files in an artifact's asset store (pass `url`; `after` continues a listing), 'read_asset' saves one of them to a local file named by its id (pass `url` and `asset_id`, optionally `out_dir`), and 'delete_asset' permanently removes one (pass `url` and `asset_id`). See **Artifact assets** above.
2882
2930
  */
2883
- action?: "publish" | "list";
2931
+ action?: "publish" | "list" | "upload_asset" | "list_assets" | "read_asset" | "delete_asset";
2884
2932
  /**
2885
- * Path to an .html or .md file to render. Required to publish (the default action). Use a short, distinctive basename — it is the last-resort title when the HTML has no <title> and no `title` parameter is given.
2933
+ * Path to an .html or .md file to render. Required to publish (the default action). Use a short, distinctive basename — it is the last-resort title when the HTML has no <title> and no `title` parameter is given. For 'upload_asset', the local image, video, PDF, or font file to upload.
2886
2934
  */
2887
2935
  file_path?: string;
2888
2936
  /**
@@ -2917,6 +2965,18 @@ export interface ArtifactInput {
2917
2965
  * Last-resort overwrite that DISCARDS another session's published version. On a 409 conflict the normal fix is to re-read the artifact, merge your edits on top of the newer content, and publish again — not force. Pass force:true only when the user explicitly wants to replace the other session's version. The tracked baseVersion is still sent; with force:true the server treats it as informational and overwrites. Omit (or false) so a concurrent write 409s instead of being silently clobbered.
2918
2966
  */
2919
2967
  force?: boolean;
2968
+ /**
2969
+ * read_asset and delete_asset: the asset's id (32 hex characters), from a list_assets or upload_asset result.
2970
+ */
2971
+ asset_id?: string;
2972
+ /**
2973
+ * read_asset only: directory to save the file into (default: the working directory). The file is named by the asset id plus the extension for its type.
2974
+ */
2975
+ out_dir?: string;
2976
+ /**
2977
+ * list_assets only: the `next` value from a previous list_assets result, to continue that listing.
2978
+ */
2979
+ after?: string;
2920
2980
  }
2921
2981
  export interface PushNotificationInput {
2922
2982
  /**
@@ -3043,6 +3103,7 @@ export interface BashOutput {
3043
3103
  | "merged"
3044
3104
  | "commented"
3045
3105
  | "closed"
3106
+ | "reopened"
3046
3107
  | "ready"
3047
3108
  | "draft"
3048
3109
  | "auto-merge-enabled"
@@ -3803,6 +3864,10 @@ export interface REPLOutput {
3803
3864
  * Error message if execution failed
3804
3865
  */
3805
3866
  error?: string;
3867
+ /**
3868
+ * True on an async-dispatch receipt or refusal: the script was handed to the async dispatcher (queued — outcome arrives later as a poll event — or refused at the queue cap), so this Output carries no execution output and resume replay must skip the block
3869
+ */
3870
+ asyncDispatched?: boolean;
3806
3871
  /**
3807
3872
  * Names of tools registered during this execution
3808
3873
  */