@zhin.js/adapter-github 1.0.1 → 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 (93) hide show
  1. package/CHANGELOG.md +1118 -0
  2. package/README.md +70 -191
  3. package/adapters/github.js +51 -0
  4. package/adapters/github.ts +59 -0
  5. package/agent/prompt-sections/platform.ts +16 -0
  6. package/{skills/github/SKILL.md → agent/skills/github.md} +22 -5
  7. package/agent/tools/bind.ts +13 -0
  8. package/agent/tools/create_pr.ts +20 -0
  9. package/agent/tools/install.ts +13 -0
  10. package/agent/tools/patch_file.ts +19 -0
  11. package/agent/tools/prepare_workspace.ts +15 -0
  12. package/agent/tools/push_branch.ts +18 -0
  13. package/agent/tools/star.ts +16 -0
  14. package/agent/tools/subscribe.ts +16 -0
  15. package/agent/tools/subscriptions.ts +13 -0
  16. package/agent/tools/unbind.ts +13 -0
  17. package/agent/tools/unsubscribe.ts +15 -0
  18. package/agent/tools/whoami.ts +13 -0
  19. package/commands/endpoint/add/[id].js +3 -0
  20. package/commands/endpoint/add/[id].ts +3 -0
  21. package/commands/endpoint/list.js +3 -0
  22. package/commands/endpoint/list.ts +3 -0
  23. package/commands/endpoint/remove/[id].js +3 -0
  24. package/commands/endpoint/remove/[id].ts +3 -0
  25. package/lib/client.d.ts +36 -0
  26. package/lib/client.js +47 -0
  27. package/lib/endpoint.d.ts +32 -22
  28. package/lib/endpoint.js +125 -145
  29. package/lib/gh-client.d.ts +73 -1
  30. package/lib/gh-client.js +99 -1
  31. package/lib/github-bot-handlers.d.ts +27 -0
  32. package/lib/github-bot-handlers.js +76 -0
  33. package/lib/github-channel-context.d.ts +16 -0
  34. package/lib/github-channel-context.js +31 -0
  35. package/lib/github-endpoint-commands.d.ts +1 -0
  36. package/lib/github-endpoint-commands.js +22 -0
  37. package/lib/github-runtime-state.d.ts +1 -0
  38. package/lib/github-runtime-state.js +6 -0
  39. package/lib/github-tool-handlers.d.ts +18 -0
  40. package/lib/github-tool-handlers.js +214 -0
  41. package/lib/index.d.ts +7 -32
  42. package/lib/index.js +7 -385
  43. package/lib/oauth-users.d.ts +33 -0
  44. package/lib/oauth-users.js +38 -0
  45. package/lib/protocol.d.ts +94 -0
  46. package/lib/protocol.js +292 -0
  47. package/lib/types.d.ts +6 -1
  48. package/lib/types.js +0 -1
  49. package/lib/webhook.d.ts +14 -0
  50. package/lib/webhook.js +88 -0
  51. package/lib/workspace-manager.d.ts +21 -0
  52. package/lib/workspace-manager.js +154 -0
  53. package/package.json +77 -23
  54. package/plugin.js +38 -0
  55. package/schema.json +130 -0
  56. package/src/client.ts +65 -0
  57. package/src/endpoint.ts +145 -150
  58. package/src/gh-client.ts +131 -0
  59. package/src/github-bot-handlers.ts +113 -0
  60. package/src/github-channel-context.ts +46 -0
  61. package/src/github-endpoint-commands.ts +23 -0
  62. package/src/github-runtime-state.ts +7 -0
  63. package/src/github-tool-handlers.ts +252 -0
  64. package/src/index.ts +48 -431
  65. package/src/oauth-users.ts +47 -0
  66. package/src/protocol.ts +425 -0
  67. package/src/types.ts +6 -0
  68. package/src/webhook.ts +130 -0
  69. package/src/workspace-manager.ts +168 -0
  70. package/lib/adapter.d.ts +0 -64
  71. package/lib/adapter.d.ts.map +0 -1
  72. package/lib/adapter.js +0 -416
  73. package/lib/adapter.js.map +0 -1
  74. package/lib/agent-prompt.d.ts +0 -3
  75. package/lib/agent-prompt.d.ts.map +0 -1
  76. package/lib/agent-prompt.js +0 -82
  77. package/lib/agent-prompt.js.map +0 -1
  78. package/lib/endpoint.d.ts.map +0 -1
  79. package/lib/endpoint.js.map +0 -1
  80. package/lib/gh-client.d.ts.map +0 -1
  81. package/lib/gh-client.js.map +0 -1
  82. package/lib/index.d.ts.map +0 -1
  83. package/lib/index.js.map +0 -1
  84. package/lib/register-github-mcp.d.ts +0 -6
  85. package/lib/register-github-mcp.d.ts.map +0 -1
  86. package/lib/register-github-mcp.js +0 -35
  87. package/lib/register-github-mcp.js.map +0 -1
  88. package/lib/types.d.ts.map +0 -1
  89. package/lib/types.js.map +0 -1
  90. package/plugin.yml +0 -3
  91. package/src/adapter.ts +0 -448
  92. package/src/agent-prompt.ts +0 -99
  93. package/src/register-github-mcp.ts +0 -60
