@agimon-ai/po-template-elegant
Elegant chat-first template for the Po web client.
Package details
Install @agimon-ai/po-template-elegant from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@agimon-ai/po-template-elegant- Package
@agimon-ai/po-template-elegant- Version
0.0.0-alpha.183- Published
- Nov 22, 2026
- Downloads
- 31.6K/mo · 5,547/wk
- Author
- agiflow-ai
- License
- BUSL-1.1
- Types
- package
- Size
- 930.3 KB
- Dependencies
- 5 dependencies · 3 peers
Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Po Elegant template
An independently installable, chat-first web template. Conversations use a centered reading column. Navigation and activity open in accessible drawers, while session controls expand on demand. Plugin panels and settings keep the full available width.
Append @agimon-ai/po-template-elegant to the existing default.packages list in ~/.po/presets.yaml or your repository's .po/presets.yaml. Keep the other entries. A repository default replaces the personal list rather than merging individual packages.
Packages can also live in a layer selected by a preset. Refresh the composition with po sync after adding or removing packages.
Open Settings > Appearance > Template, choose the configuration scope, select Elegant, and click Set as default. The equivalent configuration is:
web:
template: po-template-elegant
Host defaults live in ~/.po/config.yaml. Workspace defaults live in .po/config.yaml and override the host value. Clearing a workspace default restores inheritance.
A template changes presentation, not the active tools, session runtime, or color theme. On the web a template is a complete dashboard application built from the public stores, routes and views of @agimon-ai/po-web-dashboard; the host owns the runtime, routes and durable state. The template renders the rail itself: workspaces, session cards, and the add-workspace dialog (render that dialog at the layout root so it opens while a drawer is closed).
Elegant is the default on the web and the phone: with no web.template or native.template set, the cockpit and the phone app draw it. Advanced stays bundled in both and is one setting away.
Package contract
@agimon-ai/po-build compiles routed template/*.web.ts and template/*.native.ts contributions at host, workspace and session scopes. poWeb and poNative metadata select the generated presentation entries. This package has no Pi or server entry and registers no tools or modes.
- Web:
WebTemplateContributionwithcontractVersion: 3and anappcomponent, from@agimon-ai/po-core/web. The layout's own props stay private in_types/layout.ts. - Phone:
NativeTemplateContributionwithcontractVersion: 2and both screens,sessionsandsession, from@agimon-ai/po-core/native. This template draws a quiet session list (chat-list rows under small workspace labels) and the Elegant conversation. The phone app keeps navigation, tabs, pairing and the Activity stack. A phone refuses a v1 phone layout and uses its own bundled templates instead.
Development
pnpm exec nx run-many -t lint typecheck build test -p @agimon-ai/po-template-elegant --parallel=2