cortico-world-astrbot 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.4
4
+
5
+ - README 修正协议说明:`capabilities.images` 只在 `hello` 帧里自报,`ready` 帧不带;并说明它只在重连时刷新。
6
+ - 补上实机验证环境(Cortico 0.2.8 / Coopanion 0.2.12)。
7
+
3
8
  ## 1.0.3
4
9
 
5
10
  - 加心跳与静默检测:休眠唤醒、切换网络、对端进程消失时,socket 可能「开着但永远没有下文」,而 `close` 事件不会来。现在每 20 秒 ping 一次,60 秒没有任何往来就主动重建,不再静默丢消息。
package/README.md CHANGED
@@ -4,10 +4,12 @@
4
4
 
5
5
  让 Cortico 的人格 Bot 进 QQ 群说话,同时把 QQ 账号与插件能力留在 AstrBot 手里。
6
6
 
7
- **当前版本:1.0.3**(更新内容见 [CHANGELOG.md](CHANGELOG.md))
7
+ **当前版本:1.0.4**(更新内容见 [CHANGELOG.md](CHANGELOG.md))
8
8
 
9
9
  项目地址:[as124da1231/cortico-world-astrbot](https://github.com/as124da1231/cortico-world-astrbot)。
10
10
 
11
+ 已在 **Cortico 0.2.8 / Coopanion 0.2.12** 上实机验证:文字、图片(单图与多图)、撤回/戳一戳通知、断线重连。
12
+
11
13
  ## 为什么是这样一个形状
12
14
 
13
15
  Cortico 自带的 `qq` World 能直接连 OneBot 协议端,但它只做收发消息。如果你的 QQ 号上已经有一整套 AstrBot 插件(画图、点歌、战绩查询、媒体解析……),换掉那套生态的代价很高。
@@ -96,12 +98,12 @@ corepack pnpm add cortico-world-astrbot
96
98
  ```
97
99
 
98
100
  `capabilities.images` 表示本端模型能直接读图;为真时桥才附原图,否则自己转成文字。
101
+ 这个值由 Cortico 侧按当前端点的多模态能力算出来,只在**每次重连握手时**刷新——中途改了端点设置要等重连(或重启进程)才生效。
99
102
 
100
103
  桥推给客户端:
101
104
 
102
105
  ```json
103
- { "t": "ready", "v": 1, "self": { "id": "…", "name": "…" },
104
- "admins": ["42"], "capabilities": { "images": false } }
106
+ { "t": "ready", "v": 1, "self": { "id": "…", "name": "…" }, "admins": ["42"] }
105
107
 
106
108
  { "t": "msg", "id": "消息id", "ts": "2026-10-26T10:00:00+08:00",
107
109
  "conv": { "kind": "group", "id": "123456", "name": "群名" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortico-world-astrbot",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "Cortico World: join QQ conversations through an AstrBot bridge, so the bot keeps AstrBot's plugins while a Cortico persona drives the talking",
6
6
  "license": "MIT",