pi-session-ask
v0.1.1
Published
Allows the agent or user to ask questions about the current session's pre-compaction history, parent (if forked) sessions' histories, or any other sessions' histories, via a subagent (keeping current context clean).
Maintainers
Readme
Session Ask for Pi (pi-session-ask)
Ask questions about a Pi session JSONL file (including pre-compaction history) without loading that history into your current model context.
Provides:
session_ask({ question, sessionPath? })session_lineage({ sessionPath?, maxDepth? })- Slash command wrapper:
/session-ask ...
Install
From npm:
pi install npm:pi-session-askFrom the dot314 git bundle (filtered install):
Add to ~/.pi/agent/settings.json (or replace an existing unfiltered git:github.com/w-winter/dot314 entry):
{
"packages": [
{
"source": "git:github.com/w-winter/dot314",
"extensions": ["extensions/session-ask/index.ts"],
"skills": [],
"themes": [],
"prompts": []
}
]
}Notes
- If the agent invokes the
session_ask(...)tool, the model sees the tool output in that turn - If you run the
/session-ask ...command yourself, the output is shown to you but is not kept in the agent's context; copy/paste relevant parts if you want the agent to use them in follow-ups
