pi-session-auto-rename
v0.1.3
Published
Automatically names pi sessions with AI, with configurable naming model
Downloads
480
Maintainers
Readme
pi-session-auto-rename
Auto-renames pi sessions using AI. The extension picks a short title from the first user message, and also provides commands to rename from full chat history and choose which model to use for naming.
Install
pi install npm:pi-session-auto-renameOr from git:
pi install git:github.com/egornomic/pi-session-auto-renameWhat it adds
- Automatic naming when a session starts or after first assistant response
/name-aicommand to rename from full conversation history/name-ai-configcommand to show the current naming model and pick/set a new one (provider/model)
Example
User first message: "Design a migration plan for our billing schema"
→ Session name: "Billing Schema Migration Plan"Notes
- The extension uses your configured model keys in pi.
- Selected naming model is persisted in
~/.pi/agent/extensions/pi-session-auto-rename.json, so it survives restarts and new sessions. - If no API key exists for the selected naming model, it shows a warning and keeps the current session name.
