@plurnk/plurnk-models 1.18.0 → 1.19.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.
- package/README.md +15 -6
- package/dist/catalog.json +1 -1
- package/dist/providers.json +1 -1
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -50,14 +50,23 @@ Context windows, output envelopes, reasoning activation, and prices resolve by
|
|
|
50
50
|
different rules in the provider contract ({§model-fact-resolution}). In
|
|
51
51
|
particular, PLURNK does not fetch live per-token prices.
|
|
52
52
|
|
|
53
|
-
##
|
|
53
|
+
## Build and refresh
|
|
54
54
|
|
|
55
|
-
The
|
|
55
|
+
The lockfile selects Models.dev's official
|
|
56
|
+
[`@opencode-ai/models/snapshot`](https://github.com/anomalyco/models.dev/tree/dev/packages/sdk#snapshot)
|
|
57
|
+
as a build-only dependency. Normal build and prepack generate the pruned source
|
|
58
|
+
JSON and include it in `dist`; generated JSON stays out of Git. Generation
|
|
59
|
+
works offline after dependency installation, and consumers need no upstream SDK.
|
|
60
|
+
|
|
61
|
+
To refresh the catalog from the repository root:
|
|
56
62
|
|
|
57
63
|
```sh
|
|
58
|
-
npm
|
|
64
|
+
npm install --save-dev @opencode-ai/models@latest --workspace plurnk-models --no-audit --no-fund
|
|
65
|
+
npm run build --workspace plurnk-models
|
|
66
|
+
npm test --workspace plurnk-models
|
|
59
67
|
```
|
|
60
68
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
Commit the dependency/lockfile change, not the generated catalogs. `npm run
|
|
70
|
+
generate --workspace plurnk-models` regenerates from the already installed
|
|
71
|
+
snapshot without selecting a newer version. See {§model-catalog-build} and
|
|
72
|
+
{§model-catalog-projection}.
|