@anthropic-ai/claude-code 2.1.81 → 2.1.84

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 +3735 -2801
  2. package/package.json +2 -2
  3. package/sdk-tools.d.ts +8 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.81",
3
+ "version": "2.1.84",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
@@ -30,4 +30,4 @@
30
30
  "@img/sharp-win32-arm64": "^0.34.2",
31
31
  "@img/sharp-win32-x64": "^0.34.2"
32
32
  }
33
- }
33
+ }
package/sdk-tools.d.ts CHANGED
@@ -63,6 +63,7 @@ export type ToolOutputSchemas =
63
63
  export type AgentOutput =
64
64
  | {
65
65
  agentId: string;
66
+ agentType?: string;
66
67
  content: {
67
68
  type: "text";
68
69
  text: string;
@@ -315,7 +316,7 @@ export interface BashInput {
315
316
  */
316
317
  description?: string;
317
318
  /**
318
- * Set to true to run this command in the background. Use TaskOutput to read the output later.
319
+ * Set to true to run this command in the background. Use Read to read the output later.
319
320
  */
320
321
  run_in_background?: boolean;
321
322
  /**
@@ -455,7 +456,7 @@ export interface GrepInput {
455
456
  */
456
457
  type?: string;
457
458
  /**
458
- * Limit output to first N lines/entries, equivalent to "| head -N". Works across all output modes: content (limits output lines), files_with_matches (limits file paths), count (limits count entries). Defaults to 0 (unlimited).
459
+ * Limit output to first N lines/entries, equivalent to "| head -N". Works across all output modes: content (limits output lines), files_with_matches (limits file paths), count (limits count entries). Defaults to 250 when unspecified. Pass 0 for unlimited (use sparingly — large result sets waste context).
459
460
  */
460
461
  head_limit?: number;
461
462
  /**
@@ -2215,7 +2216,7 @@ export interface ConfigInput {
2215
2216
  }
2216
2217
  export interface EnterWorktreeInput {
2217
2218
  /**
2218
- * Optional name for the worktree (letters, digits, dots, underscores, dashes only; max 64 chars). A random name is generated if not provided.
2219
+ * Optional name for the worktree. Each "/"-separated segment may contain only letters, digits, dots, underscores, and dashes; max 64 chars total. A random name is generated if not provided.
2219
2220
  */
2220
2221
  name?: string;
2221
2222
  }
@@ -2286,10 +2287,6 @@ export interface BashOutput {
2286
2287
  * Total size of the output in bytes (set when output is too large for inline)
2287
2288
  */
2288
2289
  persistedOutputSize?: number;
2289
- /**
2290
- * Compressed output sent to model when token-saver is active (UI still uses stdout)
2291
- */
2292
- tokenSaverOutput?: string;
2293
2290
  }
2294
2291
  export interface ExitPlanModeOutput {
2295
2292
  /**
@@ -2305,6 +2302,10 @@ export interface ExitPlanModeOutput {
2305
2302
  * Whether the Agent tool is available in the current context
2306
2303
  */
2307
2304
  hasTaskTool?: boolean;
2305
+ /**
2306
+ * True when the user edited the plan (CCR web UI or Ctrl+G); determines whether the plan is echoed back in tool_result
2307
+ */
2308
+ planWasEdited?: boolean;
2308
2309
  /**
2309
2310
  * When true, the teammate has sent a plan approval request to the team leader
2310
2311
  */