@anthropic-ai/claude-agent-sdk 0.3.211 → 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/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 +199 -3
- package/sdk.d.ts +4 -0
- package/sdk.mjs +75 -56
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
|
@@ -30,6 +30,7 @@ export type ToolInputSchemas =
|
|
|
30
30
|
| WebFetchInput
|
|
31
31
|
| WebSearchInput
|
|
32
32
|
| AskUserQuestionInput
|
|
33
|
+
| SendFeedbackInput
|
|
33
34
|
| ClaudeDesignInput
|
|
34
35
|
| ProjectsInput
|
|
35
36
|
| EnterPlanModeInput
|
|
@@ -46,6 +47,7 @@ export type ToolInputSchemas =
|
|
|
46
47
|
| RemoteTriggerInput
|
|
47
48
|
| ShowOnboardingRolePickerInput
|
|
48
49
|
| MonitorInput
|
|
50
|
+
| ProposeSkillsInput
|
|
49
51
|
| ArtifactInput
|
|
50
52
|
| PushNotificationInput
|
|
51
53
|
| EnterWorktreeInput
|
|
@@ -72,6 +74,7 @@ export type ToolOutputSchemas =
|
|
|
72
74
|
| WebFetchOutput
|
|
73
75
|
| WebSearchOutput
|
|
74
76
|
| AskUserQuestionOutput
|
|
77
|
+
| SendFeedbackOutput
|
|
75
78
|
| EnterWorktreeOutput
|
|
76
79
|
| ExitWorktreeOutput
|
|
77
80
|
| TaskCreateOutput
|
|
@@ -83,6 +86,7 @@ export type ToolOutputSchemas =
|
|
|
83
86
|
| ShowOnboardingRolePickerOutput
|
|
84
87
|
| ScheduleWakeupOutput
|
|
85
88
|
| MonitorOutput
|
|
89
|
+
| ProposeSkillsOutput
|
|
86
90
|
| EnterPlanModeOutput
|
|
87
91
|
| REPLOutput
|
|
88
92
|
| WorkflowOutput
|
|
@@ -102,6 +106,7 @@ export type AgentOutput =
|
|
|
102
106
|
citations?: unknown[] | null;
|
|
103
107
|
}[];
|
|
104
108
|
resolvedModel?: string;
|
|
109
|
+
modelsUsed?: string[];
|
|
105
110
|
totalToolUseCount: number;
|
|
106
111
|
totalDurationMs: number;
|
|
107
112
|
totalTokens: number;
|
|
@@ -150,9 +155,13 @@ export type AgentOutput =
|
|
|
150
155
|
*/
|
|
151
156
|
description: string;
|
|
152
157
|
/**
|
|
153
|
-
* Model the
|
|
158
|
+
* Model in use at the backgrounding transition (a pre-background swap is reflected here)
|
|
154
159
|
*/
|
|
155
160
|
resolvedModel?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Ordered distinct models used before backgrounding (length > 1 means a mid-run swap)
|
|
163
|
+
*/
|
|
164
|
+
modelsUsed?: string[];
|
|
156
165
|
/**
|
|
157
166
|
* The prompt for the agent
|
|
158
167
|
*/
|
|
@@ -501,7 +510,7 @@ export interface AgentInput {
|
|
|
501
510
|
*/
|
|
502
511
|
team_name?: string;
|
|
503
512
|
/**
|
|
504
|
-
*
|
|
513
|
+
* Deprecated; ignored. Subagents inherit the parent session's permission mode; agent-definition frontmatter may override it.
|
|
505
514
|
*/
|
|
506
515
|
mode?: "acceptEdits" | "auto" | "bypassPermissions" | "default" | "dontAsk" | "plan" | "bubble";
|
|
507
516
|
/**
|
|
@@ -779,6 +788,10 @@ export interface ReportFindingsInput {
|
|
|
779
788
|
* One-sentence statement of the defect
|
|
780
789
|
*/
|
|
781
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;
|
|
782
795
|
/**
|
|
783
796
|
* Concrete inputs/state → wrong output/crash
|
|
784
797
|
*/
|
|
@@ -2408,6 +2421,24 @@ export interface AskUserQuestionInput {
|
|
|
2408
2421
|
source?: string;
|
|
2409
2422
|
};
|
|
2410
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
|
+
}
|
|
2411
2442
|
export interface ClaudeDesignInput {
|
|
2412
2443
|
/**
|
|
2413
2444
|
* Claude Design action to perform. Call with "list" first to discover the available operations and their argument schemas.
|
|
@@ -2643,6 +2674,157 @@ export interface MonitorInput {
|
|
|
2643
2674
|
protocols?: string[];
|
|
2644
2675
|
};
|
|
2645
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
|
+
}
|
|
2646
2828
|
export interface ArtifactInput {
|
|
2647
2829
|
/**
|
|
2648
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.
|
|
@@ -2681,7 +2863,7 @@ export interface ArtifactInput {
|
|
|
2681
2863
|
*/
|
|
2682
2864
|
url?: string;
|
|
2683
2865
|
/**
|
|
2684
|
-
* 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.
|
|
2685
2867
|
*/
|
|
2686
2868
|
force?: boolean;
|
|
2687
2869
|
}
|
|
@@ -3101,6 +3283,10 @@ export interface ReportFindingsOutput {
|
|
|
3101
3283
|
* One-sentence statement of the defect
|
|
3102
3284
|
*/
|
|
3103
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;
|
|
3104
3290
|
/**
|
|
3105
3291
|
* Concrete inputs/state → wrong output/crash
|
|
3106
3292
|
*/
|
|
@@ -3393,6 +3579,10 @@ export interface AskUserQuestionOutput {
|
|
|
3393
3579
|
*/
|
|
3394
3580
|
afkTimeoutMs?: number;
|
|
3395
3581
|
}
|
|
3582
|
+
export interface SendFeedbackOutput {
|
|
3583
|
+
success: boolean;
|
|
3584
|
+
message: string;
|
|
3585
|
+
}
|
|
3396
3586
|
export interface EnterWorktreeOutput {
|
|
3397
3587
|
worktreePath: string;
|
|
3398
3588
|
worktreeBranch?: string;
|
|
@@ -3488,6 +3678,12 @@ export interface MonitorOutput {
|
|
|
3488
3678
|
*/
|
|
3489
3679
|
persistent?: boolean;
|
|
3490
3680
|
}
|
|
3681
|
+
export interface ProposeSkillsOutput {
|
|
3682
|
+
/**
|
|
3683
|
+
* Number of proposals shown on the review card
|
|
3684
|
+
*/
|
|
3685
|
+
proposalCount: number;
|
|
3686
|
+
}
|
|
3491
3687
|
export interface EnterPlanModeOutput {
|
|
3492
3688
|
/**
|
|
3493
3689
|
* Confirmation that plan mode was entered
|
package/sdk.d.ts
CHANGED
|
@@ -6142,6 +6142,10 @@ export declare interface Settings {
|
|
|
6142
6142
|
* Probability (0–1) that the session quality survey appears when eligible. 0.05 is a reasonable starting point.
|
|
6143
6143
|
*/
|
|
6144
6144
|
feedbackSurveyRate?: number;
|
|
6145
|
+
/**
|
|
6146
|
+
* Model-drafted feedback (the SendFeedback tool). "notify" (default) shows a one-line notice when a draft is queued; "quiet" shows only the footer counter; "off" disables the tool entirely so drafts are never queued.
|
|
6147
|
+
*/
|
|
6148
|
+
feedbackDrafts?: 'notify' | 'quiet' | 'off';
|
|
6145
6149
|
/**
|
|
6146
6150
|
* Whether to show tips in the spinner
|
|
6147
6151
|
*/
|