@yeaft/webchat-agent 0.1.367 → 0.1.368

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.
@@ -149,8 +149,8 @@ async function _createRoleQueryInner(session, roleName) {
149
149
 
150
150
  // 继承全局 MCP disallowedTools,避免不必要的 tool schema token 消耗
151
151
  const globalDisallowed = ctx.CONFIG?.disallowedTools || [];
152
- // Crew 角色禁用 Agent 工具,强制通过 ROUTE 块协作
153
- const crewDisallowed = ['Agent'];
152
+ // Crew 角色禁用 Agent 和 Skill 工具,强制通过 ROUTE 块协作(Skill 会注入 yeaft-skills 干扰角色行为)
153
+ const crewDisallowed = ['Agent', 'Skill'];
154
154
  const effectiveDisallowed = [...globalDisallowed, ...crewDisallowed];
155
155
 
156
156
  const queryOptions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "0.1.367",
3
+ "version": "0.1.368",
4
4
  "description": "Remote agent for Yeaft WebChat — connects worker machines to the central server",
5
5
  "main": "index.js",
6
6
  "type": "module",