@zhin.js/adapter-qq 1.0.83 → 1.1.0

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 (101) hide show
  1. package/CHANGELOG.md +853 -16
  2. package/README.md +136 -233
  3. package/adapters/qq.js +50 -0
  4. package/adapters/qq.ts +71 -0
  5. package/agent/PERMITS.md +25 -0
  6. package/{skills/qq/SKILL.md → agent/skills/qq.md} +1 -1
  7. package/agent/tools/add_role.ts +21 -0
  8. package/agent/tools/channel_info.ts +17 -0
  9. package/agent/tools/create_role.ts +20 -0
  10. package/agent/tools/list_channels.ts +18 -0
  11. package/agent/tools/list_guilds.ts +14 -0
  12. package/agent/tools/list_roles.ts +18 -0
  13. package/agent/tools/member_detail.ts +18 -0
  14. package/agent/tools/remove_role.ts +21 -0
  15. package/commands/endpoint/add/[[id]].js +3 -0
  16. package/commands/endpoint/add/[[id]].ts +3 -0
  17. package/commands/endpoint/cancel.js +12 -0
  18. package/commands/endpoint/cancel.ts +15 -0
  19. package/commands/endpoint/list.js +3 -0
  20. package/commands/endpoint/list.ts +3 -0
  21. package/commands/endpoint/remove/[id].js +3 -0
  22. package/commands/endpoint/remove/[id].ts +3 -0
  23. package/lib/client.d.ts +12 -0
  24. package/lib/client.js +2 -0
  25. package/lib/endpoint.d.ts +56 -0
  26. package/lib/endpoint.js +456 -0
  27. package/lib/index.d.ts +8 -18
  28. package/lib/index.js +8 -338
  29. package/lib/outbound.d.ts +17 -0
  30. package/lib/outbound.js +234 -0
  31. package/lib/platform-permit.d.ts +15 -0
  32. package/lib/platform-permit.js +41 -0
  33. package/lib/protocol.d.ts +111 -0
  34. package/lib/protocol.js +166 -0
  35. package/lib/qq-bind-api.d.ts +36 -0
  36. package/lib/qq-bind-api.js +89 -0
  37. package/lib/qq-bind-flow.d.ts +19 -0
  38. package/lib/qq-bind-flow.js +85 -0
  39. package/lib/qq-bind-persist.d.ts +12 -0
  40. package/lib/qq-bind-persist.js +22 -0
  41. package/lib/qq-bot-kind-prompt.d.ts +9 -0
  42. package/lib/qq-bot-kind-prompt.js +37 -0
  43. package/lib/qq-endpoint-commands.d.ts +45 -0
  44. package/lib/qq-endpoint-commands.js +180 -0
  45. package/lib/qq-endpoint-config.d.ts +17 -0
  46. package/lib/qq-endpoint-config.js +22 -0
  47. package/lib/qq-intents.d.ts +27 -0
  48. package/lib/qq-intents.js +51 -0
  49. package/lib/qq-runtime-state.d.ts +30 -0
  50. package/lib/qq-runtime-state.js +14 -0
  51. package/lib/side-event-dispatch.d.ts +10 -0
  52. package/lib/side-event-dispatch.js +114 -0
  53. package/lib/webhook.d.ts +18 -0
  54. package/lib/webhook.js +103 -0
  55. package/lib/ws.d.ts +55 -0
  56. package/lib/ws.js +234 -0
  57. package/middlewares/bot-kind-reply.js +46 -0
  58. package/middlewares/bot-kind-reply.ts +60 -0
  59. package/package.json +69 -28
  60. package/plugin.js +18 -0
  61. package/schema.json +142 -0
  62. package/src/client.ts +16 -0
  63. package/src/endpoint.ts +534 -0
  64. package/src/index.ts +66 -326
  65. package/src/outbound.ts +255 -0
  66. package/src/platform-permit.ts +56 -0
  67. package/src/protocol.ts +273 -0
  68. package/src/qq-bind-api.ts +145 -0
  69. package/src/qq-bind-flow.ts +127 -0
  70. package/src/qq-bind-persist.ts +44 -0
  71. package/src/qq-bot-kind-prompt.ts +47 -0
  72. package/src/qq-endpoint-commands.ts +251 -0
  73. package/src/qq-endpoint-config.ts +44 -0
  74. package/src/qq-intents.ts +77 -0
  75. package/src/qq-runtime-state.ts +51 -0
  76. package/src/side-event-dispatch.ts +140 -0
  77. package/src/webhook.ts +132 -0
  78. package/src/ws.ts +331 -0
  79. package/client/Dashboard.tsx +0 -230
  80. package/client/index.tsx +0 -11
  81. package/client/tsconfig.json +0 -7
  82. package/client/utils/api.ts +0 -17
  83. package/dist/index.js +0 -30
  84. package/lib/adapter.d.ts +0 -17
  85. package/lib/adapter.d.ts.map +0 -1
  86. package/lib/adapter.js +0 -49
  87. package/lib/adapter.js.map +0 -1
  88. package/lib/bot.d.ts +0 -102
  89. package/lib/bot.d.ts.map +0 -1
  90. package/lib/bot.js +0 -337
  91. package/lib/bot.js.map +0 -1
  92. package/lib/index.d.ts.map +0 -1
  93. package/lib/index.js.map +0 -1
  94. package/lib/types.d.ts +0 -16
  95. package/lib/types.d.ts.map +0 -1
  96. package/lib/types.js +0 -2
  97. package/lib/types.js.map +0 -1
  98. package/plugin.yml +0 -3
  99. package/src/adapter.ts +0 -58
  100. package/src/bot.ts +0 -347
  101. package/src/types.ts +0 -24
