Commit Graph
1333 Commits
Author SHA1 Message Date
Chenyme 28bd057053 Merge branch 'main' into fix/audit-media-keep-tokens 2026-08-16 14:21:57 +08:00
Chenyme 56bf00b5ae fix: preserve media token usage and track reported usage accurately 2026-08-16 14:21:47 +08:00
Chenyme 295ad77e23 Merge pull request #933 from 2164312714-svg/fix/web-media-clearance-retry
fix(web): reacquire clearance after image challenge 403
2026-08-16 13:55:09 +08:00
Chenyme ba975f8c40 fix: safely refresh clearance after media challenge 403 2026-08-16 13:35:18 +08:00
Chenyme fe383894ae Merge branch 'main' into fix/web-media-clearance-retry 2026-08-16 13:33:36 +08:00
Chenyme cecd717a94 Merge pull request #945 from chenyme/grok_build_1.0.4
feat: align with grok-build 1.0.4 request protocol
2026-08-16 13:12:03 +08:00
Chenyme e0a82d5022 fix: preserve visible reasoning summaries for Chat requests 2026-08-16 13:01:25 +08:00
Chenyme 82df112044 Merge pull request #931 from 741075810/pr/video-admission-limits
fix(video): 参考图张数与时长在入队前校验,不再产出必然失败的任务
2026-08-16 12:05:53 +08:00
Chenyme ae9787d82e Merge branch 'main' into pr/video-admission-limits 2026-08-16 11:40:47 +08:00
Chenyme 6304c2aecb fix: enforce Console reference limits before scheduling 2026-08-16 11:40:23 +08:00
Chenyme 0cc20278ef Merge pull request #930 from lij768423-svg/feat/quality-guard-profiles-dual-probe
feat: probe profiles, dual-probe recovery, and thinking guard
2026-08-15 12:19:57 +08:00
Chenyme 5021ab68e9 Merge branch 'main' into feat/quality-guard-profiles-dual-probe 2026-08-15 12:01:47 +08:00
Chenyme 2428f17d34 fix: harden probe recovery and prevent false thinking isolation 2026-08-15 12:01:26 +08:00
Chenyme feb65ed3a5 Merge pull request #929 from heshangcode/fix/web-sso-build-conversion
fix: keep web-to-build SSO device flow off Cloudflare-strict accounts.x.ai
2026-08-15 11:18:18 +08:00
Chenyme e228c2dd6e Merge branch 'main' into fix/web-sso-build-conversion 2026-08-15 11:13:39 +08:00
Chenyme 2ae101f431 fix: keep SSO-to-Build device flow on auth.x.ai 2026-08-15 11:13:17 +08:00
Chenyme ba38f41bed Merge pull request #927 from MMortise/feature/proxy-subscription-compatibility
feat(egress): support Clash subscriptions and Reality Vision
2026-08-15 10:42:00 +08:00
Chenyme 6ce2f919b0 Merge branch 'main' into feature/proxy-subscription-compatibility 2026-08-15 10:36:51 +08:00
Chenyme 7521223143 fix: harden Clash parsing and preserve tunnel ALPN 2026-08-15 10:36:37 +08:00
Chenyme 5b0c5cd30c Merge pull request #923 from MMortise/fix/semantic-stream-idle-timeout
fix: enforce semantic idle timeout for Build streams
2026-08-15 10:05:34 +08:00
Chenyme b0d6881aec Merge branch 'main' into fix/semantic-stream-idle-timeout 2026-08-15 09:58:43 +08:00
Chenyme db2db0c78e fix: preserve semantic idle timeout during tool progress 2026-08-15 09:57:02 +08:00
buddhism5080 6a838cb3c5 fix(audit): label media output as output
Keep the media row distinct from the token 输出 cell.
2026-08-15 00:05:29 +08:00
2164312714-svg 2a624ac5d1 fix(web): reacquire clearance lease after media 403
Refs #932
2026-08-14 22:58:05 +08:00
lij768423-svg 327df116a7 fix: treat 32+ token replies with no thinking as degrade
Short 降智 answers (30-40 tokens, reasoning=0) were skipped by the
64-token floor. Isolate those; keep sub-32 samples ignored.
2026-08-14 21:57:10 +08:00
741075810 f36e7c103e fix(video): reject Console reference limits before enqueueing 2026-08-14 21:44:42 +08:00
lij768423-svg 71517cc609 feat: add probe profiles, dual-probe recovery, and thinking guard
Add a configurable quality-guard probe catalog (last-line / contains /
regex markers). User-traffic degrade isolates immediately; restore only
after a QUALITY_OK probe is healthy and includes thinking tokens.
Missing thinking is a hard isolate even at normal TPS.
2026-08-14 19:59:28 +08:00
buddhism5080 b8cc2ec58b fix(audit): keep token usage when media input is present
Media-bearing chat/image/video rows replaced the 输入/缓存/输出/推理
grid with Media Input counts. Show both, and use an em dash when
token usage was not reported.
2026-08-14 16:42:56 +08:00
heshangcodeandClaude ecf070ba42 fix: keep web-to-build SSO device flow off Cloudflare-strict accounts.x.ai
accounts.x.ai rejects non-browser clients (including the managed tls-client)
with HTTP 403 even when a valid cf_clearance is presented, while auth.x.ai
accepts them. Move the device flow onto auth.x.ai:

