@anthropic-ai/claude-agent-sdk 0.3.323 → 0.3.325
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/README.md +1 -1
- package/bridge.mjs +86 -86
- package/browser-sdk.js +26 -26
- package/core-0a66n3e7.mjs +16 -0
- package/core-0bmnpbz2.mjs +45 -0
- package/{core-020s7rja.mjs → core-9je8ee1j.mjs} +2 -2
- package/core-ds2jqcef.mjs +19 -0
- package/{core-0nt0tzhe.mjs → core-fxa8mwbm.mjs} +4 -4
- package/core-gbbw9cgm.mjs +17 -0
- package/core-msnqqcc2.mjs +42 -0
- package/core-wadgcjfh.mjs +18 -0
- package/core-x20yarwf.mjs +17 -0
- package/{core-aeryzps0.mjs → core-x3hc9abc.mjs} +3 -3
- package/{core-e3m90ek3.mjs → core-zg882d22.mjs} +2 -2
- package/core.d.ts +2 -0
- package/core.mjs +11 -11
- package/manifest.json +22 -22
- package/manifest.zst.json +26 -26
- package/package.json +21 -23
- package/sdk-tools.d.ts +180 -12
- package/sdk.d.ts +117 -26
- package/sdk.mjs +85 -84
- package/core-1tccd4gq.mjs +0 -31
- package/core-2hdsr9k2.mjs +0 -18
- package/core-5pb9fh9v.mjs +0 -18
- package/core-72zgz5fc.mjs +0 -28
- package/core-bkbqjz55.mjs +0 -45
- package/core-bw1q6326.mjs +0 -17
- package/core-m9ncxr5j.mjs +0 -16
- package/core-whmb256v.mjs +0 -18
- package/core-zs2stfwr.mjs +0 -17
package/manifest.json
CHANGED
|
@@ -1,54 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.325",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-11-
|
|
4
|
+
"commit": "a360e7297ecfcddeae9ec99fb3c93153ed86aca4",
|
|
5
|
+
"buildDate": "2026-11-13T19:15:06Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "84590fefe6338be9087f5814b61f9a54c5f21524163a4c127cb5a808e31009f2",
|
|
10
|
+
"size": 347406976
|
|
11
11
|
},
|
|
12
12
|
"darwin-x64": {
|
|
13
13
|
"binary": "claude",
|
|
14
|
-
"checksum": "
|
|
15
|
-
"size":
|
|
14
|
+
"checksum": "af9760c59f947044e2a0d5072343de563f31efb68bd18ccee4f43c5240570de7",
|
|
15
|
+
"size": 362162560
|
|
16
16
|
},
|
|
17
17
|
"linux-arm64": {
|
|
18
18
|
"binary": "claude",
|
|
19
|
-
"checksum": "
|
|
20
|
-
"size":
|
|
19
|
+
"checksum": "7b6e484b1989a5a14a4b354709ccc8672518a3ec5b9ccd7981fc6254327fde67",
|
|
20
|
+
"size": 364701112
|
|
21
21
|
},
|
|
22
22
|
"linux-x64": {
|
|
23
23
|
"binary": "claude",
|
|
24
|
-
"checksum": "
|
|
25
|
-
"size":
|
|
24
|
+
"checksum": "0dc4f4a9a165fc60746d7ae8489712e5fc352f1e7ad4eb22e7141bd0812eb0cf",
|
|
25
|
+
"size": 365842960
|
|
26
26
|
},
|
|
27
27
|
"linux-arm64-musl": {
|
|
28
28
|
"binary": "claude",
|
|
29
|
-
"checksum": "
|
|
30
|
-
"size":
|
|
29
|
+
"checksum": "14dc17cd958f62d82fb2ff6276368fc611a88be303e0ae1a8cca580495964efe",
|
|
30
|
+
"size": 349795272
|
|
31
31
|
},
|
|
32
32
|
"linux-x64-musl": {
|
|
33
33
|
"binary": "claude",
|
|
34
|
-
"checksum": "
|
|
35
|
-
"size":
|
|
34
|
+
"checksum": "a5e3bd36dce97db0429705aa5c3573eea346a77938a89104b9c28fce409b20cd",
|
|
35
|
+
"size": 352201992
|
|
36
36
|
},
|
|
37
37
|
"win32-x64": {
|
|
38
38
|
"binary": "claude.exe",
|
|
39
|
-
"checksum": "
|
|
40
|
-
"size":
|
|
39
|
+
"checksum": "87e0cb6ae0f4775da388cd3043f4d8097ef961dcddbf55fe90bc61ffc3f57a30",
|
|
40
|
+
"size": 372461728
|
|
41
41
|
},
|
|
42
42
|
"win32-arm64": {
|
|
43
43
|
"binary": "claude.exe",
|
|
44
|
-
"checksum": "
|
|
45
|
-
"size":
|
|
44
|
+
"checksum": "45c1d546a0048dcdde3433ada6c10f7f23bd71a96868b9d75e28f1ac266f1a25",
|
|
45
|
+
"size": 354470048
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"sdkCompat": {
|
|
49
49
|
"testedWrapperVersions": [
|
|
50
|
-
"0.3.289",
|
|
51
|
-
"0.3.290",
|
|
52
50
|
"0.3.291",
|
|
53
51
|
"0.3.292",
|
|
54
52
|
"0.3.293",
|
|
@@ -76,7 +74,9 @@
|
|
|
76
74
|
"0.3.318",
|
|
77
75
|
"0.3.319",
|
|
78
76
|
"0.3.321",
|
|
79
|
-
"0.3.322"
|
|
77
|
+
"0.3.322",
|
|
78
|
+
"0.3.323",
|
|
79
|
+
"0.3.324"
|
|
80
80
|
],
|
|
81
81
|
"harnessSchema": 1
|
|
82
82
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,62 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.325",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-11-
|
|
4
|
+
"commit": "a360e7297ecfcddeae9ec99fb3c93153ed86aca4",
|
|
5
|
+
"buildDate": "2026-11-13T19:17:00Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude.zst",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "5117df01bb8150ced024d8944a9706034e0c9bf6e28ee527b8d7735397aca6db",
|
|
10
|
+
"size": 119662237,
|
|
11
11
|
"bundle": {
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "485fdac4332e02d74388bf7824d4bcc82207e7ded75c151869324ab0ab5d8ba8",
|
|
13
|
+
"size": 119664793
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"darwin-x64": {
|
|
17
17
|
"binary": "claude.zst",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "d92be13773f84a1cb0a378dcb0aa67dcd2c8262645f25bfa0dd7b1af21972cf2",
|
|
19
|
+
"size": 127207855,
|
|
20
20
|
"bundle": {
|
|
21
|
-
"checksum": "
|
|
22
|
-
"size":
|
|
21
|
+
"checksum": "75357a81506001c34829251a40912ed73c33b8bb05e6822c6cd217c436c0257e",
|
|
22
|
+
"size": 127197217
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64": {
|
|
26
26
|
"binary": "claude.zst",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "9e0304bfa6890a8badad29f40061f90a2a6fd704d9d47b44efc10ab74184a0ee",
|
|
28
|
+
"size": 130929554
|
|
29
29
|
},
|
|
30
30
|
"linux-x64": {
|
|
31
31
|
"binary": "claude.zst",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "00b1b977bcc3f32eb69129f0ac3277aafb1aecbfb87c17c0af53806832ed436a",
|
|
33
|
+
"size": 132357990
|
|
34
34
|
},
|
|
35
35
|
"linux-arm64-musl": {
|
|
36
36
|
"binary": "claude.zst",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "0ba3d79a4b1706f14a4815098b0dc630e41dfcc5119f2e3feb7ae6eb2fda1469",
|
|
38
|
+
"size": 125096445
|
|
39
39
|
},
|
|
40
40
|
"linux-x64-musl": {
|
|
41
41
|
"binary": "claude.zst",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "584ee8c7767aa49101410d09e7b58067ca749de8ce06827448ccef11d94d9943",
|
|
43
|
+
"size": 126606790
|
|
44
44
|
},
|
|
45
45
|
"win32-x64": {
|
|
46
46
|
"binary": "claude.exe.zst",
|
|
47
|
-
"checksum": "
|
|
48
|
-
"size":
|
|
47
|
+
"checksum": "806e0a45e6f5e6ce201e4ef133dd41a30e235dc2745caceeba2351aed7878792",
|
|
48
|
+
"size": 134865344
|
|
49
49
|
},
|
|
50
50
|
"win32-arm64": {
|
|
51
51
|
"binary": "claude.exe.zst",
|
|
52
|
-
"checksum": "
|
|
53
|
-
"size":
|
|
52
|
+
"checksum": "bb79f03fa3c4d6b1e36149891c01c27b2b42a31076c61db5f27d9e0f11d83264",
|
|
53
|
+
"size": 128711245
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"sdkCompat": {
|
|
57
57
|
"testedWrapperVersions": [
|
|
58
|
-
"0.3.289",
|
|
59
|
-
"0.3.290",
|
|
60
58
|
"0.3.291",
|
|
61
59
|
"0.3.292",
|
|
62
60
|
"0.3.293",
|
|
@@ -84,7 +82,9 @@
|
|
|
84
82
|
"0.3.318",
|
|
85
83
|
"0.3.319",
|
|
86
84
|
"0.3.321",
|
|
87
|
-
"0.3.322"
|
|
85
|
+
"0.3.322",
|
|
86
|
+
"0.3.323",
|
|
87
|
+
"0.3.324"
|
|
88
88
|
],
|
|
89
89
|
"harnessSchema": 1
|
|
90
90
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-agent-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.325",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"zod": "^4.0.0"
|
|
62
62
|
},
|
|
63
63
|
"optionalDependencies": {
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
68
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
70
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
71
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.325",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.325",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.325",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.325",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.325",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.325",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.325",
|
|
71
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.325"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|
|
74
74
|
"sdk.mjs",
|
|
@@ -85,19 +85,17 @@
|
|
|
85
85
|
"extractFromBunfs.d.ts",
|
|
86
86
|
"manifest.json",
|
|
87
87
|
"manifest.zst.json",
|
|
88
|
-
"core-
|
|
89
|
-
"core-
|
|
90
|
-
"core-
|
|
91
|
-
"core-
|
|
92
|
-
"core-
|
|
93
|
-
"core-
|
|
94
|
-
"core-
|
|
95
|
-
"core-
|
|
96
|
-
"core-
|
|
97
|
-
"core-
|
|
98
|
-
"core-
|
|
99
|
-
"core-whmb256v.mjs",
|
|
100
|
-
"core-zs2stfwr.mjs"
|
|
88
|
+
"core-0a66n3e7.mjs",
|
|
89
|
+
"core-0bmnpbz2.mjs",
|
|
90
|
+
"core-9je8ee1j.mjs",
|
|
91
|
+
"core-ds2jqcef.mjs",
|
|
92
|
+
"core-fxa8mwbm.mjs",
|
|
93
|
+
"core-gbbw9cgm.mjs",
|
|
94
|
+
"core-msnqqcc2.mjs",
|
|
95
|
+
"core-wadgcjfh.mjs",
|
|
96
|
+
"core-x20yarwf.mjs",
|
|
97
|
+
"core-x3hc9abc.mjs",
|
|
98
|
+
"core-zg882d22.mjs"
|
|
101
99
|
],
|
|
102
|
-
"claudeCodeVersion": "2.1.
|
|
100
|
+
"claudeCodeVersion": "2.1.325"
|
|
103
101
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -3014,9 +3014,37 @@ export interface ProposeSkillsInput {
|
|
|
3014
3014
|
*/
|
|
3015
3015
|
evidence?: string[];
|
|
3016
3016
|
/**
|
|
3017
|
-
*
|
|
3017
|
+
* For an improvement, in place of skillMd: your changes to the skill's SKILL.md, applied in order. They apply to that file as it is now, not to an earlier proposal of yours. The card shows the whole updated file. The name and description come from the fields above, not from the frontmatter.
|
|
3018
|
+
*
|
|
3019
|
+
* @minItems 1
|
|
3020
|
+
* @maxItems 100
|
|
3021
|
+
*/
|
|
3022
|
+
edits?: [
|
|
3023
|
+
{
|
|
3024
|
+
/**
|
|
3025
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3026
|
+
*/
|
|
3027
|
+
old_string: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* Text to put in its place
|
|
3030
|
+
*/
|
|
3031
|
+
new_string: string;
|
|
3032
|
+
},
|
|
3033
|
+
...{
|
|
3034
|
+
/**
|
|
3035
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3036
|
+
*/
|
|
3037
|
+
old_string: string;
|
|
3038
|
+
/**
|
|
3039
|
+
* Text to put in its place
|
|
3040
|
+
*/
|
|
3041
|
+
new_string: string;
|
|
3042
|
+
}[]
|
|
3043
|
+
];
|
|
3044
|
+
/**
|
|
3045
|
+
* For a new skill or a full rewrite. 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.
|
|
3018
3046
|
*/
|
|
3019
|
-
skillMd
|
|
3047
|
+
skillMd?: string;
|
|
3020
3048
|
}
|
|
3021
3049
|
]
|
|
3022
3050
|
| [
|
|
@@ -3039,9 +3067,37 @@ export interface ProposeSkillsInput {
|
|
|
3039
3067
|
*/
|
|
3040
3068
|
evidence?: string[];
|
|
3041
3069
|
/**
|
|
3042
|
-
*
|
|
3070
|
+
* For an improvement, in place of skillMd: your changes to the skill's SKILL.md, applied in order. They apply to that file as it is now, not to an earlier proposal of yours. The card shows the whole updated file. The name and description come from the fields above, not from the frontmatter.
|
|
3071
|
+
*
|
|
3072
|
+
* @minItems 1
|
|
3073
|
+
* @maxItems 100
|
|
3043
3074
|
*/
|
|
3044
|
-
|
|
3075
|
+
edits?: [
|
|
3076
|
+
{
|
|
3077
|
+
/**
|
|
3078
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3079
|
+
*/
|
|
3080
|
+
old_string: string;
|
|
3081
|
+
/**
|
|
3082
|
+
* Text to put in its place
|
|
3083
|
+
*/
|
|
3084
|
+
new_string: string;
|
|
3085
|
+
},
|
|
3086
|
+
...{
|
|
3087
|
+
/**
|
|
3088
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3089
|
+
*/
|
|
3090
|
+
old_string: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* Text to put in its place
|
|
3093
|
+
*/
|
|
3094
|
+
new_string: string;
|
|
3095
|
+
}[]
|
|
3096
|
+
];
|
|
3097
|
+
/**
|
|
3098
|
+
* For a new skill or a full rewrite. 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.
|
|
3099
|
+
*/
|
|
3100
|
+
skillMd?: string;
|
|
3045
3101
|
},
|
|
3046
3102
|
{
|
|
3047
3103
|
/**
|
|
@@ -3062,9 +3118,37 @@ export interface ProposeSkillsInput {
|
|
|
3062
3118
|
*/
|
|
3063
3119
|
evidence?: string[];
|
|
3064
3120
|
/**
|
|
3065
|
-
*
|
|
3121
|
+
* For an improvement, in place of skillMd: your changes to the skill's SKILL.md, applied in order. They apply to that file as it is now, not to an earlier proposal of yours. The card shows the whole updated file. The name and description come from the fields above, not from the frontmatter.
|
|
3122
|
+
*
|
|
3123
|
+
* @minItems 1
|
|
3124
|
+
* @maxItems 100
|
|
3125
|
+
*/
|
|
3126
|
+
edits?: [
|
|
3127
|
+
{
|
|
3128
|
+
/**
|
|
3129
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3130
|
+
*/
|
|
3131
|
+
old_string: string;
|
|
3132
|
+
/**
|
|
3133
|
+
* Text to put in its place
|
|
3134
|
+
*/
|
|
3135
|
+
new_string: string;
|
|
3136
|
+
},
|
|
3137
|
+
...{
|
|
3138
|
+
/**
|
|
3139
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3140
|
+
*/
|
|
3141
|
+
old_string: string;
|
|
3142
|
+
/**
|
|
3143
|
+
* Text to put in its place
|
|
3144
|
+
*/
|
|
3145
|
+
new_string: string;
|
|
3146
|
+
}[]
|
|
3147
|
+
];
|
|
3148
|
+
/**
|
|
3149
|
+
* For a new skill or a full rewrite. 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.
|
|
3066
3150
|
*/
|
|
3067
|
-
skillMd
|
|
3151
|
+
skillMd?: string;
|
|
3068
3152
|
}
|
|
3069
3153
|
]
|
|
3070
3154
|
| [
|
|
@@ -3087,9 +3171,37 @@ export interface ProposeSkillsInput {
|
|
|
3087
3171
|
*/
|
|
3088
3172
|
evidence?: string[];
|
|
3089
3173
|
/**
|
|
3090
|
-
*
|
|
3174
|
+
* For an improvement, in place of skillMd: your changes to the skill's SKILL.md, applied in order. They apply to that file as it is now, not to an earlier proposal of yours. The card shows the whole updated file. The name and description come from the fields above, not from the frontmatter.
|
|
3175
|
+
*
|
|
3176
|
+
* @minItems 1
|
|
3177
|
+
* @maxItems 100
|
|
3178
|
+
*/
|
|
3179
|
+
edits?: [
|
|
3180
|
+
{
|
|
3181
|
+
/**
|
|
3182
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3183
|
+
*/
|
|
3184
|
+
old_string: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* Text to put in its place
|
|
3187
|
+
*/
|
|
3188
|
+
new_string: string;
|
|
3189
|
+
},
|
|
3190
|
+
...{
|
|
3191
|
+
/**
|
|
3192
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3193
|
+
*/
|
|
3194
|
+
old_string: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* Text to put in its place
|
|
3197
|
+
*/
|
|
3198
|
+
new_string: string;
|
|
3199
|
+
}[]
|
|
3200
|
+
];
|
|
3201
|
+
/**
|
|
3202
|
+
* For a new skill or a full rewrite. 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.
|
|
3091
3203
|
*/
|
|
3092
|
-
skillMd
|
|
3204
|
+
skillMd?: string;
|
|
3093
3205
|
},
|
|
3094
3206
|
{
|
|
3095
3207
|
/**
|
|
@@ -3110,9 +3222,37 @@ export interface ProposeSkillsInput {
|
|
|
3110
3222
|
*/
|
|
3111
3223
|
evidence?: string[];
|
|
3112
3224
|
/**
|
|
3113
|
-
*
|
|
3225
|
+
* For an improvement, in place of skillMd: your changes to the skill's SKILL.md, applied in order. They apply to that file as it is now, not to an earlier proposal of yours. The card shows the whole updated file. The name and description come from the fields above, not from the frontmatter.
|
|
3226
|
+
*
|
|
3227
|
+
* @minItems 1
|
|
3228
|
+
* @maxItems 100
|
|
3114
3229
|
*/
|
|
3115
|
-
|
|
3230
|
+
edits?: [
|
|
3231
|
+
{
|
|
3232
|
+
/**
|
|
3233
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3234
|
+
*/
|
|
3235
|
+
old_string: string;
|
|
3236
|
+
/**
|
|
3237
|
+
* Text to put in its place
|
|
3238
|
+
*/
|
|
3239
|
+
new_string: string;
|
|
3240
|
+
},
|
|
3241
|
+
...{
|
|
3242
|
+
/**
|
|
3243
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3244
|
+
*/
|
|
3245
|
+
old_string: string;
|
|
3246
|
+
/**
|
|
3247
|
+
* Text to put in its place
|
|
3248
|
+
*/
|
|
3249
|
+
new_string: string;
|
|
3250
|
+
}[]
|
|
3251
|
+
];
|
|
3252
|
+
/**
|
|
3253
|
+
* For a new skill or a full rewrite. 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.
|
|
3254
|
+
*/
|
|
3255
|
+
skillMd?: string;
|
|
3116
3256
|
},
|
|
3117
3257
|
{
|
|
3118
3258
|
/**
|
|
@@ -3133,9 +3273,37 @@ export interface ProposeSkillsInput {
|
|
|
3133
3273
|
*/
|
|
3134
3274
|
evidence?: string[];
|
|
3135
3275
|
/**
|
|
3136
|
-
*
|
|
3276
|
+
* For an improvement, in place of skillMd: your changes to the skill's SKILL.md, applied in order. They apply to that file as it is now, not to an earlier proposal of yours. The card shows the whole updated file. The name and description come from the fields above, not from the frontmatter.
|
|
3277
|
+
*
|
|
3278
|
+
* @minItems 1
|
|
3279
|
+
* @maxItems 100
|
|
3280
|
+
*/
|
|
3281
|
+
edits?: [
|
|
3282
|
+
{
|
|
3283
|
+
/**
|
|
3284
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3285
|
+
*/
|
|
3286
|
+
old_string: string;
|
|
3287
|
+
/**
|
|
3288
|
+
* Text to put in its place
|
|
3289
|
+
*/
|
|
3290
|
+
new_string: string;
|
|
3291
|
+
},
|
|
3292
|
+
...{
|
|
3293
|
+
/**
|
|
3294
|
+
* Text to replace. It must occur exactly once in that SKILL.md
|
|
3295
|
+
*/
|
|
3296
|
+
old_string: string;
|
|
3297
|
+
/**
|
|
3298
|
+
* Text to put in its place
|
|
3299
|
+
*/
|
|
3300
|
+
new_string: string;
|
|
3301
|
+
}[]
|
|
3302
|
+
];
|
|
3303
|
+
/**
|
|
3304
|
+
* For a new skill or a full rewrite. 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.
|
|
3137
3305
|
*/
|
|
3138
|
-
skillMd
|
|
3306
|
+
skillMd?: string;
|
|
3139
3307
|
}
|
|
3140
3308
|
];
|
|
3141
3309
|
}
|