v3.5.3 — Bug Fixes & Stability
Background Agent
- Handle
session.errorevents — zombie tasks that held concurrency slots forever are now properly cleaned up with error status, concurrency release, and full timer/queue cleanup - Error-status tasks are now skipped during queue processing, preventing attempts to start dead tasks
- Stale pending tasks are now removed from
queuesByKeywhen pruned, eliminating orphan queue entries - Extracted
session.idlehandling and shared cleanup logic into dedicated modules for maintainability
Auth
- Multi-layer auth injection for desktop app compatibility — tries 5 strategies in order (setConfig → interceptors → fetch wrapper → mutable config → top-level fetch) instead of single
setConfigapproach that broke on some SDK versions
CLI Run
- Session-scoped event subscription —
event.subscribe()now passesdirectoryto prevent cross-session interference - Added 10s stabilization period after first meaningful work before checking completion, preventing premature exits
Prometheus
- Case-insensitive agent name matching — display names like "Prometheus (Plan Builder)" and "PROMETHEUS" are now correctly detected
Slash Commands
- Better error messages for marketplace plugin commands (
:prefix) — directs users to.claude/commands/
What's Changed
Full Changelog: v3.5.2...v3.5.3