Commit Graph

534 Commits

Author SHA1 Message Date
Cita 882c9dee5a fix: harden mac release architecture verification 2026-03-19 20:49:24 +08:00
Cita e656179044 fix: harden mac release architecture verification 2026-03-19 20:49:23 +08:00
Cita 1607928b6c fix: harden mac release architecture verification 2026-03-19 20:49:22 +08:00
Cita 6c3a09da86 fix: harden mac release architecture verification 2026-03-19 20:49:21 +08:00
cita 8f0b5c81f4 fix responses eof false success logging 2026-03-19 20:43:44 +08:00
Cita 36e9a85664 fix backup import preview and refresh race (#167) 2026-03-19 17:14:07 +08:00
Cita 24483c28eb Refactor proxy-core surfaces and transformer boundaries (#163)
* refactor: add canonical request contracts

* test: harden transformer boundary contracts

* refactor: adapt protocol transformers to canonical contract

* refactor: add cli profile registry

* refactor: extract provider profiles

* refactor: add conductor and provider executors

* refactor: add models surface

* refactor: migrate responses surface

* refactor: migrate chat surface

* refactor: migrate gemini surface

* refactor: migrate file surfaces

* test: align runtime executor undici mock

* fix: preserve compact SSE closeout payloads

* feat: support all-api-hub v2 backup imports

* fix: aggregate codex oauth SSE final payloads

* fix: harden responses SSE failure handling
2026-03-19 16:07:56 +08:00
Hureru 7c6b729ce1 fix(proxy): preserve requestedModel fallback in embeddings forwardBody 2026-03-19 01:48:52 +08:00
Hureru bef1cd05ea fix(proxy): apply account proxy to image edits route 2026-03-19 01:47:39 +08:00
Hureru 028a767639 fix(proxy): apply account proxy to balance refresh and income fallback calls 2026-03-19 01:45:15 +08:00
Hureru 471879abbf fix(proxy): apply account proxy to OAuth model discovery calls 2026-03-19 01:43:22 +08:00
Hureru bece34ae5b fix(proxy): skip dispatcher cache for account-level proxy URLs 2026-03-19 01:39:35 +08:00
Hureru 619df14291 fix(proxy): apply account-level proxy to count_tokens and completions routes 2026-03-19 01:30:37 +08:00
Hureru 17afe3319e fix(proxy): fix merge conflict data loss in embeddings.ts success path 2026-03-19 01:21:00 +08:00
Hureru 849800c4cd feat(web): use purple badge capsule for account proxy indicator 2026-03-19 01:12:39 +08:00
Hureru 252d40d897 fix(proxy): fix merge conflict syntax error in images.ts catch block 2026-03-19 00:48:12 +08:00
Cita c0c993f448 fix: align explicit group route picker and details (#158)
* fix: align explicit group route picker and details

* fix: move responses stream closeout into transformer facade
2026-03-19 00:47:22 +08:00
Hureru f064921757 Merge remote-tracking branch 'origin/main' into feat/account-level-proxy
# Conflicts:
#	src/server/routes/proxy/completions.ts
#	src/server/services/siteProxy.ts
2026-03-19 00:00:10 +08:00
Hureru 803ba84cfd Merge branch 'main' into feat/account-level-proxy
# Conflicts:
#	src/server/routes/api/accountTokens.ts
#	src/server/routes/proxy/chat.ts
#	src/server/routes/proxy/completions.ts
#	src/server/routes/proxy/embeddings.ts
#	src/server/routes/proxy/endpointFlow.ts
#	src/server/routes/proxy/images.ts
#	src/server/routes/proxy/responses.ts
#	src/server/services/accountExtraConfig.test.ts
#	src/server/services/modelService.ts
2026-03-18 23:42:21 +08:00
xuyufengfei 45fe687c0d 增加了空回为失败和自定义失败关键词的功能,修复了机器人提出的问题 (#153)
* Add proxy failure rules for keywords and empty responses

* fix(proxy): detect failure keywords for streamed chat responses

* Fix(tester): treat empty stream output as error

* feat(server): default listen host to IPv6 any-address

* fix(proxy): treat empty upstream content as failure

* Revert "feat(server): default listen host to IPv6 any-address"

This reverts commit 2ca49a3891cc3a2e37138156b17b660b6a3cb7ea.

* fix(settings): validate proxy failure settings

* fix: address CodeRabbit feedback in proxy failure detection

* test: force NODE_ENV=test for vitest to avoid React act() prod build

* fix(proxy/chat): preserve true SSE streaming (no upstream.text buffering)

* fix: avoid http fallback after hijacked SSE stream

* fix: wire proxy failure detection into chat and responses

---------

Co-authored-by: metapi-bot <metapi-bot@local>
Co-authored-by: openclaw <bot@local>
Co-authored-by: openclaw <openclaw@local>
Co-authored-by: openclaw-executor <executor@openclaw.local>
Co-authored-by: xuyufengfei <xuyufengfei@users.noreply.github.com>
Co-authored-by: cita <juricek.chen@gmail.com>
2026-03-18 22:43:13 +08:00
Brucents 2a51ef6e4a fix: 支持 SOCKS5 系统代理并修复脱敏令牌重复同步 (#154)
* fix: 支持 SOCKS5 系统代理并修复脱敏令牌重复同步

* fix: 避免复用完全模糊的脱敏令牌

* fix: 修复 reviewer 反馈的令牌同步与 SOCKS5 问题

* fix: avoid masked token sync collisions

---------

Co-authored-by: Brucents <mail@urlk.cn>
Co-authored-by: cita <juricek.chen@gmail.com>
2026-03-18 22:41:39 +08:00
Cita a71ffb3641 Merge pull request #155 from cita-777/codex/fix-connection-and-release-regressions
[codex] fix route grouping and codex websocket regressions
2026-03-18 21:49:30 +08:00
cita c989a029ab fix: recover sqlite migration gaps and harden route regex 2026-03-18 21:45:07 +08:00
cita efe60d7cc2 refactor: streamline explicit group editor flow 2026-03-18 21:21:38 +08:00
cita f769f43909 fix route grouping and codex websocket regressions 2026-03-18 20:38:01 +08:00
Cita f7881796d4 Merge pull request #151 from cita-777/codex/fix-connection-and-release-regressions
[codex] fix connection and release regressions
2026-03-18 18:43:51 +08:00
cita 332007d4fb fix responses stream failure logging 2026-03-18 18:17:06 +08:00
cita 38e46e165b fix connection and release regressions 2026-03-18 18:00:59 +08:00
Cita d928e067c1 Merge pull request #150 from cita-777/fix/codex-responses-runtime-parity
fix: harden codex runtime header forwarding
2026-03-18 15:17:43 +08:00
ciat-777 5372668c44 fix: minimize codex upstream headers and clean quota wording 2026-03-18 14:58:01 +08:00
Cita 428af17250 Merge pull request #149 from cita-777/fix/codex-responses-runtime-parity
fix: align codex responses continuity handling
2026-03-18 13:28:28 +08:00
ciat-777 90f0c30861 fix: align codex responses continuity handling 2026-03-18 13:25:42 +08:00
Cita 131fef6373 Merge pull request #147 from cita-777/feat/proxy-runtime-parity
feat: extend proxy runtime parity
2026-03-18 12:48:44 +08:00
ciat-777 f902fe1cf6 feat: surface oauth quota details 2026-03-18 12:42:31 +08:00
ciat-777 cd37b11722 feat: extend proxy runtime parity 2026-03-18 12:01:50 +08:00
Cita 20ef75e76d Merge pull request #146 from cita-777/fix/oauth-onboarding-reliability
fix: improve oauth onboarding reliability
2026-03-18 00:39:01 +08:00
ciat-777 0516c09c32 fix: align antigravity model discovery request headers 2026-03-18 00:31:32 +08:00
ciat-777 c12da45dfd fix: improve oauth onboarding reliability 2026-03-18 00:03:55 +08:00
Cita e223f24d1a Merge pull request #144 from cita-777/fix/oauth-onboarding-cliproxyapi
fix: align oauth onboarding with cliproxyapi
2026-03-18 00:02:10 +08:00
ciat-777 d4987bea84 fix: align oauth onboarding with cliproxyapi 2026-03-17 23:47:56 +08:00
Cita cca2b95e8c Merge pull request #143 from cita-777/Oauth-Management
fix: improve oauth fallback handling for Gemini and Antigravity
2026-03-17 23:16:21 +08:00
ciat-777 f565d1b54d fix: improve oauth error and model discovery fallbacks 2026-03-17 23:13:11 +08:00
Cita 2f2c93477d Merge pull request #141 from cita-777/Oauth-Management
feat: expand gemini proxy compatibility matrix
2026-03-17 21:30:41 +08:00
ciat-777 2e34f9033d feat: expand gemini proxy compatibility matrix 2026-03-17 21:22:23 +08:00
ciat-777 07351b527f feat: enhance OAuthManagement with improved provider handling and user feedback 2026-03-17 20:17:04 +08:00
Cita eb0c5475ca Merge pull request #140 from cita-777/feat/oauth-loopback-bridge
fix: preserve codex workspaces and clarify oauth guidance
2026-03-17 19:11:36 +08:00
Cita 4b155cbf33 Merge pull request #137 from weijiafu14/fix/gemini-strip-unknown-request-fields
fix: use allowlist for Gemini native request fields to prevent 400 on unknown fields
2026-03-17 19:09:11 +08:00
ciat-777 965ded8960 fix: preserve codex workspaces and clarify oauth guidance 2026-03-17 19:03:36 +08:00
Cita ddfa115eeb Merge pull request #135 from weijiafu14/fix/gemini-thought-signature-tool-calls
fix: inject thoughtSignature into functionCall parts for OpenAI→Gemini conversion
2026-03-17 18:37:12 +08:00
Cita 49f2adf470 Merge pull request #139 from cita-777/feat/oauth-loopback-bridge
feat: align oauth loopback flow with cliproxyapi
2026-03-17 18:02:31 +08:00