v3.5.9
Fixed
- Codex config corruption with tool approval entries (GitHub #191) — When Codex auto-adds per-tool approval entries (
[mcp_servers.lean-ctx.tools.ctx_read], etc.) toconfig.toml, the parent[mcp_servers.lean-ctx]section could be missing (e.g. after a v3.5.6 upgrade removed it).upsert_codex_tomlnow detects orphaned[mcp_servers.lean-ctx.*]sub-tables and inserts the parent section before them instead of appending at the end, which Codex's TOML parser rejected with "invalid transport". - AGENTS.md reference uses absolute path — The lean-ctx block in
~/.codex/AGENTS.mdnow references`~/.codex/LEAN-CTX.md`instead ofLEAN-CTX.md (same directory), preventing AI agents from misinterpreting the relative reference as the project working directory.
Security
- fast-uri 3.1.0 → 3.1.2 (VSCode extension) — Fixes GHSA-v39h-62p7-jpjc (malformed fragment decoding) and GHSA-q3j6-qgpj-74h6 (URI parsing vulnerability).
Improved
- Dashboard cockpit polish — Refined Context Explorer with improved layout, resizable panels, and better file tree navigation. Updated styling across all cockpit components for consistency. Improved graph visualization layout and memory inspector presentation.
Upgrade
lean-ctx update # recommended (auto-downloads + refreshes shell hooks)
cargo install lean-ctx # or
npm update -g lean-ctx-bin # or
brew upgrade lean-ctxNote: After upgrading via cargo/npm/brew, run
lean-ctx setupto refresh shell aliases.lean-ctx updatedoes this automatically.
Full Changelog: v3.5.9...v3.5.9