Skip to content

Releases: mboss37/tokenwatch

Release v0.1.3: Bug Fix Release

Choose a tag to compare

@mboss37 mboss37 released this 17 Aug 15:59

πŸ› Bug Fix Release

Critical Fix

  • Fixed validation bug that prevented new time periods (90d, 1y, all) from working
  • v0.1.2 was broken - this release fixes the functionality

What Was Fixed

  • 90d period: Now works correctly
  • 1y period: Now works correctly
  • all period: Now works correctly
  • Watch mode: Works with all periods

Extended Time Periods (Now Working)

    • Last 24 hours
    • Last 7 days (default)
    • Last 30 days
    • Last 90 days
    • Last 1 year
    • Last 5 years (maximum)

Watch Mode

  • Watch mode now works with all time periods
  • Real-time monitoring for any historical period

πŸ“¦ Downloads

Pre-built binaries available for:

  • Linux (AMD64 & ARM64)
  • macOS (Intel & Apple Silicon)
  • Windows (AMD64)

πŸ”§ Installation

# Download and install (Linux/macOS)
wget https://github.com/mboss37/tokenwatch/releases/download/v0.1.3/tokenwatch-linux-amd64
chmod +x tokenwatch-linux-amd64
sudo mv tokenwatch-linux-amd64 /usr/local/bin/tokenwatch

# Test installation
tokenwatch --version

⚠️ Important Note

If you downloaded v0.1.2, please upgrade to v0.1.3 as v0.1.2 had a critical bug that prevented the new time periods from working.

Release v0.1.2: Extended Time Periods

Choose a tag to compare

@mboss37 mboss37 released this 17 Aug 15:51

πŸš€ New Features

Extended Time Periods

  • 90d: Last 90 days of usage data
  • 1y: Last 1 year of usage data
  • all: Last 5 years of usage data (maximum practical limit)

Watch Mode Improvements

  • Watch mode now works with all time periods
  • Real-time monitoring for any historical period
  • Perfect for long-term trend analysis

API Compatibility

  • Confirmed OpenAI API supports up to 5+ years of data
  • Enhanced pagination handling for longer periods
  • Improved error handling and timeouts

πŸ“¦ Downloads

Pre-built binaries available for:

  • Linux (AMD64 & ARM64)
  • macOS (Intel & Apple Silicon)
  • Windows (AMD64)

πŸ”§ Installation

# Download and install (Linux/macOS)
wget https://github.com/mboss37/tokenwatch/releases/download/v0.1.2/tokenwatch-linux-amd64
chmod +x tokenwatch-linux-amd64
sudo mv tokenwatch-linux-amd64 /usr/local/bin/tokenwatch

# Test installation
tokenwatch --version

πŸ“š Usage Examples

# New extended periods
tokenwatch usage --period 90d    # Last 90 days
tokenwatch usage --period 1y     # Last 1 year
tokenwatch usage --period all    # Last 5 years

# Watch mode with any period
tokenwatch usage -w -p 90d       # Watch 90-day period
tokenwatch usage -w -p 1y        # Watch 1-year period
tokenwatch usage -w -p all       # Watch 5-year period

TokenWatch CLI v0.1.1 - Fixed Versioning & Binary Naming

Choose a tag to compare

@mboss37 mboss37 released this 17 Aug 15:12

What's New in v0.1.1

πŸ› Bug Fixes

  • Fixed versioning system to use git tags instead of hardcoded version
  • Fixed binary naming (creates 'tokenwatch' instead of 'root')
  • Improved version command output

πŸ”§ Improvements

  • Updated all documentation to reference v0.1.1
  • Enhanced installation instructions
  • Better user and developer guides

πŸ“¦ Installation

Download the appropriate binary for your platform above, or use:

go install github.com/mboss37/tokenwatch/cmd/root@v0.1.1

πŸš€ Features

  • OpenAI token consumption monitoring
  • Real-time watch mode (1-day period)
  • Smart period recommendations (1d, 7d, 30d)
  • Debug mode for API troubleshooting
  • Intelligent caching with watch mode bypass