Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 3.25 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 3.25 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
{
"name": "livesync-workers-app",
"private": true,
"version": "0.1.0",
"type": "module",
"description": "Single-tenant deployment of livesync-workers: LiveSync backend + MCP on Cloudflare Workers",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "npm run build -w livesync-workers",
"prepare": "npm run build -w livesync-workers",
"deploy": "wrangler deploy",
"dev": "npm run build && wrangler dev",
"setup": "node scripts/setup.mjs",
"typecheck": "npm run typecheck -w livesync-workers && tsc -p tsconfig.json --noEmit",
"test": "npm test -w livesync-workers && vitest run",
"cf-typegen": "wrangler types",
"test:workers": "vitest run -c vitest.workers.config.ts --maxWorkers=1 --testTimeout=60000",
"typecheck:workers": "tsc -p tsconfig.workers.json --noEmit",
"test:e2e:cli": "npm run build && node test/e2e/livesync-cli.mjs",
"test:e2e:obsidian": "npm run build && node --use-env-proxy test/e2e/obsidian.mjs",
"test:e2e:install": "node --use-env-proxy test/e2e/install.mjs",
"test:e2e:plugin": "node --use-env-proxy test/e2e/plugin.mjs",
"test:performance": "vitest run -c vitest.performance.config.ts --maxWorkers=1 --testTimeout=60000"
},
"dependencies": {
"@cloudflare/workers-oauth-provider": "0.10.4",
"@modelcontextprotocol/sdk": "1.32.1",
"agents": "0.28.0",
"ai": "7.0.137",
"livesync-workers": "0.7.0",
"zod": "4.6.6"
},
"devDependencies": {
"@cloudflare/vitest-plugin": "1.4.0",
"@cloudflare/workers-types": "5.20261011.1",
"@vrtmrz/livesync-commonlib": "0.1.36",
"@vrtmrz/obsidian-test-session": "0.3.0",
"typescript": "7.0.2",
"vitest": "5.0.3",
"wrangler": "4.149.0"
},
"cloudflare": {
"bindings": {
"VECTORIZE": {
"description": "Semantic search index. Enter **768** dimensions and **cosine** metric: the embedding model (Workers AI `@cf/google/embeddinggemma-300m`) requires them."
},
"FTS_BUCKET": {
"description": "Stores the full-text search index. Any bucket name works."
},
"OAUTH_KV": {
"description": "Stores MCP OAuth clients and tokens. Any namespace name works."
},
"AI": {
"description": "Workers AI, used to compute note embeddings."
},
"LIVESYNC_DATABASE": {
"description": "Database name you will enter in the Obsidian LiveSync plugin. Keep `vault` unless you have a reason."
},
"LIVESYNC_USERNAME": {
"description": "Username you will enter in the Obsidian LiveSync plugin."
},
"LIVESYNC_PASSWORD": {
"description": "Password you will enter in the Obsidian LiveSync plugin. Pick a long random string (e.g. `openssl rand -hex 24`)."
},
"ADMIN_PASSWORD": {
"description": "Password for the admin login on the status page and when authorizing MCP clients."
},
"SESSION_SECRET": {
"description": "Signs admin session cookies and internal requests. Generate with `openssl rand -hex 32`."
}
}
},
"overrides": {
"agents": {
"@modelcontextprotocol/sdk": "$@modelcontextprotocol/sdk",
"@modelcontextprotocol/client": "2.3.1",
"@modelcontextprotocol/server": "2.3.1"
},
"@ai-sdk/provider-utils": {
"undici": "7.29.1"
}
}
}