@anthropic-ai/claude-code 2.0.76 → 2.1.0
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 +3061 -2910
- package/package.json +1 -1
- package/sdk-tools.d.ts +15 -4
package/package.json
CHANGED
package/sdk-tools.d.ts
CHANGED
|
@@ -26,7 +26,8 @@ export type ToolInputSchemas =
|
|
|
26
26
|
| TodoWriteInput
|
|
27
27
|
| WebFetchInput
|
|
28
28
|
| WebSearchInput
|
|
29
|
-
| AskUserQuestionInput
|
|
29
|
+
| AskUserQuestionInput
|
|
30
|
+
| ConfigInput;
|
|
30
31
|
|
|
31
32
|
export interface AgentInput {
|
|
32
33
|
/**
|
|
@@ -50,7 +51,7 @@ export interface AgentInput {
|
|
|
50
51
|
*/
|
|
51
52
|
resume?: string;
|
|
52
53
|
/**
|
|
53
|
-
* Set to true to run this agent in the background.
|
|
54
|
+
* Set to true to run this agent in the background. The tool result will include an output_file path - use Read tool or Bash tail to check on output.
|
|
54
55
|
*/
|
|
55
56
|
run_in_background?: boolean;
|
|
56
57
|
}
|
|
@@ -95,11 +96,11 @@ export interface TaskOutputInput {
|
|
|
95
96
|
/**
|
|
96
97
|
* Whether to wait for completion
|
|
97
98
|
*/
|
|
98
|
-
block
|
|
99
|
+
block: boolean;
|
|
99
100
|
/**
|
|
100
101
|
* Max wait time in ms
|
|
101
102
|
*/
|
|
102
|
-
timeout
|
|
103
|
+
timeout: number;
|
|
103
104
|
}
|
|
104
105
|
export interface ExitPlanModeInput {
|
|
105
106
|
[k: string]: unknown;
|
|
@@ -1484,3 +1485,13 @@ export interface AskUserQuestionInput {
|
|
|
1484
1485
|
[k: string]: string;
|
|
1485
1486
|
};
|
|
1486
1487
|
}
|
|
1488
|
+
export interface ConfigInput {
|
|
1489
|
+
/**
|
|
1490
|
+
* The setting key (e.g., "theme", "model", "permissions.defaultMode")
|
|
1491
|
+
*/
|
|
1492
|
+
setting: string;
|
|
1493
|
+
/**
|
|
1494
|
+
* The new value. Omit to get current value.
|
|
1495
|
+
*/
|
|
1496
|
+
value?: string | boolean | number;
|
|
1497
|
+
}
|