LSP/AST Agent Wiring
Wire LSP and AST tools into the agent system so agents can actually use them at runtime.
Added
Session-level: Added 12 LSP tools and 2 AST tools to allowedTools array
- Opt-out via
config.features.lspTools = falseorconfig.features.astTools = false - Enabled by default (backward compatible)
Agent-level: Updated 17 agents with appropriate LSP/AST tools:
| Agent | Tools Added |
|---|---|
| architect, architect-medium | lsp_diagnostics, lsp_diagnostics_directory, ast_grep_search
|
| architect-low | lsp_diagnostics
|
| executor, executor-high | lsp_diagnostics, lsp_diagnostics_directory, ast_grep_search, ast_grep_replace
|
| executor-low | lsp_diagnostics
|
| explore, explore-medium | ast_grep_search, lsp_document_symbols, lsp_workspace_symbols
|
| explore-high | + lsp_find_references
|
| build-fixer, build-fixer-low | lsp_diagnostics, lsp_diagnostics_directory
|
| tdd-guide, tdd-guide-low | lsp_diagnostics
|
| code-reviewer | lsp_diagnostics, ast_grep_search
|
| code-reviewer-low | lsp_diagnostics
|
| qa-tester, qa-tester-high | lsp_diagnostics
|
Fixed
- Resolved prompt-tool mismatch where agent prompts referenced
lsp_diagnosticsandast_grep_searchbut tool arrays did not include them
Full Changelog: v3.7.6...v3.7.7