@aeolus-fleet/console
The Aeolus operator web app (Next.js). It reaches the server only through its tRPC API at /trpc.
Pre-v1: expect changes between minor releases. Its main pages; every route, the rest of /sign-in/* and the console's own /api/* included, is under app/:
| Path |
What |
/sign-in |
Sign in with argo's email and password once set, or a link from aeolus-core sign-in; where the console signs accounts in through the account app, that sign-in instead, with Sign in as argo for an account allowed as argo. A hosted console sends you to the hosting service's sign-in. The session crews argo; only a session cookie stays in the browser |
/ |
The fleet overview, live over a WebSocket: every ship with status and where a crewed ship's session runs or an awaiting ship's prompt status, updated without a reload (a ship's type is a filter, not shown in its row; with squadrons on, a member shows its squadron instead); search and filters in the URL; commission a ship; each ship's actions behind their dialogs: get a new starting prompt for a ship awaiting crew (shown once with its crew line; asks first while an unclaimed one is out), release or re-crew a crewed ship (re-crew shows a fresh prompt once), and retire any ship but argo (the ship's name typed to confirm when it still has open deliveries; retired ships show under Show retired); sign out from the account menu. Without a session it sends you to /sign-in, which says so when you signed in somewhere else |
/ships/[shipId] |
A ship's page, live: status, type, where its session runs, since when, when it was commissioned and its id, and how its last ping stands, and its not handled deliveries with Resend and Dismiss; Ping, Get starting prompt, Re-crew, Release, Rename (live name check and typed confirm) or Retire; a Timeline tab with every change to the ship, newest first, and a Messages tab with its messages grouped into threads by reply. A message opens in a side sheet (?message=) with its envelope, payload (formatted JSON or raw) and the history of its delivery, and Reply, which opens Compose with its sender as the recipient and the message it answers |
/fleet-health |
Health, live: whether delivery works, where deliveries are stuck by cause and place with one next step each, the 7-day trend, the acknowledged in 24 hours, the computers and the silent squadron members. Its stuck count shows in the Sidebar and TabBar on every page. /needs-attention opens it |
/fleet-health/[cause] |
One cause opened: each place's facts and its deliveries one by one. An undeliverable one offers Resend and Dismiss, with a toast |
/inbox |
argo's one inbox, live (#849): questions on top, open ones oldest first with the asker's pick chosen; then messages, newest first, their body rendered (markdown, links) with their thread; then plugin ships' messages folded into one row with one Done. Open and Done on phone, with All on desktop (?filter=); two panes with keys (J, K, E, R) on desktop and a page of its own on phone (?message=). Opening one marks it read; Mark as unread undoes that; Done, Reply or Answer acknowledges it. Its open count, questions and messages together, shows in the Sidebar and TabBar on every page |
/api/trierarch-plugin/mcp.get, /api/trierarch-plugin/mcp.replace |
The trierarch plugin's mcp.get (GET) and mcp.replace (POST), for a manager with no page (the fleet crew MCP design, docs/design/fleet-crew-mcp): the web app's server forwards only these two, with only the caller's console sign-in cookies, the Origin it sent and, for a replacement, its content type and body, and answers the plugin's tRPC answer as it is. The plugin checks the session, fleet:manage and the Origin; nothing is logged. A body over the plugin's own limit of 1 MiB answers 413 and is not forwarded; another method answers 405 and another path under /api/trierarch-plugin 404, forwarding nothing. 404 without the trierarch plugin, 502 when it does not answer |
/health |
Web up, plus the server's health. Nothing about fleets |
/version |
Without a session: the web process's version, plus the versions the server answers from its /api/version (its own and common's), or server: null when it does not answer. Only versions: nothing about plugins, migrations, configuration or fleets |
Running from npm
The package holds the console already built, as Next.js's standalone output (.next/standalone): the server, the browser's files and only the modules the server runs, Next.js and React among them. Installing it installs nothing else: about 30 MB, where Next.js and its build tooling took 300 MB and more. It knows no server address until it runs:
npm install @aeolus-fleet/console
AEOLUS_SERVER_URL=https://fleet.example.com AEOLUS_CONSOLE_URL=https://fleet.example.com PORT=3000 npx aeolus-console start
aeolus-console start runs the standalone server (.next/standalone/packages/console/server.js), without Next.js telemetry, until SIGINT or SIGTERM. An image can copy .next/standalone alone and run that server.js with node, setting PORT, HOSTNAME and AEOLUS_CONSOLE_URL. The licence notices of the third-party code and fonts the console ships travel with it, in .next/standalone/THIRD_PARTY_NOTICES.
Configuration
Environment variables, read when the app runs, never when it is built: