@anthropic-ai/claude-code 2.1.268 → 2.1.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/package.json +9 -9
- package/sdk-tools.d.ts +16 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-code",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.269",
|
|
4
4
|
"bin": {
|
|
5
5
|
"claude": "bin/claude.exe"
|
|
6
6
|
},
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@anthropic-ai/claude-code-darwin-arm64": "2.1.
|
|
25
|
-
"@anthropic-ai/claude-code-darwin-x64": "2.1.
|
|
26
|
-
"@anthropic-ai/claude-code-linux-x64": "2.1.
|
|
27
|
-
"@anthropic-ai/claude-code-linux-arm64": "2.1.
|
|
28
|
-
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.
|
|
29
|
-
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.
|
|
30
|
-
"@anthropic-ai/claude-code-win32-x64": "2.1.
|
|
31
|
-
"@anthropic-ai/claude-code-win32-arm64": "2.1.
|
|
24
|
+
"@anthropic-ai/claude-code-darwin-arm64": "2.1.269",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.269",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.269",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.269",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.269",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.269",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.269",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.269"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
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
|
/**
|