@zhin.js/adapter-qq 1.1.5 → 1.1.7

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -1
  3. package/package.json +17 -17
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @zhin.js/adapter-qq
2
2
 
3
+ ## 1.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [5ab6307]
8
+ - @zhin.js/core@1.1.42
9
+
10
+ ## 1.1.6
11
+
12
+ ### Patch Changes
13
+
14
+ - 2cdb181: Upgrade kook-client to ^1.0.5 and qq-official-bot to ^1.3.1, which include the upstream lifecycle and upload fixes. Remove local SDK patches and validate the published SDK directly in regression fixtures.
15
+ - Updated dependencies [badcc1f]
16
+ - @zhin.js/core@1.1.41
17
+ - @zhin.js/feature-kit@1.1.3
18
+ - @zhin.js/adapter@1.1.17
19
+ - @zhin.js/agent-feature@1.1.4
20
+ - @zhin.js/skill@1.1.4
21
+ - @zhin.js/tool@1.1.4
22
+ - @zhin.js/host-http@1.1.4
23
+ - @zhin.js/permission@1.1.4
24
+
3
25
  ## 1.1.5
4
26
 
5
27
  ### Patch Changes
package/README.md CHANGED
@@ -191,7 +191,7 @@ QQ 返回 `message_audit.audit_id` 仅表示审核任务,不能用作消息 ID
191
191
 
192
192
  QQ SDK 启动须在 30 秒内完成,否则端点启动失败并清理该客户端;迟到就绪会再次清理旧客户端。超时不表示凭据错误,应结合网关、认证网络与权限检查。
193
193
 
194
- 仓库通过 `patches/qq-official-bot@1.3.0.patch` 修复 SDK Session.start 的 async Promise executor:认证/接收器启动异常由启动 Promise 正确拒绝,ready 监听先于启动注册,启动结束清理临时监听。已实际验证本机 dummy 403 认证失败经完整 CLI 退出 1,无未处理 rejection;不等价于真实 QQ 账号联网验收。
194
+ `qq-official-bot` 1.3.1 已包含 SDK Session.start 的 async Promise executor 修复:认证/接收器启动异常由启动 Promise 正确拒绝,ready 监听先于启动注册,启动结束清理临时监听。已实际验证本机 dummy 403 认证失败经完整 CLI 退出 1,无未处理 rejection;不等价于真实 QQ 账号联网验收。
195
195
 
196
196
  原生按钮按腾讯协议编码:type=0 URL 跳转、type=1 回调、type=2 指令。默认订阅包含 INTERACTION(1<<26);用户显式 intents 保留原值,需自行加入 INTERACTION 才能收到回调。SDK notice.*.action 映射为 canonical action,并独立 PUT ACK解除loading;ACK不代表业务处理成功。私聊/群聊平台不提供源消息ID,metadata 明确 sourceMessageIdAvailable=false,以唯一payload、完整端点/会话与操作者关联;频道提供源ID时严格保留。参考:[腾讯官方消息按钮协议](https://github.com/tencent-connect/bot-docs/blob/main/docs/develop/api-v2/server-inter/message/trans/msg-btn.md)。
197
197
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-qq",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Zhin.js QQ Official adapter for Plugin Runtime (WebSocket gateway)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -34,25 +34,25 @@
34
34
  "directory": "plugins/adapters/qq"
35
35
  },
36
36
  "dependencies": {
37
- "qq-official-bot": "^1.3.0",
38
- "@zhin.js/adapter": "1.1.16",
39
- "@zhin.js/agent-feature": "1.1.3",
40
- "@zhin.js/core": "1.1.40",
41
- "@zhin.js/feature-kit": "1.1.2",
42
- "@zhin.js/host-http": "1.1.3",
37
+ "qq-official-bot": "^1.3.1",
38
+ "@zhin.js/adapter": "1.1.17",
39
+ "@zhin.js/agent-feature": "1.1.4",
40
+ "@zhin.js/core": "1.1.42",
41
+ "@zhin.js/feature-kit": "1.1.3",
42
+ "@zhin.js/host-http": "1.1.4",
43
43
  "@zhin.js/im-contract": "1.1.3",
44
44
  "@zhin.js/logger": "1.1.1",
45
- "@zhin.js/permission": "1.1.3",
46
- "@zhin.js/skill": "1.1.3",
47
- "@zhin.js/tool": "1.1.3"
45
+ "@zhin.js/permission": "1.1.4",
46
+ "@zhin.js/skill": "1.1.4",
47
+ "@zhin.js/tool": "1.1.4"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "zod": "^4.0.0",
51
- "@zhin.js/adapter": "^1.1.16",
52
- "@zhin.js/command": "^1.1.4",
53
- "@zhin.js/core": "^1.1.40",
54
- "@zhin.js/middleware": "^1.1.3",
55
- "zhin.js": "^1.1.5"
51
+ "@zhin.js/adapter": "^1.1.17",
52
+ "@zhin.js/command": "^1.1.5",
53
+ "@zhin.js/core": "^1.1.42",
54
+ "@zhin.js/middleware": "^1.1.4",
55
+ "zhin.js": "^1.1.7"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@zhin.js/command": {
@@ -73,8 +73,8 @@
73
73
  "typescript": "^6.0.3",
74
74
  "vitest": "^4.1.10",
75
75
  "zod": "^4.4.3",
76
- "@zhin.js/host-http": "1.1.3",
77
- "zhin.js": "1.1.5"
76
+ "@zhin.js/host-http": "1.1.4",
77
+ "zhin.js": "1.1.7"
78
78
  },
79
79
  "files": [
80
80
  "adapters",