@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.
- package/LICENSE +21 -0
- package/dist/chunk-BTWPJEP2.js +1421 -0
- package/dist/chunk-CG67P2HB.js +1420 -0
- package/dist/chunk-RSQRF4FV.js +1424 -0
- package/dist/hooks/claude.js +0 -0
- package/dist/hooks/copilot.js +0 -0
- package/dist/hooks/gemini.js +0 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +466 -45
- package/dist/registry-2QC3VN7M.js +12 -0
- package/dist/registry-JQYQOZYN.js +12 -0
- package/dist/registry-JR5WY22P.js +12 -0
- package/dist/viewer/assets/index-CRcCxyS8.css +1 -0
- package/dist/viewer/assets/index-QQ74kUX8.js +368 -0
- package/dist/viewer/index.html +2 -2
- package/dist/viewer/lib.d.ts +32 -1
- package/dist/viewer/lib.js +55 -0
- package/package.json +8 -9
- package/dist/viewer/assets/index-CwkhOTfH.js +0 -332
- package/dist/viewer/assets/index-DRAglPyY.css +0 -1
package/dist/hooks/claude.js
CHANGED
|
File without changes
|
package/dist/hooks/copilot.js
CHANGED
|
File without changes
|
package/dist/hooks/gemini.js
CHANGED
|
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;
|