MCPcopy Create free account
hub / github.com/QodeXcli/QodeX /

Class

src/tools/codegraph/safe-refactor.ts:85–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83const VALID_IDENT_RE = /^[A-Za-z_$][\w$]*$/;
84
85export 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected