Skip to content

Releases: EUye9IM/BotAdapt

v0.1.0-build.8

Choose a tag to compare

@github-actions github-actions released this 30 May 13:14
refactor(event): 重构事件模型为 AdapterEvent/PluginEvent/MessageEvent

- 移除旧 Event/MesssageTarget/Action 类型,引入三层事件模型
- AdapterEvent (Adapter→Core) / PluginEvent (Plugin→Core) / MessageEvent (统一消息体)
- MessageMeta 按消息类型变体扩展,当前仅 Private 变体(群聊待扩展)
- Adapter trait 签名: start(emit, shutdown) / send_message(&MessageEvent)
- channel_id 解析改为从 MessageMeta 提取,当前直接使用 user_id
- dice 插件: 用 rand crate 替换确定性 xorshift RNG,获取真随机数
- 更新 AGENTS.md / DESIGN.md / README.md 反映新类型架构
- 删除 botadapt-plugin-sdk/src/types/{action,target}.rs
- 删除 botadapt-core/src/error.rs(未使用)

v0.1.0-build.6

Choose a tag to compare

@github-actions github-actions released this 23 May 14:35
refactor(event): 重构事件模型为 AdapterEvent/PluginEvent/MessageEvent

- 移除旧 Event/MesssageTarget/Action 类型,引入三层事件模型
- AdapterEvent (Adapter→Core) / PluginEvent (Plugin→Core) / MessageEvent (统一消息体)
- MessageMeta 按消息类型变体扩展,当前仅 Private 变体(群聊待扩展)
- Adapter trait 签名: start(emit, shutdown) / send_message(&MessageEvent)
- channel_id 解析改为从 MessageMeta 提取,当前直接使用 user_id
- dice 插件: 用 rand crate 替换确定性 xorshift RNG,获取真随机数
- 更新 AGENTS.md / DESIGN.md / README.md 反映新类型架构
- 删除 botadapt-plugin-sdk/src/types/{action,target}.rs
- 删除 botadapt-core/src/error.rs(未使用)

v0.1.0-build.5

Choose a tag to compare

@github-actions github-actions released this 22 May 11:16
fix(ci): 修复 release job 产物 glob 未匹配子目录

v0.1.0-build.4

Choose a tag to compare

@github-actions github-actions released this 22 May 11:07
fix(ci): upload 目录 + download 显式 path 修复 artifact 下载竞态

- upload 改为上传整个 release 目录而非单文件
- download 指定不存在的 _artifacts/* 路径避免工作区冲突
- 参考 actions/upload-artifact#525 社区验证方案