File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed
packages/angular/cli/src/commands/mcp Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ import { registerInstructionsResource } from './resources/instructions';
1515import { AI_TUTOR_TOOL } from './tools/ai-tutor' ;
1616import { BEST_PRACTICES_TOOL } from './tools/best-practices' ;
1717import { BUILD_TOOL } from './tools/build' ;
18+ import { START_DEVSERVER_TOOL } from './tools/devserver/start-devserver' ;
19+ import { STOP_DEVSERVER_TOOL } from './tools/devserver/stop-devserver' ;
20+ import { WAIT_FOR_DEVSERVER_BUILD_TOOL } from './tools/devserver/wait-for-devserver-build' ;
1821import { DOC_SEARCH_TOOL } from './tools/doc-search' ;
1922import { FIND_EXAMPLE_TOOL } from './tools/examples' ;
2023import { MODERNIZE_TOOL } from './tools/modernize' ;
2124import { ZONELESS_MIGRATION_TOOL } from './tools/onpush-zoneless-migration/zoneless-migration' ;
2225import { LIST_PROJECTS_TOOL } from './tools/projects' ;
23- import { START_DEVSERVER_TOOL } from './tools/start-devserver' ;
24- import { STOP_DEVSERVER_TOOL } from './tools/stop-devserver' ;
2526import { AnyMcpToolDeclaration , registerTools } from './tools/tool-registry' ;
26- import { WAIT_FOR_DEVSERVER_BUILD_TOOL } from './tools/wait-for-devserver-build' ;
2727
2828/**
2929 * Tools to manage devservers. Should be bundled together, then added to experimental or stable as a group.
Original file line number Diff line number Diff line change 88
99import { EventEmitter } from 'events' ;
1010import { ChildProcess } from 'node:child_process' ;
11- import { MockHost } from '../testing/mock-host' ;
11+ import { MockHost } from '../../testing/mock-host' ;
12+ import { McpToolContext } from '../tool-registry' ;
1213import { startDevServer } from './start-devserver' ;
1314import { stopDevserver } from './stop-devserver' ;
14- import { McpToolContext } from './tool-registry' ;
1515import { WATCH_DELAY , waitForDevserverBuild } from './wait-for-devserver-build' ;
1616
1717class MockChildProcess extends EventEmitter {
Original file line number Diff line number Diff line change 77 */
88
99import { z } from 'zod' ;
10- import { LocalDevServer , devServerKey } from '../dev-server' ;
11- import { Host , LocalWorkspaceHost } from '../host' ;
12- import { createStructuredContentOutput } from '../utils' ;
13- import { McpToolContext , McpToolDeclaration , declareTool } from './tool-registry' ;
10+ import { LocalDevServer , devServerKey } from '../../ dev-server' ;
11+ import { Host , LocalWorkspaceHost } from '../../ host' ;
12+ import { createStructuredContentOutput } from '../../ utils' ;
13+ import { McpToolContext , McpToolDeclaration , declareTool } from '.. /tool-registry' ;
1414
1515const startDevServerToolInputSchema = z . object ( {
1616 project : z
Original file line number Diff line number Diff line change 77 */
88
99import { z } from 'zod' ;
10- import { devServerKey } from '../dev-server' ;
11- import { createStructuredContentOutput } from '../utils' ;
12- import { McpToolContext , McpToolDeclaration , declareTool } from './tool-registry' ;
10+ import { devServerKey } from '../../ dev-server' ;
11+ import { createStructuredContentOutput } from '../../ utils' ;
12+ import { McpToolContext , McpToolDeclaration , declareTool } from '.. /tool-registry' ;
1313
1414const stopDevserverToolInputSchema = z . object ( {
1515 project : z
Original file line number Diff line number Diff line change 77 */
88
99import { z } from 'zod' ;
10- import { devServerKey } from '../dev-server' ;
11- import { createStructuredContentOutput } from '../utils' ;
12- import { McpToolContext , McpToolDeclaration , declareTool } from './tool-registry' ;
10+ import { devServerKey } from '../../ dev-server' ;
11+ import { createStructuredContentOutput } from '../../ utils' ;
12+ import { McpToolContext , McpToolDeclaration , declareTool } from '.. /tool-registry' ;
1313
1414/**
1515 * How long to wait to give "ng serve" time to identify whether the watched workspace has changed.
You can’t perform that action at this time.
0 commit comments