@anthropic-ai/claude-agent-sdk 0.3.210 → 0.3.212
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.d.ts +8 -6
- package/bridge.mjs +69 -69
- package/browser-sdk.js +36 -36
- package/manifest.json +19 -19
- package/manifest.zst.json +23 -23
- package/package.json +10 -10
- package/sdk-tools.d.ts +233 -3
- package/sdk.d.ts +64 -6
- package/sdk.mjs +78 -59
package/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-07-
|
|
2
|
+
"version": "2.1.212",
|
|
3
|
+
"commit": "8b2783a8f907ce5c5ad1241ecdbab0ff3301c617",
|
|
4
|
+
"buildDate": "2026-07-16T16:50:33Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "09ecba2ab2df9b6ee5b0695e26f65dea60fb3b6af3d3542ee09f466838d1e574",
|
|
9
|
+
"size": 244530512
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "7681a0634c89fa4474e53c0c794e992944aebf3409a7a2b87ea9f9b0194ea341",
|
|
14
|
+
"size": 254080272
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "66e88634a8573a002702e6a9de0d80cb9bb7c9072f9e6f4486778539057dfd3c",
|
|
19
|
+
"size": 260946672
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "044a88cf3a5180776617fd3da1238dcbf9141ddec449a39cf7d2af1ac78e684e",
|
|
24
|
+
"size": 264096568
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "6996b65fc90aa1e0b8f80824df77295d93fa43b12388915a762b58fd982a1d16",
|
|
29
|
+
"size": 254194872
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "a17757970a1f7ef0c47a31ea8fa40798fd7796854ba9422e1a4175f3f149de2c",
|
|
34
|
+
"size": 258756992
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "fe639693fd7e9a881c799867711abb7666dec2a5fefbaba41af6a09e71bcbefa",
|
|
39
|
+
"size": 255334560
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "adaa6e3dadb8016755ccd1907a5f249c1bc9bdb6c71d3f7dcea7d5db8f72d0a5",
|
|
44
|
+
"size": 249684640
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"sdkCompat": {
|
package/manifest.zst.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-07-
|
|
2
|
+
"version": "2.1.212",
|
|
3
|
+
"commit": "8b2783a8f907ce5c5ad1241ecdbab0ff3301c617",
|
|
4
|
+
"buildDate": "2026-07-16T16:52:29Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "4afeb33da8c8d0fbf9842cfa2fad92e9bac12f64ed1a641f40ac4d96f7f56b83",
|
|
9
|
+
"size": 50362208,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "1e94f91aa86cd787e51ade2c6a16f7f6b5afa76c9a711fe6e52d3fbca781337d",
|
|
12
|
+
"size": 50361635
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "e8e49c3af629ff02294ca185b772e26f9536197a0b31b938ed5f248e9284169f",
|
|
18
|
+
"size": 54828362,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "767e1e6699a6eb4ca3e47dc4f6387784ba61885c9bb712ab22ee48947a24de38",
|
|
21
|
+
"size": 54840118
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "049caf6fd9d1f3546357a2320b4b1fb9ebc22a25a7a1f68145a61d4afd817671",
|
|
27
|
+
"size": 59416638
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "c032c91ff8aec8bde1268894fb814feca72c2fb1c23a72170614f1c0653752f7",
|
|
32
|
+
"size": 60717166
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "78005d68d8d6946f799a7d2b2623f3ba5e83307d5e3ac841c7a8123dffe34568",
|
|
37
|
+
"size": 58118921
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "cf43fc080395b8bf6244be1bb6533d106f7d270851cc6666f196adb8b87e3189",
|
|
42
|
+
"size": 59510975
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "c50a658c6d0316cf13baed33b6b647d014202aaf99ffa0f235c9371824cf84d4",
|
|
47
|
+
"size": 61087093
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "bb2c14cfbdf5efa277555e13c8f48461593d9e31ac6f4240340e3803ce059620",
|
|
52
|
+
"size": 59085353
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"sdkCompat": {
|
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.212",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"zod": "^4.0.0"
|
|
58
58
|
},
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.
|
|
61
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
62
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
63
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
60
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.212",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.212",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.212",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.212",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.212",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.212",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.212",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.212"
|
|
68
68
|
},
|
|
69
69
|
"files": [
|
|
70
70
|
"sdk.mjs",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"manifest.json",
|
|
81
81
|
"manifest.zst.json"
|
|
82
82
|
],
|
|
83
|
-
"claudeCodeVersion": "2.1.
|
|
83
|
+
"claudeCodeVersion": "2.1.212"
|
|
84
84
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export type ToolInputSchemas =
|
|
|
20
20
|
| GrepInput
|
|
21
21
|
| TaskStopInput
|
|
22
22
|
| ListMcpResourcesInput
|
|
23
|
+
| RefreshMcpToolsInput
|
|
23
24
|
| McpInput
|
|
24
25
|
| NotebookEditInput
|
|
25
26
|
| ReadMcpResourceDirInput
|
|
@@ -29,6 +30,7 @@ export type ToolInputSchemas =
|
|
|
29
30
|
| WebFetchInput
|
|
30
31
|
| WebSearchInput
|
|
31
32
|
| AskUserQuestionInput
|
|
33
|
+
| SendFeedbackInput
|
|
32
34
|
| ClaudeDesignInput
|
|
33
35
|
| ProjectsInput
|
|
34
36
|
| EnterPlanModeInput
|
|
@@ -45,6 +47,7 @@ export type ToolInputSchemas =
|
|
|
45
47
|
| RemoteTriggerInput
|
|
46
48
|
| ShowOnboardingRolePickerInput
|
|
47
49
|
| MonitorInput
|
|
50
|
+
| ProposeSkillsInput
|
|
48
51
|
| ArtifactInput
|
|
49
52
|
| PushNotificationInput
|
|
50
53
|
| EnterWorktreeInput
|
|
@@ -61,6 +64,7 @@ export type ToolOutputSchemas =
|
|
|
61
64
|
| GrepOutput
|
|
62
65
|
| TaskStopOutput
|
|
63
66
|
| ListMcpResourcesOutput
|
|
67
|
+
| RefreshMcpToolsOutput
|
|
64
68
|
| McpOutput
|
|
65
69
|
| NotebookEditOutput
|
|
66
70
|
| ReadMcpResourceDirOutput
|
|
@@ -70,6 +74,7 @@ export type ToolOutputSchemas =
|
|
|
70
74
|
| WebFetchOutput
|
|
71
75
|
| WebSearchOutput
|
|
72
76
|
| AskUserQuestionOutput
|
|
77
|
+
| SendFeedbackOutput
|
|
73
78
|
| EnterWorktreeOutput
|
|
74
79
|
| ExitWorktreeOutput
|
|
75
80
|
| TaskCreateOutput
|
|
@@ -81,6 +86,7 @@ export type ToolOutputSchemas =
|
|
|
81
86
|
| ShowOnboardingRolePickerOutput
|
|
82
87
|
| ScheduleWakeupOutput
|
|
83
88
|
| MonitorOutput
|
|
89
|
+
| ProposeSkillsOutput
|
|
84
90
|
| EnterPlanModeOutput
|
|
85
91
|
| REPLOutput
|
|
86
92
|
| WorkflowOutput
|
|
@@ -100,6 +106,7 @@ export type AgentOutput =
|
|
|
100
106
|
citations?: unknown[] | null;
|
|
101
107
|
}[];
|
|
102
108
|
resolvedModel?: string;
|
|
109
|
+
modelsUsed?: string[];
|
|
103
110
|
totalToolUseCount: number;
|
|
104
111
|
totalDurationMs: number;
|
|
105
112
|
totalTokens: number;
|
|
@@ -148,9 +155,13 @@ export type AgentOutput =
|
|
|
148
155
|
*/
|
|
149
156
|
description: string;
|
|
150
157
|
/**
|
|
151
|
-
* Model the
|
|
158
|
+
* Model in use at the backgrounding transition (a pre-background swap is reflected here)
|
|
152
159
|
*/
|
|
153
160
|
resolvedModel?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Ordered distinct models used before backgrounding (length > 1 means a mid-run swap)
|
|
163
|
+
*/
|
|
164
|
+
modelsUsed?: string[];
|
|
154
165
|
/**
|
|
155
166
|
* The prompt for the agent
|
|
156
167
|
*/
|
|
@@ -341,6 +352,32 @@ export type ListMcpResourcesOutput = {
|
|
|
341
352
|
*/
|
|
342
353
|
server: string;
|
|
343
354
|
}[];
|
|
355
|
+
export type RefreshMcpToolsOutput = {
|
|
356
|
+
/**
|
|
357
|
+
* Server name
|
|
358
|
+
*/
|
|
359
|
+
server: string;
|
|
360
|
+
/**
|
|
361
|
+
* refreshed: tool list re-queried and applied. error: the re-query failed and the previous tool set was kept. not_connected: the server has no live connection to query (this tool never dials).
|
|
362
|
+
*/
|
|
363
|
+
status: "refreshed" | "error" | "not_connected";
|
|
364
|
+
/**
|
|
365
|
+
* Number of tools now available from this server
|
|
366
|
+
*/
|
|
367
|
+
toolCount?: number;
|
|
368
|
+
/**
|
|
369
|
+
* Tool names this refresh added
|
|
370
|
+
*/
|
|
371
|
+
added?: string[];
|
|
372
|
+
/**
|
|
373
|
+
* Tool names this refresh removed
|
|
374
|
+
*/
|
|
375
|
+
removed?: string[];
|
|
376
|
+
/**
|
|
377
|
+
* Why the refresh failed or the server was unavailable
|
|
378
|
+
*/
|
|
379
|
+
error?: string;
|
|
380
|
+
}[];
|
|
344
381
|
/**
|
|
345
382
|
* MCP tool execution result
|
|
346
383
|
*/
|
|
@@ -473,7 +510,7 @@ export interface AgentInput {
|
|
|
473
510
|
*/
|
|
474
511
|
team_name?: string;
|
|
475
512
|
/**
|
|
476
|
-
*
|
|
513
|
+
* Deprecated; ignored. Subagents inherit the parent session's permission mode; agent-definition frontmatter may override it.
|
|
477
514
|
*/
|
|
478
515
|
mode?: "acceptEdits" | "auto" | "bypassPermissions" | "default" | "dontAsk" | "plan" | "bubble";
|
|
479
516
|
/**
|
|
@@ -677,6 +714,12 @@ export interface ListMcpResourcesInput {
|
|
|
677
714
|
*/
|
|
678
715
|
server?: string;
|
|
679
716
|
}
|
|
717
|
+
export interface RefreshMcpToolsInput {
|
|
718
|
+
/**
|
|
719
|
+
* Optional server name: refresh only this server. Omit to refresh all connected servers.
|
|
720
|
+
*/
|
|
721
|
+
server?: string;
|
|
722
|
+
}
|
|
680
723
|
export interface McpInput {
|
|
681
724
|
[k: string]: unknown;
|
|
682
725
|
}
|
|
@@ -745,6 +788,10 @@ export interface ReportFindingsInput {
|
|
|
745
788
|
* One-sentence statement of the defect
|
|
746
789
|
*/
|
|
747
790
|
summary: string;
|
|
791
|
+
/**
|
|
792
|
+
* Compressed label for compact UI (≤60 chars): the claim alone, no rationale or consequence clause
|
|
793
|
+
*/
|
|
794
|
+
short_summary?: string;
|
|
748
795
|
/**
|
|
749
796
|
* Concrete inputs/state → wrong output/crash
|
|
750
797
|
*/
|
|
@@ -2374,6 +2421,24 @@ export interface AskUserQuestionInput {
|
|
|
2374
2421
|
source?: string;
|
|
2375
2422
|
};
|
|
2376
2423
|
}
|
|
2424
|
+
export interface SendFeedbackInput {
|
|
2425
|
+
/**
|
|
2426
|
+
* What kind of feedback this is.
|
|
2427
|
+
*/
|
|
2428
|
+
type: "bug" | "idea" | "missing_capability";
|
|
2429
|
+
/**
|
|
2430
|
+
* Short, specific one-line summary of the issue.
|
|
2431
|
+
*/
|
|
2432
|
+
title: string;
|
|
2433
|
+
/**
|
|
2434
|
+
* Factual, reproducible report: what was attempted, what happened, exact error text if short, repro steps. No speculation, no secrets.
|
|
2435
|
+
*/
|
|
2436
|
+
details: string;
|
|
2437
|
+
/**
|
|
2438
|
+
* Optional short tag naming the part of Claude Code this is about (e.g. "hooks config", "/help", "file editing"). Leave blank if unclear.
|
|
2439
|
+
*/
|
|
2440
|
+
area?: string;
|
|
2441
|
+
}
|
|
2377
2442
|
export interface ClaudeDesignInput {
|
|
2378
2443
|
/**
|
|
2379
2444
|
* Claude Design action to perform. Call with "list" first to discover the available operations and their argument schemas.
|
|
@@ -2609,6 +2674,157 @@ export interface MonitorInput {
|
|
|
2609
2674
|
protocols?: string[];
|
|
2610
2675
|
};
|
|
2611
2676
|
}
|
|
2677
|
+
export interface ProposeSkillsInput {
|
|
2678
|
+
/**
|
|
2679
|
+
* @minItems 1
|
|
2680
|
+
* @maxItems 3
|
|
2681
|
+
*/
|
|
2682
|
+
proposals:
|
|
2683
|
+
| [
|
|
2684
|
+
{
|
|
2685
|
+
/**
|
|
2686
|
+
* kebab-case skill slug
|
|
2687
|
+
*/
|
|
2688
|
+
name: string;
|
|
2689
|
+
kind: "new" | "improvement";
|
|
2690
|
+
/**
|
|
2691
|
+
* Existing skill name to amend. Required when kind is 'improvement'; omit for 'new'.
|
|
2692
|
+
*/
|
|
2693
|
+
target?: string;
|
|
2694
|
+
/**
|
|
2695
|
+
* one line shown on the card
|
|
2696
|
+
*/
|
|
2697
|
+
description: string;
|
|
2698
|
+
/**
|
|
2699
|
+
* memory file paths where this procedure was observed
|
|
2700
|
+
*/
|
|
2701
|
+
evidence?: string[];
|
|
2702
|
+
/**
|
|
2703
|
+
* complete SKILL.md draft (frontmatter + Trigger/Steps/Verification body)
|
|
2704
|
+
*/
|
|
2705
|
+
skillMd: string;
|
|
2706
|
+
}
|
|
2707
|
+
]
|
|
2708
|
+
| [
|
|
2709
|
+
{
|
|
2710
|
+
/**
|
|
2711
|
+
* kebab-case skill slug
|
|
2712
|
+
*/
|
|
2713
|
+
name: string;
|
|
2714
|
+
kind: "new" | "improvement";
|
|
2715
|
+
/**
|
|
2716
|
+
* Existing skill name to amend. Required when kind is 'improvement'; omit for 'new'.
|
|
2717
|
+
*/
|
|
2718
|
+
target?: string;
|
|
2719
|
+
/**
|
|
2720
|
+
* one line shown on the card
|
|
2721
|
+
*/
|
|
2722
|
+
description: string;
|
|
2723
|
+
/**
|
|
2724
|
+
* memory file paths where this procedure was observed
|
|
2725
|
+
*/
|
|
2726
|
+
evidence?: string[];
|
|
2727
|
+
/**
|
|
2728
|
+
* complete SKILL.md draft (frontmatter + Trigger/Steps/Verification body)
|
|
2729
|
+
*/
|
|
2730
|
+
skillMd: string;
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
/**
|
|
2734
|
+
* kebab-case skill slug
|
|
2735
|
+
*/
|
|
2736
|
+
name: string;
|
|
2737
|
+
kind: "new" | "improvement";
|
|
2738
|
+
/**
|
|
2739
|
+
* Existing skill name to amend. Required when kind is 'improvement'; omit for 'new'.
|
|
2740
|
+
*/
|
|
2741
|
+
target?: string;
|
|
2742
|
+
/**
|
|
2743
|
+
* one line shown on the card
|
|
2744
|
+
*/
|
|
2745
|
+
description: string;
|
|
2746
|
+
/**
|
|
2747
|
+
* memory file paths where this procedure was observed
|
|
2748
|
+
*/
|
|
2749
|
+
evidence?: string[];
|
|
2750
|
+
/**
|
|
2751
|
+
* complete SKILL.md draft (frontmatter + Trigger/Steps/Verification body)
|
|
2752
|
+
*/
|
|
2753
|
+
skillMd: string;
|
|
2754
|
+
}
|
|
2755
|
+
]
|
|
2756
|
+
| [
|
|
2757
|
+
{
|
|
2758
|
+
/**
|
|
2759
|
+
* kebab-case skill slug
|
|
2760
|
+
*/
|
|
2761
|
+
name: string;
|
|
2762
|
+
kind: "new" | "improvement";
|
|
2763
|
+
/**
|
|
2764
|
+
* Existing skill name to amend. Required when kind is 'improvement'; omit for 'new'.
|
|
2765
|
+
*/
|
|
2766
|
+
target?: string;
|
|
2767
|
+
/**
|
|
2768
|
+
* one line shown on the card
|
|
2769
|
+
*/
|
|
2770
|
+
description: string;
|
|
2771
|
+
/**
|
|
2772
|
+
* memory file paths where this procedure was observed
|
|
2773
|
+
*/
|
|
2774
|
+
evidence?: string[];
|
|
2775
|
+
/**
|
|
2776
|
+
* complete SKILL.md draft (frontmatter + Trigger/Steps/Verification body)
|
|
2777
|
+
*/
|
|
2778
|
+
skillMd: string;
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
/**
|
|
2782
|
+
* kebab-case skill slug
|
|
2783
|
+
*/
|
|
2784
|
+
name: string;
|
|
2785
|
+
kind: "new" | "improvement";
|
|
2786
|
+
/**
|
|
2787
|
+
* Existing skill name to amend. Required when kind is 'improvement'; omit for 'new'.
|
|
2788
|
+
*/
|
|
2789
|
+
target?: string;
|
|
2790
|
+
/**
|
|
2791
|
+
* one line shown on the card
|
|
2792
|
+
*/
|
|
2793
|
+
description: string;
|
|
2794
|
+
/**
|
|
2795
|
+
* memory file paths where this procedure was observed
|
|
2796
|
+
*/
|
|
2797
|
+
evidence?: string[];
|
|
2798
|
+
/**
|
|
2799
|
+
* complete SKILL.md draft (frontmatter + Trigger/Steps/Verification body)
|
|
2800
|
+
*/
|
|
2801
|
+
skillMd: string;
|
|
2802
|
+
},
|
|
2803
|
+
{
|
|
2804
|
+
/**
|
|
2805
|
+
* kebab-case skill slug
|
|
2806
|
+
*/
|
|
2807
|
+
name: string;
|
|
2808
|
+
kind: "new" | "improvement";
|
|
2809
|
+
/**
|
|
2810
|
+
* Existing skill name to amend. Required when kind is 'improvement'; omit for 'new'.
|
|
2811
|
+
*/
|
|
2812
|
+
target?: string;
|
|
2813
|
+
/**
|
|
2814
|
+
* one line shown on the card
|
|
2815
|
+
*/
|
|
2816
|
+
description: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* memory file paths where this procedure was observed
|
|
2819
|
+
*/
|
|
2820
|
+
evidence?: string[];
|
|
2821
|
+
/**
|
|
2822
|
+
* complete SKILL.md draft (frontmatter + Trigger/Steps/Verification body)
|
|
2823
|
+
*/
|
|
2824
|
+
skillMd: string;
|
|
2825
|
+
}
|
|
2826
|
+
];
|
|
2827
|
+
}
|
|
2612
2828
|
export interface ArtifactInput {
|
|
2613
2829
|
/**
|
|
2614
2830
|
* Omit (or 'publish') to publish file_path. 'list' enumerates artifacts — the user's own by default, see `scope`; only `limit` and `scope` may accompany it.
|
|
@@ -2647,7 +2863,7 @@ export interface ArtifactInput {
|
|
|
2647
2863
|
*/
|
|
2648
2864
|
url?: string;
|
|
2649
2865
|
/**
|
|
2650
|
-
* Overwrite without a conflict check. Use only after a 409 when you have reconciled with the other session's version and intend to replace it. Omit (or false)
|
|
2866
|
+
* Overwrite without a conflict check. Use only after a 409 when you have reconciled with the other session's version and intend to replace it. The tracked baseVersion is always sent; with force:true the server treats it as informational and overwrites. Omit (or false) so a concurrent write 409s instead of being silently clobbered.
|
|
2651
2867
|
*/
|
|
2652
2868
|
force?: boolean;
|
|
2653
2869
|
}
|
|
@@ -3067,6 +3283,10 @@ export interface ReportFindingsOutput {
|
|
|
3067
3283
|
* One-sentence statement of the defect
|
|
3068
3284
|
*/
|
|
3069
3285
|
summary: string;
|
|
3286
|
+
/**
|
|
3287
|
+
* Compressed label for compact UI (≤60 chars): the claim alone, no rationale or consequence clause
|
|
3288
|
+
*/
|
|
3289
|
+
short_summary?: string;
|
|
3070
3290
|
/**
|
|
3071
3291
|
* Concrete inputs/state → wrong output/crash
|
|
3072
3292
|
*/
|
|
@@ -3359,6 +3579,10 @@ export interface AskUserQuestionOutput {
|
|
|
3359
3579
|
*/
|
|
3360
3580
|
afkTimeoutMs?: number;
|
|
3361
3581
|
}
|
|
3582
|
+
export interface SendFeedbackOutput {
|
|
3583
|
+
success: boolean;
|
|
3584
|
+
message: string;
|
|
3585
|
+
}
|
|
3362
3586
|
export interface EnterWorktreeOutput {
|
|
3363
3587
|
worktreePath: string;
|
|
3364
3588
|
worktreeBranch?: string;
|
|
@@ -3454,6 +3678,12 @@ export interface MonitorOutput {
|
|
|
3454
3678
|
*/
|
|
3455
3679
|
persistent?: boolean;
|
|
3456
3680
|
}
|
|
3681
|
+
export interface ProposeSkillsOutput {
|
|
3682
|
+
/**
|
|
3683
|
+
* Number of proposals shown on the review card
|
|
3684
|
+
*/
|
|
3685
|
+
proposalCount: number;
|
|
3686
|
+
}
|
|
3457
3687
|
export interface EnterPlanModeOutput {
|
|
3458
3688
|
/**
|
|
3459
3689
|
* Confirmation that plan mode was entered
|