@aurodesignsystem-dev/auro-cli 0.0.0-pr302.1 → 0.0.0-pr302.2

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
@@ -166,10 +166,10 @@ Reads the repo's commits, classifies each by conventional-commit type, and repor
166
166
 
167
167
  Prints an AI-ready context document describing the Auro Design System, its components, and usage patterns. Designed to be piped into or pasted into AI coding assistants (Claude, Cursor, Copilot, etc.) to prime them on Auro.
168
168
 
169
- The Component Reference table is enriched from each component's published Custom Elements Manifest so descriptions stay current; the curated built-in list is used as a fallback for any component that can't be fetched (or when `--offline` is passed).
169
+ The Component Reference table is enriched from each component's Custom Elements Manifest so descriptions stay current. For components installed in the current project, the manifest is read from `node_modules` (matching your installed version); everything else is fetched from unpkg. The curated built-in list is the fallback for any component that can't be resolved. After generating the document, any installed component that isn't on the latest published release is reported to stderr (so it never pollutes the document itself).
170
170
 
171
171
  - `-o, --output <file>`: write the context document to a file instead of stdout (e.g. `AURO_CONTEXT.md`).
172
- - `--offline`: skip fetching live manifests and use the built-in component table (no network).
172
+ - `--offline`: skip network fetches — enrich only from locally installed manifests and fall back to the built-in table (also skips the outdated-release check).
173
173
 
174
174
  Print the context to the terminal:
175
175
 
@@ -205,11 +205,13 @@ auro cem --output dist/custom-elements.aggregate.json
205
205
  ```
206
206
 
207
207
  `auro component <name>`
208
- Looks up a single Auro component's API — attributes, properties/methods, slots, events, and CSS parts — from its published Custom Elements Manifest. Useful for humans and for AI coding assistants that call the CLI in a tool-use loop to avoid guessing an API.
208
+ Looks up a single Auro component's API — attributes, properties/methods, slots, events, and CSS parts — from its Custom Elements Manifest. Useful for humans and for AI coding assistants that call the CLI in a tool-use loop to avoid guessing an API.
209
+
210
+ If the component is installed in the current project's `node_modules`, its manifest is read locally so the API matches the version you actually have — the success line shows `(local vX.Y.Z)`. Otherwise it's fetched from unpkg (shown as `(unpkg)`). Passing an explicit `--tag`/version always fetches that version from unpkg.
209
211
 
210
212
  #### Options
211
213
 
212
- - `-t, --tag <version>` npm dist-tag or version to look up (default: `latest`).
214
+ - `-t, --tag <version>` npm dist-tag or version to look up (default: `latest`; forces an unpkg fetch).
213
215
  - `--json` Output the raw manifest declaration(s) as JSON instead of formatted text.
214
216
 
215
217
  #### Examples