CI / macos-app (set -euo pipefail
for attempt in 1 2 3; do
if swift build --package-path apps/macos --configuration release; then
exit 0
fi
echo "swift build failed (attempt $attempt/3). Retrying…"
sleep $((attempt * 20))
done
exit 1
, build) (push) Has been cancelled
CI / macos-app (set -euo pipefail
for attempt in 1 2 3; do
if swift test --package-path apps/macos --parallel --enable-code-coverage --show-codecov-path; then
exit 0
fi
echo "swift test failed (attempt $attempt/3). Retrying…"
sleep $((attempt … (push) Has been cancelled
- Support multiple Matrix accounts in parallel via sharedClients Map
- Account-specific client connections with proper isolation
- Each account gets its own SDK client instance
- Proper cleanup on stop/restart
- Resolves account from bindings configuration
This allows running multiple Matrix bots/accounts from a single OpenClaw instance,
each with their own rooms and credentials.
Configuration example:
matrix:
accounts:
main:
homeserver: matrix.example.com
userId: @bot1:example.com
secondary:
homeserver: matrix.other.com
userId: @bot2:other.com
Co-authored-by: Claudia <claudia.keller0001@gmail.com>