mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
* fix(ai): stop OpenCode turns dying on terminal tool failures OpenCode MCP terminal_execute treated non-zero exits as bare "Error: Operation failed" (dropping stdout), and the OpenCode driver aborted the whole turn on tool status=error. Preserve command output and surface tool errors as tool results so multi-step agent runs can continue. Closes #2718 * fix(ai): use neutral MCP text for silent terminal_execute success Codex P2 on #2724: ok:true empty serial/raw PTY results no longer fall back to "Error: Operation failed". Prefer Catty's "Command completed (no output)" and keep operational failures / non-zero exits unchanged. Also prefer non-empty OpenCode tool error/output when formatting tool results.