@prestyj/core 5.26.0 → 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.js CHANGED
@@ -56,7 +56,7 @@ import {
56
56
  registerRuntimeModels,
57
57
  usesOpenAICodexTransport,
58
58
  withFileLock
59
- } from "./chunk-NKYU365Z.js";
59
+ } from "./chunk-CUQX2YIH.js";
60
60
  import {
61
61
  getAppPaths
62
62
  } from "./chunk-CRU3SSNX.js";
@@ -256,11 +256,18 @@ var MODELS = [
256
256
  costTier: "high",
257
257
  maxThinkingLevel: "ultra"
258
258
  },
259
- {
260
- // GPT-6 Sol — "Workhorse model for coding and everyday work." (Codex
261
- // catalog priority 2, default medium, requires Codex client >= 0.155.0).
262
- // Launched Sep 22 2026 at $2/$10 per 1M tokens — half of GPT-5.6 Sol.
263
- // Same 1.05M public / 272K Codex split and low → ultra ladder as Astra.
259
+ // GPT-6 Sol + Luna — released 2026-09-22 below Astra, replacing the whole
260
+ // GPT-5.6 family (Sol/Terra/Luna; there is no GPT-6 Terra — OpenAI's Codex
261
+ // catalog upgrades 5.6 Terra to 6 Sol). Both need a Codex client >= 0.155.0
262
+ // on the ChatGPT OAuth route. Same window split as Astra: 1.05M on the public
263
+ // Responses API, 272K on the Codex route; 128K output, text+image input,
264
+ // freeform apply_patch, responses-lite transport. The 5.6 ids are retired —
265
+ // a saved session on one falls back to the provider default on next start.
266
+ {
267
+ // Sol — "Workhorse model for coding and everyday work." (Codex priority 2,
268
+ // default medium). $2/$10 MTok. Ladder low → medium → high → xhigh → max →
269
+ // ultra; ultra is the Codex orchestration preset (max effort on the wire +
270
+ // proactive local subagent delegation).
264
271
  id: "gpt-6-sol",
265
272
  name: "GPT-6 Sol",
266
273
  provider: "openai",
@@ -275,10 +282,8 @@ var MODELS = [
275
282
  maxThinkingLevel: "ultra"
276
283
  },
277
284
  {
278
- // GPT-6 Luna — "Fast and affordable model for easier tasks." (Codex
279
- // catalog priority 3, default medium, client >= 0.155.0). $0.10/$0.50 per
280
- // 1M tokens. Reasoning tops out at `max` (no ultra preset). Listed ahead of
281
- // GPT-5.6 Luna so getFastModel picks it as the OpenAI fast tier.
285
+ // Luna — "Fast and affordable model for easier tasks." (Codex priority 3,
286
+ // default medium). $0.10/$0.50 MTok. Reasoning tops out at `max`.
282
287
  id: "gpt-6-luna",
283
288
  name: "GPT-6 Luna",
284
289
  provider: "openai",
@@ -292,62 +297,6 @@ var MODELS = [
292
297
  costTier: "low",
293
298
  maxThinkingLevel: "max"
294
299
  },
295
- // GPT-5.6 family — three agentic coding tiers launched July 2026. The public
296
- // Responses API advertises a 1.05M context window; OpenAI's Codex product
297
- // catalog advertises 272K on the ChatGPT OAuth route (corrected from the
298
- // initially advertised 372K — openai/codex PR #33972, Jul 18 2026 hotfix). All three take
299
- // text+image input, freeform apply_patch, text+image web search, and parallel
300
- // tool calls.
301
- {
302
- // Sol — "Latest frontier agentic coding model." (priority 1, default low).
303
- // Reasoning ladder: low → medium → high → xhigh → max → ultra. Ultra is a
304
- // Codex orchestration preset: the request uses max effort while the local
305
- // runtime proactively delegates suitable independent work to subagents.
306
- id: "gpt-5.6-sol",
307
- name: "GPT-5.6 Sol",
308
- provider: "openai",
309
- contextWindow: 105e4,
310
- codexContextWindow: 272e3,
311
- maxOutputTokens: 128e3,
312
- supportsThinking: true,
313
- defaultThinkingLevel: "low",
314
- supportsImages: true,
315
- supportsVideo: false,
316
- costTier: "high",
317
- maxThinkingLevel: "ultra"
318
- },
319
- {
320
- // Terra — "Balanced agentic coding model for everyday work." (priority 2,
321
- // default medium).
322
- id: "gpt-5.6-terra",
323
- name: "GPT-5.6 Terra",
324
- provider: "openai",
325
- contextWindow: 105e4,
326
- codexContextWindow: 272e3,
327
- maxOutputTokens: 128e3,
328
- supportsThinking: true,
329
- defaultThinkingLevel: "medium",
330
- supportsImages: true,
331
- supportsVideo: false,
332
- costTier: "medium",
333
- maxThinkingLevel: "ultra"
334
- },
335
- {
336
- // Luna — "Fast and affordable agentic coding model." (priority 3, default
337
- // medium). Reasoning tops out at `max`.
338
- id: "gpt-5.6-luna",
339
- name: "GPT-5.6 Luna",
340
- provider: "openai",
341
- contextWindow: 105e4,
342
- codexContextWindow: 272e3,
343
- maxOutputTokens: 128e3,
344
- supportsThinking: true,
345
- defaultThinkingLevel: "medium",
346
- supportsImages: true,
347
- supportsVideo: false,
348
- costTier: "low",
349
- maxThinkingLevel: "max"
350
- },
351
300
  // ── Sakana (Fugu) ──────────────────────────────────────
352
301
  // Sakana Fugu is a multi-agent system surfaced as a standard LLM via the
353
302
  // OpenAI-compatible Sakana API (https://api.sakana.ai/v1). Both models take