| 83 | const VALID_IDENT_RE = /^[A-Za-z_$][\w$]*$/; |
| 84 | |
| 85 | export class SafeRenameTool extends Tool<z.infer<typeof SafeRenameArgs>> { |
| 86 | name = 'safe_rename'; |
| 87 | description = 'Rename a symbol across the project at word boundaries. ALWAYS run with confirm=false first to preview every file/line that will change. Set confirm=true on a follow-up call to apply. Auto-snapshot fires before mutations. Destructive when confirmed.'; |
| 88 | isReadOnly = false; // worst case it edits files |
nothing calls this directly
no outgoing calls
no test coverage detected