Skip to content

Support /tree-style navigation in Emacs frontend #242

Description

@tiancaijb

The pi TUI has a great /tree command that lets you visually navigate the session tree and jump to any
point to continue from there. The Emacs plugin (C-c C-p f) only supports fork (creating a new session),
not tree navigation (continuing from an existing node in the same session).

Use case: When exploring multiple approaches in a conversation, I want to see the tree of all messages,
navigate to a previous branch node, and continue from there — without creating a new session file.

Current behavior: C-c C-p f shows a flat list of user messages for forking.

Desired behavior: A visual tree viewer (like pi TUI) with ability to:

  • See the full session tree with branches
  • Navigate to any previous node and continue the conversation there

Possibly achievable via an existing RPC like get_session_tree or by navigating tree entries from
get_messages.

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