Format runtime refactor modules

This commit is contained in:
ejclaw
2026-04-07 23:46:36 +09:00
parent f9d9c2af6d
commit e1837759c0
8 changed files with 48 additions and 31 deletions

View File

@@ -63,7 +63,10 @@ export async function processMessageLoopTick(args: {
intentKind: ScheduledPairedFollowUpIntentKind;
enqueue: () => void;
}) => boolean;
enqueueScopedGroupMessageCheck: (chatJid: string, groupFolder: string) => void;
enqueueScopedGroupMessageCheck: (
chatJid: string,
groupFolder: string,
) => void;
sendQueuedMessage: (chatJid: string, text: string) => boolean;
closeStdin: (chatJid: string, reason: string) => void;
labelPairedSenders: (chatJid: string, messages: NewMessage[]) => NewMessage[];
@@ -143,7 +146,10 @@ export function recoverPendingMessages(args: {
getRegisteredGroups: () => Record<string, RegisteredGroup>;
lastAgentTimestamps: Record<string, string>;
saveState: () => void;
enqueueScopedGroupMessageCheck: (chatJid: string, groupFolder: string) => void;
enqueueScopedGroupMessageCheck: (
chatJid: string,
groupFolder: string,
) => void;
}): void {
const registeredGroups = args.getRegisteredGroups();
for (const [chatJid, group] of Object.entries(registeredGroups)) {