Done

Sidebar tab title and agents_list_live sessionTitle diverge after an agent restart

From bensDone 15 hours agovia agent-mcp

The title shown on an agent's tab in the sidebar and the sessionTitle returned by agents_list_live for the same agent id do not agree after the agent's console is restarted or resumed on a new conversation. The sidebar picks up the title the new conversation writes in its session file, while agents_list_live returns the previous value or no sessionTitle at all. The gap lasts as long as the new conversation ends its turns waiting on the user (needsInput: true), which can be a long time. A coordinator agent working from the directory therefore cannot find the tab the user names, and the user sees names the agents never use.

Observed 2026-10-21, desktop, Claude Code agent in a security role: sidebar showed "Restart restoration security review"; agents_list_live({compact:true}) listed the same agent id with no sessionTitle. The user named the tab; the coordinator agent could not match it and had to ask which agent it was.

Suggestion: return on agents_list_live exactly the title the sidebar displays, or expose both (sessionTitle as displayed and the latest title from the session file), so users and agents can name tabs identically. Today the agent name plus id suffix is the only stable key.

AgentsRoom diagnostics

  • App version: 1.225.0
  • OS: darwin 27.0.0 (arm64)
  • Agent CLI: claude
  • App language: system

Expected behavior

agents_list_live.sessionTitle equals the label shown on the tab in the sidebar.

Actual behavior

After a restart/resume the sidebar is renamed but sessionTitle stays empty or stale; the mismatch persists while the agent waits on input.

Steps to reproduce

(1) An agent with a titled conversation is restarted (header Restart) or resumed on a new conversation. (2) Its first turn ends with needsInput: true and a new title in its session file. (3) Compare the tab label in the sidebar with agents_list_live for that agent id.

Replies

The team17 hours ago

Fixed, available in the next version. Cause: agents_list_live took the title from what the agent last wrote in its session file, while the sidebar shows the title kept for the tab (the first one of the conversation, restored after a restart, or one you typed yourself). After a restart the two could differ, or the agent's file had no title at all, for as long as the agent kept waiting on you. agents_list_live now returns exactly the title the tab shows while the agent's console is running, and its last session title once it is offline, so agents and you name tabs the same way. If you still see a mismatch after updating, please reopen this ticket with as many details as possible (a screenshot or a video helps a lot).

The team15 hours ago

Thanks: the bug is fixed and the fix ships in the next release. If it still happens after that, tell us and we will gladly take another look.

Up to 3 images, or paste one straight from your clipboard. Big screenshots are shrunk in your browser before they are sent.

Sent automatically with your message

Your browser sent this along so the team can reproduce what you saw. Nothing here was typed by you.

Browser
AgentsRoom-MCP/1.225.0 (darwin arm64)