@anthropic-ai/claude-code 2.1.251 → 2.1.257
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 +20 -24
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.257",
|
|
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.257",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.257",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.257",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.257",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.257",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.257",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.257",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.257"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -2900,11 +2900,11 @@ export interface ProposeSkillsInput {
|
|
|
2900
2900
|
name: string;
|
|
2901
2901
|
kind: "new" | "improvement";
|
|
2902
2902
|
/**
|
|
2903
|
-
*
|
|
2903
|
+
* Name of the existing skill to update. Required when kind is 'improvement'; omit for 'new'.
|
|
2904
2904
|
*/
|
|
2905
2905
|
target?: string;
|
|
2906
2906
|
/**
|
|
2907
|
-
*
|
|
2907
|
+
* One line saying when to use this skill. Shown on the review card and saved as the skill's description, which is what decides when the skill is used; for an improvement, restate or update the existing skill's description.
|
|
2908
2908
|
*/
|
|
2909
2909
|
description: string;
|
|
2910
2910
|
/**
|
|
@@ -2912,7 +2912,7 @@ export interface ProposeSkillsInput {
|
|
|
2912
2912
|
*/
|
|
2913
2913
|
evidence?: string[];
|
|
2914
2914
|
/**
|
|
2915
|
-
* complete SKILL.md
|
|
2915
|
+
* The complete SKILL.md exactly as it should be saved: frontmatter plus the full body. When the user saves, the body below the frontmatter becomes the skill's entire instructions and the name and description come from the fields above; other frontmatter keys are not kept. For an improvement this replaces the existing skill's SKILL.md entirely, so read that skill's current SKILL.md first and include everything worth keeping, not only the changes.
|
|
2916
2916
|
*/
|
|
2917
2917
|
skillMd: string;
|
|
2918
2918
|
}
|
|
@@ -2925,11 +2925,11 @@ export interface ProposeSkillsInput {
|
|
|
2925
2925
|
name: string;
|
|
2926
2926
|
kind: "new" | "improvement";
|
|
2927
2927
|
/**
|
|
2928
|
-
*
|
|
2928
|
+
* Name of the existing skill to update. Required when kind is 'improvement'; omit for 'new'.
|
|
2929
2929
|
*/
|
|
2930
2930
|
target?: string;
|
|
2931
2931
|
/**
|
|
2932
|
-
*
|
|
2932
|
+
* One line saying when to use this skill. Shown on the review card and saved as the skill's description, which is what decides when the skill is used; for an improvement, restate or update the existing skill's description.
|
|
2933
2933
|
*/
|
|
2934
2934
|
description: string;
|
|
2935
2935
|
/**
|
|
@@ -2937,7 +2937,7 @@ export interface ProposeSkillsInput {
|
|
|
2937
2937
|
*/
|
|
2938
2938
|
evidence?: string[];
|
|
2939
2939
|
/**
|
|
2940
|
-
* complete SKILL.md
|
|
2940
|
+
* The complete SKILL.md exactly as it should be saved: frontmatter plus the full body. When the user saves, the body below the frontmatter becomes the skill's entire instructions and the name and description come from the fields above; other frontmatter keys are not kept. For an improvement this replaces the existing skill's SKILL.md entirely, so read that skill's current SKILL.md first and include everything worth keeping, not only the changes.
|
|
2941
2941
|
*/
|
|
2942
2942
|
skillMd: string;
|
|
2943
2943
|
},
|
|
@@ -2948,11 +2948,11 @@ export interface ProposeSkillsInput {
|
|
|
2948
2948
|
name: string;
|
|
2949
2949
|
kind: "new" | "improvement";
|
|
2950
2950
|
/**
|
|
2951
|
-
*
|
|
2951
|
+
* Name of the existing skill to update. Required when kind is 'improvement'; omit for 'new'.
|
|
2952
2952
|
*/
|
|
2953
2953
|
target?: string;
|
|
2954
2954
|
/**
|
|
2955
|
-
*
|
|
2955
|
+
* One line saying when to use this skill. Shown on the review card and saved as the skill's description, which is what decides when the skill is used; for an improvement, restate or update the existing skill's description.
|
|
2956
2956
|
*/
|
|
2957
2957
|
description: string;
|
|
2958
2958
|
/**
|
|
@@ -2960,7 +2960,7 @@ export interface ProposeSkillsInput {
|
|
|
2960
2960
|
*/
|
|
2961
2961
|
evidence?: string[];
|
|
2962
2962
|
/**
|
|
2963
|
-
* complete SKILL.md
|
|
2963
|
+
* The complete SKILL.md exactly as it should be saved: frontmatter plus the full body. When the user saves, the body below the frontmatter becomes the skill's entire instructions and the name and description come from the fields above; other frontmatter keys are not kept. For an improvement this replaces the existing skill's SKILL.md entirely, so read that skill's current SKILL.md first and include everything worth keeping, not only the changes.
|
|
2964
2964
|
*/
|
|
2965
2965
|
skillMd: string;
|
|
2966
2966
|
}
|
|
@@ -2973,11 +2973,11 @@ export interface ProposeSkillsInput {
|
|
|
2973
2973
|
name: string;
|
|
2974
2974
|
kind: "new" | "improvement";
|
|
2975
2975
|
/**
|
|
2976
|
-
*
|
|
2976
|
+
* Name of the existing skill to update. Required when kind is 'improvement'; omit for 'new'.
|
|
2977
2977
|
*/
|
|
2978
2978
|
target?: string;
|
|
2979
2979
|
/**
|
|
2980
|
-
*
|
|
2980
|
+
* One line saying when to use this skill. Shown on the review card and saved as the skill's description, which is what decides when the skill is used; for an improvement, restate or update the existing skill's description.
|
|
2981
2981
|
*/
|
|
2982
2982
|
description: string;
|
|
2983
2983
|
/**
|
|
@@ -2985,7 +2985,7 @@ export interface ProposeSkillsInput {
|
|
|
2985
2985
|
*/
|
|
2986
2986
|
evidence?: string[];
|
|
2987
2987
|
/**
|
|
2988
|
-
* complete SKILL.md
|
|
2988
|
+
* The complete SKILL.md exactly as it should be saved: frontmatter plus the full body. When the user saves, the body below the frontmatter becomes the skill's entire instructions and the name and description come from the fields above; other frontmatter keys are not kept. For an improvement this replaces the existing skill's SKILL.md entirely, so read that skill's current SKILL.md first and include everything worth keeping, not only the changes.
|
|
2989
2989
|
*/
|
|
2990
2990
|
skillMd: string;
|
|
2991
2991
|
},
|
|
@@ -2996,11 +2996,11 @@ export interface ProposeSkillsInput {
|
|
|
2996
2996
|
name: string;
|
|
2997
2997
|
kind: "new" | "improvement";
|
|
2998
2998
|
/**
|
|
2999
|
-
*
|
|
2999
|
+
* Name of the existing skill to update. Required when kind is 'improvement'; omit for 'new'.
|
|
3000
3000
|
*/
|
|
3001
3001
|
target?: string;
|
|
3002
3002
|
/**
|
|
3003
|
-
*
|
|
3003
|
+
* One line saying when to use this skill. Shown on the review card and saved as the skill's description, which is what decides when the skill is used; for an improvement, restate or update the existing skill's description.
|
|
3004
3004
|
*/
|
|
3005
3005
|
description: string;
|
|
3006
3006
|
/**
|
|
@@ -3008,7 +3008,7 @@ export interface ProposeSkillsInput {
|
|
|
3008
3008
|
*/
|
|
3009
3009
|
evidence?: string[];
|
|
3010
3010
|
/**
|
|
3011
|
-
* complete SKILL.md
|
|
3011
|
+
* The complete SKILL.md exactly as it should be saved: frontmatter plus the full body. When the user saves, the body below the frontmatter becomes the skill's entire instructions and the name and description come from the fields above; other frontmatter keys are not kept. For an improvement this replaces the existing skill's SKILL.md entirely, so read that skill's current SKILL.md first and include everything worth keeping, not only the changes.
|
|
3012
3012
|
*/
|
|
3013
3013
|
skillMd: string;
|
|
3014
3014
|
},
|
|
@@ -3019,11 +3019,11 @@ export interface ProposeSkillsInput {
|
|
|
3019
3019
|
name: string;
|
|
3020
3020
|
kind: "new" | "improvement";
|
|
3021
3021
|
/**
|
|
3022
|
-
*
|
|
3022
|
+
* Name of the existing skill to update. Required when kind is 'improvement'; omit for 'new'.
|
|
3023
3023
|
*/
|
|
3024
3024
|
target?: string;
|
|
3025
3025
|
/**
|
|
3026
|
-
*
|
|
3026
|
+
* One line saying when to use this skill. Shown on the review card and saved as the skill's description, which is what decides when the skill is used; for an improvement, restate or update the existing skill's description.
|
|
3027
3027
|
*/
|
|
3028
3028
|
description: string;
|
|
3029
3029
|
/**
|
|
@@ -3031,7 +3031,7 @@ export interface ProposeSkillsInput {
|
|
|
3031
3031
|
*/
|
|
3032
3032
|
evidence?: string[];
|
|
3033
3033
|
/**
|
|
3034
|
-
* complete SKILL.md
|
|
3034
|
+
* The complete SKILL.md exactly as it should be saved: frontmatter plus the full body. When the user saves, the body below the frontmatter becomes the skill's entire instructions and the name and description come from the fields above; other frontmatter keys are not kept. For an improvement this replaces the existing skill's SKILL.md entirely, so read that skill's current SKILL.md first and include everything worth keeping, not only the changes.
|
|
3035
3035
|
*/
|
|
3036
3036
|
skillMd: string;
|
|
3037
3037
|
}
|
|
@@ -3087,13 +3087,9 @@ export interface ArtifactInput {
|
|
|
3087
3087
|
*/
|
|
3088
3088
|
description?: string;
|
|
3089
3089
|
/**
|
|
3090
|
-
*
|
|
3090
|
+
* A short name for the version this publish makes, max 60 chars (e.g. "Draft to legal"). Shown in the version picker. Optional — a few words, not a description.
|
|
3091
3091
|
*/
|
|
3092
3092
|
label?: string;
|
|
3093
|
-
/**
|
|
3094
|
-
* publish only: what changed in this version — a few sentences on what is new or reworked, shown beside `label` in the version picker. Optional; leave it out when nothing is worth noting.
|
|
3095
|
-
*/
|
|
3096
|
-
note?: string;
|
|
3097
3093
|
/**
|
|
3098
3094
|
* Existing artifact URL to update in place. Pass whenever the user wants to update an artifact this conversation did not publish — "update my artifact", "keep the same link", a pasted artifact URL — and find the URL with action: "list" or ask the user for the link if you don't have it; without this, the publish creates a separate artifact instead of updating the existing one. Omit for new artifacts and same-conversation redeploys. Must be an artifact the user owns. For 'read' and the other url-addressed actions: the artifact to act on.
|
|
3099
3095
|
*/
|
|
@@ -4001,7 +3997,7 @@ export interface REPLOutput {
|
|
|
4001
3997
|
/**
|
|
4002
3998
|
* Return value from the code execution
|
|
4003
3999
|
*/
|
|
4004
|
-
result
|
|
4000
|
+
result?: {
|
|
4005
4001
|
[k: string]: unknown;
|
|
4006
4002
|
};
|
|
4007
4003
|
/**
|