ekairos-cli
v1.22.1
Published
CLI for Ekairos components
Readme
Ekairos CLI
The official CLI for managing Ekairos UI components and agents.
Features
- Interactive UI: Built with Ink (React for CLI).
- Auto-Configuration: Automatically configures
components.jsonfor the Ekairos registry. - Component Management: Detects installed components and offers bulk updates.
- Seamless Integration: Wraps
shadcnCLI to ensure consistent installations. - Async/Session Mode: Designed for AI agents and automation.
Usage
Run the CLI in your project root:
npx ekairos@latestAI / Automation Mode
For automated interactions, use the --async flag. The CLI will output JSON state and exit, allowing you to resume the session with inputs.
Start Session:
npx ekairos --asyncOutput:
{ "sessionId": "uuid...", "step": "MENU", "inputSchema": { ... } }Continue Session:
npx ekairos --session <uuid> --input '{"action": "update-all"}'
Development
To run locally against a local registry:
- Start the registry server (
packages/registry). - Build the CLI:
pnpm --filter ekairos build - Run with override:
EKAIROS_REGISTRY_URL="http://localhost:3001" node packages/cli/dist/index.mjs
