amalfa 1.0.6 → 1.0.8
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/README.md +8 -2
- package/bun.lock +0 -5
- package/package.json +2 -11
- package/src/cli.ts +1 -1
package/README.md
CHANGED
|
@@ -100,12 +100,18 @@ for cluster in clusters:
|
|
|
100
100
|
|
|
101
101
|
### Installation
|
|
102
102
|
|
|
103
|
+
**Requires Bun** (v1.0+) - [Install Bun](https://bun.sh)
|
|
104
|
+
|
|
103
105
|
```bash
|
|
104
|
-
npm install -g amalfa
|
|
105
|
-
# or
|
|
106
106
|
bun install -g amalfa
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
+
**Why Bun?**
|
|
110
|
+
- ⚡ **Fast startup** - Critical for stdio-based MCP servers that spawn on every request
|
|
111
|
+
- 🔄 **Built-in daemon management** - Runs background processes for file watching and vector embeddings
|
|
112
|
+
- 📦 **Native TypeScript** - No compilation step, direct execution from source
|
|
113
|
+
- 🎯 **SQLite performance** - Optimized native bindings for database operations
|
|
114
|
+
|
|
109
115
|
**From source** (for development):
|
|
110
116
|
```bash
|
|
111
117
|
git clone https://github.com/pjsvis/amalfa.git
|
package/bun.lock
CHANGED
|
@@ -14,9 +14,6 @@
|
|
|
14
14
|
"only-allow": "^1.2.2",
|
|
15
15
|
"pino-pretty": "^13.1.3",
|
|
16
16
|
},
|
|
17
|
-
"peerDependencies": {
|
|
18
|
-
"typescript": "5.9.3",
|
|
19
|
-
},
|
|
20
17
|
},
|
|
21
18
|
},
|
|
22
19
|
"packages": {
|
|
@@ -330,8 +327,6 @@
|
|
|
330
327
|
|
|
331
328
|
"type-is": ["type-is@2.0.1", "", { "dependencies": { "content-type": "^1.0.5", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw=="],
|
|
332
329
|
|
|
333
|
-
"typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
|
|
334
|
-
|
|
335
330
|
"undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="],
|
|
336
331
|
|
|
337
332
|
"unpipe": ["unpipe@1.0.0", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amalfa",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Local-first knowledge graph engine for AI agents. Transforms markdown into searchable memory with MCP protocol.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/pjsvis/amalfa#readme",
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
"amalfa": "src/cli.ts"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
|
-
"bun": "1.
|
|
36
|
-
"node": "22.x"
|
|
35
|
+
"bun": ">=1.0.0"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
38
|
"@biomejs/biome": "2.3.8",
|
|
@@ -42,15 +41,7 @@
|
|
|
42
41
|
"pino-pretty": "^13.1.3"
|
|
43
42
|
},
|
|
44
43
|
"scripts": {
|
|
45
|
-
"preinstall": "npx only-allow bun",
|
|
46
44
|
"precommit": "bun run scripts/maintenance/pre-commit.ts",
|
|
47
|
-
"serve": "bun run src/mcp/index.ts serve",
|
|
48
|
-
"start": "bun run src/mcp/index.ts start",
|
|
49
|
-
"stop": "bun run src/mcp/index.ts stop",
|
|
50
|
-
"status": "bun run src/mcp/index.ts status",
|
|
51
|
-
"servers": "bun run scripts/cli/servers.ts",
|
|
52
|
-
"validate-config": "bun run scripts/validate-config.ts",
|
|
53
|
-
"release": "bun run scripts/release.ts",
|
|
54
45
|
"check": "biome check .",
|
|
55
46
|
"format": "biome format --write ."
|
|
56
47
|
},
|
package/src/cli.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync, statSync } from "node:fs";
|
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { spawn } from "node:child_process";
|
|
5
5
|
|
|
6
|
-
const VERSION = "1.0.
|
|
6
|
+
const VERSION = "1.0.8";
|
|
7
7
|
|
|
8
8
|
// Database path loaded from config (lazy loaded per command)
|
|
9
9
|
let DB_PATH: string | null = null;
|