Feature hasn't been suggested before.
Describe the enhancement you want to request
Context & Problem
Based on the current documentation (https://opencode.ai/docs/ko/server/), there seems to be no endpoint available to identify which session is currently active/open on a specific TUI.
Use Case
I am currently developing a team management tool where I need to submit prompts directly to specific terminals. However, without knowing the active session for a given terminal, I cannot reliably submit prompts to the same session unless I manually bind specific ports.
Proposed Feature
Please add an HTTP API endpoint that returns the current session information for a requested TUI/terminal. This would greatly help in managing and interacting with dynamic sessions.
Thank you!
Feature hasn't been suggested before.
Describe the enhancement you want to request
Context & Problem
Based on the current documentation (https://opencode.ai/docs/ko/server/), there seems to be no endpoint available to identify which session is currently active/open on a specific TUI.
Use Case
I am currently developing a team management tool where I need to submit prompts directly to specific terminals. However, without knowing the active session for a given terminal, I cannot reliably submit prompts to the same session unless I manually bind specific ports.
Proposed Feature
Please add an HTTP API endpoint that returns the current session information for a requested TUI/terminal. This would greatly help in managing and interacting with dynamic sessions.
Thank you!