@warmdrift/kgauto-compiler 2.0.0-alpha.71 → 2.0.0-alpha.73

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.
@@ -1,4 +1,4 @@
1
- import { k as Provider } from './ir-BEQ28muo.js';
1
+ import { k as Provider } from './ir-B0v2f9NY.js';
2
2
  import { IntentArchetypeName } from './dialect.js';
3
3
 
4
4
  /**
package/dist/profiles.js CHANGED
@@ -79,7 +79,8 @@ var PROFILES_RAW = [
79
79
  id: "claude-fable-5",
80
80
  verifiedAgainstDocs: "2026-06-21",
81
81
  provider: "anthropic",
82
- status: "preview",
82
+ status: "current",
83
+ // s76 2026-07-25: GA since 2026-06-09 per docs; was preview.
83
84
  maxContextTokens: 1e6,
84
85
  maxOutputTokens: 128e3,
85
86
  maxTools: 64,
@@ -133,7 +134,8 @@ var PROFILES_RAW = [
133
134
  id: "claude-opus-4-8",
134
135
  verifiedAgainstDocs: "2026-06-21",
135
136
  provider: "anthropic",
136
- status: "current",
137
+ status: "legacy",
138
+ // s76 2026-07-25: docs list as LEGACY (Opus 5 generation is current).
137
139
  maxContextTokens: 1e6,
138
140
  maxOutputTokens: 128e3,
139
141
  maxTools: 64,
@@ -173,11 +175,78 @@ var PROFILES_RAW = [
173
175
  classify: 8
174
176
  }
175
177
  },
178
+ {
179
+ // ── Claude Opus 5 — added s76 (2026-07-25, alpha.72) ──────────────────
180
+ // The model every seat in the portfolio actually runs, absent from the
181
+ // roster until now. Found by a catalog QA, not by the release watcher:
182
+ // the watcher detects unknown IDs on a provider's /models endpoint, but
183
+ // detection was never wired to ingestion, so the gap sat open. (That is
184
+ // what `scripts/catalog-sync.mjs` exists to close.)
185
+ //
186
+ // PROVENANCE — doc-verified 2026-07-25 against
187
+ // platform.claude.com/docs/en/docs/about-claude/models/overview:
188
+ // 1M context · 128k max output · $5/$25 per MTok · adaptive thinking YES
189
+ // · extended thinking NO · `effort` defaults to 'high' on the Claude API
190
+ // · reliable knowledge cutoff May 2026.
191
+ //
192
+ // FAMILY-INHERITED (not doc-read): maxTools, parallelToolCalls,
193
+ // structuredOutput, systemPromptMode, streaming. These are identical
194
+ // across opus-4-6 / 4-7 / 4-8 / sonnet-5 / fable-5 — five consecutive
195
+ // models — so they are a structural provider constant rather than a
196
+ // per-model value. Deliberately distinguished from the gemini-3.1-flash-lite
197
+ // failure, where a template-clone of PRICE (the field that actually varies,
198
+ // there by 2.5-3.75x) went unverified for 65 days.
199
+ id: "claude-opus-5",
200
+ verifiedAgainstDocs: "2026-07-25",
201
+ provider: "anthropic",
202
+ status: "current",
203
+ maxContextTokens: 1e6,
204
+ maxOutputTokens: 128e3,
205
+ maxTools: 64,
206
+ parallelToolCalls: true,
207
+ structuredOutput: "grammar",
208
+ systemPromptMode: "inline",
209
+ streaming: true,
210
+ cliffs: [],
211
+ costInputPer1m: 5,
212
+ costOutputPer1m: 25,
213
+ lowering: ANTHROPIC_LOWERING_BASE,
214
+ recovery: [
215
+ {
216
+ signal: "rate_limit",
217
+ action: "escalate",
218
+ reason: "429 from Anthropic \u2014 escalate to fallback chain"
219
+ },
220
+ {
221
+ signal: "model_not_found",
222
+ action: "escalate",
223
+ reason: "Model deprecated/renamed \u2014 escalate (L-061)"
224
+ }
225
+ ],
226
+ strengths: ["reasoning", "agentic_coding", "long_context", "reliable_tool_use", "structured_output"],
227
+ weaknesses: ["cost", "latency"],
228
+ notes: "Anthropic frontier for complex agentic coding + enterprise work; the Opus-tier current default as of 2026-07-25, superseding 4.8/4.7/4.6 (all now legacy). Doc-verified 2026-07-25: 1M ctx, 128k out, $5/$25, adaptive thinking (extended thinking NOT supported \u2014 that is Haiku 4.5 only in this generation), `effort` defaults to high on the Claude API. Price is unchanged from 4.5 through 5 \u2014 the tier moved without a cost change.",
229
+ // COLD-START PRIOR cloned from claude-opus-4-8. Self-labelling: below
230
+ // MEASURED_GROUNDING_MIN_N (10) brain rows these resolve as
231
+ // grounding:'judgment', so nothing reads them as measured until they are.
232
+ archetypePerf: {
233
+ critique: 10,
234
+ plan: 10,
235
+ generate: 9,
236
+ ask: 9,
237
+ extract: 9,
238
+ transform: 9,
239
+ hunt: 8,
240
+ summarize: 8,
241
+ classify: 8
242
+ }
243
+ },
176
244
  {
177
245
  id: "claude-opus-4-7",
178
246
  verifiedAgainstDocs: "2026-05-08",
179
247
  provider: "anthropic",
180
- status: "current",
248
+ status: "legacy",
249
+ // s76 2026-07-25: docs list as LEGACY (Opus 5 is current). Bundle said current while the brain already said legacy — the two disagreed.
181
250
  maxContextTokens: 1e6,
182
251
  maxOutputTokens: 128e3,
183
252
  maxTools: 64,
@@ -271,7 +340,8 @@ var PROFILES_RAW = [
271
340
  id: "claude-sonnet-4-6",
272
341
  verifiedAgainstDocs: "2026-05-08",
273
342
  provider: "anthropic",
274
- status: "current",
343
+ status: "legacy",
344
+ // s76 2026-07-25: docs list as LEGACY (Sonnet 5 is current).
275
345
  maxContextTokens: 1e6,
276
346
  maxOutputTokens: 64e3,
277
347
  maxTools: 64,
@@ -1410,7 +1480,8 @@ var PROFILES_RAW = [
1410
1480
  id: "claude-sonnet-5",
1411
1481
  verifiedAgainstDocs: "2026-07-02",
1412
1482
  provider: "anthropic",
1413
- status: "preview",
1483
+ status: "current",
1484
+ // s76 2026-07-25: GA per docs; was preview.
1414
1485
  maxContextTokens: 1e6,
1415
1486
  maxOutputTokens: 128e3,
1416
1487
  maxTools: 64,
package/dist/profiles.mjs CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  latencyTierOf,
9
9
  profilesByProvider,
10
10
  tryGetProfile
11
- } from "./chunk-4UO4CCSP.mjs";
11
+ } from "./chunk-N36LE3MK.mjs";
12
12
  export {
13
13
  ALIASES,
14
14
  LATENCY_TIER_MS,
@@ -1,4 +1,4 @@
1
- import { i as Adapter, x as SectionKind } from './ir-CnnJST_N.mjs';
1
+ import { i as Adapter, x as SectionKind } from './ir-CZukZvDn.mjs';
2
2
 
3
3
  /**
4
4
  * Internal config + hook types for createGlassboxRoutes().
@@ -1,4 +1,4 @@
1
- import { i as Adapter, x as SectionKind } from './ir-BEQ28muo.js';
1
+ import { i as Adapter, x as SectionKind } from './ir-B0v2f9NY.js';
2
2
 
3
3
  /**
4
4
  * Internal config + hook types for createGlassboxRoutes().
@@ -1,4 +1,4 @@
1
- import { s as MutationApplied, B as BestPracticeAdvisory, F as FallbackReason, m as CallAttempt } from './ir-CnnJST_N.mjs';
1
+ import { s as MutationApplied, B as BestPracticeAdvisory, F as FallbackReason, m as CallAttempt } from './ir-CZukZvDn.mjs';
2
2
 
3
3
  /**
4
4
  * Glass-Box observability types (alpha.17).
@@ -1,4 +1,4 @@
1
- import { s as MutationApplied, B as BestPracticeAdvisory, F as FallbackReason, m as CallAttempt } from './ir-BEQ28muo.js';
1
+ import { s as MutationApplied, B as BestPracticeAdvisory, F as FallbackReason, m as CallAttempt } from './ir-B0v2f9NY.js';
2
2
 
3
3
  /**
4
4
  * Glass-Box observability types (alpha.17).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmdrift/kgauto-compiler",
3
- "version": "2.0.0-alpha.71",
3
+ "version": "2.0.0-alpha.73",
4
4
  "description": "Prompt compiler with executable provider knowledge for multi-model AI apps: normalized multi-provider transport with fallback chains, compile-time cliff guards, a curated model registry, and a telemetry flight recorder. Swap models without rewriting prompts.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",