Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 575 Bytes

File metadata and controls

17 lines (10 loc) · 575 Bytes

dispatch-session-cleaner

Language: bash Source: anthropics/claude-code#37473 Estimated lines: 45

Problem

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.

Solution

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.

Expected Files

["dispatch-cleaner.sh","README.md"]