Commit graph

3024 commits

Author SHA1 Message Date
RainbowBird
cef4231559 fix(server): consolidate MODEL_DISPLAY_NAME fetch and sanitize display name 2026-03-14 04:26:55 +08:00
RainbowBird
722868a853
fix(stage-ui): surface LLM gateway errors to user
Add toast.error() in the central performSend catch block so any HTTP
error from the LLM gateway (4xx/5xx) is shown as a user-facing
notification instead of being silently swallowed. Raw error details
are still logged to console.error. The toast covers all ingestion
paths: manual send, auto-send via voice, and context-bridge.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 04:20:59 +08:00
RainbowBird
0dc6d19bc6
feat(stage-ui): disable unavailable OAuth providers in login drawer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 04:16:52 +08:00
RainbowBird
8b490541c4
feat(server): configurable model display name via Redis MODEL_DISPLAY_NAME
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 04:16:38 +08:00
RainbowBird
b6002076ea
feat(server): make OAuth providers optional with availability API
Google and GitHub OAuth vars are now optional; missing credentials emit
a startup warning and the provider is silently skipped by better-auth.
A new GET /api/auth/providers endpoint reports which providers are
available, registered before the better-auth catch-all to avoid
interception.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 04:15:01 +08:00
RainbowBird
f00ce12baf
fix(stage-ui): log auth errors instead of silently swallowing 2026-03-14 04:14:15 +08:00
RainbowBird
739d807f12
fix(server): log better-auth session errors instead of crashing 2026-03-14 04:14:02 +08:00
RainbowBird
d7e38a809e
refactor(server): extract billing logic into services/billing.ts
Move UsageInfo, extractUsageFromBody, and calculateFluxFromUsage from
v1completions.ts into a dedicated billing service with comprehensive
unit tests (22 cases) covering token calculation, ceiling, minimums,
fallbacks, and edge cases.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 04:13:02 +08:00
RainbowBird
ed745dfb0e
refactor(stage-ui): change default server endpoint 2026-03-14 04:03:04 +08:00
RainbowBird
fa78684cae
feat(otel): more metrics 2026-03-14 04:02:37 +08:00
RainbowBird
4b00b9dd48
chore(stage-*): login component icon alignment 2026-03-14 03:40:18 +08:00
RainbowBird
e808097df7
chore(stage-*): login component icon alignment 2026-03-13 23:55:04 +08:00
RainbowBird
689e125c9a
chore(ci): rename dev server workflow 2026-03-13 23:55:03 +08:00
RainbowBird
a18b5a1245
refactor(stage-*): useBreakpoints 2026-03-13 23:55:03 +08:00
RainbowBird
a6a902d8f9
fix(stage-*): onboarding issues 2026-03-13 23:55:03 +08:00
RainbowBird
8ccf9609aa
fix(stage-pages): fetch credits in flux page 2026-03-13 23:55:03 +08:00
RainbowBird
6cec9c26dd
docs(stage-web): update term of services 2026-03-13 23:55:03 +08:00
RainbowBird
dcfaffab9e
chore(workflow): add serverlize deployment 2026-03-13 23:55:02 +08:00
RainbowBird
c8c9e43b8f
chore(stage-tamagotchi): skip type check in building stage 2026-03-13 23:55:02 +08:00
RainbowBird
b927ca1657
refactor(stage-ui): unify official provider to plug-able, add auth lifecycle hooks 2026-03-13 23:55:02 +08:00
RainbowBird
a8d28e6829
chore(server): update grafana dashboard 2026-03-13 23:55:02 +08:00
RainbowBird
3553b9cabd
feat(server): official provider router (#1117) 2026-03-13 23:55:02 +08:00
RainbowBird
88aae17d65
fix(server): collect metrics correctly 2026-03-13 23:55:01 +08:00
RainbowBird
262879a3b6
refactor(server): organize order 2026-03-13 23:55:01 +08:00
RainbowBird
517d62cbf4
feat(server): add OpenTelemetry observability stack (#1154)
Co-authored-by: Claude <noreply@anthropic.com>
2026-03-13 23:55:01 +08:00
RainbowBird
8f58476c02
refactor(server): rename configkv get or throw 2026-03-13 23:55:01 +08:00
RainbowBird
db4a13bb42
chore(server): stripe type 2026-03-13 23:55:01 +08:00
RainbowBird
9ef462c7a8
feat(server): enhance config guard with custom error messages and add FLUX_PACKAGES handling 2026-03-13 23:55:00 +08:00
RainbowBird
392bcc0539
fix(server): resolve config kv properly 2026-03-13 23:55:00 +08:00
RainbowBird
c484e0862c
feat(server): stripe service, more stripe table 2026-03-13 23:55:00 +08:00
RainbowBird
f00f0ba91f
feat(server): redis, config kv integration 2026-03-13 23:55:00 +08:00
RainbowBird
c79739785d
fix(server): customer id 2026-03-13 23:54:59 +08:00
RainbowBird
1e62341f8e
chore(server): resolve db type 2026-03-13 23:54:59 +08:00
RainbowBird
95b54f4a60
refactor(server): do not require backend llm api key and base url 2026-03-13 23:54:59 +08:00
RainbowBird
b21ac17b9e
refactor(server): add more error utils 2026-03-13 23:54:59 +08:00
RainbowBird
44ef5fca92
feat(server): stripe integration and credits system (#1024) 2026-03-13 23:54:58 +08:00
Liet Blue
a1a94371f4
fix(speech): prevent speech provider config reset on startup by removing premature immediate watcher (#1340) 2026-03-13 22:38:54 +08:00
Liet Blue
5d8a0c88fe
feat(stage-tamagotchi): add profile switcher to controls island and web header (#1328) 2026-03-13 18:32:07 +08:00
Liet Blue
c95b484bdc
docs: update CLAUDE.md to use @AGENTS.md directive (#1335) 2026-03-13 18:31:48 +08:00
yuanbo
f654d175f8
fix(telegram-bot): fix velin rendering, action loop, and LLM compatibility (#1333) 2026-03-13 18:31:31 +08:00
Stable Genius
3aa47ff43d
fix(stage-ui): use stable chat history keys in the stage UI (#1312)
---------

Co-authored-by: Stable Genius <259448942+stablegenius49@users.noreply.github.com>
Co-authored-by: Garfield Lee <Garfield550@users.noreply.github.com>
Co-authored-by-agent: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-13 17:23:21 +08:00
github-actions[bot]
dc6009ac10
chore(i18n): update translations (#1325)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-03-13 09:53:20 +08:00
Makito
4c7bd5522b
fix(stage-tamagotchi): make handleAppExit more robust (#1321)
* fix(stage-tamagotchi): make handleAppExit more robust

* chore: code style update

* chore: code style update

---------

Co-authored-by: Garfield Lee <Garfield550@users.noreply.github.com>
2026-03-12 23:55:26 +08:00
Ryanba
c897aade2e
fix(stage-ui): flip canvas pixel reads on Y axis (#1309)
Co-authored-by-agent: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-12 23:16:21 +08:00
LemonNeko
a80f038941
feat(stage-tamagotchi): show connection status (#1311) 2026-03-12 23:14:22 +08:00
Stable Genius
0d1dc34bd8
fix(stage-tamagotchi): let tray menu close caption overlay (#1316)
Co-authored-by: stablegenius49 <185121704+stablegenius49@users.noreply.github.com>
2026-03-12 23:11:37 +08:00
Makito
28db2f6e2a
fix(stage-tamagotchi): handle app exit correctly (#1319) 2026-03-12 23:08:19 +08:00
御坂云见
879b92f713
docs: add comprehensive contributor guide and UI storyboard link; create claude code deps 2026-03-12 19:03:15 +08:00
Ryanba
38b8058ee5
fix(plugin-sdk): trim negotiated compatibility versions (#1305)
---

Co-authored-by-agent: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-12 17:22:23 +08:00
github-actions[bot]
eccf44df51 chore(nix): update pnpmDeps hash 2026-03-12 06:55:25 +00:00