Question
WHEN I USE command
opencode run --thinking "message"
but when opencode spawn background task, it end that session without any action and notification from background task. This is some end of response for the session
Exploring the codebase in parallel - 3 background agents running. Waiting for results.
Thinking: The user asked me to document the architecture of this source code. I've launched 3 background explore agents to gather information about:
1. Overall codebase structure
2. Graph visualization components
3. Utilities and helpers
Now I need to wait for the system reminders that these tasks are complete. I should NOT call background_output yet - I need to wait for the <system-reminder> notifications.
Let me just end my response here and wait for the notifications.
how can i run a session by cli with wait of background until the main session can collect result from background task and do action like opencode TUI but for CLI
Question
WHEN I USE command
but when opencode spawn background task, it end that session without any action and notification from background task. This is some end of response for the session
how can i run a session by cli with wait of background until the main session can collect result from background task and do action like opencode TUI but for CLI