@kenkaiiii/gg-core 5.65.1 → 5.66.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.
- package/dist/{chunk-PLJE3KJA.js → chunk-7WTRAERP.js} +27 -21
- package/dist/{chunk-PLJE3KJA.js.map → chunk-7WTRAERP.js.map} +1 -1
- package/dist/index.cjs +28 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +26 -20
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +5 -5
- package/dist/model-registry.d.ts +5 -5
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2101,8 +2101,10 @@ var MODELS = [
|
|
|
2101
2101
|
maxThinkingLevel: "max"
|
|
2102
2102
|
},
|
|
2103
2103
|
{
|
|
2104
|
-
|
|
2105
|
-
|
|
2104
|
+
// Released 2026-09-28 — replaces Sonnet 5 at $2/$10 MTok, with the same
|
|
2105
|
+
// 1M context / 128K output and adaptive thinking, now including xhigh.
|
|
2106
|
+
id: "claude-sonnet-5-5",
|
|
2107
|
+
name: "Claude Sonnet 5.5",
|
|
2106
2108
|
provider: "anthropic",
|
|
2107
2109
|
contextWindow: 1e6,
|
|
2108
2110
|
maxOutputTokens: 128e3,
|
|
@@ -2127,7 +2129,7 @@ var MODELS = [
|
|
|
2127
2129
|
// ── OpenAI (Codex) ─────────────────────────────────────
|
|
2128
2130
|
{
|
|
2129
2131
|
// GPT-6 Astra — "Our most capable model for complex, demanding work."
|
|
2130
|
-
// (Codex catalog priority
|
|
2132
|
+
// (Codex catalog priority 2, listed for every ChatGPT plan, requires a
|
|
2131
2133
|
// Codex client >= 0.153.0 — see CODEX_CLIENT_VERSION). Same split as 5.6:
|
|
2132
2134
|
// 1.05M on the public Responses API, 272K on the ChatGPT OAuth route
|
|
2133
2135
|
// (openai/codex models.json, `gpt-6-astra`). Reasoning ladder low → medium
|
|
@@ -2151,32 +2153,36 @@ var MODELS = [
|
|
|
2151
2153
|
},
|
|
2152
2154
|
// GPT-6 Sol + Luna — released 2026-09-22 below Astra, replacing the whole
|
|
2153
2155
|
// GPT-5.6 family (Sol/Terra/Luna; there is no GPT-6 Terra — OpenAI's Codex
|
|
2154
|
-
// catalog upgrades 5.6 Terra to 6 Sol).
|
|
2155
|
-
//
|
|
2156
|
-
//
|
|
2157
|
-
//
|
|
2158
|
-
// a saved session on one falls back to the provider default on
|
|
2156
|
+
// catalog upgrades 5.6 Terra to 6 Sol). GPT-6.1 Sol (2026-09-29) then replaced
|
|
2157
|
+
// GPT-6 Sol. Same window split as Astra: 1.05M on the public Responses API,
|
|
2158
|
+
// 272K on the Codex route; 128K output, text+image input, freeform
|
|
2159
|
+
// apply_patch, responses-lite transport. The GPT-5.6 ids and `gpt-6-sol` are
|
|
2160
|
+
// retired — a saved session on one falls back to the provider default on
|
|
2161
|
+
// next start.
|
|
2159
2162
|
{
|
|
2160
|
-
// Sol — "
|
|
2161
|
-
//
|
|
2162
|
-
//
|
|
2163
|
-
//
|
|
2164
|
-
|
|
2165
|
-
|
|
2163
|
+
// GPT-6.1 Sol — "Latest workhorse model for coding and everyday work."
|
|
2164
|
+
// (Codex priority 1, default low). The catalog says Codex client >= 0.153.0,
|
|
2165
|
+
// but the ChatGPT backend only serves it from 0.159.0 (see
|
|
2166
|
+
// CODEX_CLIENT_VERSION). $2/$10 MTok, cached input $0.10. Ladder low →
|
|
2167
|
+
// medium → high → xhigh → max → ultra; ultra is the Codex orchestration
|
|
2168
|
+
// preset (max effort on the wire + proactive local subagent delegation).
|
|
2169
|
+
id: "gpt-6.1-sol",
|
|
2170
|
+
name: "GPT-6.1 Sol",
|
|
2166
2171
|
provider: "openai",
|
|
2167
2172
|
contextWindow: 105e4,
|
|
2168
2173
|
codexContextWindow: 272e3,
|
|
2169
2174
|
maxOutputTokens: 128e3,
|
|
2170
2175
|
supportsThinking: true,
|
|
2171
|
-
defaultThinkingLevel: "
|
|
2176
|
+
defaultThinkingLevel: "low",
|
|
2172
2177
|
supportsImages: true,
|
|
2173
2178
|
supportsVideo: false,
|
|
2174
2179
|
costTier: "medium",
|
|
2175
2180
|
maxThinkingLevel: "ultra"
|
|
2176
2181
|
},
|
|
2177
2182
|
{
|
|
2178
|
-
// Luna — "Fast and affordable model for easier tasks." (Codex priority
|
|
2179
|
-
// default medium). $0.10/$0.50 MTok.
|
|
2183
|
+
// Luna — "Fast and affordable model for easier tasks." (Codex priority 4,
|
|
2184
|
+
// default medium, needs a Codex client >= 0.155.0). $0.10/$0.50 MTok.
|
|
2185
|
+
// Reasoning tops out at `max`.
|
|
2180
2186
|
id: "gpt-6-luna",
|
|
2181
2187
|
name: "GPT-6 Luna",
|
|
2182
2188
|
provider: "openai",
|
|
@@ -2656,7 +2662,7 @@ function getVideoByteLimit(modelId) {
|
|
|
2656
2662
|
}
|
|
2657
2663
|
function getDefaultModel(provider) {
|
|
2658
2664
|
if (provider === "xiaomi") return MODELS.find((m) => m.id === "mimo-v2.6-pro");
|
|
2659
|
-
if (provider === "openai") return MODELS.find((m) => m.id === "gpt-6-sol");
|
|
2665
|
+
if (provider === "openai") return MODELS.find((m) => m.id === "gpt-6.1-sol");
|
|
2660
2666
|
if (provider === "gemini") return MODELS.find((m) => m.id === "gemini-3.1-flash-lite");
|
|
2661
2667
|
if (provider === "glm") return MODELS.find((m) => m.id === "glm-5.3");
|
|
2662
2668
|
if (provider === "moonshot") return MODELS.find((m) => m.id === "kimi-k3");
|
|
@@ -2670,7 +2676,7 @@ function getDefaultModel(provider) {
|
|
|
2670
2676
|
if (provider === "local") {
|
|
2671
2677
|
return getModelsForProvider("local")[0] ?? PLACEHOLDER_LOCAL_MODEL;
|
|
2672
2678
|
}
|
|
2673
|
-
return MODELS.find((m) => m.id === "claude-sonnet-5");
|
|
2679
|
+
return MODELS.find((m) => m.id === "claude-sonnet-5-5");
|
|
2674
2680
|
}
|
|
2675
2681
|
var PLACEHOLDER_LOCAL_MODEL = {
|
|
2676
2682
|
id: "local/none/none",
|
|
@@ -2708,7 +2714,7 @@ function getDefaultThinkingLevel(modelId, options) {
|
|
|
2708
2714
|
}
|
|
2709
2715
|
function getSummaryModel(provider, currentModelId) {
|
|
2710
2716
|
if (provider === "anthropic") {
|
|
2711
|
-
return MODELS.find((m) => m.id === "claude-sonnet-5");
|
|
2717
|
+
return MODELS.find((m) => m.id === "claude-sonnet-5-5");
|
|
2712
2718
|
}
|
|
2713
2719
|
if (provider === "openai" || provider === "glm" || provider === "deepseek" || provider === "huggingface") {
|
|
2714
2720
|
const low = getModelsForProvider(provider).find((m) => m.costTier === "low");
|
|
@@ -2766,7 +2772,7 @@ function isGlmModel(provider) {
|
|
|
2766
2772
|
return provider === "glm";
|
|
2767
2773
|
}
|
|
2768
2774
|
function isAnthropicXhighModel(provider, model) {
|
|
2769
|
-
return provider === "anthropic" && /opus-5|opus-4-8|opus-4-7/.test(model);
|
|
2775
|
+
return provider === "anthropic" && /opus-5|opus-4-8|opus-4-7|sonnet-5[-.]5/.test(model);
|
|
2770
2776
|
}
|
|
2771
2777
|
function isAnthropicAdaptiveModel(provider, model) {
|
|
2772
2778
|
return provider === "anthropic" && /opus-5|opus-4-8|opus-4-7|opus-4-6|sonnet-5|fable-5|mythos-5/.test(model);
|
|
@@ -2803,7 +2809,7 @@ function getSupportedThinkingLevels(provider, model) {
|
|
|
2803
2809
|
return GLM_THINKING_LEVELS.slice(0, maxIndex2 + 1);
|
|
2804
2810
|
}
|
|
2805
2811
|
if (!isOpenAIGptModel(provider, model)) return [maxLevel];
|
|
2806
|
-
const levels = model.startsWith("gpt-5.6-") || model.startsWith("gpt-6-") ? OPENAI_GPT_56_THINKING_LEVELS : OPENAI_GPT_THINKING_LEVELS;
|
|
2812
|
+
const levels = model.startsWith("gpt-5.6-") || model.startsWith("gpt-6-") || model.startsWith("gpt-6.") ? OPENAI_GPT_56_THINKING_LEVELS : OPENAI_GPT_THINKING_LEVELS;
|
|
2807
2813
|
const maxIndex = levels.indexOf(maxLevel);
|
|
2808
2814
|
if (maxIndex === -1) return ["medium"];
|
|
2809
2815
|
return levels.slice(0, maxIndex + 1);
|