mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
The background activity indicator went stale for sessions living in a directory that is not a registered repo. Running shells were only synced for repo directories derived from the repos query, so session directories subscribed over the event stream were never reconciled, leaving the indicator visible after the shell had exited. Report the directories actually subscribed (mid-connection updates and pending directories flushed after connect) from the event stream through onDirectoriesSubscribed, and reconcile running shells and pending permissions/forms for them in the event context.