Skip to content

fix: prevent false PowerShell timeout during active tool execution#489

Merged
idofrizler merged 1 commit intostagingfrom
fix/powershell-timeout-heartbeat
Feb 28, 2026
Merged

fix: prevent false PowerShell timeout during active tool execution#489
idofrizler merged 1 commit intostagingfrom
fix/powershell-timeout-heartbeat

Conversation

@idofrizler
Copy link
Collaborator

Summary

  • refresh tool stall timer when SDK emits tool execution heartbeat events
  • track active tool name per session so stall timeout can be safely extended
  • add focused unit tests for heartbeat event detection

Validation

  • npm run test -- --run src/main/utils/toolStallHeartbeat.test.ts src/main/utils/permissionRequest.test.ts

Treat SDK progress/partial-result events as activity so long-running tool calls are not falsely aborted as stalled.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@idofrizler idofrizler merged commit 01c3af0 into staging Feb 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant