orchestrix-yuri 4.7.10 → 4.7.11
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/lib/gateway/router.js +7 -12
- package/package.json +1 -1
package/lib/gateway/router.js
CHANGED
|
@@ -33,10 +33,11 @@ const META_COMMANDS = {
|
|
|
33
33
|
switch: /^\*switch\s+(.+)/i,
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
+
// Only explicit *status command bypasses dispatcher.
|
|
37
|
+
// All natural language ("怎么样了", "进度如何") goes through dispatcher
|
|
38
|
+
// so Claude's understanding ability decides the routing.
|
|
36
39
|
const STATUS_PATTERNS = [
|
|
37
40
|
/^\*status\b/i,
|
|
38
|
-
/进度|状态|怎么样了|到哪了/,
|
|
39
|
-
/\bstatus\b|\bprogress\b/i,
|
|
40
41
|
];
|
|
41
42
|
|
|
42
43
|
/**
|
|
@@ -361,16 +362,10 @@ class Router {
|
|
|
361
362
|
case 'iterate':
|
|
362
363
|
case 'deploy':
|
|
363
364
|
return this._handlePhaseCommand(classified.action, msg);
|
|
364
|
-
case 'status':
|
|
365
|
-
//
|
|
366
|
-
//
|
|
367
|
-
|
|
368
|
-
const decisionRe = /决策|决定|确认|需要我|应该|接着|下一步|然后呢|干啥|干什么|block|decide|should|next|what now/i;
|
|
369
|
-
if (agentRe.test(msg.text) || decisionRe.test(msg.text)) {
|
|
370
|
-
return null; // → conversation handler (Claude with tmux context)
|
|
371
|
-
}
|
|
372
|
-
return this._handleStatusQuery(msg);
|
|
373
|
-
}
|
|
365
|
+
case 'status':
|
|
366
|
+
// All dispatcher-classified status queries go through Claude conversation
|
|
367
|
+
// with tmux context. Canned status card is only for explicit *status command.
|
|
368
|
+
return null; // → conversation handler (Claude with tmux context)
|
|
374
369
|
default:
|
|
375
370
|
return null;
|
|
376
371
|
}
|