| .github | ||
| docs | ||
| example | ||
| internal | ||
| scripts | ||
| .gitignore | ||
| AGENTS.md | ||
| go.mod | ||
| go.sum | ||
| main_test.go | ||
| main_tools.go | ||
| main.go | ||
| Makefile | ||
| README.md | ||
XWorkmate Bridge
xworkmate-bridge is the standalone repository for the XWorkmate ACP Bridge Server and the embedded Go helper previously stored under xworkmate-app/go/go_core.
What lives here
- ACP Bridge HTTP/WebSocket server
- ACP stdio bridge entrypoint
- Go helper runtime packages used by the ACP bridge
- Unit tests for bridge routing, RPC contracts, mounts, runtime dispatch, and provider sync
ACP Forwarding Topology
This repository exposes one bridge entrypoint and forwards to four verified public targets. The full Mermaid diagram lives in docs/architecture/acp-forwarding-topology.md.
Example provider sync config: example/config.yaml
API reference: docs/api-reference.md
Compatibility
For compatibility with xworkmate-app, the built helper binary name remains xworkmate-go-core.
Commands
make test
make build
./build/bin/xworkmate-go-core serve --listen 127.0.0.1:8787
GitHub Actions
This repository includes one GitHub Actions pipeline with four stages:
prep: Go static checksbuild: build thelinux/amd64artifact for the x86 target host and upload itdeploy: run Ansible CD withx-evor/playbooksvalidate: verify the public endpoints after deployment
Deploy stage
The deploy stage checks out:
- this service repository into
xworkmate-bridge/ - the
x-evor/playbooksrepository intoplaybooks/
Then it runs playbooks/deploy_xworkmate_bridge_vhosts.yml, which builds the service for linux/amd64 and deploys it to the target host with Ansible.
Required GitHub secrets:
SINGLE_NODE_VPS_SSH_PRIVATE_KEY: private key used by the Actions runner to SSH into the target hostWORKSPACE_REPO_TOKEN: token with access to checkoutx-evor/playbooks
Optional GitHub secrets:
SSH_KNOWN_HOSTS: pre-seeded known_hosts content for stricter host verification
Optional workflow input:
internal_service_token: manual dispatch input that is forwarded to Ansible asINTERNAL_SERVICE_TOKEN
Environment
ACP_LISTEN_ADDR: listen address forservemode, default127.0.0.1:8787OUTPUT_DIR: optional output directory formake buildOUTPUT_PATH: optional explicit build path formake build