@anthropic-ai/claude-code 2.1.310 → 2.1.312
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 +6 -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.312",
|
|
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.312",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.312",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.312",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.312",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.312",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.312",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.312",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.312"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -135,6 +135,7 @@ export type AgentOutput =
|
|
|
135
135
|
} | null;
|
|
136
136
|
fallback_credit?: unknown;
|
|
137
137
|
};
|
|
138
|
+
toolsUsed?: string[];
|
|
138
139
|
toolStats?: {
|
|
139
140
|
readCount: number;
|
|
140
141
|
searchCount: number;
|
|
@@ -689,6 +690,7 @@ export type ProjectsOutput =
|
|
|
689
690
|
| {
|
|
690
691
|
method: "project_info";
|
|
691
692
|
notice?: string;
|
|
693
|
+
local_file?: string;
|
|
692
694
|
name: string;
|
|
693
695
|
description: string;
|
|
694
696
|
instructions: string;
|
|
@@ -3976,6 +3978,10 @@ export interface AskUserQuestionOutput {
|
|
|
3976
3978
|
* Free-text notes the user added to their selection.
|
|
3977
3979
|
*/
|
|
3978
3980
|
notes?: string;
|
|
3981
|
+
/**
|
|
3982
|
+
* How the question went unanswered: 'skipped' (the user skipped it), 'replied_in_chat' (the user sent a chat message instead), or 'dismissed' (the user closed the card). The model does not see this field; put the text it should read in `answers`. Absent when the question was answered, and also when the answering client did not report it (in a session that does not advertise ask_user_question_unanswered_v1, from an older client, or in an older transcript): then only the text in `answers` says how it ended. Treat any other value as absent.
|
|
3983
|
+
*/
|
|
3984
|
+
unanswered?: "skipped" | "replied_in_chat" | "dismissed";
|
|
3979
3985
|
};
|
|
3980
3986
|
};
|
|
3981
3987
|
/**
|