@anthropic-ai/claude-code 2.1.266 → 2.1.268
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 -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.268",
|
|
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.268",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.268",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.268",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.268",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.268",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.268",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.268",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.268"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -448,6 +448,8 @@ export type ArtifactOutput =
|
|
|
448
448
|
contract?: string;
|
|
449
449
|
updated?: boolean;
|
|
450
450
|
audience?: string;
|
|
451
|
+
seq?: number;
|
|
452
|
+
unchanged?: true;
|
|
451
453
|
liveSubscription?: string;
|
|
452
454
|
}
|
|
453
455
|
| {
|
|
@@ -730,6 +732,8 @@ export interface BashInput {
|
|
|
730
732
|
/**
|
|
731
733
|
* Clear, concise description of what this command does in active voice. Never use words like "complex" or "risk" in the description - just describe what it does.
|
|
732
734
|
*
|
|
735
|
+
* Say what the command does in plain words: do not echo the command's text, its flags, or file paths - the user reads this description, often without seeing the command.
|
|
736
|
+
*
|
|
733
737
|
* For simple commands (git, npm, standard CLI tools), keep it brief (5-10 words):
|
|
734
738
|
* - ls → "List files in current directory"
|
|
735
739
|
* - git status → "Show working tree status"
|
|
@@ -2936,7 +2940,7 @@ export interface ProposeSkillsInput {
|
|
|
2936
2940
|
*/
|
|
2937
2941
|
target?: string;
|
|
2938
2942
|
/**
|
|
2939
|
-
* 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.
|
|
2943
|
+
* 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.
|
|
2940
2944
|
*/
|
|
2941
2945
|
description: string;
|
|
2942
2946
|
/**
|
|
@@ -2961,7 +2965,7 @@ export interface ProposeSkillsInput {
|
|
|
2961
2965
|
*/
|
|
2962
2966
|
target?: string;
|
|
2963
2967
|
/**
|
|
2964
|
-
* 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.
|
|
2968
|
+
* 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.
|
|
2965
2969
|
*/
|
|
2966
2970
|
description: string;
|
|
2967
2971
|
/**
|
|
@@ -2984,7 +2988,7 @@ export interface ProposeSkillsInput {
|
|
|
2984
2988
|
*/
|
|
2985
2989
|
target?: string;
|
|
2986
2990
|
/**
|
|
2987
|
-
* 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.
|
|
2991
|
+
* 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.
|
|
2988
2992
|
*/
|
|
2989
2993
|
description: string;
|
|
2990
2994
|
/**
|
|
@@ -3009,7 +3013,7 @@ export interface ProposeSkillsInput {
|
|
|
3009
3013
|
*/
|
|
3010
3014
|
target?: string;
|
|
3011
3015
|
/**
|
|
3012
|
-
* 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.
|
|
3016
|
+
* 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.
|
|
3013
3017
|
*/
|
|
3014
3018
|
description: string;
|
|
3015
3019
|
/**
|
|
@@ -3032,7 +3036,7 @@ export interface ProposeSkillsInput {
|
|
|
3032
3036
|
*/
|
|
3033
3037
|
target?: string;
|
|
3034
3038
|
/**
|
|
3035
|
-
* 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.
|
|
3039
|
+
* 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.
|
|
3036
3040
|
*/
|
|
3037
3041
|
description: string;
|
|
3038
3042
|
/**
|
|
@@ -3055,7 +3059,7 @@ export interface ProposeSkillsInput {
|
|
|
3055
3059
|
*/
|
|
3056
3060
|
target?: string;
|
|
3057
3061
|
/**
|
|
3058
|
-
* 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.
|
|
3062
|
+
* 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.
|
|
3059
3063
|
*/
|
|
3060
3064
|
description: string;
|
|
3061
3065
|
/**
|
|
@@ -3100,9 +3104,13 @@ export interface ArtifactInput {
|
|
|
3100
3104
|
*/
|
|
3101
3105
|
file_path?: string;
|
|
3102
3106
|
/**
|
|
3103
|
-
*
|
|
3107
|
+
* 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.
|
|
3104
3108
|
*/
|
|
3105
3109
|
favicon?: string;
|
|
3110
|
+
/**
|
|
3111
|
+
* 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.
|
|
3112
|
+
*/
|
|
3113
|
+
icon?: string;
|
|
3106
3114
|
/**
|
|
3107
3115
|
* list only: maximum artifacts to return (default 25).
|
|
3108
3116
|
*/
|
|
@@ -3120,7 +3128,7 @@ export interface ArtifactInput {
|
|
|
3120
3128
|
*/
|
|
3121
3129
|
description?: string;
|
|
3122
3130
|
/**
|
|
3123
|
-
* A short name for
|
|
3131
|
+
* A short name for this publish, max 60 chars (e.g. "Draft to legal"). Optional — a few words, not a description.
|
|
3124
3132
|
*/
|
|
3125
3133
|
label?: string;
|
|
3126
3134
|
/**
|