Major new addition: refactor tool

Supports decomposing large components and files, finding codesmells, finding modernizing opportunities as well as code organization opportunities. Fix this mega-classes today!
Line numbers added to embedded code for better references from model -> claude
This commit is contained in:
Fahad
2025-06-15 06:00:01 +04:00
parent 70f1356e3e
commit b5004b91fc
28 changed files with 2633 additions and 310 deletions

View File

@@ -27,10 +27,11 @@ class TestServerTools:
assert "chat" in tool_names
assert "precommit" in tool_names
assert "testgen" in tool_names
assert "refactor" in tool_names
assert "version" in tool_names
# Should have exactly 8 tools (including testgen)
assert len(tools) == 8
# Should have exactly 9 tools (including refactor)
assert len(tools) == 9
# Check descriptions are verbose
for tool in tools: