@anthropic-ai/claude-code 2.0.64 → 2.0.66
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/bun.lock +20 -0
- package/cli.js +2795 -2747
- package/package.json +1 -1
- package/sdk-tools.d.ts +14 -25
package/package.json
CHANGED
package/sdk-tools.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
export type ToolInputSchemas =
|
|
12
12
|
| AgentInput
|
|
13
13
|
| BashInput
|
|
14
|
-
|
|
|
14
|
+
| TaskOutputInput
|
|
15
15
|
| ExitPlanModeInput
|
|
16
16
|
| FileEditInput
|
|
17
17
|
| FileReadInput
|
|
@@ -26,8 +26,7 @@ export type ToolInputSchemas =
|
|
|
26
26
|
| TodoWriteInput
|
|
27
27
|
| WebFetchInput
|
|
28
28
|
| WebSearchInput
|
|
29
|
-
| AskUserQuestionInput
|
|
30
|
-
| AgentOutputInput;
|
|
29
|
+
| AskUserQuestionInput;
|
|
31
30
|
|
|
32
31
|
export interface AgentInput {
|
|
33
32
|
/**
|
|
@@ -51,7 +50,7 @@ export interface AgentInput {
|
|
|
51
50
|
*/
|
|
52
51
|
resume?: string;
|
|
53
52
|
/**
|
|
54
|
-
* Set to true to run this agent in the background. Use
|
|
53
|
+
* Set to true to run this agent in the background. Use TaskOutput to read the output later.
|
|
55
54
|
*/
|
|
56
55
|
run_in_background?: boolean;
|
|
57
56
|
}
|
|
@@ -80,7 +79,7 @@ export interface BashInput {
|
|
|
80
79
|
*/
|
|
81
80
|
description?: string;
|
|
82
81
|
/**
|
|
83
|
-
* Set to true to run this command in the background. Use
|
|
82
|
+
* Set to true to run this command in the background. Use TaskOutput to read the output later.
|
|
84
83
|
*/
|
|
85
84
|
run_in_background?: boolean;
|
|
86
85
|
/**
|
|
@@ -88,15 +87,19 @@ export interface BashInput {
|
|
|
88
87
|
*/
|
|
89
88
|
dangerouslyDisableSandbox?: boolean;
|
|
90
89
|
}
|
|
91
|
-
export interface
|
|
90
|
+
export interface TaskOutputInput {
|
|
92
91
|
/**
|
|
93
|
-
* The ID
|
|
92
|
+
* The task ID to get output from
|
|
94
93
|
*/
|
|
95
|
-
|
|
94
|
+
task_id: string;
|
|
96
95
|
/**
|
|
97
|
-
*
|
|
96
|
+
* Whether to wait for completion
|
|
98
97
|
*/
|
|
99
|
-
|
|
98
|
+
block?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Max wait time in ms
|
|
101
|
+
*/
|
|
102
|
+
timeout?: number;
|
|
100
103
|
}
|
|
101
104
|
export interface ExitPlanModeInput {
|
|
102
105
|
/**
|
|
@@ -203,7 +206,7 @@ export interface GrepInput {
|
|
|
203
206
|
*/
|
|
204
207
|
type?: string;
|
|
205
208
|
/**
|
|
206
|
-
* 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
|
|
209
|
+
* 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).
|
|
207
210
|
*/
|
|
208
211
|
head_limit?: number;
|
|
209
212
|
/**
|
|
@@ -1489,17 +1492,3 @@ export interface AskUserQuestionInput {
|
|
|
1489
1492
|
[k: string]: string;
|
|
1490
1493
|
};
|
|
1491
1494
|
}
|
|
1492
|
-
export interface AgentOutputInput {
|
|
1493
|
-
/**
|
|
1494
|
-
* The agent ID to retrieve results for
|
|
1495
|
-
*/
|
|
1496
|
-
agentId: string;
|
|
1497
|
-
/**
|
|
1498
|
-
* Whether to block until results are ready
|
|
1499
|
-
*/
|
|
1500
|
-
block?: boolean;
|
|
1501
|
-
/**
|
|
1502
|
-
* Maximum time to wait in seconds
|
|
1503
|
-
*/
|
|
1504
|
-
wait_up_to?: number;
|
|
1505
|
-
}
|