Appearance
hivecast command overview
The hivecast binary dispatches to one of three handlers depending on the subcommand:
- Direct wrapper command — handled inside
hivecast.mjsitself (install, start, stop, seed, doctor, login, connect, logout, whoami, link-status, operator). - Delegated to host-service CLI — passed through to the underlying Host Service process (status, runtimes, up, down, invoke, init).
- Unsupported — the wrapper exits 1 with a message pointing at
hivecast --help.
Authoritative command list
The following block is the exact help text emitted by hivecast --help (hivecast.mjs:432-457):
HiveCast Host commands:
hivecast install [--no-start] [--root <root>] [--http-port <port|0|auto>]
hivecast start [--root <root>] [--http-port <port|0|auto>]
hivecast seed
hivecast stop
hivecast status
hivecast runtimes
hivecast doctor [--cloud <url>] [--repair] [--json]
hivecast up <package-or-path>
hivecast up <package-or-path> --id <runtime-id> --mount <actor-mount>
hivecast up <package-or-path> --startup auto --restart always
hivecast down <runtime-id|package|mount>
hivecast invoke <mount> <op> [json]
hivecast login [--setup-code <code>] [--cloud <url>] [--route-key <key>]
hivecast connect <cloud-url> [--route-key <key>] [--name <device-name>]
hivecast whoami
hivecast logout [--local-only] [--revoke-cloud-link] [--all]
hivecast link-status
hivecast operator <command> [options]
Package commands live under the matrix binary: matrix install, matrix up, matrix down.
Source-checkout operator commands live under: hivecast operator --helpCommands grouped by purpose
| Group | Commands | What they do |
|---|---|---|
| Host lifecycle | install, start, stop, seed | bring the local Host into existence and supervise it |
| Inspection | status, runtimes, doctor | report state of the local Host and its runtimes |
| Package supervision | up, down, invoke | start/stop a package as a supervised runtime; call into a mounted actor |
| Cloud pairing | login, connect, logout, whoami, link-status | pair this Device to a HiveCast account, inspect or sever the link |
| Source-checkout (dev) | operator, ops | run dev/operator scripts that require the matrix-work-harness checkout (registry parity, bootstrap publishing, deploy refresh) |
| Internal | bootstrap-default-runtimes | called by the systemd ExecStartPost hook; not for direct human use |
Where it lives in source
- Wrapper dispatch:
hivecast.mjs:1738-1789— the chainedif/else ifthat routes the command. - Help text:
hivecast.mjs:432-457— the canonical signature listing. - Delegated-command list:
hivecast.mjs:425— the array['init', 'status', 'runtimes', 'up', 'down', 'invoke']decides which commands fall through to host-service. - Direct-handler functions: named
installHostProduct,startHostProduct,stopHostProduct,bootstrapHostProduct,runHostDoctor,runSeedCommand,runHiveCastLinkCommand,runHiveCastOperatorCommand.
What is NOT yet a hivecast subcommand
The following entries appear in the original docs portal TOC but do not map to a real command in the current code:
hivecast host— there is nohivecast hostsubcommand. The host-lifecycle commands are bare verbs:install,start,stop. Target state would be a groupedhivecast host <verb>; not in code today.hivecast package— package authoring commands live under thematrixbinary, nothivecast. The wrapper's help text says so explicitly: "Package commands live under the matrix binary: matrix install, matrix up, matrix down."hivecast logs— there is nohivecast logssubcommand. Logs are read withjournalctl -u <service>for systemd-managed Hosts or via the per-runtime files under<host-home>/logs/runtimes/.hivecast actor invoke— the actual command ishivecast invoke <mount> <op> [json](noactorprefix).
These are documented for completeness on their own pages so navigation isn't broken, but each one is marked clearly as not implemented with a pointer to the real command.
See also
- hivecast install / start / stop — host lifecycle (the real verbs)
- hivecast up / down — package supervision (real)
- hivecast invoke — call into mounted actors (real)
- hivecast login / whoami / logout — cloud pairing (real)
- Exit codes and diagnostics — exit-code semantics