@anthropic-ai/claude-code 2.1.195 → 2.1.196
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 +82 -0
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.196",
|
|
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.196",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.196",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.196",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.196",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.196",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.196",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.196",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.196"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export type ToolInputSchemas =
|
|
|
24
24
|
| NotebookEditInput
|
|
25
25
|
| ReadMcpResourceDirInput
|
|
26
26
|
| ReadMcpResourceInput
|
|
27
|
+
| ReportFindingsInput
|
|
27
28
|
| TodoWriteInput
|
|
28
29
|
| WebFetchInput
|
|
29
30
|
| WebSearchInput
|
|
@@ -63,6 +64,7 @@ export type ToolOutputSchemas =
|
|
|
63
64
|
| NotebookEditOutput
|
|
64
65
|
| ReadMcpResourceDirOutput
|
|
65
66
|
| ReadMcpResourceOutput
|
|
67
|
+
| ReportFindingsOutput
|
|
66
68
|
| TodoWriteOutput
|
|
67
69
|
| WebFetchOutput
|
|
68
70
|
| WebSearchOutput
|
|
@@ -687,6 +689,43 @@ export interface ReadMcpResourceInput {
|
|
|
687
689
|
*/
|
|
688
690
|
uri: string;
|
|
689
691
|
}
|
|
692
|
+
export interface ReportFindingsInput {
|
|
693
|
+
/**
|
|
694
|
+
* Effort level the review ran at
|
|
695
|
+
*/
|
|
696
|
+
level?: "low" | "medium" | "high" | "xhigh" | "max";
|
|
697
|
+
/**
|
|
698
|
+
* Verified findings, most-severe first; empty if none survived
|
|
699
|
+
*
|
|
700
|
+
* @maxItems 32
|
|
701
|
+
*/
|
|
702
|
+
findings: {
|
|
703
|
+
/**
|
|
704
|
+
* Repo-relative path of the file the finding is in
|
|
705
|
+
*/
|
|
706
|
+
file: string;
|
|
707
|
+
/**
|
|
708
|
+
* 1-indexed line the finding anchors to
|
|
709
|
+
*/
|
|
710
|
+
line?: number;
|
|
711
|
+
/**
|
|
712
|
+
* One-sentence statement of the defect
|
|
713
|
+
*/
|
|
714
|
+
summary: string;
|
|
715
|
+
/**
|
|
716
|
+
* Concrete inputs/state → wrong output/crash
|
|
717
|
+
*/
|
|
718
|
+
failure_scenario: string;
|
|
719
|
+
/**
|
|
720
|
+
* Set when a verify pass ran; absent on inline-only reviews
|
|
721
|
+
*/
|
|
722
|
+
verdict?: "CONFIRMED" | "PLAUSIBLE";
|
|
723
|
+
/**
|
|
724
|
+
* Set ONLY when re-reporting after applying fixes: what happened to this finding
|
|
725
|
+
*/
|
|
726
|
+
outcome?: "fixed" | "skipped" | "no_change_needed";
|
|
727
|
+
}[];
|
|
728
|
+
}
|
|
690
729
|
export interface TodoWriteInput {
|
|
691
730
|
/**
|
|
692
731
|
* The updated todo list
|
|
@@ -2526,6 +2565,10 @@ export interface ArtifactInput {
|
|
|
2526
2565
|
* Browser-tab icon: one or two emoji (e.g. "📊"). No markup. Keep stable across redeploys; change only on a hard topic pivot.
|
|
2527
2566
|
*/
|
|
2528
2567
|
favicon: string;
|
|
2568
|
+
/**
|
|
2569
|
+
* One-sentence subtitle shown on the gallery card. Say what the page is or does.
|
|
2570
|
+
*/
|
|
2571
|
+
description?: string;
|
|
2529
2572
|
/**
|
|
2530
2573
|
* Short human-readable name for this version, max 60 chars (e.g. "fixed-background"). Shown in the version picker. Not a description — keep it to a few words.
|
|
2531
2574
|
*/
|
|
@@ -2920,6 +2963,45 @@ export interface ReadMcpResourceOutput {
|
|
|
2920
2963
|
*/
|
|
2921
2964
|
error?: string;
|
|
2922
2965
|
}
|
|
2966
|
+
export interface ReportFindingsOutput {
|
|
2967
|
+
/**
|
|
2968
|
+
* Number of findings reported
|
|
2969
|
+
*/
|
|
2970
|
+
count: number;
|
|
2971
|
+
/**
|
|
2972
|
+
* Effort level the review ran at
|
|
2973
|
+
*/
|
|
2974
|
+
level?: "low" | "medium" | "high" | "xhigh" | "max";
|
|
2975
|
+
/**
|
|
2976
|
+
* Echoed for the result body
|
|
2977
|
+
*/
|
|
2978
|
+
findings: {
|
|
2979
|
+
/**
|
|
2980
|
+
* Repo-relative path of the file the finding is in
|
|
2981
|
+
*/
|
|
2982
|
+
file: string;
|
|
2983
|
+
/**
|
|
2984
|
+
* 1-indexed line the finding anchors to
|
|
2985
|
+
*/
|
|
2986
|
+
line?: number;
|
|
2987
|
+
/**
|
|
2988
|
+
* One-sentence statement of the defect
|
|
2989
|
+
*/
|
|
2990
|
+
summary: string;
|
|
2991
|
+
/**
|
|
2992
|
+
* Concrete inputs/state → wrong output/crash
|
|
2993
|
+
*/
|
|
2994
|
+
failure_scenario: string;
|
|
2995
|
+
/**
|
|
2996
|
+
* Set when a verify pass ran; absent on inline-only reviews
|
|
2997
|
+
*/
|
|
2998
|
+
verdict?: "CONFIRMED" | "PLAUSIBLE";
|
|
2999
|
+
/**
|
|
3000
|
+
* Set ONLY when re-reporting after applying fixes: what happened to this finding
|
|
3001
|
+
*/
|
|
3002
|
+
outcome?: "fixed" | "skipped" | "no_change_needed";
|
|
3003
|
+
}[];
|
|
3004
|
+
}
|
|
2923
3005
|
export interface TodoWriteOutput {
|
|
2924
3006
|
/**
|
|
2925
3007
|
* The todo list before the update
|