@zhin.js/adapter-weixin-ilink 1.1.9 → 1.1.11

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 +27 -0
  2. package/README.md +10 -8
  3. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @zhin.js/adapter-weixin-ilink
2
2
 
3
+ ## 1.1.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 9816c18: 将应用插件装配改为 configVersion: 2:主配置 plugins 映射实例名到包,disable_plugins 控制启停,业务配置使用顶层同名块。package.json 继续保留 features、entry、engine 等包契约,并支持静态 displayName/icon。
8
+
9
+ 这是配置格式的破坏性更新:旧配置不能继续运行,请先停止 Bot,运行 `zhin migrate instances` 预览,再使用 `--apply` 转换;提供备份与中断继续/回滚,无法无损转换的嵌套、optional 和别名碰撞需人工迁移。Runtime、Console、CLI 与创建向导统一使用新声明。
10
+
11
+ 保留框架顶层 `menuKeyword` / `menuStyle`,通过当前 generation 的 Root 配置视图供 Command Feature 消费;严格校验和配置修改不会丢失菜单设置,子实例配置保持隔离。
12
+
13
+ - Updated dependencies [c407bd2]
14
+ - Updated dependencies [064b06d]
15
+ - Updated dependencies [b58548a]
16
+ - Updated dependencies [e914a93]
17
+ - Updated dependencies [e914a93]
18
+ - Updated dependencies [064b06d]
19
+ - @zhin.js/core@1.1.46
20
+ - @zhin.js/feature-kit@1.1.6
21
+ - @zhin.js/adapter@1.1.20
22
+
23
+ ## 1.1.10
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [dd7f25f]
28
+ - @zhin.js/core@1.1.45
29
+
3
30
  ## 1.1.9
4
31
 
5
32
  ### Patch Changes
package/README.md CHANGED
@@ -23,15 +23,17 @@
23
23
  ## 最小配置
24
24
 
25
25
  ```yaml
26
+ configVersion: 2
26
27
  plugins:
27
- weixin-ilink:
28
- # botAgent: "Zhin.js/1.0.0"
29
- # longPollTimeoutMs: 35000
30
- # baseUrl: https://ilinkai.weixin.qq.com
31
- # dataDir: data/weixin-ilink
32
- endpoints:
33
- - id: my-wechat
34
- # botToken: "..." # 可选;不填则读取状态文件或扫码
28
+ weixin-ilink: "@zhin.js/adapter-weixin-ilink"
29
+ weixin-ilink:
30
+ # botAgent: "Zhin.js/1.0.0"
31
+ # longPollTimeoutMs: 35000
32
+ # baseUrl: https://ilinkai.weixin.qq.com
33
+ # dataDir: data/weixin-ilink
34
+ endpoints:
35
+ - id: my-wechat
36
+ # botToken: "..." # 可选;不填则读取状态文件或扫码
35
37
  ```
36
38
 
37
39
  `AdapterIndex` 会把实例默认值与 endpoint 覆盖值合并后再调用 adapter。协议层只接受这份
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-weixin-ilink",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "type": "module",
5
5
  "description": "Zhin.js Weixin iLink (ClawBot) adapter for Plugin Runtime (long-poll)",
6
6
  "main": "./lib/index.js",
@@ -47,17 +47,17 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@zhin.js/adapter": "1.1.19",
51
- "@zhin.js/core": "1.1.44",
52
- "@zhin.js/feature-kit": "1.1.5",
50
+ "@zhin.js/adapter": "1.1.20",
51
+ "@zhin.js/core": "1.1.46",
52
+ "@zhin.js/feature-kit": "1.1.6",
53
53
  "@zhin.js/im-contract": "1.1.4",
54
54
  "@zhin.js/logger": "1.1.2"
55
55
  },
56
56
  "peerDependencies": {
57
- "@zhin.js/adapter": "^1.1.19",
58
- "@zhin.js/command": "^1.1.7",
59
- "@zhin.js/core": "^1.1.44",
60
- "zhin.js": "^1.1.9"
57
+ "@zhin.js/adapter": "^1.1.20",
58
+ "@zhin.js/command": "^1.1.8",
59
+ "@zhin.js/core": "^1.1.46",
60
+ "zhin.js": "^1.1.11"
61
61
  },
62
62
  "peerDependenciesMeta": {
63
63
  "@zhin.js/command": {
@@ -71,7 +71,7 @@
71
71
  "@types/node": "^26.1.2",
72
72
  "typescript": "^6.0.3",
73
73
  "vitest": "^4.1.10",
74
- "zhin.js": "1.1.9"
74
+ "zhin.js": "1.1.11"
75
75
  },
76
76
  "ilink_appid": "bot",
77
77
  "engines": {