Back to App Store

Miren

Miren · io.pilot.miren
Operate the Miren PaaS from an agent: deploy apps, run the server, and debug them.
Infrastructure Live on catalogue
Install
pilotctl appstore install io.pilot.miren
v0.1.0
Version
15
Methods
4.8 MB
Size
shareable
Sandbox
macOS · Linux
Platforms

About Miren

Miren is a deployment platform for small teams. This app is the app-store front door for the miren CLI, letting an agent drive a Miren PaaS over IPC.

What an agent gets: - Deploy lifecyclemiren.deploy (non-interactive build + deploy), miren.deploy.analyze (detect the stack/services without building), and miren.rollback. - Inspect appsmiren.apps, miren.app (status), miren.app.history, and miren.logs (JSON). - Server & diagnosticsmiren.server.install/miren.server.status, miren.doctor, miren.whoami, and miren.debug.connection/miren.debug.advertise. - Full CLI surfacemiren.exec runs any verbatim miren argv (addon, auth, env, route, cluster, disk, sandbox, and more).

Good to know: - Structured JSON is returned wherever the CLI offers it (e.g. pass --json). - Discover the live surface at runtime with miren.help — every method, its parameters, and its latency class (fast / med / slow). - Server-side commands need a configured cluster; without one, calls return a structured error ({stdout,stderr,exit}) telling the agent what to do next. - Runs on macOS and Linux (arm64 + amd64); the miren CLI is staged and sha-pinned on install.

Methods · 15

miren.exec
Run any miren subcommand. Payload is {"args":[...]} — the verbatim miren argv. Use this for the full CLI surface beyond the curated methods below (addon, auth, env, route, cluster, disk, sandbox, etc.). Run `miren help` or `miren <command> --help` for the surface. Example args: ["app","list","--json"]. Note: interactive subcommands (e.g. `app run`, `login`) and long-running ones (e.g. `server start`) are not suitable over IPC.
miren.apps
List all applications on the cluster (alias for `app list`).
miren.app
Show the current status of one application. Provide the app name.
miren.app.history
Show an application's deployment history.
miren.logs
Read recent logs for an application as JSON.
miren.deploy
Build and deploy the app in the current directory (non-interactive, --force).
miren.deploy.analyze
Analyze the app's detected stack/services without building or deploying.
miren.rollback
Roll an application back to its previous deployed version.
miren.doctor
Diagnose the miren environment and connectivity.
miren.whoami
Show the current authenticated user and cluster.
miren.server.install
Install the miren server as a systemd service on this host (Linux only).
miren.server.status
Show miren server service status (Linux only).
miren.debug.connection
Test connectivity and authentication with the miren server.
miren.debug.advertise
Show which addresses the server would advertise and why.
miren.help
Discovery: every method with params, kind, and latency class.

Full usage demo

When you need to operate a Miren PaaS from an agent — deploy or roll back apps and inspect their status, history, and logs — over IPC.

Run this first — List the applications on your cluster
Call
pilotctl appstore call io.pilot.miren miren.apps '{}'
{"stdout":"[{\"name\":\"web\",\"status\":\"running\"}]","exit":0}

Needs a configured cluster; if none is set up, output is a structured {stdout,stderr,exit} error telling you what to do next.

Worked examples

Show one app's status
Call
pilotctl appstore call io.pilot.miren miren.app '{"name":"web"}'
{"stdout":"...status...","exit":0}
Read recent logs as JSON
Call
pilotctl appstore call io.pilot.miren miren.logs '{"app":"web"}'
{"stdout":"[{\"ts\":...,\"msg\":...}]","exit":0}
Build + deploy the app in the current directory
Call
pilotctl appstore call io.pilot.miren miren.deploy '{}'
{"stdout":"...deployed...","exit":0}

Non-interactive (--force); deploys the CURRENT working directory.

Roll back to the previous version
Call
pilotctl appstore call io.pilot.miren miren.rollback '{}'
{"stdout":"...rolled back...","exit":0}
Reach any miren subcommand (passthrough)
Call
pilotctl appstore call io.pilot.miren miren.exec '{"args":["env","list","--app","web","--json"]}'
{"stdout":"{...}","exit":0}

Good to know

  • Server-side commands need a configured cluster; without one they return a structured {stdout,stderr,exit} error explaining the next step — not a crash.
  • miren.deploy builds and deploys the app in the CURRENT directory non-interactively (--force).
  • Interactive/long-running subcommands (app run, login, server start) aren't usable over IPC — use the curated methods instead.
  • Pass --json inside miren.exec args wherever the subcommand supports it to get structured output.
  • server install / server status are Linux-only.

Next

  • io.pilot.miren miren.help '{}'

What’s New

v0.1.0 Latest
  • Operate the Miren PaaS from an agent: deploy and roll back apps; inspect status, logs, and history; run the server; and diagnose connectivity — plus a passthrough exec for any miren subcommand.

Platform Compatibility

macOS Apple Silicon
2.9 MBSupported
macOS Intel
2.8 MBSupported
Linux arm64
3.0 MBSupported
Linux amd64
3.0 MBSupported
You might also like

More in Infrastructure