@swarmvaultai/engine 0.7.31 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
@@ -43,6 +43,10 @@ declare const agentTypeSchema: z.ZodEnum<{
43
43
  trae: "trae";
44
44
  claw: "claw";
45
45
  droid: "droid";
46
+ kiro: "kiro";
47
+ hermes: "hermes";
48
+ antigravity: "antigravity";
49
+ vscode: "vscode";
46
50
  }>;
47
51
  type AgentType = z.infer<typeof agentTypeSchema>;
48
52
  type PageKind = "index" | "source" | "module" | "concept" | "entity" | "output" | "insight" | "graph_report" | "community_summary";
@@ -113,6 +117,13 @@ interface AudioTranscriptionRequest {
113
117
  bytes: Buffer;
114
118
  fileName?: string;
115
119
  language?: string;
120
+ /**
121
+ * Optional one-sentence domain hint derived from the vault's top god nodes.
122
+ * Providers that accept a prompt (e.g. Whisper) can pass it through to bias
123
+ * transcription toward in-corpus terminology. Providers without prompt
124
+ * support ignore it safely.
125
+ */
126
+ corpusHint?: string;
116
127
  }
117
128
  interface AudioTranscriptionResponse {
118
129
  text: string;
@@ -534,6 +545,8 @@ interface GraphNode {
534
545
  id: string;
535
546
  type: "source" | "concept" | "entity" | "module" | "symbol" | "rationale";
536
547
  label: string;
548
+ /** Lowercased NFKD-normalized label (diacritic-insensitive) for lexical matching. */
549
+ normLabel?: string;
537
550
  pageId?: string;
538
551
  freshness?: Freshness;
539
552
  confidence?: number;
@@ -780,6 +793,8 @@ interface CandidateRecord {
780
793
  sourceIds: string[];
781
794
  createdAt: string;
782
795
  updatedAt: string;
796
+ score?: number;
797
+ scoreBreakdown?: Record<string, number>;
783
798
  }
784
799
  interface BlastRadiusResult {
785
800
  target: string;
@@ -801,6 +816,7 @@ interface CompileOptions {
801
816
  interface InitOptions {
802
817
  obsidian?: boolean;
803
818
  profile?: string;
819
+ lite?: boolean;
804
820
  }
805
821
  interface CompileResult {
806
822
  graphPath: string;