Skip to content

v0.18.1 — Project Switch Performance Fix

Choose a tag to compare

@OpenSource03 OpenSource03 released this 10 Mar 04:43
· 30 commits to master since this release

Changes

⚡ Performance

  • Async file listing — converted synchronous readdirSync calls to async fs.promises.readdir with periodic event-loop yielding every 25 directories, preventing main-process freezes on large projects
  • Single recursive watcher — replaced per-directory watcher swarm (up to 5,000 individual fs.watch handles) with a single fs.watch(cwd, { recursive: true }) per project, leveraging native FSEvents (macOS) and ReadDirectoryChangesW (Windows) for near-zero overhead
  • Lazy panel loading — Project Files panel now skips all file fetching and watcher setup when the panel is not visible, avoiding unnecessary I/O during project switching

📦 Dependencies

  • SDK bump to @anthropic-ai/claude-agent-sdk 0.2.72

Full Changelog: v0.18.0...v0.18.1