[FEATURE]: ACP sessions should get auto-generated titles instead of "ACP Session <UUID>" #9070

Open
opened 2026-02-16 18:11:33 -05:00 by yindo · 1 comment
Owner

Originally created by @scw1109 on GitHub (Feb 11, 2026).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

When using OpenCode via ACP (e.g. IntelliJ IDEA), every session is titled ACP Session <random UUID>, making it impossible to distinguish sessions in the session list.
This happens because src/acp/session.ts hardcodes the title:

title: `ACP Session ${crypto.randomUUID()}`,

In contrast, TUI sessions get meaningful auto-generated titles based on the first message.

Expected Behavior

ACP sessions should get the same auto-titling treatment as TUI sessions — either:

  1. Use a temporary placeholder on creation, then auto-generate a title from the first message (same as TUI)
  2. Accept an optional title from the ACP client, falling back to auto-generation if not provided

Steps to Reproduce

  1. Connect to OpenCode via ACP (e.g. from IntelliJ IDEA)
  2. Start a conversation
  3. Check the session list — title remains ACP Session <UUID>

Reference

packages/opencode/src/acp/session.tsACPSessionManager.create()

Originally created by @scw1109 on GitHub (Feb 11, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request ## Problem When using OpenCode via ACP (e.g. IntelliJ IDEA), every session is titled `ACP Session <random UUID>`, making it impossible to distinguish sessions in the session list. This happens because `src/acp/session.ts` hardcodes the title: ```typescript title: `ACP Session ${crypto.randomUUID()}`, ``` In contrast, TUI sessions get meaningful auto-generated titles based on the first message. ## Expected Behavior ACP sessions should get the same auto-titling treatment as TUI sessions — either: 1. Use a temporary placeholder on creation, then auto-generate a title from the first message (same as TUI) 2. Accept an optional `title` from the ACP client, falling back to auto-generation if not provided ## Steps to Reproduce 1. Connect to OpenCode via ACP (e.g. from IntelliJ IDEA) 2. Start a conversation 3. Check the session list — title remains `ACP Session <UUID>` ## Reference `packages/opencode/src/acp/session.ts` — `ACPSessionManager.create()`
yindo added the discussion label 2026-02-16 18:11:33 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 11, 2026):


This issue appears to be related to (or possibly a duplicate of) #11442: ACP sessions have no title (closed).

Both issues describe the same problem: ACP sessions display generic titles like 'ACP Session ' making them indistinguishable in the session list.

If #11442 was closed as completed, this issue may not be needed. If it remains open as a tracking issue with your proposed solutions, consider cross-referencing #11442 for additional context and the original bug report.

@github-actions[bot] commented on GitHub (Feb 11, 2026): --- This issue appears to be related to (or possibly a duplicate of) #11442: **ACP sessions have no title** (closed). Both issues describe the same problem: ACP sessions display generic titles like 'ACP Session <UUID>' making them indistinguishable in the session list. If #11442 was closed as completed, this issue may not be needed. If it remains open as a tracking issue with your proposed solutions, consider cross-referencing #11442 for additional context and the original bug report.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9070