github mksglu/context-mode v1.0.152

latest release: v1.0.153
3 hours ago

πŸš€ v1.0.152 β€” biggest community release yet

24 PRs merged Β· 21 issues closed Β· 17 contributors since v1.0.151. Massive thank you to everyone who shipped something this cycle. πŸ’œ


✨ Highlights

  • πŸ†• New adapter: Kimi Code CLI (#729 by @bsormagec) β€” context-mode now supports 15 platforms. Full hook integration: PreToolUse, PostToolUse, SessionStart, SessionEnd, PreCompact, Stop. Deny-only PreToolUse parser matching the upstream Kimi runner contract.
  • ⚑ bun hook runtime auto-detect (#738) β€” zero-config: bun detected β†’ 10Γ— cold-start speedup (~270ms saved per tool-call). Silent fallback to node if bun missing or <1.0. Across 10 hook-emitting adapters.
  • πŸ” ctx_search project: filter (#737) β€” for CONTEXT_MODE_PROJECT_DIR shared-store users: scope search to current project (default), span all with project: "global", or target a specific path. Conditional schema registration β€” invisible to default-install users.
  • πŸ›‘οΈ Stale upgrade-path family (#711 / #727 / #710) β€” three-pronged fix: stop baking absolute paths during /ctx-upgrade (#713), Layer 1 forward-heal in start.mjs (#728), Windows shell-snapshot PATH self-heal across cli + sessionstart.
  • πŸ”’ Security hardening (#716 by @kerneltoast) β€” 9 independent containment + info-disclosure + test-isolation fixes; +529 test lines.
  • 🩹 Marketplace self-heal (#699 by @kerneltoast) β€” repair partial plugin cache install from marketplace clone; 32 new tests including v1.0.150 partial-install reproducer.
  • πŸ–₯️ CLI surface expansion (#721 by @dennesneumann) β€” context-mode index <path> and context-mode search <query> plus /context-mode:ctx-index & /context-mode:ctx-search slash skills.
  • 🎯 /goal persistence (#695 by @ken-jo) β€” /goal directives survive compaction and resume, scoped to the active project.

🐞 Bug Fixes

Upgrade flow

  • #713 stop baking stale version paths during /ctx-upgrade β€” closes #711 (@sebastianbreguel). Windows first-hook-fire window narrowed via hooks.json-only normalize.
  • #728 normalize stale version paths after CC auto-update β€” closes #727 (@lbzepoqo). Layer 1 forward-heal + extended inline SessionStart heal.
  • #699 self-heal partial plugin cache install from marketplace clone (@kerneltoast). Two entry points: SessionStart and start.mjs (runs BEFORE Algo-D4 fail-fast).
  • Shell-snapshot stale PATH (#710) β€” bash commands now keep working after /ctx-upgrade without session restart.

Hooks & routing

  • #725 bootstrap deferred ctx_ tools in subagent prompts* β€” closes #724 (@beastawakens). Claude-Code-gated ToolSearch bootstrap so narrow read-only subagents (Explore et al.) don't stall.
  • #719 prevent hook stdin idle hangs (@looooown2006). New CONTEXT_MODE_HOOK_STDIN_IDLE_MS env (default 1500ms). Reject-on-partial preserved (silent JSON corruption prevention).
  • #712 ctx doctor reports missing Gemini CLI hooks β€” one-line fix: gemini-cli/ subdir restored to buildHookCommand; cross-adapter parity audit added.

Adapters

  • #708 OpenCode in-process plugin host detection (@mikij) β€” IN_PROCESS_PLUGIN_PLATFORMS + JS_RUNTIMES allowlist precedent established.
  • #734 OpenCode Zod v3β†’v4 schema conversion (@maxmaxou2) β€” upstream OpenCode dev branch is Zod 4.1.8 catalog-wide.
  • #731 ctx_execute(javascript) fails on opencode.exe self-contained binary β€” process.execPath fallback to PATH node via JS_RUNTIMES allowlist.
  • #704 Codex: approve marketplace MCP tools by default (@NgoQuocViet2001).
  • #722 Codex: set platform env for plugin MCP server (@NgoQuocViet2001).
  • #730 Codex: Windows plugin symlink docs (@BupTyo3).
  • #733 Guard Codex plugin install paths (@ovsw) β€” project-dir poisoning prevention from Codex Desktop dated-rollout transcripts.
  • #741 Pi adapter routing + MCP bridge + startup diet + pricing (@jalexandre0).
  • #709 executor: handle Windows shell runtimes robustly (@NgoQuocViet2001).
  • #718 openclaw: adapter compatibility + tool contracts (@cronus42).

Core / server

  • #698 query_scope for batch search + throttle visibility + cache observability + insight clarity (@matiasduartee) β€” closes #696 & #697. Preserves #182 invariant.
  • #717 / #736 show ran commands in ctx_execute / ctx_batch_execute β€” single server-side fix benefits all 15 adapters.
  • #706 insight: count analytics totals independently (@NgoQuocViet2001).
  • #705 insight test: use junction for Windows node_modules link (@NgoQuocViet2001).

Security

  • #716 containment + info-disclosure + test-isolation hardening (@kerneltoast).
  • #702 sandbox HOME in CLAUDE_CONFIG_DIR security suite (@kerneltoast) β€” npm test no longer clobbers contributor ~/.claude/settings.json.

🎨 Features

⚑ Performance

  • #715 remove redundant allocations in search reranking + analytics rendering (@sebastianbreguel).
  • bun runtime auto-detect: ~270ms cold-start saved per hook invocation when bun is available.

πŸ“š Docs / Ops

  • #693 pin GitHub release title convention to bare version.
  • New ops skill: context-mode-ops for parallel issue/PR/release orchestration.

πŸ™Œ Contributors β€” one by one

Massive thank you to everyone who shipped in this cycle. Listed in alphabetical order:

Contributor PRs Highlights
@beastawakens #725 Routing bootstrap for deferred ctx_* tools
@bsormagec #729 Brand new Kimi Code adapter β€” entire 15th platform
@BupTyo3 #730 Codex Windows symlink docs
@cronus42 #718 openclaw adapter compatibility + tool contracts
@dennesneumann #721 CLI index/search commands
@jalexandre0 #741 Pi adapter major rework
@ken-jo #695 /goal persistence across compaction
@kerneltoast #699, #702, #716 Marketplace self-heal (1858 LoC) + security hardening (913 LoC) + test sandboxing
@lbzepoqo #728 Stale CC paths after auto-update
@looooown2006 #719 Hook stdin idle hangs prevention
@matiasduartee #698 query_scope + throttle + cache observability
@maxmaxou2 #734 OpenCode Zod v3β†’v4 schema migration
@mikij #708 OpenCode in-process plugin host detection
@NgoQuocViet2001 #704, #705, #706, #709, #722 Windows reliability + Codex specialist β€” five focused PRs across executor, insight, codex marketplace, codex env
@ovsw #733 Codex Desktop transcript project-dir poisoning guards
@sebastianbreguel #713, #715 Upgrade-path fix + reranking/analytics perf

Plus maintenance/ops by @mksglu.


🎟️ Closed issues (21)

#691 Β· #694 Β· #696 Β· #697 Β· #703 Β· #707 Β· #710 Β· #711 Β· #712 Β· #717 Β· #724 Β· #727 Β· #731 Β· #732 Β· #735 Β· #736 Β· #737 Β· #738 Β· #740 Β· #742 Β· #743


πŸ“¦ Install / upgrade

# Fresh install (Claude Code plugin marketplace)
/plugin add https://github.com/mksglu/context-mode

# npm global
npm install -g context-mode@1.0.152

# Existing install β€” in-place upgrade
context-mode upgrade

Then restart your MCP session (or run /reload-plugins in Claude Code).

πŸ”— Full changelog

v1.0.151...v1.0.152


πŸ€– Powered by context-mode-ops parallel orchestration β€” 5 paralel fix wave'i + grill-me discipline + Git arkeolog grounding + refs/-anchored claim verification. Codex EM bot'unu geΓ§tik mi acaba? πŸ˜‰

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.