You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

context-mode

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

context-mode - npm Package Compare versions

Comparing version
1.0.34
to
1.0.35
+2
-2
.claude-plugin/marketplace.json

@@ -9,3 +9,3 @@ {

"description": "Claude Code plugins by Mert Koseoğlu",
"version": "1.0.34"
"version": "1.0.35"
},

@@ -17,3 +17,3 @@ "plugins": [

"description": "Claude Code MCP plugin that saves 98% of your context window. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",
"version": "1.0.34",
"version": "1.0.35",
"author": {

@@ -20,0 +20,0 @@ "name": "Mert Koseoğlu"

{
"name": "context-mode",
"version": "1.0.34",
"version": "1.0.35",
"description": "MCP server that saves 98% of your context window with session continuity. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and automatic state restore across compactions.",

@@ -5,0 +5,0 @@ "author": {

@@ -6,3 +6,3 @@ {

"description": "OpenClaw plugin that saves 98% of your context window. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",
"version": "1.0.34",
"version": "1.0.35",
"sandbox": {

@@ -9,0 +9,0 @@ "mode": "permissive",

{
"name": "context-mode",
"version": "1.0.34",
"version": "1.0.35",
"description": "OpenClaw plugin that saves 98% of your context window. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",

@@ -5,0 +5,0 @@ "author": {

@@ -504,10 +504,13 @@ #!/usr/bin/env node

// Also ensure CLI binaries are executable (tsc doesn't set +x)
for (const bin of ["build/cli.js", "cli.bundle.mjs"]) {
const binPath = resolve(pluginRoot, bin);
try {
accessSync(binPath, constants.F_OK);
execSync(`chmod +x "${binPath}"`, { stdio: "ignore" });
permSet.push(binPath);
// chmod is POSIX-only — skip on Windows where execute bits are irrelevant
if (process.platform !== "win32") {
for (const bin of ["build/cli.js", "cli.bundle.mjs"]) {
const binPath = resolve(pluginRoot, bin);
try {
accessSync(binPath, constants.F_OK);
execSync(`chmod +x "${binPath}"`, { stdio: "ignore" });
permSet.push(binPath);
}
catch { /* not found — skip */ }
}
catch { /* not found — skip */ }
}

@@ -514,0 +517,0 @@ if (permSet.length > 0) {

@@ -6,3 +6,3 @@ {

"description": "OpenClaw plugin that saves 98% of your context window. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",
"version": "1.0.34",
"version": "1.0.35",
"sandbox": {

@@ -9,0 +9,0 @@ "mode": "permissive",

{
"name": "context-mode",
"version": "1.0.34",
"version": "1.0.35",
"type": "module",

@@ -62,3 +62,3 @@ "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.",

"scripts": {
"build": "tsc && chmod +x build/cli.js",
"build": "tsc && node -e \"if(process.platform!=='win32'){require('fs').chmodSync('build/cli.js',0o755)}\"",
"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",

@@ -78,4 +78,4 @@ "version-sync": "node scripts/version-sync.mjs",

"test:ecosystem": "npx tsx tests/ecosystem-benchmark.ts",
"install:openclaw": "bash scripts/install-openclaw-plugin.sh",
"postinstall": "[ -n \"$OPENCLAW_STATE_DIR\" ] && printf '\\n OpenClaw detected. Run: npm run install:openclaw\\n\\n' || true"
"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 -e \"process.env.OPENCLAW_STATE_DIR && console.log('\\n OpenClaw detected. Run: npm run install:openclaw\\n')\""
},

@@ -82,0 +82,0 @@ "dependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display