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
{{ message }}
Repository navigation
[BUG] Garbled ANSI escape sequences and plugin connection failure with agentmemory #24206
The OpenCode TUI is failing to maintain a stable connection with the agentmemory plugin. After a connection attempt, the terminal enters a corrupted state where it continuously prints raw SGR mouse mode escape sequences (e.g., [555;27;11M). Even after a restart of the virtual machine and ensuring the port is open, the connection status remains stuck at "connecting but not connected."
Plugins
agentmemory
OpenCode version
1.14.24
Steps to reproduce
Steps to reproduce
Launch OpenCode in a Windows environment (tested in PowerShell and Bash).
Attempt to use the agentmemory plugin.
Observe the "connecting" status message in the UI.
Move the mouse or interact with the terminal; observe the terminal buffer filling with garbled ANSI escape codes.
Note that the connection never completes despite the port being open and the service running.
The garbled ANSI escape sequences (e.g. [555;27;11M) on Windows/PowerShell is a well-known issue. If your problem is specifically about the agentmemory plugin connection failure (not the terminal corruption), that aspect may be distinct - please clarify if so.
Activity
github-actions commentedon Apr 24, 2026
This issue might be a duplicate of existing issues. Please check:
The garbled ANSI escape sequences (e.g.
[555;27;11M) on Windows/PowerShell is a well-known issue. If your problem is specifically about the agentmemory plugin connection failure (not the terminal corruption), that aspect may be distinct - please clarify if so.github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.