@prestyj/core 5.26.0 → 5.28.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-NKYU365Z.js → chunk-ZCXAIMZF.js} +79 -92
- package/dist/chunk-ZCXAIMZF.js.map +1 -0
- package/dist/index.cjs +81 -94
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +72 -91
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +6 -6
- package/dist/model-registry.d.ts +6 -6
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-NKYU365Z.js.map +0 -1
|
@@ -16,8 +16,8 @@ interface ModelInfo {
|
|
|
16
16
|
/**
|
|
17
17
|
* Vendor-declared default reasoning level (Codex models.json
|
|
18
18
|
* `default_reasoning_level`). When present, fresh sessions start here rather
|
|
19
|
-
* than at the ceiling: the deep-reasoning flagships (Astra
|
|
20
|
-
*
|
|
19
|
+
* than at the ceiling: the deep-reasoning flagships (Astra ships "low",
|
|
20
|
+
* GPT-6 Sol/Luna "medium") think dramatically longer per rung, so defaulting to
|
|
21
21
|
* `maxThinkingLevel` made new sessions pathologically slow.
|
|
22
22
|
*/
|
|
23
23
|
defaultThinkingLevel?: ThinkingLevel;
|
|
@@ -39,10 +39,10 @@ interface ModelInfo {
|
|
|
39
39
|
/**
|
|
40
40
|
* The top reasoning tier this model genuinely uses. Used when thinking is
|
|
41
41
|
* enabled to pick the strongest setting per model:
|
|
42
|
-
* - OpenAI GPT-6 Astra: `ultra` (Codex orchestration preset above `max`)
|
|
43
|
-
* - OpenAI GPT-
|
|
42
|
+
* - OpenAI GPT-6 Astra / Sol: `ultra` (Codex orchestration preset above `max`)
|
|
43
|
+
* - OpenAI GPT-6 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.5 / Opus 5 and Sonnet 5: `max`
|
|
45
|
+
* - Claude Fable 5.1 / Fable 5 / Mythos 5, Opus 5.5 / Opus 5 and Sonnet 5.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)
|
|
@@ -135,7 +135,7 @@ declare function getDefaultThinkingLevel(modelId: string, options?: {
|
|
|
135
135
|
}): ThinkingLevel;
|
|
136
136
|
/**
|
|
137
137
|
* Get the model to use for compaction summarization.
|
|
138
|
-
* - Anthropic: always Sonnet 5
|
|
138
|
+
* - Anthropic: always Sonnet 5.5
|
|
139
139
|
* - OpenAI: cheapest (Codex Mini)
|
|
140
140
|
* - Gemini: use the current model
|
|
141
141
|
* - GLM: GLM-5.3-Flash (the registered low-cost sibling)
|
package/dist/model-registry.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ interface ModelInfo {
|
|
|
16
16
|
/**
|
|
17
17
|
* Vendor-declared default reasoning level (Codex models.json
|
|
18
18
|
* `default_reasoning_level`). When present, fresh sessions start here rather
|
|
19
|
-
* than at the ceiling: the deep-reasoning flagships (Astra
|
|
20
|
-
*
|
|
19
|
+
* than at the ceiling: the deep-reasoning flagships (Astra ships "low",
|
|
20
|
+
* GPT-6 Sol/Luna "medium") think dramatically longer per rung, so defaulting to
|
|
21
21
|
* `maxThinkingLevel` made new sessions pathologically slow.
|
|
22
22
|
*/
|
|
23
23
|
defaultThinkingLevel?: ThinkingLevel;
|
|
@@ -39,10 +39,10 @@ interface ModelInfo {
|
|
|
39
39
|
/**
|
|
40
40
|
* The top reasoning tier this model genuinely uses. Used when thinking is
|
|
41
41
|
* enabled to pick the strongest setting per model:
|
|
42
|
-
* - OpenAI GPT-6 Astra: `ultra` (Codex orchestration preset above `max`)
|
|
43
|
-
* - OpenAI GPT-
|
|
42
|
+
* - OpenAI GPT-6 Astra / Sol: `ultra` (Codex orchestration preset above `max`)
|
|
43
|
+
* - OpenAI GPT-6 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.5 / Opus 5 and Sonnet 5: `max`
|
|
45
|
+
* - Claude Fable 5.1 / Fable 5 / Mythos 5, Opus 5.5 / Opus 5 and Sonnet 5.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)
|
|
@@ -135,7 +135,7 @@ declare function getDefaultThinkingLevel(modelId: string, options?: {
|
|
|
135
135
|
}): ThinkingLevel;
|
|
136
136
|
/**
|
|
137
137
|
* Get the model to use for compaction summarization.
|
|
138
|
-
* - Anthropic: always Sonnet 5
|
|
138
|
+
* - Anthropic: always Sonnet 5.5
|
|
139
139
|
* - OpenAI: cheapest (Codex Mini)
|
|
140
140
|
* - Gemini: use the current model
|
|
141
141
|
* - GLM: GLM-5.3-Flash (the registered low-cost sibling)
|
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.28.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.28.0"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
39
|
"@huggingface/transformers": "4.2.0",
|