@neat.is/types 0.6.3 → 0.6.4

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
@@ -5690,18 +5690,83 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
5690
5690
  }[];
5691
5691
  }>;
5692
5692
  type GraphEdgesResponse = z.infer<typeof GraphEdgesResponseSchema>;
5693
+ declare const ExtractionCoverageSchema: z.ZodObject<{
5694
+ skippedFiles: z.ZodNumber;
5695
+ byProducer: z.ZodRecord<z.ZodString, z.ZodNumber>;
5696
+ files: z.ZodArray<z.ZodString, "many">;
5697
+ updatedAt: z.ZodString;
5698
+ }, "strip", z.ZodTypeAny, {
5699
+ skippedFiles: number;
5700
+ byProducer: Record<string, number>;
5701
+ files: string[];
5702
+ updatedAt: string;
5703
+ }, {
5704
+ skippedFiles: number;
5705
+ byProducer: Record<string, number>;
5706
+ files: string[];
5707
+ updatedAt: string;
5708
+ }>;
5709
+ type ExtractionCoverage = z.infer<typeof ExtractionCoverageSchema>;
5693
5710
  declare const HealthResponseSchema: z.ZodObject<{
5694
5711
  ok: z.ZodBoolean;
5695
5712
  project: z.ZodString;
5696
5713
  uptimeMs: z.ZodNumber;
5714
+ coverage: z.ZodOptional<z.ZodObject<{
5715
+ skippedFiles: z.ZodNumber;
5716
+ byProducer: z.ZodRecord<z.ZodString, z.ZodNumber>;
5717
+ files: z.ZodArray<z.ZodString, "many">;
5718
+ updatedAt: z.ZodString;
5719
+ }, "strip", z.ZodTypeAny, {
5720
+ skippedFiles: number;
5721
+ byProducer: Record<string, number>;
5722
+ files: string[];
5723
+ updatedAt: string;
5724
+ }, {
5725
+ skippedFiles: number;
5726
+ byProducer: Record<string, number>;
5727
+ files: string[];
5728
+ updatedAt: string;
5729
+ }>>;
5697
5730
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5698
5731
  ok: z.ZodBoolean;
5699
5732
  project: z.ZodString;
5700
5733
  uptimeMs: z.ZodNumber;
5734
+ coverage: z.ZodOptional<z.ZodObject<{
5735
+ skippedFiles: z.ZodNumber;
5736
+ byProducer: z.ZodRecord<z.ZodString, z.ZodNumber>;
5737
+ files: z.ZodArray<z.ZodString, "many">;
5738
+ updatedAt: z.ZodString;
5739
+ }, "strip", z.ZodTypeAny, {
5740
+ skippedFiles: number;
5741
+ byProducer: Record<string, number>;
5742
+ files: string[];
5743
+ updatedAt: string;
5744
+ }, {
5745
+ skippedFiles: number;
5746
+ byProducer: Record<string, number>;
5747
+ files: string[];
5748
+ updatedAt: string;
5749
+ }>>;
5701
5750
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5702
5751
  ok: z.ZodBoolean;
5703
5752
  project: z.ZodString;
5704
5753
  uptimeMs: z.ZodNumber;
5754
+ coverage: z.ZodOptional<z.ZodObject<{
5755
+ skippedFiles: z.ZodNumber;
5756
+ byProducer: z.ZodRecord<z.ZodString, z.ZodNumber>;
5757
+ files: z.ZodArray<z.ZodString, "many">;
5758
+ updatedAt: z.ZodString;
5759
+ }, "strip", z.ZodTypeAny, {
5760
+ skippedFiles: number;
5761
+ byProducer: Record<string, number>;
5762
+ files: string[];
5763
+ updatedAt: string;
5764
+ }, {
5765
+ skippedFiles: number;
5766
+ byProducer: Record<string, number>;
5767
+ files: string[];
5768
+ updatedAt: string;
5769
+ }>>;
5705
5770
  }, z.ZodTypeAny, "passthrough">>;
5706
5771
  type HealthResponse = z.infer<typeof HealthResponseSchema>;
5707
5772
  declare const DaemonHealthResponseSchema: z.ZodObject<{
@@ -5754,6 +5819,47 @@ declare const DaemonHealthResponseSchema: z.ZodObject<{
5754
5819
  }, z.ZodTypeAny, "passthrough">>, "many">;
5755
5820
  }, z.ZodTypeAny, "passthrough">>;
