@swarmvaultai/engine 0.1.5 → 0.1.7

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
@@ -14,6 +14,7 @@ declare const providerCapabilitySchema: z.ZodEnum<{
14
14
  embeddings: "embeddings";
15
15
  streaming: "streaming";
16
16
  local: "local";
17
+ image_generation: "image_generation";
17
18
  }>;
18
19
  type ProviderCapability = z.infer<typeof providerCapabilitySchema>;
19
20
  declare const providerTypeSchema: z.ZodEnum<{
@@ -26,11 +27,21 @@ declare const providerTypeSchema: z.ZodEnum<{
26
27
  custom: "custom";
27
28
  }>;
28
29
  type ProviderType = z.infer<typeof providerTypeSchema>;
29
- type PageKind = "index" | "source" | "concept" | "entity" | "output";
30
+ type PageKind = "index" | "source" | "module" | "concept" | "entity" | "output" | "insight";
30
31
  type Freshness = "fresh" | "stale";
31
32
  type ClaimStatus = "extracted" | "inferred" | "conflicted" | "stale";
32
33
  type Polarity = "positive" | "negative" | "neutral";
33
34
  type OutputOrigin = "query" | "explore";
35
+ type OutputFormat = "markdown" | "report" | "slides" | "chart" | "image";
36
+ type OutputAssetRole = "primary" | "preview" | "manifest" | "poster";
37
+ type PageStatus = "draft" | "candidate" | "active" | "archived";
38
+ type PageManager = "system" | "human";
39
+ type ApprovalEntryStatus = "pending" | "accepted" | "rejected";
40
+ type ApprovalChangeType = "create" | "update" | "delete" | "promote";
41
+ type SourceKind = "markdown" | "text" | "pdf" | "image" | "html" | "binary" | "code";
42
+ type CodeLanguage = "javascript" | "jsx" | "typescript" | "tsx";
43
+ type CodeSymbolKind = "function" | "class" | "interface" | "type_alias" | "enum" | "variable";
44
+ type OrchestrationRole = "research" | "audit" | "context" | "safety";
34
45
  declare const webSearchProviderTypeSchema: z.ZodEnum<{
35
46
  custom: "custom";
36
47
  "http-json": "http-json";
@@ -53,6 +64,20 @@ interface GenerationResponse {
53
64
  outputTokens?: number;
54
65
  };
55
66
  }
67
+ interface ImageGenerationRequest {
68
+ prompt: string;
69
+ system?: string;
70
+ width?: number;
71
+ height?: number;
72
+ attachments?: GenerationAttachment[];
73
+ }
74
+ interface ImageGenerationResponse {
75
+ mimeType: string;
76
+ bytes: Uint8Array;
77
+ width?: number;
78
+ height?: number;
79
+ revisedPrompt?: string;
80
+ }
56
81
  interface ProviderAdapter {
57
82
  readonly id: string;
58
83
  readonly type: ProviderType;
@@ -60,6 +85,7 @@ interface ProviderAdapter {
60
85
  readonly capabilities: Set<ProviderCapability>;
61
86
  generateText(request: GenerationRequest): Promise<GenerationResponse>;
62
87
  generateStructured<T>(request: GenerationRequest, schema: z.ZodType<T>): Promise<T>;
88
+ generateImage?(request: ImageGenerationRequest): Promise<ImageGenerationResponse>;
63
89
  }
64
90
  interface ProviderConfig {
65
91
  type: ProviderType;
@@ -111,11 +137,18 @@ interface VaultConfig {
111
137
  queryProvider: string;
112
138
  lintProvider: string;
113
139
  visionProvider: string;
140
+ imageProvider?: string;
114
141
  };
115
142
  viewer: {
116
143
  port: number;
117
144
  };
145
+ projects?: Record<string, {
146
+ roots: string[];
147
+ schemaPath?: string;
148
+ }>;
118
149
  agents: Array<"codex" | "claude" | "cursor">;
150
+ schedules?: Record<string, ScheduleJobConfig>;
151
+ orchestration?: OrchestrationConfig;
119
152
  webSearch?: {
120
153
  providers: Record<string, WebSearchProviderConfig>;
121
154
  tasks: {
@@ -130,7 +163,13 @@ interface ResolvedPaths {
130
163
  rawSourcesDir: string;
131
164
  rawAssetsDir: string;
132
165
  wikiDir: string;
166
+ outputsAssetsDir: string;
167
+ projectsDir: string;
168
+ candidatesDir: string;
169
+ candidateConceptsDir: string;
170
+ candidateEntitiesDir: string;
133
171
  stateDir: string;
172
+ schedulesDir: string;
134
173
  agentDir: string;
135
174
  inboxDir: string;
136
175
  manifestsDir: string;
@@ -141,6 +180,8 @@ interface ResolvedPaths {
141
180
  searchDbPath: string;
142
181
  compileStatePath: string;
143
182
  jobsLogPath: string;
183
+ sessionsDir: string;
184
+ approvalsDir: string;
144
185
  configPath: string;
145
186
  }
146
187
  interface SourceAttachment {
@@ -152,7 +193,8 @@ interface SourceManifest {
152
193
  sourceId: string;
153
194
  title: string;
154
195
  originType: "file" | "url";
155
- sourceKind: "markdown" | "text" | "pdf" | "image" | "html" | "binary";
196
+ sourceKind: SourceKind;
197
+ language?: CodeLanguage;
156
198
  originalPath?: string;
157
199
  url?: string;
158
200
  storedPath: string;
@@ -176,6 +218,41 @@ interface SourceClaim {
176
218
  polarity: Polarity;
177
219
  citation: string;
178
220
  }
221
+ interface CodeImport {
222
+ specifier: string;
223
+ importedSymbols: string[];
224
+ defaultImport?: string;
225
+ namespaceImport?: string;
226
+ isTypeOnly?: boolean;
227
+ isExternal: boolean;
228
+ reExport: boolean;
229
+ }
230
+ interface CodeDiagnostic {
231
+ code: number;
232
+ category: "warning" | "error" | "message" | "suggestion";
233
+ message: string;
234
+ line: number;
235
+ column: number;
236
+ }
237
+ interface CodeSymbol {
238
+ id: string;
239
+ name: string;
240
+ kind: CodeSymbolKind;
241
+ signature: string;
242
+ exported: boolean;
243
+ calls: string[];
244
+ extends: string[];
245
+ implements: string[];
246
+ }
247
+ interface CodeAnalysis {
248
+ moduleId: string;
249
+ language: CodeLanguage;
250
+ imports: CodeImport[];
251
+ dependencies: string[];
252
+ symbols: CodeSymbol[];
253
+ exports: string[];
254
+ diagnostics: CodeDiagnostic[];
255
+ }
179
256
  interface SourceAnalysis {
180
257
  sourceId: string;
181
258
  sourceHash: string;
@@ -186,16 +263,25 @@ interface SourceAnalysis {
186
263
  entities: AnalyzedTerm[];
187
264
  claims: SourceClaim[];
188
265
  questions: string[];
266
+ code?: CodeAnalysis;
189
267
  producedAt: string;
190
268
  }
191
269
  interface GraphNode {
192
270
  id: string;
193
- type: "source" | "concept" | "entity";
271
+ type: "source" | "concept" | "entity" | "module" | "symbol";
194
272
  label: string;
195
273
  pageId?: string;
196
274
  freshness?: Freshness;
197
275
  confidence?: number;
198
276
  sourceIds: string[];
277
+ projectIds: string[];
278
+ language?: CodeLanguage;
279
+ moduleId?: string;
280
+ symbolKind?: CodeSymbolKind;
281
+ communityId?: string;
282
+ degree?: number;
283
+ bridgeScore?: number;
284
+ isGodNode?: boolean;
199
285
  }
200
286
  interface GraphEdge {
201
287
  id: string;
@@ -212,8 +298,10 @@ interface GraphPage {
212
298
  title: string;
213
299
  kind: PageKind;
214
300
  sourceIds: string[];
301
+ projectIds: string[];
215
302
  nodeIds: string[];
216
303
  freshness: Freshness;
304
+ status: PageStatus;
217
305
  confidence: number;
218
306
  backlinks: string[];
219
307
  schemaHash: string;
@@ -221,21 +309,88 @@ interface GraphPage {
221
309
  relatedPageIds: string[];
222
310
  relatedNodeIds: string[];
223
311
  relatedSourceIds: string[];
312
+ createdAt: string;
313
+ updatedAt: string;
314
+ compiledFrom: string[];
315
+ managedBy: PageManager;
224
316
  origin?: OutputOrigin;
225
317
  question?: string;
318
+ outputFormat?: OutputFormat;
319
+ outputAssets?: OutputAsset[];
226
320
  }
227
321
  interface GraphArtifact {
228
322
  generatedAt: string;
229
323
  nodes: GraphNode[];
230
324
  edges: GraphEdge[];
325
+ communities?: Array<{
326
+ id: string;
327
+ label: string;
328
+ nodeIds: string[];
329
+ }>;
231
330
  sources: SourceManifest[];
232
331
  pages: GraphPage[];
233
332
  }
333
+ interface ApprovalEntry {
334
+ pageId: string;
335
+ title: string;
336
+ kind: PageKind;
337
+ changeType: ApprovalChangeType;
338
+ status: ApprovalEntryStatus;
339
+ sourceIds: string[];
340
+ nextPath?: string;
341
+ previousPath?: string;
342
+ }
343
+ interface ApprovalManifest {
344
+ approvalId: string;
345
+ createdAt: string;
346
+ entries: ApprovalEntry[];
347
+ }
348
+ interface ApprovalSummary {
349
+ approvalId: string;
350
+ createdAt: string;
351
+ entryCount: number;
352
+ pendingCount: number;
353
+ acceptedCount: number;
354
+ rejectedCount: number;
355
+ }
356
+ interface ApprovalEntryDetail extends ApprovalEntry {
357
+ currentContent?: string;
358
+ stagedContent?: string;
359
+ }
360
+ interface ApprovalDetail extends ApprovalSummary {
361
+ entries: ApprovalEntryDetail[];
362
+ }
363
+ interface ReviewActionResult extends ApprovalSummary {
364
+ updatedEntries: string[];
365
+ }
366
+ interface CandidateRecord {
367
+ pageId: string;
368
+ title: string;
369
+ kind: "concept" | "entity";
370
+ path: string;
371
+ activePath: string;
372
+ sourceIds: string[];
373
+ createdAt: string;
374
+ updatedAt: string;
375
+ }
376
+ interface CompileOptions {
377
+ approve?: boolean;
378
+ }
379
+ interface InitOptions {
380
+ obsidian?: boolean;
381
+ }
234
382
  interface CompileResult {
235
383
  graphPath: string;
236
384
  pageCount: number;
237
385
  changedPages: string[];
238
386
  sourceCount: number;
387
+ staged: boolean;
388
+ approvalId?: string;
389
+ approvalDir?: string;
390
+ postPassApprovalId?: string;
391
+ postPassApprovalDir?: string;
392
+ promotedPageIds: string[];
393
+ candidatePageCount: number;
239
394
  }
240
395
  interface SearchResult {
241
396
  pageId: string;
@@ -243,15 +398,31 @@ interface SearchResult {
243
398
  title: string;
244
399
  snippet: string;
245
400
  rank: number;
401
+ kind?: PageKind;
402
+ status?: PageStatus;
403
+ projectIds: string[];
404
+ }
405
+ interface QueryOptions {
406
+ question: string;
407
+ save?: boolean;
408
+ format?: OutputFormat;
409
+ review?: boolean;
246
410
  }
247
411
  interface QueryResult {
248
412
  answer: string;
249
- savedTo?: string;
413
+ savedPath?: string;
414
+ stagedPath?: string;
250
415
  savedPageId?: string;
251
416
  citations: string[];
252
417
  relatedPageIds: string[];
253
418
  relatedNodeIds: string[];
254
419
  relatedSourceIds: string[];
420
+ outputFormat: OutputFormat;
421
+ saved: boolean;
422
+ staged: boolean;
423
+ approvalId?: string;
424
+ approvalDir?: string;
425
+ outputAssets: OutputAsset[];
255
426
  }
256
427
  interface LintFinding {
257
428
  severity: "error" | "warning" | "info";
@@ -297,31 +468,198 @@ interface WatchController {
297
468
  }
298
469
  interface CompileState {
299
470
  generatedAt: string;
300
- schemaHash: string;
471
+ rootSchemaHash: string;
472
+ projectSchemaHashes: Record<string, string>;
473
+ effectiveSchemaHashes: {
474
+ global: string;
475
+ projects: Record<string, string>;
476
+ };
477
+ projectConfigHash: string;
301
478
  analyses: Record<string, string>;
302
479
  sourceHashes: Record<string, string>;
480
+ sourceProjects: Record<string, string | null>;
303
481
  outputHashes: Record<string, string>;
482
+ insightHashes: Record<string, string>;
483
+ candidateHistory: Record<string, {
484
+ sourceIds: string[];
485
+ status: "candidate" | "active";
486
+ }>;
304
487
  }
305
488
  interface LintOptions {
306
489
  deep?: boolean;
307
490
  web?: boolean;
308
491
  }
492
+ interface ExploreOptions {
493
+ question: string;
494
+ steps?: number;
495
+ format?: OutputFormat;
496
+ review?: boolean;
497
+ }
309
498
  interface ExploreStepResult {
310
499
  step: number;
311
500
  question: string;
312
501
  answer: string;
313
- savedTo: string;
502
+ savedPath?: string;
503
+ stagedPath?: string;
314
504
  savedPageId: string;
315
505
  citations: string[];
316
506
  followUpQuestions: string[];
507
+ outputFormat: OutputFormat;
508
+ outputAssets: OutputAsset[];
317
509
  }
318
510
  interface ExploreResult {
319
511
  rootQuestion: string;
320
- hubPath: string;
512
+ hubPath?: string;
513
+ stagedHubPath?: string;
321
514
  hubPageId: string;
322
515
  stepCount: number;
323
516
  steps: ExploreStepResult[];
324
517
  suggestedQuestions: string[];
518
+ outputFormat: OutputFormat;
519
+ staged: boolean;
520
+ approvalId?: string;
521
+ approvalDir?: string;
522
+ hubAssets: OutputAsset[];
523
+ }
524
+ interface OutputAsset {
525
+ id: string;
526
+ role: OutputAssetRole;
527
+ path: string;
528
+ mimeType: string;
529
+ width?: number;
530
+ height?: number;
531
+ dataPath?: string;
532
+ }
533
+ interface ChartDatum {
534
+ label: string;
535
+ value: number;
536
+ }
537
+ interface ChartSpec {
538
+ kind: "bar" | "line";
539
+ title: string;
540
+ subtitle?: string;
541
+ xLabel?: string;
542
+ yLabel?: string;
543
+ seriesLabel?: string;
544
+ data: ChartDatum[];
545
+ notes?: string[];
546
+ }
547
+ interface SceneElement {
548
+ kind: "shape" | "label";
549
+ shape?: "rect" | "circle" | "line";
550
+ x: number;
551
+ y: number;
552
+ width?: number;
553
+ height?: number;
554
+ radius?: number;
555
+ text?: string;
556
+ fontSize?: number;
557
+ fill?: string;
558
+ stroke?: string;
559
+ strokeWidth?: number;
560
+ opacity?: number;
561
+ }
562
+ interface SceneSpec {
563
+ title: string;
564
+ alt: string;
565
+ background?: string;
566
+ width?: number;
567
+ height?: number;
568
+ elements: SceneElement[];
569
+ }
570
+ interface ScheduledCompileTask {
571
+ type: "compile";
572
+ approve?: boolean;
573
+ }
574
+ interface ScheduledLintTask {
575
+ type: "lint";
576
+ deep?: boolean;
577
+ web?: boolean;
578
+ }
579
+ interface ScheduledQueryTask {
580
+ type: "query";
581
+ question: string;
582
+ format?: OutputFormat;
583
+ save?: boolean;
584
+ }
585
+ interface ScheduledExploreTask {
586
+ type: "explore";
587
+ question: string;
588
+ steps?: number;
589
+ format?: OutputFormat;
590
+ }
591
+ type ScheduledTaskConfig = ScheduledCompileTask | ScheduledLintTask | ScheduledQueryTask | ScheduledExploreTask;
592
+ interface ScheduleTriggerConfig {
593
+ cron?: string;
594
+ every?: string;
595
+ }
596
+ interface ScheduleJobConfig {
597
+ enabled?: boolean;
598
+ when: ScheduleTriggerConfig;
599
+ task: ScheduledTaskConfig;
600
+ }
601
+ interface ProviderRoleExecutorConfig {
602
+ type: "provider";
603
+ provider: string;
604
+ }
605
+ interface CommandRoleExecutorConfig {
606
+ type: "command";
607
+ command: string[];
608
+ cwd?: string;
609
+ env?: Record<string, string>;
610
+ timeoutMs?: number;
611
+ }
612
+ type RoleExecutorConfig = ProviderRoleExecutorConfig | CommandRoleExecutorConfig;
613
+ interface OrchestrationRoleConfig {
614
+ executor: RoleExecutorConfig;
615
+ }
616
+ interface OrchestrationConfig {
617
+ maxParallelRoles?: number;
618
+ compilePostPass?: boolean;
619
+ roles?: Partial<Record<OrchestrationRole, OrchestrationRoleConfig>>;
620
+ }
621
+ interface OrchestrationFinding {
622
+ role: OrchestrationRole;
623
+ severity: "error" | "warning" | "info";
624
+ message: string;
625
+ relatedPageIds?: string[];
626
+ relatedSourceIds?: string[];
627
+ suggestedQuery?: string;
628
+ }
629
+ interface OrchestrationProposal {
630
+ path: string;
631
+ content: string;
632
+ reason: string;
633
+ }
634
+ interface OrchestrationRoleResult {
635
+ role: OrchestrationRole;
636
+ summary?: string;
637
+ findings: OrchestrationFinding[];
638
+ questions: string[];
639
+ proposals: OrchestrationProposal[];
640
+ }
641
+ interface ScheduleStateRecord {
642
+ jobId: string;
643
+ enabled: boolean;
644
+ taskType: ScheduledTaskConfig["type"];
645
+ nextRunAt?: string;
646
+ lastRunAt?: string;
647
+ lastStatus?: "success" | "failed";
648
+ lastSessionId?: string;
649
+ lastApprovalId?: string;
650
+ error?: string;
651
+ }
652
+ interface ScheduledRunResult {
653
+ jobId: string;
654
+ taskType: ScheduledTaskConfig["type"];
655
+ startedAt: string;
656
+ finishedAt: string;
657
+ success: boolean;
658
+ approvalId?: string;
659
+ error?: string;
660
+ }
661
+ interface ScheduleController {
662
+ close(): Promise<void>;
325
663
  }
326
664
 
327
665
  declare function defaultVaultConfig(): VaultConfig;
@@ -354,14 +692,29 @@ interface VaultSchema {
354
692
  path: string;
355
693
  content: string;
356
694
  hash: string;
357
- isLegacyPath: boolean;
358
695
  }
696
+ interface LoadedVaultSchemas {
697
+ root: VaultSchema;
698
+ projects: Record<string, VaultSchema>;
699
+ effective: {
700
+ global: VaultSchema;
701
+ projects: Record<string, VaultSchema>;
702
+ };
703
+ }
704
+ declare function loadVaultSchemas(rootDir: string): Promise<LoadedVaultSchemas>;
359
705
  declare function loadVaultSchema(rootDir: string): Promise<VaultSchema>;
360
706
 
361
- declare function initVault(rootDir: string): Promise<void>;
362
- declare function compileVault(rootDir: string): Promise<CompileResult>;
363
- declare function queryVault(rootDir: string, question: string, save?: boolean): Promise<QueryResult>;
364
- declare function exploreVault(rootDir: string, question: string, steps?: number): Promise<ExploreResult>;
707
+ declare function listApprovals(rootDir: string): Promise<ApprovalSummary[]>;
708
+ declare function readApproval(rootDir: string, approvalId: string): Promise<ApprovalDetail>;
709
+ declare function acceptApproval(rootDir: string, approvalId: string, targets?: string[]): Promise<ReviewActionResult>;
710
+ declare function rejectApproval(rootDir: string, approvalId: string, targets?: string[]): Promise<ReviewActionResult>;
711
+ declare function listCandidates(rootDir: string): Promise<CandidateRecord[]>;
712
+ declare function promoteCandidate(rootDir: string, target: string): Promise<CandidateRecord>;
713
+ declare function archiveCandidate(rootDir: string, target: string): Promise<CandidateRecord>;
714
+ declare function initVault(rootDir: string, options?: InitOptions): Promise<void>;
715
+ declare function compileVault(rootDir: string, options?: CompileOptions): Promise<CompileResult>;
716
+ declare function queryVault(rootDir: string, options: QueryOptions): Promise<QueryResult>;
717
+ declare function exploreVault(rootDir: string, options: ExploreOptions): Promise<ExploreResult>;
365
718
  declare function searchVault(rootDir: string, query: string, limit?: number): Promise<SearchResult[]>;
366
719
  declare function listPages(rootDir: string): Promise<GraphPage[]>;
367
720
  declare function readPage(rootDir: string, relativePath: string): Promise<{
@@ -392,10 +745,15 @@ declare function startGraphServer(rootDir: string, port?: number): Promise<{
392
745
  port: number;
393
746
  close: () => Promise<void>;
394
747
  }>;
748
+ declare function exportGraphHtml(rootDir: string, outputPath: string): Promise<string>;
749
+
750
+ declare function listSchedules(rootDir: string): Promise<ScheduleStateRecord[]>;
751
+ declare function runSchedule(rootDir: string, jobId: string): Promise<ScheduledRunResult>;
752
+ declare function serveSchedules(rootDir: string, pollMs?: number): Promise<ScheduleController>;
395
753
 
396
754
  declare function watchVault(rootDir: string, options?: WatchOptions): Promise<WatchController>;
397
755
 
398
756
  declare function createWebSearchAdapter(id: string, config: WebSearchProviderConfig, rootDir: string): Promise<WebSearchAdapter>;
399
757
  declare function getWebSearchAdapterForTask(rootDir: string, task: "deepLintProvider"): Promise<WebSearchAdapter>;
400
758
 
401
- export { type AnalyzedTerm, type ClaimStatus, type CompileResult, type CompileState, type ExploreResult, type ExploreStepResult, type Freshness, type GenerationAttachment, type GenerationRequest, type GenerationResponse, type GraphArtifact, type GraphEdge, type GraphNode, type GraphPage, type InboxImportResult, type InboxImportSkip, type LintFinding, type LintOptions, type OutputOrigin, type PageKind, type Polarity, type ProviderAdapter, type ProviderCapability, type ProviderConfig, type ProviderType, type QueryResult, type ResolvedPaths, type SearchResult, type SourceAnalysis, type SourceAttachment, type SourceClaim, type SourceManifest, type VaultConfig, type WatchController, type WatchOptions, type WatchRunRecord, type WebSearchAdapter, type WebSearchProviderConfig, type WebSearchProviderType, type WebSearchResult, assertProviderCapability, bootstrapDemo, compileVault, createMcpServer, createProvider, createWebSearchAdapter, defaultVaultConfig, defaultVaultSchema, exploreVault, getProviderForTask, getWebSearchAdapterForTask, getWorkspaceInfo, importInbox, ingestInput, initVault, initWorkspace, installAgent, installConfiguredAgents, lintVault, listManifests, listPages, loadVaultConfig, loadVaultSchema, providerCapabilitySchema, providerTypeSchema, queryVault, readExtractedText, readPage, resolvePaths, searchVault, startGraphServer, startMcpServer, watchVault, webSearchProviderTypeSchema };
759
+ export { type AnalyzedTerm, type ApprovalChangeType, type ApprovalDetail, type ApprovalEntry, type ApprovalEntryDetail, type ApprovalEntryStatus, type ApprovalManifest, type ApprovalSummary, type CandidateRecord, type ChartDatum, type ChartSpec, type ClaimStatus, type CodeAnalysis, type CodeDiagnostic, type CodeImport, type CodeLanguage, type CodeSymbol, type CodeSymbolKind, type CommandRoleExecutorConfig, type CompileOptions, type CompileResult, type CompileState, type ExploreOptions, type ExploreResult, type ExploreStepResult, type Freshness, type GenerationAttachment, type GenerationRequest, type GenerationResponse, type GraphArtifact, type GraphEdge, type GraphNode, type GraphPage, type ImageGenerationRequest, type ImageGenerationResponse, type InboxImportResult, type InboxImportSkip, type InitOptions, type LintFinding, type LintOptions, 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 Polarity, type ProviderAdapter, type ProviderCapability, type ProviderConfig, type ProviderRoleExecutorConfig, type ProviderType, type QueryOptions, type QueryResult, type ResolvedPaths, type ReviewActionResult, type RoleExecutorConfig, type SceneElement, type SceneSpec, type ScheduleController, type ScheduleJobConfig, type ScheduleStateRecord, type ScheduleTriggerConfig, type ScheduledCompileTask, type ScheduledExploreTask, type ScheduledLintTask, type ScheduledQueryTask, type ScheduledRunResult, type ScheduledTaskConfig, type SearchResult, type SourceAnalysis, type SourceAttachment, type SourceClaim, type SourceKind, type SourceManifest, type VaultConfig, type WatchController, type WatchOptions, type WatchRunRecord, type WebSearchAdapter, type WebSearchProviderConfig, type WebSearchProviderType, type WebSearchResult, acceptApproval, archiveCandidate, assertProviderCapability, bootstrapDemo, compileVault, createMcpServer, createProvider, createWebSearchAdapter, defaultVaultConfig, defaultVaultSchema, exploreVault, exportGraphHtml, getProviderForTask, getWebSearchAdapterForTask, getWorkspaceInfo, importInbox, ingestInput, initVault, initWorkspace, installAgent, installConfiguredAgents, lintVault, listApprovals, listCandidates, listManifests, listPages, listSchedules, loadVaultConfig, loadVaultSchema, loadVaultSchemas, promoteCandidate, providerCapabilitySchema, providerTypeSchema, queryVault, readApproval, readExtractedText, readPage, rejectApproval, resolvePaths, runSchedule, searchVault, serveSchedules, startGraphServer, startMcpServer, watchVault, webSearchProviderTypeSchema };