@anthropic-ai/claude-code 2.1.267 → 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 +27 -8
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;
|
|
@@ -2940,7 +2947,7 @@ export interface ProposeSkillsInput {
|
|
|
2940
2947
|
*/
|
|
2941
2948
|
target?: string;
|
|
2942
2949
|
/**
|
|
2943
|
-
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2950
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024, and no angle brackets. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2944
2951
|
*/
|
|
2945
2952
|
description: string;
|
|
2946
2953
|
/**
|
|
@@ -2965,7 +2972,7 @@ export interface ProposeSkillsInput {
|
|
|
2965
2972
|
*/
|
|
2966
2973
|
target?: string;
|
|
2967
2974
|
/**
|
|
2968
|
-
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2975
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024, and no angle brackets. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2969
2976
|
*/
|
|
2970
2977
|
description: string;
|
|
2971
2978
|
/**
|
|
@@ -2988,7 +2995,7 @@ export interface ProposeSkillsInput {
|
|
|
2988
2995
|
*/
|
|
2989
2996
|
target?: string;
|
|
2990
2997
|
/**
|
|
2991
|
-
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2998
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024, and no angle brackets. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2992
2999
|
*/
|
|
2993
3000
|
description: string;
|
|
2994
3001
|
/**
|
|
@@ -3013,7 +3020,7 @@ export interface ProposeSkillsInput {
|
|
|
3013
3020
|
*/
|
|
3014
3021
|
target?: string;
|
|
3015
3022
|
/**
|
|
3016
|
-
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
3023
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024, and no angle brackets. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
3017
3024
|
*/
|
|
3018
3025
|
description: string;
|
|
3019
3026
|
/**
|
|
@@ -3036,7 +3043,7 @@ export interface ProposeSkillsInput {
|
|
|
3036
3043
|
*/
|
|
3037
3044
|
target?: string;
|
|
3038
3045
|
/**
|
|
3039
|
-
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
3046
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024, and no angle brackets. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
3040
3047
|
*/
|
|
3041
3048
|
description: string;
|
|
3042
3049
|
/**
|
|
@@ -3059,7 +3066,7 @@ export interface ProposeSkillsInput {
|
|
|
3059
3066
|
*/
|
|
3060
3067
|
target?: string;
|
|
3061
3068
|
/**
|
|
3062
|
-
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
3069
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024, and no angle brackets. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
3063
3070
|
*/
|
|
3064
3071
|
description: string;
|
|
3065
3072
|
/**
|
|
@@ -3100,13 +3107,17 @@ 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
|
/**
|
|
3107
|
-
*
|
|
3114
|
+
* The artifact's emoji: one or two emoji (e.g. "📊"). No markup. Required on a page's first publish; omit on a redeploy (same file path this session, or `url`) to keep the artifact's emoji — pass a new one only when the user asks.
|
|
3108
3115
|
*/
|
|
3109
3116
|
favicon?: string;
|
|
3117
|
+
/**
|
|
3118
|
+
* Optional. One short generic word for the artifact's tab icon, such as chart, calendar, recipe, code or map — a plain signifier, not a product or brand name. Omit when republishing to keep the current icon.
|
|
3119
|
+
*/
|
|
3120
|
+
icon?: string;
|
|
3110
3121
|
/**
|
|
3111
3122
|
* list only: maximum artifacts to return (default 25).
|
|
3112
3123
|
*/
|
|
@@ -3369,6 +3380,10 @@ export interface FileEditOutput {
|
|
|
3369
3380
|
*/
|
|
3370
3381
|
repository?: string | null;
|
|
3371
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;
|
|
3372
3387
|
}
|
|
3373
3388
|
export interface FileWriteOutput {
|
|
3374
3389
|
/**
|
|
@@ -3413,6 +3428,10 @@ export interface FileWriteOutput {
|
|
|
3413
3428
|
* True when the user edited the proposed content in the permission dialog before accepting
|
|
3414
3429
|
*/
|
|
3415
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;
|
|
3416
3435
|
}
|
|
3417
3436
|
export interface GlobOutput {
|
|
3418
3437
|
/**
|