Releases: kloogans/disclaw
Releases · kloogans/disclaw
v0.2.5
What's New
- 1M context window support — Use
/model opus[1m]to enable the 1M context window for Opus models via the SDKbetasparameter - Model name in usage footer — Per-turn footer now shows the active model and a
(1M)indicator when applicable (e.g.opus 4.6 (1M) · 3 in · 51 out · ctx 0%) - Guard against non-Opus 1M —
/model sonnet[1m]is blocked with a clear error since the API doesn't support it yet - Fix process crash on
/model— Unhandled promise rejection fromsetModelon an active session no longer kills the process
v0.2.4
v0.2.3
What's New
/ping command
New /ping slash command shows WebSocket latency - useful for checking if the bot is alive from your phone.
Version logging
Version number is now logged on startup, visible in disclaw logs for easier debugging after updates.
Docs aligned with codebase
- Fixed usage footer example (now shows
ctx %instead of cost) - Corrected "Session pinning" description (pins session ID, not response)
- Completed GETTING-STARTED slash commands table (was missing 7 commands)
- Fixed
settingSourcesdefault in option reference - Updated session management description for new
/handoffbehavior - Removed "Lightweight" from features (size changes too often to track)
Em dash purge
All em dashes removed from user-facing CLI output and documentation.
v0.2.2
v0.2.1
What's New
Thread Session Cleanup
- Orphaned session cleanup — deleting a forum post now removes its session entry from
state.jsoninstead 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 startnow 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
v0.2.0
What's New
Thread Support
- Per-thread Claude sessions — create Discord threads in any text channel and each gets its own independent Claude session with separate context
- Automatic lifecycle management — threads are joined on creation, sessions are cleaned up on archive/delete, with LRU eviction at capacity (max 10 concurrent threads)
- Parallel conversations — work on multiple tasks simultaneously within the same project without context interference
Forum Channel Support
- Forum channels — register a forum channel where every post is a thread with its own Claude session, great for organizing tasks, bugs, and features
- Auto-detection — when using an existing channel ID, the channel type (text/forum) is automatically detected via the Discord API
- Channel type persistence —
channelTypefield saved to config so the bot knows the channel type across restarts
Fixes
- Bot connectivity polling — fixed race condition where most bots showed "not yet connected" on startup. Log offsets are now captured before daemon spawn to reliably detect handler_ready events
- Double-response bug — fixed parent channel responding to thread creation system messages by filtering
ThreadStarterMessagetypes
Docs
- README and Getting Started updated to cover threads, forum channels, and text vs forum channel choice
disclaw listanddisclaw statusnow show channel type
v0.1.2
Fixes
- Fix npm bin path validation warning
- Handle Ctrl+C gracefully in interactive prompts (no more AbortError stack trace)
Improvements
- Polished CLI experience with colors, spinners, and braille dot art logo
- All interactive commands (setup, add, token-update) have consistent styled output
v0.1.0
disclaw v0.1.0
Initial public release. Remote Claude Code control via Discord.
Highlights
- One channel per project with a single bot managing them all
- Live response streaming with thinking previews
- Permission approval via Discord buttons
- Slash commands for model switching, undo, diff, sessions, and more
- Auto-start on login (systemd, macOS LaunchAgent, Windows Task Scheduler)
- Token/cost tracking and context window usage per turn
- Image and document support
Install
npm install -g disclawSee GETTING-STARTED.md for setup instructions.