Skip to content

fix(renderer): handle session title updates#243

Merged
sudo-tee merged 5 commits intosudo-tee:mainfrom
disrupted:update-session-title
Feb 6, 2026
Merged

fix(renderer): handle session title updates#243
sudo-tee merged 5 commits intosudo-tee:mainfrom
disrupted:update-session-title

Conversation

@disrupted
Copy link
Contributor

@disrupted disrupted commented Feb 5, 2026

fix #242

each session.updated event seems to be a patch-like delta update. now we merge fields into existing session state and update the session title if it changed.

@disrupted disrupted marked this pull request as ready for review February 5, 2026 23:31
function M.get_session_from_events(events, with_session_updates)
-- renderer needs a valid session id
-- find the last session.updated event
-- merge session.updated events and use the latest updated session
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to change the test helper to match the new runtime behavior since we now merge the session.updated events

@sudo-tee sudo-tee merged commit 399bdec into sudo-tee:main Feb 6, 2026
5 checks passed
@disrupted disrupted deleted the update-session-title branch February 6, 2026 15:20
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.

new session does not get updated with automatic title

2 participants