@prestyj/core 5.39.1 → 5.39.3
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/dist/{chunk-WSFHVWQ4.js → chunk-JONGQMZF.js} +19 -14
- package/dist/chunk-JONGQMZF.js.map +1 -0
- package/dist/index.cjs +19 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +9 -11
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +3 -3
- package/dist/model-registry.d.ts +3 -3
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-WSFHVWQ4.js.map +0 -1
|
@@ -87,8 +87,8 @@ interface ModelInfo {
|
|
|
87
87
|
* - `mimo-v2.6-pro` / `mimo-v2.6-flash`: `["xiaomi", XIAOMI_CREDITS_KEY]` —
|
|
88
88
|
* prefer the Token Plan, fall back to API Credits (API Credits serves
|
|
89
89
|
* every MiMo model, so a Credits-only user still reaches these).
|
|
90
|
-
* - `mimo-v2.6-pro-ultraspeed`:
|
|
91
|
-
*
|
|
90
|
+
* - `mimo-v2.6-pro-ultraspeed`: same order — Token Plan Pro/Max serve it
|
|
91
|
+
* (limited-time, since 2026-11-19), and API Credits serve it on any plan.
|
|
92
92
|
* - every Gemini model: `[GEMINI_API_KEY, "gemini"]` — an AI Studio API key
|
|
93
93
|
* first (the user chose to pay per token, and Code Assist OAuth now
|
|
94
94
|
* refuses personal accounts), then the Code Assist OAuth login.
|
|
@@ -165,7 +165,7 @@ declare function withoutPaidTier(modelId: string): string;
|
|
|
165
165
|
* provider id (one credential per provider). Models with `authStorageKeys`
|
|
166
166
|
* set (currently only Xiaomi) can prefer one endpoint and fall back to
|
|
167
167
|
* another — e.g. `mimo-v2.6-pro` prefers the Token Plan but falls back to API
|
|
168
|
-
* Credits
|
|
168
|
+
* Credits.
|
|
169
169
|
*/
|
|
170
170
|
declare function getAuthStorageKeys(provider: Provider, modelId: string): string[];
|
|
171
171
|
/** The preferred (first) auth-storage key for `(provider, model)` — see `getAuthStorageKeys()`. */
|
package/dist/model-registry.d.ts
CHANGED
|
@@ -87,8 +87,8 @@ interface ModelInfo {
|
|
|
87
87
|
* - `mimo-v2.6-pro` / `mimo-v2.6-flash`: `["xiaomi", XIAOMI_CREDITS_KEY]` —
|
|
88
88
|
* prefer the Token Plan, fall back to API Credits (API Credits serves
|
|
89
89
|
* every MiMo model, so a Credits-only user still reaches these).
|
|
90
|
-
* - `mimo-v2.6-pro-ultraspeed`:
|
|
91
|
-
*
|
|
90
|
+
* - `mimo-v2.6-pro-ultraspeed`: same order — Token Plan Pro/Max serve it
|
|
91
|
+
* (limited-time, since 2026-11-19), and API Credits serve it on any plan.
|
|
92
92
|
* - every Gemini model: `[GEMINI_API_KEY, "gemini"]` — an AI Studio API key
|
|
93
93
|
* first (the user chose to pay per token, and Code Assist OAuth now
|
|
94
94
|
* refuses personal accounts), then the Code Assist OAuth login.
|
|
@@ -165,7 +165,7 @@ declare function withoutPaidTier(modelId: string): string;
|
|
|
165
165
|
* provider id (one credential per provider). Models with `authStorageKeys`
|
|
166
166
|
* set (currently only Xiaomi) can prefer one endpoint and fall back to
|
|
167
167
|
* another — e.g. `mimo-v2.6-pro` prefers the Token Plan but falls back to API
|
|
168
|
-
* Credits
|
|
168
|
+
* Credits.
|
|
169
169
|
*/
|
|
170
170
|
declare function getAuthStorageKeys(provider: Provider, modelId: string): string[];
|
|
171
171
|
/** The preferred (first) auth-storage key for `(provider, model)` — see `getAuthStorageKeys()`. */
|
package/dist/model-registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prestyj/core",
|
|
3
|
-
"version": "5.39.
|
|
3
|
+
"version": "5.39.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Model registry, sign-in and stored credentials, and local model discovery for apps built on @prestyj/ai. No UI, no agent loop.",
|
|
6
6
|
"author": "Nolan Grout",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dist"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@prestyj/ai": "5.39.
|
|
52
|
+
"@prestyj/ai": "5.39.3"
|
|
53
53
|
},
|
|
54
54
|
"optionalDependencies": {
|
|
55
55
|
"@huggingface/transformers": "4.2.0",
|