Skip to content

Show richer session metadata in the session command palette #1

Description

@raphant

Problem

The session protocol exposes only an ID, label, state, start time, and last activity time.
The command palette cannot distinguish similar sessions by project, worktree, branch, runtime, model, or cost.

Proposed change

Extend SessionInfo with metadata that each runtime can establish without guessing.
Show available metadata in the command palette and omit fields that a runtime cannot supply.

Acceptance criteria

  • The protocol can carry the project path, worktree, branch, runtime, model, and session totals as optional fields.
  • Claude, Codex, and Pi populate each field that their event streams establish.
  • The command palette searches and displays the available metadata.
  • Missing metadata does not produce placeholder or invented values.
  • Protocol and palette tests cover partial metadata.

Source

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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