Commit Graph

111 Commits

Author SHA1 Message Date
Haitao Pan
f7b8076a84 add traced bridge version output 2026-04-22 12:28:16 +08:00
Haitao Pan
cfd19f6626 add bridge version trace output 2026-04-22 12:23:28 +08:00
Haitao Pan
bf1fcac528 fix hermes provider command dispatch 2026-04-22 11:51:07 +08:00
Haitao Pan
5b5ffa86cd fix: align tests with new permissive auth behavior 2026-04-21 20:38:07 +08:00
Haitao Pan
fe13604703 fix: make acp.capabilities public and update verification script 2026-04-21 20:05:50 +08:00
Haitao Pan
c4d8c522a9 fix: make auth checks more robust across all adapters 2026-04-21 20:03:12 +08:00
Haitao Pan
34782eabd6 fix: enforce authentication check in validation script and update tests 2026-04-21 20:01:54 +08:00
Haitao Pan
44a7869f0f fix: allow unauthenticated requests when BRIDGE_AUTH_TOKEN is not set 2026-04-21 19:58:10 +08:00
Haitao Pan
3047f818aa fix: improve bridge endpoint robustness and deployment reporting 2026-04-21 18:13:26 +08:00
Haitao Pan
2dbd136d98 Remove default bridge functional test token 2026-04-21 16:29:10 +08:00
Haitao Pan
c4d110f13a Stop rewriting bridge upstream localhost endpoints 2026-04-21 16:28:26 +08:00
Haitao Pan
8e24b697a7 Tighten bridge endpoint and auth contracts 2026-04-21 10:34:44 +08:00
Haitao Pan
095ef07b61 Limit container upstream rewrites to container runtime 2026-04-20 18:28:24 +08:00
Haitao Pan
1aab7179a7 Resolve container-local upstream endpoints 2026-04-20 18:06:12 +08:00
Haitao Pan
4c0e8c3d01 Unify bridge RPC aliases 2026-04-20 17:51:55 +08:00
Haitao Pan
0a07c03f85 Document live xworkmate bridge topology 2026-04-20 17:20:05 +08:00
Haitao Pan
1e6c644a92 Add Hermes ACP adapter 2026-04-20 16:54:40 +08:00
Haitao Pan
729da27179 Make public RPC contract probe provider-agnostic 2026-04-20 14:10:10 +08:00
Haitao Pan
f09985122c feat(testing): add high-coverage functional test suite and improve acp error handling 2026-04-20 13:01:04 +08:00
Haitao Pan
e043480418 fix(ci): update rpc contract validation and remove internal service token 2026-04-20 12:31:16 +08:00
Haitao Pan
104ab26356 refactor(acp): unify ingress topology and migrate all services to xworkmate-bridge.svc.plus 2026-04-20 11:30:42 +08:00
Haitao Pan
69045c6684 feat(acp): support *_RPC_URL env keys and fix test case redundancies 2026-04-20 10:22:46 +08:00
Haitao Pan
a7102cb38f fix(test): align test cases with config-driven provider catalog 2026-04-20 09:41:00 +08:00
Haitao Pan
939a1b6c87 refactor(acp): remove hardcoded endpoints and migrate to path-based routing 2026-04-20 09:34:11 +08:00
Haitao Pan
55bfda225e fix(ci): normalize bridge rpc endpoints 2026-04-20 09:08:25 +08:00
Haitao Pan
9b6f90ff73 fix(acp): remove unused providerLabel function 2026-04-18 12:56:06 +08:00
Haitao Pan
cd249b4d40 fix(acp): resolve compilation and test failures by restoring provider types and flattening capabilities response 2026-04-18 12:32:41 +08:00
Haitao Pan
efd73f664e docs: update example config to reflect new upstream YAML structure 2026-04-18 11:51:02 +08:00
Haitao Pan
76a011cff6 feat(acp): support YAML configuration for upstream endpoints with priority logic 2026-04-18 11:50:19 +08:00
Haitao Pan
1f3896115c refactor(acp): remove hardcoded production endpoints in favor of environment variables 2026-04-18 11:49:07 +08:00
Haitao Pan
a632445c64 chore(domain): unify production endpoints and documentation 2026-04-18 11:43:00 +08:00
Haitao Pan
25332bb75f refactor(ci): call ansible-playbook directly in pipeline for better transparency 2026-04-18 11:37:47 +08:00
Haitao Pan
3e432b718e ci: fix SSL validation errors by redirecting stale acp-server URLs to bridge sub-paths 2026-04-18 11:26:03 +08:00
Haitao Pan
5c5f0fecb7 ci: ensure BRIDGE_AUTH_TOKEN is passed to validation script 2026-04-18 10:14:41 +08:00
Haitao Pan
f99758a040 ci: update validation scripts to support JSON root status and new gateway URL 2026-04-18 09:41:15 +08:00
Haitao Pan
97c443834f test: align bridge and geminiadapter tests with new protocol and routing 2026-04-18 09:29:42 +08:00
Haitao Pan
fc2629a0a0 chore(gateway): cleanup unused imports and update binary for path-based routing 2026-04-18 09:09:59 +08:00
Haitao Pan
9b16bf1a92 chore(gateway): fine-tune gateway routing to support bridged path with Path field in Endpoint 2026-04-18 08:44:32 +08:00
Haitao Pan
84b0a27689 docs: update API and internal references to support JSON-RPC 2.0 and hybrid mode 2026-04-17 21:00:35 +08:00
Haitao Pan
2c8845f704 fix(rpc): align envelopes for better frontend compatibility and fix legacy field mapping 2026-04-17 19:21:32 +08:00
Haitao Pan
00ef2ceeed fix(acp): unify protocol compatibility, enhance authentication, and fix conversation history 2026-04-17 17:41:16 +08:00
Haitao Pan
f30c8d4816 fix(security): enforce mandatory authentication and update deployment
Enforce strict Bearer token validation even when the bridge auth token is not explicitly configured in the environment. This ensures unauthenticated requests are rejected with a 401 status code by default. Updated deployment scripts to pass the required auth token and adjusted the test suite to align with the new security requirements.
2026-04-16 18:50:47 +08:00
Haitao Pan
75c940fba5 fix(acp): ensure SSE stream is closed with [DONE] signal 2026-04-16 16:26:25 +08:00
Haitao Pan
cf92887eb1 unify bridge auth and server env names 2026-04-14 23:44:46 +08:00
Haitao Pan
235af032b4 fix gateway explicit provider routing 2026-04-14 21:14:19 +08:00
Haitao Pan
f93a8dda0a docs: add layered bridge engineering reference 2026-04-14 16:24:12 +08:00
Haitao Pan
9505c34dc4 Merge branch 'codex/provider-selection-test-mainline' 2026-04-14 15:27:15 +08:00
Haitao Pan
28ea0c8c52 fix: preserve bridge auth for nested provider forwarding 2026-04-14 15:18:59 +08:00
1b5e2e68d2
Merge pull request #2 from x-evor/codex/provider-selection-test-mainline
test: lock bridge provider contract smoke checks
2026-04-14 15:04:38 +08:00
Haitao Pan
eaf0a6255f test: lock bridge provider contract smoke checks 2026-04-14 13:56:58 +08:00