Wesley Liddick and GitHub
79aff2df31
Merge pull request #1810 from IanShaw027/fix/profile-auth-bindings-i18n
...
fix(payment,profile,admin): 修复支付二维码流程、绑定提示与后台配置说明
2026-04-23 09:48:41 +08:00
shaw
755c7d5026
chore: revert README files to 78f691d2 version
2026-04-22 19:55:13 +08:00
Wesley Liddick and GitHub
1da4bd72df
Merge pull request #1802 from IanShaw027/fix/profile-auth-bindings-i18n
...
fix(profile): 修正邮箱重复显示问题并添加国际化语言支持
2026-04-22 19:49:43 +08:00
shaw
c6d25f69d5
chore: 恢复PAYMENT系列文件
2026-04-22 18:48:40 +08:00
shaw
45065c23d5
fix(ci): run 108a migration before 109 in backfill integration test
2026-04-22 18:36:44 +08:00
Wesley Liddick and GitHub
ddf80f5ea1
Merge pull request #1799 from IanShaw027/rebuild/auth-identity-foundation
...
fix(auth,payment,profile): 修复认证身份和支付系统的后续问题
2026-04-22 18:18:39 +08:00
Wesley Liddick and GitHub
c048ca80a4
Merge branch 'main' into rebuild/auth-identity-foundation
2026-04-22 18:17:12 +08:00
shaw
4d0483f5b8
feat: 补充gpt生图模型测试功能
2026-04-22 18:12:03 +08:00
shaw
1e0d466002
feat: 补充gpt生图模型测试功能
2026-04-22 18:06:14 +08:00
Wesley Liddick and GitHub
32107b4f95
Merge pull request #1795 from 0x90000/feat/openai-image-api-sync
...
feat(openai): 同步生图 API 支持并接入图片计费调度
2026-04-22 14:24:41 +08:00
Wesley Liddick and GitHub
8eb3f9e789
Merge pull request #1785 from IanShaw027/rebuild/auth-identity-foundation
...
feat(auth,payment): 重构认证身份和支付系统及其他部分优化
2026-04-22 10:14:15 +08:00
shaw
78f691d2de
chore: update sponsors
2026-04-21 14:57:59 +08:00
shaw
960b2bb8e6
feat(legal): add CLA with automated GitHub Actions enforcement
...
Introduce Individual Contributor License Agreement (ICLA) to enable
dual licensing (LGPL-V3 open source + future closed-source releases).
- CLA.md: Apache ICLA-style license grant with moral rights waiver,
patent license, electronic signature clause, and assignability
- .github/workflows/cla.yml: CLA Assistant Lite bot that auto-checks
PRs, posts signing prompts, and stores signatures on a separate
`cla-signatures` branch to keep main branch history clean
2026-04-21 12:06:45 +08:00
Wesley Liddick and GitHub
ffc9c38722
Merge pull request #1766 from touwaeriol/fix/codex-drop-removed-models
...
fix(openai): drop removed Codex models and fix normalization fallback side-effects
2026-04-21 08:50:00 +08:00
Wesley Liddick and GitHub
a8854947c0
Merge pull request #1764 from touwaeriol/feat/wxpay-pubkey-hardening
...
feat(payment): wxpay pubkey-only hardening with structured errors and i18n
2026-04-21 08:49:00 +08:00
shaw
23def40bc5
chore: change license from MIT to LGPL v3.0
2026-04-19 22:06:04 +08:00
Wesley Liddick and GitHub
f5ee93796d
Merge pull request #1753 from touwaeriol/feat/fix-orphaned-scheduled-tests
...
fix: delete scheduled test plans when account is deleted
2026-04-19 21:14:23 +08:00
Wesley Liddick and GitHub
e8be434498
Merge pull request #1752 from touwaeriol/fix/quota-exceeded-scheduling
...
fix(account): prevent quota-exceeded API key/Bedrock accounts from being scheduled
2026-04-19 21:14:06 +08:00
Wesley Liddick and GitHub
061fd48df7
Merge pull request #1749 from touwaeriol/fix/xhigh-reasoning-effort
...
fix: support xhigh reasoning effort in usage records
2026-04-19 21:13:45 +08:00
Wesley Liddick and GitHub
51af8df31d
Merge pull request #1731 from touwaeriol/fix/rate-billing-autofill-response-limit
...
fix: subscription billing, alipay redirect + H5, payment secrets, 128MB response limit
2026-04-19 09:43:24 +08:00
Wesley Liddick and GitHub
6c73b6212c
Merge pull request #1734 from touwaeriol/docs/payment-recommend-kyren-topup
...
docs(payment): add Kyren Topup as international EasyPay provider option
2026-04-18 18:33:14 +08:00
Wesley Liddick and GitHub
358ff6a608
Merge pull request #1683 from FjlI5/dev-main
...
fix:修复上游账号为OpenAI API key时Claude Code调用缓存率低的问题
2026-04-17 10:28:12 +08:00
Wesley Liddick and GitHub
41fbdba104
Merge pull request #1687 from touwaeriol/refactor/upstream-response-limit-dedup
...
refactor: extract ReadUpstreamResponseBody to deduplicate response read + too-large handling
2026-04-17 10:19:14 +08:00
Wesley Liddick and GitHub
c22d11cedd
Merge pull request #1702 from StarryKira/fix/outbox-watermark-context-dedup-1691
...
fix: fix outbox watermark context expiry and add in-batch group rebuild dedup
2026-04-17 10:18:56 +08:00
shaw
5d586a9f3a
fix: 上游返回 KYC 身份验证要求时停止账号调度
2026-04-17 10:17:50 +08:00
shaw
a789c8c4c7
feat: 支持opus-4.7
2026-04-17 09:37:25 +08:00
Wesley Liddick and GitHub
e6e73b4f52
Merge pull request #1690 from KnowSky404/fix/ws-codex-scheduler-cache-1662
...
fix: preserve openai ws flags in scheduler cache
2026-04-16 17:21:32 +08:00
shaw
7ea8e7e667
chore: update sponsors
2026-04-16 17:19:32 +08:00
shaw
a55ead5ea8
chore: remove empty dir Antigravity-Manager
2026-04-16 16:42:40 +08:00
Wesley Liddick and GitHub
70d0569f08
Merge pull request #1668 from tyqy12/main
...
修复 OpenAI 账号限流回流误判:7d 窗口可用时不因 5h 窗口为 0 回写 429
2026-04-15 16:48:48 +08:00
Wesley Liddick and GitHub
1db32d692b
Merge pull request #1666 from touwaeriol/feat/account-cost-display
...
feat(usage): add account cost display to admin dashboard and usage pages
2026-04-15 16:43:07 +08:00
Wesley Liddick and GitHub
8fd29082c0
Merge pull request #1663 from touwaeriol/fix/test-dialog-close-during-stream
...
fix(ui): allow closing test dialog during active SSE stream
2026-04-15 16:40:40 +08:00
Wesley Liddick and GitHub
9bf079b725
Merge pull request #1655 from touwaeriol/feat/payment-fee-multiplier
...
feat(payment): balance recharge multiplier and fee rate
2026-04-15 16:40:14 +08:00
Wesley Liddick
7451b6f9ae
修复 OpenAI 账号限流回流误判:7d 窗口可用时不因 5h 窗口为 0 回写 429
2026-04-15 15:29:52 +08:00
Wesley Liddick and GitHub
7c671b5373
Merge pull request #1635 from KnowSky404/fix-issue-1613-version-dropdown
...
fix(sidebar): prevent version dropdown clipping in expanded brand
2026-04-14 20:41:53 +08:00
Wesley Liddick and GitHub
d402e722cf
Merge pull request #1637 from touwaeriol/feat/websearch-notify-pricing
...
feat: web search emulation, balance/quota notify, account stats pricing, per-provider refund control, Stripe fix / Web 搜索模拟、余额配额通知、渠道统计计费、按服务商退款控制、Stripe 修复
2026-04-14 20:41:09 +08:00
shaw
f9f57e9505
fix(migrations): add 097 to restore settings.updated_at default
...
Legacy instances created the settings table via ent auto-migration,
which emits Go-level defaults only. Migration 005 uses CREATE TABLE
IF NOT EXISTS, so the missing SQL DEFAULT was never backfilled. This
caused 098's raw INSERT to fail with a NOT NULL violation on
updated_at. The new migration is idempotent and safe for fresh
installs (no-op) and historical instances (backfills the default).
2026-04-13 23:09:26 +08:00
shaw
92f4a6bb94
chore: update readme
2026-04-13 22:28:44 +08:00
Wesley Liddick and GitHub
66bea2b5ed
Merge pull request #1624 from KnowSky404/fix-issue-1613-version-dropdown
...
fix(sidebar): prevent version update dropdown clipping
2026-04-13 22:03:02 +08:00
Wesley Liddick and GitHub
ad6c328135
Merge pull request #1575 from shuanbao0/fix/cursor-responses-body-compat
...
fix(gateway): 兼容 Cursor /v1/chat/completions 的 Responses API body
2026-04-13 22:02:44 +08:00
Wesley Liddick and GitHub
d949acb1f2
Merge pull request #1603 from Zqysl/qingyu/fix-datatable-mobile-double-render
...
fix(frontend): reduce account usage request fan-out on pagination
2026-04-13 21:48:00 +08:00
Wesley Liddick and GitHub
759088002d
Merge pull request #1612 from touwaeriol/fix/qrcode-density
...
fix(frontend): lower QR code error correction level to reduce density
2026-04-13 21:44:38 +08:00
Wesley Liddick and GitHub
7d80b5ad28
Merge pull request #1610 from touwaeriol/fix/alipay-wxpay-type-mapping
...
fix(payment): register Alipay/Wxpay providers for base payment types
2026-04-13 21:44:19 +08:00
Wesley Liddick and GitHub
e70812f03f
Merge pull request #1623 from sakurawztlt/fix/anthropic-buffered-empty-output
...
fix: anthropic 非流式路径丢失 delta 内容(镜像 b2e379cf)
2026-04-13 21:11:48 +08:00
shaw
9648c4323f
fix(frontend): resolve TS2352 type assertion error in API client
2026-04-12 18:06:40 +08:00
shaw
a1a283688c
chore: update sponsors
2026-04-12 17:19:44 +08:00
Wesley Liddick and GitHub
82b840c16e
Merge pull request #1587 from tkpdx01/fix/anthropic-credit-balance-400
...
fix: handle Anthropic credit balance exhausted (400) as account error
2026-04-12 16:42:02 +08:00
Wesley Liddick and GitHub
16126a2c9c
Merge pull request #1545 from Zqysl/qingyu/fix-smooth-sidebar-collapse
...
fix(sidebar): smooth sidebar collapse behavior
2026-04-12 16:36:00 +08:00
Wesley Liddick and GitHub
9b7b3755fe
Merge pull request #1543 from IanShaw027/fix/messages-dispatch-i18n
...
fix(frontend): 补全 messages 调度国际化文案
2026-04-12 16:35:34 +08:00
Wesley Liddick and GitHub
54490cf65e
Merge pull request #1576 from touwaeriol/feat/payment-docs
...
docs(payment): add built-in payment configuration guide and settings links
2026-04-12 16:34:53 +08:00
Wesley Liddick and GitHub
97f14b7a08
Merge pull request #1572 from touwaeriol/feat/payment-system-v2
...
feat(payment): add complete payment system with multi-provider support
2026-04-11 19:07:31 +08:00
Wesley Liddick and GitHub
1ef3782dd4
Merge pull request #1538 from IanShaw027/fix/bug-cleanup-main
...
fix: 修复多个 UI 和功能问题 - 表格排序搜索、导出逻辑、分页配置和状态筛选
2026-04-11 16:29:55 +08:00
Wesley Liddick and GitHub
00c08c574e
Merge pull request #1539 from warksu/fix/loadfactor-not-synced-to-scheduler-cache
...
fix: 同步 LoadFactor 到调度快照缓存
2026-04-09 21:15:40 +08:00
Wesley Liddick and GitHub
bbc79796dc
Merge pull request #1529 from IanShaw027/feat/group-messages-dispatch-redo
...
feat: 为openai分组增加messages调度模型映射并支持instructions模板注入
2026-04-09 21:14:38 +08:00
Wesley Liddick and GitHub
760cc7d6be
Merge pull request #1481 from alfadb/fix/increase-error-log-body-limit
...
fix(ops): 将错误日志请求体存储限制从 10KB 提升至 256KB
2026-04-09 21:14:13 +08:00
Wesley Liddick and GitHub
9a72025afb
Merge pull request #1523 from octo-patch/fix/issue-1519-home-content-csp-frame-src
...
fix: include home_content URL in CSP frame-src origins
2026-04-09 21:13:46 +08:00
Wesley Liddick and GitHub
74302f60ab
Merge pull request #1010 from Glorhop/pr/oidc-login
...
feat(auth): support OIDC login and prefer IdP real email on sign-in
2026-04-09 21:13:22 +08:00
Wesley Liddick and GitHub
1b79f6a7cf
Merge pull request #1522 from xvhuan/fix/redis-snapshot-meta-fix
...
优化调度快照缓存,避免 1.5 万账号场景下 Redis 大 MGET
2026-04-09 10:25:33 +08:00
shaw
155d3474d6
chore: update Sponsors
2026-04-09 09:21:55 +08:00
shaw
f54e9d0b1c
chore: update readme
2026-04-08 16:37:00 +08:00
shaw
b982076e52
fix: resolve errcheck lint and add missing enable_cch_signing to test
...
- Suppress errcheck for xxhash Digest.Write (never returns error)
- Add enable_cch_signing field to settings API contract test
2026-04-08 16:23:02 +08:00
shaw
7060596a30
fix: bump Go from 1.26.1 to 1.26.2 to resolve 6 stdlib CVEs
...
Fixes GO-2026-4947, GO-2026-4946, GO-2026-4870, GO-2026-4869,
GO-2026-4866, GO-2026-4865 in crypto/x509, crypto/tls, archive/tar,
and html/template.
2026-04-08 16:17:15 +08:00
shaw
e51c9e50b5
feat: sync billing header cc_version with User-Agent and add opt-in CCH signing
...
- Sync cc_version in x-anthropic-billing-header with the fingerprint
User-Agent version, preserving the message-derived suffix
- Implement xxHash64-based CCH signing to replace the cch=00000
placeholder with a computed hash
- Add admin toggle (enable_cch_signing) under gateway forwarding settings,
disabled by default
2026-04-08 16:11:19 +08:00
Wesley Liddick and GitHub
5088e91566
Merge pull request #1417 from YanzheL/fix/openai-empty-base64-image-payloads
...
fix: sanitize empty base64 image payloads for OpenAI requests
2026-04-08 14:20:38 +08:00
Wesley Liddick and GitHub
276f499c82
Merge pull request #1418 from YanzheL/fix/1161-gemini-google-search-grounding
...
fix(gemini): preserve google search grounding tools
2026-04-08 14:19:57 +08:00
Wesley Liddick and GitHub
5c203ce6c6
Merge pull request #1428 from YanzheL/fix/openai-gateway-content-session-hash-fallback
...
fix(gateway): add content-based session hash fallback for non-Codex clients
2026-04-08 14:17:49 +08:00
Wesley Liddick and GitHub
47cd1c5286
Merge pull request #1467 from touwaeriol/refactor/channel-service-cleanup
...
refactor(channel): split long functions, extract shared validation, move billing validation to service
2026-04-08 14:16:28 +08:00
Wesley Liddick and GitHub
06e2756ee4
Merge pull request #1501 from StarryKira/fix/1493-non-streaming-empty-output
...
fix: 非流式响应路径扩展SSE检测至所有账号类型
2026-04-08 14:11:47 +08:00
shaw
1c9a2128cf
fix: 修复非CC客户端OAuth伪装被Anthropic检测为第三方应用的问题
...
commit f3aa54b 的 rewriteSystemForNonClaudeCode 未能通过 Anthropic 第三方检测,
根因是两个关键信号与真实 Claude Code 不一致:
1. anthropic-beta 头缺少 claude-code-20250219:伪装路径主动将该 beta
加入 drop set 并移除,但 Anthropic 依赖此 beta 识别 Claude Code 请求。
修复:非 haiku 模型的伪装请求强制包含 claude-code beta。
2. system 字段使用 string 格式而非 array+cache_control:真实 Claude Code
始终以 [{type,text,cache_control:{type:"ephemeral"}}] 发送 system,
string 格式成为第三方检测信号。
修复:rewriteSystemForNonClaudeCode 改为注入 array 格式。
附带调整:stripSystemCacheControl 按 system 是否被重写动态决定,
重写时保留 CC prompt 的 cache_control,未重写时(haiku/已含CC前缀)
保持原有剥离行为。
2026-04-08 14:06:06 +08:00
Wesley Liddick and GitHub
00aaf0f796
Merge pull request #1382 from StarryKira/fix/refresh-token-race-condition
...
fix: resolve refresh token race condition causing false invalid_grant errors fix issue#1381
2026-04-07 20:50:08 +08:00
Wesley Liddick and GitHub
81b96ae123
Merge pull request #1498 from aiexz/main
...
do not normalize model for openai API token based accounts
2026-04-07 20:37:10 +08:00
shaw
7c60ee3c85
feat: Beta策略支持按模型区分处理(模型白名单)
2026-04-07 20:33:09 +08:00
shaw
b2e379cf7a
fix: 非流式路径在上游终态事件output为空时从delta事件重建响应内容
...
上游API近期更新后,response.completed终态SSE事件的output字段可能为空,
实际内容仅通过response.output_text.delta等增量事件下发。流式路径不受影响,
但chat_completions非流式路径和responses OAuth非流式路径只依赖终态事件的
output,导致返回空响应。
新增BufferedResponseAccumulator累积器,在SSE扫描过程中收集delta事件内容
(文本、function_call、reasoning),当终态output为空时补充重建。
同时修复handleChatBufferedStreamingResponse遗漏response.done事件类型的问题。
2026-04-07 19:35:56 +08:00
shaw
08b454423b
chore: renew expired xlsx audit exceptions to 2026-07-06
2026-04-07 17:22:17 +08:00
shaw
f3aa54b770
fix: 非Claude Code客户端system prompt迁移至messages以绕过第三方应用检测
...
Anthropic近期引入基于system参数内容的第三方应用检测机制,原有的前置追加
Claude Code提示词策略无法通过检测(后续内容仍为非Claude Code格式触发429)。
新策略:对非Claude Code客户端的OAuth/SetupToken账号请求,将system字段
完整替换为Claude Code标识提示词,原始system内容作为user/assistant消息对
注入messages开头,模型仍接收完整指令。
仅影响/v1/messages路径,chat_completions和responses路径保持原有逻辑不变。
真正的Claude Code客户端请求完全不受影响(原样透传)。
2026-04-07 17:06:47 +08:00
Wesley Liddick and GitHub
9ab2fd7f9e
Merge pull request #1391 from Zqysl/qingyu/fix-openai-passthrough-failover-429-529
...
fix(openai): fail over passthrough 429 and 529
2026-04-07 15:18:52 +08:00
Wesley Liddick and GitHub
bf2b590273
Merge pull request #1397 from weak-fox/fix/active-filter-excludes-rate-limited
...
解决账号管理中“正常”筛选包含限流中账号
2026-04-07 08:26:51 +08:00
shaw
339d906e54
chore: update readme
2026-04-05 22:31:01 +08:00
shaw
f47c865555
chore: update readme
2026-04-05 22:27:13 +08:00
Wesley Liddick and GitHub
c71b1d63e5
Merge pull request #1460 from imfusheng/main
...
解决issue#1453提到的反重力不可用问题
2026-04-05 22:01:08 +08:00
shaw
a07296770c
fix: remove remaining Sora references from frontend
...
The previous Sora removal missed several frontend references, causing
TypeScript build errors for sora_client_enabled and a missing SoraView.vue
import. Clean up all remaining Sora code from types, router, sidebar,
settings, store, and accounts API.
2026-04-05 21:26:47 +08:00
Wesley Liddick and GitHub
8154575d70
Merge pull request #1464 from touwaeriol/fix/channel-platform-isolation
...
fix(channel): remove cross-platform pricing/mapping leakage for antigravity groups
2026-04-05 21:09:10 +08:00
Wesley Liddick and GitHub
d757df8a4b
Merge pull request #1463 from touwaeriol/feat/remove-sora
...
revert: completely remove Sora platform
2026-04-05 21:08:48 +08:00
shaw
f585a15eff
fix(billing): prevent channel_mapped override from reverting BillingModel when channel did not map
...
When a channel has no model mapping for the requested model, ChannelMappedModel
equals OriginalModel (the user's arbitrary input). Combined with the default
BillingModelSource="channel_mapped", this incorrectly overrides the BillingModel
set by the OpenAI format conversion layer (e.g., gpt-5.4 from DefaultMappedModel)
back to the unmapped original model (e.g., glm) which has no pricing — resulting
in zero-cost billing.
Add guard condition so the channel_mapped override only fires when the channel
actually changed the model (ChannelMappedModel != OriginalModel).
2026-04-05 17:31:18 +08:00
Wesley Liddick and GitHub
bf45581104
Merge pull request #1455 from touwaeriol/feat/channel-management
...
feat(channel): add channel management with multi-mode pricing and billing integration
2026-04-04 23:42:33 +08:00
Wesley Liddick and GitHub
b384570de3
Merge pull request #1439 from touwaeriol/feat/redeem-negative-value
...
feat(redeem): support negative values for refund/deduction
2026-04-03 22:22:54 +08:00
Wesley Liddick and GitHub
0507852a34
Merge pull request #1437 from DaydreamCoding/fix/openai-oauth-improvements
...
feat(openai): OpenAI OAuth 账号管理增强:订阅状态、隐私设置、Token 刷新修复
2026-04-03 09:22:10 +08:00
Wesley Liddick and GitHub
7b6ff135fb
Merge pull request #1424 from DaydreamCoding/fix/antigravity-batch-privacy
...
fix(antigravity): 修复批量刷新令牌不设置隐私模式的问题
2026-04-03 09:21:39 +08:00
Wesley Liddick and GitHub
055c48ab33
Merge pull request #1262 from InCerryGit/main
...
fix(openai): preserve bare gpt-5.3-codex-spark across forwarding paths
2026-04-01 08:31:12 +08:00
Wesley Liddick and GitHub
6663e1eda6
Merge pull request #1420 from YanzheL/fix/1202-gemini-customtools-404
...
Fix Gemini CLI 404s for gemini-3.1-pro-preview-customtools
2026-04-01 08:30:40 +08:00
Wesley Liddick and GitHub
83a16dec19
Merge pull request #1407 from DaydreamCoding/feat/cache-driven-rpm-buffer
...
feat(gateway): Cache-Driven RPM Buffer
2026-03-31 14:01:23 +08:00
Wesley Liddick and GitHub
820c531814
Merge pull request #1406 from DaydreamCoding/feat/group-account-filter
...
feat(group-filter): 分组账号过滤控制 — require_oauth_only + require_privacy_set
2026-03-31 14:01:05 +08:00
Wesley Liddick and GitHub
1727b8df3b
Merge pull request #1404 from DaydreamCoding/feat/antigravity-privacy-on-refresh-fail
...
feat(antigravity): 令牌刷新失败及创建账号时也设置隐私
2026-03-31 14:00:53 +08:00
shaw
a025a15f5d
feat: add refresh button to admin and user dashboard pages
2026-03-31 13:53:49 +08:00
shaw
318aa5e0d3
feat: add cache hit rate line to token usage trend chart
...
Add a purple dashed line showing cache hit rate percentage
(cache_read / (cache_read + cache_creation)) on a secondary
right Y-axis (0-100%). Applies to both user and admin dashboards.
2026-03-30 21:43:07 +08:00
shaw
1dfd974432
chore: update readme
2026-03-30 16:28:31 +08:00
shaw
cc396f59cf
chore: update readme
2026-03-30 16:24:29 +08:00
Wesley Liddick and GitHub
6a2cf09ee0
Merge pull request #1349 from touwaeriol/feat/antigravity-internal500-penalty
...
feat(antigravity): progressive penalty for consecutive INTERNAL 500 errors
2026-03-30 15:54:04 +08:00
Wesley Liddick and GitHub
c6fd88116b
Merge pull request #1354 from wucm667/fix/billing-use-requested-model
...
fix(billing): 计费始终使用用户请求的原始模型,而非映射后的上游模型
2026-03-30 15:52:31 +08:00
Wesley Liddick and GitHub
8f0dbdeaba
Merge pull request #1343 from yilinyo/fix/api-key-unique-conflict-after-soft-delete
...
fix(api-key):软删除apikey后key没有被释放后续无法再自定义相同的key
2026-03-30 15:47:28 +08:00