Description
Any console.* output written by library dependencies (Ajv compiling third-party MCP schemas, plugin dependencies, etc.) goes straight to the terminal and lands inside the TUI's alternate screen, corrupting the display with raw warning lines.
#31002 tracks one specific instance (Ajv's unknown format "uint64" ignored), fixed at the source in #48331. This issue tracks the general class of bug: the TUI should be resilient against stray console output from any dependency, not just Ajv.
Plugins
No response
OpenCode version
1.18.30
Steps to reproduce
- Configure an MCP server whose tool schemas contain non-standard
format values like uint32/uint64 (e.g. Rust/schemars)
- Start
opencode (TUI)
- Ajv warnings appear as raw lines overwriting the TUI display
Screenshot and/or share link
Operating System
Ubuntu 24
Terminal
Bash
Description
Any
console.*output written by library dependencies (Ajv compiling third-party MCP schemas, plugin dependencies, etc.) goes straight to the terminal and lands inside the TUI's alternate screen, corrupting the display with raw warning lines.#31002 tracks one specific instance (Ajv's
unknown format "uint64" ignored), fixed at the source in #48331. This issue tracks the general class of bug: the TUI should be resilient against stray console output from any dependency, not just Ajv.Plugins
No response
OpenCode version
1.18.30
Steps to reproduce
formatvalues likeuint32/uint64(e.g. Rust/schemars)opencode(TUI)Screenshot and/or share link
Operating System
Ubuntu 24
Terminal
Bash