You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"⚠️ CRITICAL: Always check tool results - edits WILL fail if old_string is not found or unique. Do not proceed with dependent operations (commits, pushes, builds) until confirming success.\n\n"+
74
78
"Apply one or more edits to a file by replacing exact text matches. All edits are applied sequentially. Each old_string must be unique in the file unless replace_count > 1 or replace_count is -1.",
75
79
schema: z.object({
76
-
file_path: z.string().describe("The absolute path to the file to edit"),
"⚠️ CRITICAL: Always check tool results - edits WILL fail if line numbers are invalid or file content has changed. Do not proceed with dependent operations (commits, pushes, builds) until confirming success.\n\n"+
95
99
"Replace a range of lines in a file. Use this for line-based edits when you know the exact line numbers to modify.",
96
100
schema: z.object({
97
-
file_path: z.string().describe("The absolute path to the file to edit"),
101
+
file_path: FILE_EDIT_FILE_PATH,
98
102
start_line: z.number().int().min(1).describe("1-indexed start line (inclusive) to replace"),
99
103
end_line: z.number().int().min(1).describe("1-indexed end line (inclusive) to replace"),
0 commit comments