π 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:
bundetected β 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) β forCONTEXT_MODE_PROJECT_DIRshared-store users: scope search to current project (default), span all withproject: "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>andcontext-mode search <query>plus/context-mode:ctx-index&/context-mode:ctx-searchslash skills. - π― /goal persistence (#695 by @ken-jo) β
/goaldirectives 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-upgradewithout session restart.
Hooks & routing
- #725 bootstrap deferred ctx_ tools in subagent prompts* β closes #724 (@beastawakens). Claude-Code-gated
ToolSearchbootstrap so narrow read-only subagents (Explore et al.) don't stall. - #719 prevent hook stdin idle hangs (@looooown2006). New
CONTEXT_MODE_HOOK_STDIN_IDLE_MSenv (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 tobuildHookCommand; cross-adapter parity audit added.
Adapters
- #708 OpenCode in-process plugin host detection (@mikij) β
IN_PROCESS_PLUGIN_PLATFORMS+JS_RUNTIMESallowlist 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.execPathfallback to PATH node viaJS_RUNTIMESallowlist. - #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
#182invariant. - #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 testno longer clobbers contributor~/.claude/settings.json.
π¨ Features
- #729 Kimi Code CLI adapter (@bsormagec).
- #695 /goal persistence across compaction + resume (@ken-jo).
- #721 CLI
index+searchcommands (@dennesneumann). - #738 bun hook runtime auto-detect.
- #737 ctx_search
project:filter for shared-DB mode.
β‘ 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-opsfor 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 upgradeThen restart your MCP session (or run /reload-plugins in Claude Code).
π Full changelog
π€ 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? π