Skip to content

[feature] session management proposal #246

Description

@Jostar1024

Hi, thank you for writing this package! This package has been my daily driver for Agentic coding.

I want to share my use cases and see if this is useful to others. I always run several pi sessions(2-3) and it's a pain to not able to switch it (or am I missing the feature?). So I've a homebrewed version of pi session management which supports:

  • Switch to the dedicated "pi" workspace
  • Create a named pi session (defaults to project-HHMMSS); with prefix arg (C-u), prompts for a custom PI_CODING_AGENT_DIR
  • Pick from active pi sessions with rich annotations (status, start time, last message time, directory)
    Image
  • Rename the current session's chat + input buffers
  • Copy @filepath:line to clipboard (useful for referencing code in pi)
  • Serialize all active sessions' metadata to disk for later restore
  • Reload previously dumped sessions (reconnects to session files, loads history)

Here's the link to the detail config: https://github.com/Jostar1024/dotfiles/blob/main/doom/.doom.d/config-pi-agent.el

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