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
ACP stdio transport crashes on oversized tool_call_update payloads (truncate large text fields) #17019
When OpenCode is used with the Agent Client Protocol (ACP) Python SDK over stdio, oversized JSON-RPC update payloads can trigger a fatal stdio channel/port error on the SDK side.
This breaks ACP communication for the current client session.
What happened?
tool_call_update messages may contain very large text fields (for example from read output), and a single emitted JSON message can exceed the practical stdio boundary (~64KB observed in this integration path).
After that, ACP updates may fail with a fatal stdio-side error and the session becomes unstable/unusable.
Plugins
ACP / Agent Client Protocol Python SDK over stdio
OpenCode version
1.2.10
Steps to reproduce
Run OpenCode with ACP Python SDK connected via stdio.
Trigger a tool call that emits large text content in update payloads (e.g. read on a moderately large file, or large rawOutput.output).
Observe ACP update delivery failure / fatal stdio-side error once payload size becomes too large.
Activity
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.