@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/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-62ELQVIP.js";
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-GNAX2CBF.js";
40
+ } from "./chunk-O25KZNZK.js";
41
41
  import {
42
42
  startOtelGrpcReceiver
43
- } from "./chunk-MTXF77TN.js";
43
+ } from "./chunk-GAFTW2OX.js";
44
44
  import {
45
45
  buildOtelReceiver,
46
46
  logSpanHandler,
47
47
  parseOtlpRequest
48
- } from "./chunk-BGPWBRLU.js";
48
+ } from "./chunk-ZX7PCMGZ.js";
49
49
  export {
50
50
  ProjectNameCollisionError,
51
51
  addProject,