Skip to content

effectify SessionStatus service#18313

Draft
kitlangton wants to merge 2 commits intodevfrom
kit/effectify-session-status
Draft

effectify SessionStatus service#18313
kitlangton wants to merge 2 commits intodevfrom
kit/effectify-session-status

Conversation

@kitlangton
Copy link
Contributor

Summary

  • Migrate SessionStatus from Instance.state() to Effect service pattern
  • State uses Map<SessionID, Info> instead of plain record
  • Add runSyncInstance helper to src/effect/runtime.ts for sync Effect facades
  • Sync facades go through the Effect service via runSyncInstance (callers don't need changes)

Test plan

  • bun run typecheck passes
  • bun run test passes
  • Verify session status updates (busy/idle/retry) work in TUI

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