@prestyj/core 5.24.0 → 5.25.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/dist/{chunk-SQLBQOQH.js → chunk-GDM5Q7SA.js} +62 -41
- package/dist/{chunk-SQLBQOQH.js.map → chunk-GDM5Q7SA.js.map} +1 -1
- package/dist/index.cjs +61 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +62 -41
- 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
|
@@ -42,7 +42,7 @@ interface ModelInfo {
|
|
|
42
42
|
* - OpenAI GPT-6 Astra: `ultra` (Codex orchestration preset above `max`)
|
|
43
43
|
* - OpenAI GPT-5.6-era (Sol/Terra/Luna): `max`
|
|
44
44
|
* - OpenAI Pro/Codex/old: clamped to what the model accepts
|
|
45
|
-
* - Claude Fable 5.1 / Fable 5 / Mythos 5, Opus 5 and Sonnet 5: `max`
|
|
45
|
+
* - Claude Fable 5.1 / Fable 5 / Mythos 5, Opus 5.5 / Opus 5 and Sonnet 5: `max`
|
|
46
46
|
* (the Fable / Mythos line uses always-on adaptive thinking, low→max)
|
|
47
47
|
* - Claude Haiku 4.5: `high` (no adaptive `max` tier)
|
|
48
48
|
* - Kimi K3: `max` (always-on reasoning; currently the only API effort)
|
|
@@ -149,8 +149,8 @@ declare function getSummaryModel(provider: Provider, currentModelId: string): Mo
|
|
|
149
149
|
*
|
|
150
150
|
* Routes off each model's `costTier` — the single source of truth that already
|
|
151
151
|
* travels with the registry entry — so a model rename/bump needs no change
|
|
152
|
-
* here. Providers with no low-tier sibling (Moonshot, MiniMax,
|
|
153
|
-
*
|
|
152
|
+
* here. Providers with no low-tier sibling (Moonshot, MiniMax, Sakana,
|
|
153
|
+
* OpenRouter) gracefully keep the parent model, so there's never a
|
|
154
154
|
* crash or a cross-provider jump to a login the user may not have.
|
|
155
155
|
*/
|
|
156
156
|
declare function getFastModel(provider: Provider, currentModelId: string): ModelInfo;
|
package/dist/model-registry.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ interface ModelInfo {
|
|
|
42
42
|
* - OpenAI GPT-6 Astra: `ultra` (Codex orchestration preset above `max`)
|
|
43
43
|
* - OpenAI GPT-5.6-era (Sol/Terra/Luna): `max`
|
|
44
44
|
* - OpenAI Pro/Codex/old: clamped to what the model accepts
|
|
45
|
-
* - Claude Fable 5.1 / Fable 5 / Mythos 5, Opus 5 and Sonnet 5: `max`
|
|
45
|
+
* - Claude Fable 5.1 / Fable 5 / Mythos 5, Opus 5.5 / Opus 5 and Sonnet 5: `max`
|
|
46
46
|
* (the Fable / Mythos line uses always-on adaptive thinking, low→max)
|
|
47
47
|
* - Claude Haiku 4.5: `high` (no adaptive `max` tier)
|
|
48
48
|
* - Kimi K3: `max` (always-on reasoning; currently the only API effort)
|
|
@@ -149,8 +149,8 @@ declare function getSummaryModel(provider: Provider, currentModelId: string): Mo
|
|
|
149
149
|
*
|
|
150
150
|
* Routes off each model's `costTier` — the single source of truth that already
|
|
151
151
|
* travels with the registry entry — so a model rename/bump needs no change
|
|
152
|
-
* here. Providers with no low-tier sibling (Moonshot, MiniMax,
|
|
153
|
-
*
|
|
152
|
+
* here. Providers with no low-tier sibling (Moonshot, MiniMax, Sakana,
|
|
153
|
+
* OpenRouter) gracefully keep the parent model, so there's never a
|
|
154
154
|
* crash or a cross-provider jump to a login the user may not have.
|
|
155
155
|
*/
|
|
156
156
|
declare function getFastModel(provider: Provider, currentModelId: string): ModelInfo;
|
package/dist/model-registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prestyj/core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.25.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Provider-agnostic, UI-free shared foundation: model registry, auth, paths, telegram, voice",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@prestyj/ai": "5.
|
|
36
|
+
"@prestyj/ai": "5.25.0"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
39
|
"@huggingface/transformers": "4.2.0",
|