opencode-mission-control
opencode-mission-control copied to clipboard
feat: add mc_stream tool for live job output streaming
Description
Deferred from v1.5 release. Implement a mc_stream tool that provides live output streaming from running jobs.
Background
In v1.5, we enhanced mc_attach to auto-open tmux windows for serve-mode jobs and added structured mc_capture with event filtering. The next step is a dedicated streaming tool that provides real-time SSE event forwarding without requiring tmux attachment.
Requirements
- New
mc_streamMCP tool - Stream SSE events from serve-mode jobs in real-time
- Support event type filtering (file.edited, tool, error, all)
- Graceful connection lifecycle management
- Falls back to tmux capture-pane polling for TUI-mode jobs
Related
- Closes partially: originally part of #66
- Builds on: #65 (serve-mode infrastructure)