@spotpatch/shared 1.7.0 → 1.9.0

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.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, S as SPOTPATCH_API_BASE, a as RuntimeDataFlowConfig } from './data-flow-runtime-zwbvImvl.js';
2
+ export { A as AgentJobAction, b as AnalysisBaseline, c as AssociationKind, d as ComponentIdentity, D as DATA_FLOW_ASSOCIATION_KINDS, e as DATA_FLOW_DIAGNOSTIC_CODES, f as DATA_FLOW_EXECUTION_STATES, g as DATA_FLOW_FRESHNESS_STATES, h as DATA_FLOW_PROOF_STATES, i as DATA_FLOW_SCHEMA_VERSION, j as DATA_FLOW_URL_QUERY_KEY_LIMIT, k as DEFAULT_DATA_FLOW_LIMITS, l as DEFAULT_RUNTIME_DATA_FLOW_LIMITS, m as DataDependency, n as DataFlowCapability, o as DataFlowCapabilityReason, p as DataFlowDiagnostic, q as DataFlowDiagnosticCode, r as DataFlowLimits, s as DataParameter, t as DataResponseDescriptor, E as EvidenceRef, u as EvidenceSourceRef, v as ExecutionState, F as FreshnessState, N as NetworkObservation, w as ProofState, x as RequestOrigin, y as RuntimeDataFlowLimits, z as SPOTPATCH_ENDPOINTS, B as SPOTPATCH_TOKEN_HEADER, G as SanitizedObservedUrl, H as componentDataFlowReportSchema, I as dataDependencySchema, J as getAgentJobEndpoint, K as networkObservationSchema, L as pageDataFlowReportSchema, M as runtimeDataFlowConfigSchema } from './data-flow-runtime-zwbvImvl.js';
1
3
  import { z } from 'zod';
2
4
 
