@swarmvaultai/engine 1.3.0 → 3.0.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
@@ -50,7 +50,7 @@ declare const agentTypeSchema: z.ZodEnum<{
50
50
  vscode: "vscode";
51
51
  }>;
52
52
  type AgentType = z.infer<typeof agentTypeSchema>;
53
- type PageKind = "index" | "source" | "module" | "concept" | "entity" | "output" | "insight" | "graph_report" | "community_summary";
53
+ type PageKind = "index" | "source" | "module" | "concept" | "entity" | "output" | "insight" | "memory_task" | "graph_report" | "community_summary";
54
54
  type Freshness = "fresh" | "stale";
55
55
  /**
56
56
  * Consolidation tier for insight pages (LLM Wiki v2 memory model).
@@ -68,9 +68,13 @@ type EvidenceClass = "extracted" | "inferred" | "ambiguous";
68
68
  type Polarity = "positive" | "negative" | "neutral";
69
69
  type OutputOrigin = "query" | "explore" | "source_brief" | "source_review" | "source_guide" | "source_session";
70
70
  type OutputFormat = "markdown" | "report" | "slides" | "chart" | "image";
71
+ type ContextPackFormat = "markdown" | "json" | "llms";
72
+ type ContextPackItemKind = "page" | "node" | "edge" | "hyperedge";
73
+ type AgentMemoryTaskStatus = "active" | "blocked" | "completed" | "archived";
74
+ type AgentMemoryResumeFormat = "markdown" | "json" | "llms";
71
75
  type OutputAssetRole = "primary" | "preview" | "manifest" | "poster";
72
76
  type GraphExportFormat = "html" | "html-standalone" | "report" | "svg" | "graphml" | "cypher" | "json" | "obsidian" | "canvas";
73
- type PageStatus = "draft" | "candidate" | "active" | "archived";
77
+ type PageStatus = "draft" | "candidate" | "active" | "blocked" | "completed" | "archived";
74
78
  type PageManager = "system" | "human";
75
79
  type ApprovalEntryStatus = "pending" | "accepted" | "rejected";
76
80
  type ApprovalChangeType = "create" | "update" | "delete" | "promote";
@@ -272,6 +276,14 @@ interface VaultConfig {
272
276
  */
273
277
  foldCommunitiesBelow?: number;
274
278
  };
