77 Commits
Author SHA1 Message Date
Chenyme b0ea8efdaa Merge branch 'main' into pr/1022
# Conflicts:
#	backend/internal/infra/provider/cli/responses_reasoning_recovery.go
#	backend/internal/infra/provider/cli/responses_reasoning_recovery_test.go
2026-08-31 15:31:07 +08:00
Chenyme 95915fad28 refactor: enhance quality hold logic and replay safety across accounts 2026-08-31 10:34:58 +08:00
buddhism5080 990bd7bea0 fix(cli): forward original compact blobs and surface decode 400s
Client compaction items without the g2a_compact_v1 prefix are treated as
upstream original state and sent to Build unchanged. Compact blob decode
rejections are returned to the client instead of being recovered as
opaque reasoning. Gateway-owned g2a blobs still expand locally.
2026-08-29 06:54:26 +08:00
lij768423-svg 31557e8089 docs: match requestRetry comments to TUI hold and stub withhold
enabled stays false. A stub plus visible output at the deadline is
withheld, not released as late ciphertext. Floor-met short dumps and
previous_response_id / hosted-tool turns are held when intercept is on.
2026-08-28 11:37:37 +08:00
Chenyme 17cc78391e docs: updated README files 2026-08-25 17:50:15 +08:00
Chenyme 88ef5bd948 chore: bump version to v3.1.5 2026-08-25 16:12:05 +08:00
Chenyme 017d94a065 Merge remote-tracking branch 'origin/main' into pr/989
# Conflicts:
#	backend/internal/application/gateway/quality_retry.go
#	backend/internal/application/gateway/quality_retry_scan.go
#	backend/internal/application/gateway/quality_retry_test.go
#	backend/internal/infra/config/config.go
#	backend/internal/infra/config/config_test.go
#	backend/internal/transport/http/account/handler.go
#	backend/internal/transport/http/account/handler_test.go
#	backend/internal/transport/http/inference/handler.go
#	backend/internal/transport/http/inference/handler_test.go
#	config.example.yaml
2026-08-20 20:25:02 +08:00
Chenyme 2aace693e9 fix: avoid withholding late-thinking streams after the quality hold deadline 2026-08-20 20:19:22 +08:00
lij768423-svg 6b288f209c fix: lengthen requestRetry hold so grok-4.6 thinking is not withheld
3s hold cuts encrypted thinking that arrives at end-of-stream, which
fills audits with HTTP 200 · error and quality_degraded retries.
Match the production lab defaults: 30s hold, minOutput 8, 12h
missing-thinking cooldown, 15m idle cooldown, grok-4.6 probe model.

requestRetry.enabled stays false in built-in Go defaults so existing
configs do not flip on upgrade; config.example.yaml now recommends it on.
2026-08-20 17:18:05 +08:00
Chenyme c0d7c94e2c feat: isolate account-bound proxy leases 2026-08-19 16:59:53 +08:00
Chenyme d76c74f407 feat: record trusted client IPs 2026-08-19 15:06:17 +08:00
Chenyme 2a4537efd5 Merge branch 'main' into refresh 2026-08-18 20:12:55 +08:00
Chenyme e6428933e3 fix: harden Build OAuth credential refresh recovery 2026-08-18 20:11:54 +08:00
lij768423-svg fb803d4ba1 docs: document requestRetry, compact session drift, and sticky nodes
Cover the recently merged gateway withhold/retry, keep compaction
summaries across session-key drift, and recommend one fixed node per
sticky session. Point sidecar docs at GROK2API_BASE_URL and make it
clear requestRetry is in-process, not sidecar.
2026-08-18 19:19:54 +08:00
lij768423-svg ae05b4f749 feat: bound auto-assign share and per-cycle migrations
Add optional routing.autoAssignMaxNodeShare and
autoAssignMaxMigrationShare. Default 0 keeps the historical unbounded
first-pass evacuation and the existing 200-move repair ceiling. Values
in [0.05, 1] cap how many active accounts one healthy node may absorb
and how many already-bound accounts may move in one cycle.
2026-08-17 22:20:01 +08:00
Chenyme 05528aca3a feat: align Imagine models, generation parameters, and quota resets 2026-08-17 11:49:59 +08:00
Chenyme c7ddda2366 perf: optimize large account pool selection and precise health invalidation 2026-08-14 11:30:45 +08:00
Chenyme e112ad0d01 Merge branch 'main' into feat/on-demand-clearance 2026-08-13 21:22:04 +08:00
Chenyme 61010b4bc2 feat: add reliable on-demand Cloudflare Clearance refresh 2026-08-13 21:21:50 +08:00
Chenyme 0ebadaa981 Merge remote-tracking branch 'origin/main' into pr/890
# Conflicts:
#	frontend/src/features/settings/settings-model.ts
#	frontend/src/shared/i18n/index.ts
2026-08-13 19:43:10 +08:00
Chenyme bb42745e6d feat: harden Console voice and image/video compatibility 2026-08-13 16:55:29 +08:00
lindahao 7b1a3e14a5 fix: rename Web image models to 2.0 and expose edit capabilities
Replace the ambiguous -lite public names with grok-imagine-image-2.0 and
grok-imagine-image-quality-2.0, and register image_edit routes so the admin
model list shows edit badges like Console.
2026-08-12 15:25:49 +08:00
lindahao d8d5c24d49 fix: enable Web Image 2.0 quality mode for free accounts
Grok Web now ships Image 2.0 as Quality Mode with a separate imagePro
quota on basic accounts, so expose grok-imagine-image-quality-lite to
basic tier instead of super-only.
2026-08-12 15:25:48 +08:00
WuxiVIP 4cfa751c0f fix(egress): add real tunnel proxy dialers
Parse and normalize Trojan, VLESS, Shadowsocks, and VMess share links, then route Build, browser, pinned HTTPS, and subscription fetch traffic through embedded dialers. Update validation, UI help, redaction, docs, and protocol coverage tests.

