- Add mode to /status endpoint response
- Add fetchStatus() to retrieve daemon status
- Display System Status box next to Balance box in overview tab
- Show daemon state, wallet state, and current mode
- Color code status values (green/red for healthy/error states)
- Fetch balance from /keys/balance endpoint showing wallet, cached tokens, and API key balances
- Display total balance and individual balances per source with provider URLs
- Show 'No funds available' message when balance is zero
- Add mode config option (xcashu, lazyrefund, apikeys) to RoutstrdConfig
- Pass mode parameter to routeRequests in daemon HTTP handler
- Add 'routstrd mode' CLI command to set mode interactively
- Mode command shows current mode, prompts for selection, updates config,
and restarts the daemon
- Add ClientStats interface and getClientStats() function
- Add new 'Clients' tab (key 6) with detailed breakdown
- Show client distribution in Overview tab
- Add CLIENT_COLORS for visual differentiation
- Display per-client model breakdown in Clients tab
- Update tab navigation (1-7)
- Add getClientIdFromRequest helper to extract API key from Authorization header
- Look up clientId from store's clientIds array
- Include client field in both streaming and non-streaming usage entries
- Enables per-client usage tracking for integrations
- Enter alternate screen (\x1b[?1049h) on start, leave (\x1b[?1049l) on exit
- Redraw in-place with moveCursor + eraseDown instead of full clear
- Properly restore cursor, disable raw mode, and leave alt screen on quit
- Add isInteractive guard so non-TTY usage doesn't break
- Add rendering mutex to prevent overlapping renders
- Clean up TypeScript strictness issues (unused vars, undefined coalescing)
- Destructure store from createSdkStore() return value in daemon/index.ts
- Fix daemon startup command in cli-shared.ts to run daemon/index.ts directly
instead of non-existent 'daemon' command via cli
- Refresh routstr21 models from Nostr automatically on a schedule
- Run immediate refresh on daemon startup after provider bootstrap
- Clean up interval on server shutdown