@anthropic-ai/claude-code 2.1.62 → 2.1.64

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 (3) hide show
  1. package/cli.js +2687 -2191
  2. package/package.json +1 -1
  3. package/sdk-tools.d.ts +9 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.62",
3
+ "version": "2.1.64",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
package/sdk-tools.d.ts CHANGED
@@ -108,11 +108,6 @@ export type AgentOutput =
108
108
  * Whether the calling agent has Read/Bash tools to check progress
109
109
  */
110
110
  canReadOutputFile?: boolean;
111
- }
112
- | {
113
- status: "sub_agent_entered";
114
- description: string;
115
- message: string;
116
111
  };
117
112
  export type FileReadOutput =
118
113
  | {
@@ -269,10 +264,6 @@ export interface AgentInput {
269
264
  * The type of specialized agent to use for this task
270
265
  */
271
266
  subagent_type: string;
272
- /**
273
- * Optional model to use for this agent. If not specified, inherits from parent. Prefer haiku for quick, straightforward tasks to minimize cost and latency.
274
- */
275
- model?: "sonnet" | "opus" | "haiku";
276
267
  /**
277
268
  * Optional agent ID to resume from. If provided, the agent will continue from the previous execution transcript.
278
269
  */
@@ -281,10 +272,6 @@ export interface AgentInput {
281
272
  * Set to true to run this agent in the background. The tool result will include an output_file path - use Read tool or Bash tail to check on output.
282
273
  */
283
274
  run_in_background?: boolean;
284
- /**
285
- * Maximum number of agentic turns (API round-trips) before stopping. Used internally for warmup.
286
- */
287
- max_turns?: number;
288
275
  /**
289
276
  * Name for the spawned agent
290
277
  */
@@ -1920,7 +1907,7 @@ export interface ExitPlanModeOutput {
1920
1907
  */
1921
1908
  filePath?: string;
1922
1909
  /**
1923
- * Whether the Task tool is available in the current context
1910
+ * Whether the Agent tool is available in the current context
1924
1911
  */
1925
1912
  hasTaskTool?: boolean;
1926
1913
  /**
@@ -1931,6 +1918,10 @@ export interface ExitPlanModeOutput {
1931
1918
  * Unique identifier for the plan approval request
1932
1919
  */
1933
1920
  requestId?: string;
1921
+ /**
1922
+ * Whether this plan was generated by an ultraplan remote session
1923
+ */
1924
+ isUltraplan?: boolean;
1934
1925
  }
1935
1926
  export interface FileEditOutput {
1936
1927
  /**
@@ -2110,6 +2101,10 @@ export interface ReadMcpResourceOutput {
2110
2101
  * Text content of the resource
2111
2102
  */
2112
2103
  text?: string;
2104
+ /**
2105
+ * Path where binary blob content was saved
2106
+ */
2107
+ blobSavedTo?: string;
2113
2108
  }[];
2114
2109
  }
2115
2110
  export interface SubscribeMcpResourceOutput {