Skip to content

Feature Request: Session Information: State #3169

Closed

Description

@g4borg

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)

Activity

  1. rekram1-node commented on Oct 14, 2025

    @rekram1-node
    Contributor

    thanks for suggestion

  2. andreigiura commented on Oct 29, 2025

    @andreigiura

    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

  3. rekram1-node commented on Oct 29, 2025

    @rekram1-node
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions