Chenyme
f52e1eb45d
refactor: introduce shouldInvalidateConsoleClearance function
2026-08-06 11:09:50 +08:00
buddhism5080
d33f6b179e
fix(console): align DPoP proof iat with mint response Date skew
...
Learn clock skew from POST /v1/dpop/token Date header (no extra RTT)
and always store it on the DPoP session (0 if missing). All subsequent
proofs (usage/responses/media) use iat = localNow + skew, matching the
console.x.ai frontend and surviving host clock drift of ~1 minute.
2026-08-06 02:06:33 +08:00
Chenyme
56cfd210ce
Merge pull request #859 from piexian/feat/console-quota-media-followups
...
feat: 适配 Web Gateway 新协议并完善账号路由
2026-08-05 23:56:52 +08:00
Chenyme
cf4d8af4b9
Merge branch 'main' into feat/console-quota-media-followups
2026-08-05 23:52:14 +08:00
Chenyme
4390dd4257
feat: adopt Gateway protocol and harden account routing
2026-08-05 23:51:18 +08:00
氕氙
e287698d8a
feat: adapt Web Gateway and Console routing
2026-08-05 20:35:25 +08:00
Chenyme
5752608ea3
Merge pull request #858 from chenyme/console_tool
...
refactor: remove SearchTools from ModelSpec and update related logic in console provider
2026-08-05 20:28:47 +08:00
Chenyme
339617a2cb
refactor: remove SearchTools from ModelSpec and update related logic in console provider
2026-08-05 20:15:21 +08:00
Chenyme
fee63588d7
Merge branch 'main' of https://github.com/chenyme/grok2api
v3.1.1
2026-08-05 17:26:19 +08:00
Chenyme
95d6471aad
chore: bump version to v3.1.1
2026-08-05 17:26:06 +08:00
Chenyme
a77162b333
Merge pull request #855 from Huan-zhaojun/pr/qualityguard-windows-permissions
...
fix(test): skip POSIX permission assertions on Windows
2026-08-05 17:25:38 +08:00
Chenyme
f8de8e1a78
Merge branch 'main' into pr/qualityguard-windows-permissions
2026-08-05 17:18:48 +08:00
Chenyme
55934f08e2
Merge pull request #854 from Huan-zhaojun/pr/import-bare-array
...
feat: support bare JSON array credential import
2026-08-05 17:18:36 +08:00
Chenyme
2a320e69e6
fix: update console provider adapter initialization to include missing parameter
2026-08-05 17:14:13 +08:00
Chenyme
d29d7ffc83
Merge branch 'pr/import-bare-array' of https://github.com/Huan-zhaojun/grok2api into pr/854
2026-08-05 17:09:01 +08:00
Chenyme
a4405eda6a
refactor: clarify import limit tests for console and build adapters
2026-08-05 17:08:37 +08:00
Chenyme
804b842382
Merge branch 'main' into pr/import-bare-array
2026-08-05 17:05:50 +08:00
Chenyme
f6d7c1c55c
Merge pull request #853 from chenyme/grok_console_260805
...
feat: align DPoP protocol, real usage quotas, and 24h recovery probing
2026-08-05 16:52:38 +08:00
Chenyme
cd7d3cd3af
fix: harden grouped routing queries and selection safety
2026-08-05 16:37:41 +08:00
Chenyme
a05e06a20c
feat: enhance console provider integration and improve quota handling for media routes
2026-08-05 16:25:25 +08:00
Chenyme
377710f4ae
refactor: unify quota refresh handling and introduce console usage migration
2026-08-05 13:32:32 +08:00
Huan-zhaojun
75fa94f88c
fix(test): skip POSIX permission assertions on Windows
...
Windows has no POSIX permission bits: os.WriteFile mode is ignored and
files report 0666-style permissions, so the 0600 assertions in the
qualityguard bootstrap and runtime-config tests always fail on Windows.
Skip them on Windows; POSIX behavior is unchanged.
(cherry picked from commit 0b9d0487b066472d33755c531b6f3f6a5c0da8ab)
2026-08-05 12:01:53 +08:00
Huan-zhaojun
1b58823af1
feat: support bare JSON array import for credential files
...
Accept top-level JSON arrays in credential import files, the common
export shape of batch registration tools.
- decoder: per-element validation with indexed errors, limit pre-check
- web/console: reserve '[' as JSON prefix, fix silent plain-text import
- sync: deterministic {"sso_token": ...} payload and UTF-8 guard
(cherry picked from commit 03ece5ab19df5a4cf3be4db31bbb4df450eab088)
2026-08-05 11:47:48 +08:00
Chenyme
f1d51254db
feat: align DPoP protocol, real usage quotas, and 24h recovery probing
2026-08-05 11:18:21 +08:00
Chenyme
725ecf0899
chore: bump version to v3.1.0
v3.1.0
2026-08-04 21:23:45 +08:00
Chenyme
4bb20b8d0d
Merge pull request #850 from chenyme/sql
...
feat: support PostgreSQL connection URL from environment
2026-08-04 21:18:26 +08:00
Chenyme
636d22dbfc
Merge branch 'main' into sql
2026-08-04 21:11:55 +08:00
Chenyme
56072a50b4
feat: support PostgreSQL connection URL from environment
2026-08-04 21:11:06 +08:00
Chenyme
cabd3840b5
Merge pull request #849 from chenyme/sql
...
fix: harden large account pool queries and candidate caching
2026-08-04 20:55:06 +08:00
Chenyme
0aa728bf95
fix: harden large account pool queries and candidate caching
2026-08-04 20:50:38 +08:00
Chenyme
b6cfefa051
Merge pull request #848 from chenyme/usage
...
fix: preserve thinking token usage in Anthropic responses
2026-08-04 20:06:13 +08:00
Chenyme
5554c17b6a
fix: preserve thinking token usage in Anthropic responses
2026-08-04 19:55:15 +08:00
Chenyme
ab84ffef2e
Merge pull request #847 from chenyme/model
2026-08-04 18:51:06 +08:00
Chenyme
3a5d855a5d
Merge branch 'main' into model
2026-08-04 18:42:40 +08:00
Chenyme
f996040784
feat: support Grok Build Composer discovery and protocol compatibility
2026-08-04 18:42:09 +08:00
Chenyme
722a4f52a5
Merge pull request #846 from chenyme/enhance
...
feat: isolate upstream connection pools by account
2026-08-04 18:41:11 +08:00
Chenyme
b3edc1f6ba
Merge branch 'main' into enhance
2026-08-04 18:37:03 +08:00
Chenyme
16242caf4b
Merge pull request #841 from buddhism5080/feat/account-isolated-connections
...
feat(egress): isolate upstream TCP pools by account
2026-08-04 18:36:01 +08:00
Chenyme
719888292d
Merge branch 'main' into feat/account-isolated-connections
2026-08-04 18:31:59 +08:00
Chenyme
810b3b4fbb
feat: isolate upstream connection pools by account
2026-08-04 18:31:28 +08:00
Chenyme
15d6dba963
Merge pull request #845 from chenyme/models
...
feat: support session-sticky routing across duplicate model targets
2026-08-04 17:02:37 +08:00
Chenyme
3ae8d4235d
Merge branch 'main' into models
2026-08-04 16:58:09 +08:00
Chenyme
8e0e9923fb
feat: support session-sticky routing across duplicate model targets
2026-08-04 16:57:38 +08:00
Chenyme
120f53a157
Merge pull request #844 from chenyme/models
...
fix: handle fixed reasoning for Grok Console 4.20
2026-08-04 16:43:39 +08:00
buddhism5080
42b7556a5f
feat(egress): isolate upstream TCP pools by account
...
Add a hot-reloadable routing switch so different accounts no longer share
the same upstream HTTP/TCP client pool, while the same account keeps
connection reuse. This helps upstream egress load balancers spread
traffic by connection across Build/Web/Console outbound calls.
2026-08-04 16:37:38 +08:00
Chenyme
7adc3927fd
fix: handle fixed reasoning for Grok Console 4.20
2026-08-04 16:07:51 +08:00
Chenyme
de0dcbe3bd
Merge pull request #843 from chenyme/grok_build_0.2.119
...
fix: harden Grok Build 0.2.119 protocol compatibility
2026-08-04 15:47:30 +08:00
Chenyme
3721babdcd
fix: harden Grok Build 0.2.119 protocol compatibility
2026-08-04 15:42:59 +08:00
Chenyme
ecfd233390
Merge pull request #837 from lij768423-svg/agent/egress-resilience-quality-guard
...
feat: harden egress quality guard and recovery
2026-08-04 15:02:29 +08:00
Chenyme
1d62978af3
Merge remote-tracking branch 'origin/main' into pr/837
...
# Conflicts:
# backend/internal/application/gateway/failure_test.go
# backend/internal/application/gateway/service.go
2026-08-04 14:54:16 +08:00