ignore: fix typos and formatting (#294)

This commit is contained in:
Márk Magyar 2025-06-22 20:26:46 +02:00 committed by GitHub
parent 09b89fdb23
commit 333569bed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 31 additions and 35 deletions

View file

@ -22,7 +22,7 @@ export const EditTool = Tool.define({
replaceAll: z
.boolean()
.optional()
.describe("Replace all occurences of old_string (default false)"),
.describe("Replace all occurrences of old_string (default false)"),
}),
async execute(params, ctx) {
if (!params.filePath) {

View file

@ -10,7 +10,7 @@ To make multiple file edits, provide the following:
2. edits: An array of edit operations to perform, where each edit contains:
- old_string: The text to replace (must match the file contents exactly, including all whitespace and indentation)
- new_string: The edited text to replace the old_string
- replace_all: Replace all occurences of old_string. This parameter is optional and defaults to false.
- replace_all: Replace all occurrences of old_string. This parameter is optional and defaults to false.
IMPORTANT:
- All edits are applied in sequence, in the order they are provided