fix: use work items as dashboard outbound SSOT

This commit is contained in:
ejclaw
2026-04-29 01:23:29 +09:00
parent 9655501bdf
commit 6b2ef42374
14 changed files with 523 additions and 81 deletions

View File

@@ -313,13 +313,13 @@ describe('web dashboard server handler', () => {
getPairedTurnAttempts: () => [],
getPairedTurnOutputs: () => [],
getRecentPairedTurnOutputsForChat: () => [],
getRecentDeliveredWorkItemsForChat: () => [],
getRecentChatMessages: (_jid, limit) => {
requestedMessageLimits.push(limit ?? 20);
return messages;
},
startBackgroundCacheRefresh: false,
});
const response = await handler(
new Request(
`http://localhost/api/rooms/${encodeURIComponent('dc:ops')}/timeline`,