5756
5821
  type DaemonHealthResponse = z.infer<typeof DaemonHealthResponseSchema>;
5822
+ declare const ProjectListEntrySchema: z.ZodObject<{
5823
+ name: z.ZodString;
5824
+ path: z.ZodString;
5825
+ registeredAt: z.ZodString;
5826
+ lastSeenAt: z.ZodOptional<z.ZodString>;
5827
+ languages: z.ZodArray<z.ZodString, "many">;
5828
+ status: z.ZodEnum<["active", "paused", "broken"]>;
5829
+ } & {
5830
+ hostedHere: z.ZodBoolean;
5831
+ }, "strip", z.ZodTypeAny, {
5832
+ name: string;
5833
+ path: string;
5834
+ status: "active" | "paused" | "broken";
5835
+ registeredAt: string;
5836
+ languages: string[];
5837
+ hostedHere: boolean;
5838
+ lastSeenAt?: string | undefined;
5839
+ }, {
5840
+ name: string;
5841
+ path: string;
5842
+ status: "active" | "paused" | "broken";
5843
+ registeredAt: string;
5844
+ languages: string[];
5845
+ hostedHere: boolean;
5846
+ lastSeenAt?: string | undefined;
5847
+ }>;
5848
+ type ProjectListEntry = z.infer<typeof ProjectListEntrySchema>;
5849
+ declare const ProjectServedBySchema: z.ZodObject<{
5850
+ path: z.ZodString;
5851
+ restPort: z.ZodNumber;
5852
+ live: z.ZodBoolean;
5853
+ }, "strip", z.ZodTypeAny, {
5854
+ path: string;
5855
+ restPort: number;
5856
+ live: boolean;
5857
+ }, {
5858
+ path: string;
5859
+ restPort: number;
5860
+ live: boolean;
5861
+ }>;
5862
+ type ProjectServedBy = z.infer<typeof ProjectServedBySchema>;
5757
5863
  declare const SingleProjectResponseSchema: z.ZodObject<{
5758
5864
  project: z.ZodObject<{
5759
5865
  name: z.ZodString;
@@ -5762,12 +5868,15 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
5762
5868
  lastSeenAt: z.ZodOptional<z.ZodString>;
5763
5869
  languages: z.ZodArray<z.ZodString, "many">;
5764
5870
  status: z.ZodEnum<["active", "paused", "broken"]>;
5871
+ } & {
5872
+ hostedHere: z.ZodBoolean;
5765
5873
  }, "strip", z.ZodTypeAny, {
5766
5874
  name: string;
5767
5875
  path: string;
5768
5876
  status: "active" | "paused" | "broken";
5769
5877
  registeredAt: string;
5770
5878
  languages: string[];
5879
+ hostedHere: boolean;
5771
5880
  lastSeenAt?: string | undefined;
5772
5881
  }, {
5773
5882
  name: string;
@@ -5775,8 +5884,22 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
5775
5884
  status: "active" | "paused" | "broken";
5776
5885
  registeredAt: string;
5777
5886
  languages: string[];
5887
+ hostedHere: boolean;
5778
5888
  lastSeenAt?: string | undefined;
5779
5889
  }>;
5890
+ servedBy: z.ZodOptional<z.ZodObject<{
5891
+ path: z.ZodString;
5892
+ restPort: z.ZodNumber;
5893
+ live: z.ZodBoolean;
5894
+ }, "strip", z.ZodTypeAny, {
5895
+ path: string;
5896
+ restPort: number;
5897
+ live: boolean;
5898
+ }, {
5899
+ path: string;
5900
+ restPort: number;
5901
+ live: boolean;
5902
+ }>>;
5780
5903
  }, "strip", z.ZodTypeAny, {
5781
5904
  project: {
5782
5905
  name: string;
@@ -5784,8 +5907,14 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
5784
5907
  status: "active" | "paused" | "broken";
5785
5908
  registeredAt: string;
5786
5909
  languages: string[];
5910
+ hostedHere: boolean;
5787
5911
  lastSeenAt?: string | undefined;
5788
5912
  };
5913
+ servedBy?: {
5914
+ path: string;
5915
+ restPort: number;
5916
+ live: boolean;
5917
+ } | undefined;
5789
5918
  }, {
5790
5919
  project: {
5791
5920
  name: string;
@@ -5793,8 +5922,14 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
5793
5922
  status: "active" | "paused" | "broken";
5794
5923
  registeredAt: string;
5795
5924
  languages: string[];
5925
+ hostedHere: boolean;
5796
5926
  lastSeenAt?: string | undefined;
5797
5927
  };
5928
+ servedBy?: {
5929
+ path: string;
5930
+ restPort: number;
5931
+ live: boolean;
5932
+ } | undefined;
5798
5933
  }>;