package/CHANGELOG.md CHANGED
@@ -1,5 +1,842 @@
1
1
  # @zhin.js/adapter-qq
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1fc6270: Reset all 88 published official packages onto the owner-governed 1.1.x stable line. Packages whose historical 1.1.0 version is still available publish as 1.1.0; packages where npm permanently reserves that version use the next available 1.1.x patch. Historical higher version lines remain installable but are superseded, and routine releases after this reset are patch-only.
8
+
9
+ ### Patch Changes
10
+
11
+ - a34bf91: Upgrade qq-official-bot to 1.3, expose its complete API client, and deliver QQ group lifecycle, member change, and join-request events through the canonical side-event path.
12
+ - a34bf91: Publish internal peer dependencies as compatible caret ranges instead of exact versions, preventing compatible internal minor releases from forcing unrelated major bumps.
13
+ - Updated dependencies [1fc6270]
14
+ - @zhin.js/adapter@1.1.12
15
+ - @zhin.js/core@1.1.35
16
+ - @zhin.js/feature-kit@1.1.0
17
+ - @zhin.js/host-http@1.1.0
18
+ - @zhin.js/im-contract@1.1.0
19
+ - @zhin.js/logger@1.1.0
20
+ - @zhin.js/permission@1.1.0
21
+
22
+ ## 9.0.1
23
+
24
+ ### Patch Changes
25
+
26
+ - f7ee28d: Use the shared Endpoint lifecycle for QQ WebSocket and HTTP receivers. Isolate each SDK instance and its Webhook routes, close resources created by late startup completion after cancellation, and ignore callbacks queued by replaced SDK instances. Failed startup releases resources before retrying.
27
+ - Updated dependencies [f7ee28d]
28
+ - @zhin.js/adapter@1.2.2
29
+ - @zhin.js/core@1.5.16
30
+ - zhin.js@7.0.1
31
+ - @zhin.js/agent@1.2.1
32
+
33
+ ## 9.0.0
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [12325e1]
38
+ - Updated dependencies [d19e976]
39
+ - @zhin.js/agent@1.2.0
40
+ - zhin.js@7.0.0
41
+
42
+ ## 8.0.8
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [a728a20]
47
+ - @zhin.js/host-http@1.0.17
48
+ - @zhin.js/agent@1.1.22
49
+ - zhin.js@6.0.15
50
+
51
+ ## 8.0.7
52
+
53
+ ### Patch Changes
54
+
55
+ - Updated dependencies [337fd05]
56
+ - @zhin.js/agent@1.1.21
57
+ - zhin.js@6.0.15
58
+
59
+ ## 8.0.6
60
+
61
+ ### Patch Changes
62
+
63
+ - Updated dependencies [fcbff21]
64
+ - @zhin.js/host-http@1.0.16
65
+ - zhin.js@6.0.15
66
+
67
+ ## 8.0.5
68
+
69
+ ### Patch Changes
70
+
71
+ - Updated dependencies [882a08a]
72
+ - @zhin.js/agent@1.1.20
73
+ - zhin.js@6.0.15
74
+ - @zhin.js/core@1.5.15
75
+
76
+ ## 8.0.4
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [d85eddd]
81
+ - @zhin.js/agent@1.1.19
82
+ - @zhin.js/host-http@1.0.15
83
+ - @zhin.js/core@1.5.15
84
+ - zhin.js@6.0.15
85
+
86
+ ## 8.0.3
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [a5ee497]
91
+ - Updated dependencies [a5ee497]
92
+ - Updated dependencies [ba7e17a]
93
+ - Updated dependencies [7108d0b]
94
+ - @zhin.js/agent@1.1.18
95
+ - @zhin.js/host-http@1.0.14
96
+ - @zhin.js/core@1.5.15
97
+ - zhin.js@6.0.15
98
+
99
+ ## 8.0.2
100
+
101
+ ### Patch Changes
102
+
103
+ - Updated dependencies [736fa04]
104
+ - @zhin.js/agent@1.1.17
105
+ - zhin.js@6.0.14
106
+
107
+ ## 8.0.1
108
+
109
+ ### Patch Changes
110
+
111
+ - 1fc78bc: Unify native platform Client access behind the literal `adapter` discriminant. Handlers infer both native events and Clients, while command, inbound/outbound middleware, and both Agent tool authoring surfaces expose the exact operation-scoped Client through a lazy `$client` getter. Definitions without `adapter` keep `$client` typed as `unknown`, and runtime dispatch rejects adapter mismatches before resolving the Client. Bundled platform tools now use this single path instead of model-provided endpoint ids and adapter-specific dependency wrappers. Every adapter registers one Client/EventMap contract, and protocol adapters including NapCat, Milky, OneBot and Satori now produce transport-independent Client objects rather than letting Endpoint instances impersonate Clients.
112
+ - Updated dependencies [e9c6a73]
113
+ - Updated dependencies [4e8117c]
114
+ - Updated dependencies [902fa35]
115
+ - Updated dependencies [54bfd6b]
116
+ - Updated dependencies [12025ee]
117
+ - Updated dependencies [09b14d6]
118
+ - Updated dependencies [1fc78bc]
119
+ - @zhin.js/agent@1.1.16
120
+ - @zhin.js/adapter@1.2.1
121
+ - @zhin.js/core@1.5.14
122
+ - @zhin.js/host-http@1.0.13
123
+ - @zhin.js/command@1.0.16
124
+ - @zhin.js/logger@1.0.77
125
+ - @zhin.js/middleware@1.0.13
126
+ - zhin.js@6.0.14
127
+ - @zhin.js/feature-kit@1.0.13
128
+ - @zhin.js/permission@1.0.4
129
+
130
+ ## 8.0.0
131
+
132
+ ### Patch Changes
133
+
134
+ - f2c532f: Expose exact per-Endpoint message operations through one validated Adapter capability model, route Core control calls through declared active capabilities, and connect existing recall, edit, reaction, and typing implementations across platform adapters.
135
+ - Updated dependencies [b10d058]
136
+ - Updated dependencies [f2c532f]
137
+ - Updated dependencies [3dbf990]
138
+ - @zhin.js/host-http@1.0.12
139
+ - @zhin.js/adapter@1.2.0
140
+ - @zhin.js/core@1.5.13
141
+ - @zhin.js/agent@1.1.15
142
+ - zhin.js@6.0.13
143
+
144
+ ## 7.0.14
145
+
146
+ ### Patch Changes
147
+
148
+ - 974772e: Replace the user-facing `Prompt` vocabulary with the `UserInteraction` authoring surface for input, confirmation, and selection. Commands and handlers now expose `interaction`; IM Runtime exposes `createInteraction`; schema-driven endpoint collection is named `SchemaInteraction`. The old prompt-named interaction types and properties are removed rather than aliased. User interactions render through one canonical Markdown and keyboard/list presentation module shared by commands and Agent `ask_user` turns.
149
+
150
+ Extract the transport-neutral interaction contract into `@zhin.js/interaction`. A discriminated `ask()` API supports text, number, confirmation, single-select, multi-select, and typed lists with structured `title`, `description`, and `tip` content. Typed `sequence()` interactions return one result object keyed by step id, render progress, and retry invalid replies without leaking invalid values to callers.
151
+
152
+ Preserve AI Markdown and card command actions through outbound publishing. QQ delivers Markdown with native command buttons; KOOK, Discord, Telegram, DingTalk, and Lark/Feishu now declare and encode their native Markdown dialects while retaining each adapter's interaction policy. Correct QQ callback button action encoding and button style mapping.
153
+
154
+ - 5969c5b: Add SideEventGateway so adapters forward notice/request/system into HandlerIndex. HandlerContext now exposes only generation-safe capabilities and prompt ports; live Endpoint escape hatches are removed.
155
+ - Updated dependencies [5969c5b]
156
+ - Updated dependencies [d336a3f]
157
+ - Updated dependencies [0c82a7e]
158
+ - Updated dependencies [b9217e4]
159
+ - Updated dependencies [5969c5b]
160
+ - Updated dependencies [5969c5b]
161
+ - Updated dependencies [974772e]
162
+ - Updated dependencies [5969c5b]
163
+ - Updated dependencies [5969c5b]
164
+ - Updated dependencies [2f786bd]
165
+ - Updated dependencies [63d89f9]
166
+ - Updated dependencies [71c7cdd]
167
+ - Updated dependencies [3cca0ea]
168
+ - Updated dependencies [1312ca0]
169
+ - Updated dependencies [985fa22]
170
+ - Updated dependencies [04b861d]
171
+ - Updated dependencies [a23d544]
172
+ - Updated dependencies [8cddabf]
173
+ - Updated dependencies [dbe5081]
174
+ - @zhin.js/im-contract@1.0.4
175
+ - @zhin.js/core@1.5.12
176
+ - @zhin.js/adapter@1.1.11
177
+ - @zhin.js/agent@1.1.14
178
+ - @zhin.js/host-http@1.0.11
179
+ - @zhin.js/command@1.0.15
180
+ - zhin.js@6.0.12
181
+ - @zhin.js/middleware@1.0.12
182
+ - @zhin.js/permission@1.0.3
183
+
184
+ ## 7.0.13
185
+
186
+ ### Patch Changes
187
+
188
+ - @zhin.js/core@1.5.11
189
+ - @zhin.js/agent@1.1.13
190
+ - zhin.js@6.0.11
191
+
192
+ ## 7.0.12
193
+
194
+ ### Patch Changes
195
+
196
+ - 3556601: Declare Stable Feature packages referenced by `zhin.features` as optional `peerDependencies` on official plugins/adapters (`@zhin.js/runtime` ≥1.0.12 requires features to be declared in deps/peers). Keeps authoring via `zhin.js` facades without installing Feature implementation packages into `dependencies`, and removes the need for consumer postinstall peer-patch scripts. `zhin new` scaffolds the same peer shape.
197
+ - @zhin.js/agent@1.1.12
198
+ - @zhin.js/core@1.5.10
199
+ - zhin.js@6.0.10
200
+
201
+ ## 7.0.11
202
+
203
+ ### Patch Changes
204
+
205
+ - eb84b77: fix: 更新文档,建立正确的依赖关系
206
+ - Updated dependencies [d3920e9]
207
+ - @zhin.js/core@1.5.10
208
+ - zhin.js@6.0.10
209
+ - @zhin.js/adapter@1.1.10
210
+ - @zhin.js/agent@1.1.11
211
+
212
+ ## 7.0.10
213
+
214
+ ### Patch Changes
215
+
216
+ - Updated dependencies [e4757a8]
217
+ - Updated dependencies [c3c0ebf]
218
+ - @zhin.js/command@1.0.13
219
+ - @zhin.js/host-http@1.0.10
220
+ - @zhin.js/agent@1.1.10
221
+ - @zhin.js/core@1.5.9
222
+ - @zhin.js/adapter@1.1.9
223
+ - @zhin.js/middleware@1.0.10
224
+ - zhin.js@6.0.9
225
+
226
+ ## 7.0.9
227
+
228
+ ### Patch Changes
229
+
230
+ - Updated dependencies [63253bb]
231
+ - Updated dependencies [6fb24dd]
232
+ - Updated dependencies [d162216]
233
+ - Updated dependencies [7427818]
234
+ - Updated dependencies [90da255]
235
+ - Updated dependencies [8e973dc]
236
+ - Updated dependencies [953cfe1]
237
+ - Updated dependencies [0e73866]
238
+ - @zhin.js/plugin-runtime@1.1.6
239
+ - @zhin.js/core@1.5.8
240
+ - @zhin.js/adapter@1.1.8
241
+ - @zhin.js/host-http@1.0.9
242
+ - @zhin.js/agent@1.1.9
243
+ - zhin.js@6.0.8
244
+ - @zhin.js/command@1.0.12
245
+ - @zhin.js/middleware@1.0.9
246
+ - @zhin.js/permission@1.0.2
247
+
248
+ ## 7.0.8
249
+
250
+ ### Patch Changes
251
+
252
+ - Updated dependencies [36cb1ca]
253
+ - @zhin.js/core@1.5.7
254
+ - @zhin.js/agent@1.1.8
255
+ - zhin.js@6.0.7
256
+
257
+ ## 7.0.7
258
+
259
+ ### Patch Changes
260
+
261
+ - Updated dependencies [7945544]
262
+ - @zhin.js/command@1.0.11
263
+ - @zhin.js/agent@1.1.7
264
+ - @zhin.js/adapter@1.1.7
265
+ - @zhin.js/core@1.5.6
266
+ - zhin.js@6.0.6
267
+
268
+ ## 7.0.6
269
+
270
+ ### Patch Changes
271
+
272
+ - Updated dependencies [2d0a622]
273
+ - @zhin.js/command@1.0.10
274
+ - @zhin.js/adapter@1.1.7
275
+ - @zhin.js/core@1.5.5
276
+ - @zhin.js/agent@1.1.6
277
+ - zhin.js@6.0.5
278
+
279
+ ## 7.0.5
280
+
281
+ ### Patch Changes
282
+
283
+ - 51015d6: refactor(adapters): migrate platform-permit to PermissionSubject
284
+
285
+ All adapter platform-permit checkers now accept PermissionSubject
286
+ (duck-typed from Message/CommandSession) instead of Message directly.
287
+ registerPlatformPermitChecker is replaced by host.registerPlatform in
288
+ the adapter plugin setup. activity-feedback service updated for new
289
+ PermissionHost integration.
290
+
291
+ - Updated dependencies [6f9c366]
292
+ - Updated dependencies [373a56b]
293
+ - Updated dependencies [0de46a8]
294
+ - Updated dependencies [c106ecc]
295
+ - Updated dependencies [ca92e03]
296
+ - Updated dependencies [b0f37ae]
297
+ - Updated dependencies [ba08a2f]
298
+ - Updated dependencies [b08f7fe]
299
+ - Updated dependencies [daffd4c]
300
+ - Updated dependencies [36c7400]
301
+ - Updated dependencies [a9fa72e]
302
+ - Updated dependencies [c8de3ef]
303
+ - Updated dependencies [60f0fc8]
304
+ - Updated dependencies [574c990]
305
+ - Updated dependencies [d096f16]
306
+ - Updated dependencies [3f29623]
307
+ - Updated dependencies [2916852]
308
+ - Updated dependencies [d047869]
309
+ - Updated dependencies [162fa34]
310
+ - Updated dependencies [e62561e]
311
+ - Updated dependencies [3eeeb46]
312
+ - Updated dependencies [85d0f82]
313
+ - Updated dependencies [61bfc1c]
314
+ - Updated dependencies [04bad47]
315
+ - Updated dependencies [e40b048]
316
+ - Updated dependencies [5a5b1bb]
317
+ - Updated dependencies [f1708c3]
318
+ - Updated dependencies [d254a81]
319
+ - Updated dependencies [7123c47]
320
+ - Updated dependencies [05befc1]
321
+ - Updated dependencies [0663b6a]
322
+ - Updated dependencies [f28f9b3]
323
+ - Updated dependencies [9f340f7]
324
+ - Updated dependencies [e53444f]
325
+ - Updated dependencies [5eedd26]
326
+ - Updated dependencies [92b0dd7]
327
+ - Updated dependencies [f919b6f]
328
+ - Updated dependencies [098e411]
329
+ - Updated dependencies [e1b7c01]
330
+ - Updated dependencies [9b94f87]
331
+ - Updated dependencies [a7df753]
332
+ - @zhin.js/agent@1.1.5
333
+ - @zhin.js/host-http@1.0.8
334
+ - @zhin.js/permission@1.0.1
335
+ - @zhin.js/im-contract@1.0.3
336
+ - @zhin.js/adapter@1.1.7
337
+ - @zhin.js/plugin-runtime@1.1.5
338
+ - @zhin.js/command@1.0.9
339
+ - @zhin.js/core@1.5.4
340
+ - zhin.js@6.0.4
341
+ - @zhin.js/middleware@1.0.8
342
+
343
+ ## 7.0.4
344
+
345
+ ### Patch Changes
346
+
347
+ - f8c7a54: fix: im
348
+ - Updated dependencies [f8c7a54]
349
+ - @zhin.js/logger@1.0.76
350
+ - @zhin.js/host-http@1.0.7
351
+ - @zhin.js/adapter@1.1.6
352
+ - @zhin.js/agent@1.1.4
353
+ - @zhin.js/command@1.0.8
354
+ - @zhin.js/core@1.5.3
355
+ - @zhin.js/im-contract@1.0.2
356
+ - @zhin.js/plugin-runtime@1.1.4
357
+ - zhin.js@6.0.3
358
+
359
+ ## 7.0.3
360
+
361
+ ### Patch Changes
362
+
363
+ - Updated dependencies [afc0e66]
364
+ - Updated dependencies [2e41ad5]
365
+ - Updated dependencies [9f57124]
366
+ - @zhin.js/core@1.5.2
367
+ - @zhin.js/adapter@1.1.5
368
+ - @zhin.js/im-contract@1.0.1
369
+ - @zhin.js/plugin-runtime@1.1.3
370
+ - @zhin.js/command@1.0.7
371
+ - @zhin.js/host-http@1.0.6
372
+ - @zhin.js/agent@1.1.3
373
+ - zhin.js@6.0.2
374
+
375
+ ## 7.0.2
376
+
377
+ ### Patch Changes
378
+
379
+ - Updated dependencies [696ab1b]
380
+ - @zhin.js/agent@1.1.2
381
+ - zhin.js@6.0.1
382
+
383
+ ## 7.0.1
384
+
385
+ ### Patch Changes
386
+
387
+ - Updated dependencies [c8f4d45]
388
+ - @zhin.js/plugin-runtime@1.1.2
389
+ - @zhin.js/host-http@1.0.5
390
+ - @zhin.js/adapter@1.1.4
391
+ - @zhin.js/agent@1.1.1
392
+ - @zhin.js/command@1.0.6
393
+ - @zhin.js/core@1.5.1
394
+ - zhin.js@6.0.1
395
+
396
+ ## 7.0.0
397
+
398
+ ### Patch Changes
399
+
400
+ - 7c1e63a: feat(command)!: 命令名前缀分隔符由空格改为点号(BREAKING)
401
+
402
+ 非 root 插件命令的自动前缀从空格改为点号:`qq endpoint list` → `qq.endpoint list`,多级挂载 `b a foo` → `b.a.foo`;root 插件命令不变。点号前缀同时消除了旧规则下 root 目录段与子插件 owner 段的命名冲突(`child status` vs `child.status` 现在可共存)。配套的 endpoint 管理命令套件(`createEndpointCommands`)及 QQ/ICQQ 适配器的用户可见用法文案同步更新为新风格。迁移:用户与文档中所有 `<adapter> <command>` 形式的指令改为 `<adapter>.<command>`。
403
+
404
+ - 4fbff5d: feat!: 多模态双向 Segment 一贯制(BREAKING,无兼容层)
405
+
406
+ 全框架唯一媒体表达统一为 canonical `Segment` + `MediaRef{kind: url|path|base64|file, value, mime_type?, file_name?, size?}`,新增 audio/video/file 段类型;所有第二形状(legacy `data.url/file/base64` 字段、`mediaRefFromLegacyData`/`mediaRefToLegacyFields` 桥、双写)全部删除。
407
+
408
+ - **core**:`SendContent` 一等支持 `Segment[]`;endpoint 出站载荷只含 canonical 段;`resolveOutboundMediaPolicy` 改为纯声明驱动(adapter definition `segments.outboundMedia`),内置策略表删除,未声明回退 `url-or-text`;`ImageContent` 旧桥删除。
409
+ - **ai**:新增 `MediaContentBlock`/`MediaBlockRef`(Segment 同构)与 `UserMessage.media`(当前 turn 媒体,**不持久化**——存储层自动剥离);`createUserMessage(text, media?)` 签名变更(`ImageContent` 删除);provider 边界序列化器 `filterMediaBlocksForProvider` + 能力表(缺省 image-only,不支持类型降级占位文本);ai-sdk 桥媒体块 → SDK image/file parts。
410
+ - **agent**:入站 turn 注入(`turn/inbound-media.ts`)——commMessage 媒体段 → 当前 turn `UserMessage.media`;图片 path 物化、音频默认 STT(`@zhin.js/speech` 可选,失败降级占位)、视频/文件占位;`publishOutboundElements` 产出 canonical Segment;`transcribeAudioPayload` 导出。
411
+ - **cli**:`bridgeRuntimeMessage` 回复链路媒体段透传,不再压平为文本(`$reply` 直达 normalize → adapter)。
412
+ - **全部 20 个平台适配器**:出站媒体只消费 `data.media`(url 直发 / base64 直发 / 平台上传 / 读盘),入站媒体产出 canonical `data.media`;`segments.outboundMedia` 声明与实际消费逐一核对修正;QQ 入站新增 canonical segments(image/audio/video/file/mention/face/reply),图片/语音/视频不再丢失。
413
+
414
+ 迁移:适配器/插件产媒体一律用 `{ type, data: { media: MediaRef } }`;发送 legacy `data.url/file/base64` 形状的段会被 warn 丢弃。
415
+
416
+ - Updated dependencies [7c1e63a]
417
+ - Updated dependencies [4fbff5d]
418
+ - Updated dependencies [5b94d9c]
419
+ - @zhin.js/command@1.0.5
420
+ - @zhin.js/adapter@1.1.3
421
+ - @zhin.js/core@1.5.0
422
+ - @zhin.js/agent@1.1.0
423
+ - zhin.js@6.0.0
424
+
425
+ ## 6.0.7
426
+
427
+ ### Patch Changes
428
+
429
+ - 7249733: fix(qq): 群消息 @ 判定改为统一按 mentions 检查,不再按 channelKind 直接视为 @
430
+
431
+ `GROUP_MESSAGE_CREATE` 与 `GROUP_AT_MESSAGE_CREATE` 在 SDK 中都映射为 `message.group`,前者会下发非 @ 的普通群消息;此前 `channelKind === 'group'` 一律置 `mentioned`,导致所有群消息都触发 AI。现统一按 `mentions` 判定:群场景只认 `is_you === true`(精确标识当前机器人;群里 @ 另一个机器人时 `bot: true` 但无 `is_you`,不误判),`bot === true` 回退仅限频道 `AT_MESSAGE_CREATE`(该事件仅 @ 当前机器人时下发,mentions 无 `is_you`)。非 @ 群消息将回到旁听(Passive Group Context)路径。
432
+
433
+ ## 6.0.6
434
+
435
+ ### Patch Changes
436
+
437
+ - d52f3c5: fix: QQ 适配器群聊误识别为私聊、game-kit 启动崩溃、全面补齐 recallMessage
438
+
439
+ - fix(cli): `resolveChannelType` 增加 `metadata.channelKind` 检查,修复 QQ/Discord/KOOK 群聊消息被误分类为私聊
440
+ - fix(game-kit): `createHostGameDb` 改用延迟代理模型,避免数据库启动前解析模型导致崩溃
441
+ - feat(qq): 实现 `recallMessage`,解析复合 messageId 路由到对应 SDK 撤回方法;`normalizeQqMessage` 增加 `message_type` 缺失时的回退检测
442
+ - feat(slack): 实现 `recallMessage`,利用已有 compound ref 和 `chat.delete` API
443
+ - feat(onebot11): 两个 endpoint 类实现 `recallMessage`(`delete_msg`)
444
+ - feat(onebot12): 两个 endpoint 类实现 `recallMessage`(`delete_message`)
445
+ - feat(napcat): 三个 endpoint 类实现 `recallMessage`(`delete_msg`)
446
+ - feat(discord): 两个 endpoint 类实现 `recallMessage`;`send()` 改为返回 `channelId:snowflake` 复合 ID
447
+ - feat(telegram): 实现 `recallMessage`(`deleteMessage`);`send()` 改为返回 `chatId:messageId` 复合 ID
448
+ - feat(kook): 两个 endpoint 类实现 `recallMessage`,利用 kook-client `recallMsg` API
449
+ - feat(lark): 实现 `recallMessage`(`DELETE /im/v1/messages/{id}`)
450
+ - feat(wecom): 实现 `recallMessage`(`POST /cgi-bin/message/recall`)
451
+
452
+ ## 6.0.5
453
+
454
+ ### Patch Changes
455
+
456
+ - Updated dependencies [d8bf702]
457
+ - @zhin.js/host-http@1.0.4
458
+ - @zhin.js/agent@1.0.10
459
+ - @zhin.js/core@1.4.3
460
+ - zhin.js@5.0.3
461
+
462
+ ## 6.0.4
463
+
464
+ ### Patch Changes
465
+
466
+ - Updated dependencies [45b3256]
467
+ - @zhin.js/core@1.4.3
468
+ - @zhin.js/agent@1.0.9
469
+ - zhin.js@5.0.3
470
+
471
+ ## 6.0.3
472
+
473
+ ### Patch Changes
474
+
475
+ - Updated dependencies [f346346]
476
+ - @zhin.js/agent@1.0.8
477
+ - @zhin.js/core@1.4.2
478
+ - zhin.js@5.0.2
479
+
480
+ ## 6.0.2
481
+
482
+ ### Patch Changes
483
+
484
+ - d5cd4aa: Publish Plugin Runtime entry points and convention modules as JavaScript so
485
+ installed npm plugins load on Node without TypeScript stripping. Workspace
486
+ development continues to prefer TypeScript sources for local HMR.
487
+
488
+ Remove the unconsumed legacy game hub APIs from game-kit; game navigation and
489
+ records now use ordinary convention commands owned by the game hub plugin.
490
+
491
+ - Updated dependencies [d5cd4aa]
492
+ - @zhin.js/command@1.0.4
493
+ - zhin.js@5.0.2
494
+ - @zhin.js/adapter@1.1.2
495
+ - @zhin.js/core@1.4.2
496
+ - @zhin.js/agent@1.0.7
497
+
498
+ ## 6.0.1
499
+
500
+ ### Patch Changes
501
+
502
+ - 5691aba: 第二轮全量审计修复批(8 面 ~60 bug):
503
+
504
+ - **安全**:email 附件路径穿越修复(basename + downloadPath 约束);lark/telegram/satori webhook 鉴权(缺密钥告警、timingSafeEqual、±5min 时效窗、chat_type 修正);onebot wss/webhook 缺 token 告警;qq webhook 改原始字节验签;renderJsx/JSX 转义注入修复;console runtime token 401 死循环。
505
+ - **P0 功能**:sandbox 多 endpoint 解析 + WS 路径隔离;short-url expand(undici opaqueredirect)改 follow;AI 压缩摘要失败不再静默丢历史(熔断恢复生效);console-ui 实时推送事件名归一化 + IndexedDB schema 对齐;process-monitor 热重载不再误判崩溃。
506
+ - **生命周期**:email IMAP 断线重连 + 在飞锁;onebot11/12 start 失败清理;line replyToken TTL + push 兜底;wechat-mp token 过期重试 + MsgId 去重;weixin-ilink buf 推进/防抖写盘/媒体 TTL/QR abort;satori PONG 看门狗;退避自毁修复。
507
+ - **游戏**:text-adventure 终局 restart 复活 + requires 服务端校验;tic-tac-toe PvP 占用/restart/队列清理/TTL;idiom-chain/word-riddle 闲聊不扣失误;别名中间件不劫持普通聊天。
508
+ - **共享库**:schema falsy 默认值/date/tuple/union 修复;database parseCondition Date/未知操作符、sqlite TEXT 往返、query 分派、belongsToMany 方言、migration dry-run;schedule DST 回拨死循环、重复 id 去重、flush 串行化;game-kit fallback 编号/onboarding 提示/尾缀边界/活引用拷贝。
509
+ - **渲染语音**:fetch 全部超时 + 渲染并发闸;sanitizeHtml form 保文本;STT 扩展名映射 + 删临时文件;TTS 未知 provider 报错;emojiCache LRU 负缓存/fontCache style/clearFonts 恢复;register 错误分类收窄。
510
+
511
+ - 9c997b2: 通用 endpoint 管理命令套件:`@zhin.js/adapter` 新增 `createEndpointCommands(spec, defineCommand)`——`<adapter> endpoint list / add <name> key=value... / remove <name>` 三件套,含 kv 解析、`.env` 凭据派生(`<ADAPTER>_<NAME>_<FIELD>`)、yaml 写回保留注释、master 权限门禁(通用 `isEndpointOperator`)、自定义 bindFlow 钩子。QQ 迁移至套件(行为与扫码绑定流程不变);napcat / onebot11 / onebot12 / milky / slack / telegram 接入(字段对齐各自 schema,features 补 @zhin.js/command)。
512
+ - 3e925d0: QQ 出站富媒体移植(自 legacy):`image` 段支持 http(s) URL 直发与 base64/本地路径经 SDK `/files` 上传;`markdown` 段(原文与 custom_template_id+params 模板);`keyboard` 段(按钮矩阵 callback/command,自动合并为 markdown+keyboard 载荷);`at`/`reply` 段透传。文本行为不变,不可映射段降级文本并 warn。
513
+ - Updated dependencies [cdf64e7]
514
+ - Updated dependencies [2d0a159]
515
+ - Updated dependencies [5691aba]
516
+ - Updated dependencies [078e3f7]
517
+ - Updated dependencies [50497a5]
518
+ - Updated dependencies [9c997b2]
519
+ - Updated dependencies [09d4f25]
520
+ - Updated dependencies [43485a9]
521
+ - Updated dependencies [f0ec5ab]
522
+ - Updated dependencies [3e925d0]
523
+ - Updated dependencies [fa66c4c]
524
+ - Updated dependencies [fa66c4c]
525
+ - Updated dependencies [6cb6152]
526
+ - @zhin.js/command@1.0.3
527
+ - @zhin.js/agent@1.0.6
528
+ - @zhin.js/plugin-runtime@1.1.1
529
+ - @zhin.js/host-http@1.0.3
530
+ - zhin.js@5.0.1
531
+ - @zhin.js/adapter@1.1.1
532
+ - @zhin.js/core@1.4.1
533
+
534
+ ## 6.0.0
535
+
536
+ ### Minor Changes
537
+
538
+ - 3ea88d8: 恢复 legacy 的聊天命令添加 endpoint 能力(随适配器发布):`qq endpoint add [name]`(手机 QQ 扫码绑定 → 凭据写 `.env` 的 `QQ_<NAME>_APPID/SECRET` → 追加 `plugins.qq.endpoints` 配置,重启生效)、`qq endpoint cancel`(中止绑定)、`qq endpoint list`(运行中 + 配置内 endpoints)、`qq endpoint remove <name>`(移除配置项)。add/cancel/remove 受 `master` 限制(顶层或 `endpoints[i]` 声明时仅 master 可执行,未配置则放行);schema 新增顶层共享字段 `master`。绑定协议(create_bind_task / poll_bind_result / AES-256-GCM 解密)自 legacy 移植,二维码当前以链接文本下发(QQ 出站富媒体待迁移)。
539
+
540
+ ### Patch Changes
541
+
542
+ - 7db69c1: 命令前缀改为适配器配置项:`MessageDispatcher` 不再硬编码 `/`,默认按消息所属适配器实例 config 的 `commandPrefix` 解析(默认 `''` 无前缀,任意文本按命令匹配),`endpoints[i].commandPrefix` 逐项覆盖;`ImRuntime({ commandPrefix })` 仍可设全局静态前缀。全部 20 个平台适配器 schema 新增 `commandPrefix` 属性。
543
+
544
+ BREAKING(行为变化):未配置时命令不再需要 `/` 前缀——原 `/zt` 写法不再命中,直接发 `zt` 即可;需要斜杠风格的适配器请在配置里显式设 `commandPrefix: '/'`。
545
+
546
+ - e5c84ed: Adapter 多账号:插件实例 config 支持 `endpoints: [{name, ...覆盖}]` 数组,`expandEndpointConfigs` 将一个实例展开为多个 endpoint record(id 为 `<slotId>~<name>`,顶层字段共享、逐项覆盖),替代多 `instanceKey` 方案;Console `/api/plugins` 收敛为一个插件卡片 + 多 endpoint。icqq / qq schema 与 README 补 `endpoints` 配置。
547
+
548
+ Plugin Runtime Console Host:补 `/esm/*` React/router ESM 代理路由(legacy `consoleApiRouter` 对齐),TypeScriptClientBuilder 裸导入改写为 `/esm/<enc>.mjs`。
549
+
550
+ - 713445c: 适配器配置格式定稿(不兼容旧格式):`plugins.<adapter>` 顶层仅共享字段 + `commandPrefix`,`endpoints[i]` 携带 endpoint 级字段(`name` + 凭据,各 schema 已类型化),`endpoints` 为必填(icqq 另需顶层 `master`);icqq 新增 `trusted` 列表(顶层/逐项均可)。scaffold-wizard 全部字段式与自定义 configure() 产出改为新格式,examples(full-bot / qq-games-bot)与 20 个适配器 README 同步迁移。
551
+ - f32c424: 适配器配置统一为 endpoints 数组格式:`plugins.<adapter>` 为该 adapter 所有 endpoint 的通用配置,`plugins.<adapter>.endpoints[i]` 为单个 endpoint 的特殊配置(逐项覆盖,`name` 必填)。slack / github schema 新增 `endpoints` 属性;icqq / qq / slack 顶层必填改为 `anyOf`(单 endpoint 字段或 `endpoints` 数组二选一,兼容 Ajv strictRequired)。
552
+ - Updated dependencies [7db69c1]
553
+ - Updated dependencies [e5c84ed]
554
+ - Updated dependencies [3ea84a0]
555
+ - Updated dependencies [1ddcd70]
556
+ - Updated dependencies [ac9da66]
557
+ - @zhin.js/core@1.4.0
558
+ - @zhin.js/adapter@1.1.0
559
+ - @zhin.js/plugin-runtime@1.1.0
560
+ - @zhin.js/agent@1.0.5
561
+ - @zhin.js/host-http@1.0.2
562
+ - zhin.js@5.0.0
563
+ - @zhin.js/command@1.0.2
564
+
565
+ ## 5.0.3
566
+
567
+ ### Patch Changes
568
+
569
+ - cc5c94d: 约定式插件运行时迁移(breaking):插件与适配器由 `usePlugin()` / `extends Adapter` 迁移为 `definePlugin` / `defineAdapter` + `plugin.ts` + 约定目录(`adapters/`、`commands/`、`components/`、`tools/` 等)。
570
+
571
+ - 新增约定式运行时包:`@zhin.js/plugin-runtime`、`@zhin.js/adapter`、`@zhin.js/runtime`、`@zhin.js/host-http`(首版 1.0.0 走 init-publish,不在本 changeset 内 bump)。
572
+ - 全部 20 个平台适配器改为约定式 `defineAdapter`,旧 `usePlugin` / `extends Adapter` / `segment-mapper` 生产入口已删除;onebot11 反向 WSS、onebot12 webhook/wss、milky sse/webhook/wss、satori webhook、kook webhook、qq webhook/middleware 等 slice 1 推迟的连接模式已补齐。
573
+ - 游戏 / 工具 / 服务插件同步迁移到约定目录结构。
574
+ - CLI 增加 plugin-runtime host installer(http/database/outbound/schedule/console 等)。
575
+
576
+ 后续加固(同批):
577
+
578
+ - CLI:`zhin runtime start --daemon`(pidfile/崩溃拉起/风暴保护),orphan watchdog 防僵尸进程;legacy `zhin dev` / `zhin start` 已移除(含 `zhin restart`),`zhin stop` 兼容新 daemon。
579
+ - 安全:builtin 工具统一走 `security/policy-facade.ts` 的 `runToolPolicies`(声明式策略表,deny 优先);审计日志 close flush + 背压队列;`splitCompoundCommand` 引号感知、`extractCommandName` 去引号堵绕过。
580
+ - 日志:Logger 双堆栈修复、本地时区、`getLogger` 挂树(`setLevel` 递归生效)、第三方库(log4js/discord)桥接、启动人读总结。
581
+ - 结构:`plugins/games/shared` 迁为 `packages/game-kit`(`@zhin.js/game-kit`);死目录 `plugins/adapters/common` 删除。
582
+ - 脚手架:`create-zhin-app` / `zhin new` / scaffold-wizard 生成物改为 Plugin Runtime 形态(minimal-bot 同构,新配置格式)。
583
+ - Console:endpoint.list 真实名称与 phase、schema:get-all 按 instanceKey 映射、db:\* 接 DatabaseHost。
584
+
585
+ 注:按仓库发布惯例(见 1bb345dd2),本次 breaking 迁移统一使用 patch,避免 zhin.js 5.0 级联。
586
+
587
+ - 447f3e2: 迁移缺口修复(legacy 功能对齐):
588
+
589
+ - html 段出站规范化:经 `@zhin.js/html-renderer` 渲染为 image 段(sandbox 豁免、无渲染器时降级文本),修复真实平台 `[object Object]`。
590
+ - 群聊 @ 触发 AI:适配器入站标注 `metadata.mentioned`(icqq/qq/slack/onebot11/onebot12/napcat/milky/discord/telegram/kook/dingtalk/satori),`matchAiTrigger` 补齐 ignorePrefixes/respondToAt/respondToPrivate/keywords(默认值与 legacy 对齐)。
591
+ - im_transcripts 全量流水恢复写入(chat_history 工具可用);群聊旁听上下文回迁。
592
+ - `ai.trigger.timeout/thinkingMessage/errorTemplate` 生效;masters/trusted 角色解析对齐 legacy。
593
+ - `Message.sender` 统一为用户 ID(onebot11/12、napcat、milky 原误传显示名);quote_id 经 metadata 接入 AI 引用上下文。
594
+
595
+ - Updated dependencies [16ec4e8]
596
+ - Updated dependencies [cc5c94d]
597
+ - Updated dependencies [447f3e2]
598
+ - @zhin.js/core@1.3.5
599
+ - @zhin.js/agent@1.0.4
600
+ - @zhin.js/host-http@1.0.1
601
+ - zhin.js@4.1.3
602
+ - @zhin.js/logger@1.0.75
603
+ - @zhin.js/plugin-runtime@1.0.1
604
+ - @zhin.js/adapter@1.0.1
605
+
606
+ ## 5.0.2
607
+
608
+ ### Patch Changes
609
+
610
+ - 872c583: Slack 适配器 Phase 1/2:mrkdwn 出站、长消息切分、斜杠/按钮 ephemeral 反馈、入站 mrkdwn→Markdown、editMessage 对齐 core。
611
+
612
+ Logger 表格日志与 string-width 列宽;Agent AI Handler 框线表格与 introspection/MCP 导出;Core side-event 归一化;Schedule 时区规划;多适配器 side-event 与 API surface 更新。
613
+
614
+ - 872c583: fix: 代码格式优化
615
+ - Updated dependencies [872c583]
616
+ - Updated dependencies [872c583]
617
+ - @zhin.js/agent@1.0.3
618
+ - @zhin.js/client@2.0.5
619
+ - @zhin.js/contract@1.0.3
620
+ - @zhin.js/host-api@2.0.5
621
+ - @zhin.js/host-router@2.0.3
622
+ - @zhin.js/logger@1.0.74
623
+ - zhin.js@4.1.2
624
+
625
+ ## 5.0.1
626
+
627
+ ### Patch Changes
628
+
629
+ - 5cc9c03: fix: ai 优化
630
+ - b9b3881: fix: 增加游戏引擎以及部分游戏
631
+ - 7700903: fix: 游戏强化
632
+ - Updated dependencies [5cc9c03]
633
+ - Updated dependencies [7700903]
634
+ - @zhin.js/logger@1.0.73
635
+ - @zhin.js/client@2.0.4
636
+ - @zhin.js/contract@1.0.2
637
+ - @zhin.js/host-api@2.0.4
638
+ - @zhin.js/host-router@2.0.2
639
+ - zhin.js@4.1.1
640
+
641
+ ## 5.0.0
642
+
643
+ ### Patch Changes
644
+
645
+ - c4575c9: fix: 输入输出优化,文档优化
646
+ - Updated dependencies [c4575c9]
647
+ - Updated dependencies [c4575c9]
648
+ - @zhin.js/host-router@2.0.1
649
+ - @zhin.js/host-api@2.0.3
650
+ - zhin.js@4.1.0
651
+ - @zhin.js/logger@1.0.72
652
+
653
+ ## 4.0.2
654
+
655
+ ### Patch Changes
656
+
657
+ - Updated dependencies [384ea11]
658
+ - @zhin.js/host-api@2.0.2
659
+ - zhin.js@4.0.1
660
+
661
+ ## 4.0.1
662
+
663
+ ### Patch Changes
664
+
665
+ - Updated dependencies [93e58d9]
666
+ - Updated dependencies [ae5239c]
667
+ - @zhin.js/host-api@2.0.1
668
+ - zhin.js@4.0.1
669
+ - @zhin.js/host-router@2.0.0
670
+
671
+ ## 4.0.0
672
+
673
+ ### Patch Changes
674
+
675
+ - zhin.js@3.0.0
676
+ - @zhin.js/host-api@2.0.0
677
+ - @zhin.js/host-router@2.0.0
678
+
679
+ ## 3.0.1
680
+
681
+ ### Patch Changes
682
+
683
+ - d8def69: fix: 性能优化
684
+ - 2ef4896: fix: 更新概念 Bot=>Endpoint,已适配后续更多的业务场景;统一角色权限
685
+ - Updated dependencies [d8def69]
686
+ - Updated dependencies [2ef4896]
687
+ - @zhin.js/host-router@1.0.1
688
+ - @zhin.js/host-api@1.0.1
689
+ - zhin.js@2.0.1
690
+ - @zhin.js/logger@0.1.71
691
+ - @zhin.js/client@2.0.3
692
+
693
+ ## 3.0.0
694
+
695
+ ### Patch Changes
696
+
697
+ - e62c23a: fix: update pnpm-lock.yaml and vitest configurations- Added new dependencies for the full-bot example, including multiple Zhin.js adapters and TypeScript.- Updated the test-bot example to include '@puniyu/system-info' and other necessary packages.- Modified vitest configuration to include additional module directories for better dependency resolution.- Enhanced documentation for the KOOK adapter, including new features like typing indicators and system notifications.- Removed unused test assets and scripts from the test-bot example to streamline the project.
698
+ - Updated dependencies [65f4b0a]
699
+ - @zhin.js/host-api@1.0.0
700
+ - zhin.js@2.0.0
701
+ - @zhin.js/host-router@1.0.0
702
+
703
+ ## 2.0.11
704
+
705
+ ### Patch Changes
706
+
707
+ - Updated dependencies [d8547d2]
708
+ - zhin.js@1.0.92
709
+ - @zhin.js/host-router@0.0.3
710
+
711
+ ## 2.0.10
712
+
713
+ ### Patch Changes
714
+
715
+ - Updated dependencies [3735e96]
716
+ - Updated dependencies [238de62]
717
+ - @zhin.js/host-api@0.0.4
718
+ - zhin.js@1.0.91
719
+ - @zhin.js/host-router@0.0.3
720
+
721
+ ## 2.0.9
722
+
723
+ ### Patch Changes
724
+
725
+ - c8f8207: fix: 修复内存泄露问题
726
+ - Updated dependencies [c8f8207]
727
+ - @zhin.js/logger@0.1.70
728
+ - @zhin.js/client@2.0.2
729
+ - @zhin.js/contract@1.0.1
730
+ - @zhin.js/host-api@0.0.3
731
+ - @zhin.js/host-router@0.0.3
732
+ - zhin.js@1.0.90
733
+
734
+ ## 2.0.8
735
+
736
+ ### Patch Changes
737
+
738
+ - c78d2cd: fix: cli 更新,文档更新
739
+ - Updated dependencies [c78d2cd]
740
+ - @zhin.js/client@2.0.1
741
+ - @zhin.js/host-router@0.0.2
742
+ - zhin.js@1.0.89
743
+ - @zhin.js/host-api@0.0.2
744
+
745
+ ## 2.0.7
746
+
747
+ ### Patch Changes
748
+
749
+ - Updated dependencies [ccb6e24]
750
+ - zhin.js@1.0.88
751
+
752
+ ## 2.0.6
753
+
754
+ ### Patch Changes
755
+
756
+ - 90d9efd: fix: 处理包名
757
+ - Updated dependencies [90d9efd]
758
+ - @zhin.js/logger@0.1.69
759
+ - zhin.js@1.0.87
760
+ - @zhin.js/host-api@0.0.1
761
+ - @zhin.js/host-router@0.0.1
762
+
763
+ ## 2.0.5
764
+
765
+ ### Patch Changes
766
+
767
+ - 7e14f8d: fix: 统一发个版,优化一些列安全问题
768
+ - 996ebb3: fix: ai 优化
769
+ - Updated dependencies [7e14f8d]
770
+ - @zhin.js/logger@0.1.68
771
+ - @zhin.js/client@1.1.4
772
+ - zhin.js@1.0.86
773
+ - @zhin.js/console@3.0.5
774
+ - @zhin.js/host-router@1.0.79
775
+
776
+ ## 2.0.4
777
+
778
+ ### Patch Changes
779
+
780
+ - zhin.js@1.0.85
781
+ - @zhin.js/logger@0.1.67
782
+ - @zhin.js/console@3.0.4
783
+ - @zhin.js/host-router@1.0.78
784
+
785
+ ## 2.0.3
786
+
787
+ ### Patch Changes
788
+
789
+ - f19d2e0: fix: remove multiple runtime support
790
+ - Updated dependencies [0db9fed]
791
+ - Updated dependencies [f19d2e0]
792
+ - @zhin.js/console@3.0.3
793
+ - zhin.js@1.0.84
794
+ - @zhin.js/logger@0.1.66
795
+ - @zhin.js/client@1.1.3
796
+ - @zhin.js/host-router@1.0.77
797
+
798
+ ## 2.0.2
799
+
800
+ ### Patch Changes
801
+
802
+ - 775427e: fix: edge 支持
803
+ - Updated dependencies [775427e]
804
+ - @zhin.js/console@3.0.2
805
+ - @zhin.js/host-router@1.0.76
806
+ - @zhin.js/client@1.1.2
807
+ - zhin.js@1.0.83
808
+ - @zhin.js/logger@0.1.65
809
+
810
+ ## 2.0.1
811
+
812
+ ### Patch Changes
813
+
814
+ - 32049f5: fix: init publish
815
+ - Updated dependencies [32049f5]
816
+ - @zhin.js/console@3.0.1
817
+ - @zhin.js/host-router@1.0.75
818
+ - @zhin.js/logger@0.1.64
819
+ - @zhin.js/client@1.1.1
820
+ - zhin.js@1.0.82
821
+
822
+ ## 2.0.0
823
+
824
+ ### Patch Changes
825
+
826
+ - Updated dependencies
827
+ - @zhin.js/client@1.1.0
828
+ - @zhin.js/console@3.0.0
829
+
830
+ ## 1.0.84
831
+
832
+ ### Patch Changes
833
+
834
+ - Updated dependencies [8086ccb]
835
+ - zhin.js@1.0.81
836
+ - @zhin.js/logger@0.1.63
837
+ - @zhin.js/console@2.0.24
838
+ - @zhin.js/host-router@1.0.74
839
+
3
840
  ## 1.0.83
