redshift
65d30c135b
format numbers with k/m suffixes, left-align bar chart labels
2026-03-21 21:49:46 +00:00
redshift
92a3c665a1
fix tui usage percentage calculations
2026-03-21 21:37:55 +00:00
redshift
927b155b0a
refactor usage tui into src/tui modules
2026-03-21 21:31:53 +00:00
redshift
550608a0d7
refacrtored tui
2026-03-21 21:26:36 +00:00
redshift
1451e54bb5
Fix usage TUI scrolling for tall content
2026-03-21 21:13:06 +00:00
redshift
a02a0dcad3
added restart
2026-03-21 21:10:03 +00:00
redshift
967ed6ff96
Fix scrolling in usage TUI
2026-03-21 21:00:27 +00:00
redshift
5516129724
vimnavigation
2026-03-21 20:56:32 +00:00
redshift
ed01942391
everything works as expected OOOOOFF
2026-03-21 20:44:46 +00:00
redshift
b3fc02b1cc
feat(cli): show client ID in usage command output
...
- Add client field to UsageEntry type
- Display client ID when present in usage entries
2026-03-21 16:52:42 +00:00
redshift
7afeefaad1
feat(tui): add client-based usage tracking views
...
- 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)
2026-03-21 16:46:10 +00:00
redshift
0cb95cdae2
feat(daemon): include client ID in usage tracking entries
...
- 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
2026-03-21 16:42:59 +00:00
redshift
5aadad1d34
Merge branch 'main' of github.com-red:Routstr/routstrd
2026-03-21 13:22:39 +00:00
redshift
cb793be8de
integrations with unique api keys
2026-03-21 13:22:30 +00:00
redshift
f25abbda86
tui: use alternate screen buffer + proper terminal cleanup in monitor command
...
- 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)
2026-03-21 13:18:51 +00:00
redshift
d2e3084887
Fix store.getState errors and daemon startup command
...
- 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
2026-03-21 13:10:46 +00:00
redshift
0e1b97dcaf
draft for the TUI
2026-03-21 12:44:13 +00:00
redshift
c41421fedb
Add recurring model refresh job (every 3.5 hours)
...
- Refresh routstr21 models from Nostr automatically on a schedule
- Run immediate refresh on daemon startup after provider bootstrap
- Clean up interval on server shutdown
2026-03-20 12:16:29 +00:00
redshift
3a211350b4
fix: add timeout to health check polls in start-daemon
2026-03-19 22:14:51 +00:00
redshift
473565ed23
readded mdoels refresh functionality
2026-03-19 22:00:29 +00:00
redshift
dee1b9e84e
merge
2026-03-19 16:27:13 +00:00
redshift
e299c80d5b
refactored the daemon
2026-03-19 16:25:57 +00:00
redshift
8c3bf7ecf1
force refresh mdoels
2026-03-19 16:24:22 +00:00
redshift
052659350d
added openclaw
2026-03-18 16:25:59 +00:00
redshift
6230371c57
changed the streaming flow
2026-03-14 22:03:11 +00:00
redshift
ce94f406f4
data usage alternative format
2026-03-14 15:22:57 +00:00
redshift
5f62b343f9
usage traxking
2026-03-13 16:07:30 +00:00
redshift
eb308f5c0e
chat completeions id instead of request id
2026-03-13 13:25:10 +00:00
redshift
edf5b95bb5
added usage command
2026-03-13 12:49:14 +00:00
redshift
7e1bd78ffe
logging usage
2026-03-13 12:40:21 +00:00
redshift
1bff536ade
fix: preserve stream framing while extracting usage from SSE/NDJSON
2026-03-13 12:18:21 +00:00
redshift
12944a6528
fix: parse SSE events by boundary, not per-line, to handle chunked/coalesced responses
2026-03-13 11:59:35 +00:00
redshift
7a3cb6f688
removed some lgos
2026-03-13 11:51:44 +00:00
redshift
262edd1095
usage tracking
2026-03-12 21:39:04 +00:00
redshift
68536b9dc0
fixed wallet send error for cocod
2026-03-11 18:31:05 +00:00
redshift
39015fdc96
refund fix
2026-03-10 21:48:52 +00:00
redshift
532f4bab7c
chagned command names and version for routsrd sdk and more
2026-03-09 22:58:29 +00:00
redshift
b72111576a
Add logs command to view daemon logs with tail and follow options
2026-03-09 21:44:50 +00:00
redshift
56089e25c3
balance display update
2026-03-06 09:38:23 +00:00
redshift
1b5a456189
removed alias, model ids and apikey
2026-03-04 10:47:23 +00:00
redshift
1b005a9802
lcoalhost url
2026-03-04 10:30:45 +00:00
redshift
9e843acfd0
wallet command
2026-03-04 10:22:50 +00:00
redshift
95769a51fe
fixed hanging
2026-03-04 10:21:22 +00:00
redshift
e2b25eeaa5
fix
2026-03-04 10:20:16 +00:00
redshift
6941d547d2
added openclaw and fixed status for different ports.
2026-03-04 09:54:20 +00:00
redshift
e131fd4d94
added the models endpoint
2026-03-04 08:43:43 +00:00
redshift
0ad3277021
api keys
2026-03-04 08:14:28 +00:00
redshift
bc20df04f2
added small model and fixed cli init a bit .
2026-03-03 12:36:58 +00:00
redshift
1590417061
fixed init
2026-03-03 11:12:34 +00:00
redshift
7b90f356c0
upgraded versions and added cocod installation
2026-03-02 21:50:36 +00:00