5799
5934
  type SingleProjectResponse = z.infer<typeof SingleProjectResponseSchema>;
5800
5935
  declare const ConnectorPollStateSchema: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
@@ -12134,4 +12269,4 @@ declare const DEFAULT_EXTRACTED_PRECISION_FLOOR = 0.7;
12134
12269
  declare function extractedPrecisionFloor(): number;
12135
12270
  declare function passesExtractedFloor(confidence: number): boolean;
12136
12271
 
12137
- export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, type ConnectorPollState, ConnectorPollStateSchema, type ConnectorPollState as ConnectorState, ConnectorPollStateSchema as ConnectorStateSchema, type ConnectorStatus, type ConnectorStatusEntry, ConnectorStatusEntrySchema, ConnectorStatusSchema, type ConnectorStatusEntry as ConnectorSummary, ConnectorStatusEntrySchema as ConnectorSummarySchema, type ConnectorsStatusResponse as ConnectorsResponse, ConnectorsStatusResponseSchema as ConnectorsResponseSchema, type ConnectorsStatusResponse, ConnectorsStatusResponseSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExtractedConfidenceKind, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierId, graphqlOperationId, grpcMethodId, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServiceId, parseWebsocketChannelId, passesExtractedFloor, routeId, serviceId, websocketChannelId };
12272
+ export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, type ConnectorPollState, ConnectorPollStateSchema, type ConnectorPollState as ConnectorState, ConnectorPollStateSchema as ConnectorStateSchema, type ConnectorStatus, type ConnectorStatusEntry, ConnectorStatusEntrySchema, ConnectorStatusSchema, type ConnectorStatusEntry as ConnectorSummary, ConnectorStatusEntrySchema as ConnectorSummarySchema, type ConnectorsStatusResponse as ConnectorsResponse, ConnectorsStatusResponseSchema as ConnectorsResponseSchema, type ConnectorsStatusResponse, ConnectorsStatusResponseSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExtractedConfidenceKind, type ExtractionCoverage, ExtractionCoverageSchema, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, type ProjectListEntry, ProjectListEntrySchema, type ProjectServedBy, ProjectServedBySchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierId, graphqlOperationId, grpcMethodId, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServiceId, parseWebsocketChannelId, passesExtractedFloor, routeId, serviceId, websocketChannelId };
package/dist/index.d.ts CHANGED
@@ -5690,18 +5690,83 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
5690
5690
  }[];
5691
5691
  }>;
5692
5692
  type GraphEdgesResponse = z.infer<typeof GraphEdgesResponseSchema>;
