@anthropic-ai/claude-code 2.1.206 → 2.1.208
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 +11 -2
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.208",
|
|
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.208",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.208",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.208",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.208",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.208",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.208",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.208",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.208"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -97,6 +97,7 @@ export type AgentOutput =
|
|
|
97
97
|
content: {
|
|
98
98
|
type: "text";
|
|
99
99
|
text: string;
|
|
100
|
+
citations?: unknown[] | null;
|
|
100
101
|
}[];
|
|
101
102
|
resolvedModel?: string;
|
|
102
103
|
totalToolUseCount: number;
|
|
@@ -111,11 +112,14 @@ export type AgentOutput =
|
|
|
111
112
|
web_search_requests: number;
|
|
112
113
|
web_fetch_requests: number;
|
|
113
114
|
} | null;
|
|
114
|
-
service_tier:
|
|
115
|
+
service_tier: string | null;
|
|
115
116
|
cache_creation: {
|
|
116
117
|
ephemeral_1h_input_tokens: number;
|
|
117
118
|
ephemeral_5m_input_tokens: number;
|
|
118
119
|
} | null;
|
|
120
|
+
inference_geo?: string | null;
|
|
121
|
+
speed?: string | null;
|
|
122
|
+
iterations?: unknown;
|
|
119
123
|
};
|
|
120
124
|
toolStats?: {
|
|
121
125
|
readCount: number;
|
|
@@ -125,12 +129,16 @@ export type AgentOutput =
|
|
|
125
129
|
linesAdded: number;
|
|
126
130
|
linesRemoved: number;
|
|
127
131
|
otherToolCount: number;
|
|
132
|
+
frameCount?: number;
|
|
128
133
|
};
|
|
129
134
|
status: "completed";
|
|
130
135
|
prompt: string;
|
|
136
|
+
worktreePath?: string;
|
|
137
|
+
worktreeBranch?: string;
|
|
131
138
|
}
|
|
132
139
|
| {
|
|
133
140
|
status: "async_launched";
|
|
141
|
+
isAsync?: true;
|
|
134
142
|
/**
|
|
135
143
|
* The ID of the async agent
|
|
136
144
|
*/
|
|
@@ -2904,6 +2912,7 @@ export interface GrepOutput {
|
|
|
2904
2912
|
content?: string;
|
|
2905
2913
|
numLines?: number;
|
|
2906
2914
|
numMatches?: number;
|
|
2915
|
+
totalFiles?: number;
|
|
2907
2916
|
appliedLimit?: number;
|
|
2908
2917
|
appliedOffset?: number;
|
|
2909
2918
|
}
|
|
@@ -3102,7 +3111,7 @@ export interface WebFetchOutput {
|
|
|
3102
3111
|
url: string;
|
|
3103
3112
|
artifactRead?: {
|
|
3104
3113
|
slug: string;
|
|
3105
|
-
ver
|
|
3114
|
+
ver?: string;
|
|
3106
3115
|
};
|
|
3107
3116
|
}
|
|
3108
3117
|
export interface WebSearchOutput {
|