Commit Graph

37 Commits

Author SHA1 Message Date
Haitao Pan
fc965b3ec4 refactor(acp): replace artifact fallback chain with snapshot+export and stable session mapping
- Introduce ThreadSessionMapper to derive stable OpenClaw session keys
  from threadId/sessionId, avoiding leaked draft session identifiers
- Replace the artifact scope cascading fallback (output-token heuristics,
  draft variant retries) with a single collect-and-snapshot call followed
  by export, per anti-fallback rules
- Enforce artifact contract by failing runs that report success but miss
  required final artifact extensions
- Update orchestrator and tests to the new methods sequence
  (collect-and-snapshot before export)
- Relax AGENTS.md rule to allow updating tests when the protocol contract
  itself changes
2026-06-05 12:07:28 +08:00
Haitao Pan
911f5709a3 feat(acp): implement distributed task router and openclaw gateway ingress 2026-06-02 12:19:27 +08:00
Haitao Pan
d321364681 Support review bridge auth token 2026-05-30 10:34:51 +08:00
Haitao Pan
110cb20e52 Add distributed task forwarding 2026-05-26 14:11:01 +08:00
Haitao Pan
1805ce1994 fix: adapt openclaw wait timeout by task 2026-05-23 13:45:41 +08:00
Haitao Pan
b39c9ec084 Configure OpenClaw admission from bridge config 2026-05-11 13:21:30 +08:00
Haitao Pan
6b81c9e9f1 Gate concurrent OpenClaw gateway requests 2026-05-11 11:45:32 +08:00
Haitao Pan
f9c36f2e4c test: guard openclaw acp response timeout 2026-05-07 17:46:13 +08:00
Haitao Pan
bf941281ee fix: keep acp response open for openclaw tasks 2026-05-07 17:12:50 +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
f7acb2fda5 refactor(acp): split internal server handlers and add opencode adapter 2026-04-23 11:43:38 +08:00
Haitao Pan
cfd19f6626 add bridge version trace output 2026-04-22 12:23:28 +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
3047f818aa fix: improve bridge endpoint robustness and deployment reporting 2026-04-21 18:13:26 +08:00
Haitao Pan
4c0e8c3d01 Unify bridge RPC aliases 2026-04-20 17:51:55 +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
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
1059cc7f86 ci: probe providers through bridge runtime 2026-04-14 11:51:11 +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
0fcaa845e1 ci: ship bridge via image ref artifact 2026-04-12 14:23:23 +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
cde3d9f463 Require synced providers for ACP routing 2026-04-10 17:43:43 +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
98a076cd65 Fix ACP auth and Gemini session compatibility 2026-04-09 19:21:12 +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
c5157fcb81 Initial standalone ACP bridge repository 2026-04-09 09:49:48 +08:00