@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/cli.js +1042 -842
- package/package.json +1 -1
- package/sdk-tools.d.ts +5 -2
- package/sdk.d.ts +1 -2
- package/sdk.mjs +1 -1
- package/vendor/claude-code.vsix +0 -0
package/package.json
CHANGED
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
|
-
|
|
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,
|
|
172
|
+
export function query({ prompt, options }: Props): Query
|
|
174
173
|
|
|
175
174
|
export class AbortError extends Error {}
|
package/sdk.mjs
CHANGED
package/vendor/claude-code.vsix
CHANGED
|
Binary file
|