@actioneer/ads-mcp 0.5.9 → 0.7.0

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
@@ -12,7 +12,7 @@ repo checkout and no relative import escaping the package boundary:
12
12
  - the **manifest-query core** (`@actioneer/ads-manifest`) — `(manifest, query) → results`
13
13
  - the **lint core** — wraps `@actioneer/ads-lint` to self-check generated code
14
14
 
15
- All five tools read the L1 catalog (`ads-manifest.json`).
15
+ All seven tools read the L1 catalog (`ads-manifest.json`).
16
16
 
17
17
  ## Tools
18
18
 
@@ -22,6 +22,8 @@ All five tools read the L1 catalog (`ads-manifest.json`).
22
22
  | `get_component(name)` | Full record for one EXACT export: exact import, props, variants, showcase URL, usage example, and the mandatory motion contract. Returns an error (never invents) on an unknown name. |
23
23
  | `get_token(role)` | The semantic token(s) for a role/utility/purpose (`brand`, `bg-danger`, `muted text`) so the agent references a token, not a literal ads-lint would reject. |
24
24
  | `get_principles(id?, enforcedByLint?)` | The 11 ADS design principles, including the required Animate UI-derived motion contract. Each flags whether `ads-lint` auto-checks it. |
25
+ | `get_ui_grammar(id?, intent?)` | Legal named-JSX component trees, constraints, linked principles, and canonical Storybook owners for a screen intent. |
26
+ | `get_design_graph(production?, component?, includeStates?)` | Focused composition/state graph slices. Production queries return the full tree and its states; component queries return states and every production that uses it. |
25
27
  | `lint_snippet(code)` | Runs a snippet through `@actioneer/ads-lint` (consumer mode) and returns the verdict — deep imports, aliasing, external-UI, literals, weak motion. |
26
28
 
27
29
  Every component lookup carries principle 3 automatically. Imported ADS