@neat.is/types 0.4.27 → 0.4.28-dev.20260708

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
@@ -1164,6 +1164,40 @@ declare const StaleEventSchema: z.ZodObject<{
1164
1164
  transitionedAt: string;
1165
1165
  }>;
1166
1166
  type StaleEvent = z.infer<typeof StaleEventSchema>;
1167
+ declare const LogSourceSchema: z.ZodEnum<["native", "supabase", "railway", "firebase", "cloudflare", "vercel"]>;
1168
+ type LogSource = z.infer<typeof LogSourceSchema>;
1169
+ declare const LogEntrySchema: z.ZodObject<{
1170
+ id: z.ZodString;
1171
+ projectName: z.ZodString;
1172
+ source: z.ZodEnum<["native", "supabase", "railway", "firebase", "cloudflare", "vercel"]>;
1173
+ serviceName: z.ZodOptional<z.ZodString>;
1174
+ nodeId: z.ZodOptional<z.ZodString>;
1175
+ timestamp: z.ZodString;
1176
+ severity: z.ZodOptional<z.ZodString>;
1177
+ message: z.ZodString;
1178
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ message: string;
1181
+ id: string;
1182
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
1183
+ timestamp: string;
1184
+ projectName: string;
1185
+ attributes?: Record<string, unknown> | undefined;
1186
+ serviceName?: string | undefined;
1187
+ nodeId?: string | undefined;
1188
+ severity?: string | undefined;
1189
+ }, {
1190
+ message: string;
1191
+ id: string;
1192
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
1193
+ timestamp: string;
1194
+ projectName: string;
1195
+ attributes?: Record<string, unknown> | undefined;
1196
+ serviceName?: string | undefined;
1197
+ nodeId?: string | undefined;
1198
+ severity?: string | undefined;
1199
+ }>;
1200
+ type LogEntry = z.infer<typeof LogEntrySchema>;
1167
1201
 
1168
1202
  declare const RootCauseResultSchema: z.ZodObject<{
1169
1203
  rootCauseNode: z.ZodString;
@@ -4432,6 +4466,70 @@ declare const StaleEventsResponseSchema: z.ZodObject<{
4432
4466
  }[];
4433
4467
  }>;
4434
4468
  type StaleEventsResponse = z.infer<typeof StaleEventsResponseSchema>;
4469
+ declare const LogsResponseSchema: z.ZodObject<{
4470
+ count: z.ZodNumber;
4471
+ total: z.ZodNumber;
4472
+ logs: z.ZodArray<z.ZodObject<{
4473
+ id: z.ZodString;
4474
+ projectName: z.ZodString;
4475
+ source: z.ZodEnum<["native", "supabase", "railway", "firebase", "cloudflare", "vercel"]>;
4476
+ serviceName: z.ZodOptional<z.ZodString>;
4477
+ nodeId: z.ZodOptional<z.ZodString>;
4478
+ timestamp: z.ZodString;
4479
+ severity: z.ZodOptional<z.ZodString>;
4480
+ message: z.ZodString;
4481
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4482
+ }, "strip", z.ZodTypeAny, {
4483
+ message: string;
4484
+ id: string;
4485
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
4486
+ timestamp: string;
4487
+ projectName: string;
4488
+ attributes?: Record<string, unknown> | undefined;
4489
+ serviceName?: string | undefined;
4490
+ nodeId?: string | undefined;
4491
+ severity?: string | undefined;
4492
+ }, {
4493
+ message: string;
4494
+ id: string;
4495
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
4496
+ timestamp: string;
4497
+ projectName: string;
4498
+ attributes?: Record<string, unknown> | undefined;
4499
+ serviceName?: string | undefined;
4500
+ nodeId?: string | undefined;
4501
+ severity?: string | undefined;
4502
+ }>, "many">;
4503
+ }, "strip", z.ZodTypeAny, {
4504
+ total: number;
4505
+ count: number;
4506
+ logs: {
4507
+ message: string;
4508
+ id: string;
4509
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
4510
+ timestamp: string;
4511
+ projectName: string;
4512
+ attributes?: Record<string, unknown> | undefined;
4513
+ serviceName?: string | undefined;
4514
+ nodeId?: string | undefined;
4515
+ severity?: string | undefined;
4516
+ }[];
4517
+ }, {
4518
+ total: number;
4519
+ count: number;
4520
+ logs: {
4521
+ message: string;
4522
+ id: string;
4523
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
4524
+ timestamp: string;
4525
+ projectName: string;
4526
+ attributes?: Record<string, unknown> | undefined;
4527
+ serviceName?: string | undefined;
4528
+ nodeId?: string | undefined;
4529
+ severity?: string | undefined;
4530
+ }[];
4531
+ }>;
4532
+ type LogsResponse = z.infer<typeof LogsResponseSchema>;
4435
4533
  declare const PoliciesViolationsResponseSchema: z.ZodObject<{
4436
4534
  violations: z.ZodArray<z.ZodObject<{
4437
4535
  id: z.ZodString;
@@ -11642,4 +11740,4 @@ declare const DEFAULT_EXTRACTED_PRECISION_FLOOR = 0.7;
11642
11740
  declare function extractedPrecisionFloor(): number;
11643
11741
  declare function passesExtractedFloor(confidence: number): boolean;
11644
11742
 
11645
- 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, 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 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 };
11743
+ 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, 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 };
package/dist/index.d.ts CHANGED
@@ -1164,6 +1164,40 @@ declare const StaleEventSchema: z.ZodObject<{
1164
1164
  transitionedAt: string;
1165
1165
  }>;
