@anthropic-ai/claude-code 2.1.175 → 2.1.176
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 +17 -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.176",
|
|
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.176",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.176",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.176",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.176",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.176",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.176",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.176",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.176"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -323,6 +323,17 @@ export type ProjectsOutput =
|
|
|
323
323
|
path: string;
|
|
324
324
|
created_at: string | null;
|
|
325
325
|
}[];
|
|
326
|
+
files?: {
|
|
327
|
+
path: string;
|
|
328
|
+
file_kind: string;
|
|
329
|
+
created_at: string | null;
|
|
330
|
+
}[];
|
|
331
|
+
sync_sources?: {
|
|
332
|
+
type: string | null;
|
|
333
|
+
config: {
|
|
334
|
+
[k: string]: unknown;
|
|
335
|
+
};
|
|
336
|
+
}[];
|
|
326
337
|
knowledge: {
|
|
327
338
|
knowledge_size: number;
|
|
328
339
|
max_knowledge_size: number;
|
|
@@ -335,6 +346,7 @@ export type ProjectsOutput =
|
|
|
335
346
|
method: "project_read";
|
|
336
347
|
notice?: string;
|
|
337
348
|
path: string;
|
|
349
|
+
file_kind?: string;
|
|
338
350
|
content?: string;
|
|
339
351
|
local_file?: string;
|
|
340
352
|
created_at: string | null;
|
|
@@ -385,7 +397,7 @@ export interface AgentInput {
|
|
|
385
397
|
*/
|
|
386
398
|
subagent_type?: string;
|
|
387
399
|
/**
|
|
388
|
-
* Optional model override for this agent. Takes precedence over the agent definition's model frontmatter. If omitted, uses the agent definition's model, or inherits from the parent.
|
|
400
|
+
* Optional model override for this agent. Takes precedence over the agent definition's model frontmatter. If omitted, uses the agent definition's model, or inherits from the parent. Ignored for subagent_type: "fork" — forks always inherit the parent model.
|
|
389
401
|
*/
|
|
390
402
|
model?: "sonnet" | "opus" | "haiku" | "fable";
|
|
391
403
|
/**
|
|
@@ -2874,6 +2886,10 @@ export interface WebFetchOutput {
|
|
|
2874
2886
|
* The URL that was fetched
|
|
2875
2887
|
*/
|
|
2876
2888
|
url: string;
|
|
2889
|
+
artifactRead?: {
|
|
2890
|
+
slug: string;
|
|
2891
|
+
ver: string;
|
|
2892
|
+
};
|
|
2877
2893
|
}
|
|
2878
2894
|
export interface WebSearchOutput {
|
|
2879
2895
|
/**
|