fix: include current task user scope in paired prompts

This commit is contained in:
ejclaw
2026-05-26 03:25:52 +09:00
parent e20cd2f1b0
commit c8f99d8349
3 changed files with 167 additions and 15 deletions

View File

@@ -137,6 +137,7 @@ export function buildPendingPairedTurn(args: {
turnOutputs,
recentHumanMessages,
lastHumanMessage,
taskCreatedAt: task.created_at,
}),
channel: resolveChannel(taskStatus),
cursor,
@@ -188,6 +189,7 @@ export function buildPendingPairedTurn(args: {
turnOutputs,
recentHumanMessages,
lastHumanMessage,
taskCreatedAt: task.created_at,
}),
channel: resolveChannel(taskStatus),
cursor,