Commit Graph

214 Commits

Author SHA1 Message Date
Haitao Pan
3f19c38f36 fix: persist stripped openclaw artifact maps 2026-05-06 13:29:53 +08:00
Haitao Pan
25934c7d74 fix: sanitize openclaw gateway response artifacts 2026-05-06 13:19:49 +08:00
Haitao Pan
d63bcc8022 fix: strip openclaw download artifact bodies 2026-05-06 13:09:19 +08:00
Haitao Pan
1781a01f80 fix: strip scoped openclaw artifact bodies 2026-05-06 13:00:41 +08:00
Haitao Pan
f2d281bf12 fix: detect openclaw artifact responses before stripping 2026-05-06 12:40:18 +08:00
Haitao Pan
482797e946 fix: strip normalized openclaw artifact bodies 2026-05-06 11:07:43 +08:00
Haitao Pan
b9f4aa80fa fix: omit inline openclaw artifact content 2026-05-06 10:56:00 +08:00
Haitao Pan
f0f7d99e21 test: cover OpenClaw latest workspace artifacts 2026-05-06 10:04:34 +08:00
Haitao Pan
f3f2e7464c feat: sync OpenClaw artifacts by scoped export 2026-05-06 09:33:54 +08:00
Haitao Pan
2114691b9b fix: proxy openclaw artifact downloads 2026-05-05 14:48:46 +08:00
Haitao Pan
7575543bb4 fix: require real OpenClaw artifacts 2026-05-05 14:31:45 +08:00
Haitao Pan
f5a3c6f829 fix: export openclaw gateway artifacts 2026-05-05 12:48:04 +08:00
Haitao Pan
9944cffe3f Fix OpenClaw chat send routing 2026-05-05 10:17:31 +08:00
Haitao Pan
9f16279f5f Fix OpenClaw gateway session routing 2026-05-04 20:40:42 +08:00
Haitao Pan
75cd5fe051 fix: send raw openclaw gateway auth token 2026-05-03 20:41:56 +08:00
Haitao Pan
4b9bc29ad7 fix: persist openclaw gateway device identity 2026-05-03 20:27:04 +08:00
Haitao Pan
fac0a0857a fix: enforce openclaw gateway task route 2026-05-03 12:14:31 +08:00
Haitao Pan
2f5e0a3fa1 fix: route openclaw gateway through bridge 2026-05-03 11:22:09 +08:00
Haitao Pan
2b5535e772 fix: connect local openclaw gateway before requests 2026-05-02 21:46:01 +08:00
Haitao Pan
54142767e4 test: lock bridge gateway public contract 2026-05-02 19:52:59 +08:00
Haitao Pan
6e2daf2e3d fix: remove legacy bridge public aliases 2026-05-02 17:45:17 +08:00
Haitao Pan
0915adc565 fix: structure hermes empty response failures 2026-04-29 19:26:58 +08:00
Haitao Pan
dbce207d83 Fix artifact payload copy lint 2026-04-29 11:03:21 +08:00
Haitao Pan
b5eb9ded10 feat(acp): implement task tracking and artifact recording
- Added TaskState and TaskKind tracking in SessionOrchestrator
- Implemented ArtifactRecord to capture remote workspace hints and artifacts
- Enhanced OpenCode adapter with session ID sanitization and validation
- Added unit tests for remote workspace hints and invalid session handling
2026-04-28 20:22:44 +08:00
Haitao Pan
6f754ec23f Filter Codex protocol noise from task output 2026-04-28 16:49:18 +08:00
Haitao Pan
400be2e538 Fix Codex ACP empty output handling 2026-04-27 12:31:42 +08:00
Haitao Pan
caf541995e Treat app gateway target as explicit routing 2026-04-26 10:32:47 +08:00
Haitao Pan
3f964710f5 Accept top-level gateway routing contract 2026-04-26 10:26:15 +08:00
Haitao Pan
c9afbe7423 Fix gateway provider routing resolution 2026-04-26 10:17:38 +08:00
Haitao Pan
dfead14145 Fix bridge lint blockers 2026-04-24 14:57:26 +08:00
Haitao Pan
cce9833689 Fix ACP provider endpoint routing 2026-04-24 11:51:28 +08:00
Haitao Pan
17c0fa6f16 Refine bridge routing and remove fallback paths 2026-04-23 15:58:37 +08:00
Haitao Pan
e808f7a19e refactor(acp): refocus bridge as control plane and consolidate execution logic 2026-04-23 13:21:14 +08:00
Haitao Pan
6d9e40833d refactor(gateway): remove hardcoded production routing, use configured GatewayURL 2026-04-23 11:53:47 +08:00
Haitao Pan
d0ca602269 fix(gateway): relax production routing for local endpoints 2026-04-23 11:47:21 +08:00
Haitao Pan
f7acb2fda5 refactor(acp): split internal server handlers and add opencode adapter 2026-04-23 11:43:38 +08:00
Haitao Pan
0562b99039 fix hermes acp prompt completion 2026-04-23 09:29:45 +08:00
Haitao Pan
1d89c17ef6 fix hermes acp adapter responses 2026-04-22 16:57:54 +08:00
Haitao Pan
ad70f2f9f9 wait for hermes final session updates 2026-04-22 15:12:16 +08:00
Haitao Pan
f18bf93337 drain trailing hermes acp notifications 2026-04-22 15:07:56 +08:00
Haitao Pan
060648834b switch hermes upstream to acp prompt streaming 2026-04-22 15:03:33 +08:00
Haitao Pan
a279ecffe2 default hermes adapter to session.start 2026-04-22 14:55:21 +08:00
Haitao Pan
ca88b73322 switch hermes provider to websocket stream 2026-04-22 14:50:20 +08:00
Haitao Pan
9e899233b9 extract hermes prompt output from updates 2026-04-22 14:24:37 +08:00
Haitao Pan
b697e915eb fix hermes acp prompt forwarding 2026-04-22 14:22:09 +08:00
Haitao Pan
849e45bf5b remove hermes cli fallback path 2026-04-22 14:09:30 +08:00
Haitao Pan
b4123998b7 fix hermes adapter upstream session routing 2026-04-22 14:08:56 +08:00
Haitao Pan
5bb9afe422 ensure provider working directories exist 2026-04-22 13:51:26 +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
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
1e6c644a92 Add Hermes ACP adapter 2026-04-20 16:54:40 +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
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
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
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
28ea0c8c52 fix: preserve bridge auth for nested provider forwarding 2026-04-14 15:18:59 +08:00
Haitao Pan
eaf0a6255f test: lock bridge provider contract smoke checks 2026-04-14 13:56:58 +08:00
Haitao Pan
1059cc7f86 ci: probe providers through bridge runtime 2026-04-14 11:51:11 +08:00
Haitao Pan
a205547677 runtime: extend external acp timeout budget 2026-04-14 11:07:52 +08:00
Haitao Pan
36af8604e1 Merge branch 'codex/fix-release-publish-checkout'
# Conflicts:
#	docs/api-reference.md
#	docs/architecture/acp-forwarding-topology.md
#	docs/architecture/adr-unified-bridge-entrypoints.md
#	internal/acp/provider_catalog.go
2026-04-14 10:08:20 +08:00
Haitao Pan
5978c0385f Expose target-scoped provider metadata in ACP capabilities 2026-04-14 10:05:10 +08:00
Haitao Pan
549bf6dbe4 Remove bridge bootstrap consume lane 2026-04-13 19:28:35 +08:00
Haitao Pan
647fa2e84a fix: align gateway routing to openclaw mainline 2026-04-13 15:46:07 +08:00
Haitao Pan
0fcaa845e1 ci: ship bridge via image ref artifact 2026-04-12 14:23:23 +08:00
Haitao Pan
6314df67d5 test: align bootstrap consume contract fields 2026-04-11 21:10:36 +08:00
Haitao Pan
d9fd4b0d04 Consume bridge bootstrap contract names 2026-04-11 20:25:40 +08:00
Haitao Pan
9a2f317e46 Support bridge auth token fallback for upstream ACP 2026-04-11 18:48:52 +08:00
Haitao Pan
9d52d75fff bridge: remove gateway target compatibility layer 2026-04-11 17:23:19 +08:00
Haitao Pan
5004ee2438 bridge: add gateway provider routing model 2026-04-11 17:04:09 +08:00
Haitao Pan
26db84561a bridge: add gateway provider routing model 2026-04-11 16:35:01 +08:00
Haitao Pan
d1bec8d253 Make production provider routing bridge-owned 2026-04-11 13:50:11 +08:00
Haitao Pan
f053649ede refactor: make bridge own single-agent provider catalog 2026-04-10 21:20:35 +08:00
Haitao Pan
7f192791b5 Report public gateway address for remote bridge sessions 2026-04-10 20:57:01 +08:00
Haitao Pan
cde3d9f463 Require synced providers for ACP routing 2026-04-10 17:43:43 +08:00
Haitao Pan
78fa471211 require explicit external provider auth header 2026-04-10 16:50:56 +08:00
Haitao Pan
67696beab8 Add GitHub Actions pipeline for bridge deploy 2026-04-10 16:17:32 +08:00
Haitao Pan
634052af07 Add bridge bootstrap consume endpoint 2026-04-10 15:36:05 +08:00
Haitao Pan
0040b940a4 Return structured single-agent artifacts 2026-04-10 14:59:42 +08:00
Haitao Pan
50d59b0d00 fix: synthesize external ACP streamed output 2026-04-10 10:46:46 +08:00
Haitao Pan
51d8ed6946 fix acp discovery and bridge forwarding 2026-04-10 10:18:02 +08:00
Haitao Pan
98a076cd65 Fix ACP auth and Gemini session compatibility 2026-04-09 19:21:12 +08:00
Haitao Pan
6ebcdd6f5b Add Gemini ACP adapter shim 2026-04-09 14:09:18 +08:00
Haitao Pan
7cd0bdfbc4 fix: route xworkmate-bridge ACP providers with cwd fallback 2026-04-09 13:27:30 +08:00
Haitao Pan
3f41409363 feat: require bearer auth for accounts-backed ACP access 2026-04-09 13:27:20 +08:00
Haitao Pan
9bf00b3b4c feat: add static token auth helpers 2026-04-09 11:19:40 +08:00
Haitao Pan
c5157fcb81 Initial standalone ACP bridge repository 2026-04-09 09:49:48 +08:00