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
102 lines (102 loc) · 4.14 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 4.14 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
{
"name": "context-mode",
"version": "1.0.75",
"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",
"openclaw",
"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",
"openclaw": {
"extensions": [
"./build/openclaw-plugin.js"
]
},
"bugs": "https://github.com/mksglu/context-mode/issues",
"main": "./build/opencode-plugin.js",
"exports": {
".": "./build/opencode-plugin.js",
"./plugin": "./build/opencode-plugin.js",
"./openclaw": "./build/openclaw-plugin.js",
"./cli": "./cli.bundle.mjs"
},
"bin": {
"context-mode": "./cli.bundle.mjs"
},
"files": [
"build",
"hooks",
"configs",
"server.bundle.mjs",
"cli.bundle.mjs",
"skills",
".claude-plugin",
".openclaw-plugin",
".mcp.json",
"openclaw.plugin.json",
"start.mjs",
"scripts/postinstall.mjs",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc && node -e \"if(process.platform!=='win32'){require('fs').chmodSync('build/cli.js',0o755)}\" && npm run bundle",
"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",
"version-sync": "node scripts/version-sync.mjs",
"version": "node scripts/version-sync.mjs && git add .claude-plugin/plugin.json .claude-plugin/marketplace.json .openclaw-plugin/openclaw.plugin.json .openclaw-plugin/package.json openclaw.plugin.json .pi/extensions/context-mode/package.json",
"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",
"install:openclaw": "node -e \"if(process.platform==='win32'){console.error('OpenClaw install requires bash (Git Bash or WSL)');process.exit(1)}else{require('child_process').execSync('bash scripts/install-openclaw-plugin.sh',{stdio:'inherit'})}\"",
"postinstall": "node scripts/postinstall.mjs"
},
"dependencies": {
"@clack/prompts": "^1.0.1",
"@mixmark-io/domino": "^2.2.0",
"@modelcontextprotocol/sdk": "^1.26.0",
"picocolors": "^1.1.1",
"turndown": "^7.2.0",
"turndown-plugin-gfm": "^1.0.2",
"zod": "^3.25.0"
},
"optionalDependencies": {
"better-sqlite3": "^12.6.2"
},
"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": "[email protected]+sha512.21c4e5698002ade97e4efe8b8b4a89a8de3c85a37919f957e7a0f30f38fbc5bbdd05980ffe29179b2fb6e6e691242e098d945d1601772cad0fef5fb6411e2a4b"
}