← 返回 Skills 市场
luoqianchenguni-max

a2a-Market-WebSocket-Realtime

作者 luoqianchenguni-max · GitHub ↗ · v0.2.0 · MIT-0
cross-platform ✓ 安全检测通过
176
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install a2a-market-websocket-realtime
功能描述
Deliver real-time websocket updates for intent, quote, negotiation, order, and payment events. Use when implementing push channels, subscription authorizatio...
使用说明 (SKILL.md)

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.py
  • app/application/services/realtime_service.py
  • app/infrastructure/ws/connection_registry.py
  • app/infrastructure/cache/replay_cursor_store.py

Minimum Contracts (MVP P0)

  1. subscribe(channel, cursor) validates permission and registers stream.
  2. publish_event(channel, event) fans out to online subscribers.
  3. resume(channel, cursor) replays missed events within retention window.
  4. heartbeat(connection_id) updates liveness and cleanup scheduling.

Required Event Coverage

  • INTENT_CREATED
  • QUOTE_RECEIVED
  • NEGOTIATION_STARTED
  • ORDER_CREATED
  • PAYMENT_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/tests and npm test in runtime/.
安全使用建议
This skill is a design/integration guide rather than runnable code — it appears safe and coherent. Before using it, confirm whether your agent will try to access a local 'runtime' folder or run 'npm test' (there are no code files bundled). If you intend to run tests or execute the referenced runtime paths, only do so in a trusted project workspace and review the actual code and dependencies first.
功能分析
Type: OpenClaw Skill Name: a2a-market-websocket-realtime Version: 0.2.0 The skill bundle defines a framework for implementing a WebSocket-based real-time event system for a marketplace, covering events like orders and payments. The documentation in SKILL.md focuses on standard architectural patterns, authorization guards, and event contracts without any evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The name/description (realtime websocket delivery for market events) matches the SKILL.md content: channel naming, auth guards, publish/subscribe/resume semantics and event types. No unrelated resources (cloud creds, unrelated binaries) are requested.
Instruction Scope
SKILL.md is an implementation/design guide and does not instruct the agent to read unrelated system files, exfiltrate data, or call external endpoints. It does reference a local 'runtime' codebase and running 'npm test', but no code files are bundled with the skill — be aware using this skill in an agent may assume access to a project workspace or local runtime package.
Install Mechanism
There is no install spec and no code files included (instruction-only). No downloads, package installs, or archive extracts are requested.
Credentials
The skill declares no environment variables, no credentials, and no config paths. The runtime instructions do not require secrets or tokens.
Persistence & Privilege
always is false and model invocation is allowed (platform default). The skill does not request persistent or elevated presence or modifications to other skills/configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install a2a-market-websocket-realtime
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /a2a-market-websocket-realtime 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.0
sync runtime implementation and validation coverage
v0.1.0
initial scaffold for early registration
元数据
Slug a2a-market-websocket-realtime
版本 0.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

a2a-Market-WebSocket-Realtime 是什么?

Deliver real-time websocket updates for intent, quote, negotiation, order, and payment events. Use when implementing push channels, subscription authorizatio... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 176 次。

如何安装 a2a-Market-WebSocket-Realtime?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install a2a-market-websocket-realtime」即可一键安装,无需额外配置。

a2a-Market-WebSocket-Realtime 是免费的吗?

是的,a2a-Market-WebSocket-Realtime 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

a2a-Market-WebSocket-Realtime 支持哪些平台?

a2a-Market-WebSocket-Realtime 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 a2a-Market-WebSocket-Realtime?

由 luoqianchenguni-max(@luoqianchenguni-max)开发并维护,当前版本 v0.2.0。

💬 留言讨论