package/CHANGELOG.md ADDED
@@ -0,0 +1,1118 @@
1
+ # @zhin.js/adapter-github
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: Publish internal peer dependencies as compatible caret ranges instead of exact versions, preventing compatible internal minor releases from forcing unrelated major bumps.
12
+ - Updated dependencies [1fc6270]
13
+ - @zhin.js/adapter@1.1.12
14
+ - @zhin.js/core@1.1.35
15
+ - @zhin.js/feature-kit@1.1.0
16
+ - @zhin.js/host-http@1.1.0
17
+ - @zhin.js/im-contract@1.1.0
18
+ - @zhin.js/logger@1.1.0
19
+
20
+ ## 7.0.1
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [f7ee28d]
25
+ - @zhin.js/adapter@1.2.2
26
+ - @zhin.js/core@1.5.16
27
+ - zhin.js@7.0.1
28
+ - @zhin.js/agent@1.2.1
29
+
30
+ ## 7.0.0
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [12325e1]
35
+ - Updated dependencies [d19e976]
36
+ - @zhin.js/agent@1.2.0
37
+ - zhin.js@7.0.0
38
+
39
+ ## 6.0.8
40
+
41
+ ### Patch Changes
42
+
43
+ - Updated dependencies [a728a20]
44
+ - @zhin.js/host-http@1.0.17
45
+ - @zhin.js/agent@1.1.22
46
+ - zhin.js@6.0.15
47
+
48
+ ## 6.0.7
49
+
50
+ ### Patch Changes
51
+
52
+ - Updated dependencies [337fd05]
53
+ - @zhin.js/agent@1.1.21
54
+ - zhin.js@6.0.15
55
+
56
+ ## 6.0.6
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [fcbff21]
61
+ - @zhin.js/host-http@1.0.16
62
+ - zhin.js@6.0.15
63
+
64
+ ## 6.0.5
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [882a08a]
69
+ - @zhin.js/agent@1.1.20
70
+ - zhin.js@6.0.15
71
+ - @zhin.js/core@1.5.15
72
+
73
+ ## 6.0.4
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [d85eddd]
78
+ - @zhin.js/agent@1.1.19
79
+ - @zhin.js/host-http@1.0.15
80
+ - @zhin.js/core@1.5.15
81
+ - zhin.js@6.0.15
82
+
83
+ ## 6.0.3
84
+
85
+ ### Patch Changes
86
+
87
+ - Updated dependencies [a5ee497]
88
+ - Updated dependencies [a5ee497]
89
+ - Updated dependencies [ba7e17a]
90
+ - Updated dependencies [7108d0b]
91
+ - @zhin.js/agent@1.1.18
92
+ - @zhin.js/host-http@1.0.14
93
+ - @zhin.js/core@1.5.15
94
+ - zhin.js@6.0.15
95
+
96
+ ## 6.0.2
97
+
98
+ ### Patch Changes
99
+
100
+ - Updated dependencies [736fa04]
101
+ - @zhin.js/agent@1.1.17
102
+ - zhin.js@6.0.14
103
+
104
+ ## 6.0.1
105
+
106
+ ### Patch Changes
107
+
108
+ - 54bfd6b: Introduce Prompt Sections as a generation-owned Plugin Runtime Feature. Projects can declare typed context under `agent/prompt-sections/`, select interactive or scheduled profiles and IM platforms, and govern presentation order separately from required/preferred/opportunistic budget retention. In-flight turns remain pinned to their original generation across hot reloads, required policy fails explicitly when it cannot fit, duplicate identities are rejected, and the previous mutable Agent-local discovery and platform contributor APIs are removed. ICQQ and GitHub platform guidance now use the same Feature instead of a module-global registry.
109
+
110
+ Expose a content-free Prompt Section catalog through Console introspection, including owner, source, generation, profiles, and budget policy without disclosing prompt text. New AI projects mount the Feature automatically, and the full-bot example plus Chinese and English product documentation demonstrate the supported configuration.
111
+
112
+ - 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.
113
+ - Updated dependencies [e9c6a73]
114
+ - Updated dependencies [4e8117c]
115
+ - Updated dependencies [902fa35]
116
+ - Updated dependencies [54bfd6b]
117
+ - Updated dependencies [12025ee]
118
+ - Updated dependencies [09b14d6]
119
+ - Updated dependencies [1fc78bc]
120
+ - @zhin.js/agent@1.1.16
121
+ - @zhin.js/adapter@1.2.1
122
+ - @zhin.js/prompt-section@0.0.1
123
+ - @zhin.js/core@1.5.14
124
+ - @zhin.js/host-http@1.0.13
125
+ - @zhin.js/command@1.0.16
126
+ - @zhin.js/logger@1.0.77
127
+ - zhin.js@6.0.14
128
+ - @zhin.js/feature-kit@1.0.13
129
+
130
+ ## 6.0.0
131
+
132
+ ### Patch Changes
133
+
134
+ - Updated dependencies [b10d058]
135
+ - Updated dependencies [f2c532f]
136
+ - Updated dependencies [3dbf990]
137
+ - @zhin.js/host-http@1.0.12
138
+ - @zhin.js/adapter@1.2.0
139
+ - @zhin.js/core@1.5.13
140
+ - @zhin.js/agent@1.1.15
141
+ - zhin.js@6.0.13
142
+
143
+ ## 5.0.14
144
+
145
+ ### Patch Changes
146
+
147
+ - 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.
148
+ - Updated dependencies [5969c5b]
149
+ - Updated dependencies [d336a3f]
150
+ - Updated dependencies [0c82a7e]
151
+ - Updated dependencies [b9217e4]
152
+ - Updated dependencies [5969c5b]
153
+ - Updated dependencies [5969c5b]
154
+ - Updated dependencies [974772e]
155
+ - Updated dependencies [5969c5b]
156
+ - Updated dependencies [5969c5b]
157
+ - Updated dependencies [2f786bd]
158
+ - Updated dependencies [63d89f9]
159
+ - Updated dependencies [71c7cdd]
160
+ - Updated dependencies [3cca0ea]
161
+ - Updated dependencies [1312ca0]
162
+ - Updated dependencies [985fa22]
163
+ - Updated dependencies [04b861d]
164
+ - Updated dependencies [a23d544]
165
+ - Updated dependencies [8cddabf]
166
+ - Updated dependencies [dbe5081]
167
+ - @zhin.js/im-contract@1.0.4
168
+ - @zhin.js/core@1.5.12
169
+ - @zhin.js/adapter@1.1.11
170
+ - @zhin.js/agent@1.1.14
171
+ - @zhin.js/host-http@1.0.11
172
+ - @zhin.js/command@1.0.15
173
+ - zhin.js@6.0.12
174
+
175
+ ## 5.0.13
176
+
177
+ ### Patch Changes
178
+
179
+ - @zhin.js/core@1.5.11
180
+ - @zhin.js/agent@1.1.13
181
+ - zhin.js@6.0.11
182
+
183
+ ## 5.0.12
184
+
185
+ ### Patch Changes
186
+
187
+ - 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.
188
+ - @zhin.js/agent@1.1.12
189
+ - @zhin.js/core@1.5.10
190
+ - zhin.js@6.0.10
191
+
192
+ ## 5.0.11
193
+
194
+ ### Patch Changes
195
+
196
+ - eb84b77: fix: 更新文档,建立正确的依赖关系
197
+ - Updated dependencies [d3920e9]
198
+ - @zhin.js/core@1.5.10
199
+ - zhin.js@6.0.10
200
+ - @zhin.js/adapter@1.1.10
201
+ - @zhin.js/agent@1.1.11
202
+
203
+ ## 5.0.10
204
+
205
+ ### Patch Changes
206
+
207
+ - Updated dependencies [e4757a8]
208
+ - Updated dependencies [c3c0ebf]
209
+ - @zhin.js/command@1.0.13
210
+ - @zhin.js/host-http@1.0.10
211
+ - @zhin.js/agent@1.1.10
212
+ - @zhin.js/core@1.5.9
213
+ - @zhin.js/adapter@1.1.9
214
+ - zhin.js@6.0.9
215
+
216
+ ## 5.0.9
217
+
218
+ ### Patch Changes
219
+
220
+ - Updated dependencies [63253bb]
221
+ - Updated dependencies [6fb24dd]
222
+ - Updated dependencies [d162216]
223
+ - Updated dependencies [7427818]
224
+ - Updated dependencies [90da255]
225
+ - Updated dependencies [8e973dc]
226
+ - Updated dependencies [953cfe1]
227
+ - Updated dependencies [0e73866]
228
+ - @zhin.js/plugin-runtime@1.1.6
229
+ - @zhin.js/core@1.5.8
230
+ - @zhin.js/adapter@1.1.8
231
+ - @zhin.js/host-http@1.0.9
232
+ - @zhin.js/agent@1.1.9
233
+ - zhin.js@6.0.8
234
+ - @zhin.js/command@1.0.12
235
+
236
+ ## 5.0.8
237
+
238
+ ### Patch Changes
239
+
240
+ - Updated dependencies [36cb1ca]
241
+ - @zhin.js/core@1.5.7
242
+ - @zhin.js/agent@1.1.8
243
+ - zhin.js@6.0.7
244
+
245
+ ## 5.0.7
246
+
247
+ ### Patch Changes
248
+
249
+ - Updated dependencies [7945544]
250
+ - @zhin.js/command@1.0.11
251
+ - @zhin.js/agent@1.1.7
252
+ - @zhin.js/adapter@1.1.7
253
+ - @zhin.js/core@1.5.6
254
+ - zhin.js@6.0.6
255
+
256
+ ## 5.0.6
257
+
258
+ ### Patch Changes
259
+
260
+ - Updated dependencies [2d0a622]
261
+ - @zhin.js/command@1.0.10
262
+ - @zhin.js/adapter@1.1.7
263
+ - @zhin.js/core@1.5.5
264
+ - @zhin.js/agent@1.1.6
265
+ - zhin.js@6.0.5
266
+
267
+ ## 5.0.5
268
+
269
+ ### Patch Changes
270
+
271
+ - 36c7400: Replace `AgentPromptBuildContext.commMessage` with an authenticated platform projection and make Agent prompt assembly consume canonical Turn identity. Platform contributors and prompt hooks no longer receive a classic IM `Message`.
272
+
273
+ Remove the unused Message field and active-context escape hatch from PromptController; turn scheduling is keyed only by canonical session identity.
274
+
275
+ - Updated dependencies [6f9c366]
276
+ - Updated dependencies [373a56b]
277
+ - Updated dependencies [0de46a8]
278
+ - Updated dependencies [c106ecc]
279
+ - Updated dependencies [ca92e03]
280
+ - Updated dependencies [b0f37ae]
281
+ - Updated dependencies [ba08a2f]
282
+ - Updated dependencies [b08f7fe]
283
+ - Updated dependencies [daffd4c]
284
+ - Updated dependencies [36c7400]
285
+ - Updated dependencies [a9fa72e]
286
+ - Updated dependencies [c8de3ef]
287
+ - Updated dependencies [60f0fc8]
288
+ - Updated dependencies [574c990]
289
+ - Updated dependencies [d096f16]
290
+ - Updated dependencies [3f29623]
291
+ - Updated dependencies [2916852]
292
+ - Updated dependencies [d047869]
293
+ - Updated dependencies [162fa34]
294
+ - Updated dependencies [e62561e]
295
+ - Updated dependencies [3eeeb46]
296
+ - Updated dependencies [85d0f82]
297
+ - Updated dependencies [61bfc1c]
298
+ - Updated dependencies [04bad47]
299
+ - Updated dependencies [e40b048]
300
+ - Updated dependencies [5a5b1bb]
301
+ - Updated dependencies [f1708c3]
302
+ - Updated dependencies [d254a81]
303
+ - Updated dependencies [7123c47]
304
+ - Updated dependencies [05befc1]
305
+ - Updated dependencies [0663b6a]
306
+ - Updated dependencies [f28f9b3]
307
+ - Updated dependencies [9f340f7]
308
+ - Updated dependencies [e53444f]
309
+ - Updated dependencies [5eedd26]
310
+ - Updated dependencies [92b0dd7]
311
+ - Updated dependencies [f919b6f]
312
+ - Updated dependencies [098e411]
313
+ - Updated dependencies [e1b7c01]
314
+ - Updated dependencies [9b94f87]
315
+ - Updated dependencies [a7df753]
316
+ - @zhin.js/agent@1.1.5
317
+ - @zhin.js/host-http@1.0.8
318
+ - @zhin.js/im-contract@1.0.3
319
+ - @zhin.js/adapter@1.1.7
320
+ - @zhin.js/plugin-runtime@1.1.5
321
+ - @zhin.js/command@1.0.9
322
+ - @zhin.js/core@1.5.4
323
+ - zhin.js@6.0.4
324
+
325
+ ## 5.0.4
326
+
327
+ ### Patch Changes
328
+
329
+ - f8c7a54: fix: im
330
+ - Updated dependencies [f8c7a54]
331
+ - @zhin.js/logger@1.0.76
332
+ - @zhin.js/host-http@1.0.7
333
+ - @zhin.js/adapter@1.1.6
334
+ - @zhin.js/agent@1.1.4
335
+ - @zhin.js/command@1.0.8
336
+ - @zhin.js/core@1.5.3
337
+ - @zhin.js/im-contract@1.0.2
338
+ - @zhin.js/plugin-runtime@1.1.4
339
+ - zhin.js@6.0.3
340
+
341
+ ## 5.0.3
342
+
343
+ ### Patch Changes
344
+
345
+ - Updated dependencies [afc0e66]
346
+ - Updated dependencies [2e41ad5]
347
+ - Updated dependencies [9f57124]
348
+ - @zhin.js/core@1.5.2
349
+ - @zhin.js/adapter@1.1.5
350
+ - @zhin.js/im-contract@1.0.1
351
+ - @zhin.js/plugin-runtime@1.1.3
352
+ - @zhin.js/command@1.0.7
353
+ - @zhin.js/host-http@1.0.6
354
+ - @zhin.js/agent@1.1.3
355
+ - zhin.js@6.0.2
356
+
357
+ ## 5.0.2
358
+
359
+ ### Patch Changes
360
+
361
+ - Updated dependencies [696ab1b]
362
+ - @zhin.js/agent@1.1.2
363
+ - zhin.js@6.0.1
364
+
365
+ ## 5.0.1
366
+
367
+ ### Patch Changes
368
+
369
+ - Updated dependencies [c8f4d45]
370
+ - @zhin.js/plugin-runtime@1.1.2
371
+ - @zhin.js/host-http@1.0.5
372
+ - @zhin.js/adapter@1.1.4
373
+ - @zhin.js/agent@1.1.1
374
+ - @zhin.js/command@1.0.6
375
+ - @zhin.js/core@1.5.1
376
+ - zhin.js@6.0.1
377
+
378
+ ## 5.0.0
379
+
380
+ ### Patch Changes
381
+
382
+ - 4fbff5d: feat!: 多模态双向 Segment 一贯制(BREAKING,无兼容层)
383
+
384
+ 全框架唯一媒体表达统一为 canonical `Segment` + `MediaRef{kind: url|path|base64|file, value, mime_type?, file_name?, size?}`,新增 audio/video/file 段类型;所有第二形状(legacy `data.url/file/base64` 字段、`mediaRefFromLegacyData`/`mediaRefToLegacyFields` 桥、双写)全部删除。
385
+
386
+ - **core**:`SendContent` 一等支持 `Segment[]`;endpoint 出站载荷只含 canonical 段;`resolveOutboundMediaPolicy` 改为纯声明驱动(adapter definition `segments.outboundMedia`),内置策略表删除,未声明回退 `url-or-text`;`ImageContent` 旧桥删除。
387
+ - **ai**:新增 `MediaContentBlock`/`MediaBlockRef`(Segment 同构)与 `UserMessage.media`(当前 turn 媒体,**不持久化**——存储层自动剥离);`createUserMessage(text, media?)` 签名变更(`ImageContent` 删除);provider 边界序列化器 `filterMediaBlocksForProvider` + 能力表(缺省 image-only,不支持类型降级占位文本);ai-sdk 桥媒体块 → SDK image/file parts。
388
+ - **agent**:入站 turn 注入(`turn/inbound-media.ts`)——commMessage 媒体段 → 当前 turn `UserMessage.media`;图片 path 物化、音频默认 STT(`@zhin.js/speech` 可选,失败降级占位)、视频/文件占位;`publishOutboundElements` 产出 canonical Segment;`transcribeAudioPayload` 导出。
389
+ - **cli**:`bridgeRuntimeMessage` 回复链路媒体段透传,不再压平为文本(`$reply` 直达 normalize → adapter)。
390
+ - **全部 20 个平台适配器**:出站媒体只消费 `data.media`(url 直发 / base64 直发 / 平台上传 / 读盘),入站媒体产出 canonical `data.media`;`segments.outboundMedia` 声明与实际消费逐一核对修正;QQ 入站新增 canonical segments(image/audio/video/file/mention/face/reply),图片/语音/视频不再丢失。
391
+
392
+ 迁移:适配器/插件产媒体一律用 `{ type, data: { media: MediaRef } }`;发送 legacy `data.url/file/base64` 形状的段会被 warn 丢弃。
393
+
394
+ - Updated dependencies [7c1e63a]
395
+ - Updated dependencies [4fbff5d]
396
+ - Updated dependencies [5b94d9c]
397
+ - @zhin.js/command@1.0.5
398
+ - @zhin.js/adapter@1.1.3
399
+ - @zhin.js/core@1.5.0
400
+ - @zhin.js/agent@1.1.0
401
+ - zhin.js@6.0.0
402
+
403
+ ## 4.0.5
404
+
405
+ ### Patch Changes
406
+
407
+ - Updated dependencies [d8bf702]
408
+ - @zhin.js/host-http@1.0.4
409
+ - @zhin.js/agent@1.0.10
410
+ - @zhin.js/core@1.4.3
411
+ - zhin.js@5.0.3
412
+
413
+ ## 4.0.4
414
+
415
+ ### Patch Changes
416
+
417
+ - Updated dependencies [45b3256]
418
+ - @zhin.js/core@1.4.3
419
+ - @zhin.js/agent@1.0.9
420
+ - zhin.js@5.0.3
421
+
422
+ ## 4.0.3
423
+
424
+ ### Patch Changes
425
+
426
+ - Updated dependencies [f346346]
427
+ - @zhin.js/agent@1.0.8
428
+ - @zhin.js/core@1.4.2
429
+ - zhin.js@5.0.2
430
+
431
+ ## 4.0.2
432
+
433
+ ### Patch Changes
434
+
435
+ - d5cd4aa: Publish Plugin Runtime entry points and convention modules as JavaScript so
436
+ installed npm plugins load on Node without TypeScript stripping. Workspace
437
+ development continues to prefer TypeScript sources for local HMR.
438
+
439
+ Remove the unconsumed legacy game hub APIs from game-kit; game navigation and
440
+ records now use ordinary convention commands owned by the game hub plugin.
441
+
442
+ - Updated dependencies [d5cd4aa]
443
+ - @zhin.js/command@1.0.4
444
+ - zhin.js@5.0.2
445
+ - @zhin.js/adapter@1.1.2
446
+ - @zhin.js/core@1.4.2
447
+ - @zhin.js/agent@1.0.7
448
+
449
+ ## 4.0.1
450
+
451
+ ### Patch Changes
452
+
453
+ - 74b035c: endpoint 管理命令扩展至 18/20 适配器:kook / discord / github(private_key 支持内联文件路径)/ icqq(bindFlow 登记式 add + `icqq login` 引导)/ dingtalk / lark / line / satori / wechat-mp / wecom / weixin-ilink 接入 `endpoint list/add/remove`(字段对齐各自 schema,凭据写 `.env`)。email(smtp/imap 嵌套对象)与 sandbox(无凭据)暂不接。
454
+ - Updated dependencies [cdf64e7]
455
+ - Updated dependencies [2d0a159]
456
+ - Updated dependencies [5691aba]
457
+ - Updated dependencies [078e3f7]
458
+ - Updated dependencies [50497a5]
459
+ - Updated dependencies [9c997b2]
460
+ - Updated dependencies [09d4f25]
461
+ - Updated dependencies [43485a9]
462
+ - Updated dependencies [f0ec5ab]
463
+ - Updated dependencies [3e925d0]
464
+ - Updated dependencies [fa66c4c]
465
+ - Updated dependencies [fa66c4c]
466
+ - Updated dependencies [6cb6152]
467
+ - @zhin.js/command@1.0.3
468
+ - @zhin.js/agent@1.0.6
469
+ - @zhin.js/plugin-runtime@1.1.1
470
+ - @zhin.js/host-http@1.0.3
471
+ - zhin.js@5.0.1
472
+ - @zhin.js/adapter@1.1.1
473
+ - @zhin.js/core@1.4.1
474
+
475
+ ## 4.0.0
476
+
477
+ ### Patch Changes
478
+
479
+ - 7db69c1: 命令前缀改为适配器配置项:`MessageDispatcher` 不再硬编码 `/`,默认按消息所属适配器实例 config 的 `commandPrefix` 解析(默认 `''` 无前缀,任意文本按命令匹配),`endpoints[i].commandPrefix` 逐项覆盖;`ImRuntime({ commandPrefix })` 仍可设全局静态前缀。全部 20 个平台适配器 schema 新增 `commandPrefix` 属性。
480
+
481
+ BREAKING(行为变化):未配置时命令不再需要 `/` 前缀——原 `/zt` 写法不再命中,直接发 `zt` 即可;需要斜杠风格的适配器请在配置里显式设 `commandPrefix: '/'`。
482
+
483
+ - 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 同步迁移。
484
+ - f32c424: 适配器配置统一为 endpoints 数组格式:`plugins.<adapter>` 为该 adapter 所有 endpoint 的通用配置,`plugins.<adapter>.endpoints[i]` 为单个 endpoint 的特殊配置(逐项覆盖,`name` 必填)。slack / github schema 新增 `endpoints` 属性;icqq / qq / slack 顶层必填改为 `anyOf`(单 endpoint 字段或 `endpoints` 数组二选一,兼容 Ajv strictRequired)。
485
+ - Updated dependencies [7db69c1]
486
+ - Updated dependencies [e5c84ed]
487
+ - Updated dependencies [3ea84a0]
488
+ - Updated dependencies [1ddcd70]
489
+ - Updated dependencies [ac9da66]
490
+ - @zhin.js/core@1.4.0
491
+ - @zhin.js/adapter@1.1.0
492
+ - @zhin.js/plugin-runtime@1.1.0
493
+ - @zhin.js/agent@1.0.5
494
+ - @zhin.js/host-http@1.0.2
495
+ - zhin.js@5.0.0
496
+
497
+ ## 3.0.3
498
+
499
+ ### Patch Changes
500
+
501
+ - cc5c94d: 约定式插件运行时迁移(breaking):插件与适配器由 `usePlugin()` / `extends Adapter` 迁移为 `definePlugin` / `defineAdapter` + `plugin.ts` + 约定目录(`adapters/`、`commands/`、`components/`、`tools/` 等)。
502
+
503
+ - 新增约定式运行时包:`@zhin.js/plugin-runtime`、`@zhin.js/adapter`、`@zhin.js/runtime`、`@zhin.js/host-http`(首版 1.0.0 走 init-publish,不在本 changeset 内 bump)。
504
+ - 全部 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 推迟的连接模式已补齐。
505
+ - 游戏 / 工具 / 服务插件同步迁移到约定目录结构。
506
+ - CLI 增加 plugin-runtime host installer(http/database/outbound/schedule/console 等)。
507
+
508
+ 后续加固(同批):
509
+
510
+ - CLI:`zhin runtime start --daemon`(pidfile/崩溃拉起/风暴保护),orphan watchdog 防僵尸进程;legacy `zhin dev` / `zhin start` 已移除(含 `zhin restart`),`zhin stop` 兼容新 daemon。
511
+ - 安全:builtin 工具统一走 `security/policy-facade.ts` 的 `runToolPolicies`(声明式策略表,deny 优先);审计日志 close flush + 背压队列;`splitCompoundCommand` 引号感知、`extractCommandName` 去引号堵绕过。
512
+ - 日志:Logger 双堆栈修复、本地时区、`getLogger` 挂树(`setLevel` 递归生效)、第三方库(log4js/discord)桥接、启动人读总结。
513
+ - 结构:`plugins/games/shared` 迁为 `packages/game-kit`(`@zhin.js/game-kit`);死目录 `plugins/adapters/common` 删除。
514
+ - 脚手架:`create-zhin-app` / `zhin new` / scaffold-wizard 生成物改为 Plugin Runtime 形态(minimal-bot 同构,新配置格式)。
515
+ - Console:endpoint.list 真实名称与 phase、schema:get-all 按 instanceKey 映射、db:\* 接 DatabaseHost。
516
+
517
+ 注:按仓库发布惯例(见 1bb345dd2),本次 breaking 迁移统一使用 patch,避免 zhin.js 5.0 级联。
518
+
519
+ - Updated dependencies [16ec4e8]
520
+ - Updated dependencies [cc5c94d]
521
+ - Updated dependencies [447f3e2]
522
+ - @zhin.js/core@1.3.5
523
+ - @zhin.js/agent@1.0.4
524
+ - @zhin.js/host-http@1.0.1
525
+ - zhin.js@4.1.3
526
+ - @zhin.js/logger@1.0.75
527
+ - @zhin.js/plugin-runtime@1.0.1
528
+ - @zhin.js/adapter@1.0.1
529
+
530
+ ## 3.0.2
531
+
532
+ ### Patch Changes
533
+
534
+ - 872c583: Slack 适配器 Phase 1/2:mrkdwn 出站、长消息切分、斜杠/按钮 ephemeral 反馈、入站 mrkdwn→Markdown、editMessage 对齐 core。
535
+
536
+ Logger 表格日志与 string-width 列宽;Agent AI Handler 框线表格与 introspection/MCP 导出;Core side-event 归一化;Schedule 时区规划;多适配器 side-event 与 API surface 更新。
537
+
538
+ - 872c583: fix: 代码格式优化
539
+ - Updated dependencies [872c583]
540
+ - Updated dependencies [872c583]
541
+ - @zhin.js/agent@1.0.3
542
+ - @zhin.js/host-router@2.0.3
543
+ - zhin.js@4.1.2
544
+
545
+ ## 3.0.1
546
+
547
+ ### Patch Changes
548
+
549
+ - 5cc9c03: fix: ai 优化
550
+ - b9b3881: fix: 增加游戏引擎以及部分游戏
551
+ - Updated dependencies [5cc9c03]
552
+ - Updated dependencies [7700903]
553
+ - @zhin.js/host-router@2.0.2
554
+ - zhin.js@4.1.1
555
+
556
+ ## 3.0.0
557
+
558
+ ### Patch Changes
559
+
560
+ - c4575c9: fix: 输入输出优化,文档优化
561
+ - Updated dependencies [c4575c9]
562
+ - Updated dependencies [c4575c9]
563
+ - @zhin.js/host-router@2.0.1
564
+ - zhin.js@4.1.0
565
+
566
+ ## 2.0.1
567
+
568
+ ### Patch Changes
569
+
570
+ - ae5239c: fix: 核心包瘦身
571
+ - Updated dependencies [ae5239c]
572
+ - zhin.js@4.0.1
573
+ - @zhin.js/host-router@2.0.0
574
+
575
+ ## 2.0.0
576
+
577
+ ### Patch Changes
578
+
579
+ - zhin.js@3.0.0
580
+ - @zhin.js/host-router@2.0.0
581
+
582
+ ## 1.0.1
583
+
584
+ ### Patch Changes
585
+
586
+ - d8def69: fix: 性能优化
587
+ - 2ef4896: fix: 更新概念 Bot=>Endpoint,已适配后续更多的业务场景;统一角色权限
588
+ - Updated dependencies [d8def69]
589
+ - Updated dependencies [2ef4896]
590
+ - @zhin.js/host-router@1.0.1
591
+ - zhin.js@2.0.1
592
+
593
+ ## 1.0.0
594
+
595
+ ### Patch Changes
596
+
597
+ - 65f4b0a: 架构优化、类型安全提升与构建系统清理
598
+
599
+ **kernel** (minor)
600
+
601
+ - PluginBase.start() 提取 `mountAllContexts()` / `mountContext()` 可覆盖钩子
602
+
603
+ **core** (minor)
604
+
605
+ - Plugin.start() 覆盖 `mountAllContexts()` 支持 Context 挂载失败回滚
606
+ - Plugin.stop() 委托 `super.stop()` 消除重复代码
607
+ - Lifecycle 事件类型化:message.receive → Message, request.receive → Request, notice.receive → Notice
608
+
609
+ **ai** (minor)
610
+
611
+ - BaseProvider 提取 `request()` 公共方法,消除 fetch/fetchText/fetchStream 80% 重复代码
612
+ - 修复 fetch/fetchText 的 AbortController 泄漏
613
+
614
+ **agent** (minor)
615
+
616
+ - 为 7 个模块级单例添加 reset() 函数支持测试隔离
617
+ - 修复 8 处 `catch (e: any)` → `catch (e: unknown)`
618
+
619
+ **host-api / plugins** (patch)
620
+
621
+ - handlers-db.ts 移除 11 处 `as never` cast,修复 11 处 catch 类型标注
622
+ - adapter-github / plugin-group-suite / plugin-rss 移除 inject() 的 `as any` cast
623
+ - zhin.js@2.0.0
624
+ - @zhin.js/host-router@1.0.0
625
+
626
+ ## 0.1.63
627
+
628
+ ### Patch Changes
629
+
630
+ - Updated dependencies [d8547d2]
631
+ - zhin.js@1.0.92
632
+ - @zhin.js/host-router@0.0.3
633
+
634
+ ## 0.1.62
635
+
636
+ ### Patch Changes
637
+
638
+ - 3735e96: fix: 智能家居控制
639
+ - Updated dependencies [3735e96]
640
+ - zhin.js@1.0.91
641
+ - @zhin.js/host-router@0.0.3
642
+
643
+ ## 0.1.61
644
+
645
+ ### Patch Changes
646
+
647
+ - c8f8207: fix: 修复内存泄露问题
648
+ - Updated dependencies [c8f8207]
649
+ - @zhin.js/host-router@0.0.3
650
+ - zhin.js@1.0.90
651
+
652
+ ## 0.1.60
653
+
654
+ ### Patch Changes
655
+
656
+ - c78d2cd: fix: cli 更新,文档更新
657
+ - Updated dependencies [c78d2cd]
658
+ - @zhin.js/host-router@0.0.2
659
+ - zhin.js@1.0.89
660
+
661
+ ## 0.1.59
662
+
663
+ ### Patch Changes
664
+
665
+ - Updated dependencies [ccb6e24]
666
+ - zhin.js@1.0.88
667
+
668
+ ## 0.1.58
669
+
670
+ ### Patch Changes
671
+
672
+ - 90d9efd: fix: 处理包名
673
+ - zhin.js@1.0.87
674
+ - @zhin.js/host-router@0.0.1
675
+
676
+ ## 0.1.57
677
+
678
+ ### Patch Changes
679
+
680
+ - 7e14f8d: fix: 统一发个版,优化一些列安全问题
681
+ - Updated dependencies [7e14f8d]
682
+ - zhin.js@1.0.86
683
+ - @zhin.js/host-router@1.0.79
684
+
685
+ ## 0.1.56
686
+
687
+ ### Patch Changes
688
+
689
+ - zhin.js@1.0.85
690
+ - @zhin.js/host-router@1.0.78
691
+
692
+ ## 0.1.55
693
+
694
+ ### Patch Changes
695
+
696
+ - f19d2e0: fix: remove multiple runtime support
697
+ - 2d24338: fix: ai 优化
698
+ - Updated dependencies [0db9fed]
699
+ - Updated dependencies [f19d2e0]
700
+ - zhin.js@1.0.84
701
+ - @zhin.js/host-router@1.0.77
702
+
703
+ ## 0.1.54
704
+
705
+ ### Patch Changes
706
+
707
+ - 775427e: fix: edge 支持
708
+ - Updated dependencies [775427e]
709
+ - @zhin.js/host-router@1.0.76
710
+ - zhin.js@1.0.83
711
+
712
+ ## 0.1.53
713
+
714
+ ### Patch Changes
715
+
716
+ - 32049f5: fix: init publish
717
+ - Updated dependencies [32049f5]
718
+ - @zhin.js/host-router@1.0.75
719
+ - zhin.js@1.0.82
720
+
721
+ ## 0.1.52
722
+
723
+ ### Patch Changes
724
+
725
+ - 8086ccb: fix: ai 增强/优化
726
+ - Updated dependencies [8086ccb]
727
+ - zhin.js@1.0.81
728
+ - @zhin.js/host-router@1.0.74
729
+
730
+ ## 0.1.51
731
+
732
+ ### Patch Changes
733
+
734
+ - zhin.js@1.0.80
735
+ - @zhin.js/host-router@1.0.73
736
+
737
+ ## 0.1.50
738
+
739
+ ### Patch Changes
740
+
741
+ - zhin.js@1.0.79
742
+ - @zhin.js/host-router@1.0.72
743
+
744
+ ## 0.1.49
745
+
746
+ ### Patch Changes
747
+
748
+ - zhin.js@1.0.78
749
+ - @zhin.js/host-router@1.0.71
750
+
751
+ ## 0.1.48
752
+
753
+ ### Patch Changes
754
+
755
+ - zhin.js@1.0.77
756
+ - @zhin.js/host-router@1.0.70
757
+
758
+ ## 0.1.47
759
+
760
+ ### Patch Changes
761
+
762
+ - Updated dependencies [cb9fbf1]
763
+ - zhin.js@1.0.76
764
+ - @zhin.js/host-router@1.0.69
765
+
766
+ ## 0.1.46
767
+
768
+ ### Patch Changes
769
+
770
+ - zhin.js@1.0.75
771
+ - @zhin.js/host-router@1.0.68
772
+
773
+ ## 0.1.45
774
+
775
+ ### Patch Changes
776
+
777
+ - Updated dependencies [c9dec38]
778
+ - zhin.js@1.0.74
779
+ - @zhin.js/host-router@1.0.67
780
+
781
+ ## 0.1.44
782
+
783
+ ### Patch Changes
784
+
785
+ - zhin.js@1.0.73
786
+ - @zhin.js/host-router@1.0.66
787
+
788
+ ## 0.1.43
789
+
790
+ ### Patch Changes
791
+
792
+ - 57bdf7a: fix: github adapter error
793
+
794
+ ## 0.1.42
795
+
796
+ ### Patch Changes
797
+
798
+ - e28fd7c: fix: 重新发版
799
+ - Updated dependencies [e28fd7c]
800
+ - zhin.js@1.0.72
801
+ - @zhin.js/host-router@1.0.65
802
+
803
+ ## 0.1.41
804
+
805
+ ### Patch Changes
806
+
807
+ - 4304825: fix: 重新发版
808
+ - ed66fb1: fix: 适配器优化
809
+ - Updated dependencies [4304825]
810
+ - zhin.js@1.0.71
811
+ - @zhin.js/host-router@1.0.64
812
+
813
+ ## 0.1.40
814
+
815
+ ### Patch Changes
816
+
817
+ - zhin.js@1.0.68
818
+ - @zhin.js/host-router@1.0.63
819
+
820
+ ## 0.1.39
821
+
822
+ ### Patch Changes
823
+
824
+ - Updated dependencies [0eba6d6]
825
+ - @zhin.js/host-router@1.0.62
826
+ - zhin.js@1.0.67
827
+
828
+ ## 0.1.38
829
+
830
+ ### Patch Changes
831
+
832
+ - zhin.js@1.0.66
833
+ - @zhin.js/host-router@1.0.61
834
+
835
+ ## 0.1.37
836
+
837
+ ### Patch Changes
838
+
839
+ - d73a3b7: fix: ai error
840
+ - zhin.js@1.0.65
841
+ - @zhin.js/host-router@1.0.60
842
+
843
+ ## 0.1.36
844
+
845
+ ### Patch Changes
846
+
847
+ - 36c1b8f: fix: 重构 icqq\github 适配器
848
+
849
+ ## 0.1.35
850
+
851
+ ### Patch Changes
852
+
853
+ - 9577eba: fix: tool 收集 bug,升级 ts 到 6.0.2
854
+ - Updated dependencies [9577eba]
855
+ - zhin.js@1.0.64
856
+ - @zhin.js/host-router@1.0.59
857
+
858
+ ## 0.1.34
859
+
860
+ ### Patch Changes
861
+
862
+ - Updated dependencies [ba30934]
863
+ - @zhin.js/host-router@1.0.58
864
+ - zhin.js@1.0.63
865
+
866
+ ## 0.1.33
867
+
868
+ ### Patch Changes
869
+
870
+ - 6b146fd: fix: 补齐工具
871
+
872
+ ## 0.1.32
873
+
874
+ ### Patch Changes
875
+
876
+ - zhin.js@1.0.62
877
+ - @zhin.js/host-router@1.0.57
878
+
879
+ ## 0.1.31
880
+
881
+ ### Patch Changes
882
+
883
+ - zhin.js@1.0.61
884
+ - @zhin.js/host-router@1.0.56
885
+
886
+ ## 0.1.30
887
+
888
+ ### Patch Changes
889
+
890
+ - 5073d4c: chore: chore: update TypeScript version to ^5.9.3 across all plugins and packages
891
+ feat: enhance ai-text-as-image output registration with off handler for cleanup
892
+ fix: remove unnecessary logging in ensureBuiltinFontsCached function
893
+ refactor: simplify action handlers in html-renderer tools
894
+ chore: add README files for queue-sandbox-poc and event-delivery packages
895
+ chore: adjust pnpm workspace configuration to exclude games directory
896
+ chore: update tsconfig to include plugins directory for TypeScript compilation
897
+ - Updated dependencies [5073d4c]
898
+ - zhin.js@1.0.60
899
+ - @zhin.js/host-router@1.0.55
900
+
901
+ ## 0.1.29
902
+
903
+ ### Patch Changes
904
+
905
+ - c212bf7: fix: 适配器优化
906
+ - Updated dependencies [c212bf7]
907
+ - zhin.js@1.0.59
908
+ - @zhin.js/host-router@1.0.54
909
+
910
+ ## 0.1.28
911
+
912
+ ### Patch Changes
913
+
914
+ - zhin.js@1.0.58
915
+ - @zhin.js/host-router@1.0.53
916
+
917
+ ## 0.1.27
918
+
919
+ ### Patch Changes
920
+
921
+ - zhin.js@1.0.57
922
+ - @zhin.js/host-router@1.0.52
923
+
924
+ ## 0.1.26
925
+
926
+ ### Patch Changes
927
+
928
+ - zhin.js@1.0.56
929
+ - @zhin.js/host-router@1.0.51
930
+
931
+ ## 0.1.25
932
+
933
+ ### Patch Changes
934
+
935
+ - zhin.js@1.0.55
936
+ - @zhin.js/host-router@1.0.50
937
+
938
+ ## 0.1.24
939
+
940
+ ### Patch Changes
941
+
942
+ - 16c8f92: fix: 统一发一次版
943
+ - Updated dependencies [16c8f92]
944
+ - zhin.js@1.0.54
945
+ - @zhin.js/host-router@1.0.49
946
+
947
+ ## 0.1.23
948
+
949
+ ### Patch Changes
950
+
951
+ - zhin.js@1.0.53
952
+ - @zhin.js/host-router@1.0.48
953
+
954
+ ## 0.1.22
955
+
956
+ ### Patch Changes
957
+
958
+ - a3511a0: 各包内 Agent 技能说明已固定为随包发布的 `skills/*/SKILL.md`(替代已移除的运行时 `declareSkill`)。本批为 registry / 分发侧对齐的 **patch** 版本递增。
959
+ - Updated dependencies [a3511a0]
960
+ - @zhin.js/host-router@1.0.47
961
+
962
+ ## 0.1.21
963
+
964
+ ### Patch Changes
965
+
966
+ - Updated dependencies [bb6bfa8]
967
+ - Updated dependencies [bb6bfa8]
968
+ - zhin.js@1.0.52
969
+ - @zhin.js/host-router@1.0.46
970
+
971
+ ## 0.1.20
972
+
973
+ ### Patch Changes
974
+
975
+ - zhin.js@1.0.51
976
+ - @zhin.js/host-router@1.0.45
977
+
978
+ ## 0.1.19
979
+
980
+ ### Patch Changes
981
+
982
+ - zhin.js@1.0.50
983
+ - @zhin.js/host-router@1.0.44
984
+
985
+ ## 0.1.18
986
+
987
+ ### Patch Changes
988
+
989
+ - zhin.js@1.0.49
990
+ - @zhin.js/host-router@1.0.43
991
+
992
+ ## 0.1.17
993
+
994
+ ### Patch Changes
995
+
996
+ - zhin.js@1.0.48
997
+ - @zhin.js/host-router@1.0.42
998
+
999
+ ## 0.1.16
1000
+
1001
+ ### Patch Changes
1002
+
1003
+ - Updated dependencies [de3e352]
1004
+ - zhin.js@1.0.47
1005
+ - @zhin.js/host-router@1.0.41
1006
+
1007
+ ## 0.1.15
1008
+
1009
+ ### Patch Changes
1010
+
1011
+ - Updated dependencies [7394603]
1012
+ - zhin.js@1.0.46
1013
+ - @zhin.js/host-router@1.0.40
1014
+
1015
+ ## 0.1.14
1016
+
1017
+ ### Patch Changes
1018
+
1019
+ - zhin.js@1.0.45
1020
+ - @zhin.js/host-router@1.0.39
1021
+
1022
+ ## 0.1.13
1023
+
1024
+ ### Patch Changes
1025
+
1026
+ - zhin.js@1.0.44
1027
+ - @zhin.js/host-router@1.0.38
1028
+
1029
+ ## 0.1.12
1030
+
1031
+ ### Patch Changes
1032
+
1033
+ - Updated dependencies [72ec4ba]
1034
+ - @zhin.js/host-router@1.0.37
1035
+ - zhin.js@1.0.43
1036
+
1037
+ ## 0.1.11
1038
+
1039
+ ### Patch Changes
1040
+
1041
+ - zhin.js@1.0.42
1042
+ - @zhin.js/host-router@1.0.36
1043
+
1044
+ ## 0.1.10
1045
+
1046
+ ### Patch Changes
1047
+
1048
+ - zhin.js@1.0.41
1049
+ - @zhin.js/host-router@1.0.35
1050
+
1051
+ ## 0.1.9
1052
+
1053
+ ### Patch Changes
1054
+
1055
+ - 7ef9057: fix: 架构调整优化
1056
+ - Updated dependencies [7ef9057]
1057
+ - zhin.js@1.0.40
1058
+ - @zhin.js/host-router@1.0.34
1059
+
1060
+ ## 0.1.8
1061
+
1062
+ ### Patch Changes
1063
+
1064
+ - 04f76ac: fix: 工具命名格式优化
1065
+ - zhin.js@1.0.39
1066
+ - @zhin.js/host-router@1.0.33
1067
+
1068
+ ## 0.1.7
1069
+
1070
+ ### Patch Changes
1071
+
1072
+ - Updated dependencies [ab5c54a]
1073
+ - zhin.js@1.0.38
1074
+ - @zhin.js/host-router@1.0.32
1075
+
1076
+ ## 0.1.6
1077
+
1078
+ ### Patch Changes
1079
+
1080
+ - 631da6e: fix: 约定公开路由前缀/pub
1081
+ - Updated dependencies [631da6e]
1082
+ - @zhin.js/host-router@1.0.31
1083
+
1084
+ ## 0.1.5
1085
+
1086
+ ### Patch Changes
1087
+
1088
+ - d7bdca3: fix: add public url
1089
+
1090
+ ## 0.1.4
1091
+
1092
+ ### Patch Changes
1093
+
1094
+ - e23e732: fix: 增强平台 AI 能力
1095
+ - bb0be4c: fix: 平台能力增强
1096
+
1097
+ ## 0.1.3
1098
+
1099
+ ### Patch Changes
1100
+
1101
+ - a8ce720: fix: ai 优化,github 优化
1102
+ - zhin.js@1.0.37
1103
+ - @zhin.js/host-router@1.0.30
1104
+
1105
+ ## 0.1.2
1106
+
1107
+ ### Patch Changes
1108
+
1109
+ - d4a7daa: fix: github 优化
1110
+
1111
+ ## 0.1.1
1112
+
1113
+ ### Patch Changes
1114
+
1115
+ - Updated dependencies [432d0a5]
1116
+ - Updated dependencies [6d94111]
1117
+ - @zhin.js/host-router@1.0.29
1118
+ - zhin.js@1.0.36