@neat.is/core 0.3.0 → 0.3.2
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-QYUB3FQL.js → chunk-4ASCXBZF.js} +12 -124
- package/dist/chunk-4ASCXBZF.js.map +1 -0
- package/dist/{chunk-I5KODOJV.js → chunk-66Z5IEFY.js} +126 -7
- package/dist/chunk-66Z5IEFY.js.map +1 -0
- package/dist/{chunk-B7UUGIXB.js → chunk-FIXKIYNF.js} +818 -18
- package/dist/chunk-FIXKIYNF.js.map +1 -0
- package/dist/chunk-G3PDTGOW.js +125 -0
- package/dist/chunk-G3PDTGOW.js.map +1 -0
- package/dist/cli.cjs +76 -27
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +82 -34
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +141 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +10 -11
- package/dist/neatd.cjs +1900 -36
- package/dist/neatd.cjs.map +1 -1
- package/dist/neatd.js +19 -5
- package/dist/neatd.js.map +1 -1
- package/dist/{otel-grpc-USFL3OI3.js → otel-grpc-J4O2SIBZ.js} +3 -3
- package/dist/server.js +6 -7
- package/dist/server.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-B7UUGIXB.js.map +0 -1
- package/dist/chunk-DGUM43GV.js +0 -11
- package/dist/chunk-I5KODOJV.js.map +0 -1
- package/dist/chunk-NVCEZXL7.js +0 -836
- package/dist/chunk-NVCEZXL7.js.map +0 -1
- package/dist/chunk-QYUB3FQL.js.map +0 -1
- package/dist/otel-grpc-USFL3OI3.js.map +0 -1
- /package/dist/{chunk-DGUM43GV.js.map → otel-grpc-J4O2SIBZ.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -301,11 +301,16 @@ declare function computeGraphDiff(liveGraph: NeatGraph, baseSnapshot: PersistedS
|
|
|
301
301
|
|
|
302
302
|
interface DaemonOptions {
|
|
303
303
|
neatHome?: string;
|
|
304
|
+
restPort?: number;
|
|
305
|
+
otlpPort?: number;
|
|
306
|
+
host?: string;
|
|
307
|
+
bindListeners?: boolean;
|
|
304
308
|
}
|
|
305
309
|
interface ProjectSlot {
|
|
306
310
|
entry: RegistryEntry;
|
|
307
311
|
graph: NeatGraph;
|
|
308
312
|
outPath: string;
|
|
313
|
+
paths: ProjectPaths;
|
|
309
314
|
stopPersist: () => void;
|
|
310
315
|
status: 'active' | 'broken';
|
|
311
316
|
errorReason?: string;
|
|
@@ -315,6 +320,8 @@ interface DaemonHandle {
|
|
|
315
320
|
reload: () => Promise<void>;
|
|
316
321
|
stop: () => Promise<void>;
|
|
317
322
|
pidPath: string;
|
|
323
|
+
restAddress: string;
|
|
324
|
+
otlpAddress: string;
|
|
318
325
|
}
|
|
319
326
|
/**
|
|
320
327
|
* Resolve which project's graph an OTel span belongs to. Looks up the
|
package/dist/index.d.ts
CHANGED
|
@@ -301,11 +301,16 @@ declare function computeGraphDiff(liveGraph: NeatGraph, baseSnapshot: PersistedS
|
|
|
301
301
|
|
|
302
302
|
interface DaemonOptions {
|
|
303
303
|
neatHome?: string;
|
|
304
|
+
restPort?: number;
|
|
305
|
+
otlpPort?: number;
|
|
306
|
+
host?: string;
|
|
307
|
+
bindListeners?: boolean;
|
|
304
308
|
}
|
|
305
309
|
interface ProjectSlot {
|
|
306
310
|
entry: RegistryEntry;
|
|
307
311
|
graph: NeatGraph;
|
|
308
312
|
outPath: string;
|
|
313
|
+
paths: ProjectPaths;
|
|
309
314
|
stopPersist: () => void;
|
|
310
315
|
status: 'active' | 'broken';
|
|
311
316
|
errorReason?: string;
|
|
@@ -315,6 +320,8 @@ interface DaemonHandle {
|
|
|
315
320
|
reload: () => Promise<void>;
|
|
316
321
|
stop: () => Promise<void>;
|
|
317
322
|
pidPath: string;
|
|
323
|
+
restAddress: string;
|
|
324
|
+
otlpAddress: string;
|
|
318
325
|
}
|
|
319
326
|
/**
|
|
320
327
|
* Resolve which project's graph an OTel span belongs to. Looks up the
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeSpanToProject,
|
|
3
3
|
startDaemon
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
buildApi,
|
|
7
|
-
computeGraphDiff,
|
|
8
|
-
loadSnapshotForDiff
|
|
9
|
-
} from "./chunk-NVCEZXL7.js";
|
|
4
|
+
} from "./chunk-66Z5IEFY.js";
|
|
10
5
|
import {
|
|
11
6
|
ProjectNameCollisionError,
|
|
12
7
|
addProject,
|
|
8
|
+
buildApi,
|
|
13
9
|
checkCompatibility,
|
|
14
10
|
compatPairs,
|
|
11
|
+
computeGraphDiff,
|
|
15
12
|
confidenceForEdge,
|
|
16
13
|
extractFromDirectory,
|
|
17
14
|
getBlastRadius,
|
|
@@ -21,6 +18,7 @@ import {
|
|
|
21
18
|
handleSpan,
|
|
22
19
|
listProjects,
|
|
23
20
|
loadGraphFromDisk,
|
|
21
|
+
loadSnapshotForDiff,
|
|
24
22
|
makeSpanHandler,
|
|
25
23
|
markStaleEdges,
|
|
26
24
|
normalizeProjectPath,
|
|
@@ -39,14 +37,15 @@ import {
|
|
|
39
37
|
thresholdForEdgeType,
|
|
40
38
|
touchLastSeen,
|
|
41
39
|
writeAtomically
|
|
42
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FIXKIYNF.js";
|
|
41
|
+
import {
|
|
42
|
+
startOtelGrpcReceiver
|
|
43
|
+
} from "./chunk-G3PDTGOW.js";
|
|
43
44
|
import {
|
|
44
45
|
buildOtelReceiver,
|
|
45
46
|
logSpanHandler,
|
|
46
|
-
parseOtlpRequest
|
|
47
|
-
|
|
48
|
-
} from "./chunk-QYUB3FQL.js";
|
|
49
|
-
import "./chunk-DGUM43GV.js";
|
|
47
|
+
parseOtlpRequest
|
|
48
|
+
} from "./chunk-4ASCXBZF.js";
|
|
50
49
|
export {
|
|
51
50
|
ProjectNameCollisionError,
|
|
52
51
|
addProject,
|