v1.0.54
Major stability release with 12 bug fixes, 6 merged PRs, and 1 new platform adapter. Focus: compaction safety, upgrade reliability, cross-platform compatibility, and contributor experience.
Bug Fixes
Compaction & Session Safety
- fix(openclaw): stop owning compaction to preserve thinking blocks —
ownsCompaction: falseprevents Anthropicthinking/redacted_thinkingblock corruption during OpenClaw compaction. Fixes #191. - fix: defer cache dir cleanup to avoid breaking active sessions — Old plugin version directories are no longer deleted mid-session. Age-gated lazy cleanup (>1h) runs on next session start instead. Fixes #181.
- fix(hooks): self-heal updates ALL hook types, not just PreToolUse — After marketplace auto-update, stale paths in
settings.jsonare now corrected for SessionStart, PostToolUse, PreCompact, and UserPromptSubmit — not just PreToolUse. Fixes #187. - fix(hooks): clean stale hook paths from settings during upgrade —
configureAllHooks()now removes stale context-mode entries before registering fresh ones. PR #188 by @s-naveenkumar-001.
Upgrade Reliability
- fix: replace execSync with execFileSync in upgrade path — All 12
execSynccalls replaced withexecFileSyncacrosscli.tsandserver.tsinline fallback. Bypasses/bin/shwhich stalls in Claude Code's sandboxed execution context. Also eliminates shell injection surface. Fixes #185. - fix(executor): use execFileSync for rustc compilation — Paths with spaces (e.g., Windows
GitHub Actions Runnertemp dirs) no longer break Rust compilation. Originally from PR #193 by @escapeboy.
Cross-Platform
- fix: dot-prefix temp dirs to prevent VS Code auto-open — Changed temp directory prefix from
ctx-mode-to.ctx-mode-so VS Code file watchers ignore them. Fixes #186. - fix: defer AGENTS.md write to session_start —
writeRoutingInstructionsmoved from plugin init (gateway cwd) to session_start (real workspace path) in OpenClaw adapter. Includes path traversal prevention via regex + containment check. PR #183 by @DrakoTrogdor. - fix: use process.execPath and probe ~/.bun/bin for snap/PATH-limited envs — Snap Node.js and non-PATH bun installs now detected correctly.
getRuntimeSummary()fixed to handle full bun paths. PR #190 by @luispabon.
New Platform
- feat: add KiloCode platform adapter — Extends OpenCodeAdapter for both OpenCode and KiloCode platforms. Detects via
KILO/KILO_PIDenv vars and~/.config/kilo/directory. Includes routing instructions, tool-naming, and 9 tests. PR #167 by @mikij.
Improvements
- dx: add cross-batch search tip to batch_execute output — Each batch result now shows a tip directing the LLM to use
ctx_searchfor cross-source queries. - fix(store): scope batch_execute to exact source label —
ctx_batch_executeno longer leaks stale content from previous batches viaLIKEpartial matching. Uses exactsources.label = ?matching. AddssourceMatchModetype union,idx_sources_labelindex, andformatBatchQueryResults()extraction. PR #182 by @rich-jojo. - docs: add Windows notes for Codex AGENTS.md — PowerShell cmdlets, MSYS2 paths, absolute path requirements, and quoting guidance. PR #192 by @Minghou-Lei.
- test: isolate HOME during vitest runs — Tests no longer pollute contributor's real home directory with
~/.<client>/context-mode/folders. Per-suitesetup-home.tswith dual-layer isolation. PR #180 by @rich-jojo. - docs: move Privacy & Architecture section after Try It — README now leads with the problem statement and install instructions.
- ci: add GitHub Sponsors funding configuration
Contributors
Thanks to everyone who contributed to this release:
- @rich-jojo — PR #180 (test isolation), PR #182 (batch scoping)
- @s-naveenkumar-001 — PR #188 (stale hook cleanup)
- @DrakoTrogdor — PR #183 (AGENTS.md write fix)
- @luispabon — PR #190 (snap Node.js + bun detection)
- @Minghou-Lei — PR #192 (Windows docs)
- @mikij — PR #167 (KiloCode adapter)
- @escapeboy — rustc path fix (from PR #193)
- @jhhd88 — Issue #191 (thinking blocks bug report)
- @liby — Issue #181 (cache dir bug report)
- @benzntech — Issue #185 (spawnSync bug report)
- @Sophran-fbj — Issue #186 (VS Code temp files report)
- @vigo — Issue #187 (SessionStart hook error report)
Stats
- 46 files changed, 1280 insertions, 404 deletions
- 1277 tests passing across 40 test files
- 12 platform adapters supported (Claude Code, Gemini CLI, Cursor, VS Code Copilot, OpenCode, KiloCode, OpenClaw, Pi, Codex, Kiro, Zed, Antigravity)