Commit graph

1176 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
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
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
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
a18b5a1245
refactor(stage-*): useBreakpoints 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
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
5d8a0c88fe
feat(stage-tamagotchi): add profile switcher to controls island and web header (#1328) 2026-03-13 18:32:07 +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
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
LemonNeko
589553c0e3
feat(stage-pocket): request permissions onboarding (#1292)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-12 14:49:39 +08:00
Lilia_Chen
dec2b04924
refactor: vrm performance tracing and better lifecycle management (#1194)
* refactor: vrm performance tracing and better lifecycle management

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Rename lag-visualizer.vue to performance-visualizer.vue

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @sumimakito

Co-authored-by: Makito <i@maki.to>

* Apply suggestion from @sumimakito

Co-authored-by: Makito <i@maki.to>

* Apply suggestion from @sumimakito

Co-authored-by: Makito <i@maki.to>

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* [autofix.ci] apply automated fixes

* Apply suggestion from @Lilia-Chen

* [autofix.ci] apply automated fixes

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* [autofix.ci] apply automated fixes

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* [autofix.ci] apply automated fixes

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* Apply suggestion from @Lilia-Chen

* fix: some tiny bugs and model URL lifecycle

* fix: TresCanvas size=0 bug

* Delete .claude/settings.json

* fix: some clean-up

* [autofix.ci] apply automated fixes

* fix: use screen to wrap up TresCanvas

* Delete .claude/settings.json

---------

Co-authored-by: Makito <i@maki.to>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Neko <neko@ayaka.moe>
2026-03-12 09:20:20 +08:00
Neko Ayaka
da62f1c16b
release: v0.9.0-alpha.14 2026-03-12 01:48:21 +08:00
Makito
b1b7dadfe2
fix(stage-tamagotchi): move @intlify/core from devDeps to deps (#1291)
* fix(stage-tamagotchi): move @intlify/core from devDeps to deps

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-12 00:55:28 +08:00
Makito
28109a8f02
fix(stage-tamagotchi): provide the missing core components to createCoreContext (#1288) 2026-03-11 23:34:00 +08:00
Neko Ayaka
53f79713d7
release: v0.9.0-alpha.13 2026-03-11 19:36:13 +08:00
Neko
857c35f99d
fix(stage-tamagotchi): dependency missing for h3 (#1265) 2026-03-11 19:28:31 +08:00
Neko Ayaka
96d3149909
release: v0.9.0-alpha.12 2026-03-11 04:35:37 +08:00
Neko Ayaka
80b0e6c67e
Revert "feat(stage-tamagotchi): add top drag area to move window (#1231)"
This reverts commit d118980fa0.
2026-03-11 04:34:17 +08:00
Makito
68bf3c0d19
fix(stage-tamagotchi): crash on onboarding save by bump electron to v40.8.0, bring back auto-popup (#1246)
---------


Co-authored-by: Neko Ayaka <neko@ayaka.moe>
2026-03-11 04:30:46 +08:00
Neko Ayaka
208ff1d8a5
release: v0.9.0-alpha.11 2026-03-11 02:03:28 +08:00
Neko Ayaka
5e075d6208
fix(stage-tamagotchi): incorrect property 2026-03-11 01:14:18 +08:00
Neko Ayaka
0f8ad59901
fix(stage-tamagotchi): forgot to export ServerChannel 2026-03-11 00:04:11 +08:00
Neko Ayaka
a2da08f2ce
fix(stage-tamagotchi): should handle EADDRINUSE, bug of srvx, robust for server channel restart, injeca fix 2026-03-10 23:47:39 +08:00
Garfield Lee
92e75d86fb
feat(stage-tamagotchi): add electron main process file logger hook (#1247)
* feat(stage-tamagotchi): add electron main process file logger hook

* chore: code update

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: update comment

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* [autofix.ci] apply automated fixes

* chore: code style update

Co-authored-by: RainbowBird <rbxin2003@outlook.com>

* chore: code style update

Co-authored-by: RainbowBird <rbxin2003@outlook.com>

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: RainbowBird <rbxin2003@outlook.com>
2026-03-10 23:33:48 +08:00
LemonNeko
38d41cca84
release: v0.9.0-alpha.10 2026-03-10 22:32:07 +08:00
LemonNeko
756ddd31e4
refactor(cap-vite): use plugin instead of createServer 2026-03-10 22:31:28 +08:00