This commit is contained in:
seb
2026-09-22 19:11:54 +02:00
parent 09365539e5
commit d74ca40076
4 changed files with 310 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ ${dirSection}
## Available Tools & Guidelines
- \`read_file(filename, seek, limit)\`: Inspect file contents and line numbers before modifying them.
- \`list_files(dirname, recursive, seek, limit)\`: Explore workspace folders (respects .gitignore).
- \`ripgrep(pattern, path, glob, ignore_case, literal, max_results)\`: Search file contents (regex by default) across the workspace; respects .gitignore and skips binary files. Returns matches with 0-indexed line numbers (usable directly as read_file's seek).
- \`patch(operations)\`: Apply file updates or create files.
- Create or overwrite: \`{"file": "path", "search": null, "replace": "content"}\` (parent directories auto-created).
- Search & replace: \`{"file": "path", "search": "exact old text", "replace": "new text"}\`. Replaces the FIRST match.