Custom pi extensions. Each extension is an independently versioned npm package under the @tinysquid scope.
| Extension | Description |
|---|---|
| auto-session-name | Auto-generates descriptive session names after the first turn |
| memory | Persistent project memory across sessions (MEMORY.md + /remember) |
| opencode-go-usage | OpenCode Go plan usage in the footer + /opencode-go usage table |
Install an extension into pi:
pi install npm:@tinysquid/pi-auto-session-name
pi install npm:@tinysquid/pi-memory
pi install npm:@tinysquid/pi-opencode-go-usageRequires pnpm.
git clone git@github.com:TinySquid/pi-agent-extensions.git
cd pi-agent-extensions
pnpm installThere is no build step — pi loads the .ts sources directly. For quick iteration, symlink an extension into your pi extensions dir:
ln -s $(pwd)/memory/memory.ts ~/.pi/agent/extensions/memory.tsScripts:
| Command | Purpose |
|---|---|
pnpm run check |
Typecheck + lint + format (fixes) |
pnpm run ci |
Typecheck + lint + format check (verify-only) |
pnpm run typecheck |
tsc --noEmit (strict) |
pnpm run lint |
ESLint |
pnpm run format |
Prettier (write) |
See AGENTS.md for conventions, the manual testing loop, and the release process.