Skip to content

fix(session): emit completion-only idle events (PoC)#16945

Closed
kitlangton wants to merge 1 commit intodevfrom
fix/interrupt-idle-reason-poc
Closed

fix(session): emit completion-only idle events (PoC)#16945
kitlangton wants to merge 1 commit intodevfrom
fix/interrupt-idle-reason-poc

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • add reason to idle session status (completed | aborted | error)
  • emit deprecated session.idle only for completed turns so interrupt/error flows no longer trigger completion listeners
  • update cancellation and processor paths to set explicit idle reasons

Why this PoC

  • this shows a backend-semantic fix to the double-sound issue without app-side timing suppression
  • existing clients listening to session.idle now only hear true completion events

Testing

  • not run in this environment (tsgo unavailable)
  • sdk regeneration script also failed locally due missing typescript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant