You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(@angular/cli): add version support to doc-search MCP tool
The `doc-search` tool now supports searching against specific major versions of the Angular documentation. This is crucial for providing contextually accurate results that are relevant to the user's project.
This commit introduces the following changes:
- An optional `version` parameter has been added to the tool's input schema.
- The tool's description and schema are updated with explicit instructions for the LLM to determine the project's Angular version by running `ng version` and using the output for the search.
- The underlying Algolia search logic now dynamically constructs the index name based on the provided version.
Note: This capability is not yet fully enabled, as it is pending the availability of the necessary version-specific Algolia indexes.
This provides a more robust, tool-based workflow for version-aware documentation searches.
0 commit comments