@yeaft/webchat-agent 0.0.121 → 0.0.123

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 (2) hide show
  1. package/crew.js +2 -3
  2. package/package.json +1 -1
package/crew.js CHANGED
@@ -1501,9 +1501,8 @@ export async function handleCrewHumanInput(msg) {
1501
1501
  }
1502
1502
  }
1503
1503
 
1504
- // 没有 @ 指定目标,发给决策者或当前活跃角色
1505
- const activeRole = findActiveRole(session);
1506
- const target = targetRole || activeRole || session.decisionMaker;
1504
+ // 没有 @ 指定目标,默认发给决策者(PM)
1505
+ const target = targetRole || session.decisionMaker;
1507
1506
 
1508
1507
  // 检查目标是否忙
1509
1508
  const targetState = session.roleStates.get(target);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "0.0.121",
3
+ "version": "0.0.123",
4
4
  "description": "Remote agent for Yeaft WebChat — connects worker machines to the central server",
5
5
  "main": "index.js",
6
6
  "type": "module",