@neat.is/types 0.9.6-dev.20260826 → 0.9.6
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 +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +585 -295
- package/dist/index.d.ts +585 -295
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -179,7 +179,16 @@ var EdgeEvidenceSchema = z2.object({
|
|
|
179
179
|
// is dampened rather than surfaced as a real gap. Present only on datastore
|
|
180
180
|
// CONNECTS_TO edges from a recogniser that distinguishes the two; absent on
|
|
181
181
|
// every other edge.
|
|
182
|
-
hostSource: z2.enum(["literal", "config"]).optional()
|
|
182
|
+
hostSource: z2.enum(["literal", "config"]).optional(),
|
|
183
|
+
// Reconstruction fidelity of a client↔route match (ADR-219). `approximate` is
|
|
184
|
+
// true when the client URL could not be fully reconstructed from source — an
|
|
185
|
+
// interpolation sat in a load-bearing position and was not statically
|
|
186
|
+
// resolvable — so the resolved target rests on shape, not literal evidence.
|
|
187
|
+
// `reason` names why. Present only on a `reconstructed-approximate` CALLS
|
|
188
|
+
// candidate the route matcher graded below the precision floor; absent on a
|
|
189
|
+
// fully-resolved match and on every other edge.
|
|
190
|
+
approximate: z2.boolean().optional(),
|
|
191
|
+
reason: z2.string().optional()
|
|
183
192
|
});
|
|
184
193
|
var LatencyMsSchema = z2.object({
|
|
185
194
|
p50: z2.number().nonnegative(),
|
|
@@ -1425,7 +1434,8 @@ var EXTRACTED_CONFIDENCE = {
|
|
|
1425
1434
|
"verified-call-site": 0.85,
|
|
1426
1435
|
"url-literal-service-target": 0.7,
|
|
1427
1436
|
"url-with-structural-support": 0.5,
|
|
1428
|
-
"hostname-shape-match": 0.2
|
|
1437
|
+
"hostname-shape-match": 0.2,
|
|
1438
|
+
"reconstructed-approximate": 0.15
|
|
1429
1439
|
};
|
|
1430
1440
|
function confidenceForExtracted(kind) {
|
|
1431
1441
|
return EXTRACTED_CONFIDENCE[kind];
|