fix: reset paired task after all session commands to prevent reviewer auto-trigger

This commit is contained in:
Eyejoker
2026-03-29 21:09:32 +09:00
parent 9127841359
commit 83ddc4faff

View File

@@ -241,6 +241,7 @@ export async function handleSessionCommand(opts: {
// Advance cursor to the command — messages AFTER it remain pending for next poll.
deps.advanceCursor(cmdMsg.timestamp);
deps.resetPairedTask?.();
await deps.setTyping(false);
if (cmdOutput === 'error' || hadCmdError) {