@swarmvaultai/engine 1.4.0 → 3.1.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
@@ -48,9 +48,41 @@ declare const agentTypeSchema: z.ZodEnum<{
48
48
  hermes: "hermes";
49
49
  antigravity: "antigravity";
50
50
  vscode: "vscode";
51
+ amp: "amp";
52
+ augment: "augment";
53
+ adal: "adal";
54
+ bob: "bob";
55
+ cline: "cline";
56
+ codebuddy: "codebuddy";
57
+ "command-code": "command-code";
58
+ continue: "continue";
59
+ cortex: "cortex";
60
+ crush: "crush";
61
+ deepagents: "deepagents";
62
+ firebender: "firebender";
63
+ iflow: "iflow";
64
+ junie: "junie";
65
+ "kilo-code": "kilo-code";
66
+ kimi: "kimi";
67
+ kode: "kode";
68
+ mcpjam: "mcpjam";
69
+ "mistral-vibe": "mistral-vibe";
70
+ mux: "mux";
71
+ neovate: "neovate";
72
+ openclaw: "openclaw";
73
+ openhands: "openhands";
74
+ pochi: "pochi";
75
+ qoder: "qoder";
76
+ "qwen-code": "qwen-code";
77
+ replit: "replit";
78
+ "roo-code": "roo-code";
79
+ "trae-cn": "trae-cn";
80
+ warp: "warp";
81
+ windsurf: "windsurf";
82
+ zencoder: "zencoder";
51
83
  }>;
52
84
  type AgentType = z.infer<typeof agentTypeSchema>;
53
- type PageKind = "index" | "source" | "module" | "concept" | "entity" | "output" | "insight" | "graph_report" | "community_summary";
85
+ type PageKind = "index" | "source" | "module" | "concept" | "entity" | "output" | "insight" | "memory_task" | "graph_report" | "community_summary";
54
86
  type Freshness = "fresh" | "stale";
55
87
  /**
56
88
  * Consolidation tier for insight pages (LLM Wiki v2 memory model).
@@ -68,9 +100,13 @@ type EvidenceClass = "extracted" | "inferred" | "ambiguous";
68
100
  type Polarity = "positive" | "negative" | "neutral";
69
101
  type OutputOrigin = "query" | "explore" | "source_brief" | "source_review" | "source_guide" | "source_session";
70
102
  type OutputFormat = "markdown" | "report" | "slides" | "chart" | "image";
103
+ type ContextPackFormat = "markdown" | "json" | "llms";
104
+ type ContextPackItemKind = "page" | "node" | "edge" | "hyperedge";
105
+ type AgentMemoryTaskStatus = "active" | "blocked" | "completed" | "archived";
106
+ type AgentMemoryResumeFormat = "markdown" | "json" | "llms";
71
107
  type OutputAssetRole = "primary" | "preview" | "manifest" | "poster";
72
108
  type GraphExportFormat = "html" | "html-standalone" | "report" | "svg" | "graphml" | "cypher" | "json" | "obsidian" | "canvas";
73
- type PageStatus = "draft" | "candidate" | "active" | "archived";
109
+ type PageStatus = "draft" | "candidate" | "active" | "blocked" | "completed" | "archived";
74
110
  type PageManager = "system" | "human";
75
111
  type ApprovalEntryStatus = "pending" | "accepted" | "rejected";
76
112
  type ApprovalChangeType = "create" | "update" | "delete" | "promote";
@@ -272,6 +308,14 @@ interface VaultConfig {
272
308
  */
273
309
  foldCommunitiesBelow?: number;
274
310
  };