279
+ retrieval?: {
280
+ backend?: "sqlite";
281
+ shardSize?: number;
282
+ hybrid?: boolean;
283
+ rerank?: boolean;
284
+ embeddingProvider?: string;
285
+ maxIndexedRows?: number;
286
+ };
275
287
  webSearch?: {
276
288
  providers: Record<string, WebSearchProviderConfig>;
277
289
  tasks: {
@@ -281,7 +293,9 @@ interface VaultConfig {
281
293
  };
282
294
  };
283
295
  search?: {
296
+ /** @deprecated Use retrieval.hybrid instead. */
284
297
  hybrid?: boolean;
298
+ /** @deprecated Use retrieval.rerank instead. */
285
299
  rerank?: boolean;
286
300
  };
287
301
  autoCommit?: boolean;
@@ -412,6 +426,8 @@ interface ResolvedPaths {
412
426
  candidateConceptsDir: string;
413
427
  candidateEntitiesDir: string;
414
428
  stateDir: string;
429
+ retrievalDir: string;
430
+ retrievalManifestPath: string;
415
431
  schedulesDir: string;
416
432
  agentDir: string;
417
433
  inboxDir: string;
@@ -687,7 +703,7 @@ interface SourceAnalysis {
687
703
  }
688
704
  interface GraphNode {
689
705
  id: string;
690
- type: "source" | "concept" | "entity" | "module" | "symbol" | "rationale";
706
+ type: "source" | "concept" | "entity" | "module" | "symbol" | "rationale" | "memory_task" | "decision";
691
707
  label: string;
692
708
  /** Lowercased NFKD-normalized label (diacritic-insensitive) for lexical matching. */
693
709
  normLabel?: string;
@@ -915,6 +931,163 @@ interface GraphDiffResult {
915
931
  }>;
916
932
  summary: string;
917
933
  }
934
+ interface ContextPackItem {
935
+ id: string;
936
+ kind: ContextPackItemKind;
937
+ title: string;
938
+ reason: string;
939
+ score: number;
940
+ estimatedTokens: number;
941
+ excerpt?: string;
942
+ path?: string;
943
+ pageId?: string;
944
+ nodeId?: string;
945
+ edgeId?: string;
946
+ hyperedgeId?: string;
947
+ sourceIds: string[];
948
+ pageIds: string[];
949
+ nodeIds: string[];
950
+ edgeIds: string[];
951
+ freshness?: Freshness;
952
+ evidenceClass?: EvidenceClass;
953
+ confidence?: number;
954
+ }
955
+ interface ContextPackOmittedItem {
956
+ id: string;
957
+ kind: ContextPackItemKind;
958
+ title: string;
959
+ reason: string;
960
+ estimatedTokens: number;
961
+ }
962
+ interface ContextPack {
963
+ id: string;
964
+ title: string;
965
+ goal: string;
966
+ target?: string;
967
+ createdAt: string;
968
+ format: ContextPackFormat;
969
+ budgetTokens: number;
970
+ estimatedTokens: number;
971
+ artifactPath: string;
972
+ markdownPath: string;
973
+ citations: string[];
974
+ relatedPageIds: string[];
975
+ relatedNodeIds: string[];
976
+ relatedSourceIds: string[];
977
+ graphQuery: GraphQueryResult;
978
+ items: ContextPackItem[];
979
+ omittedItems: ContextPackOmittedItem[];
980
+ }
981
+ interface ContextPackSummary {
982
+ id: string;
983
+ title: string;
984
+ goal: string;
985
+ target?: string;
986
+ createdAt: string;
987
+ budgetTokens: number;
988
+ estimatedTokens: number;
989
+ artifactPath: string;
990
+ markdownPath: string;
991
+ itemCount: number;
992
+ omittedCount: number;
993
+ }
994
+ interface BuildContextPackOptions {
995
+ goal: string;
996
+ target?: string;
997
+ budgetTokens?: number;
998
+ format?: ContextPackFormat;
999
+ memoryTaskId?: string;
1000
+ }
1001
+ interface BuildContextPackResult {
1002
+ pack: ContextPack;
1003
+ artifactPath: string;
1004
+ markdownPath: string;
1005
+ rendered: string;
1006
+ }
1007
+ interface AgentMemoryNote {
1008
+ id: string;
1009
+ text: string;
1010
+ createdAt: string;
1011
+ }
1012
+ interface AgentMemoryDecision {
1013
+ id: string;
1014
+ text: string;
1015
+ createdAt: string;
1016
+ }
1017
+ interface AgentMemoryTask {
1018
+ id: string;
1019
+ title: string;
1020
+ goal: string;
1021
+ status: AgentMemoryTaskStatus;
1022
+ target?: string;
1023
+ agent?: string;
1024
+ createdAt: string;
1025
+ updatedAt: string;
1026
+ contextPackIds: string[];
1027
+ sessionIds: string[];
1028
+ sourceIds: string[];
1029
+ pageIds: string[];
1030
+ nodeIds: string[];
1031
+ changedPaths: string[];
1032
+ gitRefs: string[];
1033
+ notes: AgentMemoryNote[];
1034
+ decisions: AgentMemoryDecision[];
1035
+ outcome?: string;
1036
+ followUps: string[];
1037
+ artifactPath: string;
1038
+ markdownPath: string;
1039
+ }
1040
+ interface AgentMemoryTaskSummary {
1041
+ id: string;
1042
+ title: string;
1043
+ goal: string;
1044
+ status: AgentMemoryTaskStatus;
1045
+ target?: string;
1046
+ agent?: string;
1047
+ createdAt: string;
1048
+ updatedAt: string;
1049
+ contextPackIds: string[];
1050
+ changedPaths: string[];
1051
+ decisionCount: number;
1052
+ followUpCount: number;
1053
+ artifactPath: string;
1054
+ markdownPath: string;
1055
+ }
1056
+ interface StartMemoryTaskOptions {
1057
+ goal: string;
1058
+ target?: string;
1059
+ budgetTokens?: number;
1060
+ agent?: string;
1061
+ contextPackId?: string;
1062
+ }
1063
+ interface UpdateMemoryTaskOptions {
1064
+ note?: string;
1065
+ decision?: string;
1066
+ changedPath?: string;
1067
+ contextPackId?: string;
1068
+ sessionId?: string;
1069
+ sourceId?: string;
1070
+ pageId?: string;
1071
+ nodeId?: string;
1072
+ gitRef?: string;
1073
+ status?: AgentMemoryTaskStatus;
1074
+ }
1075
+ interface FinishMemoryTaskOptions {
1076
+ outcome: string;
1077
+ followUp?: string;
1078
+ }
1079
+ interface AgentMemoryTaskResult {
1080
+ task: AgentMemoryTask;
1081
+ artifactPath: string;
1082
+ markdownPath: string;
1083
+ }
1084
+ interface ResumeMemoryTaskOptions {
1085
+ format?: AgentMemoryResumeFormat;
1086
+ }
1087
+ interface ResumeMemoryTaskResult {
1088
+ task: AgentMemoryTask;
1089
+ rendered: string;
1090
+ }
918
1091
  interface ApprovalEntry {
919
1092
  pageId: string;
920
1093
  title: string;
@@ -1053,12 +1226,52 @@ interface SearchResult {
1053
1226
  sourceType?: SourceCaptureType;
1054
1227
  sourceClass?: SourceClass;
1055
1228
  }
1229
+ interface RetrievalConfig {
1230
+ backend: "sqlite";
1231
+ shardSize: number;
1232
+ hybrid: boolean;
1233
+ rerank: boolean;
1234
+ embeddingProvider?: string;
1235
+ maxIndexedRows?: number;
1236
+ }
1237
+ interface RetrievalManifest {
1238
+ version: 1;
1239
+ backend: "sqlite";
1240
+ generatedAt: string;
1241
+ graphGeneratedAt?: string;
1242
+ graphHash?: string;
1243
+ shardCount: number;
1244
+ shards: Array<{
1245
+ id: string;
1246
+ path: string;
1247
+ pageCount: number;
1248
+ }>;
1249
+ }
1250
+ interface RetrievalStatus {
1251
+ configured: RetrievalConfig;
1252
+ manifestPath: string;
1253
+ indexPath: string;
1254
+ manifestExists: boolean;
1255
+ indexExists: boolean;
1256
+ graphExists: boolean;
1257
+ stale: boolean;
1258
+ pageCount: number;
1259
+ shardCount: number;
1260
+ warnings: string[];
1261
+ }
1262
+ interface RetrievalDoctorResult {
1263
+ status: RetrievalStatus;
1264
+ ok: boolean;
1265
+ repaired: boolean;
1266
+ actions: string[];
1267
+ }
1056
1268
  interface QueryOptions {
1057
1269
  question: string;
1058
1270
  save?: boolean;
1059
1271
  format?: OutputFormat;
1060
1272
  review?: boolean;
1061
1273
  gapFill?: boolean;
1274
+ memoryTaskId?: string;
1062
1275
  }
1063
1276
  interface QueryResult {
1064
1277
  answer: string;
@@ -1265,6 +1478,7 @@ interface CompileState {
1265
1478
  sourceProjects: Record<string, string | null>;
1266
1479
  outputHashes: Record<string, string>;
1267
1480
  insightHashes: Record<string, string>;
1481
+ memoryHashes?: Record<string, string>;
1268
1482
  candidateHistory: Record<string, {
1269
1483
  sourceIds: string[];
1270
1484
  status: "candidate" | "active";
@@ -1292,6 +1506,7 @@ interface ExploreOptions {
1292
1506
  format?: OutputFormat;
1293
1507
  review?: boolean;
1294
1508
  gapFill?: boolean;
1509
+ memoryTaskId?: string;
1295
1510
  }
1296
1511
  interface ExploreStepResult {
1297
1512
  step: number;
@@ -1662,6 +1877,10 @@ interface GraphShareArtifact {
1662
1877
  relatedPageIds: string[];
1663
1878
  relatedSourceIds: string[];
1664
1879
  }
1880
+ interface GraphShareBundleFile {
1881
+ relativePath: string;
1882
+ content: string;
1883
+ }
1665
1884
  interface ScheduledCompileTask {
1666
1885
  type: "compile";
1667
1886
  approve?: boolean;
@@ -1821,6 +2040,13 @@ declare function resolveConsolidationConfig(config?: ConsolidationConfig): {
1821
2040
  };
1822
2041
  declare function runConsolidation(rootDir: string, config?: ConsolidationConfig, provider?: ProviderAdapter, options?: RunConsolidationOptions): Promise<ConsolidationResult>;
1823
2042
 
2043
+ declare function renderContextPackMarkdown(pack: ContextPack): string;
2044
+ declare function renderContextPackLlms(pack: ContextPack): string;
2045
+ declare function buildContextPack(rootDir: string, options: BuildContextPackOptions): Promise<BuildContextPackResult>;
2046
+ declare function listContextPacks(rootDir: string): Promise<ContextPackSummary[]>;
2047
+ declare function readContextPack(rootDir: string, target: string): Promise<ContextPack | null>;
2048
+ declare function deleteContextPack(rootDir: string, target: string): Promise<ContextPackSummary | null>;
2049
+
1824
2050
  /**
1825
2051
  * Decay and supersession helpers for the LLM Wiki v2 lifecycle layer.
1826
2052
  *
@@ -2010,6 +2236,8 @@ declare function buildGraphShareArtifact(input: {
2010
2236
  }): GraphShareArtifact;
2011
2237
  declare function renderGraphShareMarkdown(artifact: GraphShareArtifact): string;
2012
2238
  declare function renderGraphShareSvg(artifact: GraphShareArtifact): string;
2239
+ declare function renderGraphSharePreviewHtml(artifact: GraphShareArtifact): string;
2240
+ declare function renderGraphShareBundleFiles(artifact: GraphShareArtifact): GraphShareBundleFile[];
2013
2241
 
2014
2242
  declare function graphDiff(oldGraph: GraphArtifact, newGraph: GraphArtifact): GraphDiffResult;
2015
2243
  /**
@@ -2083,6 +2311,29 @@ declare function startMcpServer(rootDir: string, stdin?: Readable, stdout?: Writ
2083
2311
  close: () => Promise<void>;
2084
2312
  }>;
2085
2313
 
2314
+ type MemoryTaskStoredPage = {
2315
+ task: AgentMemoryTask;
2316
+ page: GraphPage;
2317
+ content: string;
2318
+ contentHash: string;
2319
+ };
2320
+ declare function renderMemoryTaskMarkdown(task: AgentMemoryTask): string;
2321
+ declare function ensureMemoryLedger(rootDir: string): Promise<{
2322
+ changed: string[];
2323
+ }>;
2324
+ declare function startMemoryTask(rootDir: string, options: StartMemoryTaskOptions): Promise<AgentMemoryTaskResult>;
2325
+ declare function readMemoryTask(rootDir: string, target: string): Promise<AgentMemoryTask | null>;
2326
+ declare function listMemoryTasks(rootDir: string): Promise<AgentMemoryTaskSummary[]>;
2327
+ declare function updateMemoryTask(rootDir: string, target: string, options: UpdateMemoryTaskOptions): Promise<AgentMemoryTaskResult>;
2328
+ declare function finishMemoryTask(rootDir: string, target: string, options: FinishMemoryTaskOptions): Promise<AgentMemoryTaskResult>;
2329
+ declare function resumeMemoryTask(rootDir: string, target: string, options?: ResumeMemoryTaskOptions): Promise<ResumeMemoryTaskResult>;
2330
+ declare function loadMemoryTaskPages(rootDir: string): Promise<MemoryTaskStoredPage[]>;
2331
+ declare function buildMemoryGraphElements(tasks: AgentMemoryTask[], pages: GraphPage[]): {
2332
+ nodes: GraphNode[];
2333
+ edges: GraphEdge[];
2334
+ };
2335
+ declare function memoryTaskHashes(records: MemoryTaskStoredPage[]): Record<string, string>;
2336
+
2086
2337
  interface MigrationStepContext {
2087
2338
  rootDir: string;
2088
2339
  paths: {
@@ -2373,6 +2624,14 @@ declare function resolveRedactionPatterns(config?: RedactionConfig | null): {
2373
2624
  */
2374
2625
  declare function buildConfiguredRedactor(config?: RedactionConfig | null): Redactor | null;
2375
2626
 
2627
+ declare function resolveRetrievalConfig(config: VaultConfig): RetrievalConfig;
2628
+ declare function writeRetrievalManifest(rootDir: string, graph: GraphArtifact): Promise<RetrievalManifest>;
2629
+ declare function rebuildRetrievalIndex(rootDir: string): Promise<RetrievalStatus>;
2630
+ declare function getRetrievalStatus(rootDir: string): Promise<RetrievalStatus>;
2631
+ declare function doctorRetrieval(rootDir: string, options?: {
2632
+ repair?: boolean;
2633
+ }): Promise<RetrievalDoctorResult>;
2634
+
2376
2635
  declare function listSchedules(rootDir: string): Promise<ScheduleStateRecord[]>;
2377
2636
  declare function runSchedule(rootDir: string, jobId: string): Promise<ScheduledRunResult>;
2378
2637
  declare function serveSchedules(rootDir: string, pollMs?: number): Promise<ScheduleController>;
@@ -2614,4 +2873,4 @@ declare function createWebSearchAdapter(id: string, config: WebSearchProviderCon
2614
2873
  type WebSearchTaskId = "deepLintProvider" | "queryProvider" | "exploreProvider";
2615
2874
  declare function getWebSearchAdapterForTask(rootDir: string, task: WebSearchTaskId): Promise<WebSearchAdapter>;
2616
2875
 
2617
- export { ALL_MIGRATIONS, type AddOptions, type AddResult, type AgentType, type AnalyzedTerm, type ApprovalBundleType, type ApprovalChangeType, type ApprovalDetail, type ApprovalDiffHunk, type ApprovalDiffLine, type ApprovalEntry, type ApprovalEntryDetail, type ApprovalEntryLabel, type ApprovalEntryStatus, type ApprovalFrontmatterChange, type ApprovalManifest, type ApprovalStructuredDiff, type ApprovalSummary, type AudioTranscriptionRequest, type AudioTranscriptionResponse, type BenchmarkArtifact, type BenchmarkByClassEntry, type BenchmarkOptions, type BenchmarkQuestionResult, type BenchmarkSummary, type BlastRadiusResult, type CandidatePromotionConfig, type CandidateRecord, type ChartDatum, type ChartSpec, type ClaimStatus, type CodeAnalysis, type CodeDiagnostic, type CodeImport, type CodeIndexArtifact, type CodeIndexEntry, type CodeLanguage, type CodeSymbol, type CodeSymbolKind, type CommandRoleExecutorConfig, type CompileOptions, type CompileResult, type CompileState, type ConsolidationConfig, type ConsolidationPromotion, type ConsolidationResult, DEFAULT_CONSOLIDATION_CONFIG, DEFAULT_HALF_LIFE_DAYS, DEFAULT_HALF_LIFE_DAYS_BY_SOURCE_CLASS, DEFAULT_PROMOTION_CONFIG, DEFAULT_REDACTION_PATTERNS, DEFAULT_STALE_THRESHOLD, type DegradationOutcome, type DirectoryIngestFailure, type DirectoryIngestResult, type DirectoryIngestSkip, type EmbeddingCacheArtifact, type EmbeddingCacheEntry, type EvidenceClass, type ExploreOptions, type ExploreResult, type ExploreStepResult, type ExtractionClaim, type ExtractionKind, type ExtractionTerm, type Freshness, type FreshnessConfig, type GenerationAttachment, type GenerationRequest, type GenerationResponse, type GitHookStatus, type GraphArtifact, type GraphDiffResult, type GraphEdge, type GraphExplainNeighbor, type GraphExplainResult, type GraphExportFormat, type GraphExportResult, type GraphHyperedge, type GraphNode, type GraphPage, type GraphPathResult, type GraphPushCounts, type GraphPushNeo4jOptions, type GraphPushResult, type GraphQueryMatch, type GraphQueryResult, type GraphReportArtifact, type GraphShareArtifact, type GuidedSessionMode, type GuidedSourceSessionAnswers, type GuidedSourceSessionQuestion, type GuidedSourceSessionRecord, type GuidedSourceSessionStatus, type ImageGenerationRequest, type ImageGenerationResponse, type ImageVisionExtraction, type InboxImportResult, type InboxImportSkip, type IngestOptions, type InitOptions, type InputIngestResult, type InstallAgentOptions, type InstallAgentResult, LARGE_REPO_NODE_THRESHOLD, LOCAL_WHISPER_MODEL_SIZES, type LintFinding, type LintOptions, type LocalWhisperAdapterOptions, type LocalWhisperBinaryDiscovery, LocalWhisperProviderAdapter, type LocalWhisperSetupStatus, type ManagedSourceAddOptions, type ManagedSourceAddResult, type ManagedSourceDeleteResult, type ManagedSourceKind, type ManagedSourceRecord, type ManagedSourceReloadOptions, type ManagedSourceReloadResult, type ManagedSourceStatus, type ManagedSourceSyncCounts, type ManagedSourcesArtifact, type MemoryTier, type MigrationPlan, type MigrationResult, type MigrationStep, type Neo4jGraphSinkConfig, OPENAI_COMPATIBLE_CAPABILITY_MATRIX, type OpenAiCompatiblePresetId, type OrchestrationConfig, type OrchestrationFinding, type OrchestrationProposal, type OrchestrationRole, type OrchestrationRoleConfig, type OrchestrationRoleResult, type OutputAsset, type OutputAssetRole, type OutputFormat, type OutputOrigin, type PageKind, type PageManager, type PageStatus, type PendingSemanticRefreshEntry, type Polarity, type PromotionDecision, type PromotionGateKind, type PromotionGateResult, type PromotionSession, type ProviderAdapter, type ProviderCapability, type ProviderConfig, type ProviderPresetCapability, type ProviderRegistrationOptions, type ProviderRegistrationResult, type ProviderRoleExecutorConfig, type ProviderType, type QueryOptions, type QueryResult, type RedactionMatchSummary, type RedactionPatternConfig, type RedactionSettings, type RedactionSummary, type RepoSyncResult, type ResolvedLargeRepoDefaults, type ResolvedPaths, type ReviewActionResult, type RoleExecutorConfig, type SceneElement, type SceneSpec, type ScheduleController, type ScheduleJobConfig, type ScheduleStateRecord, type ScheduleTriggerConfig, type ScheduledCompileTask, type ScheduledConsolidateTask, type ScheduledExploreTask, type ScheduledLintTask, type ScheduledQueryTask, type ScheduledRunResult, type ScheduledTaskConfig, type SearchResult, type SourceAnalysis, type SourceAttachment, type SourceCaptureType, type SourceClaim, type SourceClass, type SourceExtractionArtifact, type SourceGuideResult, type SourceKind, type SourceManifest, type SourceRationale, type SourceReviewResult, type SynthesizedHubEdge, type SynthesizedHubNode, type SynthesizedHyperedgeHubs, type VaultConfig, type VaultDashboardPack, type VaultProfileConfig, type VaultProfilePreset, type VaultVersionRecord, type WatchConfig, type WatchController, type WatchOptions, type WatchRepoSyncResult, type WatchRunRecord, type WatchStatusResult, type WebSearchAdapter, type WebSearchProviderConfig, type WebSearchProviderType, type WebSearchResult, type WhisperRunResult, type WhisperRunner, acceptApproval, addInput, addManagedSource, addWatchedRoot, agentTypeSchema, applyDecayToPages, archiveCandidate, assertProviderCapability, autoCommitWikiChanges, benchmarkVault, blastRadius, blastRadiusVault, bootstrapDemo, buildConfiguredRedactor, buildGraphShareArtifact, buildRedactor, compileVault, computeDecayScore, consolidateVault, createMcpServer, createProvider, createSupersessionEdge, createWebSearchAdapter, defaultVaultConfig, defaultVaultSchema, deleteManagedSource, detectVaultVersion, discoverLocalWhisperBinary, downloadWhisperModel, estimatePageTokens, estimateTokens, evaluateCandidateForPromotion, expectedModelPath, explainGraphVault, exploreVault, exportGraphFormat, exportGraphHtml, exportGraphReportHtml, exportObsidianCanvas, exportObsidianVault, getGitHookStatus, getProviderForTask, getWatchStatus, getWebSearchAdapterForTask, getWorkspaceInfo, graphDiff, guideManagedSource, guideSourceScope, importInbox, ingestDirectory, ingestInput, ingestInputDetailed, initVault, initWorkspace, installAgent, installConfiguredAgents, installGitHooks, lintVault, listApprovals, listCandidates, listGodNodes, listGraphHyperedges, listManagedSourceRecords, listManifests, listPages, listSchedules, listTrackedRepoRoots, listWatchedRoots, loadVaultConfig, loadVaultSchema, loadVaultSchemas, lookupPresetCapabilities, markSuperseded, modelDownloadUrl, pathGraphVault, persistDecayFrontmatter, planMigration, previewCandidatePromotions, promoteCandidate, providerCapabilitySchema, providerTypeSchema, pushGraphNeo4j, queryGraphVault, queryVault, readApproval, readExtractedText, readGraphReport, readPage, registerLocalWhisperProvider, rejectApproval, reloadManagedSources, removeWatchedRoot, renderGraphShareMarkdown, renderGraphShareSvg, resetDecay, resolveConsolidationConfig, resolveDecayConfig, resolveLargeRepoDefaults, resolvePaths, resolveRedactionPatterns, resolveWatchedRepoRoots, resumeSourceSession, reviewManagedSource, reviewSourceScope, runAutoPromotion, runConsolidation, runDecayPass, runMigration, runSchedule, runWatchCycle, searchVault, serveSchedules, stageGeneratedOutputPages, startGraphServer, startMcpServer, summarizeLocalWhisperSetup, syncTrackedRepos, syncTrackedReposForWatch, synthesizeHyperedgeHubs, trimToTokenBudget, uninstallGitHooks, watchVault, webSearchProviderTypeSchema, withCapabilityFallback };
2876
+ export { ALL_MIGRATIONS, type AddOptions, type AddResult, type AgentMemoryDecision, type AgentMemoryNote, type AgentMemoryResumeFormat, type AgentMemoryTask, type AgentMemoryTaskResult, type AgentMemoryTaskStatus, type AgentMemoryTaskSummary, type AgentType, type AnalyzedTerm, type ApprovalBundleType, type ApprovalChangeType, type ApprovalDetail, type ApprovalDiffHunk, type ApprovalDiffLine, type ApprovalEntry, type ApprovalEntryDetail, type ApprovalEntryLabel, type ApprovalEntryStatus, type ApprovalFrontmatterChange, type ApprovalManifest, type ApprovalStructuredDiff, type ApprovalSummary, type AudioTranscriptionRequest, type AudioTranscriptionResponse, type BenchmarkArtifact, type BenchmarkByClassEntry, type BenchmarkOptions, type BenchmarkQuestionResult, type BenchmarkSummary, type BlastRadiusResult, type BuildContextPackOptions, type BuildContextPackResult, type CandidatePromotionConfig, type CandidateRecord, type ChartDatum, type ChartSpec, type ClaimStatus, type CodeAnalysis, type CodeDiagnostic, type CodeImport, type CodeIndexArtifact, type CodeIndexEntry, type CodeLanguage, type CodeSymbol, type CodeSymbolKind, type CommandRoleExecutorConfig, type CompileOptions, type CompileResult, type CompileState, type ConsolidationConfig, type ConsolidationPromotion, type ConsolidationResult, type ContextPack, type ContextPackFormat, type ContextPackItem, type ContextPackItemKind, type ContextPackOmittedItem, type ContextPackSummary, DEFAULT_CONSOLIDATION_CONFIG, DEFAULT_HALF_LIFE_DAYS, DEFAULT_HALF_LIFE_DAYS_BY_SOURCE_CLASS, DEFAULT_PROMOTION_CONFIG, DEFAULT_REDACTION_PATTERNS, DEFAULT_STALE_THRESHOLD, type DegradationOutcome, type DirectoryIngestFailure, type DirectoryIngestResult, type DirectoryIngestSkip, type EmbeddingCacheArtifact, type EmbeddingCacheEntry, type EvidenceClass, type ExploreOptions, type ExploreResult, type ExploreStepResult, type ExtractionClaim, type ExtractionKind, type ExtractionTerm, type FinishMemoryTaskOptions, type Freshness, type FreshnessConfig, type GenerationAttachment, type GenerationRequest, type GenerationResponse, type GitHookStatus, type GraphArtifact, type GraphDiffResult, type GraphEdge, type GraphExplainNeighbor, type GraphExplainResult, type GraphExportFormat, type GraphExportResult, type GraphHyperedge, type GraphNode, type GraphPage, type GraphPathResult, type GraphPushCounts, type GraphPushNeo4jOptions, type GraphPushResult, type GraphQueryMatch, type GraphQueryResult, type GraphReportArtifact, type GraphShareArtifact, type GraphShareBundleFile, type GuidedSessionMode, type GuidedSourceSessionAnswers, type GuidedSourceSessionQuestion, type GuidedSourceSessionRecord, type GuidedSourceSessionStatus, type ImageGenerationRequest, type ImageGenerationResponse, type ImageVisionExtraction, type InboxImportResult, type InboxImportSkip, type IngestOptions, type InitOptions, type InputIngestResult, type InstallAgentOptions, type InstallAgentResult, LARGE_REPO_NODE_THRESHOLD, LOCAL_WHISPER_MODEL_SIZES, type LintFinding, type LintOptions, type LocalWhisperAdapterOptions, type LocalWhisperBinaryDiscovery, LocalWhisperProviderAdapter, type LocalWhisperSetupStatus, type ManagedSourceAddOptions, type ManagedSourceAddResult, type ManagedSourceDeleteResult, type ManagedSourceKind, type ManagedSourceRecord, type ManagedSourceReloadOptions, type ManagedSourceReloadResult, type ManagedSourceStatus, type ManagedSourceSyncCounts, type ManagedSourcesArtifact, type MemoryTier, type MigrationPlan, type MigrationResult, type MigrationStep, type Neo4jGraphSinkConfig, OPENAI_COMPATIBLE_CAPABILITY_MATRIX, type OpenAiCompatiblePresetId, type OrchestrationConfig, type OrchestrationFinding, type OrchestrationProposal, type OrchestrationRole, type OrchestrationRoleConfig, type OrchestrationRoleResult, type OutputAsset, type OutputAssetRole, type OutputFormat, type OutputOrigin, type PageKind, type PageManager, type PageStatus, type PendingSemanticRefreshEntry, type Polarity, type PromotionDecision, type PromotionGateKind, type PromotionGateResult, type PromotionSession, type ProviderAdapter, type ProviderCapability, type ProviderConfig, type ProviderPresetCapability, type ProviderRegistrationOptions, type ProviderRegistrationResult, type ProviderRoleExecutorConfig, type ProviderType, type QueryOptions, type QueryResult, type RedactionMatchSummary, type RedactionPatternConfig, type RedactionSettings, type RedactionSummary, type RepoSyncResult, type ResolvedLargeRepoDefaults, type ResolvedPaths, type ResumeMemoryTaskOptions, type ResumeMemoryTaskResult, type RetrievalConfig, type RetrievalDoctorResult, type RetrievalManifest, type RetrievalStatus, type ReviewActionResult, type RoleExecutorConfig, type SceneElement, type SceneSpec, type ScheduleController, type ScheduleJobConfig, type ScheduleStateRecord, type ScheduleTriggerConfig, type ScheduledCompileTask, type ScheduledConsolidateTask, type ScheduledExploreTask, type ScheduledLintTask, type ScheduledQueryTask, type ScheduledRunResult, type ScheduledTaskConfig, type SearchResult, type SourceAnalysis, type SourceAttachment, type SourceCaptureType, type SourceClaim, type SourceClass, type SourceExtractionArtifact, type SourceGuideResult, type SourceKind, type SourceManifest, type SourceRationale, type SourceReviewResult, type StartMemoryTaskOptions, type SynthesizedHubEdge, type SynthesizedHubNode, type SynthesizedHyperedgeHubs, type UpdateMemoryTaskOptions, type VaultConfig, type VaultDashboardPack, type VaultProfileConfig, type VaultProfilePreset, type VaultVersionRecord, type WatchConfig, type WatchController, type WatchOptions, type WatchRepoSyncResult, type WatchRunRecord, type WatchStatusResult, type WebSearchAdapter, type WebSearchProviderConfig, type WebSearchProviderType, type WebSearchResult, type WhisperRunResult, type WhisperRunner, acceptApproval, addInput, addManagedSource, addWatchedRoot, agentTypeSchema, applyDecayToPages, archiveCandidate, assertProviderCapability, autoCommitWikiChanges, benchmarkVault, blastRadius, blastRadiusVault, bootstrapDemo, buildConfiguredRedactor, buildContextPack, buildGraphShareArtifact, buildMemoryGraphElements, buildRedactor, compileVault, computeDecayScore, consolidateVault, createMcpServer, createProvider, createSupersessionEdge, createWebSearchAdapter, defaultVaultConfig, defaultVaultSchema, deleteContextPack, deleteManagedSource, detectVaultVersion, discoverLocalWhisperBinary, doctorRetrieval, downloadWhisperModel, ensureMemoryLedger, estimatePageTokens, estimateTokens, evaluateCandidateForPromotion, expectedModelPath, explainGraphVault, exploreVault, exportGraphFormat, exportGraphHtml, exportGraphReportHtml, exportObsidianCanvas, exportObsidianVault, finishMemoryTask, getGitHookStatus, getProviderForTask, getRetrievalStatus, getWatchStatus, getWebSearchAdapterForTask, getWorkspaceInfo, graphDiff, guideManagedSource, guideSourceScope, importInbox, ingestDirectory, ingestInput, ingestInputDetailed, initVault, initWorkspace, installAgent, installConfiguredAgents, installGitHooks, lintVault, listApprovals, listCandidates, listContextPacks, listGodNodes, listGraphHyperedges, listManagedSourceRecords, listManifests, listMemoryTasks, listPages, listSchedules, listTrackedRepoRoots, listWatchedRoots, loadMemoryTaskPages, loadVaultConfig, loadVaultSchema, loadVaultSchemas, lookupPresetCapabilities, markSuperseded, memoryTaskHashes, modelDownloadUrl, pathGraphVault, persistDecayFrontmatter, planMigration, previewCandidatePromotions, promoteCandidate, providerCapabilitySchema, providerTypeSchema, pushGraphNeo4j, queryGraphVault, queryVault, readApproval, readContextPack, readExtractedText, readGraphReport, readMemoryTask, readPage, rebuildRetrievalIndex, registerLocalWhisperProvider, rejectApproval, reloadManagedSources, removeWatchedRoot, renderContextPackLlms, renderContextPackMarkdown, renderGraphShareBundleFiles, renderGraphShareMarkdown, renderGraphSharePreviewHtml, renderGraphShareSvg, renderMemoryTaskMarkdown, resetDecay, resolveConsolidationConfig, resolveDecayConfig, resolveLargeRepoDefaults, resolvePaths, resolveRedactionPatterns, resolveRetrievalConfig, resolveWatchedRepoRoots, resumeMemoryTask, resumeSourceSession, reviewManagedSource, reviewSourceScope, runAutoPromotion, runConsolidation, runDecayPass, runMigration, runSchedule, runWatchCycle, searchVault, serveSchedules, stageGeneratedOutputPages, startGraphServer, startMcpServer, startMemoryTask, summarizeLocalWhisperSetup, syncTrackedRepos, syncTrackedReposForWatch, synthesizeHyperedgeHubs, trimToTokenBudget, uninstallGitHooks, updateMemoryTask, watchVault, webSearchProviderTypeSchema, withCapabilityFallback, writeRetrievalManifest };