Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 7.49 KB
/
Copy pathpackage.json
File metadata and controls
147 lines (147 loc) · 7.49 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
{
"name": "lore",
"version": "0.1.0",
"description": "Open-source memory infrastructure for users and their agents.",
"private": true,
"license": "MIT",
"type": "module",
"workspaces": [
"packages/*",
"tools/sdk-codegen"
],
"packageManager": "bun@1.4.2",
"engines": {
"bun": ">=1.4.2"
},
"homepage": "https://github.com/corespeed-io/lore#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/corespeed-io/lore.git"
},
"bugs": {
"url": "https://github.com/corespeed-io/lore/issues"
},
"keywords": [
"memory",
"agents",
"multi-tenant",
"postgres",
"rls"
],
"scripts": {
"dev": "bun --bun next dev",
"build": "bun --bun next build && bun run build:maintenance && bun run build:dbmate && bun run build:packages",
"build:maintenance": "bun build src/worker/maintenance.ts --target=bun --outdir=.worker --entry-naming=maintenance-worker.js --external pg",
"build:dbmate": "bun --no-env-file scripts/build/build-dbmate.ts",
"build:packages": "bun run sdk:check && bun run --cwd packages/typescript-sdk build && bun run --cwd packages/cli build && bun run --cwd packages/mcp build",
"packages:smoke": "bun run sdk:check && bun --no-env-file scripts/build/package-smoke.ts",
"smoke:memory-core": "bun scripts/checks/smoke-memory-core.ts",
"smoke:next": "bun scripts/checks/smoke-next.ts",
"db:migrate": "bun --no-env-file scripts/database/migrate.ts",
"db:preflight": "bun --no-env-file scripts/database/run-preflight.ts",
"db:bootstrap": "bun --no-env-file scripts/database/migrate.ts && bun --no-env-file scripts/database/create-runtime-role.ts",
"db:backup": "bun --no-env-file scripts/database/backup.ts",
"db:restore": "bun --no-env-file scripts/database/restore.ts",
"db:pitr:check": "bun --no-env-file scripts/database/run-pitr-check.ts",
"db:embedding:report": "bun --no-env-file scripts/database/embedding-generation.ts report",
"db:embedding:activate": "bun --no-env-file scripts/database/embedding-generation.ts activate",
"db:embedding:requeue-dead": "bun --no-env-file scripts/database/embedding-generation.ts requeue-dead",
"benchmark:graph:seed": "bun --no-env-file tools/evaluation/graph/seed-graph-benchmark.ts",
"benchmark:code-index": "bun tools/evaluation/code/run-code-index.ts",
"benchmark:code-search": "bun tools/evaluation/code/run-code-search.ts",
"benchmark:memory-chunking": "bun tools/evaluation/chunking/run-memory-chunking.ts",
"benchmark:retrieval-policy": "bun --no-env-file tools/evaluation/policy/run-retrieval-policy.ts",
"evaluate:code-aware-memory": "bun tools/evaluation/code/evaluate-code-aware-memory.ts",
"evaluate:code-aware-memory:stress": "bun tools/evaluation/code/evaluate-code-aware-memory.ts --suite dependency-stress",
"evaluate:joint-memory-code": "bun tools/evaluation/context/evaluate-joint-memory-code.ts",
"evaluate:joint-memory-code:real": "bun tools/evaluation/context/evaluate-joint-memory-code-real.ts",
"benchmark:retrieval": "bun tools/evaluation/retrieval/run-retrieval.ts",
"eval": "bun --no-env-file tools/evaluation/harness/run-eval.ts",
"benchmark:longmemeval:fetch": "bun tools/evaluation/retrieval/fetch-longmemeval.ts",
"benchmark:longmemeval": "bun tools/evaluation/retrieval/run-longmemeval.ts",
"benchmark:longmemeval:smoke": "bun tools/evaluation/retrieval/run-longmemeval.ts --split oracle --max-cases 10",
"benchmark:longmemeval-v2:fetch": "bun tools/evaluation/retrieval/fetch-longmemeval-v2.ts",
"benchmark:longmemeval-v2": "bun tools/evaluation/retrieval/run-longmemeval-v2.ts",
"benchmark:locomo:fetch": "bun tools/evaluation/retrieval/fetch-locomo.ts",
"benchmark:locomo": "bun tools/evaluation/retrieval/run-locomo.ts",
"benchmark:locomo:retrieval": "bun tools/evaluation/retrieval/run-locomo-retrieval.ts",
"benchmark:memoryagentbench:fetch": "bun tools/evaluation/retrieval/fetch-memoryagentbench.ts",
"benchmark:memoryagentbench": "bun tools/evaluation/retrieval/run-memoryagentbench.ts",
"benchmark:memoryagentbench:accurate": "bun tools/evaluation/retrieval/run-memoryagentbench-accurate.ts",
"prototype:graph-scale": "BENCHMARK_DATABASE_URL=postgres://localhost:5432/lore_graph_benchmark bun --bun next dev",
"service:up": "bun --no-env-file scripts/dev/local-service.ts up",
"service:down": "bun --no-env-file scripts/dev/local-service.ts down",
"service:restart": "bun --no-env-file scripts/dev/local-service.ts restart",
"service:status": "bun --no-env-file scripts/dev/local-service.ts status",
"service:logs": "bun --no-env-file scripts/dev/local-service.ts logs",
"service:test": "bun --no-env-file test ./scripts/dev/local-service.test.ts",
"start": "bun --bun next start",
"start:maintenance": "bun --no-env-file .worker/maintenance-worker.js",
"preview:cloudflare": "bun --bun opennextjs-cloudflare build && bun --bun opennextjs-cloudflare preview",
"deploy:cloudflare": "bun --bun opennextjs-cloudflare build && bun --bun opennextjs-cloudflare deploy",
"cf:typegen": "bun --bun wrangler types --env-interface CloudflareEnv --env-file .dev.vars.example --strict-vars false src/types/cloudflare-env.d.ts",
"design:check": "bun --no-env-file scripts/checks/check-design-system.ts . && bun --no-env-file test ./scripts/checks/check-design-system.test.ts",
"lint": "biome check .",
"sdk:check": "bun tools/sdk-codegen/generate.ts --check",
"sdk:generate": "bun tools/sdk-codegen/generate.ts",
"format": "biome check --write .",
"test": "bun --no-env-file --bun vitest run && bun run --cwd packages/lore-core check",
"typecheck": "bun --bun next typegen && bun --bun tsc --noEmit && bun --bun tsc --project scripts/tsconfig.json",
"architecture:check": "biome lint --only=style/noRestrictedImports . && bun --no-env-file scripts/checks/check-import-boundaries.ts . && bun --no-env-file test ./scripts/checks/check-import-boundaries.test.ts"
},
"dependencies": {
"@ast-grep/napi": "0.45.3",
"@corespeed/lore-core": "workspace:*",
"@corespeed/lore-sdk": "workspace:*",
"@google/genai": "^2.27.0",
"@opentelemetry/api": "^1.9.1",
"@opentelemetry/api-logs": "^0.222.0",
"@opentelemetry/instrumentation": "^0.222.0",
"@opentelemetry/sdk-logs": "^0.222.0",
"@opentelemetry/sdk-trace-base": "2.11.0",
"@vercel/otel": "^2.1.3",
"cohere-ai": "^8.1.0",
"d3": "^7.9.0",
"hono": "^4.13.12",
"jose": "^6.2.12",
"markdown-it": "^15.0.2",
"markdown-it-cjk-friendly": "^3.0.0",
"next": "^16.3.8",
"ollama": "^0.6.4",
"openai": "^7.27.0",
"pg": "^8.23.1",
"pg-cloudflare": "^1.4.1",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"server-only": "^0.0.1",
"swr": "^2.5.1",
"voyageai": "0.1.0",
"zod": "^4.6.5"
},
"devDependencies": {
"@biomejs/biome": "^2.5.15",
"@electric-sql/pglite": "^0.5.8",
"@electric-sql/pglite-pgvector": "^0.0.9",
"@modelcontextprotocol/client": "^2.3.0",
"@modelcontextprotocol/server": "^2.3.0",
"@opennextjs/cloudflare": "^1.20.8",
"@types/bun": "1.4.2",
"@types/d3": "^7.4.3",
"@types/node": "^24.19.1",
"@types/pg": "^8.23.1",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"dbmate": "2.35.1",
"es-module-lexer": "^2.3.2",
"typescript": "^7.0.2",
"vitest": "^4.1.11",
"wrangler": "^4.147.0"
},
"overrides": {
"js-yaml": "^4.3.2",
"nanoid": "^3.3.18",
"postcss": "^8.5.10",
"sharp": "^0.35.4",
"undici": "^7.29.1"
}
}