runtime: replace owner progress with final delivery

This commit is contained in:
ejclaw
2026-04-11 12:45:41 +09:00
parent 29e39f25c9
commit dcf18b8797
5 changed files with 202 additions and 51 deletions

View File

@@ -167,6 +167,7 @@ export function createMessageRuntime(deps: MessageRuntimeDeps): {
forcedAgentType,
deliveryRole,
deliveryServiceId,
replaceMessageId,
}) => {
if (
(deliveryRole === 'reviewer' || deliveryRole === 'arbiter') &&
@@ -200,6 +201,7 @@ export function createMessageRuntime(deps: MessageRuntimeDeps): {
channel,
item: workItem,
log: logger,
replaceMessageId,
isDuplicateOfLastBotFinal: checkDuplicateOfLastBotFinal,
openContinuation: (targetChatJid) =>
continuationTracker.open(targetChatJid),