@jini-ai/plugin-catalog 0.6.23 → 0.7.1

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.
Files changed (3) hide show
  1. package/README.md +7 -2
  2. package/catalog.json +337 -193
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -8,7 +8,8 @@ package and use the existing Jini installers and loaders.
8
8
  Each entry records its kind, local id, publisher-qualified identity, npm package name and
9
9
  version, artifact directory relative to that package, contract id/version, description,
10
10
  and expected file digests. `version` is the npm version; `pluginVersion` preserves the
11
- inner manifest version. Agent entries name `@jini-ai/agent-plugins` with `path` = the plugin id,
11
+ inner manifest version. Agent manifest versions advance when their published content changes;
12
+ unchanged plugins retain their own version independently of the npm distribution. Agent entries name `@jini-ai/agent-plugins` with `path` = the plugin id,
12
13
  so a host imports `@jini-ai/agent-plugins/<id>`. Provider artifacts use the npm version; every provider
13
14
  names `@jini-ai/provider-plugins`. Contracts retain their manifest identifiers
14
15
  (`ai_trace`, `product_analytics`, `observability`, `payments`, `fixture`); the agent contract
@@ -18,7 +19,11 @@ The reviewed source catalog uses `expectedDigests: null` until payloads are buil
18
19
  These entries are discovery metadata, not verified artifacts. For release, build the
19
20
  provider distribution first, then run `pnpm --filter @jini-ai/plugin-catalog generate`.
20
21
  `prepack` repeats generation and refuses missing/stale artifacts or provider integrity
21
- mismatches. Generation only reads manifests and hashes files: it never builds or imports
22
+ mismatches. Before either release script uploads anything, every selected archive is prepared,
23
+ and the catalog is checked against those exact archives and immutable npm versions skipped by
24
+ the selected release. A missing skipped version, a registry lookup failure, or mismatched
25
+ metadata/file digests fails the release. Changed agent content also requires a newer manifest
26
+ version than the last published distribution. Generation only reads manifests and hashes files: it never builds or imports
22
27
  plugin code. Unpublished tooling reuses `computePluginIntegrity`, including for the agent's
23
28
  file map. Its `sha256-<hex>` values cover files relative to `path`; provider manifests are
24
29
  excluded by that existing integrity contract. Agent `plugin.json` is included. This is