@anthropic-ai/claude-code 1.0.68 → 1.0.69

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "bin": {
package/sdk-tools.d.ts CHANGED
@@ -80,7 +80,11 @@ export interface BashOutputInput {
80
80
  /**
81
81
  * The ID of the background shell to retrieve output from
82
82
  */
83
- shell_id: string;
83
+ bash_id: string;
84
+ /**
85
+ * Optional regular expression to filter the output lines. Only lines matching this regex will be included in the result. Any lines that do not match will no longer be available to read.
86
+ */
87
+ filter?: string;
84
88
  }
85
89
  export interface ExitPlanModeInput {
86
90
  /**
@@ -295,7 +299,6 @@ export interface TodoWriteInput {
295
299
  todos: {
296
300
  content: string;
297
301
  status: "pending" | "in_progress" | "completed";
298
- priority: "high" | "medium" | "low";
299
302
  id: string;
300
303
  }[];
301
304
  }
package/sdk.d.ts CHANGED
@@ -143,7 +143,6 @@ export type SDKMessage =
143
143
 
144
144
  type Props = {
145
145
  prompt: string | AsyncIterable<SDKUserMessage>
146
- abortController?: AbortController
147
146
  options?: Options
148
147
  }
149
148
 
@@ -170,6 +169,6 @@ export interface Query extends AsyncGenerator<SDKMessage, void> {
170
169
  * }
171
170
  * ```
172
171
  */
173
- export function query({ prompt, abortController, options }: Props): Query
172
+ export function query({ prompt, options }: Props): Query
174
173
 
175
174
  export class AbortError extends Error {}
package/sdk.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  // (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
2
2
 
3
- // Version: 1.0.68
3
+ // Version: 1.0.69
4
4
 
5
5
  // src/entrypoints/sdk.ts
6
6
  import { spawn } from "child_process";
Binary file