-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.99 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 3.99 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
{
"name": "@hasna/mementos",
"version": "0.14.82",
"description": "Universal memory system for AI agents - CLI + MCP server + library API",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"mementos": "dist/cli/index.js",
"mementos-mcp": "dist/mcp/index.js",
"mementos-serve": "dist/server/index.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./sdk": {
"types": "./dist/sdk/index.d.ts",
"import": "./dist/sdk/index.js"
},
"./storage": {
"types": "./dist/storage.d.ts",
"import": "./dist/storage.js"
},
"./project-registration": {
"types": "./dist/project-registration.d.ts",
"import": "./dist/project-registration.js"
}
},
"files": [
"dist",
"dashboard/dist",
"Dockerfile.package",
"docker-entrypoint.sh",
"bun.lock",
"hasna.contract.json",
"LICENSE",
"README.md"
],
"scripts": {
"clean": "rm -rf dist",
"build": "bun run clean && bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external @modelcontextprotocol/sdk --external @hasna/contracts --external @hasna/contracts/schemas --external @hasna/contracts/auth --external pg && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk --external @hasna/contracts --external @hasna/contracts/schemas --external @hasna/contracts/auth --external pg && bun build src/server/index.ts --outdir dist/server --target bun --external @hasna/contracts --external @hasna/contracts/schemas --external @hasna/contracts/auth --external pg && bun build src/index.ts src/storage.ts src/pg-sync-worker.ts src/project-registration.ts --outdir dist --target bun --external @hasna/contracts --external @hasna/contracts/schemas --external @hasna/contracts/auth --external pg && bun build src/sdk/index.ts --outdir dist/sdk --target bun && tsc --emitDeclarationOnly --outDir dist",
"prepare": "bun run build",
"prepack": "bun run build && bun run scan-artifact",
"prepublishOnly": "bun run typecheck && bun run test && bun run contracts:conformance && contracts no-cloud-scan .",
"scan-artifact": "bun scripts/scan-artifact.ts",
"contract:check": "bun run build && contracts repo-conformance .",
"contracts:conformance": "contracts conformance fixtures",
"typecheck": "tsc --noEmit",
"test": "bun test --isolate --timeout=10000",
"test:pg": "bun scripts/pg-test-gate.ts",
"dev:cli": "bun run src/cli/index.tsx",
"dev:mcp": "bun run src/mcp/index.ts",
"dev:serve": "bun run src/server/index.ts",
"postinstall": "mkdir -p $HOME/.hasna/mementos $HOME/.hasna/mementos/profiles $HOME/.hasna/mementos/agents $HOME/.hasna/mementos/training 2>/dev/null || true"
},
"keywords": [
"memory",
"mementos",
"mcp",
"ai",
"coding-agent",
"claude",
"codex",
"gemini",
"cli",
"sqlite"
],
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hasna/mementos.git"
},
"homepage": "https://github.com/hasna/mementos",
"bugs": {
"url": "https://github.com/hasna/mementos/issues"
},
"engines": {
"bun": ">=1.0.0"
},
"author": "Andrei Hasna <andrei@hasna.com>",
"license": "Apache-2.0",
"dependencies": {
"@ai-sdk/anthropic": "^3.0.82",
"@ai-sdk/openai": "^3.0.69",
"@ai-sdk/openai-compatible": "^2.0.48",
"@hasna/contracts": "0.8.5",
"@hasna/events": "^0.1.6",
"@modelcontextprotocol/sdk": "^1.12.1",
"ai": "^6.0.199",
"chalk": "^5.4.1",
"commander": "^13.1.0",
"ink": "^5.2.0",
"pdf-parse": "^1.1.1",
"pg": "^8.13.3",
"react": "^18.3.1",
"tesseract.js": "^5.1.1",
"zod": "^3.24.2"
},
"devDependencies": {
"@types/bun": "^1.2.4",
"@types/pg": "^8.11.11",
"@types/react": "^18.3.18",
"sigstore": "5.0.0",
"typescript": "^5.7.3"
}
}