@philvr/pi-model-info

A Pi extension that reports the active model and thinking level.

Packages

Package details

extension

Install @philvr/pi-model-info from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@philvr/pi-model-info
Package
@philvr/pi-model-info
Version
0.1.0
Published
Jul 11, 2026
Downloads
73/mo · 73/wk
Author
fil1994
License
MIT
Types
extension
Size
5.5 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/model-info.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@philvr/pi-model-info

A Pi package that exposes the active model and thinking level to Pi users and agents.

Install

Install globally:

pi install npm:@philvr/pi-model-info

Or install it for just the current project:

pi install -l npm:@philvr/pi-model-info

What it adds

  • /model-info — shows the selected provider, model ID, model metadata, and thinking level.
  • model_info — lets the agent retrieve that same information.
  • A footer status item showing the active model and thinking level.

Development

npm install
npm run format
npm run lint
npm test
pi -e ./extensions/model-info.ts

Pi loads TypeScript extensions directly, so this package does not need a build step. npm test also verifies formatting and linting.

Publishing

Releases are managed by Release Please. Pushes to main create or update a release pull request based on Conventional Commits. Merging that pull request creates a GitHub release, then invokes the npm publishing workflow.

For publishing, add an NPM_TOKEN repository secret for the npm account that owns the @philvr scope. The package is configured as public.