context-mode 1.0.34 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,14 +6,14 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Claude Code plugins by Mert Koseoğlu",
9
- "version": "1.0.34"
9
+ "version": "1.0.35"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "context-mode",
14
14
  "source": "./",
15
15
  "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.",
16
- "version": "1.0.34",
16
+ "version": "1.0.35",
17
17
  "author": {
18
18
  "name": "Mert Koseoğlu"
19
19
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "context-mode",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "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
5
  "author": {
6
6
  "name": "Mert Koseoğlu",
@@ -3,7 +3,7 @@
3
3
  "name": "Context Mode",
4
4
  "kind": "tool",
5
5
  "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.",
6
- "version": "1.0.34",
6
+ "version": "1.0.35",
7
7
  "sandbox": {
8
8
  "mode": "permissive",
9
9
  "filesystem_access": "full",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "context-mode",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "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
5
  "author": {
6
6
  "name": "Mert Koseoğlu",
package/build/cli.js CHANGED
@@ -501,14 +501,17 @@ async function upgrade() {
501
501
  p.log.step("Setting hook script permissions...");
502
502
  const permSet = adapter.setHookPermissions(pluginRoot);
503
503
  // Also ensure CLI binaries are executable (tsc doesn't set +x)
504
- for (const bin of ["build/cli.js", "cli.bundle.mjs"]) {
505
- const binPath = resolve(pluginRoot, bin);
506
- try {
507
- accessSync(binPath, constants.F_OK);
508
- execSync(`chmod +x "${binPath}"`, { stdio: "ignore" });
509
- permSet.push(binPath);
504
+ // chmod is POSIX-only skip on Windows where execute bits are irrelevant
505
+ if (process.platform !== "win32") {
506
+ for (const bin of ["build/cli.js", "cli.bundle.mjs"]) {
507
+ const binPath = resolve(pluginRoot, bin);
508
+ try {
509
+ accessSync(binPath, constants.F_OK);
510
+ execSync(`chmod +x "${binPath}"`, { stdio: "ignore" });
511
+ permSet.push(binPath);
512
+ }
513
+ catch { /* not found — skip */ }
510
514
  }
511
- catch { /* not found — skip */ }
512
515
  }
513
516
  if (permSet.length > 0) {
514
517
  p.log.success(color.green("Permissions set") + color.dim(` — ${permSet.length} hook script(s)`));