ZQR1101
|
ed6b5da1b9
|
feat(partners): record wrong questions into the question bank (#1244)
|
2026-09-10 01:48:52 +08:00 |
|
Bingxi Zhao (Frank)
|
02ba56793e
|
chore: checkpoint backend stabilization workspace
|
2026-09-01 21:28:15 +08:00 |
|
Bingxi Zhao (Frank)
|
c9d387e2b6
|
super super great great update
|
2026-06-17 00:56:27 +08:00 |
|
Bingxi Zhao (Frank)
|
85779c846b
|
refactor env settings and installation
|
2026-05-11 12:59:56 +08:00 |
|
xor_xe
|
6ca2ecd64f
|
feat: add optional PocketBase integration for auth and session storage
Introduces PocketBase as an optional sidecar for authentication and
session/KB storage, activated only when POCKETBASE_URL is set in .env.
Falls back to the existing SQLite/JSON backend when not configured.
Backend:
- SessionStoreProtocol (typing.Protocol) + get_session_store() factory
- PocketBaseSessionStore: JSONL write-ahead buffer, batch-flush on turn end
- pocketbase_client.py: singleton admin client, 60s in-memory token cache
- auth.py: additive PocketBase path (email-based login/register)
- CORS: explicit origins instead of wildcard (wildcard+credentials fails)
- WebSocket: validate token at connect time when AUTH_ENABLED
Infrastructure:
- docker-compose: pocketbase service with healthcheck + depends_on
- scripts/pb_setup.py: idempotent PocketBase collection bootstrap
- requirements/server.txt: pocketbase>=0.12.0
Frontend:
- Register/login: username field -> email field for PocketBase mode
- auth.ts: normalise FastAPI 422 errors to plain strings
- agents page: guard bots.map() against non-array responses
- settings page: graceful fetch error handling
- *.env.local added to .gitignore
Docs: README PocketBase sidecar setup section added
|
2026-04-17 21:42:29 +04:00 |
|
Bingxi Zhao (Frank)
|
f3779138ae
|
fix: remove lightrag and unify llm & search config
|
2026-03-13 23:48:49 +08:00 |
|
Bingxi Zhao (Frank)
|
9c18bf0705
|
codebase cleanup and decoupled, introduce cli operation
|
2026-03-13 20:42:16 +08:00 |
|