@anthropic-ai/claude-code 2.1.193 → 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 +90 -1
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
|
|
@@ -2508,7 +2547,14 @@ export interface MonitorInput {
|
|
|
2508
2547
|
/**
|
|
2509
2548
|
* Shell command or script. Each stdout line is an event; exit ends the watch.
|
|
2510
2549
|
*/
|
|
2511
|
-
command
|
|
2550
|
+
command?: string;
|
|
2551
|
+
/**
|
|
2552
|
+
* WebSocket to open. Each text frame is an event; binary frames are reported as a placeholder line. Socket close ends the watch. Cannot be combined with command.
|
|
2553
|
+
*/
|
|
2554
|
+
ws?: {
|
|
2555
|
+
url: string;
|
|
2556
|
+
protocols?: string[];
|
|
2557
|
+
};
|
|
2512
2558
|
}
|
|
2513
2559
|
export interface ArtifactInput {
|
|
2514
2560
|
/**
|
|
@@ -2519,6 +2565,10 @@ export interface ArtifactInput {
|
|
|
2519
2565
|
* Browser-tab icon: one or two emoji (e.g. "📊"). No markup. Keep stable across redeploys; change only on a hard topic pivot.
|
|
2520
2566
|
*/
|
|
2521
2567
|
favicon: string;
|
|
2568
|
+
/**
|
|
2569
|
+
* One-sentence subtitle shown on the gallery card. Say what the page is or does.
|
|
2570
|
+
*/
|
|
2571
|
+
description?: string;
|
|
2522
2572
|
/**
|
|
2523
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.
|
|
2524
2574
|
*/
|
|
@@ -2913,6 +2963,45 @@ export interface ReadMcpResourceOutput {
|
|
|
2913
2963
|
*/
|
|
2914
2964
|
error?: string;
|
|
2915
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
|
+
}
|
|
2916
3005
|
export interface TodoWriteOutput {
|
|
2917
3006
|
/**
|
|
2918
3007
|
* The todo list before the update
|