@morya-ui/mcp 0.3.1 → 0.3.3

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 CHANGED
@@ -119,8 +119,10 @@ For a starter Vue file, pass `includeScaffold: true` to `recommend_page`:
119
119
  `recommend_component` modes:
120
120
 
121
121
  - omit `query` and `decision` → list decision guides
122
- - `decision` only → read one guide (e.g. `overlay-choice`, `selection-choice`, `status-label-choice`, `empty-result-choice`, `action-menu-choice`)
123
- - `query` → recommend a component for a UI question
122
+ - `decision` only → read one guide with **when / avoidWhen / recipe (props, slots, events) / antiPatterns** (e.g. `overlay-choice`, `selection-choice`, `feedback-choice`, `confirm-choice`)
123
+ - `query` → recommend a guide for a UI question (same recipe payload)
124
+
125
+ Offline mirror for the page skill: `design-kit/.../references/decision-recipes.md` (regenerate with `pnpm --filter @morya-ui/mcp generate:recipes`).
124
126
 
125
127
  ## Develop
126
128
 
@@ -130,7 +132,7 @@ pnpm mcp:generate
130
132
  pnpm mcp:build
131
133
  ```
132
134
 
133
- Catalog sources: `src/components/*/docs` and `playground/src/docs/guide/*.md`.
135
+ After editing `src/decisions.ts`, run `pnpm --filter @morya-ui/mcp generate:recipes` (also runs as part of `build`) so the skill offline recipes stay in sync.
134
136
 
135
137
  ```bash
136
138
  pnpm mcp:generate