@openape/cli
v0.2.1
Published
OpenApe CLI — install and manage OpenApe components (proxy, sudo, auth)
Maintainers
Readme
@openape/cli
Install and manage OpenApe components — proxy, sudo (apes), and more.
Usage
With traditional sudo
sudo npx @openape/cli install-proxy \
--idp-url https://id.openape.at \
--agent-email [email protected]
sudo npx @openape/cli install-sudo \
--idp-url https://id.openape.atWith apes (agent-friendly, grant-approved)
apes -- npx @openape/cli install-proxy \
--idp-url https://id.openape.at \
--agent-email [email protected]The CLI itself has no knowledge of apes — it just writes files and sets up services. apes wraps it for privilege elevation with human-approved grants.
Commands
install-proxy
Installs the OpenApe HTTP Proxy.
| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| --idp-url | ✅ | — | Identity Provider URL |
| --agent-email | ✅ | — | Agent email identity |
| --listen | | 127.0.0.1:9090 | Listen address |
| --default-action | | block | block, request, or request-async |
| --audit-log | | /var/log/openape-proxy/audit.log | Audit log path |
| --force | | | Overwrite existing config |
install-sudo
Installs apes (OpenApe privilege elevation). Requires Rust toolchain.
| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| --idp-url | ✅ | — | Identity Provider URL |
| --poll-timeout | | 300 | Grant poll timeout (seconds) |
| --poll-interval | | 2 | Grant poll interval (seconds) |
| --force | | | Overwrite existing binary/config |
Requirements
License
MIT
