context-mode 0.8.0 → 0.8.1
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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +1 -1
- package/build/cli.js +7 -4
- package/build/server.js +1 -1
- package/package.json +1 -1
- package/server.bundle.mjs +63 -57
|
@@ -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.8.
|
|
16
|
+
"version": "0.8.1",
|
|
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.8.
|
|
3
|
+
"version": "0.8.1",
|
|
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/README.md
CHANGED
|
@@ -202,7 +202,7 @@ npm run test:all # full suite
|
|
|
202
202
|
## Contributors
|
|
203
203
|
|
|
204
204
|
<a href="https://github.com/mksglu/claude-context-mode/graphs/contributors">
|
|
205
|
-
<img src="https://contrib.rocks/image?repo=mksglu/claude-context-mode" />
|
|
205
|
+
<img src="https://contrib.rocks/image?repo=mksglu/claude-context-mode&columns=8&anon=1" />
|
|
206
206
|
</a>
|
|
207
207
|
|
|
208
208
|
## License
|
package/build/cli.js
CHANGED
|
@@ -123,7 +123,8 @@ function semverGt(a, b) {
|
|
|
123
123
|
* Doctor
|
|
124
124
|
* ------------------------------------------------------- */
|
|
125
125
|
async function doctor() {
|
|
126
|
-
|
|
126
|
+
if (process.stdout.isTTY)
|
|
127
|
+
console.clear();
|
|
127
128
|
p.intro(color.bgMagenta(color.white(" context-mode doctor ")));
|
|
128
129
|
const s = p.spinner();
|
|
129
130
|
s.start("Running diagnostics");
|
|
@@ -142,7 +143,7 @@ async function doctor() {
|
|
|
142
143
|
" — Using Node.js (install Bun for 3-5x speed boost)");
|
|
143
144
|
}
|
|
144
145
|
// Language coverage
|
|
145
|
-
const total =
|
|
146
|
+
const total = 11;
|
|
146
147
|
const pct = ((available.length / total) * 100).toFixed(0);
|
|
147
148
|
p.log.info(`Language coverage: ${available.length}/${total} (${pct}%)` +
|
|
148
149
|
color.dim(` — ${available.join(", ")}`));
|
|
@@ -299,7 +300,8 @@ async function doctor() {
|
|
|
299
300
|
* Upgrade
|
|
300
301
|
* ------------------------------------------------------- */
|
|
301
302
|
async function upgrade() {
|
|
302
|
-
|
|
303
|
+
if (process.stdout.isTTY)
|
|
304
|
+
console.clear();
|
|
303
305
|
p.intro(color.bgCyan(color.black(" context-mode upgrade ")));
|
|
304
306
|
let pluginRoot = getPluginRoot();
|
|
305
307
|
const settingsPath = getSettingsPath();
|
|
@@ -498,7 +500,8 @@ async function upgrade() {
|
|
|
498
500
|
* Setup
|
|
499
501
|
* ------------------------------------------------------- */
|
|
500
502
|
async function setup() {
|
|
501
|
-
|
|
503
|
+
if (process.stdout.isTTY)
|
|
504
|
+
console.clear();
|
|
502
505
|
p.intro(color.bgCyan(color.black(" context-mode setup ")));
|
|
503
506
|
const s = p.spinner();
|
|
504
507
|
// Step 1: Detect runtimes
|
package/build/server.js
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from "zod";
|
|
|
5
5
|
import { PolyglotExecutor } from "./executor.js";
|
|
6
6
|
import { ContentStore, cleanupStaleDBs } from "./store.js";
|
|
7
7
|
import { detectRuntimes, getRuntimeSummary, getAvailableLanguages, hasBunRuntime, } from "./runtime.js";
|
|
8
|
-
const VERSION = "0.8.
|
|
8
|
+
const VERSION = "0.8.1";
|
|
9
9
|
const runtimes = detectRuntimes();
|
|
10
10
|
const available = getAvailableLanguages(runtimes);
|
|
11
11
|
const server = new McpServer({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "context-mode",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
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",
|