@kenkaiiii/gg-core 5.62.0 → 5.64.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/index.cjs CHANGED
@@ -2073,12 +2073,17 @@ var MODELS = [
2073
2073
  // maxThinkingLevel: "max",
2074
2074
  // },
2075
2075
  {
2076
- // Released 2026-07-24 — "For complex agentic coding and enterprise work".
2077
- // Near-Fable capability at half the price ($5/$25 vs $10/$50). Adaptive
2078
- // thinking with the full effort ladder (low→max, xhigh included); dateless
2079
- // ID is the canonical pinned snapshot (post-4.6 naming scheme).
2080
- id: "claude-opus-5",
2081
- name: "Claude Opus 5",
2076
+ // Released 2026-09-22 — "built for long-running agentic coding and knowledge
2077
+ // work". Fable-5.1-class output at $4/$20 MTok (40% below Opus 5), 1M
2078
+ // context, 128K output, image input. Same always-on adaptive thinking with
2079
+ // the full effort ladder (low→max, xhigh included; the API-side default
2080
+ // effort is `medium`) and the same Fable 5.1 constraints gg-ai already
2081
+ // handles (no forced tool use, thinking can't be disabled). Also eligible
2082
+ // for the gated `speed: "fast"` research preview (waitlist-only, premium
2083
+ // $8/$40 pricing — not wired up). Opus 5 is retired here — a session that
2084
+ // still has it saved falls back to the provider default on next start.
2085
+ id: "claude-opus-5-5",
2086
+ name: "Claude Opus 5.5",
2082
2087
  provider: "anthropic",
2083
2088
  contextWindow: 1e6,
2084
2089
  maxOutputTokens: 128e3,
@@ -2137,35 +2142,20 @@ var MODELS = [
2137
2142
  costTier: "high",
2138
2143
  maxThinkingLevel: "ultra"
2139
2144
  },
2140
- // GPT-5.6 family — three agentic coding tiers launched July 2026. The public
2141
- // Responses API advertises a 1.05M context window; OpenAI's Codex product
2142
- // catalog advertises 272K on the ChatGPT OAuth route (corrected from the
2143
- // initially advertised 372K — openai/codex PR #33972, Jul 18 2026 hotfix). All three take
2144
- // text+image input, freeform apply_patch, text+image web search, and parallel
2145
- // tool calls.
2145
+ // GPT-6 Sol + Luna — released 2026-09-22 below Astra, replacing the whole
2146
+ // GPT-5.6 family (Sol/Terra/Luna; there is no GPT-6 Terra — OpenAI's Codex
2147
+ // catalog upgrades 5.6 Terra to 6 Sol). Both need a Codex client >= 0.155.0
2148
+ // on the ChatGPT OAuth route. Same window split as Astra: 1.05M on the public
2149
+ // Responses API, 272K on the Codex route; 128K output, text+image input,
2150
+ // freeform apply_patch, responses-lite transport. The 5.6 ids are retired —
2151
+ // a saved session on one falls back to the provider default on next start.
2146
2152
  {
2147
- // Sol — "Latest frontier agentic coding model." (priority 1, default low).
2148
- // Reasoning ladder: low → medium → high → xhigh → max → ultra. Ultra is a
2149
- // Codex orchestration preset: the request uses max effort while the local
2150
- // runtime proactively delegates suitable independent work to subagents.
2151
- id: "gpt-5.6-sol",
2152
- name: "GPT-5.6 Sol",
2153
- provider: "openai",
2154
- contextWindow: 105e4,
2155
- codexContextWindow: 272e3,
2156
- maxOutputTokens: 128e3,
2157
- supportsThinking: true,
2158
- defaultThinkingLevel: "low",
2159
- supportsImages: true,
2160
- supportsVideo: false,
2161
- costTier: "high",
2162
- maxThinkingLevel: "ultra"
2163
- },
2164
- {
2165
- // Terra — "Balanced agentic coding model for everyday work." (priority 2,
2166
- // default medium).
2167
- id: "gpt-5.6-terra",
2168
- name: "GPT-5.6 Terra",
2153
+ // Sol — "Workhorse model for coding and everyday work." (Codex priority 2,
2154
+ // default medium). $2/$10 MTok. Ladder low → medium → high → xhigh → max →
2155
+ // ultra; ultra is the Codex orchestration preset (max effort on the wire +
2156
+ // proactive local subagent delegation).
2157
+ id: "gpt-6-sol",
2158
+ name: "GPT-6 Sol",
2169
2159
  provider: "openai",
2170
2160
  contextWindow: 105e4,
2171
2161
  codexContextWindow: 272e3,
@@ -2178,10 +2168,10 @@ var MODELS = [
2178
2168
  maxThinkingLevel: "ultra"
2179
2169
  },
2180
2170
  {
2181
- // Luna — "Fast and affordable agentic coding model." (priority 3, default
2182
- // medium). Reasoning tops out at `max`.
2183
- id: "gpt-5.6-luna",
2184
- name: "GPT-5.6 Luna",
2171
+ // Luna — "Fast and affordable model for easier tasks." (Codex priority 3,
2172
+ // default medium). $0.10/$0.50 MTok. Reasoning tops out at `max`.
2173
+ id: "gpt-6-luna",
2174
+ name: "GPT-6 Luna",
2185
2175
  provider: "openai",
2186
2176
  contextWindow: 105e4,
2187
2177
  codexContextWindow: 272e3,
@@ -2630,7 +2620,7 @@ function getVideoByteLimit(modelId) {
2630
2620
  }
2631
2621
  function getDefaultModel(provider) {
2632
2622
  if (provider === "xiaomi") return MODELS.find((m) => m.id === "mimo-v2.6-pro");
2633
- if (provider === "openai") return MODELS.find((m) => m.id === "gpt-5.6-sol");
2623
+ if (provider === "openai") return MODELS.find((m) => m.id === "gpt-6-sol");
2634
2624
  if (provider === "gemini") return MODELS.find((m) => m.id === "gemini-3.1-flash-lite");
2635
2625
  if (provider === "glm") return MODELS.find((m) => m.id === "glm-5.3");
2636
2626
  if (provider === "moonshot") return MODELS.find((m) => m.id === "kimi-k3");