Skip to content

v18.0.0 - Expiration System & Token Display Improvements

Choose a tag to compare

@sooth sooth released this 03 Jul 15:11
· 100 commits to main since this release

Breaking Changes

  • Removed v1 API support - server now uses v2 API exclusively
  • Removed Windows support from builds

Features

  • Automatic Session Expiration: Sessions now expire at the end of their 5-hour blocks
  • Server Auto-Purging: Server automatically removes expired data on each request
  • Token Type Breakdown: Project display now shows detailed breakdown:
    • Input tokens
    • Output tokens
    • Cache Create tokens
    • Cache Read tokens
  • Fixed Token Counting: All displays now correctly include cache tokens in totals

Improvements

  • Multi-directory Claude support (both ~/.claude and ~/.config/claude)
  • Project-level tracking with hostname breakdown
  • blocks-monitor CLI command for non-interactive monitoring
  • Consistent token counting across all commands

Technical Changes

  • Added expiresAt field to track session expiration times
  • Updated ServerSubmissionManager to use v2 API only
  • Simplified GitHub Actions workflows (Unix/macOS only)
  • Improved error handling for expired sessions

Server Deployment

The new server has been deployed to soothaa.pythonanywhere.com with:

  • Project-level token tracking
  • Automatic expiration of old sessions
  • v2-only API endpoints

Full Changelog: v17.0.0...v18.0.0