Bug Description
Long conversations hang indefinitely. After ~20-30 messages, the session/message endpoint stops responding or returns malformed data, causing ACP clients (OpenChamber, OpenWork) to hang.
Environment
- OpenCode version: 1.14.46 (latest tested, also fails on 1.14.48)
- OS: Arch Linux (cachyos)
- Bun version: 1.3.13
Steps to reproduce
- Use OpenCode via ACP client (e.g. OpenChamber) for an extended conversation
- After ~20-30 messages, the response stops
- Client shows spinning/loading indefinitely or silent failure
- Direct TUI use of the same session works fine
Root cause
What might help (from changelog analysis)
v1.14.46 had these session/message fixes:
- Fixed numeric HTTP API query parameters in the generated OpenAPI spec and SDK for session and file endpoints
- Tolerated legacy stored numeric values in sessions, diffs, and retry events
- Fixed old sessions with negative token counts causing message loads to fail
v1.14.34 had:
- Fix session views and nested session items not getting stuck with stale state
- Improve session compaction so long threads keep more useful context
None of these fully fixed the hang for ACP clients.
Expected behavior
ACP clients should be able to load messages from long conversations reliably.
Bug Description
Long conversations hang indefinitely. After ~20-30 messages, the session/message endpoint stops responding or returns malformed data, causing ACP clients (OpenChamber, OpenWork) to hang.
Environment
Steps to reproduce
Root cause
What might help (from changelog analysis)
v1.14.46 had these session/message fixes:
v1.14.34 had:
None of these fully fixed the hang for ACP clients.
Expected behavior
ACP clients should be able to load messages from long conversations reliably.