@manuelstolze/pi-hello-world1.0.0
Example Pi coding agent extension that adds a /hello slash command.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@manuelstolze/pi-hello-world
An example Pi coding agent extension. It registers a /hello [name] slash command that shows a friendly notification, and exists as a template for building new extensions in this monorepo.
Compatibility
Requires Node.js 22.19.0 or later and Pi API 1.1.0 or later in the 1.x line. Pi API 0.x hosts are not supported.
Install
npm install @manuelstolze/pi-hello-world
Then add it to your Pi configuration (e.g. package.json pi.extensions, or ~/.config/pi/config.json):
{
"pi": {
"extensions": ["@manuelstolze/pi-hello-world"]
}
}
Usage
Inside a Pi session, run:
/hello Ada
Development
From the repository root:
npm install
npm run build --workspace @manuelstolze/pi-hello-world
npm test