mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-01 08:59:39 +02:00
401 lines
13 KiB
TypeScript
401 lines
13 KiB
TypeScript
|
|
export {
|
||
|
|
REDACTED_KLO_CREDENTIAL_VALUE,
|
||
|
|
redactKloCredentialEnvelope,
|
||
|
|
redactKloCredentialValue,
|
||
|
|
redactKloScanMetadata,
|
||
|
|
redactKloScanReport,
|
||
|
|
redactKloScanWarning,
|
||
|
|
} from './credentials.js';
|
||
|
|
export type {
|
||
|
|
KloDataDictionaryColumnState,
|
||
|
|
KloDataDictionarySampleDecision,
|
||
|
|
KloDataDictionarySettings,
|
||
|
|
KloDataDictionarySkipReason,
|
||
|
|
} from './data-dictionary.js';
|
||
|
|
export {
|
||
|
|
defaultKloDataDictionarySettings,
|
||
|
|
isKloDataDictionaryCandidate,
|
||
|
|
shouldKloSampleColumnForDictionary,
|
||
|
|
} from './data-dictionary.js';
|
||
|
|
export type {
|
||
|
|
KloColumnAnalysisResult,
|
||
|
|
KloColumnDescriptionPromptInput,
|
||
|
|
KloDataSourceDescriptionPromptInput,
|
||
|
|
KloDescriptionCachePort,
|
||
|
|
KloDescriptionColumn,
|
||
|
|
KloDescriptionColumnTable,
|
||
|
|
KloDescriptionGenerationSettings,
|
||
|
|
KloDescriptionGeneratorOptions,
|
||
|
|
KloDescriptionSamplingPort,
|
||
|
|
KloDescriptionTableInput,
|
||
|
|
KloGenerateColumnDescriptionsInput,
|
||
|
|
KloGenerateDataSourceDescriptionInput,
|
||
|
|
KloGenerateTableDescriptionInput,
|
||
|
|
KloTableDescriptionPromptInput,
|
||
|
|
} from './description-generation.js';
|
||
|
|
export {
|
||
|
|
appendKloWordLimitInstruction,
|
||
|
|
buildKloColumnDescriptionPrompt,
|
||
|
|
buildKloDataSourceDescriptionPrompt,
|
||
|
|
buildKloTableDescriptionPrompt,
|
||
|
|
KloDescriptionGenerator,
|
||
|
|
} from './description-generation.js';
|
||
|
|
export type { KloColumnEmbeddingForeignKeys, KloColumnEmbeddingTextInput } from './embedding-text.js';
|
||
|
|
export { buildKloColumnEmbeddingText } from './embedding-text.js';
|
||
|
|
export type {
|
||
|
|
ComputeKloScanEnrichmentInputHashInput,
|
||
|
|
KloScanEnrichmentCompletedStage,
|
||
|
|
KloScanEnrichmentFailedStage,
|
||
|
|
KloScanEnrichmentStageLookup,
|
||
|
|
KloScanEnrichmentStageRecord,
|
||
|
|
KloScanEnrichmentStateStore,
|
||
|
|
} from './enrichment-state.js';
|
||
|
|
export {
|
||
|
|
completedKloScanEnrichmentStateSummary,
|
||
|
|
computeKloScanEnrichmentInputHash,
|
||
|
|
KLO_SCAN_ENRICHMENT_STAGES,
|
||
|
|
summarizeKloScanEnrichmentState,
|
||
|
|
} from './enrichment-state.js';
|
||
|
|
export {
|
||
|
|
failedKloScanEnrichmentSummary,
|
||
|
|
kloScanErrorMessage,
|
||
|
|
skippedKloScanEnrichmentSummary,
|
||
|
|
} from './enrichment-summary.js';
|
||
|
|
export type {
|
||
|
|
KloColumnSampleUpdate,
|
||
|
|
KloDescriptionSource,
|
||
|
|
KloDescriptionUpdate,
|
||
|
|
KloEmbeddingUpdate,
|
||
|
|
KloEnrichedColumn,
|
||
|
|
KloEnrichedRelationship,
|
||
|
|
KloEnrichedSchema,
|
||
|
|
KloEnrichedTable,
|
||
|
|
KloRelationshipEndpoint,
|
||
|
|
KloRelationshipSource,
|
||
|
|
KloRelationshipType,
|
||
|
|
KloRelationshipUpdate,
|
||
|
|
KloScanMetadataStore,
|
||
|
|
KloSkippedRelationship,
|
||
|
|
KloStructuralSyncPlan,
|
||
|
|
} from './enrichment-types.js';
|
||
|
|
export type {
|
||
|
|
DeterministicLocalScanEnrichmentProviderOptions,
|
||
|
|
KloLocalScanEnrichmentInput,
|
||
|
|
KloLocalScanEnrichmentProviders,
|
||
|
|
KloLocalScanEnrichmentResult,
|
||
|
|
} from './local-enrichment.js';
|
||
|
|
export {
|
||
|
|
createDeterministicLocalScanEnrichmentProviders,
|
||
|
|
runLocalScanEnrichment,
|
||
|
|
snapshotToKloEnrichedSchema,
|
||
|
|
} from './local-enrichment.js';
|
||
|
|
export type {
|
||
|
|
WriteLocalScanEnrichmentArtifactsInput,
|
||
|
|
WriteLocalScanEnrichmentArtifactsResult,
|
||
|
|
WriteLocalScanManifestShardsInput,
|
||
|
|
WriteLocalScanManifestShardsResult,
|
||
|
|
} from './local-enrichment-artifacts.js';
|
||
|
|
export {
|
||
|
|
writeLocalScanEnrichmentArtifacts,
|
||
|
|
writeLocalScanManifestShards,
|
||
|
|
} from './local-enrichment-artifacts.js';
|
||
|
|
export type {
|
||
|
|
LocalScanMcpOptions,
|
||
|
|
LocalScanRunResult,
|
||
|
|
LocalScanStatusResponse,
|
||
|
|
RunLocalScanOptions,
|
||
|
|
} from './local-scan.js';
|
||
|
|
export { getLocalScanReport, getLocalScanStatus, runLocalScan } from './local-scan.js';
|
||
|
|
export type { ReadLocalScanStructuralSnapshotInput } from './local-structural-artifacts.js';
|
||
|
|
export { readLocalScanStructuralSnapshot } from './local-structural-artifacts.js';
|
||
|
|
export type {
|
||
|
|
KloEnrichmentScanPhaseResult,
|
||
|
|
KloScanOrchestratorOptions,
|
||
|
|
KloScanOrchestratorRunInput,
|
||
|
|
KloScanOrchestratorRunResult,
|
||
|
|
KloStructuralScanPhaseResult,
|
||
|
|
} from './orchestrator.js';
|
||
|
|
export { KloScanOrchestrator } from './orchestrator.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipArtifactStatus,
|
||
|
|
ReadLocalScanRelationshipArtifactsResult,
|
||
|
|
} from './relationship-artifacts.js';
|
||
|
|
export { readLocalScanRelationshipArtifacts } from './relationship-artifacts.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipBenchmarkReport,
|
||
|
|
KloRelationshipBenchmarkReportCase,
|
||
|
|
KloRelationshipBenchmarkReportCaseStatus,
|
||
|
|
} from './relationship-benchmark-report.js';
|
||
|
|
export {
|
||
|
|
buildKloRelationshipBenchmarkReport,
|
||
|
|
formatKloRelationshipBenchmarkReportMarkdown,
|
||
|
|
} from './relationship-benchmark-report.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipBenchmarkCaseResult,
|
||
|
|
KloRelationshipBenchmarkDetectedLink,
|
||
|
|
KloRelationshipBenchmarkDetectedPk,
|
||
|
|
KloRelationshipBenchmarkDetector,
|
||
|
|
KloRelationshipBenchmarkDetectorInput,
|
||
|
|
KloRelationshipBenchmarkDetectorResult,
|
||
|
|
KloRelationshipBenchmarkExpectedLink,
|
||
|
|
KloRelationshipBenchmarkExpectedLinks,
|
||
|
|
KloRelationshipBenchmarkExpectedPk,
|
||
|
|
KloRelationshipBenchmarkFixture,
|
||
|
|
KloRelationshipBenchmarkMetrics,
|
||
|
|
KloRelationshipBenchmarkMode,
|
||
|
|
KloRelationshipBenchmarkStatus,
|
||
|
|
KloRelationshipBenchmarkSuiteResult,
|
||
|
|
KloRelationshipBenchmarkTier,
|
||
|
|
} from './relationship-benchmarks.js';
|
||
|
|
export {
|
||
|
|
currentKloRelationshipBenchmarkDetector,
|
||
|
|
kloRelationshipBenchmarkDetectorWithLlm,
|
||
|
|
KLO_RELATIONSHIP_BENCHMARK_MODES,
|
||
|
|
KLO_RELATIONSHIP_BENCHMARK_TIERS,
|
||
|
|
loadKloRelationshipBenchmarkFixture,
|
||
|
|
loadKloRelationshipBenchmarkFixtures,
|
||
|
|
maskKloRelationshipBenchmarkSnapshot,
|
||
|
|
runKloRelationshipBenchmarkCase,
|
||
|
|
runKloRelationshipBenchmarkSuite,
|
||
|
|
} from './relationship-benchmarks.js';
|
||
|
|
export type {
|
||
|
|
ApplyKloRelationshipValidationBudgetInput,
|
||
|
|
KloRelationshipBudgetedCandidate,
|
||
|
|
KloRelationshipValidationBudget,
|
||
|
|
KloRelationshipValidationBudgetResult,
|
||
|
|
} from './relationship-budget.js';
|
||
|
|
export {
|
||
|
|
applyKloRelationshipValidationBudget,
|
||
|
|
defaultKloRelationshipValidationBudget,
|
||
|
|
} from './relationship-budget.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipDiscoveryCandidate,
|
||
|
|
KloRelationshipDiscoveryCandidateEvidence,
|
||
|
|
KloRelationshipDiscoveryCandidateOptions,
|
||
|
|
KloRelationshipDiscoveryCandidateSource,
|
||
|
|
KloRelationshipDiscoveryCandidateStatus,
|
||
|
|
KloRelationshipInferredTargetPk,
|
||
|
|
} from './relationship-candidates.js';
|
||
|
|
export {
|
||
|
|
generateKloRelationshipDiscoveryCandidates,
|
||
|
|
inferKloRelationshipTargetPks,
|
||
|
|
mergeKloRelationshipDiscoveryCandidates,
|
||
|
|
} from './relationship-candidates.js';
|
||
|
|
export type {
|
||
|
|
DiscoverKloCompositeRelationshipsInput,
|
||
|
|
DiscoverKloCompositeRelationshipsResult,
|
||
|
|
KloCompositePrimaryKeyCandidate,
|
||
|
|
KloCompositeRelationshipCandidate,
|
||
|
|
KloCompositeRelationshipStatus,
|
||
|
|
KloCompositeRelationshipTupleEndpoint,
|
||
|
|
KloCompositeRelationshipValidationEvidence,
|
||
|
|
} from './relationship-composite-candidates.js';
|
||
|
|
export { discoverKloCompositeRelationships } from './relationship-composite-candidates.js';
|
||
|
|
export type {
|
||
|
|
BuildKloRelationshipArtifactsInput,
|
||
|
|
BuildKloRelationshipDiagnosticsInput,
|
||
|
|
EmptyKloRelationshipProfileArtifactInput,
|
||
|
|
KloRelationshipArtifact,
|
||
|
|
KloRelationshipArtifactEdge,
|
||
|
|
KloRelationshipArtifactEndpoint,
|
||
|
|
KloRelationshipDiagnosticsArtifact,
|
||
|
|
KloRelationshipDiagnosticsSummary,
|
||
|
|
KloRelationshipDiagnosticsThresholds,
|
||
|
|
KloRelationshipDiagnosticsValidation,
|
||
|
|
} from './relationship-diagnostics.js';
|
||
|
|
export {
|
||
|
|
buildKloRelationshipArtifacts,
|
||
|
|
buildKloRelationshipDiagnostics,
|
||
|
|
emptyKloRelationshipProfileArtifact,
|
||
|
|
} from './relationship-diagnostics.js';
|
||
|
|
export type {
|
||
|
|
BuildKloRelationshipFeedbackCalibrationReportInput,
|
||
|
|
CalibrateLocalRelationshipFeedbackLabelsInput,
|
||
|
|
KloRelationshipFeedbackCalibrationBucket,
|
||
|
|
KloRelationshipFeedbackCalibrationLabel,
|
||
|
|
KloRelationshipFeedbackCalibrationReport,
|
||
|
|
} from './relationship-feedback-calibration.js';
|
||
|
|
export {
|
||
|
|
buildKloRelationshipFeedbackCalibrationReport,
|
||
|
|
calibrateLocalRelationshipFeedbackLabels,
|
||
|
|
formatKloRelationshipFeedbackCalibrationMarkdown,
|
||
|
|
} from './relationship-feedback-calibration.js';
|
||
|
|
export type {
|
||
|
|
ExportLocalRelationshipFeedbackLabelsInput,
|
||
|
|
ExportLocalRelationshipFeedbackLabelsResult,
|
||
|
|
KloRelationshipFeedbackDecisionFilter,
|
||
|
|
KloRelationshipFeedbackExportWarning,
|
||
|
|
KloRelationshipFeedbackLabel,
|
||
|
|
} from './relationship-feedback-export.js';
|
||
|
|
export {
|
||
|
|
exportLocalRelationshipFeedbackLabels,
|
||
|
|
formatKloRelationshipFeedbackLabelsJsonl,
|
||
|
|
} from './relationship-feedback-export.js';
|
||
|
|
export {
|
||
|
|
collectKloFormalMetadataRelationships,
|
||
|
|
type KloFormalMetadataRelationshipCollection,
|
||
|
|
} from './relationship-formal-metadata.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipGraphResolutionResult,
|
||
|
|
KloRelationshipGraphResolverSettings,
|
||
|
|
KloResolvedRelationshipDiscoveryCandidate,
|
||
|
|
KloResolvedRelationshipGraphEvidence,
|
||
|
|
KloResolvedRelationshipPk,
|
||
|
|
KloResolvedRelationshipPkEvidence,
|
||
|
|
KloResolvedRelationshipStatus,
|
||
|
|
ResolveKloRelationshipGraphInput,
|
||
|
|
} from './relationship-graph-resolver.js';
|
||
|
|
export { resolveKloRelationshipGraph } from './relationship-graph-resolver.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipLlmProposalGenerateText,
|
||
|
|
KloRelationshipLlmProposalResult,
|
||
|
|
KloRelationshipLlmProposalSettings,
|
||
|
|
ProposeKloRelationshipCandidatesWithLlmInput,
|
||
|
|
} from './relationship-llm-proposal.js';
|
||
|
|
export { proposeKloRelationshipCandidatesWithLlm } from './relationship-llm-proposal.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipLocalityCandidateTable,
|
||
|
|
LocalKloRelationshipCandidateTablesInput,
|
||
|
|
} from './relationship-locality.js';
|
||
|
|
export { localCandidateTables } from './relationship-locality.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipNormalizedName,
|
||
|
|
KloRelationshipTokenInput,
|
||
|
|
} from './relationship-name-similarity.js';
|
||
|
|
export {
|
||
|
|
normalizeKloRelationshipName,
|
||
|
|
pluralizeKloRelationshipToken,
|
||
|
|
singularizeKloRelationshipToken,
|
||
|
|
tokenizeKloRelationshipName,
|
||
|
|
tokenSimilarity,
|
||
|
|
} from './relationship-name-similarity.js';
|
||
|
|
export type {
|
||
|
|
DiscoverKloRelationshipsInput,
|
||
|
|
DiscoverKloRelationshipsResult,
|
||
|
|
} from './relationship-discovery.js';
|
||
|
|
export { discoverKloRelationships } from './relationship-discovery.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipColumnProfile,
|
||
|
|
KloRelationshipProfileArtifact,
|
||
|
|
KloRelationshipReadOnlyExecutor,
|
||
|
|
KloRelationshipTableProfile,
|
||
|
|
ProfileKloRelationshipSchemaInput,
|
||
|
|
} from './relationship-profiling.js';
|
||
|
|
export {
|
||
|
|
formatKloRelationshipTableRef,
|
||
|
|
profileKloRelationshipSchema,
|
||
|
|
quoteKloRelationshipIdentifier,
|
||
|
|
} from './relationship-profiling.js';
|
||
|
|
export type {
|
||
|
|
AppliedRelationshipReviewDecision,
|
||
|
|
ApplyLocalScanRelationshipReviewDecisionsInput,
|
||
|
|
ApplyLocalScanRelationshipReviewDecisionsResult,
|
||
|
|
} from './relationship-review-apply.js';
|
||
|
|
export { applyLocalScanRelationshipReviewDecisions } from './relationship-review-apply.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipReviewDecisionArtifact,
|
||
|
|
KloRelationshipReviewDecisionEntry,
|
||
|
|
KloRelationshipReviewDecisionValue,
|
||
|
|
WriteLocalScanRelationshipReviewDecisionInput,
|
||
|
|
WriteLocalScanRelationshipReviewDecisionResult,
|
||
|
|
} from './relationship-review-decisions.js';
|
||
|
|
export { writeLocalScanRelationshipReviewDecision } from './relationship-review-decisions.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipFixtureOrigin,
|
||
|
|
KloRelationshipScoreBreakdown,
|
||
|
|
KloRelationshipScoreSignal,
|
||
|
|
KloRelationshipScoreWeights,
|
||
|
|
KloRelationshipScoringCalibrationObservation,
|
||
|
|
KloRelationshipSignalVector,
|
||
|
|
} from './relationship-scoring.js';
|
||
|
|
export {
|
||
|
|
calibrateWeightsFromSyntheticFixtures,
|
||
|
|
defaultKloRelationshipScoreWeights,
|
||
|
|
KLO_RELATIONSHIP_SCORE_SIGNAL_KEYS,
|
||
|
|
normalizeKloRelationshipScoreWeights,
|
||
|
|
scoreKloRelationshipCandidate,
|
||
|
|
} from './relationship-scoring.js';
|
||
|
|
export type {
|
||
|
|
AdviseLocalRelationshipFeedbackThresholdsInput,
|
||
|
|
BuildKloRelationshipThresholdAdviceReportInput,
|
||
|
|
KloRelationshipThresholdAdviceCandidate,
|
||
|
|
KloRelationshipThresholdAdviceReport,
|
||
|
|
KloRelationshipThresholdAdviceStatus,
|
||
|
|
} from './relationship-threshold-advice.js';
|
||
|
|
export {
|
||
|
|
adviseLocalRelationshipFeedbackThresholds,
|
||
|
|
buildKloRelationshipThresholdAdviceReport,
|
||
|
|
formatKloRelationshipThresholdAdviceMarkdown,
|
||
|
|
} from './relationship-threshold-advice.js';
|
||
|
|
export type {
|
||
|
|
KloRelationshipValidationEvidence,
|
||
|
|
KloRelationshipValidationSettings,
|
||
|
|
KloValidatedRelationshipDiscoveryCandidate,
|
||
|
|
KloValidatedRelationshipStatus,
|
||
|
|
ValidateKloRelationshipDiscoveryCandidatesInput,
|
||
|
|
} from './relationship-validation.js';
|
||
|
|
export { validateKloRelationshipDiscoveryCandidates } from './relationship-validation.js';
|
||
|
|
export type { SqliteLocalScanEnrichmentStateStoreOptions } from './sqlite-local-enrichment-state-store.js';
|
||
|
|
export { SqliteLocalScanEnrichmentStateStore } from './sqlite-local-enrichment-state-store.js';
|
||
|
|
export type { KloColumnTypeMapping } from './type-normalization.js';
|
||
|
|
export {
|
||
|
|
inferKloDimensionType,
|
||
|
|
kloColumnTypeMappingFromNative,
|
||
|
|
normalizeKloNativeType,
|
||
|
|
} from './type-normalization.js';
|
||
|
|
export type {
|
||
|
|
KloColumnSampleInput,
|
||
|
|
KloColumnSampleResult,
|
||
|
|
KloColumnStatsInput,
|
||
|
|
KloColumnStatsResult,
|
||
|
|
KloConnectionDriver,
|
||
|
|
KloConnectorCapabilities,
|
||
|
|
KloCredentialEnvelope,
|
||
|
|
KloCredentialEnvReference,
|
||
|
|
KloCredentialFileReference,
|
||
|
|
KloEmbeddingPort,
|
||
|
|
KloEventPropertyDiscovery,
|
||
|
|
KloEventPropertyDiscoveryInput,
|
||
|
|
KloEventPropertyValuesInput,
|
||
|
|
KloEventPropertyValuesResult,
|
||
|
|
KloEventStreamDiscoveryPort,
|
||
|
|
KloEventTypeDiscovery,
|
||
|
|
KloEventTypeDiscoveryInput,
|
||
|
|
KloNetworkEndpoint,
|
||
|
|
KloNetworkTunnelPort,
|
||
|
|
KloNetworkTunnelRequest,
|
||
|
|
KloOptionalConnectorCapabilities,
|
||
|
|
KloProgressPort,
|
||
|
|
KloProgressUpdateOptions,
|
||
|
|
KloQueryResult,
|
||
|
|
KloReadOnlyQueryInput,
|
||
|
|
KloResolvedCredentialEnvelope,
|
||
|
|
KloScanArtifactPaths,
|
||
|
|
KloScanConnector,
|
||
|
|
KloScanContext,
|
||
|
|
KloScanDiffSummary,
|
||
|
|
KloScanEnrichmentStage,
|
||
|
|
KloScanEnrichmentStateSummary,
|
||
|
|
KloScanEnrichmentSummary,
|
||
|
|
KloScanInput,
|
||
|
|
KloScanLoggerPort,
|
||
|
|
KloScanMode,
|
||
|
|
KloScanRelationshipSummary,
|
||
|
|
KloScanReport,
|
||
|
|
KloScanTrigger,
|
||
|
|
KloScanWarning,
|
||
|
|
KloScanWarningCode,
|
||
|
|
KloSchemaColumn,
|
||
|
|
KloSchemaDimensionType,
|
||
|
|
KloSchemaForeignKey,
|
||
|
|
KloSchemaScope,
|
||
|
|
KloSchemaSnapshot,
|
||
|
|
KloSchemaTable,
|
||
|
|
KloSchemaTableKind,
|
||
|
|
KloStructuralSyncStats,
|
||
|
|
KloTableRef,
|
||
|
|
KloTableSampleInput,
|
||
|
|
KloTableSampleResult,
|
||
|
|
} from './types.js';
|
||
|
|
export { createKloConnectorCapabilities } from './types.js';
|