Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions packages/angular/cli/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# found in the LICENSE file at https://angular.dev/license

load("@npm//:defs.bzl", "npm_link_all_packages")
load("//tools:defaults.bzl", "jasmine_test", "ng_examples_db", "npm_package", "ts_project")
load("//tools:defaults.bzl", "jasmine_test", "npm_package", "ts_project")
load("//tools:ng_cli_schema_generator.bzl", "cli_json_schema")
load("//tools:ts_json_schema.bzl", "ts_json_schema")

Expand Down Expand Up @@ -36,7 +36,6 @@ RUNTIME_ASSETS = glob(
],
) + [
"//packages/angular/cli:lib/config/schema.json",
"//packages/angular/cli:lib/code-examples.db",
":angular_best_practices",
]

Expand Down Expand Up @@ -87,17 +86,6 @@ ts_project(
],
)

ng_examples_db(
name = "cli_example_database",
srcs = glob(
include = [
"lib/examples/**/*.md",
],
),
out = "lib/code-examples.db",
path = "packages/angular/cli/lib/examples",
)

CLI_SCHEMA_DATA = [
"//packages/angular/build:schemas",
"//packages/angular_devkit/build_angular:schemas",
Expand Down
85 changes: 0 additions & 85 deletions packages/angular/cli/lib/examples/if-block.md

This file was deleted.

6 changes: 0 additions & 6 deletions packages/angular/cli/src/commands/mcp/mcp-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { DEVSERVER_STOP_TOOL } from './tools/devserver/devserver-stop';
import { DEVSERVER_WAIT_FOR_BUILD_TOOL } from './tools/devserver/devserver-wait-for-build';
import { DOC_SEARCH_TOOL } from './tools/doc-search';
import { E2E_TOOL } from './tools/e2e';
import { FIND_EXAMPLE_TOOL } from './tools/examples/index';
import { MODERNIZE_TOOL } from './tools/modernize';
import { ZONELESS_MIGRATION_TOOL } from './tools/onpush-zoneless-migration/zoneless-migration';
import { LIST_PROJECTS_TOOL } from './tools/projects';
Expand All @@ -41,7 +40,6 @@ const STABLE_TOOLS = [
AI_TUTOR_TOOL,
BEST_PRACTICES_TOOL,
DOC_SEARCH_TOOL,
FIND_EXAMPLE_TOOL,
LIST_PROJECTS_TOOL,
ZONELESS_MIGRATION_TOOL,
] as const;
Expand Down Expand Up @@ -107,7 +105,6 @@ equivalent actions.

* **3. Answer User Questions:**
- For conceptual questions ("what is..."), use \`search_documentation\`.
- For code examples ("show me how to..."), use \`find_examples\`.
</Core Workflows & Tool Guide>

<Key Concepts>
Expand Down Expand Up @@ -163,9 +160,6 @@ export function assembleToolDeclarations(
}

const enabledExperimentalTools = new Set(options.experimentalTools);
if (process.env['NG_MCP_CODE_EXAMPLES'] === '1') {
enabledExperimentalTools.add('find_examples');
}
for (const [toolGroupName, toolGroup] of Object.entries(EXPERIMENTAL_TOOL_GROUPS)) {
if (enabledExperimentalTools.delete(toolGroupName)) {
for (const tool of toolGroup) {
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading