Repository navigation
feat(extensions): deliver event:session to trusted services - #284
Merged
Merged
Conversation
StuBehan
force-pushed
the
feat/service-extension-feed
branch
from
November 24, 2026 23:02
d532e88 to
5f04f36
Compare
StuBehan
force-pushed
the
feat/service-extension-session-events
branch
from
November 24, 2026 23:34
fe49c50 to
8a4e36e
Compare
StuBehan
force-pushed
the
feat/service-extension-session-events
branch
from
November 24, 2026 23:53
8a4e36e to
9fdf79b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Delivers
event:sessionto trusted services. Each session that starts, changes or ends is sent with its whole state, and a service that's just started gets the current list first, so it never needs to have heard an earlier event.{"type":"event","name":"session","session":"claude-4120","pid":4120,"agent":"claude","state":"waiting","repo":"api","title":"api work","claude_session":"5f0c…"}stateisbusy,idle,waiting(a permission prompt still blocking),active(the agent reports no live state) orended. No paths, tab names or prompt text.pidandclaude_sessionare there so a caller seen somewhere else, like the MCP bridge, can be matched to its session, andtitleis only ever a name someone chose.It's built on a new
SessionSnapshot, which the MCP server can read too, so the two can't disagree on what waiting means.idle,panelandnudgeare still not delivered.Stacked on #283.