Skip to content

v0.2.1

Choose a tag to compare

@kloogans kloogans released this 13 Mar 21:38
· 10 commits to main since this release
f77fb92

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