@cherrystudio/provider-registry 0.2.9 → 0.3.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 +9 -0
- package/data/provider-models.json +2494 -1
- package/data/providers.json +79 -10
- package/dist/bundled-catalog.cjs +2 -2
- package/dist/bundled-catalog.mjs +2 -2
- package/dist/{bundled-provider-models-DtkGlrM0.mjs → bundled-provider-models-CZkfWU7M.mjs} +2044 -1
- package/dist/{bundled-provider-models-DaZD5jmF.cjs → bundled-provider-models-DLkIpKBv.cjs} +2044 -1
- package/dist/bundled-provider-models.cjs +1 -1
- package/dist/bundled-provider-models.mjs +1 -1
- package/dist/{bundled-providers-ClAtcIXe.cjs → bundled-providers-BzPqWSIv.cjs} +84 -18
- package/dist/{bundled-providers-BuBDiy4v.mjs → bundled-providers-HLwq2Mc8.mjs} +84 -18
- package/dist/bundled-providers.cjs +1 -1
- package/dist/bundled-providers.mjs +1 -1
- package/dist/index.cjs +566 -445
- package/dist/index.d.cts +6 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.mjs +566 -445
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,6 +145,15 @@ The three `data/*.json` files are generated. Edit `src/creators/` or `src/provid
|
|
|
145
145
|
and run the generator; never hand-edit catalog data. Contributor instructions and
|
|
146
146
|
architecture documentation live in this package's source repository.
|
|
147
147
|
|
|
148
|
+
For provider connection or server-tool selector changes, `--providers-only` rebuilds
|
|
149
|
+
provider configuration and tool eligibility from the committed model catalog and
|
|
150
|
+
provider-owned standalone models, without fetching upstream catalogs:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
pnpm --filter @cherrystudio/provider-registry exec tsx scripts/generate-catalog.ts --write --providers-only
|
|
154
|
+
pnpm exec oxfmt --write packages/provider-registry/data/providers.json packages/provider-registry/src/patterns/server-tool-models.gen.ts
|
|
155
|
+
```
|
|
156
|
+
|
|
148
157
|
To refresh one canonical model and its provider offers while retaining unrelated
|
|
149
158
|
catalog rows, use `--model` (repeat it for multiple models). This also regenerates
|
|
150
159
|
the source-owned provider configuration and capability indexes:
|