@anthropic-ai/claude-code 2.1.210 → 2.1.211
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 +34 -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.211",
|
|
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.211",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.211",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.211",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.211",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.211",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.211",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.211",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.211"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
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
|
|
@@ -61,6 +62,7 @@ export type ToolOutputSchemas =
|
|
|
61
62
|
| GrepOutput
|
|
62
63
|
| TaskStopOutput
|
|
63
64
|
| ListMcpResourcesOutput
|
|
65
|
+
| RefreshMcpToolsOutput
|
|
64
66
|
| McpOutput
|
|
65
67
|
| NotebookEditOutput
|
|
66
68
|
| ReadMcpResourceDirOutput
|
|
@@ -341,6 +343,32 @@ export type ListMcpResourcesOutput = {
|
|
|
341
343
|
*/
|
|
342
344
|
server: string;
|
|
343
345
|
}[];
|
|
346
|
+
export type RefreshMcpToolsOutput = {
|
|
347
|
+
/**
|
|
348
|
+
* Server name
|
|
349
|
+
*/
|
|
350
|
+
server: string;
|
|
351
|
+
/**
|
|
352
|
+
* 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).
|
|
353
|
+
*/
|
|
354
|
+
status: "refreshed" | "error" | "not_connected";
|
|
355
|
+
/**
|
|
356
|
+
* Number of tools now available from this server
|
|
357
|
+
*/
|
|
358
|
+
toolCount?: number;
|
|
359
|
+
/**
|
|
360
|
+
* Tool names this refresh added
|
|
361
|
+
*/
|
|
362
|
+
added?: string[];
|
|
363
|
+
/**
|
|
364
|
+
* Tool names this refresh removed
|
|
365
|
+
*/
|
|
366
|
+
removed?: string[];
|
|
367
|
+
/**
|
|
368
|
+
* Why the refresh failed or the server was unavailable
|
|
369
|
+
*/
|
|
370
|
+
error?: string;
|
|
371
|
+
}[];
|
|
344
372
|
/**
|
|
345
373
|
* MCP tool execution result
|
|
346
374
|
*/
|
|
@@ -677,6 +705,12 @@ export interface ListMcpResourcesInput {
|
|
|
677
705
|
*/
|
|
678
706
|
server?: string;
|
|
679
707
|
}
|
|
708
|
+
export interface RefreshMcpToolsInput {
|
|
709
|
+
/**
|
|
710
|
+
* Optional server name: refresh only this server. Omit to refresh all connected servers.
|
|
711
|
+
*/
|
|
712
|
+
server?: string;
|
|
713
|
+
}
|
|
680
714
|
export interface McpInput {
|
|
681
715
|
[k: string]: unknown;
|
|
682
716
|
}
|