Skip to content

Tabs: name a new tab from its first prompt when the title is only the agent's name #2019

Closed

Description

@vibewriter-hand

Problem

I run several sessions of the same agent. The tab strip and the Agents list show whatever title the CLI sets, and a CLI that sets only its own name leaves every tab looking the same ("claude", "codex"). Opening them one by one to find the right session is the cost this issue is about.

Manual rename exists (#1981), and #2014 asks the Agents list to use a renamed tab's label. The missing case is the tab I have not renamed: it has no useful name at all.

Proposal

When a tab's first user message is sent, and its label is still the agent's default rather than a manual rename or a distinct title from the agent, set a short tab label from that prompt:

The label is a local display name on the tab, not a new field on the pane or a rename in herdr, unless herdr's tab label is the better place to store it.

Where

Sidebar and navigation.

Where it exists today

Ovis already falls back to the pane title or the agent title when a pane has no name. Herdr's tab label is manual. The missing piece is a fallback for a title that says only which agent runs there.

Workarounds and alternatives

Rename every tab by hand, start each tab in a differently named folder, or rely on the CLI to set a terminal title. Those work only when I remember to do them.

An alternative is to ask the agent for a title after its first answer, but that spends a model call and time; the first prompt is already there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions