@vini-ds/agent 0.1.0-alpha.13 → 0.1.0-alpha.15

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/SETUP.md CHANGED
@@ -156,7 +156,9 @@ belong in their shared source, not copied instance overrides.
156
156
 
157
157
  Read `vini://patterns` for the installed inventory, or call `search_ds` with an explicit `kinds: ["pattern"]`. Read the chosen `get_pattern_contract({ id, platform: "web" })` for its component bindings, lifecycle, validation, focus and known limitations. Not every package baseline includes a reviewed pattern; an empty inventory is intentional.
158
158
 
159
- `vini://examples` lists the available public adaptations. For a selected example's description,
159
+ `vini://examples` lists the available public adaptations. If it reports `paginated: true`,
160
+ follow `firstPage` and each `next` link until all `total` entries have been read; do not
161
+ interpret the page header as the complete inventory. For a selected example's description,
160
162
  component dependencies and limitations, read its bounded `vini://examples/{id}/details`.
161
163
  For complete files, use the bounded manifest and parts described below.
162
164
  The legacy `vini://examples/{id}` resource remains available, but its complete response can be
@@ -173,11 +175,16 @@ recorded contrast limitation.
173
175
 
174
176
  1. Read `vini://examples/{id}/details` for the chosen example's description, component
175
177
  dependencies, pattern associations, limitations and any source correspondence. Read
176
- `vini://examples/{id}/manifest` for its file inventory: each file's name, language, byte
178
+ `vini://examples/{id}/manifest` for its file inventory. If the manifest has
179
+ `filePageUriTemplate`, read every page from zero through `filePageCount - 1`.
180
+ If details report `paginated`, reconstruct the JSON from their part URI template and
181
+ verify every part and the complete SHA-256 before reading it. Each file entry gives its name, language, byte
177
182
  length, SHA-256, encoding, part size, part count and part URI template. Compare their example
178
183
  ID, package version and baseline; use the exact names and part range from the manifest. The
179
184
  manifest is a file-integrity description; it does not replace the example's limitations.
180
- 2. Read every zero-based part from `vini://examples/{id}/files/{filename}/parts/{index}`.
185
+ 2. Read every zero-based part using the `partUriTemplate` returned for that file. Older
186
+ packages use `vini://examples/{id}/files/{filename}/parts/{index}`; larger catalogs can
187
+ use an indexed file URI instead.
181
188
  Each response identifies the example, file, installed package version and baseline, and
182
189
  includes `index`, `partCount`, `partByteLength`, `partSha256` and base64 `content`.
183
190
  Both file `sha256` and `partSha256` use `sha256:<64 hex>` strings. The current part size
@@ -189,7 +196,7 @@ recorded contrast limitation.
189
196
  index and the actual decoded length and SHA-256 against `partByteLength` and `partSha256`.
190
197
  Reject missing, repeated, reordered, incomplete or inconsistent parts. Concatenate the
191
198
  bytes in index order, then verify the complete byte length and SHA-256 against the manifest
192
- **before** decoding UTF-8 or using the file.
199
+ **before** decoding UTF-8 or using the file. Keep binary resources as bytes; they are not UTF-8 text.
193
200
  4. Obtain and verify every file listed for the selected example, including CSS and notices.
194
201
  Preserve the dashboard chart license notices; do not omit them to reduce response size.
195
202
  If a part or verification is unavailable, report the example as incomplete rather than
package/SKILL.md CHANGED
@@ -56,7 +56,13 @@ After a package-name migration, an already published alpha.3 MCP may report a pa
56
56
 
57
57
  Use `search_ds` and `get_component_contract` for components and their public exports, props, slots, limitations and type declarations. `get_package_profile` describes the supported React DOM setup. Use `get_token` or `resolve_token` for existing Foundation values; explicit token modes are required where the contract says so. Other native renderers are outside this package's scope.
58
58
 
59
- For a repeatable flow, inspect `vini://patterns` or search explicitly with `kinds: ["pattern"]`, then read `get_pattern_contract` with the selected id and `platform: "web"`. Read its bindings, lifecycle, focus/recovery rules and limitations before composing it. An empty inventory means that this installed baseline includes no reviewed public patterns. Use `vini://examples` to find available examples. Read `vini://examples/{id}/details` for the selected example's description and limitations, and `vini://examples/{id}/manifest` for its file inventory. Then read every part of every listed file through `vini://examples/{id}/files/{filename}/parts/{index}`. Decode base64 parts to bytes and verify their identity, order, lengths and `partSha256`, then verify each concatenated file's complete byte length and `sha256` before UTF-8 decoding or use. Follow the precise steps in “Reading complete example files” in setup, including package version and baseline consistency. Preserve all CSS and license notices. A missing, truncated or inconsistent part means the example is incomplete; do not use it. The older `vini://examples/{id}` resource remains available but can exceed a client's output limit. Examples are adapted demonstrations on the public API, not verified product implementations or permission to change product semantics. The form reference's secondary-action constraint does not restrict every Button in every product. Keep locale, validation, persistence and outcomes explicit in the product.
59
+ For a repeatable flow, inspect `vini://patterns` or search explicitly with `kinds: ["pattern"]`, then read `get_pattern_contract` with the selected id and `platform: "web"`. Read its bindings, lifecycle, focus/recovery rules and limitations before composing it. An empty inventory means that this installed baseline includes no reviewed public patterns. Use `vini://examples` to find available examples. Read `vini://examples/{id}/details` for the selected example's description and limitations, and `vini://examples/{id}/manifest` for its file inventory. Then read every part of every listed file using its returned `partUriTemplate`. Decode base64 parts to bytes and verify their identity, order, lengths and `partSha256`, then verify each concatenated file's complete byte length and `sha256` before UTF-8 decoding or use. Follow the precise steps in “Reading complete example files” in setup, including package version and baseline consistency. Preserve all CSS and license notices. A missing, truncated or inconsistent part means the example is incomplete; do not use it. The older `vini://examples/{id}` resource remains available but can exceed a client's output limit. Examples are adapted demonstrations on the public API, not verified product implementations or permission to change product semantics. The form reference's secondary-action constraint does not restrict every Button in every product. Keep locale, validation, persistence and outcomes explicit in the product.
60
+
61
+ For a paginated example catalog, follow `firstPage` and `next` to read every page. If a
62
+ manifest supplies `filePageUriTemplate`, read every file page and use each file's own
63
+ `partUriTemplate`; if details are paginated, reconstruct and verify the complete JSON from
64
+ its parts. Verify binary assets as bytes and preserve their notices. Follow setup for the
65
+ full verification sequence; older unpaginated packages remain supported.
60
66
 
61
67
  Adding the pattern interface and the bounded example details, manifest and part resource templates changes the MCP tool/resource inventory. A connection to the preceding interface may reject `refresh_connection` and request reconnect; preserve that check and reconnect the same project MCP, then verify current, the affected pattern/component, example inventory and `check_updates` through the new connection. A successful transition between older packages with identical interfaces does not verify this interface change.
62
68