Skip to content

Add Pi Coding Agent session support #309

Description

@NihaalManaf

Problem

Code Insights supports several coding agents but does not discover or parse Pi Coding Agent sessions stored under ~/.pi/agent/sessions/.

Proposed solution

Add a pi session provider that normalizes Pi prompts, assistant messages, thinking, tool calls/results, compactions, usage, and recorded costs. Include source filtering and dashboard display support.

The provider should honor Pi's documented PI_CODING_AGENT_DIR and PI_CODING_AGENT_SESSION_DIR overrides, namespace short entry IDs, and avoid double-counting entries copied into forked sessions.

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