@anthropic-ai/claude-code 2.0.51 → 2.0.52
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 +1157 -1141
- package/package.json +3 -1
- package/sdk-tools.d.ts +0 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-code",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.52",
|
|
4
4
|
"bin": {
|
|
5
5
|
"claude": "cli.js"
|
|
6
6
|
},
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
"@img/sharp-linux-arm": "^0.33.5",
|
|
26
26
|
"@img/sharp-linux-arm64": "^0.33.5",
|
|
27
27
|
"@img/sharp-linux-x64": "^0.33.5",
|
|
28
|
+
"@img/sharp-linuxmusl-arm64": "^0.33.5",
|
|
29
|
+
"@img/sharp-linuxmusl-x64": "^0.33.5",
|
|
28
30
|
"@img/sharp-win32-x64": "^0.33.5"
|
|
29
31
|
}
|
|
30
32
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export type ToolInputSchemas =
|
|
|
23
23
|
| McpInput
|
|
24
24
|
| NotebookEditInput
|
|
25
25
|
| ReadMcpResourceInput
|
|
26
|
-
| TimeMachineInput
|
|
27
26
|
| TodoWriteInput
|
|
28
27
|
| WebFetchInput
|
|
29
28
|
| WebSearchInput
|
|
@@ -253,20 +252,6 @@ export interface ReadMcpResourceInput {
|
|
|
253
252
|
*/
|
|
254
253
|
uri: string;
|
|
255
254
|
}
|
|
256
|
-
export interface TimeMachineInput {
|
|
257
|
-
/**
|
|
258
|
-
* The prefix of the user message to rewind to (searches backwards for first match)
|
|
259
|
-
*/
|
|
260
|
-
message_prefix: string;
|
|
261
|
-
/**
|
|
262
|
-
* The new instructions to inject after rewinding, explaining what to do differently
|
|
263
|
-
*/
|
|
264
|
-
course_correction: string;
|
|
265
|
-
/**
|
|
266
|
-
* Whether to restore code changes using file history (default: true)
|
|
267
|
-
*/
|
|
268
|
-
restore_code?: boolean;
|
|
269
|
-
}
|
|
270
255
|
export interface TodoWriteInput {
|
|
271
256
|
/**
|
|
272
257
|
* The updated todo list
|