5693
+ declare const ExtractionCoverageSchema: z.ZodObject<{
5694
+ skippedFiles: z.ZodNumber;
5695
+ byProducer: z.ZodRecord<z.ZodString, z.ZodNumber>;
5696
+ files: z.ZodArray<z.ZodString, "many">;
5697
+ updatedAt: z.ZodString;
5698
+ }, "strip", z.ZodTypeAny, {
5699
+ skippedFiles: number;
5700
+ byProducer: Record<string, number>;
5701
+ files: string[];
5702
+ updatedAt: string;
5703
+ }, {
5704
+ skippedFiles: number;
5705
+ byProducer: Record<string, number>;
5706
+ files: string[];
5707
+ updatedAt: string;
5708
+ }>;
5709
+ type ExtractionCoverage = z.infer<typeof ExtractionCoverageSchema>;
5693
5710
  declare const HealthResponseSchema: z.ZodObject<{
5694
5711
  ok: z.ZodBoolean;
5695
5712
  project: z.ZodString;
5696
5713
  uptimeMs: z.ZodNumber;
5714
+ coverage: z.ZodOptional<z.ZodObject<{
5715
+ skippedFiles: z.ZodNumber;
5716
+ byProducer: z.ZodRecord<z.ZodString, z.ZodNumber>;
5717
+ files: z.ZodArray<z.ZodString, "many">;
5718
+ updatedAt: z.ZodString;
5719
+ }, "strip", z.ZodTypeAny, {
5720
+ skippedFiles: number;
5721
+ byProducer: Record<string, number>;
5722
+ files: string[];
5723
+ updatedAt: string;
5724
+ }, {
5725
+ skippedFiles: number;
5726
+ byProducer: Record<string, number>;
5727
+ files: string[];
5728
+ updatedAt: string;
5729
+ }>>;
5697
5730
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5698
5731
  ok: z.ZodBoolean;
5699
5732
  project: z.ZodString;
5700
5733
  uptimeMs: z.ZodNumber;
5734
+ coverage: z.ZodOptional<z.ZodObject<{
5735
+ skippedFiles: z.ZodNumber;
5736
+ byProducer: z.ZodRecord<z.ZodString, z.ZodNumber>;
5737
+ files: z.ZodArray<z.ZodString, "many">;
5738
+ updatedAt: z.ZodString;
5739
+ }, "strip", z.ZodTypeAny, {
5740
+ skippedFiles: number;
5741
+ byProducer: Record<string, number>;
5742
+ files: string[];
5743
+ updatedAt: string;
5744
+ }, {
5745
+ skippedFiles: number;
5746
+ byProducer: Record<string, number>;
5747
+ files: string[];
5748
+ updatedAt: string;
5749
+ }>>;
5701
5750
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5702
5751
  ok: z.ZodBoolean;
5703
5752
  project: z.ZodString;
5704
5753
  uptimeMs: z.ZodNumber;
5754
+ coverage: z.ZodOptional<z.ZodObject<{
5755
+ skippedFiles: z.ZodNumber;
5756
+ byProducer: z.ZodRecord<z.ZodString, z.ZodNumber>;
5757
+ files: z.ZodArray<z.ZodString, "many">;
5758
+ updatedAt: z.ZodString;
5759
+ }, "strip", z.ZodTypeAny, {
5760
+ skippedFiles: number;
5761
+ byProducer: Record<string, number>;
5762
+ files: string[];
5763
+ updatedAt: string;
5764
+ }, {
5765
+ skippedFiles: number;
5766
+ byProducer: Record<string, number>;
5767
+ files: string[];
5768
+ updatedAt: string;
5769
+ }>>;
5705
5770
  }, z.ZodTypeAny, "passthrough">>;
5706
5771
  type HealthResponse = z.infer<typeof HealthResponseSchema>;
5707
5772
  declare const DaemonHealthResponseSchema: z.ZodObject<{
@@ -5754,6 +5819,47 @@ declare const DaemonHealthResponseSchema: z.ZodObject<{
5754
5819
  }, z.ZodTypeAny, "passthrough">>, "many">;
5755
5820
  }, z.ZodTypeAny, "passthrough">>;
5756
5821
  type DaemonHealthResponse = z.infer<typeof DaemonHealthResponseSchema>;
