Skip to content

Display session name based on actual sessionId in the UI #2

@JeongJaeSoon

Description

@JeongJaeSoon

Goal

Currently, the UI displays session entries simply as “session” without showing the actual session name.
We want to update the UI to show session names based on the actual sessionId.

Reference

When running ccusage session --json, the output includes a field like:

"sessionId": "-Users-${whoami}-workspace-temp-${session_name}"

The segment after -workspace- can vary — for example, it could be temp, project, etc.
We want to extract that part and use it to display the session name more clearly, such as “temp” or “project”, instead of a generic “session”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions