@nysds/mcp-server 1.21.1 → 1.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/data/cem/custom-elements.json +1562 -1029
- package/data/frameworks.json +14 -0
- package/data/guides/frameworks/angular.md +184 -26
- package/data/guides/frameworks/react-additions.md +69 -0
- package/data/guides/frameworks/react.md +205 -23
- package/data/guides/frameworks/vue.md +356 -0
- package/data/tokens/tokens.css +1 -1
- package/dist/lib/cem-parser.d.ts +12 -0
- package/dist/lib/cem-parser.d.ts.map +1 -1
- package/dist/lib/frameworks-data.d.ts +2 -1
- package/dist/lib/frameworks-data.d.ts.map +1 -1
- package/dist/lib/frameworks-data.js +2 -1
- package/dist/resources/frameworks.d.ts +3 -1
- package/dist/resources/frameworks.d.ts.map +1 -1
- package/dist/resources/frameworks.js +23 -2
- package/dist/resources/guides.d.ts.map +1 -1
- package/dist/resources/guides.js +12 -1
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +2 -0
- package/dist/tools/component-tools.d.ts.map +1 -1
- package/dist/tools/component-tools.js +20 -5
- package/dist/tools/guide-tools.js +1 -1
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ See the [Gemini CLI documentation](https://github.com/google-gemini/gemini-cli)
|
|
|
154
154
|
| Tool | Description |
|
|
155
155
|
| ------------------------ | ------------------------------------------------------------------------------------------- |
|
|
156
156
|
| `find_components` | Search for components by name/description, or list all (omit query) |
|
|
157
|
-
| `get_component` | Full documentation for a specific component. Use `includeExamples: true` for code examples. |
|
|
157
|
+
| `get_component` | Full documentation for a specific component. Use `includeExamples: true` for code examples (each carries `html`, `react`, and `angular` snippets). Pass `framework: "react"` or `"angular"` for that framework's import line, event-prop naming, and forms guidance. |
|
|
158
158
|
| `validate_component_api` | Validate that attributes/properties are valid for a component |
|
|
159
159
|
|
|
160
160
|
### Design Tokens
|
|
@@ -171,7 +171,7 @@ See the [Gemini CLI documentation](https://github.com/google-gemini/gemini-cli)
|
|
|
171
171
|
| Tool | Description |
|
|
172
172
|
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
173
173
|
| `get_utility_classes` | Grid, flexbox, spacing, display, and typography utility classes |
|
|
174
|
-
| `get_guide` | Guides for installation, forms, styles, fonts, page structure, or framework setup (angular, react, dotnet, drupal, vanilla).
|
|
174
|
+
| `get_guide` | Guides for installation, forms, styles, fonts, page structure, or framework setup (angular, react, vue, dotnet, drupal, vanilla). The angular, react, and vue guides are the `@nysds/angular`, `@nysds/react`, and `@nysds/vue` package READMEs. |
|
|
175
175
|
|
|
176
176
|
## Available Resources
|
|
177
177
|
|
|
@@ -187,6 +187,10 @@ See the [Gemini CLI documentation](https://github.com/google-gemini/gemini-cli)
|
|
|
187
187
|
| `nysds://tokens/space` | Spacing tokens |
|
|
188
188
|
| `nysds://tokens/size` | Size tokens |
|
|
189
189
|
| `nysds://installation` | Installation guide |
|
|
190
|
+
| `nysds://frameworks` | Index of framework packages (`@nysds/react`, `@nysds/vue`, `@nysds/angular`) with version and guide URI |
|
|
191
|
+
| `nysds://frameworks/react` | `@nysds/react` install, usage, forms, SSR, and troubleshooting guide |
|
|
192
|
+
| `nysds://frameworks/vue` | `@nysds/vue` install, usage, `v-model` forms, SSR, and troubleshooting guide |
|
|
193
|
+
| `nysds://frameworks/angular` | `@nysds/angular` install, usage, forms, SSR, and troubleshooting guide |
|
|
190
194
|
|
|
191
195
|
## Prompts
|
|
192
196
|
|