orchestrix-yuri 4.7.10 → 4.7.12
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.
|
@@ -309,7 +309,7 @@ function runClaude(args, cwd, timeout) {
|
|
|
309
309
|
}, (err, stdout, stderr) => {
|
|
310
310
|
if (err && err.killed) {
|
|
311
311
|
log.warn('Claude CLI timed out');
|
|
312
|
-
return resolve({ reply: '⏱
|
|
312
|
+
return resolve({ reply: '⏱ Claude is still thinking — your request is being processed. I\'ll follow up when ready. You can also check `*status` for current state.', raw: '' });
|
|
313
313
|
}
|
|
314
314
|
// Claude CLI may return non-zero exit code even with valid JSON output
|
|
315
315
|
// (e.g., stderr "Warning: no stdin data received" causes exit code 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
|
}
|