What happened?
When OpenCode is used through an ACP client like agent-shell, reopening an existing session via ACP resume can restore the session id/config without replaying the prior conversation, so the client opens the session but does not show the earlier messages.
In the same ACP workflow, session/list can surface generic titles like New session - ... even when the first real user prompt would be a much better label for session pickers.
Expected behavior
- ACP resume should replay the existing session history so ACP clients can render the earlier conversation.
- ACP session lists should expose a readable fallback title when the persisted session title is still the default placeholder.
Reproduction
- Open an OpenCode session from an ACP client such as agent-shell.
- Have a short conversation and close the client.
- Reopen that same session through ACP resume.
- Notice that the prior conversation is not replayed.
- Look at ACP session lists for untitled sessions and notice generic
New session - ... labels.
What happened?
When OpenCode is used through an ACP client like agent-shell, reopening an existing session via ACP resume can restore the session id/config without replaying the prior conversation, so the client opens the session but does not show the earlier messages.
In the same ACP workflow,
session/listcan surface generic titles likeNew session - ...even when the first real user prompt would be a much better label for session pickers.Expected behavior
Reproduction
New session - ...labels.