4
841
 
5
842
  ### Patch Changes
@@ -7,7 +844,7 @@
7
844
  - zhin.js@1.0.80
8
845
  - @zhin.js/logger@0.1.62
9
846
  - @zhin.js/console@2.0.23
10
- - @zhin.js/http@1.0.73
847
+ - @zhin.js/host-router@1.0.73
11
848
 
12
849
  ## 1.0.82
13
850
 
@@ -16,7 +853,7 @@
16
853
  - zhin.js@1.0.79
17
854
  - @zhin.js/logger@0.1.61
18
855
  - @zhin.js/console@2.0.22
19
- - @zhin.js/http@1.0.72
856
+ - @zhin.js/host-router@1.0.72
20
857
 
21
858
  ## 1.0.81
22
859
 
@@ -26,7 +863,7 @@
26
863
  - @zhin.js/console@2.0.21
27
864
  - zhin.js@1.0.78
28
865
  - @zhin.js/logger@0.1.60
29
- - @zhin.js/http@1.0.71
866
+ - @zhin.js/host-router@1.0.71
30
867
 
31
868
  ## 1.0.80
32
869
 
@@ -35,7 +872,7 @@
35
872
  - zhin.js@1.0.77
36
873
  - @zhin.js/logger@0.1.59
37
874
  - @zhin.js/console@2.0.20
38
- - @zhin.js/http@1.0.70
875
+ - @zhin.js/host-router@1.0.70
39
876
 
40
877
  ## 1.0.79
41
878
 
@@ -46,7 +883,7 @@
46
883
  - zhin.js@1.0.76
47
884
  - @zhin.js/logger@0.1.58
48
885
  - @zhin.js/console@2.0.19
49
- - @zhin.js/http@1.0.69
886
+ - @zhin.js/host-router@1.0.69
50
887
 
51
888
  ## 1.0.78
52
889
 
@@ -55,7 +892,7 @@
55
892
  - zhin.js@1.0.75
56
893
  - @zhin.js/logger@0.1.57
57
894
  - @zhin.js/console@2.0.18
58
- - @zhin.js/http@1.0.68
895
+ - @zhin.js/host-router@1.0.68
59
896
 
60
897
  ## 1.0.77
61
898
 
@@ -65,7 +902,7 @@
65
902
  - zhin.js@1.0.74
66
903
  - @zhin.js/logger@0.1.56
67
904
  - @zhin.js/console@2.0.17
68
- - @zhin.js/http@1.0.67
905
+ - @zhin.js/host-router@1.0.67
69
906
 
70
907
  ## 1.0.76
71
908
 
@@ -75,7 +912,7 @@
75
912
  - zhin.js@1.0.73
