@prestyj/core 5.27.0 → 5.28.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.
@@ -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 ships "low",
20
- * GPT-6 Sol/Luna "medium") think dramatically longer per rung, so defaulting to
19
+ * than at the ceiling: the deep-reasoning models (Astra and GPT-6.1 Sol ship
20
+ * "low", GPT-6 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 / Sol: `ultra` (Codex orchestration preset above `max`)
42
+ * - OpenAI GPT-6 Astra / GPT-6.1 Sol: `ultra` (Codex orchestration preset above `max`)
43
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)
@@ -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 ships "low",
20
- * GPT-6 Sol/Luna "medium") think dramatically longer per rung, so defaulting to
19
+ * than at the ceiling: the deep-reasoning models (Astra and GPT-6.1 Sol ship
20
+ * "low", GPT-6 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 / Sol: `ultra` (Codex orchestration preset above `max`)
42
+ * - OpenAI GPT-6 Astra / GPT-6.1 Sol: `ultra` (Codex orchestration preset above `max`)
43
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)
@@ -17,7 +17,7 @@ import {
17
17
  getVideoByteLimit,
18
18
  registerRuntimeModels,
19
19
  usesOpenAICodexTransport
20
- } from "./chunk-CUQX2YIH.js";
20
+ } from "./chunk-CK6UIITE.js";
21
21
  import "./chunk-CRU3SSNX.js";
22
22
  export {
23
23
  DEFAULT_MAX_VIDEO_BYTES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prestyj/core",
3
- "version": "5.27.0",
3
+ "version": "5.28.1",
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.27.0"
36
+ "@prestyj/ai": "5.28.1"
37
37
  },
38
38
  "optionalDependencies": {
39
39
  "@huggingface/transformers": "4.2.0",