Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: onllm-dev/onWatch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.11.31
Choose a base ref
...
head repository: onllm-dev/onWatch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.11.32
Choose a head ref
  • 15 commits
  • 35 files changed
  • 6 contributors

Commits on Mar 24, 2026

  1. feat: use PDF vector icon for crisp menubar rendering

    - Use PDF icon via systray.SetIcon for sharp 4K display support
    - Fall back to PNG template icons if PDF unavailable
    - Add thin space between icon and text in tray display
    - Add icon_test.go with PDF/PNG validation tests
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    2 people authored and Jinquan Shi committed Mar 24, 2026
    Configuration menu
    Copy the full SHA
    2ff9dac View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2026

  1. feat: add OpenRouter provider for credit/usage monitoring

    Add OpenRouter as a new provider for tracking API credit usage,
    daily/weekly/monthly spending, and rate limits.
    
    Polls GET /api/v1/auth/key for usage data including:
    - Total usage (USD)
    - Daily/weekly/monthly usage breakdowns
    - Credit limit and remaining balance (when configured)
    - Rate limit info
    - Free tier detection
    
    Implementation follows the existing provider pattern (Z.ai/MiniMax):
    - internal/api/openrouter_client.go: HTTP client with Bearer auth
    - internal/api/openrouter_types.go: Response structs and snapshot type
    - internal/store/openrouter_store.go: SQLite storage and cycle tracking
    - internal/tracker/openrouter_tracker.go: Delta tracking and projections
    - internal/agent/openrouter_agent.go: Polling agent
    
    Integration points:
    - Config: OPENROUTER_API_KEY env var
    - Dashboard: Provider tab with usage cards and charts
    - Auto-detection: Uses env var (no local auth file)
    
    Env var: OPENROUTER_API_KEY
    omnissiah-comelse committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    bd8ed16 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2026

  1. Revert PDF icon, use PNG for macOS menu bar

    macOS systray works better with PNG template/retina icons than PDF.
    Remove PDF icon support and associated tests.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    Jinquan Shi and claude committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    e46c017 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #43 from jinquan-shi/feat/menubar_icon

    feat: use PDF vector icon for crisp menubar rendering
    prakersh authored Mar 28, 2026
    Configuration menu
    Copy the full SHA
    50c63d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ca2b76 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee2dfe8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    082dc10 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    985ef54 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e300944 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2026

  1. Merge pull request #47 from goldmar/fix/iphone-session-cookie-expires

    fix: add explicit expiry to login session cookie
    prakersh authored Mar 29, 2026
    Configuration menu
    Copy the full SHA
    f7e9b6b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #45 from sgogriff/fix/copilot-free-plan-quotas

    Fix: Copilot quota tracking for free/limited plans
    prakersh authored Mar 29, 2026
    Configuration menu
    Copy the full SHA
    9c12fbf View commit details
    Browse the repository at this point in the history
  3. Merge pull request #44 from omnissiah-comelse/feat/openrouter-provider

    feat: add OpenRouter provider for credit/usage monitoring
    prakersh authored Mar 29, 2026
    Configuration menu
    Copy the full SHA
    80308f1 View commit details
    Browse the repository at this point in the history
  4. fix: add OpenRouter frontend support and filter MiniMax zero-quota mo…

    …dels
    
    - Add OpenRouter provider detection in getCurrentProvider() JS function
    - Add OpenRouter Credits quota card with dynamic rendering
    - Add OpenRouter to chart initialization, history rendering, and cycle overview
    - Add OpenRouter to menubar provider cards and settings dropdown
    - Add 'credits' to renewalCategories and quota display names
    - Filter out MiniMax models with zero quota (total=0, used=0) from
      current view, history charts, logging history, tracker, and menubar
    - Strip non-chart fields (isFreeTier, limit, remaining) from OpenRouter
      history response to clean up chart legends
    - Update README with OpenRouter setup instructions
    prakersh committed Mar 29, 2026
    Configuration menu
    Copy the full SHA
    aa485f3 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #48 from onllm-dev/fix/openrouter-frontend

    fix: OpenRouter frontend + MiniMax zero-quota filter
    prakersh authored Mar 29, 2026
    Configuration menu
    Copy the full SHA
    88e345c View commit details
    Browse the repository at this point in the history
  6. fix: add exponential backoff for Anthropic OAuth 429 errors (#46)

    When the OAuth refresh endpoint returns 429, the agent now enters
    exponential backoff (5min base, doubling to 6h cap) instead of
    retrying every poll cycle. This prevents burning one-time-use refresh
    tokens which could invalidate Claude Code sessions.
    
    - Add ErrOAuthRateLimited and ErrOAuthInvalidGrant sentinel errors
    - Add rateLimitFailCount/rateLimitPaused/rateLimitResumeAt state
    - Protect both proactive refresh and 429 bypass paths with shared backoff
    - Auto-resume on credential change or backoff expiry
    - invalid_grant triggers terminal pause (like auth errors)
    prakersh committed Mar 29, 2026
    Configuration menu
    Copy the full SHA
    976cde7 View commit details
    Browse the repository at this point in the history
Loading