fix: reset paired task after all session commands to prevent reviewer auto-trigger
This commit is contained in:
@@ -241,6 +241,7 @@ export async function handleSessionCommand(opts: {
|
|||||||
|
|
||||||
// Advance cursor to the command — messages AFTER it remain pending for next poll.
|
// Advance cursor to the command — messages AFTER it remain pending for next poll.
|
||||||
deps.advanceCursor(cmdMsg.timestamp);
|
deps.advanceCursor(cmdMsg.timestamp);
|
||||||
|
deps.resetPairedTask?.();
|
||||||
await deps.setTyping(false);
|
await deps.setTyping(false);
|
||||||
|
|
||||||
if (cmdOutput === 'error' || hadCmdError) {
|
if (cmdOutput === 'error' || hadCmdError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user