github mksglu/context-mode v1.0.42
1.0.42

latest releases: v1.0.46, v1.0.45, v1.0.44...
12 hours ago

Platform-Aware Tool Naming (11 platforms)

Block/redirect messages now use the correct MCP tool naming convention for each platform. Previously, all platforms received Claude Code's naming (mcp__plugin_context-mode_context-mode__ctx_*), causing tools to be unfindable on 10 of 11 platforms.

Evidence-based conventions (from official docs):

Platform Pattern
Claude Code (plugin) mcp__plugin_context-mode_context-mode__<tool>
Gemini CLI / Antigravity mcp__<server>__<tool>
OpenCode / VS Code Copilot <server>_<tool>
Kiro @<server>/<tool>
Zed mcp:<server>:<tool>
Cursor / Codex / OpenClaw / Pi bare <tool>

New hooks/core/tool-naming.mjs provides getToolName(platform, bareTool) helper. All platform hooks and plugins pass their platform identifier. 32 new tests.

Routing File Auto-Write Disabled (#158, #164)

Breaking: start.mjs and server.ts no longer auto-write routing instruction files (CLAUDE.md, GEMINI.md, AGENTS.md, etc.) to project directories. This was causing git tree pollution and double context injection.

  • Hook-capable platforms (Claude Code, Gemini CLI, OpenCode, OpenClaw, VS Code Copilot): No change needed — routing is injected via SessionStart hook in-memory.
  • Non-hook platforms (Codex, Zed, Cursor, Kiro, Antigravity): Manual setup required — copy the routing file from configs/<platform>/ to your project root. See README for instructions.

README Updated

Manual routing file setup instructions added for non-hook platforms.

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.