Commit Graph
206 Commits
Author SHA1 Message Date
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 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 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 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 0aa728bf95 fix: harden large account pool queries and candidate caching 2026-08-04 20:50:38 +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 b3edc1f6ba Merge branch 'main' into enhance 2026-08-04 18:37:03 +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 8e0e9923fb feat: support session-sticky routing across duplicate model targets 2026-08-04 16:57:38 +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 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
Chenyme 69e5fdd82f feat: integrate egress quality guard with managed identity and Compose 2026-08-04 14:48:50 +08:00
Chenyme 169b10fcaf Merge branch 'main' into feature/filter-proxy 2026-08-03 21:02:02 +08:00
Chenyme 89b4782556 feat: implement pagination and filtering for egress sources in account management 2026-08-03 21:01:41 +08:00
Chenyme b4c7baabb7 feat: enhance Build account detection with improved error classification and handling 2026-08-03 17:42:42 +08:00
lij768423-svg 334dbe0f01 fix: recover quality probes without bound accounts 2026-08-01 17:49:18 +00:00
lij768423-svg 982e9ba783 feat: harden quality guard proxy rotation 2026-08-01 16:45:26 +00:00
lij768423-svg fe762c58ef fix: match quality guard to panel TPS 2026-08-01 05:14:32 +00:00
lij768423-svg 137589c33c feat: add egress recovery and quality guard 2026-08-01 02:24:59 +00:00
WuxiVIP fc65a8d251 filter accounts by egress node or subscription source
feat: filter accounts by egress node or subscription source
The account list could only split proxy bindings into bound and unbound.
Operators troubleshooting one proxy exit or one subscription had no way to
see just the accounts sitting behind it.
The bound branch of the proxy-binding filter now opens a third menu level
listing every egress node and every subscription source that can serve the
current account pool, so the options re-scope as the list switches between
Grok Build, Web and Console.
The egress query value carries the narrowing: "node:<id>" and "source:<id>"
both mean bound, restricted to one node or to every node owned by one
subscription. Invalid targets are rejected as an invalid filter.
2026-07-30 15:34:35 +08:00
night2049 bcc6435f61 feat: improve Build account detection and routing failover 2026-07-30 01:21:27 +08:00
Chenyme ef10c4cb01 fix: allow manual retry of invalid Build credentials 2026-07-29 16:35:14 +08:00
Chenyme d21cc395f5 feat: enhance credential refresh error handling with detailed diagnostics 2026-07-29 16:04:13 +08:00
Chenyme 0d7eb82a45 Merge branch 'main' into fix/restore-egress-test-all 2026-07-29 15:18:30 +08:00
Chenyme 981f4cfef4 feat: implement batch clearance management and enhance egress operations validation 2026-07-29 15:17:59 +08:00
Chenyme cf68e41989 Merge branch 'main' into keys 2026-07-29 14:05:24 +08:00
put-go 630f6d0fc7 fix: restore egress bulk testing and controls 2026-07-28 22:24:09 +08:00
Chenyme 2e0a170058 Merge branch 'main' into agent/build-free-quota-500k 2026-07-28 16:34:34 +08:00
Chenyme 2a336686fd feat: enhance BatchUpdate to validate account provider and handle account pool mismatches 2026-07-28 16:16:06 +08:00
Chenyme f2676e8a18 feat: add client key routing scopes with fail-closed enforcement 2026-07-28 14:43:53 +08:00
AmPlace 3481139291 fix: update Build free quota estimate 2026-07-28 12:27:20 +08:00
Chenyme db66caba97 feat: add response performance metrics and billing breakdowns 2026-07-27 22:21:03 +08:00
Chenyme 3d7159a3cd feat: streamline egress proxy management and dual-stack cleanup 2026-07-27 18:06:23 +08:00
Chenyme 0893557a56 feat: enhance failure handling with MarkFailureAfterSuccess and improve health update logic 2026-07-27 16:35:43 +08:00
Chenyme ed0b5da080 perf: reduce database I/O with deferred credential hydration 2026-07-27 15:58:07 +08:00
Chenyme 4fcb532a16 Merge branch 'main' into agent/selective-account-export 2026-07-27 14:12:08 +08:00
Chenyme 25cf4699ec feat: implement cursor-based credential export with pagination support 2026-07-27 14:11:06 +08:00
AmPlace f4ac412f77 feat(accounts): support selective credential export 2026-07-27 10:55:56 +08:00
Chenyme cd6369d0c8 fix: preserve pre-upstream selection diagnostics 2026-07-27 10:43:37 +08:00
Chenyme 69fdf48cba Merge branch 'main' into egress-dual-stack-probe 2026-07-27 10:06:05 +08:00