@manuelstolze/pi-hello-world
v1.0.0
Published
Example Pi coding agent extension that adds a /hello slash command.
Maintainers
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-worldThen 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 AdaDevelopment
From the repository root:
npm install
npm run build --workspace @manuelstolze/pi-hello-world
npm test