← Catalog

pi-footer-hint

Pi extension: names an unnamed session from the first thing you said. Pi draws that name at the end of the footer's path line and lists it in /resume.

ExtensionPrompt

Install

Install with PiG

pig install npm:pi-footer-hint

Install with Pi

pi install npm:pi-footer-hint
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.

{
  "extensions": [
    "./src/index.ts"
  ]
}

README

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

Appends the first 80 characters of your first message to the footer path line. A name you set with /name wins and is never overwritten.

The footer path line, before and after:

~/app (main)
~/app (main) • move the retry logic into the fetch wrapper

Install

pi install npm:pi-footer-hint        # global: ~/.pi/agent/settings.json
pi install -l npm:pi-footer-hint     # per project: .pi/settings.json

Configure

~/.pi/agent/pi-footer-hint.json, chars from 10 to 200, 80 by default:

{ "chars": 80 }

The name is set on the first turn and does not follow the session. A long one is cut at chars, so a narrow pane cuts it further.

Tested on pi 1.4.0.