aloita-extensions

A Pi extension: one Pi session connects to an Aloita server and works on tickets natively.

Packages

Package details

extension

Install aloita-extensions from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:aloita-extensions
Package
aloita-extensions
Version
0.4.8
Published
Jun 24, 2026
Downloads
not available
Author
frankvl76
License
MIT
Types
extension
Size
284.2 KB
Dependencies
1 dependency · 4 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

aloita-extensions

A Pi extension. One long-running Pi session connects to your Aloita server and works on tickets natively — no separate MCP server or subprocesses.

Install

Requires Pi (@earendil-works/pi-coding-agent) on your PATH and Node 18+.

pi install npm:aloita-extensions

Pi auto-loads the extension on every startup. Manage it with:

pi list                            # confirm it's registered
pi remove npm:aloita-extensions    # unregister
pi update --extensions             # update installed packages

Configure

Set your server URL and API key via environment variables:

export ALOITA_URL="https://your-aloita-server"
export ALOITA_API_KEY="kai_your_key_here"

Or run /aloita-configure inside Pi to set them (and other options) in an interactive settings screen — values persist to ~/.pi/aloita.json and apply to every Pi session on the machine.

A config.example.json ships with the package; copy it to ~/.pi/aloita.json (global) or <cwd>/.pi/aloita.json (project-local) and edit.

Launch pi. The footer shows the connection status when the socket is up.

Commands

Command Action
/aloita-status Show connection state, active ticket, queue.
/aloita-connect Force reconnect.
/aloita-disconnect Disconnect.
/aloita-next Drain the next queued ticket.
/aloita-configure Interactive settings UI.

Logging

Diagnostics go to ~/.pi/aloita.log (never stdout/stderr, which would corrupt Pi's TUI). Set the level via ALOITA_LOG_LEVEL (debug/info/warn/error/off, default info) and the path via ALOITA_LOG_FILE.

License

MIT