- Solve an ad-hoc clearance for accounts.x.ai through the same egress exit
  (new Manager.SolveClearance, never persisted into the node cache) and
  attach it to the flow, falling back gracefully when solving fails.
- Degrade the SSO precheck and the verification-page warmup to warnings when
  Cloudflare blocks them; credential validity is now judged by the verify
  step, which still maps dead SSO cookies to ErrUnauthorized (preserving the
  credential-rejected marker) via the sign-in redirect.
- Stop following redirects on verify/approve POSTs and read the 302 Location
  directly for the consent/done markers, so the flow never visits
  accounts.x.ai.

Verified with go test ./... and a live conversion (created 1, failed 0).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-14 16:28:35 +08:00
WuxiVIP 5a84f88d1c feat(egress): parse Clash subscriptions
Convert HTTP, SOCKS5, Trojan, VLESS, SS, and VMess entries from Clash YAML. Hysteria and TUIC remain unsupported and are skipped.
2026-08-14 13:11:21 +08:00
WuxiVIP 543fb5786e feat(proxy): support VLESS Reality Vision
Encode the Vision flow addon and honor Reality ClientHello fingerprints. Reject presets without X25519 TLS 1.3 key shares and preserve explicit ALPN.
2026-08-14 13:11:03 +08:00
Chenyme 86ae605717 Merge pull request #922 from MMortise/fix/copy-key
fix(frontend): make LAN key copy reliable
2026-08-14 11:40:35 +08:00
Chenyme 9c927d35ea Merge branch 'main' into fix/copy-key 2026-08-14 11:36:13 +08:00
Chenyme 2050ded0a1 Merge pull request #925 from chenyme/perf
perf: optimize large account pool selection and precise health invalidation
2026-08-14 11:35:54 +08:00
Chenyme c7ddda2366 perf: optimize large account pool selection and precise health invalidation 2026-08-14 11:30:45 +08:00
WuxiVIP a2b21c00e7 fix(cli): enforce semantic stream idle timeout 2026-08-14 10:55:18 +08:00
Chenyme 0c541e267f Merge pull request #918 from 741075810/pr/video-playback-url
fix(video): 返回可直接播放的视频地址
2026-08-14 10:22:37 +08:00
Chenyme 3dab778953 Merge branch 'main' into pr/video-playback-url 2026-08-14 10:14:52 +08:00
Chenyme 72cc75b751 fix: return verified public playback URLs with safe fallback 2026-08-14 10:14:37 +08:00
Chenyme 31ccf8be90 Merge pull request #917 from 741075810/pr/video-download-filename
fix(media): 视频下载文件名补齐扩展名
2026-08-14 10:13:42 +08:00
Chenyme 017253b867 Merge branch 'main' into pr/video-download-filename 2026-08-14 10:09:40 +08:00
Chenyme 2b1f53ce9f fix: unify safe video download filenames and extensions 2026-08-14 09:58:29 +08:00
Chenyme 5b1c8ec5c2 Merge pull request #915 from llmdph/fix/video-max-attempts
feat: add standalone video max attempts for create-phase failover
2026-08-14 09:51:36 +08:00
WuxiVIP 8a16931e1f fix(frontend): make LAN key copy reliable
Write fallback clipboard data through the copy event instead of relying on focus for an off-screen textarea. This keeps copying reliable inside focus-trapped dialogs on insecure LAN origins and avoids false success states.\n\nFixes #913
2026-08-14 09:51:35 +08:00
Chenyme a12fa2ef26 Merge branch 'main' into fix/video-max-attempts 2026-08-14 09:47:15 +08:00
Chenyme 690b92cff3 fix: harden create-phase failover and prevent duplicate jobs 2026-08-14 09:46:48 +08:00
Chenyme ec16d98c7f Merge pull request #914 from 741075810/pr/docs-video-limits
docs(api): 补齐 Console 视频输入的实测限制
2026-08-14 09:24:51 +08:00
Chenyme e1282e57a9 Merge branch 'main' into pr/docs-video-limits 2026-08-14 09:21:14 +08:00
Chenyme 852e44443e fix: update resolution field descriptions for images and videos 2026-08-14 09:15:35 +08:00
Chenyme 50a2f79aad Merge pull request #912 from 2164312714-svg/fix/web-image-history-context
fix(web): isolate image prompts from chat history
2026-08-14 09:11:38 +08:00