@lajarre/pi-session-ask
Ask questions about any Pi session (by path, UUID, or name) via an isolated subagent, keeping current context clean.
Package details
Install @lajarre/pi-session-ask from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@lajarre/pi-session-ask- Package
@lajarre/pi-session-ask- Version
0.3.1- Published
- Mar 31, 2026
- Downloads
- 38/mo · 7/wk
- Author
- lajarre
- License
- MIT
- Types
- extension
- Size
- 73 KB
- Dependencies
- 1 dependency · 3 peers
Pi manifest JSON
{
"extensions": [
"extensions/session-ask/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-session-ask
Ask questions about any Pi session — by file path or session UUID — via an isolated subagent that keeps your current context clean.
Fork of w-winter/dot314 session-ask, with UUID resolution added.
Install
pi install npm:@lajarre/pi-session-ask
# or from git:
pi install git:github.com/lajarre/pi-session-ask
Usage
Slash command
/session-ask <question> # current session
/session-ask <question> --path /path/to/session.jsonl # by file path
/session-ask <question> --id a1b2c3d4 # by session UUID (full or prefix)
LLM tools
session_ask({ question: "What went wrong?" }) // current session
session_ask({ question: "...", sessionPath: "/path/to/session.jsonl" }) // by path
session_ask({ question: "...", sessionPath: "a1b2c3d4" }) // UUID prefix — auto-resolved
session_ask({ question: "...", sessionPath: "a1b2c3d4-e5f6-7890-abcd-..." }) // full UUID — auto-resolved
Session lineage
session_lineage({ maxDepth: 50 })
session_lineage({ sessionPath: "a1b2c3d4" }) // also accepts UUID
How it works
See extensions/session-ask/README.md for the full architecture.
Configuration
See extensions/session-ask/config.json.example.
Upstream
Original extension by Warren Winter — dot314.
License
MIT — see LICENSE.