Когда использовать: The same transformation needs to apply everywhere and the LLM would churn through too many tokens doing it file-by-file.
Поток
Define the transformation
Use the Code Operations plugin. Replace every import { foo } from 'old-lib' with the equivalent from 'new-lib'. Run via Execution Runtime.✓ Скопировано
→ Plugin generates a Python script that runs locally, not a per-file LLM pass
Review the diff
Show me the full diff grouped by type of change.✓ Скопировано
→ Structured diff you can skim
Итог: Massive refactor done cheaply and reviewably.
Подводные камни
Regex-based transform breaks edge cases — Runtime supports AST-level transforms — use those for syntax-sensitive changes