fix: block stale paired IPC and duplicate finalize turns

This commit is contained in:
ejclaw
2026-04-11 04:18:43 +09:00
parent 320fc58763
commit e88073f2f8
10 changed files with 435 additions and 61 deletions

View File

@@ -3,6 +3,7 @@ export interface SendMessageIpcPayloadInput {
text: string;
sender?: string;
senderRole?: string;
runId?: string;
groupFolder: string;
timestamp?: string;
}
@@ -16,6 +17,7 @@ export function buildSendMessageIpcPayload(
text: input.text,
sender: input.sender || undefined,
senderRole: input.senderRole || undefined,
runId: input.runId || undefined,
groupFolder: input.groupFolder,
timestamp: input.timestamp || new Date().toISOString(),
};