Commit Graph
11 Commits
Author SHA1 Message Date
Claude 844f6fa09f Add chat history sidebar with restore across reloads
Chat messages previously lived only in React state and vanished on
navigation or refresh. Persist each conversation as a session in
localStorage and add a sidebar to switch between, restore, or delete
past chats, matching the pattern of the account page's client-side
persistence.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012RrMZ8Y9BhuMkKNcw2bakZ
2026-08-18 21:11:04 +00:00
Felix FaerberandClaude Opus 4.7 83760c4a9b add shared navbar on /account, /chat, /bee
Three-link nav (Chat / Account / Bee) with active-route highlighting,
plus a t4t Gateway home link on the left. Replaces the bespoke header
on the chat page; account and bee gain the same top-of-page nav.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 09:29:20 +03:00
Felix FaerberandClaude Opus 4.7 86e0ab356a account: add Recent jobs table
Fetch /v1/jobs alongside the existing account data and render the
last 25 in a table — model, status pill, provider, tokens, cost,
timestamp. Mirrors the homelab gateway's /wallet job list.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 15:46:28 +03:00
Felix FaerberandClaude Opus 4.7 c538822e4f add /bee page — read-only bee node stats from /bee/stats
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 15:12:30 +03:00
Felix FaerberandClaude Opus 4.7 e8081baec1 pull :main before stack deploy so swarm uses the freshly built image
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 14:57:07 +03:00
Felix Faerber 291bdeffc0 retrigger build 2026-05-27 14:15:15 +03:00
Felix FaerberandClaude Opus 4.7 2025314836 add /chat route — in-app chat against the gateway
Uses the user's JWT against /v1/models + /v1/chat/completions (the
gateway's /v1 routes already accept JWT — no API key needed for the
in-app chat path; API keys remain for external SDK usage).

Single-turn UX for now, no streaming. Model picker reads /v1/models.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 13:23:09 +03:00
Felix FaerberandClaude Opus 4.7 97d80c396d add /account dashboard
- xBZZ balance prominently
- API keys: create / list / revoke; new key surfaced once in a copy dialog
- Recent ledger entries (welcome credit, job charges, top-ups)
- Auth: JWT from localStorage; 401 clears JWT + redirects to /login
- Sign-out button

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 13:18:05 +03:00
Felix FaerberandClaude Opus 4.7 0fdfed9909 add /login route
POSTs email + password to /auth/email/login, stores JWT, redirects
to /account (route to be added).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 12:43:59 +03:00
Felix FaerberandClaude Opus 4.7 0a82519f99 grant packages:write to docker-image workflow
GITHUB_TOKEN defaults to read-only; without packages:write the push
to ghcr.io/token-for-token/hosted-gateway-frontend gets "installation
not allowed to Create organization package".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 12:38:36 +03:00
Felix FaerberandClaude Opus 4.7 974250b357 first commit
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 12:22:05 +03:00