@prestyj/core 5.25.1 → 5.27.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
@@ -2257,35 +2257,20 @@ var MODELS = [
2257
2257
  costTier: "high",
2258
2258
  maxThinkingLevel: "ultra"
2259
2259
  },
2260
- // GPT-5.6 family — three agentic coding tiers launched July 2026. The public
2261
- // Responses API advertises a 1.05M context window; OpenAI's Codex product
2262
- // catalog advertises 272K on the ChatGPT OAuth route (corrected from the
2263
- // initially advertised 372K — openai/codex PR #33972, Jul 18 2026 hotfix). All three take
2264
- // text+image input, freeform apply_patch, text+image web search, and parallel
2265
- // tool calls.
2260
+ // GPT-6 Sol + Luna — released 2026-09-22 below Astra, replacing the whole
2261
+ // GPT-5.6 family (Sol/Terra/Luna; there is no GPT-6 Terra — OpenAI's Codex
2262
+ // catalog upgrades 5.6 Terra to 6 Sol). Both need a Codex client >= 0.155.0
2263
+ // on the ChatGPT OAuth route. Same window split as Astra: 1.05M on the public
2264
+ // Responses API, 272K on the Codex route; 128K output, text+image input,
2265
+ // freeform apply_patch, responses-lite transport. The 5.6 ids are retired —
2266
+ // a saved session on one falls back to the provider default on next start.
2266
2267
  {
2267
- // Sol — "Latest frontier agentic coding model." (priority 1, default low).
2268
- // Reasoning ladder: low → medium → high → xhigh → max → ultra. Ultra is a
2269
- // Codex orchestration preset: the request uses max effort while the local
2270
- // runtime proactively delegates suitable independent work to subagents.
2271
- id: "gpt-5.6-sol",
2272
- name: "GPT-5.6 Sol",
2273
- provider: "openai",
2274
- contextWindow: 105e4,
2275
- codexContextWindow: 272e3,
2276
- maxOutputTokens: 128e3,
2277
- supportsThinking: true,
2278
- defaultThinkingLevel: "low",
2279
- supportsImages: true,
2280
- supportsVideo: false,
2281
- costTier: "high",
2282
- maxThinkingLevel: "ultra"
2283
- },
2284
- {
2285
- // Terra — "Balanced agentic coding model for everyday work." (priority 2,
2286
- // default medium).
2287
- id: "gpt-5.6-terra",
2288
- name: "GPT-5.6 Terra",
2268
+ // Sol — "Workhorse model for coding and everyday work." (Codex priority 2,
2269
+ // default medium). $2/$10 MTok. Ladder low → medium → high → xhigh → max →
2270
+ // ultra; ultra is the Codex orchestration preset (max effort on the wire +
2271
+ // proactive local subagent delegation).
2272
+ id: "gpt-6-sol",
2273
+ name: "GPT-6 Sol",
2289
2274
  provider: "openai",
2290
2275
  contextWindow: 105e4,
2291
2276
  codexContextWindow: 272e3,
@@ -2298,10 +2283,10 @@ var MODELS = [
2298
2283
  maxThinkingLevel: "ultra"
2299
2284
  },
2300
2285
  {
2301
- // Luna — "Fast and affordable agentic coding model." (priority 3, default
2302
- // medium). Reasoning tops out at `max`.
2303
- id: "gpt-5.6-luna",
2304
- name: "GPT-5.6 Luna",
2286
+ // Luna — "Fast and affordable model for easier tasks." (Codex priority 3,
2287
+ // default medium). $0.10/$0.50 MTok. Reasoning tops out at `max`.
2288
+ id: "gpt-6-luna",
2289
+ name: "GPT-6 Luna",
2305
2290
  provider: "openai",
2306
2291
  contextWindow: 105e4,
2307
2292
  codexContextWindow: 272e3,
@@ -2766,7 +2751,7 @@ function getVideoByteLimit(modelId) {
2766
2751
  }
2767
2752
  function getDefaultModel(provider) {
2768
2753
  if (provider === "xiaomi") return MODELS.find((m) => m.id === "mimo-v2.6-pro");
2769
- if (provider === "openai") return MODELS.find((m) => m.id === "gpt-5.6-sol");
2754
+ if (provider === "openai") return MODELS.find((m) => m.id === "gpt-6-sol");
2770
2755
  if (provider === "gemini") return MODELS.find((m) => m.id === "gemini-3.1-flash-lite");
2771
2756
  if (provider === "glm") return MODELS.find((m) => m.id === "glm-5.3");
2772
2757
  if (provider === "moonshot") return MODELS.find((m) => m.id === "kimi-k3");