@neat.is/core 0.4.20-dev.20260630 → 0.4.23
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-MTXF77TN.js → chunk-GAFTW2OX.js} +2 -2
- package/dist/{chunk-62ELQVIP.js → chunk-IABNGQT2.js} +57 -9
- package/dist/chunk-IABNGQT2.js.map +1 -0
- package/dist/{chunk-GNAX2CBF.js → chunk-O25KZNZK.js} +878 -160
- package/dist/chunk-O25KZNZK.js.map +1 -0
- package/dist/{chunk-BGPWBRLU.js → chunk-ZX7PCMGZ.js} +21 -2
- package/dist/{chunk-BGPWBRLU.js.map → chunk-ZX7PCMGZ.js.map} +1 -1
- package/dist/cli.cjs +1251 -355
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +2 -1
- package/dist/cli.d.ts +2 -1
- package/dist/cli.js +164 -60
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +903 -151
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -4
- package/dist/neatd.cjs +947 -151
- package/dist/neatd.cjs.map +1 -1
- package/dist/neatd.d.cts +17 -0
- package/dist/neatd.d.ts +17 -0
- package/dist/neatd.js +27 -3
- package/dist/neatd.js.map +1 -1
- package/dist/{otel-grpc-I67ONCRM.js → otel-grpc-QYHUJ4OY.js} +3 -3
- package/dist/server.cjs +835 -122
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +3 -3
- package/package.json +2 -2
- package/proto/opentelemetry/proto/trace/v1/trace.proto +8 -2
- package/dist/chunk-62ELQVIP.js.map +0 -1
- package/dist/chunk-GNAX2CBF.js.map +0 -1
- /package/dist/{chunk-MTXF77TN.js.map → chunk-GAFTW2OX.js.map} +0 -0
- /package/dist/{otel-grpc-I67ONCRM.js.map → otel-grpc-QYHUJ4OY.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -283,7 +283,7 @@ declare function startStalenessLoop(graph: NeatGraph, options?: StalenessLoopOpt
|
|
|
283
283
|
declare function readErrorEvents(errorsPath: string): Promise<ErrorEvent[]>;
|
|
284
284
|
|
|
285
285
|
declare function confidenceForEdge(edge: GraphEdge, now?: number): number;
|
|
286
|
-
declare function getRootCause(graph: NeatGraph, errorNodeId: string, errorEvent?: ErrorEvent): RootCauseResult | null;
|
|
286
|
+
declare function getRootCause(graph: NeatGraph, errorNodeId: string, errorEvent?: ErrorEvent, incidents?: ErrorEvent[]): RootCauseResult | null;
|
|
287
287
|
declare function getBlastRadius(graph: NeatGraph, nodeId: string, maxDepth?: number): BlastRadiusResult;
|
|
288
288
|
|
|
289
289
|
interface PersistedNodeEntry {
|
|
@@ -416,6 +416,7 @@ interface DaemonHandle {
|
|
|
416
416
|
bootstrap: BootstrapTracker;
|
|
417
417
|
initialBootstrap: Promise<void>;
|
|
418
418
|
daemonRecord: DaemonRecord | null;
|
|
419
|
+
neatHome: string;
|
|
419
420
|
}
|
|
420
421
|
/**
|
|
421
422
|
* Resolve which project's graph an OTel span belongs to. Looks up the
|
package/dist/index.d.ts
CHANGED
|
@@ -283,7 +283,7 @@ declare function startStalenessLoop(graph: NeatGraph, options?: StalenessLoopOpt
|
|
|
283
283
|
declare function readErrorEvents(errorsPath: string): Promise<ErrorEvent[]>;
|
|
284
284
|
|
|
285
285
|
declare function confidenceForEdge(edge: GraphEdge, now?: number): number;
|
|
286
|
-
declare function getRootCause(graph: NeatGraph, errorNodeId: string, errorEvent?: ErrorEvent): RootCauseResult | null;
|
|
286
|
+
declare function getRootCause(graph: NeatGraph, errorNodeId: string, errorEvent?: ErrorEvent, incidents?: ErrorEvent[]): RootCauseResult | null;
|
|
287
287
|
declare function getBlastRadius(graph: NeatGraph, nodeId: string, maxDepth?: number): BlastRadiusResult;
|
|
288
288
|
|
|
289
289
|
interface PersistedNodeEntry {
|
|
@@ -416,6 +416,7 @@ interface DaemonHandle {
|
|
|
416
416
|
bootstrap: BootstrapTracker;
|
|
417
417
|
initialBootstrap: Promise<void>;
|
|
418
418
|
daemonRecord: DaemonRecord | null;
|
|
419
|
+
neatHome: string;
|
|
419
420
|
}
|
|
420
421
|
/**
|
|
421
422
|
* Resolve which project's graph an OTel span belongs to. Looks up the
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeSpanToProject,
|
|
3
3
|
startDaemon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IABNGQT2.js";
|
|
5
5
|
import {
|
|
6
6
|
ProjectNameCollisionError,
|
|
7
7
|
addProject,
|
|
@@ -37,15 +37,15 @@ import {
|
|
|
37
37
|
thresholdForEdgeType,
|
|
38
38
|
touchLastSeen,
|
|
39
39
|
writeAtomically
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-O25KZNZK.js";
|
|
41
41
|
import {
|
|
42
42
|
startOtelGrpcReceiver
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-GAFTW2OX.js";
|
|
44
44
|
import {
|
|
45
45
|
buildOtelReceiver,
|
|
46
46
|
logSpanHandler,
|
|
47
47
|
parseOtlpRequest
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZX7PCMGZ.js";
|
|
49
49
|
export {
|
|
50
50
|
ProjectNameCollisionError,
|
|
51
51
|
addProject,
|