Hysteria and TUIC remain unsupported and are intentionally deferred.
2026-08-10 17:02:22 +08:00
Chenyme 4390dd4257 feat: adopt Gateway protocol and harden account routing 2026-08-05 23:51:18 +08:00
Chenyme 95d6471aad chore: bump version to v3.1.1 2026-08-05 17:26:06 +08:00
Chenyme 56072a50b4 feat: support PostgreSQL connection URL from environment 2026-08-04 21:11:06 +08:00
Chenyme 810b3b4fbb feat: isolate upstream connection pools by account 2026-08-04 18:31:28 +08:00
Chenyme 69e5fdd82f feat: integrate egress quality guard with managed identity and Compose 2026-08-04 14:48:50 +08:00
lij768423-svg 137589c33c feat: add egress recovery and quality guard 2026-08-01 02:24:59 +00:00
Chenyme a51a5d6dab chore: bump version to v3.0.8 2026-07-23 17:24:42 +08:00
Chenyme 9a74db44ec docs: add sponsorship information in README files 2026-07-23 00:45:35 +08:00
Chenyme 317f5c337a Merge branch 'main' into feat/egress-proxy-operations 2026-07-22 22:42:42 +08:00
Ron c792e47b80 feat: add egress proxy operations 2026-07-22 18:52:01 +08:00
viekai af3c1ea49b docs: explain Python account migration 2026-07-22 16:19:23 +08:00
Chenyme 5d3023ef0b feat: implement optional auto-clean for reauthRequired accounts 2026-07-20 21:57:49 +08:00
Chenyme 4c0e5939c2 refactor: update account auto-clean logic and improve related tests 2026-07-20 20:03:47 +08:00
LLwill 46483ab241 feat: add managed FlareSolverr clearance 2026-07-20 17:34:51 +08:00
Codex 2f3f08f5cb fix: delay auto-clean until next interval after enable
Hot-reload and first enable only reschedule the timer; hard-delete runs
on tick only. Align README/i18n, fix settings section indent, ignore
local tmp-ui-preview.
2026-07-20 06:16:39 +08:00
Codex acb822e452 fix: harden reauth auto-clean delete path and anchors
Use reauth_marked_at as minAge clock, skip media-blocked accounts without
failing the batch, rename include-disabled setting, and cover aging/media/multi-batch.
2026-07-20 03:00:21 +08:00
Codex 65c85f2463 feat: add opt-in auto-clean for reauthRequired accounts
Add a default-off runtime setting that periodically deletes accounts already
marked reauthRequired after a minimum age. Preserve cooldown-only accounts and
permanent-refresh drain semantics; wire settings end-to-end including admin UI.
2026-07-20 01:26:28 +08:00
Chenyme a5f87e0a72 feat: enhance account identity synchronization and error handling for SSO credentials 2026-07-18 23:38:25 +08:00
Chenyme a60e92e856 feat: update web account settings to include terms versioning and enhance acceptance tracking 2026-07-18 22:41:20 +08:00
real 726c379949 fix: 修正 Build 账号等级与上游路由 2026-07-18 09:17:25 +08:00
real 4ff0071ea8 docs: clarify automatic XAI fallback policy 2026-07-17 13:01:25 +08:00
real 2423d4ba57 merge: sync upstream v3.0.2 with XAI fallback 2026-07-17 02:55:21 +08:00
real f811ffa6dc feat: add account-aware XAI fallback and video uploads 2026-07-17 02:20:19 +08:00
Chenyme 6458bb880d feat: support Resin proxy 2026-07-17 00:07:01 +08:00
Chenyme 80048405f9 feat: enhance image generation and improved error handling 2026-07-15 11:14:46 +08:00
Chenyme 1b5cddca54 refactor: Enhance model routing and provider handling, improve documentation and error messages 2026-07-14 11:43:49 +08:00