@zhin.js/adapter-github 3.0.2 → 4.0.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 +646 -0
  2. package/README.md +55 -203
  3. package/adapters/github.ts +51 -0
  4. package/agent/skills/github.md +2 -2
  5. package/agent/tools/bind.ts +2 -2
  6. package/agent/tools/create_pr.ts +2 -2
  7. package/agent/tools/install.ts +2 -2
  8. package/agent/tools/patch_file.ts +2 -2
  9. package/agent/tools/prepare_workspace.ts +2 -2
  10. package/agent/tools/push_branch.ts +2 -2
  11. package/agent/tools/star.ts +2 -2
  12. package/agent/tools/subscribe.ts +2 -2
  13. package/agent/tools/subscriptions.ts +2 -2
  14. package/agent/tools/unbind.ts +2 -2
  15. package/agent/tools/unsubscribe.ts +2 -2
  16. package/agent/tools/whoami.ts +2 -2
  17. package/lib/agent-prompt.d.ts +2 -0
  18. package/lib/{src/agent-prompt.js → agent-prompt.js} +0 -1
  19. package/lib/endpoint.d.ts +48 -0
  20. package/lib/endpoint.js +165 -0
  21. package/lib/gh-client.d.ts +300 -0
  22. package/lib/{src/gh-client.js → gh-client.js} +1 -2
  23. package/lib/github-agent-deps.d.ts +47 -0
  24. package/lib/github-agent-deps.js +43 -0
  25. package/lib/github-bot-handlers.d.ts +26 -0
  26. package/lib/{src/github-bot-handlers.js → github-bot-handlers.js} +0 -1
  27. package/lib/github-channel-context.d.ts +16 -0
  28. package/lib/{src/github-channel-context.js → github-channel-context.js} +0 -1
  29. package/lib/github-tool-handlers.d.ts +17 -0
  30. package/lib/{src/github-tool-handlers.js → github-tool-handlers.js} +14 -8
  31. package/lib/index.d.ts +9 -0
  32. package/lib/index.js +9 -0
  33. package/lib/oauth-users.d.ts +33 -0
  34. package/lib/oauth-users.js +38 -0
  35. package/lib/protocol.d.ts +87 -0
  36. package/lib/protocol.js +241 -0
  37. package/lib/types.d.ts +149 -0
  38. package/lib/{src/types.js → types.js} +0 -1
  39. package/lib/webhook.d.ts +13 -0
  40. package/lib/webhook.js +87 -0
  41. package/lib/workspace-manager.d.ts +21 -0
  42. package/lib/{src/workspace-manager.js → workspace-manager.js} +46 -1
  43. package/package.json +53 -26
  44. package/plugin.ts +52 -0
  45. package/schema.json +94 -0
  46. package/src/endpoint.ts +166 -175
  47. package/src/gh-client.ts +1 -1
  48. package/src/github-agent-deps.ts +66 -11
  49. package/src/github-tool-handlers.ts +20 -7
  50. package/src/index.ts +55 -137
  51. package/src/oauth-users.ts +47 -0
  52. package/src/protocol.ts +367 -0
  53. package/src/webhook.ts +125 -0
  54. package/src/workspace-manager.ts +54 -0
  55. package/lib/agent/tools/bind.js +0 -12
  56. package/lib/agent/tools/bind.js.map +0 -1
  57. package/lib/agent/tools/create_pr.js +0 -19
  58. package/lib/agent/tools/create_pr.js.map +0 -1
  59. package/lib/agent/tools/install.js +0 -12
  60. package/lib/agent/tools/install.js.map +0 -1
  61. package/lib/agent/tools/patch_file.js +0 -18
  62. package/lib/agent/tools/patch_file.js.map +0 -1
  63. package/lib/agent/tools/prepare_workspace.js +0 -14
  64. package/lib/agent/tools/prepare_workspace.js.map +0 -1
  65. package/lib/agent/tools/push_branch.js +0 -17
  66. package/lib/agent/tools/push_branch.js.map +0 -1
  67. package/lib/agent/tools/star.js +0 -15
  68. package/lib/agent/tools/star.js.map +0 -1
  69. package/lib/agent/tools/subscribe.js +0 -16
  70. package/lib/agent/tools/subscribe.js.map +0 -1
  71. package/lib/agent/tools/subscriptions.js +0 -13
  72. package/lib/agent/tools/subscriptions.js.map +0 -1
  73. package/lib/agent/tools/unbind.js +0 -12
  74. package/lib/agent/tools/unbind.js.map +0 -1
  75. package/lib/agent/tools/unsubscribe.js +0 -15
  76. package/lib/agent/tools/unsubscribe.js.map +0 -1
  77. package/lib/agent/tools/whoami.js +0 -12
  78. package/lib/agent/tools/whoami.js.map +0 -1
  79. package/lib/src/adapter.js +0 -423
  80. package/lib/src/adapter.js.map +0 -1
  81. package/lib/src/agent-prompt.js.map +0 -1
  82. package/lib/src/endpoint.js +0 -189
  83. package/lib/src/endpoint.js.map +0 -1
  84. package/lib/src/gh-client.js.map +0 -1
  85. package/lib/src/github-agent-deps.js +0 -13
  86. package/lib/src/github-agent-deps.js.map +0 -1
  87. package/lib/src/github-bot-handlers.js.map +0 -1
  88. package/lib/src/github-channel-context.js.map +0 -1
  89. package/lib/src/github-tool-handlers.js.map +0 -1
  90. package/lib/src/index.js +0 -104
  91. package/lib/src/index.js.map +0 -1
  92. package/lib/src/register-github-mcp.js +0 -41
  93. package/lib/src/register-github-mcp.js.map +0 -1
  94. package/lib/src/segment-mapper.js +0 -2
  95. package/lib/src/segment-mapper.js.map +0 -1
  96. package/lib/src/types.js.map +0 -1
  97. package/lib/src/workspace-manager.js.map +0 -1
  98. package/plugin.yml +0 -3
  99. package/src/adapter.ts +0 -454
  100. package/src/register-github-mcp.ts +0 -67
  101. package/src/segment-mapper.ts +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,646 @@