76
913
  - @zhin.js/logger@0.1.55
77
914
  - @zhin.js/console@2.0.16
78
- - @zhin.js/http@1.0.66
915
+ - @zhin.js/host-router@1.0.66
79
916
 
80
917
  ## 1.0.75
81
918
 
@@ -102,7 +939,7 @@
102
939
  - @zhin.js/client@1.0.18
103
940
  - zhin.js@1.0.72
104
941
  - @zhin.js/console@2.0.13
105
- - @zhin.js/http@1.0.65
942
+ - @zhin.js/host-router@1.0.65
106
943
 
107
944
  ## 1.0.72
108
945
 
@@ -121,7 +958,7 @@
121
958
  - @zhin.js/client@1.0.17
122
959
  - zhin.js@1.0.71
123
960
  - @zhin.js/console@2.0.11
124
- - @zhin.js/http@1.0.64
961
+ - @zhin.js/host-router@1.0.64
125
962
 
126
963
  ## 1.0.70
127
964
 
@@ -130,14 +967,14 @@
130
967
  - zhin.js@1.0.68
131
968
  - @zhin.js/logger@0.1.52
132
969
  - @zhin.js/console@2.0.10
133
- - @zhin.js/http@1.0.63
970
+ - @zhin.js/host-router@1.0.63
134
971
 
