Commit Graph

433 Commits

Author SHA1 Message Date
RWDai
981020a5ab fix(ci): apply rustfmt to usage metadata handlers 2026-05-17 20:28:08 +08:00
Kayphoon
f29cca72ba refactor(data): limit query abstraction to postgres and sqlite 2026-05-17 15:40:44 +08:00
Kayphoon
77640d51a6 refactor(data): add select query abstraction 2026-05-17 15:04:35 +08:00
HsungKayphoon
f0a6fffa87 refactor(data): introduce simple query helper 2026-05-17 14:07:23 +08:00
Entropy.Xu
1b24e1c22a fix(wallet): 修复额度耗尽后仍可消费 2026-05-17 11:49:08 +08:00
ZheFox
ab0d766f47 fix(usage): stop inferring cache reads from prompt_cache_key 2026-05-17 03:04:33 +08:00
ZheFox
41ffb18604 fix(billing): avoid double counting cache read in OpenAI cache hit context 2026-05-17 02:40:01 +08:00
ZheFox
b903f8ff7d fix(usage): estimate cache read tokens for cancelled requests 2026-05-17 02:13:13 +08:00
ZheFox
0483d001b4 fix(usage): bill cancelled terminal usage and preserve total token estimates 2026-05-17 01:11:42 +08:00
HsungKayphoon
d290a1fdb9 fix: satisfy rust 1.95 clippy 2026-05-17 00:00:46 +08:00
ZheFox
2803e9317d fix(usage): bill cancelled terminal usage and preserve terminal telemetry 2026-05-16 23:43:40 +08:00
HsungKayphoon
c5e26a1ed6 fix: align sqlite repositories with postgres behavior 2026-05-16 23:43:40 +08:00
mayrain
5bf236957e feat(grok): add runtime image surfaces 2026-05-16 21:15:38 +08:00
mayrain
cbfe1d378f feat(grok): add provider pool and transport support 2026-05-16 21:15:38 +08:00
fawney19
3a5922d4ee fix: use codex quota refresh for account checks 2026-05-16 20:16:23 +08:00
Entropy.Xu
973eb1a614 feat(referrals): 添加邀请返利和注册确认功能 2026-05-16 17:41:52 +08:00
HsungKayphoon
f9f1fa928a refactor: drive pg sqlite copy from target schema 2026-05-16 17:29:14 +08:00
HsungKayphoon
527feb69db fix: cover portable migration tables in logical schema 2026-05-16 15:58:41 +08:00
RWDai
97cd92a1a2 Expose usage record metadata fields 2026-05-16 15:55:38 +08:00
RWDai
df7b2824a6 Persist client family usage metadata 2026-05-16 15:55:38 +08:00
RWDai
a2649718ea Expose scheduling failure details in usage payload 2026-05-16 15:42:13 +08:00
HsungKayphoon
4b12ec8913 feat: add postgres to single-node migration 2026-05-16 15:26:43 +08:00
HsungKayphoon
74a1e5ad7d feat: add scoped manual usage cleanup 2026-05-16 15:23:44 +08:00
fawney19
6a608b8e3f fix: recover finalized usage provider links safely 2026-05-16 15:15:57 +08:00
fawney19
893ac18d60 Merge PR #469: 修复用户可见性、额度、验证与 Codex 探测 2026-05-16 14:28:19 +08:00
fawney19
3a23eaa572 Merge pull request #470 from yao177/fix/provider-keep-priority-on-conversion-load-balance
fix: preserve conversion priority beneath scheduler modes
2026-05-16 12:56:57 +08:00
yao177
232976c14a fix: keep conversion priority below load balance 2026-05-16 04:41:07 +00:00
yao177
dc1009798d test: cover cache affinity conversion priority ordering 2026-05-16 04:32:56 +00:00
fawney19
f72ab383c9 Refine OAuth auto cleanup conditions
(cherry picked from commit 78826eae47ab18ace6931dd190a41070416b5e10)
2026-05-16 11:33:45 +08:00
Entropy.Xu
1a50c5e112 merge: 同步主线并解决用户侧验证冲突 2026-05-16 01:25:42 +08:00
Entropy.Xu
bbd3c30b0e fix(public): 修复用户可见性、额度、验证与 Codex 探测 2026-05-16 00:51:44 +08:00
fawney19
d6c320bf06 Revert "Merge remote-tracking branch 'origin/pr/466'"
This reverts commit 0e0a24862f, reversing
changes made to b09fd48eee.
2026-05-16 00:50:00 +08:00
fawney19
0e0a24862f Merge remote-tracking branch 'origin/pr/466' 2026-05-15 22:49:35 +08:00
ZheFox
2345df0e38 fix(usage): bill cancelled terminal usage 2026-05-15 22:38:34 +08:00
fawney19
b09fd48eee Merge remote-tracking branch 'origin/pr/462' 2026-05-15 22:28:40 +08:00
fawney19
c916e76bd2 Merge branch 'pr-461'
# Conflicts:
#	.github/workflows/rust-ci.yml
#	crates/aether-data/src/lifecycle/bootstrap/postgres.rs
#	crates/aether-data/src/lifecycle/migrate/tests.rs
2026-05-15 21:52:37 +08:00
fawney19
87e44479cc Add proxy tunnel diagnostics and default logging 2026-05-15 19:43:59 +08:00
fawney19
0bd3e2fa88 Merge remote-tracking branch 'origin/main' 2026-05-15 18:13:26 +08:00
fawney19
e4f427f921 Merge remote-tracking branch 'entropy-xu/payment-billing-plans'
# Conflicts:
#	crates/aether-data/src/lifecycle/bootstrap/postgres.rs
#	crates/aether-data/src/lifecycle/migrate/tests.rs
#	frontend/src/views/admin/Users.vue
2026-05-15 16:37:17 +08:00
RWDai
6014925e60 style: format codex compact regression tests 2026-05-15 14:40:27 +08:00
RWDai
1dc9b505e4 fix: strip include from codex compact requests 2026-05-15 14:20:16 +08:00
fawney19
01a982bdf6 fix: preserve codex include fields 2026-05-15 03:25:06 +08:00
fawney19
cc5a44e373 Merge branch 'pr-453' 2026-05-15 02:25:39 +08:00
fawney19
8e0f8003a9 fix: simplify account self-check config 2026-05-15 02:21:11 +08:00
fawney19
54a8312e46 feat: add adaptive pool metrics and self-check 2026-05-15 02:21:11 +08:00
Entropy.Xu
85f48123b6 feat(auth): 添加 Turnstile 注册防护 2026-05-15 01:54:20 +08:00
RWDai
4db01244ec Update Postgres bootstrap for audit admin role 2026-05-15 01:20:29 +08:00
RWDai
6021110fb2 Add audit admin Postgres userrole migration 2026-05-15 01:20:29 +08:00
zhefox
498b3b1226 fix(auth): correct postgres api key create field ordering 2026-05-14 17:41:13 +08:00
zhefox
3b77686cee fix(auth): cast standalone api key expires_at update to timestamptz 2026-05-14 16:28:38 +08:00