@carter-mcalister/pi-auto-name
English-only automatic session naming for Pi
Package details
Install @carter-mcalister/pi-auto-name from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@carter-mcalister/pi-auto-name- Package
@carter-mcalister/pi-auto-name- Version
0.1.1- Published
- Apr 15, 2026
- Downloads
- 78/mo · 12/wk
- Author
- carter-mcalister
- License
- MIT
- Types
- extension
- Size
- 9.4 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@carter-mcalister/pi-auto-name
English-only automatic session naming for Pi Coding Agent.
This package replaces @ryan_nookpi/pi-extension-auto-name with the same basic behavior, but it forces generated session titles to be in English.
What it does
- Watches the first user prompt in a session
- Generates a short session title with the current model
- Forces the generated title to be English-only
- Applies the title through
pi.setSessionName() - Mirrors the title into the Pi status area and terminal title
- Skips subagent sessions
Why this exists
The original package was prompting the model in Korean, which caused auto-generated session names to show up in Korean in the Pi session list and tree.
This replacement keeps the auto-naming workflow while switching the prompt and context text to English.
Install
pi install /Users/carter/Developer/repos/pi-packages/packages/pi-auto-name
If Pi is already running, use /reload after installing the extension.
Remove the original package
pi remove npm:@ryan_nookpi/pi-extension-auto-name
Notes
- This affects session display names, not Pi compaction summaries.
- If the model or auth is unavailable when a session starts, the session will simply remain unnamed.
- Titles are intentionally short and clipped to 30 characters.
Development
mise install
bun install
mise run check