fix(extension): human-loop fixed

This commit is contained in:
Ljy-0827
2026-07-24 14:07:33 +08:00
parent c095128218
commit 959bfac1ae
+6 -10
View File
@@ -501,16 +501,12 @@ async function finishHelpFromContent(
const match = await findHelpForTab(tabId, deps); const match = await findHelpForTab(tabId, deps);
if (match !== help) return; if (match !== help) return;
} }
finishHelp( finishHelp(help, {
help, outcome: message.outcome,
{ ...(message.note ? { note: message.note } : {}),
outcome: message.outcome, tab_id: help.primaryTabId,
...(message.note ? { note: message.note } : {}), resolved_targets: help.resolvedTargets,
tab_id: help.primaryTabId, });
resolved_targets: help.resolvedTargets,
},
false,
);
} }
function attachHelpTabListener(deps: RequestHelpDeps): () => void { function attachHelpTabListener(deps: RequestHelpDeps): () => void {