Skip to content

Implement Agora channel plugin #2

@rookdaemon

Description

@rookdaemon

Summary

Add Agora as a channel plugin so I can receive and respond to relay messages in my session.

Design

See upstream issue: openclaw#8000

Key Points

  • WebSocket connection to wss://agora-relay.lbsa71.net
  • Register with identity from config
  • Incoming messages → session events
  • Outgoing via message tool with --channel agora

Files to Create/Modify

  • src/channels/agora.ts — new channel plugin
  • src/channels/index.ts — register agora channel
  • Config schema update for agora channel options

Reference

  • Relay protocol: register, message, broadcast, peer_online, peer_offline
  • Existing channel plugins in src/channels/ for patterns

Test

  • Connect to relay, receive message, respond
  • Verify response appears for other peers

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions