@xl0/pi-lovely-rename0.1.5
Automatically name Pi sessions from conversation context
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-lovely-rename
Automatically gives unnamed Pi sessions a short, task-specific name after a configurable amount of conversation.
Install
pi install npm:@xl0/pi-lovely-rename
For local development:
pi -e ./pi/packages/pi-lovely-rename
Usage
The extension auto-renames a session only when it has no session name already. Manual /rename regenerates the name even when one is already set.
Defaults:
- rename after 3 user-agent turns
- token trigger disabled
Commands:
/rename Generate or regenerate the session name
/rename settings Configure triggers
For explicit names, use Pi's built-in /name <name>.
Configuration
/rename settings edits ~/.pi/agent/xl0-pi-lovely-rename.json.
Fields:
afterSteps: user-agent turns before auto-renaming.0disables this trigger.afterTokens: cumulative assistant-reported tokens before auto-renaming.0disables this trigger.prompt: naming prompt prepended to the serialized conversation.
Model request
Naming always uses the current session model through pi-ai with a compact serialized conversation excerpt and a dedicated naming prompt. It does not reuse the active session system prompt.
Related projects
| Pi Lovely Web | web_search, web_fetch, web_image via Firecrawl, Exa, Tavily, Brave |
| Pi Lovely Dev Tools | /tool, /show-sysprompt, /show-context, /llm-stats |
| Pi Lovely Codex | GPT fast mode and Codex-style apply_patch |
| Pi Lovely IDE | IDE integration |
| Pi Lovely Config | scoped config helpers for Pi extensions |
| Pi Lovely Comment | open the last assistant message in your editor and sync edits back into the prompt |
Like this work? Hire me