@anthropic-ai/claude-agent-sdk 0.3.268 → 0.3.269

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,54 +1,83 @@
1
1
  {
2
- "version": "2.1.268",
2
+ "version": "2.1.269",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "8d19e585f3f1e02a7e31642695321906d38609a3",
5
- "buildDate": "2026-09-10T17:38:45Z",
4
+ "commit": "d0733697ad641a564c7cfcb19a6eb1eb9d61357e",
5
+ "modsCommit": "536a2e23d9e28586f81f17b3535281b5f2995a70",
6
+ "buildDate": "2026-09-11T17:44:26Z",
6
7
  "platforms": {
7
8
  "darwin-arm64": {
8
9
  "binary": "claude",
9
- "checksum": "06a96d5423f83770f120859f1c58e60d7252cc4c122aa13043b7e7cd716bc76a",
10
- "size": 202081536
10
+ "checksum": "c942e1228b93cb4d52183b3dfbc77f28264f35aa947acd9c0853d029164cf450",
11
+ "size": 203150240
11
12
  },
12
13
  "darwin-x64": {
13
14
  "binary": "claude",
14
- "checksum": "f94c0d5ab0ab79f28e8dc9129ae7c980c2c1af65f3ea67ee6e9256bed3da67e9",
15
- "size": 210766944
15
+ "checksum": "5a8c02f9ff48f1917b38e86d837114b8d5cbbf534ce72bc6aa106eb17eb3a90f",
16
+ "size": 211924736
16
17
  },
17
18
  "linux-arm64": {
18
19
  "binary": "claude",
19
- "checksum": "116fd031f939ef1e09edf170d62c489e1cc28ed6bfbda49f948773ba168c8f62",
20
- "size": 218291624
20
+ "checksum": "4c84a33adc34c60d4de3acd43cfe7c64ba966591e51587c04867b8d589021be4",
21
+ "size": 219536808
21
22
  },
22
23
  "linux-x64": {
23
24
  "binary": "claude",
24
- "checksum": "9691a2b7bd796712ca8cffb8e32e54ff7fc45b662540233171a16a94a0425653",
25
- "size": 218602992
25
+ "checksum": "25e44883f54419569a3d739f38cbbdaebe83b09895da0f343e1b003710a4775b",
26
+ "size": 219651568
26
27
  },
27
28
  "linux-arm64-musl": {
28
29
  "binary": "claude",
29
- "checksum": "a1cb086b8b65ff5e2068eb764d2aff7c8a48f914df4741dd9bdb2d3aa5db971b",
30
- "size": 211236504
30
+ "checksum": "242c2de9119ac22127b939efa6d142533981225d7ffaca84a0c5b233a31acb10",
31
+ "size": 212219656
31
32
  },
32
33
  "linux-x64-musl": {
33
34
  "binary": "claude",
34
- "checksum": "1e9b0013268c023266438653eb4beac34d71311a451a9f45988e5f176fdf2e24",
35
- "size": 212623312
35
+ "checksum": "9fbb3c062bfde0880170296bd72fd331614428fa45996e24d3c92e90ff681d45",
36
+ "size": 213565504
36
37
  },
37
38
  "win32-x64": {
38
39
  "binary": "claude.exe",
39
- "checksum": "1e472bcfd49449e73ef76698c87f6583055aeb88dc41ca190a9c12c6791b5eea",
40
- "size": 221637792
40
+ "checksum": "97164b206e46eecde26fbe8f3993e2fd015e4f53fa90b26b53a8edcb8bc875a9",
41
+ "size": 222719136
41
42
  },
42
43
  "win32-arm64": {
43
44
  "binary": "claude.exe",
44
- "checksum": "30f0dbc7f1520ff0af1a2eb0167e11f09363a49f5dfd2f719ccd95e05809112c",
45
- "size": 212880032
45
+ "checksum": "8f428028d56c11b97b5645380eacbf86691f3d92854efba2d1be656f8681b9dc",
46
+ "size": 213922976
46
47
  }
47
48
  },
48
49
  "sdkCompat": {
49
50
  "testedWrapperVersions": [
50
- "0.3.226",
51
- "0.3.227"
51
+ "0.3.228",
52
+ "0.3.229",
53
+ "0.3.231",
54
+ "0.3.232",
55
+ "0.3.233",
56
+ "0.3.234",
57
+ "0.3.235",
58
+ "0.3.236",
59
+ "0.3.237",
60
+ "0.3.238",
61
+ "0.3.239",
62
+ "0.3.240",
63
+ "0.3.241",
64
+ "0.3.242",
65
+ "0.3.243",
66
+ "0.3.245",
67
+ "0.3.246",
68
+ "0.3.247",
69
+ "0.3.248",
70
+ "0.3.250",
71
+ "0.3.251",
72
+ "0.3.252",
73
+ "0.3.258",
74
+ "0.3.259",
75
+ "0.3.260",
76
+ "0.3.261",
77
+ "0.3.263",
78
+ "0.3.266",
79
+ "0.3.267",
80
+ "0.3.268"
52
81
  ],
53
82
  "harnessSchema": 1
54
83
  }
package/manifest.zst.json CHANGED
@@ -1,62 +1,91 @@
1
1
  {
2
- "version": "2.1.268",
2
+ "version": "2.1.269",
3
3
  "manifestSignatureEnforcement": "flag",
4
- "commit": "8d19e585f3f1e02a7e31642695321906d38609a3",
5
- "buildDate": "2026-09-10T17:39:52Z",
4
+ "commit": "d0733697ad641a564c7cfcb19a6eb1eb9d61357e",
5
+ "modsCommit": "536a2e23d9e28586f81f17b3535281b5f2995a70",
6
+ "buildDate": "2026-09-11T17:45:38Z",
6
7
  "platforms": {
7
8
  "darwin-arm64": {
8
9
  "binary": "claude.zst",
9
- "checksum": "3e816cb773480b1c4aeadc1841be32a48fdcb3fec1ea56f59440bfb6faf457df",
10
- "size": 67166011,
10
+ "checksum": "1587fb341c3795b13c6ee4f5b61a54db906bdaa6a306223f01e3e27ab4cfcdc7",
11
+ "size": 68249720,
11
12
  "bundle": {
12
- "checksum": "0f3074519ba4406a1c49349620b83ec7f5ac4fd478862df84e29ca6710661e99",
13
- "size": 67167063
13
+ "checksum": "47d3e0f300aaef3d7fcd9479899bb4e1e06fbe7e9719913ec6221fa5a98aaae3",
14
+ "size": 68250721
14
15
  }
15
16
  },
16
17
  "darwin-x64": {
17
18
  "binary": "claude.zst",
18
- "checksum": "ca8221fe78907f5d614f2bd17423ab25245d6a5c641a53ebdb7c9c9e53ffb86a",
19
- "size": 71216486,
19
+ "checksum": "f30d031c398a230a567676db406e58c80bc72b1a53f62315d4f256f6ba35e42d",
20
+ "size": 72352991,
20
21
  "bundle": {
21
- "checksum": "2ad4c1df5a66acc116034232d335d305c42e38baedb737363a9d0f5e82b558be",
22
- "size": 71218953
22
+ "checksum": "1dea3b914306fa582ca445b2c1d4446ebdad9a3a3de13c0746b62457c1a6b6f8",
23
+ "size": 72356541
23
24
  }
24
25
  },
25
26
  "linux-arm64": {
26
27
  "binary": "claude.zst",
27
- "checksum": "d1ddeff370da9df19480e700b94c2ee0c298fa538607d5f6be01e025e9a233e0",
28
- "size": 76373529
28
+ "checksum": "f4cc9ac3357732c457efcd779da74c22f929dd9a97bd199dd838f20ef6301c77",
29
+ "size": 77455616
29
30
  },
30
31
  "linux-x64": {
31
32
  "binary": "claude.zst",
32
- "checksum": "9e2eca59e1ac7c7d9d9b8a031e4498de137e1da0a2fa3d8a69c00f071bd4495d",
33
- "size": 76977785
33
+ "checksum": "600eabfb5c3b32a28e7715c5354e3004efb4bdb50ca0a4685d83792e46dc4c58",
34
+ "size": 78074410
34
35
  },
35
36
  "linux-arm64-musl": {
36
37
  "binary": "claude.zst",
37
- "checksum": "24a52891b9963d34b0fcb21f4a07228dc61e84a6f1c1d7475199fc004763143c",
38
- "size": 74855137
38
+ "checksum": "53e84a6ccf541a877a1ed1d4226915da91324bf880474db1f1475c5dbef69773",
39
+ "size": 75918487
39
40
  },
40
41
  "linux-x64-musl": {
41
42
  "binary": "claude.zst",
42
- "checksum": "9574030b5f9c07b9d9b8d3ba55c0e12051df56faec14135aaa36ada7c226caf0",
43
- "size": 75492207
43
+ "checksum": "4567bfc2d28614cb9484d028ff7c4c18a69709bb61f7a3161fae8f8801bb4457",
44
+ "size": 76560487
44
45
  },
45
46
  "win32-x64": {
46
47
  "binary": "claude.exe.zst",
47
- "checksum": "02657300b90b53ab28bc478e1880b792c1650f3ad0b7bae6ffe461120e82d0f1",
48
- "size": 79365973
48
+ "checksum": "6b40ed57b8cb15a6546b93040e32fbd8334ae3d7849a2c2fecfba1cd2a117277",
49
+ "size": 80458076
49
50
  },
50
51
  "win32-arm64": {
51
52
  "binary": "claude.exe.zst",
52
- "checksum": "8d32284fdb5255b158ae88755a717aa3b1521fde1235af57727bfdbb7b7642c0",
53
- "size": 76145008
53
+ "checksum": "fc0a13f2713ca03fba15773c5b600501bbdda2c3df16c678f28a15571935a8de",
54
+ "size": 77218174
54
55
  }
55
56
  },
56
57
  "sdkCompat": {
57
58
  "testedWrapperVersions": [
58
- "0.3.226",
59
- "0.3.227"
59
+ "0.3.228",
60
+ "0.3.229",
61
+ "0.3.231",
62
+ "0.3.232",
63
+ "0.3.233",
64
+ "0.3.234",
65
+ "0.3.235",
66
+ "0.3.236",
67
+ "0.3.237",
68
+ "0.3.238",
69
+ "0.3.239",
70
+ "0.3.240",
71
+ "0.3.241",
72
+ "0.3.242",
73
+ "0.3.243",
74
+ "0.3.245",
75
+ "0.3.246",
76
+ "0.3.247",
77
+ "0.3.248",
78
+ "0.3.250",
79
+ "0.3.251",
80
+ "0.3.252",
81
+ "0.3.258",
82
+ "0.3.259",
83
+ "0.3.260",
84
+ "0.3.261",
85
+ "0.3.263",
86
+ "0.3.266",
87
+ "0.3.267",
88
+ "0.3.268"
60
89
  ],
61
90
  "harnessSchema": 1
62
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.268",
3
+ "version": "0.3.269",
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.268",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.268",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.268",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.268",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.268",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.268",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.268",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.268"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.269",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.269",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.269",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.269",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.269",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.269",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.269",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.269"
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.268"
83
+ "claudeCodeVersion": "2.1.269"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -549,6 +549,9 @@ export type ArtifactOutput =
549
549
  }[];
550
550
  }
551
551
  | {
552
+ written?: {
553
+ url: string;
554
+ };
552
555
  asset_upload: {
553
556
  id: string;
554
557
  url: string;
@@ -590,9 +593,13 @@ export type ArtifactOutput =
590
593
  content_type: string;
591
594
  sha256: string;
592
595
  cowritten?: true;
596
+ foreign?: true;
593
597
  };
594
598
  }
595
599
  | {
600
+ written?: {
601
+ url: string;
602
+ };
596
603
  asset_delete: {
597
604
  id: string;
598
605
  deleted: boolean;
@@ -3100,7 +3107,7 @@ export interface ArtifactInput {
3100
3107
  | "read_asset"
3101
3108
  | "delete_asset";
3102
3109
  /**
3103
- * Path to the .html 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, font, or text (CSV, Markdown, JSON, plain text) file to upload.
3110
+ * Path to the .html 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, font, stylesheet (CSS), script (JS), or text (CSV, Markdown, JSON, plain text) file to upload.
3104
3111
  */
3105
3112
  file_path?: string;
3106
3113
  /**
@@ -3373,6 +3380,10 @@ export interface FileEditOutput {
3373
3380
  */
3374
3381
  repository?: string | null;
3375
3382
  };
3383
+ /**
3384
+ * True when the edit was held for the machine owner to review instead of written; the file is unchanged
3385
+ */
3386
+ staged?: boolean;
3376
3387
  }
3377
3388
  export interface FileWriteOutput {
3378
3389
  /**
@@ -3417,6 +3428,10 @@ export interface FileWriteOutput {
3417
3428
  * True when the user edited the proposed content in the permission dialog before accepting
3418
3429
  */
3419
3430
  userModified?: boolean;
3431
+ /**
3432
+ * True when the write was held for the machine owner to review instead of written; the file is unchanged
3433
+ */
3434
+ staged?: boolean;
3420
3435
  }
3421
3436
  export interface GlobOutput {
3422
3437
  /**