Commit e12e002
committed
fix(@angular/cli): update MCP devserver tool names to conform to spec regex
MCP tool names must adhere to the regular expression ^[a-zA-Z0-9_-]+$. This commit updates devserver.start, devserver.stop, and devserver.wait_for_build to use underscores (devserver_start, devserver_stop, devserver_wait_for_build) and updates all corresponding tool references and documentation across the MCP command package.1 parent 9a3c34b commit e12e002Copy full SHA for e12e002
5 files changed
+17-17Lines changed: 17 additions & 17 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/angular/cli/src/commands/mcp/tools
- devserver
- run-target
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/angular/cli/src/commands/mcp/tools/devserver/devserver-start.ts
Copy file name to clipboardExpand all lines: packages/angular/cli/src/commands/mcp/tools/devserver/devserver-start.ts+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
93 | 93 | |
94 | 94 | |
95 | 95 | |
96 | | - |
| 96 | + |
97 | 97 | |
98 | 98 | |
99 | 99 | |
100 | | - |
| 100 | + |
101 | 101 | |
102 | 102 | |
103 | 103 | |
104 | 104 | |
105 | 105 | |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
110 | 110 | |
111 | 111 | |
112 | 112 | |
113 | 113 | |
114 | 114 | |
115 | | - |
| 115 | + |
116 | 116 | |
117 | 117 | |
118 | | - |
| 118 | + |
119 | 119 | |
120 | 120 | |
121 | 121 | |
|
Collapse file
packages/angular/cli/src/commands/mcp/tools/devserver/devserver-stop.ts
Copy file name to clipboardExpand all lines: packages/angular/cli/src/commands/mcp/tools/devserver/devserver-stop.ts+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
54 | 54 | |
55 | 55 | |
56 | 56 | |
57 | | - |
| 57 | + |
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | | - |
| 61 | + |
62 | 62 | |
63 | 63 | |
64 | 64 | |
|
Collapse file
packages/angular/cli/src/commands/mcp/tools/devserver/devserver-wait-for-build.ts
Copy file name to clipboardExpand all lines: packages/angular/cli/src/commands/mcp/tools/devserver/devserver-wait-for-build.ts+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
96 | 96 | |
97 | 97 | |
98 | 98 | |
99 | | - |
| 99 | + |
100 | 100 | |
101 | 101 | |
102 | 102 | |
103 | | - |
| 103 | + |
104 | 104 | |
105 | 105 | |
106 | 106 | |
107 | | - |
| 107 | + |
108 | 108 | |
109 | 109 | |
110 | 110 | |
111 | 111 | |
112 | | - |
| 112 | + |
113 | 113 | |
114 | | - |
| 114 | + |
115 | 115 | |
116 | 116 | |
117 | 117 | |
|
Collapse file
packages/angular/cli/src/commands/mcp/tools/run-target/generic-target-strategy.ts
Copy file name to clipboardExpand all lines: packages/angular/cli/src/commands/mcp/tools/run-target/generic-target-strategy.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
39 | 39 | |
40 | 40 | |
|
Collapse file
packages/angular/cli/src/commands/mcp/tools/run-target/run-target.ts
Copy file name to clipboardExpand all lines: packages/angular/cli/src/commands/mcp/tools/run-target/run-target.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
66 | 66 | |
67 | 67 | |
68 | 68 | |
69 | | - |
| 69 | + |
70 | 70 | |
71 | 71 | |
72 | 72 | |
|
0 commit comments