@anthropic-ai/claude-code 2.1.206 → 2.1.207

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 +10 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.206",
3
+ "version": "2.1.207",
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.206",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.206",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.206",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.206",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.206",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.206",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.206",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.206"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.207",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.207",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.207",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.207",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.207",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.207",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.207",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.207"
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: ("standard" | "priority" | "batch") | null;
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
  */
@@ -3102,7 +3110,7 @@ export interface WebFetchOutput {
3102
3110
  url: string;
3103
3111
  artifactRead?: {
3104
3112
  slug: string;
3105
- ver: string;
3113
+ ver?: string;
3106
3114
  };
3107
3115
  }
3108
3116
  export interface WebSearchOutput {