-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·182 lines (182 loc) · 11 KB
/
package.json
File metadata and controls
executable file
·182 lines (182 loc) · 11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"name": "mimir",
"version": "1.0.0",
"description": "MCP server combining TODO tracking with external memory (Graph-RAG) for AI agents. Track tasks hierarchically while storing rich context in associative memory networks.",
"type": "module",
"main": "build/index.js",
"bin": {
"mimir": "build/index.js",
"mimir-chain": "./bin/mimir-chain",
"mimir-execute": "./bin/mimir-execute"
},
"scripts": {
"build": "tsc",
"build:frontend": "npm run build --workspace=frontend",
"build:vscode": "npm run compile --workspace=vscode-extension",
"build:all": "npm run build && npm run build:frontend && npm run build:vscode",
"build:docker": "npm run build:all && node ./scripts/build-docker.js",
"help": "node ./scripts/start.js help",
"start": "node ./scripts/start.js up --force-recreate",
"start:mcp": "node build/index.js",
"start:http": "node build/http-server.js",
"stop": "node ./scripts/start.js down",
"restart": "node ./scripts/start.js restart",
"rebuild": "node ./scripts/start.js rebuild",
"logs": "node ./scripts/start.js logs",
"status": "node ./scripts/start.js status",
"docker:up": "VERSION=$(node -p \"require('./package.json').version\") HOST_WORKSPACE_ROOT=$(cd ~/src && pwd) docker-compose up -d",
"docker:down": "docker-compose down",
"docker:restart": "npm run docker:down && npm run docker:up",
"docker:logs": "docker-compose logs -f",
"docker:exec": "docker-compose exec mimir-server bash",
"docker:exec:bash": "docker-compose exec mimir-server bash",
"docker:exec:sh": "docker-compose exec mimir-server sh",
"docker:exec:zsh": "docker-compose exec mimir-server zsh",
"inv": "node --env-file=.env bin/investigate-execution.mjs",
"workflow": "node --env-file=.env bin/run-workflow.mjs",
"test": "npx vitest run",
"test:coverage": "npx vitest run --coverage",
"test:benchmark": "npx vitest run --config vitest.config.benchmark.ts",
"test:embeddings": "node scripts/test-embeddings.js",
"test:quant": "tsc && node build/orchestrator/test-quantized.js",
"bench": "npx vitest bench testing/benchmarks/mimir-performance.bench.ts --run",
"bench:json": "npx vitest bench testing/benchmarks/mimir-performance.bench.ts --run --reporter=json",
"bench:quick": "npx vitest bench testing/benchmarks/mimir-performance.bench.ts --run --iterations=10",
"bench:api": "npx vitest bench testing/benchmarks/mimir-api.bench.ts --run",
"bench:all": "npm run bench && npm run bench:api",
"bench:compare": "npm run bench:json > testing/benchmarks/results/neo4j.json && npm run bench:api -- --reporter=json > testing/benchmarks/results/api.json && echo '✅ Results saved. Compare against Zep: see testing/benchmarks/ZEP_COMPARISON.md'",
"bench:compare-dbs": "npx vitest bench testing/benchmarks/nornicdb-vs-neo4j.bench.ts --run",
"bench:compare-dbs:standalone": "npx tsx testing/benchmarks/nornicdb-vs-neo4j.bench.ts",
"bench:northwind": "npx vitest bench testing/benchmarks/nornicdb-vs-neo4j-northwind.bench.ts --run",
"bench:fastrp": "npx vitest bench testing/benchmarks/nornicdb-vs-neo4j-fastrp.bench.ts --run",
"bench:large": "npx vitest bench testing/benchmarks/nornicdb-large-scale.bench.ts --run",
"bench:ldbc": "npx vitest bench testing/benchmarks/ldbc-style-benchmark.bench.ts --run",
"bench:ldbc:sf1": "SCALE_FACTOR=1 npx vitest bench testing/benchmarks/ldbc-style-benchmark.bench.ts --run",
"watch": "node esbuild.config.js --watch",
"dev": "node esbuild.config.js && node build/index.js",
"list-models": "tsc && node build/orchestrator/validate-agent.js --list-models",
"create-agent": "tsc && node build/orchestrator/create-agent.js",
"test:agent-mode": "tsc && node build/orchestrator/test-agent-mode.js",
"chain": "tsc && node build/orchestrator/agent-chain.js",
"execute": "tsc && node build/orchestrator/task-executor.js",
"setup:complete": "./scripts/setup.sh",
"setup:deps": "npm install && npm install -g typescript ts-node",
"setup:auth": "gh auth status || gh auth login",
"setup:services": "docker-compose up -d",
"setup:copilot": "npm list -g copilot-api || npm install -g copilot-api && (pgrep -f copilot-api || nohup copilot-api start &)",
"setup:global": "npm link",
"setup:verify": "node -e \"console.log('✅ Node.js:', process.version); console.log('✅ npm:', require('child_process').execSync('npm --version', {encoding:'utf8'}).trim()); try { require('child_process').execSync('docker --version', {stdio:'pipe'}); console.log('✅ Docker: Available'); } catch(e) { console.log('❌ Docker: Not available'); } try { require('child_process').execSync('gh --version', {stdio:'pipe'}); console.log('✅ GitHub CLI: Available'); } catch(e) { console.log('❌ GitHub CLI: Not available'); }\"",
"postinstall": "echo '\n🚀 Mimir installed! Run npm run setup:complete for full development setup\n'",
"index:add": "node scripts/test-folder-indexing.js --add",
"index:remove": "node scripts/test-folder-indexing.js --remove",
"index:list": "node scripts/test-folder-indexing.js --list",
"embeddings:check": "node scripts/check-and-reset-embeddings.js",
"embeddings:reset": "node scripts/check-and-reset-embeddings.js --reset",
"embeddings:force-reset": "node scripts/check-and-reset-embeddings.js --force",
"embeddings:clear": "node scripts/check-and-reset-embeddings.js --reset --clear-only",
"embeddings:generate": "node scripts/check-and-reset-embeddings.js --generate-missing",
"embeddings:backfill": "node build/scripts/backfill-embeddings.js",
"db:cleanup-edges": "node scripts/cleanup-duplicate-edges.js",
"db:cleanup-edges:dry-run": "node scripts/cleanup-duplicate-edges.js --dry-run",
"models:find": "node scripts/find-ollama-models.js",
"llama:build": "./scripts/build-llama-cpp.sh",
"llama:build-mxbai": "./scripts/build-llama-cpp-mxbai.sh",
"llama:build-mxbai-cuda": "powershell -ExecutionPolicy Bypass -File ./scripts/build-llama-cpp-mxbai-cuda.ps1",
"llama:build-qwen-2b-cuda": "powershell -ExecutionPolicy Bypass -File ./scripts/build-llama-cpp-qwen-vl-cuda.ps1 -ModelSize 2b",
"llama:build-qwen-7b-cuda": "powershell -ExecutionPolicy Bypass -File ./scripts/build-llama-cpp-qwen-vl-cuda.ps1 -ModelSize 7b",
"llama:models": "curl -s http://localhost:11434/v1/models | jq",
"llama:test": "curl -s http://localhost:11434/v1/embeddings -H 'Content-Type: application/json' -d '{\"model\": \"bge-m3\", \"input\": \"test\"}' | jq '.data[0].embedding | length'",
"mimir:build": "npm run build:all && docker build -t timothyswt/mimir-server:latest .",
"mimir:build:no-cache": "npm run build:all && docker build --no-cache -t timothyswt/mimir-server:latest .",
"mimir:build:version": "npm run build:all && docker build -t timothyswt/mimir-server:$(node -p \"require('./package.json').version\") -t timothyswt/mimir-server:latest .",
"mimir:push": "docker push timothyswt/mimir-server:latest",
"mimir:push:version": "docker push timothyswt/mimir-server:$(node -p \"require('./package.json').version\") && docker push timothyswt/mimir-server:latest",
"mimir:release": "npm run mimir:build:version && npm run mimir:push:version",
"nornicdb:build:arm64": "cd nornicdb && docker build -t timothyswt/nornicdb-arm64:latest .",
"nornicdb:build:arm64:no-cache": "cd nornicdb && docker build --no-cache -t timothyswt/nornicdb-arm64:latest -t timothyswt/nornicdb-arm64:latest .",
"nornicdb:push:arm64:no-cache": "docker push timothyswt/nornicdb-arm64:latest && docker push timothyswt/nornicdb-arm64:latest",
"nornicdb:build": "cd nornicdb && docker build -t timothyswt/nornicdb-arm64:latest .",
"nornicdb:build:cuda": "cd nornicdb && docker build -f Dockerfile.cuda -t timothyswt/nornicdb-amd64-cuda:latest .",
"nornicdb:build:cuda:no-cache": "cd nornicdb && docker build --no-cache -t timothyswt/nornicdb-amd64-cuda:latest .",
"nornicdb:push:cuda": "docker push timothyswt/nornicdb-amd64-cuda:latest",
"nornicdb:push:metal": "docker push timothyswt/nornicdb-arm64-metal:latest",
"nornicdb:test": "cd nornicdb && go test ./... -count=1",
"nornicdb:run": "docker run -d --name nornicdb -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-amd64:latest",
"nornicdb:run:cuda": "docker run -d --gpus all --name nornicdb -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-amd64-cuda:latest",
"nornicdb:stop": "docker stop nornicdb && docker rm nornicdb",
"nornicdb:logs": "docker logs -f nornicdb",
"webui:setup": "docker exec -it mimir-open-webui pip install neo4j",
"webui:build": "docker-compose build open-webui && docker-compose up -d --no-deps open-webui",
"test:oauth": "tsx testing/test-oauth-flow.ts",
"oauth:provider": "tsx testing/local-oauth-provider.ts",
"license:check": "npx license-checker --production --onlyAllow 'MIT;ISC;Apache-2.0;BSD-2-Clause;BSD-3-Clause;0BSD;BlueOak-1.0.0;LGPL-3.0-or-later;Python-2.0;(MIT OR GPL-3.0-or-later);(MIT AND Zlib)' --excludePackages 'duck@0.1.12;pause@0.0.1'",
"license:audit": "npx license-checker --json --production --excludePrivatePackages > license-audit-raw.json && echo '✅ License audit complete - see LICENSE_AUDIT_REPORT.md'",
"doc": "npx typedoc",
"doc:watch": "npx typedoc --watch"
},
"author": "",
"license": "MIT",
"dependencies": {
"@langchain/community": "^1.0.3",
"@langchain/core": "^1.0.1",
"@langchain/langgraph": "^1.0.0",
"@langchain/ollama": "^1.0.0",
"@langchain/openai": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.20.1",
"@types/archiver": "^7.0.0",
"@types/cookie-parser": "^1.4.10",
"@types/express-session": "^1.18.2",
"@types/jsonwebtoken": "^9.0.10",
"@types/passport": "^1.0.17",
"@types/passport-local": "^1.0.38",
"@types/passport-oauth2": "^1.8.0",
"@typescript-eslint/parser": "^8.46.1",
"archiver": "^7.0.1",
"body-parser": "^2.2.0",
"chokidar": "^4.0.3",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"docx": "^9.5.1",
"dotenv": "^17.2.3",
"express": "^5.1.0",
"express-session": "^1.18.2",
"graphology": "^0.26.0",
"graphology-types": "^0.24.8",
"ignore": "^7.0.5",
"jsonwebtoken": "^9.0.2",
"langchain": "^1.0.1",
"mammoth": "^1.11.0",
"neo4j-driver": "^6.0.0",
"passport": "^0.7.0",
"passport-local": "^1.0.0",
"passport-oauth2": "^1.8.0",
"pdf-parse": "^2.4.5",
"sharp": "^0.34.5",
"typescript": "^5.9.3",
"zod": "^4.1.12"
},
"devDependencies": {
"@types/body-parser": "^1.19.6",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/node": "^24.8.1",
"@types/node-cache": "^4.2.5",
"@types/pdf-parse": "^1.1.5",
"@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "^3.2.4",
"esbuild": "^0.25.11",
"node-cache": "^5.1.2",
"node-fetch": "^3.3.2",
"supertest": "^7.1.4",
"typedoc": "^0.28.4",
"typedoc-plugin-markdown": "^4.6.3",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=22"
},
"workspaces": [
"frontend",
"vscode-extension"
]
}