Skip to content

Comments

feat: send PTY exit notifications to the session agent#24

Merged
shekohex merged 1 commit intoshekohex:mainfrom
Llacoste2000:feat/pty-response-with-current-agent
Feb 17, 2026
Merged

feat: send PTY exit notifications to the session agent#24
shekohex merged 1 commit intoshekohex:mainfrom
Llacoste2000:feat/pty-response-with-current-agent

Conversation

@Llacoste2000
Copy link
Contributor

@Llacoste2000 Llacoste2000 commented Feb 17, 2026

Summary

  • Persist the current OpenCode agent on PTY sessions so exit notifications keep the right request context.
  • Thread the agent id through spawn/session lifecycle into the notification manager for deterministic routing.
  • Add tests that verify notifications are sent using the originating agent for each PTY session.

Closes #23

@shekohex shekohex merged commit 91a1fdf into shekohex:main Feb 17, 2026
7 checks passed
@shekohex
Copy link
Owner

thanks! will publish a new version in a moment.

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.

[Feature]: PTY exit notifications to use spawning conversation agent

2 participants