-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsup.config.ts
More file actions
52 lines (51 loc) · 1.91 KB
/
Copy pathtsup.config.ts
File metadata and controls
52 lines (51 loc) · 1.91 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
import { defineConfig } from "tsup";
export default defineConfig({
entry: {
// Bins
"bin/install": "src/bin/install.ts",
"bin/setup": "src/bin/setup.ts",
"bin/update": "src/bin/update.ts",
"bin/backfill-vectors": "src/bin/backfill-vectors.ts",
"bin/exe-settings": "src/bin/exe-settings.ts",
"bin/exe-search": "src/bin/exe-search.ts",
"bin/exe-forget": "src/bin/exe-forget.ts",
// Hooks
"hooks/ingest": "src/adapters/claude/hooks/ingest.ts",
"hooks/ingest-worker": "src/adapters/claude/hooks/ingest-worker.ts",
"hooks/session-start": "src/adapters/claude/hooks/session-start.ts",
"hooks/prompt-submit": "src/adapters/claude/hooks/prompt-submit.ts",
"hooks/error-recall": "src/adapters/claude/hooks/error-recall.ts",
"hooks/summary-worker": "src/adapters/claude/hooks/summary-worker.ts",
"hooks/prompt-ingest-worker": "src/adapters/claude/hooks/prompt-ingest-worker.ts",
"hooks/stop": "src/adapters/claude/hooks/stop.ts",
"hooks/response-ingest-worker": "src/adapters/claude/hooks/response-ingest-worker.ts",
// MCP server
"mcp/server": "src/mcp/server.ts",
// Libs
"lib/embedder": "src/lib/embedder.ts",
"lib/exe-daemon": "src/lib/exe-daemon.ts",
"lib/exe-daemon-client": "src/lib/exe-daemon-client.ts",
"lib/store": "src/lib/store.ts",
"lib/config": "src/lib/config.ts",
"lib/crypto": "src/lib/crypto.ts",
"lib/keychain": "src/lib/keychain.ts",
"lib/database": "src/lib/database.ts",
"lib/turso": "src/lib/turso.ts", // backward-compat shim
"lib/hybrid-search": "src/lib/hybrid-search.ts",
"lib/error-detector": "src/lib/error-detector.ts",
"lib/behaviors": "src/lib/behaviors.ts",
},
format: ["esm"],
target: "node18",
platform: "node",
splitting: false,
sourcemap: true,
clean: true,
external: [
"node-llama-cpp",
"@libsql/client",
"@modelcontextprotocol/sdk",
"keytar",
"zod",
],
});