You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's New
Thread Session Cleanup
Orphaned session cleanup — deleting a forum post now removes its session entry from state.json instead of leaving it forever. Archive and eviction preserve the entry so sessions can be resumed.
Startup pruning — stale thread sessions are pruned on startup (keeps newest 50 per project)
Handler Lifecycle Improvements
Consolidated cleanup — all thread stop paths (delete, archive, evict, project removal) go through a single stopThreadHandler() with a reason param
Async eviction — eviction now properly completes before a new handler is created
At-capacity handling — users get a reply ("All handlers are busy. Please try again in a moment.") instead of silent message drops
Parallel shutdown — bot shutdown and forum thread joining now run in parallel via Promise.all()
Friendlier CLI
Replaced all user-facing "daemon" references with "disclaw"
disclaw start now says "disclaw is clawing away" 🦀
"Happy clauding!" after project registration
Housekeeping
Removed 3 dead functions from state.ts
Extracted resolveChannelForHandler() to deduplicate channel resolution logic