a2a-Market-WebSocket-Realtime
/install a2a-market-websocket-realtime
a2a-Market WebSocket Realtime
Set up realtime delivery skeleton for buyer and operator clients.
Current status: publishable framework with stable event contracts, not full scale tuning.
Scope
- Define channel naming and auth guard for buyer, node, and admin roles.
- Push canonical domain events with predictable payload shape.
- Manage reconnect semantics and last-event cursor replay.
Suggested Project Layout
app/interfaces/ws/socket_gateway.pyapp/application/services/realtime_service.pyapp/infrastructure/ws/connection_registry.pyapp/infrastructure/cache/replay_cursor_store.py
Minimum Contracts (MVP P0)
subscribe(channel, cursor)validates permission and registers stream.publish_event(channel, event)fans out to online subscribers.resume(channel, cursor)replays missed events within retention window.heartbeat(connection_id)updates liveness and cleanup scheduling.
Required Event Coverage
INTENT_CREATEDQUOTE_RECEIVEDNEGOTIATION_STARTEDORDER_CREATEDPAYMENT_SUCCEEDED
Guardrails
- Keep payloads versioned and backward compatible.
- Limit per-connection queue to prevent memory blowups.
- Drop unauthorized subscription attempts with structured error codes.
Implementation Backlog
- Add presence channels and typing/status hints for negotiation UI.
- Add regional relay nodes for cross-region latency reduction.
Runtime Implementation
- Status: implemented in local runtime package.
- Primary code paths:
runtime/src/interfaces/ws/event-bus.js- Validation: covered by
runtime/testsandnpm testinruntime/.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install a2a-market-websocket-realtime - After installation, invoke the skill by name or use
/a2a-market-websocket-realtime - Provide required inputs per the skill's parameter spec and get structured output
What is a2a-Market-WebSocket-Realtime?
Deliver real-time websocket updates for intent, quote, negotiation, order, and payment events. Use when implementing push channels, subscription authorizatio... It is an AI Agent Skill for Claude Code / OpenClaw, with 176 downloads so far.
How do I install a2a-Market-WebSocket-Realtime?
Run "/install a2a-market-websocket-realtime" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is a2a-Market-WebSocket-Realtime free?
Yes, a2a-Market-WebSocket-Realtime is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does a2a-Market-WebSocket-Realtime support?
a2a-Market-WebSocket-Realtime is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created a2a-Market-WebSocket-Realtime?
It is built and maintained by luoqianchenguni-max (@luoqianchenguni-max); the current version is v0.2.0.