1
+ # @zhin.js/adapter-github
2
+
3
+ ## 4.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 7db69c1: 命令前缀改为适配器配置项:`MessageDispatcher` 不再硬编码 `/`,默认按消息所属适配器实例 config 的 `commandPrefix` 解析(默认 `''` 无前缀,任意文本按命令匹配),`endpoints[i].commandPrefix` 逐项覆盖;`ImRuntime({ commandPrefix })` 仍可设全局静态前缀。全部 20 个平台适配器 schema 新增 `commandPrefix` 属性。
8
+
9
+ BREAKING(行为变化):未配置时命令不再需要 `/` 前缀——原 `/zt` 写法不再命中,直接发 `zt` 即可;需要斜杠风格的适配器请在配置里显式设 `commandPrefix: '/'`。
10
+
11
+ - 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 同步迁移。
12
+ - f32c424: 适配器配置统一为 endpoints 数组格式:`plugins.<adapter>` 为该 adapter 所有 endpoint 的通用配置,`plugins.<adapter>.endpoints[i]` 为单个 endpoint 的特殊配置(逐项覆盖,`name` 必填)。slack / github schema 新增 `endpoints` 属性;icqq / qq / slack 顶层必填改为 `anyOf`(单 endpoint 字段或 `endpoints` 数组二选一,兼容 Ajv strictRequired)。
13
+ - Updated dependencies [7db69c1]
14
+ - Updated dependencies [e5c84ed]
15
+ - Updated dependencies [3ea84a0]
16
+ - Updated dependencies [1ddcd70]
17
+ - Updated dependencies [ac9da66]
18
+ - @zhin.js/core@1.4.0
19
+ - @zhin.js/adapter@1.1.0
20
+ - @zhin.js/plugin-runtime@1.1.0
21
+ - @zhin.js/agent@1.0.5
22
+ - @zhin.js/host-http@1.0.2
23
+ - zhin.js@5.0.0
24
+
25
+ ## 3.0.3
26
+
27
+ ### Patch Changes
28
+
29
+ - cc5c94d: 约定式插件运行时迁移(breaking):插件与适配器由 `usePlugin()` / `extends Adapter` 迁移为 `definePlugin` / `defineAdapter` + `plugin.ts` + 约定目录(`adapters/`、`commands/`、`components/`、`tools/` 等)。
30
+
31
+ - 新增约定式运行时包:`@zhin.js/plugin-runtime`、`@zhin.js/adapter`、`@zhin.js/runtime`、`@zhin.js/host-http`(首版 1.0.0 走 init-publish,不在本 changeset 内 bump)。
32
+ - 全部 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 推迟的连接模式已补齐。
33
+ - 游戏 / 工具 / 服务插件同步迁移到约定目录结构。
34
+ - CLI 增加 plugin-runtime host installer(http/database/outbound/schedule/console 等)。
35
+
36
+ 后续加固(同批):
37
+
38
+ - CLI:`zhin runtime start --daemon`(pidfile/崩溃拉起/风暴保护),orphan watchdog 防僵尸进程;legacy `zhin dev` / `zhin start` 已移除(含 `zhin restart`),`zhin stop` 兼容新 daemon。
39
+ - 安全:builtin 工具统一走 `security/policy-facade.ts` 的 `runToolPolicies`(声明式策略表,deny 优先);审计日志 close flush + 背压队列;`splitCompoundCommand` 引号感知、`extractCommandName` 去引号堵绕过。
40
+ - 日志:Logger 双堆栈修复、本地时区、`getLogger` 挂树(`setLevel` 递归生效)、第三方库(log4js/discord)桥接、启动人读总结。
41
+ - 结构:`plugins/games/shared` 迁为 `packages/game-kit`(`@zhin.js/game-kit`);死目录 `plugins/adapters/common` 删除。
42
+ - 脚手架:`create-zhin-app` / `zhin new` / scaffold-wizard 生成物改为 Plugin Runtime 形态(minimal-bot 同构,新配置格式)。
43
+ - Console:endpoint.list 真实名称与 phase、schema:get-all 按 instanceKey 映射、db:\* 接 DatabaseHost。
44
+
45
+ 注:按仓库发布惯例(见 1bb345dd2),本次 breaking 迁移统一使用 patch,避免 zhin.js 5.0 级联。
46
+
47
+ - Updated dependencies [16ec4e8]
48
+ - Updated dependencies [cc5c94d]
49
+ - Updated dependencies [447f3e2]
50
+ - @zhin.js/core@1.3.5
51
+ - @zhin.js/agent@1.0.4
52
+ - @zhin.js/host-http@1.0.1
53
+ - zhin.js@4.1.3
54
+ - @zhin.js/logger@1.0.75
55
+ - @zhin.js/plugin-runtime@1.0.1
56
+ - @zhin.js/adapter@1.0.1
57
+
58
+ ## 3.0.2
59
+
60
+ ### Patch Changes
61
+
62
+ - 872c583: Slack 适配器 Phase 1/2:mrkdwn 出站、长消息切分、斜杠/按钮 ephemeral 反馈、入站 mrkdwn→Markdown、editMessage 对齐 core。
63
+
64
+ Logger 表格日志与 string-width 列宽;Agent AI Handler 框线表格与 introspection/MCP 导出;Core side-event 归一化;Schedule 时区规划;多适配器 side-event 与 API surface 更新。
65
+
66
+ - 872c583: fix: 代码格式优化
67
+ - Updated dependencies [872c583]
68
+ - Updated dependencies [872c583]
69
+ - @zhin.js/agent@1.0.3
70
+ - @zhin.js/host-router@2.0.3
71
+ - zhin.js@4.1.2
72
+
73
+ ## 3.0.1
74
+
75
+ ### Patch Changes
76
+
77
+ - 5cc9c03: fix: ai 优化
78
+ - b9b3881: fix: 增加游戏引擎以及部分游戏
79
+ - Updated dependencies [5cc9c03]
80
+ - Updated dependencies [7700903]
81
+ - @zhin.js/host-router@2.0.2
82
+ - zhin.js@4.1.1
83
+
84
+ ## 3.0.0
85
+
86
+ ### Patch Changes
87
+
88
+ - c4575c9: fix: 输入输出优化,文档优化
89
+ - Updated dependencies [c4575c9]
90
+ - Updated dependencies [c4575c9]
91
+ - @zhin.js/host-router@2.0.1
92
+ - zhin.js@4.1.0
93
+
94
+ ## 2.0.1
95
+
96
+ ### Patch Changes
97
+
98
+ - ae5239c: fix: 核心包瘦身
99
+ - Updated dependencies [ae5239c]
100
+ - zhin.js@4.0.1
101
+ - @zhin.js/host-router@2.0.0
102
+
103
+ ## 2.0.0
104
+
105
+ ### Patch Changes
106
+
107
+ - zhin.js@3.0.0
108
+ - @zhin.js/host-router@2.0.0
109
+
110
+ ## 1.0.1
111
+
112
+ ### Patch Changes
113
+
114
+ - d8def69: fix: 性能优化
115
+ - 2ef4896: fix: 更新概念 Bot=>Endpoint,已适配后续更多的业务场景;统一角色权限
116
+ - Updated dependencies [d8def69]
117
+ - Updated dependencies [2ef4896]
118
+ - @zhin.js/host-router@1.0.1
119
+ - zhin.js@2.0.1
120
+
121
+ ## 1.0.0
122
+
123
+ ### Patch Changes
124
+
125
+ - 65f4b0a: 架构优化、类型安全提升与构建系统清理
126
+
127
+ **kernel** (minor)
128
+
129
+ - PluginBase.start() 提取 `mountAllContexts()` / `mountContext()` 可覆盖钩子
130
+
131
+ **core** (minor)
132
+
133
+ - Plugin.start() 覆盖 `mountAllContexts()` 支持 Context 挂载失败回滚
134
+ - Plugin.stop() 委托 `super.stop()` 消除重复代码
135
+ - Lifecycle 事件类型化:message.receive → Message, request.receive → Request, notice.receive → Notice
136
+
137
+ **ai** (minor)
138
+
139
+ - BaseProvider 提取 `request()` 公共方法,消除 fetch/fetchText/fetchStream 80% 重复代码
140
+ - 修复 fetch/fetchText 的 AbortController 泄漏
141
+
142
+ **agent** (minor)
143
+
144
+ - 为 7 个模块级单例添加 reset() 函数支持测试隔离
145
+ - 修复 8 处 `catch (e: any)` → `catch (e: unknown)`
146
+
147
+ **host-api / plugins** (patch)
148
+
149
+ - handlers-db.ts 移除 11 处 `as never` cast,修复 11 处 catch 类型标注
150
+ - adapter-github / plugin-group-suite / plugin-rss 移除 inject() 的 `as any` cast
151
+ - zhin.js@2.0.0
152
+ - @zhin.js/host-router@1.0.0
153
+
154
+ ## 0.1.63
155
+
156
+ ### Patch Changes
157
+
158
+ - Updated dependencies [d8547d2]
159
+ - zhin.js@1.0.92
160
+ - @zhin.js/host-router@0.0.3
161
+
162
+ ## 0.1.62
163
+
164
+ ### Patch Changes
165
+
166
+ - 3735e96: fix: 智能家居控制
167
+ - Updated dependencies [3735e96]
168
+ - zhin.js@1.0.91
169
+ - @zhin.js/host-router@0.0.3
170
+
171
+ ## 0.1.61
172
+
173
+ ### Patch Changes
174
+
175
+ - c8f8207: fix: 修复内存泄露问题
176
+ - Updated dependencies [c8f8207]
177
+ - @zhin.js/host-router@0.0.3
178
+ - zhin.js@1.0.90
179
+
180
+ ## 0.1.60
181
+
182
+ ### Patch Changes
183
+
184
+ - c78d2cd: fix: cli 更新,文档更新
185
+ - Updated dependencies [c78d2cd]
186
+ - @zhin.js/host-router@0.0.2
187
+ - zhin.js@1.0.89
188
+
189
+ ## 0.1.59
190
+
191
+ ### Patch Changes
192
+
193
+ - Updated dependencies [ccb6e24]
194
+ - zhin.js@1.0.88
195
+
196
+ ## 0.1.58
197
+
198
+ ### Patch Changes
199
+
200
+ - 90d9efd: fix: 处理包名
201
+ - zhin.js@1.0.87
202
+ - @zhin.js/host-router@0.0.1
203
+
204
+ ## 0.1.57
205
+
206
+ ### Patch Changes
207
+
208
+ - 7e14f8d: fix: 统一发个版,优化一些列安全问题
209
+ - Updated dependencies [7e14f8d]
210
+ - zhin.js@1.0.86
211
+ - @zhin.js/host-router@1.0.79
212
+
213
+ ## 0.1.56
214
+
215
+ ### Patch Changes
216
+
217
+ - zhin.js@1.0.85
218
+ - @zhin.js/host-router@1.0.78
219
+
220
+ ## 0.1.55
221
+
222
+ ### Patch Changes
223
+
224
+ - f19d2e0: fix: remove multiple runtime support
225
+ - 2d24338: fix: ai 优化
226
+ - Updated dependencies [0db9fed]
227
+ - Updated dependencies [f19d2e0]
228
+ - zhin.js@1.0.84
229
+ - @zhin.js/host-router@1.0.77
230
+
231
+ ## 0.1.54
232
+
233
+ ### Patch Changes
234
+
235
+ - 775427e: fix: edge 支持
236
+ - Updated dependencies [775427e]
237
+ - @zhin.js/host-router@1.0.76
238
+ - zhin.js@1.0.83
239
+
240
+ ## 0.1.53
241
+
242
+ ### Patch Changes
243
+
244
+ - 32049f5: fix: init publish
245
+ - Updated dependencies [32049f5]
246
+ - @zhin.js/host-router@1.0.75
247
+ - zhin.js@1.0.82
248
+
249
+ ## 0.1.52
250
+
251
+ ### Patch Changes
252
+
253
+ - 8086ccb: fix: ai 增强/优化
254
+ - Updated dependencies [8086ccb]
255
+ - zhin.js@1.0.81
256
+ - @zhin.js/host-router@1.0.74
257
+
258
+ ## 0.1.51
259
+
260
+ ### Patch Changes
261
+
262
+ - zhin.js@1.0.80
263
+ - @zhin.js/host-router@1.0.73
264
+
265
+ ## 0.1.50
266
+
267
+ ### Patch Changes
268
+
269
+ - zhin.js@1.0.79
270
+ - @zhin.js/host-router@1.0.72
271
+
272
+ ## 0.1.49
273
+
274
+ ### Patch Changes
275
+
276
+ - zhin.js@1.0.78
277
+ - @zhin.js/host-router@1.0.71
278
+
279
+ ## 0.1.48
280
+
281
+ ### Patch Changes
282
+
283
+ - zhin.js@1.0.77
284
+ - @zhin.js/host-router@1.0.70
285
+
286
+ ## 0.1.47
287
+
288
+ ### Patch Changes
289
+
290
+ - Updated dependencies [cb9fbf1]
291
+ - zhin.js@1.0.76
292
+ - @zhin.js/host-router@1.0.69
293
+
294
+ ## 0.1.46
295
+
296
+ ### Patch Changes
297
+
298
+ - zhin.js@1.0.75
299
+ - @zhin.js/host-router@1.0.68
300
+
301
+ ## 0.1.45
302
+
303
+ ### Patch Changes
304
+
305
+ - Updated dependencies [c9dec38]
306
+ - zhin.js@1.0.74
307
+ - @zhin.js/host-router@1.0.67
308
+
309
+ ## 0.1.44
310
+
311
+ ### Patch Changes
312
+
313
+ - zhin.js@1.0.73
314
+ - @zhin.js/host-router@1.0.66
315
+
316
+ ## 0.1.43
317
+
318
+ ### Patch Changes
319
+
320
+ - 57bdf7a: fix: github adapter error
321
+
322
+ ## 0.1.42
323
+
324
+ ### Patch Changes
325
+
326
+ - e28fd7c: fix: 重新发版
327
+ - Updated dependencies [e28fd7c]
328
+ - zhin.js@1.0.72
329
+ - @zhin.js/host-router@1.0.65
330
+
331
+ ## 0.1.41
332
+
333
+ ### Patch Changes
334
+
335
+ - 4304825: fix: 重新发版
336
+ - ed66fb1: fix: 适配器优化
337
+ - Updated dependencies [4304825]
338
+ - zhin.js@1.0.71
339
+ - @zhin.js/host-router@1.0.64
340
+
341
+ ## 0.1.40
342
+
343
+ ### Patch Changes
344
+
345
+ - zhin.js@1.0.68
346
+ - @zhin.js/host-router@1.0.63
347
+
348
+ ## 0.1.39
349
+
350
+ ### Patch Changes
351
+
352
+ - Updated dependencies [0eba6d6]
353
+ - @zhin.js/host-router@1.0.62
354
+ - zhin.js@1.0.67
355
+
356
+ ## 0.1.38
357
+
358
+ ### Patch Changes
359
+
360
+ - zhin.js@1.0.66
361
+ - @zhin.js/host-router@1.0.61
362
+
363
+ ## 0.1.37
364
+
365
+ ### Patch Changes
366
+
367
+ - d73a3b7: fix: ai error
368
+ - zhin.js@1.0.65
369
+ - @zhin.js/host-router@1.0.60
370
+
371
+ ## 0.1.36
372
+
373
+ ### Patch Changes
374
+
375
+ - 36c1b8f: fix: 重构 icqq\github 适配器
376
+
377
+ ## 0.1.35
378
+
379
+ ### Patch Changes
380
+
381
+ - 9577eba: fix: tool 收集 bug,升级 ts 到 6.0.2
382
+ - Updated dependencies [9577eba]
383
+ - zhin.js@1.0.64
384
+ - @zhin.js/host-router@1.0.59
385
+
386
+ ## 0.1.34
387
+
388
+ ### Patch Changes
389
+
390
+ - Updated dependencies [ba30934]
391
+ - @zhin.js/host-router@1.0.58
392
+ - zhin.js@1.0.63
393
+
394
+ ## 0.1.33
395
+
396
+ ### Patch Changes
397
+
398
+ - 6b146fd: fix: 补齐工具
399
+
400
+ ## 0.1.32
401
+
402
+ ### Patch Changes
403
+
404
+ - zhin.js@1.0.62
405
+ - @zhin.js/host-router@1.0.57
406
+
407
+ ## 0.1.31
408
+
409
+ ### Patch Changes
410
+
411
+ - zhin.js@1.0.61
412
+ - @zhin.js/host-router@1.0.56
413
+
414
+ ## 0.1.30
415
+
416
+ ### Patch Changes
417
+
418
+ - 5073d4c: chore: chore: update TypeScript version to ^5.9.3 across all plugins and packages
419
+ feat: enhance ai-text-as-image output registration with off handler for cleanup
420
+ fix: remove unnecessary logging in ensureBuiltinFontsCached function
421
+ refactor: simplify action handlers in html-renderer tools
422
+ chore: add README files for queue-sandbox-poc and event-delivery packages
423
+ chore: adjust pnpm workspace configuration to exclude games directory
424
+ chore: update tsconfig to include plugins directory for TypeScript compilation
425
+ - Updated dependencies [5073d4c]
426
+ - zhin.js@1.0.60
427
+ - @zhin.js/host-router@1.0.55
428
+
429
+ ## 0.1.29
430
+
431
+ ### Patch Changes
432
+
433
+ - c212bf7: fix: 适配器优化
434
+ - Updated dependencies [c212bf7]
435
+ - zhin.js@1.0.59
436
+ - @zhin.js/host-router@1.0.54
437
+
438
+ ## 0.1.28
439
+
440
+ ### Patch Changes
441
+
442
+ - zhin.js@1.0.58
443
+ - @zhin.js/host-router@1.0.53
444
+
445
+ ## 0.1.27
446
+
447
+ ### Patch Changes
448
+
449
+ - zhin.js@1.0.57
450
+ - @zhin.js/host-router@1.0.52
451
+
452
+ ## 0.1.26
453
+
454
+ ### Patch Changes
455
+
456
+ - zhin.js@1.0.56
457
+ - @zhin.js/host-router@1.0.51
458
+
459
+ ## 0.1.25
460
+
461
+ ### Patch Changes
462
+
463
+ - zhin.js@1.0.55
464
+ - @zhin.js/host-router@1.0.50
465
+
466
+ ## 0.1.24
467
+
468
+ ### Patch Changes
469
+
470
+ - 16c8f92: fix: 统一发一次版
471
+ - Updated dependencies [16c8f92]
472
+ - zhin.js@1.0.54
473
+ - @zhin.js/host-router@1.0.49
474
+
475
+ ## 0.1.23
476
+
477
+ ### Patch Changes
478
+
479
+ - zhin.js@1.0.53
480
+ - @zhin.js/host-router@1.0.48
481
+
482
+ ## 0.1.22
483
+
484
+ ### Patch Changes
485
+
486
+ - a3511a0: 各包内 Agent 技能说明已固定为随包发布的 `skills/*/SKILL.md`(替代已移除的运行时 `declareSkill`)。本批为 registry / 分发侧对齐的 **patch** 版本递增。
487
+ - Updated dependencies [a3511a0]
488
+ - @zhin.js/host-router@1.0.47
489
+
490
+ ## 0.1.21
491
+
492
+ ### Patch Changes
493
+
494
+ - Updated dependencies [bb6bfa8]
495
+ - Updated dependencies [bb6bfa8]
496
+ - zhin.js@1.0.52
497
+ - @zhin.js/host-router@1.0.46
498
+
499
+ ## 0.1.20
500
+
501
+ ### Patch Changes
502
+
503
+ - zhin.js@1.0.51
504
+ - @zhin.js/host-router@1.0.45
505
+
506
+ ## 0.1.19
507
+
508
+ ### Patch Changes
509
+
510
+ - zhin.js@1.0.50
511
+ - @zhin.js/host-router@1.0.44
512
+
513
+ ## 0.1.18
514
+
515
+ ### Patch Changes
516
+
517
+ - zhin.js@1.0.49
518
+ - @zhin.js/host-router@1.0.43
519
+
520
+ ## 0.1.17
521
+
522
+ ### Patch Changes
523
+
524
+ - zhin.js@1.0.48
525
+ - @zhin.js/host-router@1.0.42
526
+
527
+ ## 0.1.16
528
+
529
+ ### Patch Changes
530
+
531
+ - Updated dependencies [de3e352]
532
+ - zhin.js@1.0.47
533
+ - @zhin.js/host-router@1.0.41
534
+
535
+ ## 0.1.15
536
+
537
+ ### Patch Changes
538
+
539
+ - Updated dependencies [7394603]
540
+ - zhin.js@1.0.46
541
+ - @zhin.js/host-router@1.0.40
542
+
543
+ ## 0.1.14
544
+
545
+ ### Patch Changes
546
+
547
+ - zhin.js@1.0.45
548
+ - @zhin.js/host-router@1.0.39
549
+
550
+ ## 0.1.13
551
+
552
+ ### Patch Changes
553
+
554
+ - zhin.js@1.0.44
555
+ - @zhin.js/host-router@1.0.38
556
+
557
+ ## 0.1.12
558
+
559
+ ### Patch Changes
560
+
561
+ - Updated dependencies [72ec4ba]
562
+ - @zhin.js/host-router@1.0.37
563
+ - zhin.js@1.0.43
564
+
565
+ ## 0.1.11
566
+
567
+ ### Patch Changes
568
+
569
+ - zhin.js@1.0.42
570
+ - @zhin.js/host-router@1.0.36
571
+
572
+ ## 0.1.10
573
+
574
+ ### Patch Changes
575
+
576
+ - zhin.js@1.0.41
577
+ - @zhin.js/host-router@1.0.35
578
+
579
+ ## 0.1.9
580
+
581
+ ### Patch Changes
582
+
583
+ - 7ef9057: fix: 架构调整优化
584
+ - Updated dependencies [7ef9057]
585
+ - zhin.js@1.0.40
586
+ - @zhin.js/host-router@1.0.34
587
+
588
+ ## 0.1.8
589
+
590
+ ### Patch Changes
591
+
592
+ - 04f76ac: fix: 工具命名格式优化
593
+ - zhin.js@1.0.39
594
+ - @zhin.js/host-router@1.0.33
595
+
596
+ ## 0.1.7
597
+
598
+ ### Patch Changes
599
+
600
+ - Updated dependencies [ab5c54a]
601
+ - zhin.js@1.0.38
602
+ - @zhin.js/host-router@1.0.32
603
+
604
+ ## 0.1.6
605
+
606
+ ### Patch Changes
607
+
608
+ - 631da6e: fix: 约定公开路由前缀/pub
609
+ - Updated dependencies [631da6e]
610
+ - @zhin.js/host-router@1.0.31
611
+
612
+ ## 0.1.5
613
+
614
+ ### Patch Changes
615
+
616
+ - d7bdca3: fix: add public url
617
+
618
+ ## 0.1.4
619
+
620
+ ### Patch Changes
621
+
622
+ - e23e732: fix: 增强平台 AI 能力
623
+ - bb0be4c: fix: 平台能力增强
624
+
625
+ ## 0.1.3
626
+
627
+ ### Patch Changes
628
+
629
+ - a8ce720: fix: ai 优化,github 优化
630
+ - zhin.js@1.0.37
631
+ - @zhin.js/host-router@1.0.30
632
+
633
+ ## 0.1.2
634
+
635
+ ### Patch Changes
636
+
637
+ - d4a7daa: fix: github 优化
638
+
639
+ ## 0.1.1
640
+
641
+ ### Patch Changes
642
+
643
+ - Updated dependencies [432d0a5]
644
+ - Updated dependencies [6d94111]
645
+ - @zhin.js/host-router@1.0.29
646
+ - zhin.js@1.0.36