@warmdrift/kgauto-compiler 2.0.0-alpha.66 → 2.0.0-alpha.67
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-CMB6PZWS.mjs → chunk-DTFQIURE.mjs} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/index.mjs +7 -1
- package/dist/key-health.js +1 -1
- package/dist/key-health.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -942,7 +942,7 @@ declare function runGoldenEval(opts: GoldenEvalOptions): Promise<GoldenEvalRunRe
|
|
|
942
942
|
* guard in `tests/version.test.ts` fails the suite (and therefore
|
|
943
943
|
* `prepublishOnly`) when they diverge — a stale constant cannot reach npm.
|
|
944
944
|
*/
|
|
945
|
-
declare const LIBRARY_VERSION = "2.0.0-alpha.
|
|
945
|
+
declare const LIBRARY_VERSION = "2.0.0-alpha.67";
|
|
946
946
|
|
|
947
947
|
/**
|
|
948
948
|
* Oracle contract — how an app tells the brain whether a response was good.
|
package/dist/index.d.ts
CHANGED
|
@@ -942,7 +942,7 @@ declare function runGoldenEval(opts: GoldenEvalOptions): Promise<GoldenEvalRunRe
|
|
|
942
942
|
* guard in `tests/version.test.ts` fails the suite (and therefore
|
|
943
943
|
* `prepublishOnly`) when they diverge — a stale constant cannot reach npm.
|
|
944
944
|
*/
|
|
945
|
-
declare const LIBRARY_VERSION = "2.0.0-alpha.
|
|
945
|
+
declare const LIBRARY_VERSION = "2.0.0-alpha.67";
|
|
946
946
|
|
|
947
947
|
/**
|
|
948
948
|
* Oracle contract — how an app tells the brain whether a response was good.
|
package/dist/index.js
CHANGED
|
@@ -8024,6 +8024,12 @@ async function runGoldenEval(opts) {
|
|
|
8024
8024
|
floor_detail: floorDetail,
|
|
8025
8025
|
win_or_tie_ratio: winOrTieRatio,
|
|
8026
8026
|
latency_ratio: latencyRatio,
|
|
8027
|
+
// alpha.67 (migration 041) — persist the cost basis the verdict was
|
|
8028
|
+
// computed against. The Stage-2 materiality gate needs the ABSOLUTE
|
|
8029
|
+
// projected saving, and the reconcile path rebuilds its plan from this
|
|
8030
|
+
// row alone; an unpersisted in-memory number is invisible to it.
|
|
8031
|
+
cost_incumbent_usd: costIncumbentUsd,
|
|
8032
|
+
cost_candidate_usd: costCandidateUsd,
|
|
8027
8033
|
verdict,
|
|
8028
8034
|
win_or_tie_threshold: threshold,
|
|
8029
8035
|
notes: notes.join(" | ") || null
|
|
@@ -8287,7 +8293,7 @@ function createBrainForwardRoutes(config) {
|
|
|
8287
8293
|
}
|
|
8288
8294
|
|
|
8289
8295
|
// src/version.ts
|
|
8290
|
-
var LIBRARY_VERSION = "2.0.0-alpha.
|
|
8296
|
+
var LIBRARY_VERSION = "2.0.0-alpha.67";
|
|
8291
8297
|
|
|
8292
8298
|
// src/key-health.ts
|
|
8293
8299
|
var JSON_HEADERS2 = { "Content-Type": "application/json" };
|
package/dist/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
LIBRARY_VERSION,
|
|
17
17
|
createKeyHealthRoute
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DTFQIURE.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ABSOLUTE_FLOOR,
|
|
21
21
|
ARCHETYPE_FLOOR_DEFAULT,
|
|
@@ -5266,6 +5266,12 @@ async function runGoldenEval(opts) {
|
|
|
5266
5266
|
floor_detail: floorDetail,
|
|
5267
5267
|
win_or_tie_ratio: winOrTieRatio,
|
|
5268
5268
|
latency_ratio: latencyRatio,
|
|
5269
|
+
// alpha.67 (migration 041) — persist the cost basis the verdict was
|
|
5270
|
+
// computed against. The Stage-2 materiality gate needs the ABSOLUTE
|
|
5271
|
+
// projected saving, and the reconcile path rebuilds its plan from this
|
|
5272
|
+
// row alone; an unpersisted in-memory number is invisible to it.
|
|
5273
|
+
cost_incumbent_usd: costIncumbentUsd,
|
|
5274
|
+
cost_candidate_usd: costCandidateUsd,
|
|
5269
5275
|
verdict,
|
|
5270
5276
|
win_or_tie_threshold: threshold,
|
|
5271
5277
|
notes: notes.join(" | ") || null
|
package/dist/key-health.js
CHANGED
|
@@ -25,7 +25,7 @@ __export(key_health_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(key_health_exports);
|
|
26
26
|
|
|
27
27
|
// src/version.ts
|
|
28
|
-
var LIBRARY_VERSION = "2.0.0-alpha.
|
|
28
|
+
var LIBRARY_VERSION = "2.0.0-alpha.67";
|
|
29
29
|
|
|
30
30
|
// src/key-health.ts
|
|
31
31
|
var JSON_HEADERS = { "Content-Type": "application/json" };
|
package/dist/key-health.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warmdrift/kgauto-compiler",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.67",
|
|
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",
|