5822
+ declare const ProjectListEntrySchema: z.ZodObject<{
5823
+ name: z.ZodString;
5824
+ path: z.ZodString;
5825
+ registeredAt: z.ZodString;
5826
+ lastSeenAt: z.ZodOptional<z.ZodString>;
5827
+ languages: z.ZodArray<z.ZodString, "many">;
5828
+ status: z.ZodEnum<["active", "paused", "broken"]>;
5829
+ } & {
5830
+ hostedHere: z.ZodBoolean;
5831
+ }, "strip", z.ZodTypeAny, {
5832
+ name: string;
5833
+ path: string;
5834
+ status: "active" | "paused" | "broken";
5835
+ registeredAt: string;
5836
+ languages: string[];
5837
+ hostedHere: boolean;
5838
+ lastSeenAt?: string | undefined;
5839
+ }, {
5840
+ name: string;
5841
+ path: string;
5842
+ status: "active" | "paused" | "broken";
5843
+ registeredAt: string;
5844
+ languages: string[];
5845
+ hostedHere: boolean;
5846
+ lastSeenAt?: string | undefined;
5847
+ }>;
5848
+ type ProjectListEntry = z.infer<typeof ProjectListEntrySchema>;
5849
+ declare const ProjectServedBySchema: z.ZodObject<{
5850
+ path: z.ZodString;
5851
+ restPort: z.ZodNumber;
5852
+ live: z.ZodBoolean;
5853
+ }, "strip", z.ZodTypeAny, {
5854
+ path: string;
5855
+ restPort: number;
5856
+ live: boolean;
5857
+ }, {
5858
+ path: string;
5859
+ restPort: number;
5860
+ live: boolean;
5861
+ }>;
5862
+ type ProjectServedBy = z.infer<typeof ProjectServedBySchema>;
5757
5863
  declare const SingleProjectResponseSchema: z.ZodObject<{
5758
5864
  project: z.ZodObject<{
5759
5865
  name: z.ZodString;
@@ -5762,12 +5868,15 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
5762
5868
  lastSeenAt: z.ZodOptional<z.ZodString>;
5763
5869
  languages: z.ZodArray<z.ZodString, "many">;
5764
5870
  status: z.ZodEnum<["active", "paused", "broken"]>;
5871
+ } & {
5872
+ hostedHere: z.ZodBoolean;
5765
5873
  }, "strip", z.ZodTypeAny, {
5766
5874
  name: string;
5767
5875
  path: string;
5768
5876
  status: "active" | "paused" | "broken";
5769
5877
  registeredAt: string;
5770
5878
  languages: string[];
5879
+ hostedHere: boolean;
5771
5880
  lastSeenAt?: string | undefined;
5772
5881
  }, {
5773
5882
  name: string;
@@ -5775,8 +5884,22 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
5775
5884
  status: "active" | "paused" | "broken";
5776
5885
  registeredAt: string;
5777
5886
  languages: string[];
5887
+ hostedHere: boolean;
5778
5888
  lastSeenAt?: string | undefined;
5779
5889
  }>;
5890
+ servedBy: z.ZodOptional<z.ZodObject<{
5891
+ path: z.ZodString;
5892
+ restPort: z.ZodNumber;
5893
+ live: z.ZodBoolean;
5894
+ }, "strip", z.ZodTypeAny, {
5895
+ path: string;
5896
+ restPort: number;
5897
+ live: boolean;
5898
+ }, {
5899
+ path: string;
5900
+ restPort: number;
5901
+ live: boolean;
5902
+ }>>;
5780
5903
  }, "strip", z.ZodTypeAny, {
5781
5904
  project: {
5782
5905
  name: string;
@@ -5784,8 +5907,14 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
5784
5907
  status: "active" | "paused" | "broken";
5785
5908
  registeredAt: string;
5786
5909
  languages: string[];
5910
+ hostedHere: boolean;
5787
5911
  lastSeenAt?: string | undefined;
5788
5912
  };
5913
+ servedBy?: {
5914
+ path: string;
5915
+ restPort: number;
5916
+ live: boolean;
5917
+ } | undefined;
5789
5918
  }, {
5790
5919
  project: {
5791
5920
  name: string;
@@ -5793,8 +5922,14 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
5793
5922
  status: "active" | "paused" | "broken";
5794
5923
  registeredAt: string;
5795
5924
  languages: string[];
5925
+ hostedHere: boolean;
5796
5926
  lastSeenAt?: string | undefined;
5797
5927
  };
5928
+ servedBy?: {
5929
+ path: string;
5930
+ restPort: number;
5931
+ live: boolean;
5932
+ } | undefined;
5798
5933
  }>;
5799
5934
  type SingleProjectResponse = z.infer<typeof SingleProjectResponseSchema>;
5800
5935
  declare const ConnectorPollStateSchema: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
@@ -12134,4 +12269,4 @@ declare const DEFAULT_EXTRACTED_PRECISION_FLOOR = 0.7;
12134
12269
  declare function extractedPrecisionFloor(): number;
12135
12270
  declare function passesExtractedFloor(confidence: number): boolean;
12136
12271
 
