@neat.is/core 0.4.28-dev.20260708 → 0.4.28-dev.20260709

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
@@ -417,6 +417,20 @@ interface ResolvedConnectorTarget {
417
417
  targetNodeId: string;
418
418
  serviceName: string;
419
419
  edgeType: EdgeTypeValue;
420
+ /**
421
+ * Set when `targetNodeId` names an InfraNode no static extractor has (yet)
422
+ * declared — the honest "observed but undeclared" fallback
423
+ * (docs/contracts/connectors.md §4a, ADR-133). A provider's `resolveTarget`
424
+ * has no mutation authority of its own (ADR-030), so it declares the need
425
+ * here instead of creating the node itself; the generic pipeline below
426
+ * calls `ensureInfraNode` before minting the edge. `targetNodeId` MUST equal
427
+ * `infraId(kind, name)` when this is set.
428
+ */
429
+ ensureInfraNode?: {
430
+ kind: string;
431
+ name: string;
432
+ provider: string;
433
+ };
420
434
  }
421
435
  type ResolveConnectorTarget = (signal: ObservedSignal, ctx: ConnectorContext) => ResolvedConnectorTarget | null;
422
436
  /**
package/dist/index.d.ts CHANGED
@@ -417,6 +417,20 @@ interface ResolvedConnectorTarget {
417
417
  targetNodeId: string;
418
418
  serviceName: string;
419
419
  edgeType: EdgeTypeValue;
420
+ /**
421
+ * Set when `targetNodeId` names an InfraNode no static extractor has (yet)
422
+ * declared — the honest "observed but undeclared" fallback
423
+ * (docs/contracts/connectors.md §4a, ADR-133). A provider's `resolveTarget`
424
+ * has no mutation authority of its own (ADR-030), so it declares the need
425
+ * here instead of creating the node itself; the generic pipeline below
426
+ * calls `ensureInfraNode` before minting the edge. `targetNodeId` MUST equal
427
+ * `infraId(kind, name)` when this is set.
428
+ */
429
+ ensureInfraNode?: {
430
+ kind: string;
431
+ name: string;
432
+ provider: string;
433
+ };
420
434
  }
421
435
  type ResolveConnectorTarget = (signal: ObservedSignal, ctx: ConnectorContext) => ResolvedConnectorTarget | null;
422
436
  /**
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  routeSpanToProject,
3
3
  startDaemon
4
- } from "./chunk-NY5Q6NE2.js";
4
+ } from "./chunk-UJ6WBLIE.js";
5
5
  import {
6
6
  ProjectNameCollisionError,
7
7
  addProject,
@@ -37,7 +37,7 @@ import {
37
37
  thresholdForEdgeType,
38
38
  touchLastSeen,
39
39
  writeAtomically
40
- } from "./chunk-O4MRDWD7.js";
40
+ } from "./chunk-5T6J3WKC.js";
41
41
  import {
42
42
  startOtelGrpcReceiver
43
43
  } from "./chunk-I72HTUOG.js";