Language: bash Source: anthropics/claude-code#37473 Estimated lines: 45
Dispatch sessions fail silently due to stale local-agent-mode-sessions directories that persist after crashes, with no error message and no way to recover without manual filesystem cleanup.
A bash CLI tool that identifies stale Dispatch session directories by checking process liveness and age, removes orphaned entries, and reports what was cleaned up.
["dispatch-cleaner.sh","README.md"]