fix message loop human interjection handling

This commit is contained in:
ejclaw
2026-04-29 22:45:09 +09:00
parent 46e1d44aa4
commit c44b8c5160
4 changed files with 178 additions and 0 deletions

View File

@@ -536,6 +536,9 @@ export function createMessageRuntime(deps: MessageRuntimeDeps): {
deps.queue.closeStdin(chatJid, {
reason,
}),
isRunningMessageTurn: (chatJid) =>
deps.queue.getStatuses([chatJid])[0]?.runPhase ===
'running_messages',
labelPairedSenders: labelPairedRuntimeSenders,
});
} catch (err) {