3
5
  declare const ERROR_CODES: {
@@ -8,6 +10,9 @@ declare const ERROR_CODES: {
8
10
  readonly SOURCE_OUTSIDE_ROOT: "SOURCE_OUTSIDE_ROOT";
9
11
  readonly SOURCE_TOO_LARGE: "SOURCE_TOO_LARGE";
10
12
  readonly EDITOR_OPEN_FAILED: "EDITOR_OPEN_FAILED";
13
+ readonly DATA_FLOW_DISABLED: "DATA_FLOW_DISABLED";
14
+ readonly DATA_FLOW_SOURCE_STALE: "DATA_FLOW_SOURCE_STALE";
15
+ readonly DATA_FLOW_ANALYSIS_CANCELLED: "DATA_FLOW_ANALYSIS_CANCELLED";
11
16
  readonly AI_DISABLED: "AI_DISABLED";
12
17
  readonly PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
13
18
  readonly PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED";
@@ -77,6 +82,8 @@ interface ReactContext {
77
82
  readonly supported: boolean;
78
83
  readonly version?: string;
79
84
  readonly componentName?: string;
85
+ readonly componentSourceId?: string;
86
+ readonly sourceVersion?: string;
80
87
  readonly componentStack: readonly string[];
81
88
  readonly source?: SourceRef;
82
89
  }
@@ -145,18 +152,27 @@ interface SpotAnnotation {
145
152
  readonly createdAt: string;
146
153
  }
147
154
 
148
- declare const SPOTPATCH_API_BASE: "/__spotpatch/v1";
149
- declare const SPOTPATCH_TOKEN_HEADER: "X-SpotPatch-Token";
150
- declare const SPOTPATCH_ENDPOINTS: Readonly<{
151
- bootstrap: "/__spotpatch/v1/bootstrap";
152
- sourceContext: "/__spotpatch/v1/source-context";
153
- openEditor: "/__spotpatch/v1/open-editor";
154
- agentCapability: "/__spotpatch/v1/agent/capability";
155
- agentWorkspaceHealth: "/__spotpatch/v1/agent/workspace-health";
156
- agentJobs: "/__spotpatch/v1/agent/jobs";
157
- }>;
158
- type AgentJobAction = "events" | "result" | "cancel" | "apply" | "revert";
159
- declare function getAgentJobEndpoint(jobId: string, action: AgentJobAction): string;
155
+ /**
156
+ * Syntax names shared by the compiler and Node analyzer.
157
+ *
158
+ * These are recognition inputs, not support claims. An adapter still has to prove
159
+ * the imported package/symbol before it can attribute a request.
160
+ */
161
+ declare const DATA_FLOW_QUERY_ADAPTER_MODULES: readonly ["@tanstack/react-query", "react-query"];
162
+ declare const DATA_FLOW_QUERY_HOOK_NAMES: readonly ["useInfiniteQuery", "useMutation", "useQuery"];
163
+ declare const DATA_FLOW_TRPC_CLIENT_FACTORY_NAMES: readonly ["createTRPCClient", "createTRPCProxyClient"];
164
+ declare const DATA_FLOW_TRPC_PROXY_FACTORY_NAMES: readonly ["createTRPCNext", "createTRPCReact"];
165
+ declare const DATA_FLOW_TRPC_ROOT_FACTORY_NAMES: readonly ["createTRPCClient", "createTRPCProxyClient", "createTRPCNext", "createTRPCReact", "createTRPCContext", "createTRPCOptionsProxy"];
166
+ declare const DATA_FLOW_TRPC_REQUEST_METHODS: readonly ["infiniteQueryOptions", "mutate", "mutateAsync", "mutationOptions", "query", "queryOptions", "refetch", "subscribe", "subscriptionOptions", "useInfiniteQuery", "useMutation", "useQuery", "useSubscription", "useSuspenseInfiniteQuery", "useSuspenseQuery"];
167
+
168
+ interface DataFlowCollectionLimitOptions {
169
+ readonly forceTruncation?: boolean;
170
+ readonly maximumDependencies?: number;
171
+ readonly mode?: "analysis" | "observation";
172
+ readonly truncatedBy?: ReportCompleteness["truncatedBy"];
173
+ }
174
+ declare function limitDataFlowReportCollections(report: ComponentDataFlowReport, options?: DataFlowCollectionLimitOptions): ComponentDataFlowReport;
175
+ declare function limitDataFlowReportCollections(report: PageDataFlowReport, options?: DataFlowCollectionLimitOptions): PageDataFlowReport;
160
176
 
161
177
  declare const SPOTPATCH_EDITOR_PREFERENCES: readonly ["auto", "vscode", "cursor"];
162
178
  type SpotPatchEditorPreference = (typeof SPOTPATCH_EDITOR_PREFERENCES)[number];
@@ -372,6 +388,7 @@ interface RuntimeConfigBase {
372
388
  readonly apiBase: typeof SPOTPATCH_API_BASE;
373
389
  readonly ai: RuntimeAiConfig;
374
390
  readonly budget: Readonly<ContextBudget>;
391
+ readonly dataFlow: RuntimeDataFlowConfig;
375
392
  readonly debug: boolean;
376
393
  readonly editor: (typeof SPOTPATCH_EDITOR_PREFERENCES)[number];
377
394
  readonly frameworkVersion: string;
@@ -413,6 +430,31 @@ declare const openEditorRequestSchema: z.ZodObject<{
413
430
  line: z.ZodNumber;
414
431
  column: z.ZodNumber;
415
432
  }, z.core.$strict>;
433
+ declare const dataFlowComponentReportRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
434
+ fileId: z.ZodString;
435
+ line: z.ZodNumber;
436
+ column: z.ZodNumber;
437
+ schemaVersion: z.ZodLiteral<1>;
438
+ sourceVersion: z.ZodOptional<z.ZodString>;
439
+ }, z.core.$strict>, z.ZodObject<{
440
+ schemaVersion: z.ZodLiteral<1>;
441
+ componentSourceId: z.ZodString;
442
+ sourceVersion: z.ZodString;
443
+ }, z.core.$strict>]>;
444
+ declare const dataFlowPageReportRequestSchema: z.ZodObject<{
445
+ schemaVersion: z.ZodLiteral<1>;
446
+ targets: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
447
+ fileId: z.ZodString;
448
+ line: z.ZodNumber;
449
+ column: z.ZodNumber;
450
+ schemaVersion: z.ZodLiteral<1>;
451
+ sourceVersion: z.ZodOptional<z.ZodString>;
452
+ }, z.core.$strict>, z.ZodObject<{
453
+ schemaVersion: z.ZodLiteral<1>;
454
+ componentSourceId: z.ZodString;
455
+ sourceVersion: z.ZodString;
456
+ }, z.core.$strict>]>>;
457
+ }, z.core.$strict>;
416
458
  declare const spotTargetContextRequestSchema: z.ZodObject<{
417
459
  instruction: z.ZodString;
418
460
  page: z.ZodOptional<z.ZodObject<{
@@ -445,6 +487,8 @@ declare const spotTargetContextRequestSchema: z.ZodObject<{
445
487
  supported: z.ZodBoolean;
446
488
  version: z.ZodOptional<z.ZodString>;
447
489
  componentName: z.ZodOptional<z.ZodString>;
490
+ componentSourceId: z.ZodOptional<z.ZodString>;
491
+ sourceVersion: z.ZodOptional<z.ZodString>;
448
492
  componentStack: z.ZodArray<z.ZodString>;
449
493
  source: z.ZodOptional<z.ZodObject<{
450
494
  fileId: z.ZodOptional<z.ZodString>;
@@ -553,6 +597,8 @@ declare const spotAnnotationRequestSchema: z.ZodObject<{
553
597
  supported: z.ZodBoolean;
554
598
  version: z.ZodOptional<z.ZodString>;
555
599
  componentName: z.ZodOptional<z.ZodString>;
600
+ componentSourceId: z.ZodOptional<z.ZodString>;
601
+ sourceVersion: z.ZodOptional<z.ZodString>;
556
602
  componentStack: z.ZodArray<z.ZodString>;
557
603
  source: z.ZodOptional<z.ZodObject<{
558
604
  fileId: z.ZodOptional<z.ZodString>;
@@ -669,6 +715,8 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
669
715
  supported: z.ZodBoolean;
670
716
  version: z.ZodOptional<z.ZodString>;
671
717
  componentName: z.ZodOptional<z.ZodString>;
718
+ componentSourceId: z.ZodOptional<z.ZodString>;
719
+ sourceVersion: z.ZodOptional<z.ZodString>;
672
720
  componentStack: z.ZodArray<z.ZodString>;
673
721
  source: z.ZodOptional<z.ZodObject<{
674
722
  fileId: z.ZodOptional<z.ZodString>;
@@ -732,6 +780,11 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
732
780
  }, z.core.$strict>>;
733
781
  createdAt: z.ZodISODateTime;
734
782
  }, z.core.$strict>;
783
+ applyMode: z.ZodOptional<z.ZodEnum<{
784
+ auto: "auto";
785
+ review: "review";
786
+ "trusted-auto": "trusted-auto";
787
+ }>>;
735
788
  providerProfileId: z.ZodString;
736
789
  modelProfileId: z.ZodString;
737
790
  providerDataConsent: z.ZodLiteral<true>;
@@ -745,9 +798,12 @@ declare const agentJobActionRequestSchema: z.ZodObject<{}, z.core.$strict>;
745
798
  type SourceContextRequest = z.infer<typeof sourceContextRequestSchema>;
746
799
  type RuntimeBootstrapRequest = z.infer<typeof runtimeBootstrapRequestSchema>;
747
800
  type OpenEditorRequest = z.infer<typeof openEditorRequestSchema>;
801
+ type DataFlowComponentReportRequest = z.infer<typeof dataFlowComponentReportRequestSchema>;
802
+ type DataFlowPageReportRequest = z.infer<typeof dataFlowPageReportRequestSchema>;
748
803
  type AgentCapabilityRequest = z.infer<typeof agentCapabilityRequestSchema>;
749
804
  interface AgentJobCreateRequest {
750
805
  readonly annotation: SpotAnnotation;
806
+ readonly applyMode?: AgentApplyMode;
751
807
  readonly providerProfileId: string;
752
808
  readonly modelProfileId: string;
753
809
  readonly providerDataConsent: true;
@@ -811,10 +867,10 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
811
867
  }>;
812
868
  state: z.ZodEnum<{
813
869
  unknown: "unknown";
870
+ unavailable: "unavailable";
814
871
  probing: "probing";
815
872
  "agent-ready": "agent-ready";
816
873
  "prompt-only": "prompt-only";
817
- unavailable: "unavailable";
818
874
  }>;
819
875
  authenticated: z.ZodBoolean;
820
876
  modelAvailable: z.ZodBoolean;
@@ -830,6 +886,9 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
830
886
  readonly SOURCE_OUTSIDE_ROOT: "SOURCE_OUTSIDE_ROOT";
831
887
  readonly SOURCE_TOO_LARGE: "SOURCE_TOO_LARGE";
832
888
  readonly EDITOR_OPEN_FAILED: "EDITOR_OPEN_FAILED";
889
+ readonly DATA_FLOW_DISABLED: "DATA_FLOW_DISABLED";
890
+ readonly DATA_FLOW_SOURCE_STALE: "DATA_FLOW_SOURCE_STALE";
891
+ readonly DATA_FLOW_ANALYSIS_CANCELLED: "DATA_FLOW_ANALYSIS_CANCELLED";
833
892
  readonly AI_DISABLED: "AI_DISABLED";
834
893
  readonly PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
835
894
  readonly PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED";
@@ -881,6 +940,9 @@ declare const agentWorkspaceHealthSnapshotSchema: z.ZodObject<{
881
940
  readonly SOURCE_OUTSIDE_ROOT: "SOURCE_OUTSIDE_ROOT";
882
941
  readonly SOURCE_TOO_LARGE: "SOURCE_TOO_LARGE";
883
942
  readonly EDITOR_OPEN_FAILED: "EDITOR_OPEN_FAILED";
943
+ readonly DATA_FLOW_DISABLED: "DATA_FLOW_DISABLED";
944
+ readonly DATA_FLOW_SOURCE_STALE: "DATA_FLOW_SOURCE_STALE";
945
+ readonly DATA_FLOW_ANALYSIS_CANCELLED: "DATA_FLOW_ANALYSIS_CANCELLED";
884
946
  readonly AI_DISABLED: "AI_DISABLED";
885
947
  readonly PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
886
948
  readonly PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED";
@@ -966,6 +1028,9 @@ declare const agentJobSnapshotSchema: z.ZodObject<{
966
1028
  readonly SOURCE_OUTSIDE_ROOT: "SOURCE_OUTSIDE_ROOT";
967
1029
  readonly SOURCE_TOO_LARGE: "SOURCE_TOO_LARGE";
968
1030
  readonly EDITOR_OPEN_FAILED: "EDITOR_OPEN_FAILED";
1031
+ readonly DATA_FLOW_DISABLED: "DATA_FLOW_DISABLED";
1032
+ readonly DATA_FLOW_SOURCE_STALE: "DATA_FLOW_SOURCE_STALE";
1033
+ readonly DATA_FLOW_ANALYSIS_CANCELLED: "DATA_FLOW_ANALYSIS_CANCELLED";
969
1034
  readonly AI_DISABLED: "AI_DISABLED";
970
1035
  readonly PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
971
1036
  readonly PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED";
@@ -1057,6 +1122,9 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
1057
1122
  readonly SOURCE_OUTSIDE_ROOT: "SOURCE_OUTSIDE_ROOT";
1058
1123
  readonly SOURCE_TOO_LARGE: "SOURCE_TOO_LARGE";
1059
1124
  readonly EDITOR_OPEN_FAILED: "EDITOR_OPEN_FAILED";
1125
+ readonly DATA_FLOW_DISABLED: "DATA_FLOW_DISABLED";
1126
+ readonly DATA_FLOW_SOURCE_STALE: "DATA_FLOW_SOURCE_STALE";
1127
+ readonly DATA_FLOW_ANALYSIS_CANCELLED: "DATA_FLOW_ANALYSIS_CANCELLED";
1060
1128
  readonly AI_DISABLED: "AI_DISABLED";
1061
1129
  readonly PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
1062
1130
  readonly PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED";
@@ -1170,6 +1238,9 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1170
1238
  readonly SOURCE_OUTSIDE_ROOT: "SOURCE_OUTSIDE_ROOT";
1171
1239
  readonly SOURCE_TOO_LARGE: "SOURCE_TOO_LARGE";
1172
1240
  readonly EDITOR_OPEN_FAILED: "EDITOR_OPEN_FAILED";
1241
+ readonly DATA_FLOW_DISABLED: "DATA_FLOW_DISABLED";
1242
+ readonly DATA_FLOW_SOURCE_STALE: "DATA_FLOW_SOURCE_STALE";
1243
+ readonly DATA_FLOW_ANALYSIS_CANCELLED: "DATA_FLOW_ANALYSIS_CANCELLED";
1173
1244
  readonly AI_DISABLED: "AI_DISABLED";
1174
1245
  readonly PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
1175
1246
  readonly PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED";
@@ -1345,6 +1416,9 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1345
1416
  readonly SOURCE_OUTSIDE_ROOT: "SOURCE_OUTSIDE_ROOT";
1346
1417
  readonly SOURCE_TOO_LARGE: "SOURCE_TOO_LARGE";
1347
1418
  readonly EDITOR_OPEN_FAILED: "EDITOR_OPEN_FAILED";
1419
+ readonly DATA_FLOW_DISABLED: "DATA_FLOW_DISABLED";
1420
+ readonly DATA_FLOW_SOURCE_STALE: "DATA_FLOW_SOURCE_STALE";
1421
+ readonly DATA_FLOW_ANALYSIS_CANCELLED: "DATA_FLOW_ANALYSIS_CANCELLED";
1348
1422
  readonly AI_DISABLED: "AI_DISABLED";
1349
1423
  readonly PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
1350
1424
  readonly PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED";
@@ -1391,4 +1465,4 @@ type ApiResponse<T> = ApiSuccess<T> | ApiFailure;
1391
1465
 
1392
1466
  declare const SPOTPATCH_REPOSITORY_URL: "https://github.com/huanglvjing/spotpatch";
1393
1467
 
1394
- export { AGENT_APPLY_MODES, AGENT_CAPABILITY_STATES, AGENT_CHECK_STATUSES, AGENT_FILE_CHANGE_KINDS, AGENT_JOB_STATUSES, AGENT_WORKSPACE_SNAPSHOT_LIMITS, AGENT_WORKSPACE_STATES, type AgentApplyMode, type AgentCapabilityRequest, type AgentCapabilitySnapshot, type AgentCapabilityState, type AgentChangedFile, type AgentCheckDefinition, type AgentCheckResult, type AgentCheckStatus, type AgentFileChangeKind, type AgentJobAction, type AgentJobCreateRequest, type AgentJobEvent, type AgentJobResult, type AgentJobResultResponse, type AgentJobSnapshot, type AgentJobStatus, type AgentLimits, type AgentWorkingTreeMode, type AgentWorkspaceChangeSummary, type AgentWorkspaceHealthSnapshot, type AgentWorkspaceState, type AiExecutionOptions, type AiModelProfile, type AiOptions, type AiProviderAuthentication, type AiProviderProtocol, type ApiFailure, type ApiResponse, type ApiSuccess, type CodeContext, type ContextBudget, DEFAULT_AGENT_LIMITS, ERROR_CODES, type EditorOpenResult, type ElementContext, type ErrorCode, MAX_ANNOTATION_INSTRUCTION_CHARACTERS, MAX_ANNOTATION_TARGETS, MAX_TARGET_INSTRUCTION_CHARACTERS, type MatchedStyleRule, type OpenAICompatibleProviderOptions, type OpenEditorRequest, type PageContext, type ReactContext, type ResolvedAgentCheckDefinition, type ResolvedAiExecutionOptions, type ResolvedAiModelProfile, type ResolvedAiOptions, type ResolvedOpenAICompatibleProviderOptions, type RuntimeAiConfig, type RuntimeAiModelProfile, type RuntimeAiProviderProfile, type RuntimeBootstrapRequest, SOURCE_MARKER_ATTRIBUTE, SPOTPATCH_API_BASE, SPOTPATCH_EDITOR_PREFERENCES, SPOTPATCH_ENDPOINTS, SPOTPATCH_LOCALES, SPOTPATCH_LOCALE_PREFERENCES, SPOTPATCH_NEXT_BUNDLERS, SPOTPATCH_NEXT_ROUTER_KINDS, SPOTPATCH_REPOSITORY_URL, SPOTPATCH_TOKEN_HEADER, type SourceConfidence, type SourceContextRequest, type SourceMarker, type SourceOrigin, type SourceRef, type SpotAnnotation, type SpotPatchEditorPreference, SpotPatchError, type SpotPatchLocale, type SpotPatchLocalePreference, type SpotPatchNextBundler, type SpotPatchNextRouterKind, type SpotPatchRuntimeConfig, type SpotTargetContext, type StyleContext, agentCapabilityRequestSchema, agentCapabilitySnapshotSchema, agentChangedFileSchema, agentCheckResultSchema, agentJobActionRequestSchema, agentJobCreateRequestSchema, agentJobEventSchema, agentJobResultResponseSchema, agentJobResultSchema, agentJobSnapshotSchema, agentWorkspaceHealthRequestSchema, agentWorkspaceHealthSnapshotSchema, formatSourceMarker, getAgentJobEndpoint, isSensitiveName, openEditorRequestSchema, parseSourceMarker, redactSensitiveText, runtimeBootstrapRequestSchema, runtimeConfigSchema, sanitizeUrl, sourceContextRequestSchema, spotAnnotationRequestSchema, spotTargetContextRequestSchema };
1468
+ export { AGENT_APPLY_MODES, AGENT_CAPABILITY_STATES, AGENT_CHECK_STATUSES, AGENT_FILE_CHANGE_KINDS, AGENT_JOB_STATUSES, AGENT_WORKSPACE_SNAPSHOT_LIMITS, AGENT_WORKSPACE_STATES, type AgentApplyMode, type AgentCapabilityRequest, type AgentCapabilitySnapshot, type AgentCapabilityState, type AgentChangedFile, type AgentCheckDefinition, type AgentCheckResult, type AgentCheckStatus, type AgentFileChangeKind, type AgentJobCreateRequest, type AgentJobEvent, type AgentJobResult, type AgentJobResultResponse, type AgentJobSnapshot, type AgentJobStatus, type AgentLimits, type AgentWorkingTreeMode, type AgentWorkspaceChangeSummary, type AgentWorkspaceHealthSnapshot, type AgentWorkspaceState, type AiExecutionOptions, type AiModelProfile, type AiOptions, type AiProviderAuthentication, type AiProviderProtocol, type ApiFailure, type ApiResponse, type ApiSuccess, type CodeContext, ComponentDataFlowReport, type ContextBudget, DATA_FLOW_QUERY_ADAPTER_MODULES, DATA_FLOW_QUERY_HOOK_NAMES, DATA_FLOW_TRPC_CLIENT_FACTORY_NAMES, DATA_FLOW_TRPC_PROXY_FACTORY_NAMES, DATA_FLOW_TRPC_REQUEST_METHODS, DATA_FLOW_TRPC_ROOT_FACTORY_NAMES, DEFAULT_AGENT_LIMITS, type DataFlowCollectionLimitOptions, type DataFlowComponentReportRequest, type DataFlowPageReportRequest, ERROR_CODES, type EditorOpenResult, type ElementContext, type ErrorCode, MAX_ANNOTATION_INSTRUCTION_CHARACTERS, MAX_ANNOTATION_TARGETS, MAX_TARGET_INSTRUCTION_CHARACTERS, type MatchedStyleRule, type OpenAICompatibleProviderOptions, type OpenEditorRequest, type PageContext, PageDataFlowReport, type ReactContext, ReportCompleteness, type ResolvedAgentCheckDefinition, type ResolvedAiExecutionOptions, type ResolvedAiModelProfile, type ResolvedAiOptions, type ResolvedOpenAICompatibleProviderOptions, type RuntimeAiConfig, type RuntimeAiModelProfile, type RuntimeAiProviderProfile, type RuntimeBootstrapRequest, RuntimeDataFlowConfig, SOURCE_MARKER_ATTRIBUTE, SPOTPATCH_API_BASE, SPOTPATCH_EDITOR_PREFERENCES, SPOTPATCH_LOCALES, SPOTPATCH_LOCALE_PREFERENCES, SPOTPATCH_NEXT_BUNDLERS, SPOTPATCH_NEXT_ROUTER_KINDS, SPOTPATCH_REPOSITORY_URL, type SourceConfidence, type SourceContextRequest, type SourceMarker, type SourceOrigin, type SourceRef, type SpotAnnotation, type SpotPatchEditorPreference, SpotPatchError, type SpotPatchLocale, type SpotPatchLocalePreference, type SpotPatchNextBundler, type SpotPatchNextRouterKind, type SpotPatchRuntimeConfig, type SpotTargetContext, type StyleContext, agentCapabilityRequestSchema, agentCapabilitySnapshotSchema, agentChangedFileSchema, agentCheckResultSchema, agentJobActionRequestSchema, agentJobCreateRequestSchema, agentJobEventSchema, agentJobResultResponseSchema, agentJobResultSchema, agentJobSnapshotSchema, agentWorkspaceHealthRequestSchema, agentWorkspaceHealthSnapshotSchema, dataFlowComponentReportRequestSchema, dataFlowPageReportRequestSchema, formatSourceMarker, isSensitiveName, limitDataFlowReportCollections, openEditorRequestSchema, parseSourceMarker, redactSensitiveText, runtimeBootstrapRequestSchema, runtimeConfigSchema, sanitizeUrl, sourceContextRequestSchema, spotAnnotationRequestSchema, spotTargetContextRequestSchema };