135
972
  ## 1.0.69
136
973
 
137
974
  ### Patch Changes
138
975
 
139
976
  - Updated dependencies [0eba6d6]
140
- - @zhin.js/http@1.0.62
977
+ - @zhin.js/host-router@1.0.62
141
978
  - zhin.js@1.0.67
142
979
  - @zhin.js/logger@0.1.51
143
980
  - @zhin.js/console@2.0.9
@@ -149,7 +986,7 @@
149
986
  - zhin.js@1.0.66
150
987
  - @zhin.js/logger@0.1.50
151
988
  - @zhin.js/console@2.0.8
152
- - @zhin.js/http@1.0.61
989
+ - @zhin.js/host-router@1.0.61
153
990
 
154
991
  ## 1.0.67
155
992
 
@@ -158,7 +995,7 @@
158
995
  - zhin.js@1.0.65
159
996
  - @zhin.js/logger@0.1.49
160
997
  - @zhin.js/console@2.0.7
161
- - @zhin.js/http@1.0.60
998
+ - @zhin.js/host-router@1.0.60
162
999
 
163
1000
  ## 1.0.66
164
1001
 
@@ -170,7 +1007,7 @@
170
1007
  - @zhin.js/client@1.0.16
171
1008
  - zhin.js@1.0.64
172
1009
  - @zhin.js/console@2.0.6
173
- - @zhin.js/http@1.0.59
1010
+ - @zhin.js/host-router@1.0.59
174
1011
 
175
1012
  ## 1.0.65
176
1013
 
@@ -179,7 +1016,7 @@
179
1016
  - ba30934: fix: web 优化
180
1017
  - Updated dependencies [ba30934]
181
1018
  - @zhin.js/console@2.0.5
182
- - @zhin.js/http@1.0.58
1019
+ - @zhin.js/host-router@1.0.58
183
1020
  - zhin.js@1.0.63
184
1021
  - @zhin.js/logger@0.1.47
185
1022