Skip to content

Commit 7c6fb08

Browse files
committed
fix: update apply_diff type to remove unnecessary operations field
1 parent e3fd37c commit 7c6fb08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export type NativeToolArgs = {
8888
attempt_completion: { result: string }
8989
execute_command: { command: string; cwd?: string }
9090
insert_content: { path: string; line: number; content: string }
91-
apply_diff: { path: string; diff?: string; operations?: Array<{ search: string; replace: string }> }
91+
apply_diff: { path: string; diff?: string }
9292
search_and_replace: { path: string; operations: Array<{ search: string; replace: string }> }
9393
ask_followup_question: {
9494
question: string

0 commit comments

Comments
 (0)