@spences10/pi-session-name
Automatic session names through Pi's configured model
Package details
Install @spences10/pi-session-name from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@spences10/pi-session-name- Package
@spences10/pi-session-name- Version
0.1.1- Published
- Nov 4, 2026
- Downloads
- 246/mo · 246/wk
- Author
- spences10
- License
- MIT
- Types
- extension
- Size
- 17.2 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"image": "https://raw.githubusercontent.com/spences10/my-pi/main/assets/pi-package-preview.png",
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@spences10/pi-session-name

Session autonaming
Names an unnamed interactive session after a successful, fully settled developer exchange, using Pi's selected model and configured authentication. Names use lowercase kebab-case, at most 50 characters.
This makes one additional model request per session runtime, with at most 2,000 characters each from the developer request and final answer. Tool output, images, and thinking are excluded. This request may incur provider cost; it is not an additional agent conversation turn.
Manual names are never overwritten, including names set while generation is pending. Session changes, branch changes, reload, and a new run invalidate stale results. Requests are aborted after 15 seconds. Failed naming is best-effort: it warns without failing the user's task.
Use upstream /name <name> for manual naming. Use /session-name (or
/session-name --auto) to retry generation for an unnamed session
after a completed exchange. Automatic naming is TUI-only; explicit
generation uses the selected model in any mode.
Bundled into my-pi as session-name. Disable it with
/extensions disable session-name to avoid automatic naming requests.
Reloading an unnamed session permits another automatic attempt.
Install
pi install npm:@spences10/pi-session-name
Development
Package scripts build transitive workspace dependencies first, then
run local tools through Vite+ with vp exec.
pnpm --filter @spences10/pi-session-name run check
pnpm --filter @spences10/pi-session-name run test
pnpm --filter @spences10/pi-session-name run build
License
MIT