Skip to content

Move session-start metadata and idle recovery into platform#13

Merged
NTCoding merged 1 commit into
mainfrom
fix/session-started-state-metadata
Apr 12, 2026
Merged

Move session-start metadata and idle recovery into platform#13
NTCoding merged 1 commit into
mainfrom
fix/session-started-state-metadata

Conversation

@NTCoding
Copy link
Copy Markdown
Owner

Summary

  • make the platform require and emit repository, currentState, and states on every session-started event so all consumers inherit the metadata automatically
  • resolve repository names in the shared CLI/OpenCode session-start path instead of leaving that responsibility to individual workflows
  • add an OpenCode session.idle recovery hook that nudges started sessions to continue when they stop unexpectedly

This makes repository, currentState, and states mandatory on session-started events for all consumers. It also nudges started OpenCode sessions to continue when they go idle unexpectedly.
@NTCoding NTCoding merged commit 24ab0ce into main Apr 12, 2026
3 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