No description
  • TypeScript 100%
Find a file
James Peret a48e9bb739
fix: make tool-search index dynamic for MCP tool discovery
The tool-search index was built once at construction time from a static
name list, so MCP tools registered at runtime were never discoverable.

- Removed `deferredToolNames` from `ToolSearchConfig` interface
- Replaced static `index` with dynamic `buildIndex()` that queries the
  registry at call time
- Added `query="list"` handler to list all deferred tools including MCP
- Rewrote description (built-in tools + MCP note) and instructions
  (three-pattern usage guide: by name, by outcome, query="list")

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 20:57:24 -03:00
src fix: make tool-search index dynamic for MCP tool discovery 2026-05-26 20:57:24 -03:00
.gitignore fix: make tool-search index dynamic for MCP tool discovery 2026-05-26 20:57:24 -03:00
package-lock.json fix: make tool-search index dynamic for MCP tool discovery 2026-05-26 20:57:24 -03:00
package.json fix: make tool-search index dynamic for MCP tool discovery 2026-05-26 20:57:24 -03:00
tsconfig.json fix: make tool-search index dynamic for MCP tool discovery 2026-05-26 20:57:24 -03:00