@swarmvaultai/engine 3.0.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/LICENSE +21 -0
- package/dist/chunk-7QHDATCQ.js +1673 -0
- package/dist/chunk-USSP4GVB.js +25064 -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 +32 -0
- package/dist/index.js +3 -3
- package/dist/memory-KI5G2A4C.js +32 -0
- package/dist/registry-U23ML76I.js +12 -0
- package/package.json +8 -9
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
|
@@ -48,6 +48,38 @@ 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
85
|
type PageKind = "index" | "source" | "module" | "concept" | "entity" | "output" | "insight" | "memory_task" | "graph_report" | "community_summary";
|
package/dist/index.js
CHANGED
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
writeGuidedSourceSession,
|
|
122
122
|
writeRetrievalManifest,
|
|
123
123
|
writeWatchStatusArtifact
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-USSP4GVB.js";
|
|
125
125
|
import {
|
|
126
126
|
LocalWhisperProviderAdapter,
|
|
127
127
|
appendJsonLine,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
truncate,
|
|
146
146
|
uniqueBy,
|
|
147
147
|
writeJsonFile
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-7QHDATCQ.js";
|
|
149
149
|
import {
|
|
150
150
|
estimatePageTokens,
|
|
151
151
|
estimateTokens,
|
|
@@ -3844,7 +3844,7 @@ async function getWatchStatus(rootDir) {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
|
|
3846
3846
|
// src/mcp.ts
|
|
3847
|
-
var SERVER_VERSION = "3.
|
|
3847
|
+
var SERVER_VERSION = "3.1.0";
|
|
3848
3848
|
async function createMcpServer(rootDir) {
|
|
3849
3849
|
const server = new McpServer({
|
|
3850
3850
|
name: "swarmvault",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildMemoryGraphElements,
|
|
3
|
+
ensureMemoryLedger,
|
|
4
|
+
estimateMemoryTaskTokens,
|
|
5
|
+
finishMemoryTask,
|
|
6
|
+
listMemoryTasks,
|
|
7
|
+
loadMemoryTaskPages,
|
|
8
|
+
memoryTaskHashes,
|
|
9
|
+
memoryTaskPageRecord,
|
|
10
|
+
readMemoryTask,
|
|
11
|
+
renderMemoryTaskMarkdown,
|
|
12
|
+
resumeMemoryTask,
|
|
13
|
+
startMemoryTask,
|
|
14
|
+
updateMemoryTask
|
|
15
|
+
} from "./chunk-USSP4GVB.js";
|
|
16
|
+
import "./chunk-7QHDATCQ.js";
|
|
17
|
+
import "./chunk-NAIERP4C.js";
|
|
18
|
+
export {
|
|
19
|
+
buildMemoryGraphElements,
|
|
20
|
+
ensureMemoryLedger,
|
|
21
|
+
estimateMemoryTaskTokens,
|
|
22
|
+
finishMemoryTask,
|
|
23
|
+
listMemoryTasks,
|
|
24
|
+
loadMemoryTaskPages,
|
|
25
|
+
memoryTaskHashes,
|
|
26
|
+
memoryTaskPageRecord,
|
|
27
|
+
readMemoryTask,
|
|
28
|
+
renderMemoryTaskMarkdown,
|
|
29
|
+
resumeMemoryTask,
|
|
30
|
+
startMemoryTask,
|
|
31
|
+
updateMemoryTask
|
|
32
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swarmvaultai/engine",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Core engine for SwarmVault: ingest, compile, query, lint, and provider abstractions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -39,13 +39,6 @@
|
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=24.0.0"
|
|
41
41
|
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"build": "test -f ../viewer/dist/index.html || pnpm --dir ../viewer build; tsup src/index.ts --format esm --dts && tsup --config tsup.hooks.config.ts && rm -rf dist/viewer && mkdir -p dist/viewer && cp -R ../viewer/dist/. dist/viewer/",
|
|
44
|
-
"pretest": "tsup --config tsup.hooks.config.ts",
|
|
45
|
-
"test": "SWARMVAULT_ALLOW_PRIVATE_URLS=1 vitest run",
|
|
46
|
-
"typecheck": "tsc --noEmit",
|
|
47
|
-
"prepublishOnly": "node ../../scripts/check-release-sync.mjs && node ../../scripts/check-published-manifests.mjs"
|
|
48
|
-
},
|
|
49
42
|
"dependencies": {
|
|
50
43
|
"@asciidoctor/core": "^3.0.4",
|
|
51
44
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
@@ -95,5 +88,11 @@
|
|
|
95
88
|
"graphology-types": "^0.24.8",
|
|
96
89
|
"tsup": "^8.5.0",
|
|
97
90
|
"vitest": "^3.2.4"
|
|
91
|
+
},
|
|
92
|
+
"scripts": {
|
|
93
|
+
"build": "test -f ../viewer/dist/index.html || pnpm --dir ../viewer build; tsup src/index.ts --format esm --dts && tsup --config tsup.hooks.config.ts && rm -rf dist/viewer && mkdir -p dist/viewer && cp -R ../viewer/dist/. dist/viewer/",
|
|
94
|
+
"pretest": "tsup --config tsup.hooks.config.ts",
|
|
95
|
+
"test": "SWARMVAULT_ALLOW_PRIVATE_URLS=1 vitest run",
|
|
96
|
+
"typecheck": "tsc --noEmit"
|
|
98
97
|
}
|
|
99
|
-
}
|
|
98
|
+
}
|