fix claude turn teardown and start CI watchers immediately

This commit is contained in:
Eyejoker
2026-03-23 08:55:48 +09:00
parent 7100a13b39
commit 42d721a9ec
11 changed files with 232 additions and 11 deletions

View File

@@ -209,7 +209,12 @@ export class GroupQueue {
sendMessage(groupJid: string, text: string): boolean {
const state = this.getGroup(groupJid);
if (!state.active || !state.ipcDir || state.isTaskProcess) {
if (
!state.active ||
!state.ipcDir ||
state.isTaskProcess ||
state.closingStdin
) {
logger.debug(
{
groupJid,
@@ -217,6 +222,7 @@ export class GroupQueue {
active: state.active,
ipcDir: state.ipcDir,
isTaskProcess: state.isTaskProcess,
closingStdin: state.closingStdin,
},
'Cannot pipe follow-up message to active agent',
);