erio
34ccfe45ea
chore: bump version to 0.1.87.12
2026-03-01 15:59:29 +08:00
erio
336a844712
chore: bump version to 0.1.87.11
2026-03-01 13:02:24 +08:00
erio
4d88248091
chore: bump version to 0.1.87.10
2026-03-01 12:46:42 +08:00
erio
05c2a65ef0
chore: bump version to 0.1.87.9
2026-03-01 12:37:07 +08:00
erio
87bd765a57
chore: bump version to 0.1.87.8
2026-03-01 01:02:53 +08:00
erio
238d86f502
feat(admin): add create-and-redeem API and payment integration docs
2026-03-01 00:41:38 +08:00
erio
7bf5c1cbcb
chore: bump version to 0.1.87.7
2026-02-28 19:32:24 +08:00
erio
c7392fc80b
fix: make purchase iframe fully fill container
2026-02-28 18:58:19 +08:00
erio
c37c68a341
feat: append auth token to purchase iframe url
2026-02-28 16:02:55 +08:00
erio
9230d3cbc9
fix: streamline purchase embed layout with floating open button
2026-02-28 15:26:16 +08:00
erio
19925e22d9
chore: bump version to 0.1.87.3
2026-02-28 14:09:02 +08:00
erio
94bdde32bb
chore: bump version to 0.1.87.2
2026-02-28 10:37:42 +08:00
erio
9555a99d1c
chore: bump version to 0.1.87.1
2026-02-27 21:24:03 +08:00
erio
0e69895603
Merge branch 'main' into release/custom-0.1.87
...
# Conflicts:
# frontend/src/components/keys/UseKeyModal.vue
2026-02-27 21:20:22 +08:00
erio
cc3cf1d70a
chore: bump version to 0.1.86.10
2026-02-27 21:02:24 +08:00
erio
e0b4b00dc1
chore: bump version to 0.1.86.9
2026-02-27 20:45:52 +08:00
erio
ec576fdbde
chore: bump version to 0.1.86.8
2026-02-27 19:59:51 +08:00
erio
505494b378
fix: update 2K image price placeholder from 0.134 to 0.201
2026-02-27 17:18:24 +08:00
erio
c1033c12bd
chore: bump version to 0.1.86.6
2026-02-27 16:38:35 +08:00
erio
d21fe54d55
chore: bump version to 0.1.86.5
2026-02-27 12:55:05 +08:00
erio
574359f1df
chore: bump version to 0.1.86.4
2026-02-27 12:24:02 +08:00
erio
3d15202124
chore: bump version to 0.1.86.3
2026-02-27 09:30:58 +08:00
shaw
c75c6b6858
fix: 将 DriveClient 注入 GeminiOAuthService,消除单元测试中的真实 HTTP 调用
...
FetchGoogleOneTier 原先在方法内部直接创建 DriveClient 实例,
导致单元测试中对 googleapis.com 发起真实 HTTP 请求,在 CI 环境
产生 401 错误。
将 DriveClient 作为依赖注入到 GeminiOAuthService,遵循项目
端口与适配器架构规范:
- 新增 repository/gemini_drive_client.go 作为 Provider
- 注册到 repository Wire ProviderSet
- 测试中使用 mockDriveClient 替代真实调用
2026-02-26 10:53:04 +08:00
erio
496173da1f
merge: 合并上游 v0.1.86 到 main 分支
2026-02-25 19:02:10 +08:00
huangenjun
3c619a8da5
refactor: 使用 go-sora2api SDK 替代自建 Sora 客户端
...
使用 go-sora2api v1.1.0 SDK 替代原有 ~2000 行自建 HTTP/PoW/TLS 指纹代码,
SDK 提供高并发性能优化(实例级 rand、PoW 缓冲区复用、context.Context 支持)。
- 新增 SoraSDKClient 适配器实现 SoraClient 接口
- 精简 sora_client.go 为仅保留接口和类型定义
- 更新 Wire 绑定使用 SoraSDKClient
- 删除 SoraDirectClient、sora_curl_cffi_sidecar、sora_request_guard 等旧代码
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-25 10:15:38 +08:00
shaw
bfe414670f
chore: update version
2026-02-24 14:51:10 +08:00
erio
8661bf8837
chore: bump version to 0.1.84.8
2026-02-24 14:46:06 +08:00
yangjianbo
4950ee48a0
chore(version): 更新版本号至 0.1.83.4
2026-02-23 13:07:34 +08:00
yangjianbo
5fa45f3b8c
feat(idempotency): 为关键写接口接入幂等并完善并发容错
2026-02-23 12:45:37 +08:00
erio
39d7300a8e
chore: bump version to 0.1.84.7
2026-02-22 23:28:19 +08:00
yangjianbo
3b6584cc8d
chore(version): 更新版本号至 0.1.83.3
2026-02-22 22:20:42 +08:00
erio
7eb3b23ddf
chore: bump version to 0.1.84.6
2026-02-22 19:30:50 +08:00
yangjianbo
33db7a0fb6
feat(gateway): 引入使用量记录有界 worker 池与自动扩缩容
...
- 新增 UsageRecordWorkerPool,支持有界队列、溢出降级策略与自动扩缩容
- 将 Gateway/OpenAI/Sora/Gemini 使用量记录改为提交到统一任务池执行
- 增加 usage_record 配置默认值与校验规则,并补充配置与任务提交相关测试
- 注入并托管 worker 池生命周期,服务退出时统一 StopAndWait
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 12:56:57 +08:00
yangjianbo
987589eabc
Merge branch 'test' into release
2026-02-21 10:07:53 +08:00
erio
38dca4f787
chore: bump version to 0.1.84.5
2026-02-20 12:22:13 +08:00
erio
f819cef6d5
chore: bump version to 0.1.84.4
2026-02-20 00:20:07 +08:00
liuxiongfeng
8b021c099d
chore: bump version to 0.1.84.3
2026-02-19 22:47:32 +08:00
yangjianbo
40498aac9d
feat(sora): 对齐sora2api分镜角色去水印与挑战错误治理
2026-02-19 20:04:10 +08:00
liuxiongfeng
8a625188ce
Merge release/custom-0.1.83 into release/custom-0.1.84
2026-02-18 22:38:45 +08:00
yangjianbo
5d9667d27a
Merge branch 'main' into test
...
# Conflicts:
# backend/cmd/server/VERSION
# backend/ent/migrate/schema.go
# backend/ent/mutation.go
# backend/ent/runtime/runtime.go
# backend/ent/usagelog.go
# backend/ent/usagelog/usagelog.go
# backend/ent/usagelog/where.go
# backend/ent/usagelog_create.go
# backend/ent/usagelog_update.go
# backend/internal/repository/usage_log_repo.go
# backend/internal/server/api_contract_test.go
# backend/internal/server/middleware/cors.go
# backend/internal/service/gateway_service.go
2026-02-18 20:16:31 +08:00
yangjianbo
fad04ca995
Merge branch 'main' of https://github.com/mt21625457/aicodex2api
2026-02-18 20:10:32 +08:00
liuxiongfeng
c0cfa6acde
chore: bump antigravity user-agent to 1.16.5, version to 0.1.83.2
2026-02-18 14:14:29 +08:00
John Doe
3d1f03c286
feat: add Cache TTL Override per account + bump VERSION to 0.1.83
...
- Account-level cache TTL override: rewrite Anthropic cache_creation
token classification (5m↔1h) in streaming/non-streaming responses
- New DB field cache_ttl_overridden in usage_log for billing tracking
- Migration 055_add_cache_ttl_overridden
- Frontend: CacheTTL override toggle in account create/edit modals
- Ent schema regenerated for new usage_log fields
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-17 14:19:24 +03:00
liuxiongfeng
0913cfc082
chore: bump version to 0.1.83.1
2026-02-14 22:03:26 +08:00
liuxiongfeng
be6e8ff77b
fix(ui): extend mixed channel check to both Antigravity and Anthropic accounts
...
Problem:
- When creating Anthropic Console accounts to groups with Antigravity accounts,
the mixed channel warning was not triggered
- Only Antigravity accounts triggered the confirmation dialog
Solution:
- Renamed isAntigravityAccount to needsMixedChannelCheck
- Extended check to include both 'antigravity' and 'anthropic' platforms
- Updated all 8 call sites in CreateAccountModal and EditAccountModal
Changes:
- frontend/src/components/account/CreateAccountModal.vue: 4 updates
- frontend/src/components/account/EditAccountModal.vue: 4 updates
Testing:
- Frontend compilation: passed
- Backend unit tests: passed
- OAuth flow: confirmation parameter correctly passed in Step 2
- Backend compatibility: verified with checkMixedChannelRisk logic
Impact:
- Both Antigravity and Anthropic accounts now show mixed channel warning
- OAuth accounts correctly pass confirm_mixed_channel_risk parameter
- No breaking changes to existing functionality
2026-02-14 21:29:36 +08:00
yangjianbo
e2107ce45e
fix(build): Docker 构建注入版本号并同步 aicodex 镜像脚本
2026-02-14 21:16:21 +08:00
yangjianbo
5feff6b1e5
feat: 0.1.74.9
2026-02-14 13:23:26 +08:00
yangjianbo
cbab49d65f
feat: 0.1.74.8
2026-02-14 12:10:20 +08:00
yangjianbo
888f2936ad
feat: version 0.1.74.7
2026-02-13 19:28:12 +08:00
liuxiongfeng
ebb85cf843
chore: bump version to 0.1.81.9
2026-02-13 04:15:12 +08:00