forked from mksglu/context-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.2 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.2 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
{
"name": "context-mode",
"version": "1.0.22",
"type": "module",
"description": "MCP plugin that saves 98% of your context window. Works with Claude Code, Gemini CLI, VS Code Copilot, OpenCode, and Codex CLI. Sandboxed code execution, FTS5 knowledge base, and intent-driven search.",
"author": "Mert Koseoğlu",
"license": "Elastic-2.0",
"keywords": [
"mcp",
"model-context-protocol",
"claude",
"claude-code",
"gemini-cli",
"vscode-copilot",
"opencode",
"codex-cli",
"context-window",
"sandbox",
"code-execution",
"fts5",
"bm25"
],
"repository": {
"type": "git",
"url": "https://github.com/mksglu/context-mode"
},
"homepage": "https://github.com/mksglu/context-mode#readme",
"bugs": "https://github.com/mksglu/context-mode/issues",
"main": "./build/opencode-plugin.js",
"exports": {
".": "./build/opencode-plugin.js",
"./plugin": "./build/opencode-plugin.js",
"./cli": "./build/cli.js"
},
"bin": {
"context-mode": "./build/cli.js"
},
"files": [
"build",
"hooks",
"configs",
"server.bundle.mjs",
"cli.bundle.mjs",
"skills",
".claude-plugin",
".mcp.json",
"start.mjs",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc && chmod +x build/cli.js",
"bundle": "esbuild src/server.ts --bundle --platform=node --target=node18 --format=esm --outfile=server.bundle.mjs --external:better-sqlite3 --external:turndown --external:turndown-plugin-gfm --external:@mixmark-io/domino --minify && esbuild src/cli.ts --bundle --platform=node --target=node18 --format=esm --outfile=cli.bundle.mjs --external:better-sqlite3 --minify && esbuild src/session/extract.ts --bundle --platform=node --target=node18 --format=esm --outfile=hooks/session-extract.bundle.mjs --minify && esbuild src/session/snapshot.ts --bundle --platform=node --target=node18 --format=esm --outfile=hooks/session-snapshot.bundle.mjs --minify && esbuild src/session/db.ts --bundle --platform=node --target=node18 --format=esm --outfile=hooks/session-db.bundle.mjs --external:better-sqlite3 --minify",
"prepublishOnly": "npm run build",
"dev": "npx tsx src/server.ts",
"setup": "npx tsx src/cli.ts setup",
"doctor": "npx tsx src/cli.ts doctor",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"benchmark": "npx tsx tests/benchmark.ts",
"test:use-cases": "npx tsx tests/use-cases.ts",
"test:compare": "npx tsx tests/context-comparison.ts",
"test:ecosystem": "npx tsx tests/ecosystem-benchmark.ts"
},
"dependencies": {
"@clack/prompts": "^1.0.1",
"@mixmark-io/domino": "^2.2.0",
"@modelcontextprotocol/sdk": "^1.26.0",
"better-sqlite3": "^12.6.2",
"picocolors": "^1.1.1",
"turndown": "^7.2.0",
"turndown-plugin-gfm": "^1.0.2",
"zod": "^3.25.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.19.11",
"@types/turndown": "^5.0.5",
"esbuild": "^0.27.3",
"tsx": "^4.21.0",
"typescript": "^5.7.0",
"vitest": "^4.0.18"
},
"packageManager": "pnpm@10.23.0+sha512.21c4e5698002ade97e4efe8b8b4a89a8de3c85a37919f957e7a0f30f38fbc5bbdd05980ffe29179b2fb6e6e691242e098d945d1601772cad0fef5fb6411e2a4b"
}