@kenkaiiii/gg-core 5.61.1 → 5.63.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.
@@ -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 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)
@@ -59,10 +59,10 @@ interface ModelInfo {
59
59
  * API Credits endpoint). The first key with stored credentials wins, so a
60
60
  * model can both prefer one endpoint AND fall back to another the user has
61
61
  * configured instead:
62
- * - `mimo-v2.5-pro` / `mimo-v2.5`: `["xiaomi", XIAOMI_CREDITS_KEY]` —
62
+ * - `mimo-v2.6-pro` / `mimo-v2.6-flash`: `["xiaomi", XIAOMI_CREDITS_KEY]` —
63
63
  * prefer the Token Plan, fall back to API Credits (API Credits serves
64
64
  * every MiMo model, so a Credits-only user still reaches these).
65
- * - `mimo-v2.5-pro-ultraspeed`: `[XIAOMI_CREDITS_KEY]` only — not served
65
+ * - `mimo-v2.6-pro-ultraspeed`: `[XIAOMI_CREDITS_KEY]` only — not served
66
66
  * over the Token Plan endpoint, so there's no fallback to it.
67
67
  * Falls back to `[provider]` — the normal single-credential case — when
68
68
  * unset. Read via `getAuthStorageKeys()` / `getAuthStorageKey()`.
@@ -86,8 +86,8 @@ declare function getModelsForProvider(provider: Provider): ModelInfo[];
86
86
  * `(provider, model)`, first match wins. Almost every model just uses its
87
87
  * provider id (one credential per provider). Models with `authStorageKeys`
88
88
  * set (currently only Xiaomi) can prefer one endpoint and fall back to
89
- * another — e.g. `mimo-v2.5-pro` prefers the Token Plan but falls back to API
90
- * Credits, while the API-only `mimo-v2.5-pro-ultraspeed` has no fallback.
89
+ * another — e.g. `mimo-v2.6-pro` prefers the Token Plan but falls back to API
90
+ * Credits, while the API-only `mimo-v2.6-pro-ultraspeed` has no fallback.
91
91
  */
92
92
  declare function getAuthStorageKeys(provider: Provider, modelId: string): string[];
93
93
  /** The preferred (first) auth-storage key for `(provider, model)` — see `getAuthStorageKeys()`. */
@@ -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, Xiaomi,
153
- * Sakana, OpenRouter) gracefully keep the parent model, so there's never a
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;
@@ -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 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)
@@ -59,10 +59,10 @@ interface ModelInfo {
59
59
  * API Credits endpoint). The first key with stored credentials wins, so a
60
60
  * model can both prefer one endpoint AND fall back to another the user has
61
61
  * configured instead:
62
- * - `mimo-v2.5-pro` / `mimo-v2.5`: `["xiaomi", XIAOMI_CREDITS_KEY]` —
62
+ * - `mimo-v2.6-pro` / `mimo-v2.6-flash`: `["xiaomi", XIAOMI_CREDITS_KEY]` —
63
63
  * prefer the Token Plan, fall back to API Credits (API Credits serves
64
64
  * every MiMo model, so a Credits-only user still reaches these).
65
- * - `mimo-v2.5-pro-ultraspeed`: `[XIAOMI_CREDITS_KEY]` only — not served
65
+ * - `mimo-v2.6-pro-ultraspeed`: `[XIAOMI_CREDITS_KEY]` only — not served
66
66
  * over the Token Plan endpoint, so there's no fallback to it.
67
67
  * Falls back to `[provider]` — the normal single-credential case — when
68
68
  * unset. Read via `getAuthStorageKeys()` / `getAuthStorageKey()`.
@@ -86,8 +86,8 @@ declare function getModelsForProvider(provider: Provider): ModelInfo[];
86
86
  * `(provider, model)`, first match wins. Almost every model just uses its
87
87
  * provider id (one credential per provider). Models with `authStorageKeys`
88
88
  * set (currently only Xiaomi) can prefer one endpoint and fall back to
89
- * another — e.g. `mimo-v2.5-pro` prefers the Token Plan but falls back to API
90
- * Credits, while the API-only `mimo-v2.5-pro-ultraspeed` has no fallback.
89
+ * another — e.g. `mimo-v2.6-pro` prefers the Token Plan but falls back to API
90
+ * Credits, while the API-only `mimo-v2.6-pro-ultraspeed` has no fallback.
91
91
  */
92
92
  declare function getAuthStorageKeys(provider: Provider, modelId: string): string[];
93
93
  /** The preferred (first) auth-storage key for `(provider, model)` — see `getAuthStorageKeys()`. */
@@ -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, Xiaomi,
153
- * Sakana, OpenRouter) gracefully keep the parent model, so there's never a
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;
@@ -17,7 +17,7 @@ import {
17
17
  getVideoByteLimit,
18
18
  registerRuntimeModels,
19
19
  usesOpenAICodexTransport
20
- } from "./chunk-QZ4423EL.js";
20
+ } from "./chunk-KZ2YPRM7.js";
21
21
  import "./chunk-EAIPT76S.js";
22
22
  export {
23
23
  DEFAULT_MAX_VIDEO_BYTES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenkaiiii/gg-core",
3
- "version": "5.61.1",
3
+ "version": "5.63.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
- "@kenkaiiii/gg-ai": "5.61.1"
36
+ "@kenkaiiii/gg-ai": "5.63.0"
37
37
  },
38
38
  "optionalDependencies": {
39
39
  "@huggingface/transformers": "4.2.0",