Repository navigation
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Found potential duplicates! Here are the related PRs: Potential Duplicates
These PRs are likely addressing the same GitHub issue (#29166 mentioned in your description) and may have overlapping changes or implementations for the session status endpoint feature. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
5c50df9 to
95e8ebb
Compare
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #29166
Type of change
What does this PR do?
Adds
GET /session/:sessionID/statusby exposing the existing single-sessionSessionStatus.Service.get()method over HTTP. The handler first checks that the session exists, matching the other session-specific read endpoints.This draft also includes generated OpenAPI/SDK changes and route coverage for idle status and typed 404 responses. I saw the duplicate bot flagged #29165 and #29244; this PR keeps the same scope but includes tests and SDK output.
How did you verify your code works?
bun run script/generate.tsbun test --timeout 30000 test/server/httpapi-session.test.tsfrompackages/opencodebun run typecheckfrompackages/opencodebun turbo typecheckScreenshots / recordings
N/A, API-only change.
Checklist