@anthropic-ai/claude-code 2.1.4 → 2.1.6
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 +1989 -1900
- package/package.json +1 -1
- package/sdk-tools.d.ts +13 -0
package/package.json
CHANGED
package/sdk-tools.d.ts
CHANGED
|
@@ -113,6 +113,19 @@ export interface TaskOutputInput {
|
|
|
113
113
|
timeout: number;
|
|
114
114
|
}
|
|
115
115
|
export interface ExitPlanModeInput {
|
|
116
|
+
/**
|
|
117
|
+
* Prompt-based permissions needed to implement the plan. These describe categories of actions rather than specific commands.
|
|
118
|
+
*/
|
|
119
|
+
allowedPrompts?: {
|
|
120
|
+
/**
|
|
121
|
+
* The tool this prompt applies to
|
|
122
|
+
*/
|
|
123
|
+
tool: "Bash";
|
|
124
|
+
/**
|
|
125
|
+
* Semantic description of the action, e.g. "run tests", "install dependencies"
|
|
126
|
+
*/
|
|
127
|
+
prompt: string;
|
|
128
|
+
}[];
|
|
116
129
|
[k: string]: unknown;
|
|
117
130
|
}
|
|
118
131
|
export interface FileEditInput {
|