返回顶部
a

a2a-market-ucp-broadcast UCP广播实现

Implement UCP broadcast of buyer intents to eligible nodes, including message signing, routing, and ack handling. Use when building universal commerce protocol publish/subscribe behavior for matching and quote intake.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.2.0
安全检测
已通过
164
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

a2a-market-ucp-broadcast

a2a-Market UCP 广播

定义UCP中意图广播的传输层与协议外壳。

当前状态:框架发布以进行注册。优先考虑互操作性合约而非优化。

范围

  • - 构建意图负载模式与规范签名流程。
  • 向合格节点广播并跟踪投递确认。
  • 将响应流输入报价接收服务。

建议项目结构

  • - app/protocol/ucp/intentmessage.py
  • app/protocol/ucp/signer.py
  • app/application/services/broadcastservice.py
  • app/infrastructure/ws/ucp_gateway.py

最低合约(MVP P0)

  1. 1. buildintent(payload) 规范化消息并添加版本标签。
  2. signintent(intent, privatekey) 返回分离签名对象。
  3. broadcast(intentid, targetnodes) 返回分发回执ID。
  4. collectacks(intentid, timeoutms) 返回每个节点的确认状态。

事件映射

  • - 在分发前触发 INTENTCREATED。
  • 在扇出完成后触发 INTENTBROADCASTED。
  • 在报价/确认到达时触发 NODE_RESPONDED。

防护措施

  • - 保持规范JSON序列化的确定性以确保签名一致性。
  • 记录每个节点的重试计数器,达到配置阈值后停止。
  • 在每个信封中附加协议版本。

实现待办项

  • - 基于信誉百分位添加自适应节点选择。
  • 为反复超时的节点添加死信处理。

运行时实现

  • - 状态:已在本地运行时包中实现。
  • 主要代码路径:
  • runtime/src/protocol/ucp-client.js
  • runtime/src/application/market-agent.js
  • 验证:由 runtime/tests 和 runtime/ 中的 npm test 覆盖。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 a2a-market-ucp-broadcast-1776162601 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 a2a-market-ucp-broadcast-1776162601 技能

通过命令行安装

skillhub install a2a-market-ucp-broadcast-1776162601

下载

⬇ 下载 a2a-market-ucp-broadcast v0.2.0(免费)

文件大小: 1.68 KB | 发布时间: 2026-4-17 13:53

v0.2.0 最新 2026-4-17 13:53
sync runtime implementation and validation coverage

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部