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 agent never sends session_info_update session updates #21013
Problem
The ACP protocol defines session_info_update as a valid SessionUpdate type (with title and updatedAt fields), but the OpenCode ACP agent implementation never emits it.
In packages/opencode/src/acp/agent.ts), the handleEvent method only handles three event types:
Context
The SessionInfoUpdate type is already defined in the ACP SDK (@agentclientprotocol/[email protected]) with title?: string | null and updatedAt?: string | null fields.
Session titles are generated asynchronously in packages/opencode/src/session/prompt.ts after the assistant responds.
ACP clients (e.g. editors) have no way to learn that a session title has changed, since the update is never forwarded.
Impact
ACP clients cannot display up-to-date session titles. The title shown at session creation time remains stale forever.
Still reproducible on opencode 2.0.32 (checked with a scripted ACP client: zero session_info_update messages for the whole session, while session/list already returns the generated title seconds after the turn). Filed a fresh issue with an up-to-date V2 reproduction and source pointers: #56894
Activity
github-actions commentedon Apr 4, 2026
This issue might be a duplicate of existing issues. Please check:
session_info_updatenotification described heresession/updatenotifications sent aftersession/promptresponse — related ACP notification ordering issuefix(acp): forward session title updates to ACP clients via session_in…
github-actions commentedon Jul 3, 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.
gultaj commentedon Oct 18, 2026
Still reproducible on opencode 2.0.32 (checked with a scripted ACP client: zero
session_info_updatemessages for the whole session, whilesession/listalready returns the generated title seconds after the turn). Filed a fresh issue with an up-to-date V2 reproduction and source pointers: #56894