[PR #13113] docs(server): document /session/status active-only behavior #14518

Open
opened 2026-02-16 18:19:18 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13113

State: open
Merged: No


What does this PR do?

Fixes #10886.

Clarifies /session/status semantics in both docs and OpenAPI route description:

  • endpoint returns active in-memory statuses only (e.g. busy / retry)
  • idle sessions are omitted from the map

Also adds a short automation note explaining how to detect completion for sync (/message) vs async (/prompt_async) flows.

How did you verify your code works?

  • Checked SessionStatus implementation (set removes idle entries) and aligned docs/route description with current behavior.
  • Validation will run in GitHub Actions CI.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13113 **State:** open **Merged:** No --- ### What does this PR do? Fixes #10886. Clarifies `/session/status` semantics in both docs and OpenAPI route description: - endpoint returns active in-memory statuses only (e.g. `busy` / `retry`) - idle sessions are omitted from the map Also adds a short automation note explaining how to detect completion for sync (`/message`) vs async (`/prompt_async`) flows. ### How did you verify your code works? - Checked `SessionStatus` implementation (`set` removes idle entries) and aligned docs/route description with current behavior. - Validation will run in GitHub Actions CI.
yindo added the pull-request label 2026-02-16 18:19:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14518