@anthropic-ai/claude-code 2.1.18 → 2.1.20

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 +2965 -2758
  2. package/package.json +1 -1
  3. package/sdk-tools.d.ts +8 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.18",
3
+ "version": "2.1.20",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
package/sdk-tools.d.ts CHANGED
@@ -18,7 +18,7 @@ export type ToolInputSchemas =
18
18
  | FileWriteInput
19
19
  | GlobInput
20
20
  | GrepInput
21
- | KillShellInput
21
+ | TaskStopInput
22
22
  | ListMcpResourcesInput
23
23
  | McpInput
24
24
  | NotebookEditInput
@@ -270,11 +270,15 @@ export interface GrepInput {
270
270
  */
271
271
  multiline?: boolean;
272
272
  }
273
- export interface KillShellInput {
273
+ export interface TaskStopInput {
274
274
  /**
275
- * The ID of the background shell to kill
275
+ * The ID of the background task to stop
276
276
  */
277
- shell_id: string;
277
+ task_id?: string;
278
+ /**
279
+ * Deprecated: use task_id instead
280
+ */
281
+ shell_id?: string;
278
282
  }
279
283
  export interface ListMcpResourcesInput {
280
284
  /**