@yeaft/webchat-agent 0.0.84 → 0.0.86

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 +0 -15
  2. package/package.json +1 -1
package/crew.js CHANGED
@@ -931,21 +931,6 @@ async function executeRoute(session, fromRole, route) {
931
931
  // 增加轮次计数
932
932
  session.round++;
933
933
 
934
- // 检查最大轮次
935
- if (session.round >= session.maxRounds) {
936
- console.log(`[Crew] Max rounds (${session.maxRounds}) reached`);
937
- session.status = 'completed';
938
- sendCrewMessage({
939
- type: 'crew_status',
940
- sessionId: session.id,
941
- status: 'max_rounds_reached',
942
- round: session.round,
943
- maxRounds: session.maxRounds
944
- });
945
- sendStatusUpdate(session);
946
- return;
947
- }
948
-
949
934
  // 如果 session 已暂停或停止,保存 pendingRoute 等恢复时重放
950
935
  if (session.status === 'paused' || session.status === 'stopped') {
951
936
  session.pendingRoute = { fromRole, route };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "0.0.84",
3
+ "version": "0.0.86",
4
4
  "description": "Remote agent for Yeaft WebChat — connects worker machines to the central server",
5
5
  "main": "index.js",
6
6
  "type": "module",