@anthropic-ai/claude-code 2.1.198 → 2.1.200
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 +36 -14
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.200",
|
|
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.200",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.200",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.200",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.200",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.200",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.200",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.200",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.200"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export type ToolInputSchemas =
|
|
|
29
29
|
| WebFetchInput
|
|
30
30
|
| WebSearchInput
|
|
31
31
|
| AskUserQuestionInput
|
|
32
|
+
| ClaudeDesignInput
|
|
32
33
|
| ProjectsInput
|
|
33
34
|
| EnterPlanModeInput
|
|
34
35
|
| TaskCreateInput
|
|
@@ -87,6 +88,7 @@ export type ToolOutputSchemas =
|
|
|
87
88
|
| CronDeleteOutput
|
|
88
89
|
| CronListOutput
|
|
89
90
|
| PushNotificationOutput
|
|
91
|
+
| ClaudeDesignOutput
|
|
90
92
|
| ProjectsOutput;
|
|
91
93
|
export type AgentOutput =
|
|
92
94
|
| {
|
|
@@ -304,6 +306,10 @@ export type FileReadOutput =
|
|
|
304
306
|
*/
|
|
305
307
|
filePath: string;
|
|
306
308
|
};
|
|
309
|
+
/**
|
|
310
|
+
* Set when the dedup matched a startup-seeded entry (CLAUDE.md / nested memory) rather than a prior Read tool_result
|
|
311
|
+
*/
|
|
312
|
+
source?: "seeded";
|
|
307
313
|
};
|
|
308
314
|
export type ListMcpResourcesOutput = {
|
|
309
315
|
/**
|
|
@@ -364,9 +370,6 @@ export type ProjectsOutput =
|
|
|
364
370
|
knowledge: {
|
|
365
371
|
knowledge_size: number;
|
|
366
372
|
max_knowledge_size: number;
|
|
367
|
-
search_threshold: number | null;
|
|
368
|
-
rag_active: boolean;
|
|
369
|
-
remaining_budget: number | null;
|
|
370
373
|
};
|
|
371
374
|
}
|
|
372
375
|
| {
|
|
@@ -395,13 +398,7 @@ export type ProjectsOutput =
|
|
|
395
398
|
path: string;
|
|
396
399
|
doc_uuid: string;
|
|
397
400
|
replaced: boolean;
|
|
398
|
-
|
|
399
|
-
knowledge_size: number;
|
|
400
|
-
max_knowledge_size: number;
|
|
401
|
-
search_threshold: number | null;
|
|
402
|
-
rag_active: boolean;
|
|
403
|
-
remaining_budget: number | null;
|
|
404
|
-
};
|
|
401
|
+
present_to_user?: boolean;
|
|
405
402
|
}
|
|
406
403
|
| {
|
|
407
404
|
method: "project_delete";
|
|
@@ -716,6 +713,10 @@ export interface ReportFindingsInput {
|
|
|
716
713
|
* Concrete inputs/state → wrong output/crash
|
|
717
714
|
*/
|
|
718
715
|
failure_scenario: string;
|
|
716
|
+
/**
|
|
717
|
+
* Short kebab-case slug of the finding type, e.g. "correctness", "simplification", "efficiency", "test-coverage"
|
|
718
|
+
*/
|
|
719
|
+
category?: string;
|
|
719
720
|
/**
|
|
720
721
|
* Set when a verify pass ran; absent on inline-only reviews
|
|
721
722
|
*/
|
|
@@ -2337,6 +2338,18 @@ export interface AskUserQuestionInput {
|
|
|
2337
2338
|
source?: string;
|
|
2338
2339
|
};
|
|
2339
2340
|
}
|
|
2341
|
+
export interface ClaudeDesignInput {
|
|
2342
|
+
/**
|
|
2343
|
+
* Claude Design action to perform. Call with "list" first to discover the available operations and their argument schemas.
|
|
2344
|
+
*/
|
|
2345
|
+
operation: string;
|
|
2346
|
+
/**
|
|
2347
|
+
* Action input object (server-validated). Pass {} for operations that take no input.
|
|
2348
|
+
*/
|
|
2349
|
+
arguments: {
|
|
2350
|
+
[k: string]: unknown;
|
|
2351
|
+
};
|
|
2352
|
+
}
|
|
2340
2353
|
export interface ProjectsInput {
|
|
2341
2354
|
method: "project_info" | "project_read" | "project_search" | "project_write" | "project_delete";
|
|
2342
2355
|
/**
|
|
@@ -2352,9 +2365,9 @@ export interface ProjectsInput {
|
|
|
2352
2365
|
*/
|
|
2353
2366
|
local_path?: string;
|
|
2354
2367
|
/**
|
|
2355
|
-
* project_write:
|
|
2368
|
+
* project_write: true marks this doc as the file the user needs to see — the deliverable they asked for or must act on. Defaults to false; leave it unset for routine saves, notes, and bulk writes.
|
|
2356
2369
|
*/
|
|
2357
|
-
|
|
2370
|
+
present_to_user?: boolean;
|
|
2358
2371
|
/**
|
|
2359
2372
|
* project_search: knowledge-base query
|
|
2360
2373
|
*/
|
|
@@ -2992,6 +3005,10 @@ export interface ReportFindingsOutput {
|
|
|
2992
3005
|
* Concrete inputs/state → wrong output/crash
|
|
2993
3006
|
*/
|
|
2994
3007
|
failure_scenario: string;
|
|
3008
|
+
/**
|
|
3009
|
+
* Short kebab-case slug of the finding type, e.g. "correctness", "simplification", "efficiency", "test-coverage"
|
|
3010
|
+
*/
|
|
3011
|
+
category?: string;
|
|
2995
3012
|
/**
|
|
2996
3013
|
* Set when a verify pass ran; absent on inline-only reviews
|
|
2997
3014
|
*/
|
|
@@ -3484,10 +3501,15 @@ export interface PushNotificationOutput {
|
|
|
3484
3501
|
pushSent?: boolean;
|
|
3485
3502
|
localSent?: boolean;
|
|
3486
3503
|
disabledReason?: "config_off" | "user_present" | "no_transport";
|
|
3487
|
-
idleSec?: number;
|
|
3488
|
-
hasFocus?: boolean;
|
|
3489
3504
|
/**
|
|
3490
3505
|
* ISO timestamp captured at tool execution on the emitting process. Optional — resumed sessions replay pre-sentAt outputs verbatim.
|
|
3491
3506
|
*/
|
|
3492
3507
|
sentAt?: string;
|
|
3493
3508
|
}
|
|
3509
|
+
export interface ClaudeDesignOutput {
|
|
3510
|
+
operation: string;
|
|
3511
|
+
content: {
|
|
3512
|
+
[k: string]: unknown;
|
|
3513
|
+
}[];
|
|
3514
|
+
isError?: boolean;
|
|
3515
|
+
}
|