Commit Graph
91 Commits
Author SHA1 Message Date
RainbowBird fc0ad03411 feat(server): require BETTER_AUTH_SECRET and pass it explicitly to betterAuth
Without a stable secret, better-auth generates a random one per process,
which invalidates every session cookie and JWKS private key on redeploy
and across multi-instance deployments. Make it a required env var and
wire it into betterAuth({ secret }) explicitly so missing config fails
fast at boot instead of silently rotating keys.
2026-04-13 18:13:19 +08:00
RainbowBird 671517864a feat(flux): update transaction stats to use capacity from latest credit/initial transaction 2026-04-12 04:52:42 +08:00
RainbowBird 93888e6935 feat(server): use stripe product as flux pricing (#1640) 2026-04-12 04:32:42 +08:00
Neko Ayaka fb3f54699b chore(18n): unified to use sign in / sign out 2026-04-10 16:25:11 +08:00
Neko Ayaka abc0cb0bc7 refactor(ui-server-auth,server): use better design of signin page 2026-04-10 16:25:11 +08:00
Neko Ayaka 4c9564f4b9 refactor(stage-tamagotchi): with WindowAuthManager 2026-04-03 00:49:10 +08:00
RainbowBird 9451cd7cc0 feat(otel): server instrumentation script 2026-04-02 18:21:30 +08:00
RainbowBird 457ad19f09 fix(tests): server build 2026-04-02 18:04:46 +08:00
RainbowBird d782313464 feat(auth): jwt sign 2026-04-02 17:48:12 +08:00
RainbowBird 2eb30d6081 docs(auth): ai-context 2026-04-02 17:48:12 +08:00
RainbowBird f1fe161bc0 feat(auth): OIDC (#1531) 2026-04-02 04:24:04 +08:00
RainbowBird f31a37e7e4 refactor(server): prune otel dashboard and active http request 2026-03-30 20:10:50 +08:00
RainbowBird 33bf61f3f7 fix(server): no cache 2026-03-30 19:45:43 +08:00
RainbowBird bdb01d30f4 feat(auth): Bearer token handling and OAuth token extraction (#1501) 2026-03-28 20:27:47 +08:00
RainbowBird bb0c93edb4 fix(server/auth): skip state_mismatch check 2026-03-28 15:47:19 +08:00
RainbowBird 88c195f672 fix(server): better-auth cookie login 2026-03-28 05:41:43 +08:00
RainbowBird 4a85654d9b feat(server/otel): follow opentelemetry metrics sharded 2026-03-28 04:57:28 +08:00
RainbowBird ee9b799721 fix(server/stripe): ensure valid fluxAmount check in checkout session processing 2026-03-28 04:00:14 +08:00
RainbowBird 45bc5fef22 feat(server/otel): integrate OpenTelemetry logging and emit logs with context 2026-03-28 03:59:09 +08:00
RainbowBird 04c8f499b9 feat(server/stripe): update flux package handling and metadata integration 2026-03-28 03:24:51 +08:00
RainbowBird 2f730ef93a feat(server): refactor flux auditing to transaction logging 2026-03-28 02:25:44 +08:00
RainbowBird 28f5c87fb2 chore(server): disable audio endpoint 2026-03-28 02:25:44 +08:00
RainbowBird 87d3d65b6a refactor(billing): rename debitFlux to consumeFluxForLLM and enhance metadata handling 2026-03-28 02:25:44 +08:00
RainbowBird 750e48ad95 refactor(server): redesign server routes structure 2026-03-28 02:25:44 +08:00
RainbowBird a515d20091 feat(server): chat broadcast utilities for message handling 2026-03-28 02:25:44 +08:00
RainbowBird b3bd772152 refactor(server): enhance observability metrics and error handling in v1 completions 2026-03-28 02:25:44 +08:00
RainbowBird c4018c63c3 refactor(server/o11y): otel constants 2026-03-28 02:25:44 +08:00
RainbowBird 2714a44c5b refactor(server): http query utils for pagination 2026-03-28 02:25:44 +08:00
RainbowBird ab5a00b77f refactor(server): redis keys 2026-03-28 02:25:44 +08:00
RainbowBird fa1fed0c15 refactor(server): error-message util 2026-03-28 02:25:44 +08:00
RainbowBird bf85158aa9 fix(server,stage-ui,i18n): address PR #1376 review comments 2026-03-28 02:25:44 +08:00
RainbowBird 8322c2c622 refactor(server): split mq libs, organize billing services structure 2026-03-28 02:25:44 +08:00
RainbowBird 11c456c0a7 refactor(server): squash flux-audit-log into flux-ledger 2026-03-28 02:25:44 +08:00
RainbowBird 0a2fefc304 refactor(server): rename tests folder 2026-03-28 02:25:44 +08:00
RainbowBird eab60d0bdb feat(server): reimplement message queue, drop outbox 2026-03-28 02:25:44 +08:00
RainbowBird 405904183f refactor(server): revert a8f445a17985a90d7eb5d981b4231114c3066e94 2026-03-28 02:25:44 +08:00
RainbowBird 563d50fbee feat(server): retry when booting error 2026-03-28 02:25:44 +08:00
RainbowBird a64e67e0ff chore(docker): disable railway pnpm cache 2026-03-28 02:25:44 +08:00
RainbowBird ba3d66de86 feat(server-protocol): introduce shared protocol types for AIRI server clients and frontends
- Added package.json for @proj-airi/server-protocol with necessary configurations.
- Implemented chat event types including WireMessage, SendMessagesRequest, and PullMessagesRequest.
- Defined WebSocket event types and structures for better integration with AIRI components.
- Updated server-runtime and server-sdk to utilize the new server-protocol package.
- Refactored imports across various packages to replace server-shared types with server-protocol types.
- Enhanced type definitions and added TypeScript configurations for better development experience.
2026-03-28 02:25:44 +08:00
RainbowBird 34b8c82bd5 fix(server): type error 2026-03-28 02:25:44 +08:00
RainbowBird b78a8477e6 feat(server): enable tts, asr base 2026-03-28 02:25:44 +08:00
RainbowBird e24da799d0 fix(server): squash drizzle schema 2026-03-28 02:25:44 +08:00
RainbowBird ef18772798 feat(server): message queue 2026-03-28 02:25:44 +08:00
RainbowBird 9b8d1f6ab7 feat(server): flux aduit (#1482) 2026-03-28 02:25:44 +08:00
RainbowBird 5b1ccb55c2 fix(auth): clarify return type and avoid TS2742 in createAuth function
fix(tests): cast response data to any in character and provider tests
refactor(v1completions): use Array.at() for last data line retrieval
feat(accounts): add indexes for session, account, and verification tables
chore(deps): update package.json and pnpm-lock.yaml with new dependencies
refactor(onboarding): replace context injection with props in step-welcome component
2026-03-28 02:25:44 +08:00
RainbowBird 97cadd5f7a fix(stage-ui): update onboarding provider list and improve validation logic 2026-03-28 02:25:44 +08:00
RainbowBird 82a4ea26dd refactor(stage-ui): unify official provider to plug-able, add auth lifecycle hooks 2026-03-28 02:25:44 +08:00
RainbowBird 0f9ea751e5 feat(server): official provider router (#1117) 2026-03-28 02:25:44 +08:00
RainbowBird c78ac2ccf1 fix(server): collect metrics correctly 2026-03-28 02:25:44 +08:00
RainbowBird 3917af0250 refactor(server): organize order 2026-03-28 02:25:44 +08:00