refactor(@angular/cli): implement experimental unified run_target facade and strategy dispatcher - #33215
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new run_target tool to the Angular CLI MCP server, enabling the execution of project targets such as build, test, and lint through a unified interface. The implementation includes a generic execution strategy and supporting unit tests. Feedback focuses on improving the robustness of option serialization—specifically handling array values and avoiding the stringification of null or undefined values—as well as refining the Zod schema to restrict option types to primitives and correcting minor punctuation in user-facing descriptions.
aa51411 to
3b5a67e
Compare
180d9b4 to
857cecf
Compare
…ade and strategy dispatcher Introduce the unified `run_target` MCP tool and the underlying builder strategy dispatcher in a dedicated `tools/run-target` subdirectory. This architecture leverages the strategy pattern to delegate Angular CLI target executions (build, test, lint, e2e) to specialized internal strategies, defaulting to a universal `GenericTargetStrategy` fallback.
857cecf to
06b2e63
Compare
|
This pull request has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Introduce the unified
run_targetMCP tool and the underlying builder strategy dispatcher in a dedicatedtools/run-targetsubdirectory. This architecture leverages the strategy pattern to delegate Angular CLI target executions (build, test, lint, e2e) to specialized internal strategies, defaulting to a universalGenericTargetStrategyfallback.