The Ember-owned pi package. It installs the complete Ember agent workflow as one package:
- Primary modes:
/coder,/architect,/doctor,/orchestrator, and/ui-doctor. - Inline
questionnaireUI for decision-oriented questions. Agents are told to prefer it when they need a user choice. - A compact native
editrenderer that shows the filename and a single+N / -Nresult row. - Vendored subagent support with bundled
coderandarchitectdefinitions, plus the upstream bundled roles. - Bundled Devin auth/provider support, including OAuth, model catalog refresh, and streaming transport.
- A self-contained
Ctrl+Spacemode-cycle shortcut and a footer showing the active mode, model, and thinking variant.
The package has one top-level pi extension which dispatches to the internal
plugins under plugins/. Ember projects enable them in .pi/ember-stack.json:
{
"plugins": ["pi-compact-tools", "pi-custom-agents", "devin-auth"]
}Remove a plugin ID to disable it, or use /stack-plugins to toggle one from
the TUI. Restart pi after changing the list. The available plugins are:
pi-compact-tools: collapsed native edit rendering.pi-custom-agents: questionnaire UI, primary modes, plans, subagent tool, and bundled agent definitions.devin-auth: Devin provider, OAuth, catalog refresh, and streaming.
The Ember repository contains a project-local .pi/settings.json entry for:
"npm:@nmzpy/pi-ember-stack@0.1.6"On a new clone, start pi from the project directory. Pi will ask for a
one-time project trust decision before it installs the package into the
project-local .pi/npm/ directory. The same decision can be approved
non-interactively with:
pi --approve
Project trust is intentionally a user decision; a repository cannot safely
bypass it. After trust, normal startup is just pi from the Ember directory.
When a new version is intentionally released, update the pinned version in the project settings and run:
pi update --extensions
Third-party utilities such as pi-fff and image paste remain separate package entries. Devin auth is now bundled as a stack plugin, but credentials and provider secrets stay in the machine-local pi configuration and are not part of this repository.
The package entrypoint is plugins/index.ts. Compact tools are under
plugins/pi-compact-tools/, while questionnaire, primary modes, plans,
subagents, and bundled agents are under plugins/pi-custom-agents/. Devin auth
is under plugins/devin-auth/.
Run the package typecheck with:
npm install
npm run typecheck
Run ./gacp.sh --release to bump the patch version, typecheck, commit, tag,
push, and publish the package to npm. This only publishes the package; update
Ember's pinned package version separately when you want the project to install it.
The package is cross-platform: bundled paths are resolved from import.meta.url
and do not depend on a Windows home directory or the current working
directory.