@anthropic-ai/claude-code 2.1.175 → 2.1.177

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.
Files changed (2) hide show
  1. package/package.json +9 -9
  2. 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.175",
3
+ "version": "2.1.177",
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.175",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.175",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.175",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.175",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.175",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.175",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.175",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.175"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.177",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.177",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.177",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.177",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.177",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.177",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.177",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.177"
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
  /**