1166
1166
  type StaleEvent = z.infer<typeof StaleEventSchema>;
1167
+ declare const LogSourceSchema: z.ZodEnum<["native", "supabase", "railway", "firebase", "cloudflare", "vercel"]>;
1168
+ type LogSource = z.infer<typeof LogSourceSchema>;
1169
+ declare const LogEntrySchema: z.ZodObject<{
1170
+ id: z.ZodString;
1171
+ projectName: z.ZodString;
1172
+ source: z.ZodEnum<["native", "supabase", "railway", "firebase", "cloudflare", "vercel"]>;
1173
+ serviceName: z.ZodOptional<z.ZodString>;
1174
+ nodeId: z.ZodOptional<z.ZodString>;
1175
+ timestamp: z.ZodString;
1176
+ severity: z.ZodOptional<z.ZodString>;
1177
+ message: z.ZodString;
1178
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ message: string;
1181
+ id: string;
1182
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
1183
+ timestamp: string;
1184
+ projectName: string;
1185
+ attributes?: Record<string, unknown> | undefined;
1186
+ serviceName?: string | undefined;
1187
+ nodeId?: string | undefined;
1188
+ severity?: string | undefined;
1189
+ }, {
1190
+ message: string;
1191
+ id: string;
1192
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
1193
+ timestamp: string;
1194
+ projectName: string;
1195
+ attributes?: Record<string, unknown> | undefined;
1196
+ serviceName?: string | undefined;
1197
+ nodeId?: string | undefined;
1198
+ severity?: string | undefined;
1199
+ }>;
1200
+ type LogEntry = z.infer<typeof LogEntrySchema>;
1167
1201
 
1168
1202
  declare const RootCauseResultSchema: z.ZodObject<{
1169
1203
  rootCauseNode: z.ZodString;
@@ -4432,6 +4466,70 @@ declare const StaleEventsResponseSchema: z.ZodObject<{
4432
4466
  }[];
4433
4467
  }>;
4434
4468
  type StaleEventsResponse = z.infer<typeof StaleEventsResponseSchema>;
