You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sessions should indicate whether they are active or idle in the session status overview.
Reasoning: for a connecting client, that starts listening to events, there is no way to guess if the session is currently executing actions or not (except guessing by updated date, or waiting)
Context percentage or whether it is a child session or not are probably also nice, but maybe more niche (second can be derived after all by scanning all session children)
I think this is absolutely needed. And also to be exposed in the opencode server api. When retrieving session info and also when receiving events on SSE would be great to receive such events, like finished, or similar
Activity
rekram1-node commentedon Oct 14, 2025
thanks for suggestion
andreigiura commentedon Oct 29, 2025
I think this is absolutely needed. And also to be exposed in the opencode server api. When retrieving session info and also when receiving events on SSE would be great to receive such events, like finished, or similar
rekram1-node commentedon Oct 29, 2025
We already send a bunch of these events, there is a session idle one for instance:
https://github.com/sst/opencode/blob/972c0893dd7596f13f74f25a822029183013a210/packages/sdk/js/src/gen/types.gen.ts#L1257