You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(opencode): handle Nm Ns duration format and extend extraction buffer
Two status/extraction bugs revealed by e2e runs with full system prompts:
1. COMPLETION_MARKER_PATTERN now matches the Nm Ns duration format that
OpenCode emits for responses that take more than 60 seconds (e.g.
"1m 8s"). The old pattern only matched the pure-seconds form, causing
get_status() to stall at PROCESSING indefinitely for longer turns.
2. Add extraction_tail_lines property to BaseProvider (default None) and
override to 2000 in OpenCodeCliProvider. terminal_service.get_output
uses this value for the LAST-mode tmux capture so long responses don't
push the user-message marker (┃ ) beyond the 200-line default window.
Status-check captures are unaffected.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments