context-mode 0.9.14 → 0.9.15
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.
|
@@ -13,7 +13,7 @@
|
|
|
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": "0.9.
|
|
16
|
+
"version": "0.9.15",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "Mert Koseoğlu"
|
|
19
19
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "context-mode",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.15",
|
|
4
4
|
"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.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Mert Koseoğlu",
|
package/build/cli.js
CHANGED
|
@@ -424,6 +424,23 @@ async function upgrade() {
|
|
|
424
424
|
catch { /* some files may not exist in source */ }
|
|
425
425
|
}
|
|
426
426
|
s.stop(color.green(`Updated in-place to v${newVersion}`));
|
|
427
|
+
// Fix registry to point back to this pluginRoot (self-heal may have changed it)
|
|
428
|
+
try {
|
|
429
|
+
const ipPath = resolve(homedir(), ".claude", "plugins", "installed_plugins.json");
|
|
430
|
+
const ipRaw = JSON.parse(readFileSync(ipPath, "utf-8"));
|
|
431
|
+
for (const [key, entries] of Object.entries(ipRaw.plugins || {})) {
|
|
432
|
+
if (!key.toLowerCase().includes("context-mode"))
|
|
433
|
+
continue;
|
|
434
|
+
for (const entry of entries) {
|
|
435
|
+
entry.installPath = pluginRoot;
|
|
436
|
+
entry.version = newVersion;
|
|
437
|
+
entry.lastUpdated = new Date().toISOString();
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
writeFileSync(ipPath, JSON.stringify(ipRaw, null, 2) + "\n", "utf-8");
|
|
441
|
+
p.log.info(color.dim(" Registry synced to " + pluginRoot));
|
|
442
|
+
}
|
|
443
|
+
catch { /* best effort */ }
|
|
427
444
|
// Install production deps (rebuild native modules if needed)
|
|
428
445
|
s.start("Installing production dependencies");
|
|
429
446
|
execSync("npm install --production --no-audit --no-fund", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "context-mode",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Claude Code MCP plugin that saves 98% of your context window. Sandboxed code execution, FTS5 knowledge base, and intent-driven search.",
|
|
6
6
|
"author": "Mert Koseoğlu",
|