@neat.is/core 0.9.7-dev.20260827 → 0.9.7
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-XYAZOGEX.js → chunk-JSUPWMH3.js} +2 -2
- package/dist/{chunk-XOGTJVUM.js → chunk-KZBFP7L6.js} +153 -3
- package/dist/{chunk-XOGTJVUM.js.map → chunk-KZBFP7L6.js.map} +1 -1
- package/dist/cli.cjs +171 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +21 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +152 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/neatd.cjs +152 -2
- package/dist/neatd.cjs.map +1 -1
- package/dist/neatd.js +2 -2
- package/dist/server.cjs +152 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +1 -1
- package/package.json +2 -2
- /package/dist/{chunk-XYAZOGEX.js.map → chunk-JSUPWMH3.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
resolveHost,
|
|
7
7
|
resolveNeatVersion,
|
|
8
8
|
writeDaemonRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JSUPWMH3.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSearchIndex
|
|
12
12
|
} from "./chunk-BC53SCT7.js";
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
startStalenessLoop,
|
|
76
76
|
upsertConnectorEntry,
|
|
77
77
|
validateConnectorEntry
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-KZBFP7L6.js";
|
|
79
79
|
import {
|
|
80
80
|
startOtelGrpcReceiver
|
|
81
81
|
} from "./chunk-ERE47MCR.js";
|
|
@@ -5287,6 +5287,14 @@ function formatDivergenceLine(d) {
|
|
|
5287
5287
|
const member = d.symbol ? ` ${d.symbol}` : "";
|
|
5288
5288
|
return ` \u2022 [${d.type}] ${d.source}${member}${at} (${d.mismatchKind}) \u2014 confidence ${d.confidence.toFixed(2)}`;
|
|
5289
5289
|
}
|
|
5290
|
+
case "observed-failing": {
|
|
5291
|
+
if (d.edgeType) {
|
|
5292
|
+
const rate = d.errorRate !== void 0 ? ` ${Math.round(d.errorRate * 100)}% errors` : "";
|
|
5293
|
+
return ` \u2022 [${d.type}] ${d.source} \u2192 ${d.target} (${d.edgeType}) \u2014${rate} (${d.failureKind}) \u2014 confidence ${d.confidence.toFixed(2)}`;
|
|
5294
|
+
}
|
|
5295
|
+
const at = d.location ? ` at ${d.location}` : "";
|
|
5296
|
+
return ` \u2022 [${d.type}] ${d.source}${at} (${d.failureKind}) \u2014 confidence ${d.confidence.toFixed(2)}`;
|
|
5297
|
+
}
|
|
5290
5298
|
}
|
|
5291
5299
|
}
|
|
5292
5300
|
async function runDivergences(client, input) {
|
|
@@ -6503,6 +6511,9 @@ function divergenceKey(d) {
|
|
|
6503
6511
|
case "compat-violation":
|
|
6504
6512
|
extra = `${d.rule.kind}:${d.rule.package ?? ""}`;
|
|
6505
6513
|
break;
|
|
6514
|
+
case "observed-failing":
|
|
6515
|
+
extra = `${d.failureKind}:${d.location ?? ""}`;
|
|
6516
|
+
break;
|
|
6506
6517
|
default:
|
|
6507
6518
|
extra = "";
|
|
6508
6519
|
}
|
|
@@ -6534,6 +6545,14 @@ function formatDivergenceLine2(d) {
|
|
|
6534
6545
|
const member = d.symbol ? ` ${d.symbol}` : " a member";
|
|
6535
6546
|
return `\u26A0 divergence [observed-symbol-mismatch] ${d.source}${at} reads${member} the runtime object does not have (${d.mismatchKind})`;
|
|
6536
6547
|
}
|
|
6548
|
+
case "observed-failing": {
|
|
6549
|
+
if (d.edgeType) {
|
|
6550
|
+
const rate = d.errorRate !== void 0 ? `, ${Math.round(d.errorRate * 100)}% errors` : "";
|
|
6551
|
+
return `\u26A0 divergence [observed-failing] ${d.source} \u2192 ${d.target} declared and observed, but failing (${d.failureKind}${rate})`;
|
|
6552
|
+
}
|
|
6553
|
+
const at = d.location ? ` at ${d.location}` : "";
|
|
6554
|
+
return `\u26A0 divergence [observed-failing] ${d.source}${at} declares a call observed failing (${d.failureKind})`;
|
|
6555
|
+
}
|
|
6537
6556
|
}
|
|
6538
6557
|
}
|
|
6539
6558
|
function formatStaleLine(edgeId) {
|