311
+ retrieval?: {
312
+ backend?: "sqlite";
313
+ shardSize?: number;
314
+ hybrid?: boolean;
315
+ rerank?: boolean;
316
+ embeddingProvider?: string;
317
+ maxIndexedRows?: number;
318
+ };
275
319
  webSearch?: {
276
320
  providers: Record<string, WebSearchProviderConfig>;
277
321
  tasks: {
@@ -281,7 +325,9 @@ interface VaultConfig {
281
325
  };
282
326
  };
283
327
  search?: {
328
+ /** @deprecated Use retrieval.hybrid instead. */
284
329
  hybrid?: boolean;
330
+ /** @deprecated Use retrieval.rerank instead. */
285
331
  rerank?: boolean;
286
332
  };
287
333
  autoCommit?: boolean;
@@ -412,6 +458,8 @@ interface ResolvedPaths {
412
458
  candidateConceptsDir: string;
413
459
  candidateEntitiesDir: string;
414
460
  stateDir: string;
461
+ retrievalDir: string;
462
+ retrievalManifestPath: string;
415
463
  schedulesDir: string;
416
464
  agentDir: string;
417
465
  inboxDir: string;
@@ -687,7 +735,7 @@ interface SourceAnalysis {
687
735
  }
688
736
  interface GraphNode {
689
737
  id: string;
690
- type: "source" | "concept" | "entity" | "module" | "symbol" | "rationale";
738
+ type: "source" | "concept" | "entity" | "module" | "symbol" | "rationale" | "memory_task" | "decision";
691
739
  label: string;
692
740
  /** Lowercased NFKD-normalized label (diacritic-insensitive) for lexical matching. */
693
741
  normLabel?: string;
@@ -915,6 +963,163 @@ interface GraphDiffResult {
915
963
  }>;
916
964
  summary: string;
917
965
  }
966
+ interface ContextPackItem {
967
+ id: string;
968
+ kind: ContextPackItemKind;
969
+ title: string;
970
+ reason: string;
971
+ score: number;
972
+ estimatedTokens: number;
973
+ excerpt?: string;
974
+ path?: string;
975
+ pageId?: string;
976
+ nodeId?: string;
977
+ edgeId?: string;
978
+ hyperedgeId?: string;
979
+ sourceIds: string[];
980
+ pageIds: string[];
981
+ nodeIds: string[];
982
+ edgeIds: string[];
983
+ freshness?: Freshness;
984
+ evidenceClass?: EvidenceClass;
985
+ confidence?: number;
986
+ }
987
+ interface ContextPackOmittedItem {
988
+ id: string;
989
+ kind: ContextPackItemKind;
990
+ title: string;
991
+ reason: string;
992
+ estimatedTokens: number;
993
+ }
994
+ interface ContextPack {
995
+ id: string;
996
+ title: string;
997
+ goal: string;
998
+ target?: string;
999
+ createdAt: string;
1000
+ format: ContextPackFormat;
1001
+ budgetTokens: number;
1002
+ estimatedTokens: number;
1003
+ artifactPath: string;
1004
+ markdownPath: string;
1005
+ citations: string[];
1006
+ relatedPageIds: string[];
1007
+ relatedNodeIds: string[];
1008
+ relatedSourceIds: string[];
1009
+ graphQuery: GraphQueryResult;
1010
+ items: ContextPackItem[];
1011
+ omittedItems: ContextPackOmittedItem[];
1012
+ }
1013
+ interface ContextPackSummary {
1014
+ id: string;
1015
+ title: string;
1016
+ goal: string;
1017
+ target?: string;
1018
+ createdAt: string;
1019
+ budgetTokens: number;
1020
+ estimatedTokens: number;
1021
+ artifactPath: string;
1022
+ markdownPath: string;
1023
+ itemCount: number;
1024
+ omittedCount: number;
1025
+ }
1026
+ interface BuildContextPackOptions {
1027
+ goal: string;
1028
+ target?: string;
1029
+ budgetTokens?: number;
1030
+ format?: ContextPackFormat;
1031
+ memoryTaskId?: string;
1032
+ }
1033
+ interface BuildContextPackResult {
1034
+ pack: ContextPack;
1035
+ artifactPath: string;
1036
+ markdownPath: string;
1037
+ rendered: string;
1038
+ }
1039
+ interface AgentMemoryNote {
1040
+ id: string;
1041
+ text: string;
1042
+ createdAt: string;
1043
+ }
1044
+ interface AgentMemoryDecision {
1045
+ id: string;
1046
+ text: string;
1047
+ createdAt: string;
1048
+ }
1049
+ interface AgentMemoryTask {
1050
+ id: string;
1051
+ title: string;
1052
+ goal: string;
1053
+ status: AgentMemoryTaskStatus;
1054
+ target?: string;
1055
+ agent?: string;
1056
+ createdAt: string;
1057
+ updatedAt: string;
1058
+ contextPackIds: string[];
1059
+ sessionIds: string[];
1060
+ sourceIds: string[];
1061
+ pageIds: string[];
1062
+ nodeIds: string[];
1063
+ changedPaths: string[];
1064
+ gitRefs: string[];
1065
+ notes: AgentMemoryNote[];
1066
+ decisions: AgentMemoryDecision[];
1067
+ outcome?: string;
1068
+ followUps: string[];
1069
+ artifactPath: string;
1070
+ markdownPath: string;
1071
+ }
1072
+ interface AgentMemoryTaskSummary {
1073
+ id: string;
1074
+ title: string;
1075
+ goal: string;
1076
+ status: AgentMemoryTaskStatus;
1077
+ target?: string;
1078
+ agent?: string;
1079
+ createdAt: string;
1080
+ updatedAt: string;
1081
+ contextPackIds: string[];
1082
+ changedPaths: string[];
1083
+ decisionCount: number;
1084
+ followUpCount: number;
1085
+ artifactPath: string;
1086
+ markdownPath: string;
1087
+ }
1088
+ interface StartMemoryTaskOptions {
1089
+ goal: string;
1090
+ target?: string;
1091
+ budgetTokens?: number;
1092
+ agent?: string;
1093
+ contextPackId?: string;
1094
+ }
1095
+ interface UpdateMemoryTaskOptions {
1096
+ note?: string;
1097
+ decision?: string;
1098
+ changedPath?: string;
1099
+ contextPackId?: string;
1100
+ sessionId?: string;
1101
+ sourceId?: string;
1102
+ pageId?: string;
1103
+ nodeId?: string;
1104
+ gitRef?: string;
1105
+ status?: AgentMemoryTaskStatus;
1106
+ }
1107
+ interface FinishMemoryTaskOptions {
1108
+ outcome: string;
1109
+ followUp?: string;
1110
+ }
1111
+ interface AgentMemoryTaskResult {
1112
+ task: AgentMemoryTask;
1113
+ artifactPath: string;
1114
+ markdownPath: string;
1115
+ }
1116
+ interface ResumeMemoryTaskOptions {
1117
+ format?: AgentMemoryResumeFormat;
1118
+ }
1119
+ interface ResumeMemoryTaskResult {
1120
+ task: AgentMemoryTask;
1121
+ rendered: string;
1122
+ }
918
1123
  interface ApprovalEntry {
919
1124
  pageId: string;
920
1125
  title: string;
@@ -1053,12 +1258,52 @@ interface SearchResult {
1053
1258
  sourceType?: SourceCaptureType;
1054
1259
  sourceClass?: SourceClass;
1055
1260
  }
1261
+ interface RetrievalConfig {
1262
+ backend: "sqlite";
1263
+ shardSize: number;
1264
+ hybrid: boolean;
1265
+ rerank: boolean;
1266
+ embeddingProvider?: string;
1267
+ maxIndexedRows?: number;
1268
+ }
1269
+ interface RetrievalManifest {
1270
+ version: 1;
1271
+ backend: "sqlite";
1272
+ generatedAt: string;
1273
+ graphGeneratedAt?: string;
1274
+ graphHash?: string;
1275
+ shardCount: number;
1276
+ shards: Array<{
1277
+ id: string;
1278
+ path: string;
1279
+ pageCount: number;
1280
+ }>;
1281
+ }
1282
+ interface RetrievalStatus {
1283
+ configured: RetrievalConfig;
1284
+ manifestPath: string;
1285
+ indexPath: string;
1286
+ manifestExists: boolean;
1287
+ indexExists: boolean;
1288
+ graphExists: boolean;
1289
+ stale: boolean;
1290
+ pageCount: number;
1291
+ shardCount: number;
1292
+ warnings: string[];
1293
+ }
1294
+ interface RetrievalDoctorResult {
1295
+ status: RetrievalStatus;
1296
+ ok: boolean;
1297
+ repaired: boolean;
1298
+ actions: string[];
1299
+ }
1056
1300
  interface QueryOptions {
1057
1301
  question: string;
1058
1302
  save?: boolean;
1059
1303
  format?: OutputFormat;
1060
1304
  review?: boolean;
1061
1305
  gapFill?: boolean;
1306
+ memoryTaskId?: string;
1062
1307
  }
1063
1308
  interface QueryResult {
1064
1309
  answer: string;
@@ -1265,6 +1510,7 @@ interface CompileState {
1265
1510
  sourceProjects: Record<string, string | null>;
1266
1511
  outputHashes: Record<string, string>;
1267
1512
  insightHashes: Record<string, string>;
1513
+ memoryHashes?: Record<string, string>;
1268
1514
  candidateHistory: Record<string, {
1269
1515
  sourceIds: string[];
1270
1516
  status: "candidate" | "active";
@@ -1292,6 +1538,7 @@ interface ExploreOptions {
1292
1538
  format?: OutputFormat;
1293
1539
  review?: boolean;
1294
1540
  gapFill?: boolean;
1541
+ memoryTaskId?: string;
1295
1542
  }
1296
1543
  interface ExploreStepResult {
1297
1544
  step: number;
@@ -1825,6 +2072,13 @@ declare function resolveConsolidationConfig(config?: ConsolidationConfig): {
1825
2072
  };
1826
2073
  declare function runConsolidation(rootDir: string, config?: ConsolidationConfig, provider?: ProviderAdapter, options?: RunConsolidationOptions): Promise<ConsolidationResult>;
1827
2074
 
2075
+ declare function renderContextPackMarkdown(pack: ContextPack): string;
2076
+ declare function renderContextPackLlms(pack: ContextPack): string;
2077
+ declare function buildContextPack(rootDir: string, options: BuildContextPackOptions): Promise<BuildContextPackResult>;
2078
+ declare function listContextPacks(rootDir: string): Promise<ContextPackSummary[]>;
2079
+ declare function readContextPack(rootDir: string, target: string): Promise<ContextPack | null>;
2080
+ declare function deleteContextPack(rootDir: string, target: string): Promise<ContextPackSummary | null>;
2081
+
1828
2082
  /**
1829
2083
  * Decay and supersession helpers for the LLM Wiki v2 lifecycle layer.
1830
2084
  *
@@ -2089,6 +2343,29 @@ declare function startMcpServer(rootDir: string, stdin?: Readable, stdout?: Writ
2089
2343
  close: () => Promise<void>;
2090
2344
  }>;
2091
2345
 
2346
+ type MemoryTaskStoredPage = {
2347
+ task: AgentMemoryTask;
2348
+ page: GraphPage;
2349
+ content: string;
2350
+ contentHash: string;
2351
+ };
2352
+ declare function renderMemoryTaskMarkdown(task: AgentMemoryTask): string;
2353
+ declare function ensureMemoryLedger(rootDir: string): Promise<{
2354
+ changed: string[];
2355
+ }>;
2356
+ declare function startMemoryTask(rootDir: string, options: StartMemoryTaskOptions): Promise<AgentMemoryTaskResult>;
2357
+ declare function readMemoryTask(rootDir: string, target: string): Promise<AgentMemoryTask | null>;
2358
+ declare function listMemoryTasks(rootDir: string): Promise<AgentMemoryTaskSummary[]>;
2359
+ declare function updateMemoryTask(rootDir: string, target: string, options: UpdateMemoryTaskOptions): Promise<AgentMemoryTaskResult>;
2360
+ declare function finishMemoryTask(rootDir: string, target: string, options: FinishMemoryTaskOptions): Promise<AgentMemoryTaskResult>;
2361
+ declare function resumeMemoryTask(rootDir: string, target: string, options?: ResumeMemoryTaskOptions): Promise<ResumeMemoryTaskResult>;
2362
+ declare function loadMemoryTaskPages(rootDir: string): Promise<MemoryTaskStoredPage[]>;
2363
+ declare function buildMemoryGraphElements(tasks: AgentMemoryTask[], pages: GraphPage[]): {
2364
+ nodes: GraphNode[];
2365
+ edges: GraphEdge[];
2366
+ };
2367
+ declare function memoryTaskHashes(records: MemoryTaskStoredPage[]): Record<string, string>;
2368
+
2092
2369
  interface MigrationStepContext {
2093
2370
  rootDir: string;
2094
2371
  paths: {
@@ -2379,6 +2656,14 @@ declare function resolveRedactionPatterns(config?: RedactionConfig | null): {
2379
2656
  */
2380
2657
  declare function buildConfiguredRedactor(config?: RedactionConfig | null): Redactor | null;
2381
2658
 
2659
+ declare function resolveRetrievalConfig(config: VaultConfig): RetrievalConfig;
2660
+ declare function writeRetrievalManifest(rootDir: string, graph: GraphArtifact): Promise<RetrievalManifest>;
2661
+ declare function rebuildRetrievalIndex(rootDir: string): Promise<RetrievalStatus>;
2662
+ declare function getRetrievalStatus(rootDir: string): Promise<RetrievalStatus>;
2663
+ declare function doctorRetrieval(rootDir: string, options?: {
2664
+ repair?: boolean;
2665
+ }): Promise<RetrievalDoctorResult>;
2666
+
2382
2667
  declare function listSchedules(rootDir: string): Promise<ScheduleStateRecord[]>;
2383
2668
  declare function runSchedule(rootDir: string, jobId: string): Promise<ScheduledRunResult>;
2384
2669
  declare function serveSchedules(rootDir: string, pollMs?: number): Promise<ScheduleController>;
@@ -2620,4 +2905,4 @@ declare function createWebSearchAdapter(id: string, config: WebSearchProviderCon
2620
2905
  type WebSearchTaskId = "deepLintProvider" | "queryProvider" | "exploreProvider";
2621
2906
  declare function getWebSearchAdapterForTask(rootDir: string, task: WebSearchTaskId): Promise<WebSearchAdapter>;
2622
2907
 
2623
- 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 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 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, renderGraphShareBundleFiles, renderGraphShareMarkdown, renderGraphSharePreviewHtml, 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 };
2908
+ 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 };