4469
+ declare const LogsResponseSchema: z.ZodObject<{
4470
+ count: z.ZodNumber;
4471
+ total: z.ZodNumber;
4472
+ logs: z.ZodArray<z.ZodObject<{
4473
+ id: z.ZodString;
4474
+ projectName: z.ZodString;
4475
+ source: z.ZodEnum<["native", "supabase", "railway", "firebase", "cloudflare", "vercel"]>;
4476
+ serviceName: z.ZodOptional<z.ZodString>;
4477
+ nodeId: z.ZodOptional<z.ZodString>;
4478
+ timestamp: z.ZodString;
4479
+ severity: z.ZodOptional<z.ZodString>;
4480
+ message: z.ZodString;
4481
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4482
+ }, "strip", z.ZodTypeAny, {
4483
+ message: string;
4484
+ id: string;
4485
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
4486
+ timestamp: string;
4487
+ projectName: string;
4488
+ attributes?: Record<string, unknown> | undefined;
4489
+ serviceName?: string | undefined;
4490
+ nodeId?: string | undefined;
4491
+ severity?: string | undefined;
4492
+ }, {
4493
+ message: string;
4494
+ id: string;
4495
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
4496
+ timestamp: string;
4497
+ projectName: string;
4498
+ attributes?: Record<string, unknown> | undefined;
4499
+ serviceName?: string | undefined;
4500
+ nodeId?: string | undefined;
4501
+ severity?: string | undefined;
4502
+ }>, "many">;
4503
+ }, "strip", z.ZodTypeAny, {
4504
+ total: number;
4505
+ count: number;
4506
+ logs: {
4507
+ message: string;
4508
+ id: string;
4509
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
4510
+ timestamp: string;
4511
+ projectName: string;
4512
+ attributes?: Record<string, unknown> | undefined;
4513
+ serviceName?: string | undefined;
4514
+ nodeId?: string | undefined;
4515
+ severity?: string | undefined;
4516
+ }[];
4517
+ }, {
4518
+ total: number;
4519
+ count: number;
4520
+ logs: {
4521
+ message: string;
4522
+ id: string;
4523
+ source: "native" | "supabase" | "railway" | "firebase" | "cloudflare" | "vercel";
4524
+ timestamp: string;
4525
+ projectName: string;
4526
+ attributes?: Record<string, unknown> | undefined;
4527
+ serviceName?: string | undefined;
4528
+ nodeId?: string | undefined;
4529
+ severity?: string | undefined;
4530
+ }[];
4531
+ }>;
4532
+ type LogsResponse = z.infer<typeof LogsResponseSchema>;
4435
4533
  declare const PoliciesViolationsResponseSchema: z.ZodObject<{
4436
4534
  violations: z.ZodArray<z.ZodObject<{
4437
4535
  id: z.ZodString;
@@ -11642,4 +11740,4 @@ declare const DEFAULT_EXTRACTED_PRECISION_FLOOR = 0.7;
11642
11740
  declare function extractedPrecisionFloor(): number;
11643
11741
  declare function passesExtractedFloor(confidence: number): boolean;
11644
11742
 
11645
- 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, 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 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 };
11743
+ 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, 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 };
package/dist/index.js CHANGED
@@ -367,6 +367,30 @@ var StaleEventSchema = z4.object({
367
367
  lastObserved: z4.string(),
368
368
  transitionedAt: z4.string()
369
369
  });
370
+ var LogSourceSchema = z4.enum([
371
+ "native",
372
+ "supabase",
373
+ "railway",
374
+ "firebase",
375
+ "cloudflare",
376
+ "vercel"
377
+ ]);
378
+ var LogEntrySchema = z4.object({
379
+ id: z4.string(),
380
+ projectName: z4.string(),
381
+ source: LogSourceSchema,
382
+ serviceName: z4.string().optional(),
383
+ nodeId: z4.string().optional(),
384
+ // ISO8601, the event's own time — never ingest/poll time.
385
+ timestamp: z4.string().datetime(),
386
+ // Normalized upstream to 'debug' | 'info' | 'warn' | 'error' by whichever
387
+ // producer wrote the entry; kept as a plain string here rather than a
388
+ // locked enum because normalization is a producer concern, not this
389
+ // schema's.
390
+ severity: z4.string().optional(),
391
+ message: z4.string(),
392
+ attributes: z4.record(z4.string(), z4.unknown()).optional()
393
+ });
370
394
 
371
395
  // src/results.ts
372
396
  import { z as z5 } from "zod";
@@ -872,6 +896,11 @@ var listEnvelope = (itemSchema) => z9.object({
872
896
  });
873
897
  var IncidentsResponseSchema = listEnvelope(ErrorEventSchema);
874
898
  var StaleEventsResponseSchema = listEnvelope(StaleEventSchema);
899
+ var LogsResponseSchema = z9.object({
900
+ count: z9.number().int().nonnegative(),
901
+ total: z9.number().int().nonnegative(),
902
+ logs: z9.array(LogEntrySchema)
903
+ });
875
904
  var PoliciesViolationsResponseSchema = z9.object({
876
905
  violations: z9.array(PolicyViolationSchema)
877
906
  });
@@ -1036,6 +1065,9 @@ export {
1036
1065
  HypotheticalActionSchema,
1037
1066
  IncidentsResponseSchema,
1038
1067
  InfraNodeSchema,
1068
+ LogEntrySchema,
1069
+ LogSourceSchema,
1070
+ LogsResponseSchema,
1039
1071
  MCP_TOOL_NAMES,
1040
1072
  MissingExtractedDivergenceSchema,
1041
1073
  MissingObservedDivergenceSchema,