cortico-world-astrbot 1.1.0 → 1.1.2

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## 1.1.0
3
+ ## 1.1.2
4
+
5
+ - 工具清单为空时明确提示「如果主人刚开过,调 astrbot_status 看最新清单」——避免开完工具还要重启。
6
+
7
+ ## 1.1.1
4
8
 
5
9
  - 新增 `astrbot_call_tool`:按名字调用 AstrBot 上启用的工具,用**触发这一轮的那条消息**的身份执行(群友就是群友,管理员工具会被 AstrBot 自己的权限层拦下)。
6
10
  - 握手后接收桥下发的 `tools` 清单,列进环境提示词;`astrbot_status` 也会报当前可用的工具。
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  让 Cortico 的人格 Bot 进 QQ 群说话,同时把 QQ 账号与插件能力留在 AstrBot 手里。
6
6
 
7
- **当前版本:1.1.0**(更新内容见 [CHANGELOG.md](CHANGELOG.md))
7
+ **当前版本:1.1.2**(更新内容见 [CHANGELOG.md](CHANGELOG.md))
8
8
 
9
9
  项目地址:[as124da1231/cortico-world-astrbot](https://github.com/as124da1231/cortico-world-astrbot)。
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortico-world-astrbot",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "description": "Cortico World: join QQ conversations through an AstrBot bridge, so the bot keeps AstrBot's plugins while a Cortico persona drives the talking",
6
6
  "license": "MIT",
package/src/world.ts CHANGED
@@ -226,7 +226,7 @@ export class AstrbotWorld implements World { readonly id = 'astrbot';
226
226
  ? this.toolList
227
227
  .map((t) => `- ${t.name}${t.risk === 'write' ? '(会改变状态)' : ''}:${t.desc ?? ''}`)
228
228
  .join('\n')
229
- : '(桥那边没有启用任何工具。)';
229
+ : '(连接时桥那边还没有启用任何工具。如果主人刚在 AstrBot 里开过,调 astrbot_status 看最新清单。)';
230
230
 
231
231
  return {
232
232
  'astrbot.connection': connection,