feat(agent): add remote agent support with OpenClaw protocol#1739
Merged
IceyLiu merged 6 commits intoiOfficeAI:mainfrom Mar 27, 2026
Merged
feat(agent): add remote agent support with OpenClaw protocol#1739IceyLiu merged 6 commits intoiOfficeAI:mainfrom
IceyLiu merged 6 commits intoiOfficeAI:mainfrom
Conversation
Implement full remote agent lifecycle: device identity generation, OpenClaw Gateway handshake with pairing approval flow (5s poll, 5min timeout), encrypted credential storage, and per-agent Ed25519 keypairs stored in database instead of shared ~/.openclaw/identity/.
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
added 3 commits
March 26, 2026 15:59
Add comprehensive tests covering: - RemoteAgentCore: connection errors, history fallback, tool events, session resolution, message routing - remoteAgentBridge: handshake scenarios (ok, pending, error, timeout, regex fallback) - RemoteAgentManagement: DOM tests for settings UI (render, agent list, empty state) - RemoteSendBox: DOM tests for chat send box (stream events, initial message, stop) - useGuidSend: remote agent conversation creation path - usePresetAssistantInfo: remote agent info resolution
TCP404
added a commit
that referenced
this pull request
Mar 26, 2026
Add comprehensive tests covering: - RemoteAgentCore: connection errors, history fallback, tool events, session resolution, message routing - remoteAgentBridge: handshake scenarios (ok, pending, error, timeout, regex fallback) - RemoteAgentManagement: DOM tests for settings UI (render, agent list, empty state) - RemoteSendBox: DOM tests for chat send box (stream events, initial message, stop) - useGuidSend: remote agent conversation creation path - usePresetAssistantInfo: remote agent info resolution
IceyLiu
added a commit
that referenced
this pull request
Mar 27, 2026
fix(agent): apply missing remote agent UI updates from #1739
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Core Architecture
RemoteAgentCoreandRemoteAgentManager(runs in-process, no worker fork viaenableForkflag)OpenClawGatewayConnectionsupports external device identity injection (isolated from local~/.openclaw/identity/)RemoteAgentCoreDatabase
remote_agents(device_id, device_public_key, device_private_key, device_token)credentialCryptoIPC & Bridge
remoteAgentIPC namespace: list, get, create, update, delete, testConnection, handshakeSettings UI
i18n
Related Issue
Closes #1738
Test Plan
~/.openclaw/identity/device.jsonnot modified by remote agent operations