Commit Graph
25 Commits
Author SHA1 Message Date
redshift 52dcecbefe working on adding role update feature 2026-05-04 20:48:53 +05:30
redshift 9fac004f05 refactor(usage): remove CLI-side suffix filtering now that auth proxy handles it
The auth proxy intercepts GET /usage and returns only entries belonging to
the authenticated npub's clients, with owner suffixes stripped. The TUI no
longer needs to filter entries client-side.

- Remove getNpubSuffix and loadConfig from tui/usage/data.ts imports
- Remove old suffix-based filtering logic from fetchUsage()
- Remove unused getNpubSuffix from cli.ts imports
2026-05-03 16:21:38 +08:00
redshift 8d6a7d7f21 feat(cli): NIP-98 auth for remote daemon URLs
- Add nostr-tools dependency for NIP-98 event signing
- Add nsec field to RoutstrdConfig for remote daemon authentication
- Extract NIP-98 auth utilities into src/utils/nip98.ts (parseSecretKey,
  createNIP98Authorization with SHA-256 payload tags)
- Wire NIP-98 Authorization headers into callDaemon and isDaemonRunning
  whenever both daemonUrl and nsec are configured
- Refactor refund command to use callDaemon instead of hardcoded localhost
  so it works correctly with remote daemon URLs
2026-04-28 10:02:45 +05:30
redshift 3a5d760b37 replaced routeRequestsNodeResponse with just routeRequests. 2026-04-22 23:39:57 +05:30
redshift 41993831af changed the refund interval to 42 mins 2026-04-21 18:07:23 +02:00
redshift 18d07a4a2c bumpedup the version 2026-04-09 12:13:37 +01:00
redshift 450b30eae9 using routstr sdk frpm npm 2026-04-06 19:13:18 +01:00
redshift 243967f7a5 fixing merge issues 2026-04-01 16:14:11 +02:00
redshift b6b773b3d9 testing with local sdk 2026-04-01 15:34:45 +02:00
redshift 07adab2265 added a way to add clients 2026-03-30 21:06:30 +01:00
redshift 3c7e0c25ab bun driver to sdk 2026-03-27 21:57:32 +00:00
redshift 631f5832a1 checkpoint 2026-03-26 17:22:03 +00:00
redshift 66678f96ba removed unnecessary file 2026-03-24 20:58:55 +00:00
redshift 57aa6c2387 tui: display system status and mode in overview tab
- 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)
2026-03-22 13:04:44 +00:00
redshift ed01942391 everything works as expected OOOOOFF 2026-03-21 20:44:46 +00:00
redshift cb793be8de integrations with unique api keys 2026-03-21 13:22:30 +00:00
redshift 384a836550 bumped sdk version 2026-03-20 12:25:30 +00:00
redshift b75b093ce6 bumped versions 2026-03-13 12:26:20 +00:00
redshift 532f4bab7c chagned command names and version for routsrd sdk and more 2026-03-09 22:58:29 +00:00
redshift e7da1c6485 bunmped routstr sdk version 2026-03-04 12:31:56 +00:00
redshift e2b25eeaa5 fix 2026-03-04 10:20:16 +00:00
redshift 0ad3277021 api keys 2026-03-04 08:14:28 +00:00
redshift 1590417061 fixed init 2026-03-03 11:12:34 +00:00
red 13db186a0d added routstr installation to init. 2026-03-01 12:49:45 +00:00
red dfd9b2e9d2 Initial commit 2026-02-24 05:55:21 +00:00