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.
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
pisession 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_DIRandPI_CODING_AGENT_SESSION_DIRoverrides, namespace short entry IDs, and avoid double-counting entries copied into forked sessions.