12137
- export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, type ConnectorPollState, ConnectorPollStateSchema, type ConnectorPollState as ConnectorState, ConnectorPollStateSchema as ConnectorStateSchema, type ConnectorStatus, type ConnectorStatusEntry, ConnectorStatusEntrySchema, ConnectorStatusSchema, type ConnectorStatusEntry as ConnectorSummary, ConnectorStatusEntrySchema as ConnectorSummarySchema, type ConnectorsStatusResponse as ConnectorsResponse, ConnectorsStatusResponseSchema as ConnectorsResponseSchema, type ConnectorsStatusResponse, ConnectorsStatusResponseSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExtractedConfidenceKind, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierId, graphqlOperationId, grpcMethodId, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServiceId, parseWebsocketChannelId, passesExtractedFloor, routeId, serviceId, websocketChannelId };
12272
+ export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, type ConnectorPollState, ConnectorPollStateSchema, type ConnectorPollState as ConnectorState, ConnectorPollStateSchema as ConnectorStateSchema, type ConnectorStatus, type ConnectorStatusEntry, ConnectorStatusEntrySchema, ConnectorStatusSchema, type ConnectorStatusEntry as ConnectorSummary, ConnectorStatusEntrySchema as ConnectorSummarySchema, type ConnectorsStatusResponse as ConnectorsResponse, ConnectorsStatusResponseSchema as ConnectorsResponseSchema, type ConnectorsStatusResponse, ConnectorsStatusResponseSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExtractedConfidenceKind, type ExtractionCoverage, ExtractionCoverageSchema, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, type ProjectListEntry, ProjectListEntrySchema, type ProjectServedBy, ProjectServedBySchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierId, graphqlOperationId, grpcMethodId, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServiceId, parseWebsocketChannelId, passesExtractedFloor, routeId, serviceId, websocketChannelId };
package/dist/index.js CHANGED
@@ -937,10 +937,19 @@ var GraphEdgesResponseSchema = z9.object({
937
937
  inbound: z9.array(GraphEdgeSchema),
938
938
  outbound: z9.array(GraphEdgeSchema)
939
939
  });
940
+ var ExtractionCoverageSchema = z9.object({
941
+ skippedFiles: z9.number().int().nonnegative(),
942
+ byProducer: z9.record(z9.number().int().nonnegative()),
943
+ // Up to a bounded sample of the files that failed to parse this pass.
944
+ files: z9.array(z9.string()),
945
+ updatedAt: z9.string()
946
+ });
940
947
  var HealthResponseSchema = z9.object({
941
948
  ok: z9.boolean(),
942
949
  project: z9.string(),
943
- uptimeMs: z9.number().int().nonnegative()
950
+ uptimeMs: z9.number().int().nonnegative(),
951
+ // Present when the most recent extraction pass recorded its coverage (#883).
952
+ coverage: ExtractionCoverageSchema.optional()
944
953
  }).passthrough();
945
954
  var DaemonHealthResponseSchema = z9.object({
946
955
  ok: z9.boolean(),
@@ -953,8 +962,19 @@ var DaemonHealthResponseSchema = z9.object({
953
962
  }).passthrough()
954
963
  )
955
964
  }).passthrough();
965
+ var ProjectListEntrySchema = RegistryEntrySchema.extend({
966
+ hostedHere: z9.boolean()
967
+ });
968
+ var ProjectServedBySchema = z9.object({
969
+ path: z9.string(),
970
+ restPort: z9.number().int(),
971
+ live: z9.boolean()
972
+ });
956
973
  var SingleProjectResponseSchema = z9.object({
957
- project: RegistryEntrySchema
974
+ project: ProjectListEntrySchema,
975
+ // Present only when this daemon does not host the project but another daemon
976
+ // on the machine does — names where it actually lives (#884).
977
+ servedBy: ProjectServedBySchema.optional()
958
978
  });
959
979
  var ConnectorPollStateSchema = z9.enum(["idle", "healthy", "error", "stale"]);
960
980
  var ConnectorStatusSchema = z9.object({
@@ -1101,6 +1121,7 @@ export {
1101
1121
  EdgeType,
1102
1122
  EdgeTypeSchema,
1103
1123
  ErrorEventSchema,
1124
+ ExtractionCoverageSchema,
1104
1125
  FileNodeSchema,
1105
1126
  FrontierNodeSchema,
1106
1127
  GraphDiffResultSchema,
@@ -1134,6 +1155,8 @@ export {
1134
1155
  PolicySchema,
1135
1156
  PolicySeveritySchema,
1136
1157
  PolicyViolationSchema,
1158
+ ProjectListEntrySchema,
1159
+ ProjectServedBySchema,
1137
1160
  Provenance,
1138
1161
  ProvenanceRuleSchema,
1139
1162
  ProvenanceSchema,