← Catalog

@spences10/pi-session-name

Automatic session names through Pi's configured model

Package

Install

Install with PiG

pig install npm:@spences10/pi-session-name

Install with Pi

pi install npm:@spences10/pi-session-name
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/spences10/my-pi/main/assets/pi-package-preview.png",
  "extensions": [
    "./dist/index.js"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.

@spences10/pi-session-name

built with Vite+ tested with Vitest npm version license

my-pi package preview

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