context-mode 0.5.8 → 0.5.10

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 10 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",
16
- "version": "0.5.8",
16
+ "version": "0.5.10",
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.5.8",
3
+ "version": "0.5.10",
4
4
  "description": "Claude Code MCP plugin that saves 98% of your context window. Sandboxed code execution in 10 languages, FTS5 knowledge base with BM25 ranking, and intent-driven search.",
5
5
  "author": {
6
6
  "name": "Mert Koseoğlu",
package/build/server.js CHANGED
@@ -5,7 +5,7 @@ import { z } from "zod";
5
5
  import { PolyglotExecutor } from "./executor.js";
6
6
  import { ContentStore } from "./store.js";
7
7
  import { detectRuntimes, getRuntimeSummary, getAvailableLanguages, hasBunRuntime, } from "./runtime.js";
8
- const VERSION = "0.5.8";
8
+ const VERSION = "0.5.10";
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.5.8",
3
+ "version": "0.5.10",
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",
@@ -5,28 +5,50 @@ description: |
5
5
  Bash/curl/cat when processing large outputs. The cost of routing through context-mode is near zero,
6
6
  but flooding context with 50KB+ of raw data is catastrophic.
7
7
 
8
- Use when: user wants to "fetch documentation", "look up the docs", "fetch the docs",
9
- "check the API reference", "find examples in docs", "index documentation", "search docs",
10
- "analyze logs", "check the logs", "read access.log", "debug the 500s",
11
- "run tests", "run the test suite", "check if tests pass", "npm test", "vitest", "pytest",
12
- "git log", "show recent commits", "list commits", "what changed", "diff between branches",
13
- "analyze output", "summarize output", "process data", "parse JSON", "parse CSV",
14
- "filter results", "extract errors", "check build output", "analyze dependencies",
15
- "process API response", "large file analysis", "hit this endpoint", "call the API",
16
- "check the response", "outdated packages", "count lines", "find TODOs",
17
- "analyze codebase", "security audit",
18
- "docker stats", "docker ps", "docker containers", "docker logs", "list containers",
19
- "container memory", "container CPU", "container usage", "check pods", "kubectl get",
20
- "kubectl describe", "kubectl logs", "list pods", "pod status", "k8s", "kubernetes",
21
- "list services", "list deployments", "helm list", "docker compose",
22
- "npm ls", "pip list", "brew list", "apt list", "cargo tree",
23
- "list processes", "ps aux", "top", "htop", "disk usage", "df -h", "du -sh",
24
- "network connections", "netstat", "lsof", "ss -tlnp",
25
- "list databases", "show tables", "describe table", "explain query",
26
- "aws s3 ls", "aws ec2 describe", "gcloud", "az vm list",
27
- or ANY operation where output might exceed 20 lines.
28
- Also use when routing output from other MCP tools (Playwright snapshots, Context7 docs,
29
- GitHub API responses, Sentry data) through index search to avoid context bloat.
8
+ Use when the user's intent involves ANY of these categories (and similar variations):
9
+
10
+ Documentation & APIs: fetch docs, look up docs, check API reference, find examples,
11
+ index documentation, search docs, read the changelog, check release notes.
12
+
13
+ Logs & Debugging: analyze logs, check logs, debug errors, find 500s, trace requests,
14
+ inspect error output, review stack traces.
15
+
16
+ Testing: run tests, check test results, test suite output, coverage report.
17
+
18
+ Version Control: git history, recent commits, what changed, diff between branches,
19
+ commit log, blame, changelog analysis.
20
+
21
+ Data Processing: parse JSON, parse CSV, analyze output, summarize output, process data,
22
+ filter results, extract patterns, transform data, count occurrences.
23
+
24
+ Infrastructure & Containers: list containers, container resource usage, container stats,
25
+ container memory, container CPU, pod status, service health, deployment status,
26
+ cluster info, orchestration state, compose services.
27
+
28
+ System & Processes: running processes, system resource usage, disk usage, memory usage,
29
+ network connections, open ports, file descriptors, system load.
30
+
31
+ Package & Dependency Management: list dependencies, outdated packages, dependency tree,
32
+ installed packages, audit vulnerabilities, license check.
33
+
34
+ Database: list databases, show tables, describe schema, explain query, query results.
35
+
36
+ Cloud & DevOps: cloud resources, storage buckets, compute instances, cloud functions,
37
+ DNS records, SSL certificates, CDN status, CI/CD pipeline output.
38
+
39
+ Code Analysis: count lines, find TODOs, analyze codebase, security audit, code metrics,
40
+ find patterns, codebase statistics.
41
+
42
+ API Endpoints: hit endpoint, call API, check response, test endpoint, API debugging.
43
+
44
+ Browser & UI Inspection: page snapshot, browser snapshot, extract elements, DOM structure,
45
+ page accessibility tree, inspect page, page elements, form fields, UI components,
46
+ screenshot analysis, web page structure, HTML elements, element selectors.
47
+
48
+ MCP Tool Output Routing: ANY large output from Playwright, Context7, GitHub API,
49
+ Sentry, or other MCP tools should be routed through index → search.
50
+
51
+ Or ANY operation where output might exceed 20 lines.
30
52
  ---
31
53
 
32
54
  # Context Mode: Default for All Large Output