@kazee-ds/mcp 0.1.2 → 0.1.4
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 +2 -0
- package/dist/catalog.json +557 -102
- package/package.json +5 -5
- package/src/guides.mjs +2 -0
- package/src/server.mjs +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kazee-ds/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Versioned React and Vue documentation tools for Kazee Design System agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"react": "^19.3.0",
|
|
28
28
|
"vue": "^3.5.32",
|
|
29
29
|
"vue-tsc": "^3.3.12",
|
|
30
|
-
"@kazee-ds/react": "0.
|
|
31
|
-
"@kazee-ds/vue": "0.
|
|
32
|
-
"@kazee-ds/
|
|
33
|
-
"@kazee-ds/
|
|
30
|
+
"@kazee-ds/react": "0.5.1",
|
|
31
|
+
"@kazee-ds/vue": "0.5.1",
|
|
32
|
+
"@kazee-ds/styles": "0.5.1",
|
|
33
|
+
"@kazee-ds/tokens": "0.4.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public",
|
package/src/guides.mjs
CHANGED
|
@@ -8,6 +8,8 @@ export const guides = {
|
|
|
8
8
|
'Import @kazee-ds/styles/index.css once in the global application entry point. Use semantic --ds-* CSS variables and data-theme light/dark. Use documented component size/variant props and slots. Some components deliberately do not forward arbitrary HTML attributes; consult their API. Card and native table composition allow application layout wrappers. Preserve accessible names on icon-only controls. Use reduced-motion preferences; do not disable accessibility checks to obtain visual parity.',
|
|
9
9
|
frameworks:
|
|
10
10
|
'React uses callbacks such as onPress/onChange and isDisabled/isRequired; Vue uses @press, v-model, disabled/required and named/scoped slots. These are Kazee-specific contracts, not interchangeable HeroUI or shadcn APIs. Select chooses fixed options; Combobox provides searchable single selection in the newer catalog. Read the versioned props/events/slots rather than borrowing upstream API names.',
|
|
11
|
+
toast:
|
|
12
|
+
'Toast and ToastProvider are currently workspace-only additions, not exported by the immutable registry-verified 0.4.0 release. When matching local packed artifacts or reviewing this checkout, use createToastManager and one ToastProvider per manager; useToast accesses the nearest provider. Import the shared stylesheet once. Use semantic tone neutral/info/success/warning/danger, duration zero for persistent content, and explicit action altText. Promise updates retain the same ID and never recreate a dismissed notification. Hover/focus/window blur/hidden document pause remaining time; queued notifications start timing only when visible. Alt+T focuses the region and Escape closes one while focus is inside it. Critical errors and required responses belong in persistent application UI. New package versions and a separately verified MCP catalog are required before registry consumers can adopt Toast; this server does not publish them.',
|
|
11
13
|
};
|
|
12
14
|
export function installation(catalog, framework, manager, serverVersion) {
|
|
13
15
|
const workspace = catalog.provenance.source === 'workspace';
|
package/src/server.mjs
CHANGED
|
@@ -176,8 +176,8 @@ export function createServer(data = loadCatalog()) {
|
|
|
176
176
|
);
|
|
177
177
|
tool(
|
|
178
178
|
'get_guides',
|
|
179
|
-
'Read Kazee agent workflow, styling, React/Vue differences or dashboard application-composition boundaries.',
|
|
180
|
-
{ topic: z.enum(['workflow', 'styling', 'frameworks', 'composition']) },
|
|
179
|
+
'Read Kazee agent workflow, styling, React/Vue differences, Toast lifecycle, or dashboard application-composition boundaries.',
|
|
180
|
+
{ topic: z.enum(['workflow', 'styling', 'frameworks', 'composition', 'toast']) },
|
|
181
181
|
({ topic }) => ({ topic, guide: guides[topic] }),
|
|
182
182
|
);
|
|
183
183
|
server.registerResource(
|