github nicobailon/pi-subagents v0.3.2
v0.3.2 - Performance & Responsiveness

latest releases: v0.28.0, v0.27.0, v0.26.0...
4 months ago

Performance Improvements

  • 4x faster polling - Reduced interval from 1000ms to 250ms (efficient with mtime caching)
  • Mtime-based caching - status.json and output tail reads cached to avoid redundant I/O
  • Unified throttled updates - All onUpdate calls consolidated under 50ms throttle
  • Widget change detection - Hash-based change detection skips no-op re-renders
  • Array optimizations - Use concat instead of spread for chain progress updates

Bug Fixes

  • Timer leaks - Track and clear pendingTimer and cleanupTimers properly
  • Updates after close - processClosed flag prevents updates after process terminates
  • Session cleanup - Clear cleanup timers on session_start/switch/branch/shutdown

Installation

npx pi-subagents

Don't miss a new pi-subagents release

NewReleases is sending notifications on new releases.