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 experimental flag for MCP examples
This commit introduces a feature to mark and filter code examples that use experimental APIs, ensuring that the `find_examples` tool provides production-safe results by default.
Key changes:
- The example format now supports an optional `experimental: true` flag in the front matter.
- The database schema is updated with an `experimental` column. Both the build-time and runtime database generators now parse and store this flag.
- The `find_examples` tool's input schema is enhanced with an `includeExperimental` boolean flag, which defaults to `false`.
- The query logic is updated to filter out experimental examples unless `includeExperimental` is explicitly set to `true`.
- The schema description for the new flag includes a strong prescriptive guardrail, instructing the AI to warn the user when it shows an experimental example.
0 commit comments