Back to changelog

v0.4.2 — New tools and smarter code editing

Highlights

  • New strReplace tool for precise, token-efficient edits: rename variables, fix typos, or swap snippets without rewriting whole files
  • New glob tool to find files by pattern (e.g. all .gd scripts, scenes in a folder). Discover your project structure before editing
  • Smarter edit flow: the AI now chooses the right tool for each job (small tweaks vs. full rewrites vs. new files)
  • Unified edit preview so every file change shows the same clear diff with accept/reject controls

Changes

Added
  • strReplace: surgical edits via exact string match. Great for small changes, renames, or when you need to touch one spot without resending the whole file. Supports replace_all for batch renames.
  • glob: find files by pattern across your project. Search for *.gd, **/scripts/*.tscn, or any glob pattern. Fast discovery before read or edit.
Improved
  • Edit tools now share one consistent UI for streaming and completion: cleaner, more predictable feedback when the AI changes your code
  • Stronger AI guidance on when to use each tool: strReplace for small edits, replaceText for large ones, writeFile only for brand-new files
  • Refined readFile and writeFile behavior so the AI prefers editing existing files and only creates new ones when you ask