CLI and Node Runtime: Current State
This page is the implementation snapshot for the CLI and runtime work as it exists today.
What Exists
CLI package
- Public npm package:
@cig-technology/cli - Release tags:
cli-v*.*.* - Local release helper under
packages/cli/scripts/release.sh - Package-local versioning and README guard workflow
- Command surface for auth, setup, install, enroll, connect, status, open, upgrade, and uninstall
- Root
install.shonboarding wrapper for Linux and macOS - Dashboard-hosted self-hosted bootstrap flow for first-admin setup
Runtime-oriented groundwork
packages/runtime-contractsdefines shared node/profile/permission contractspackages/node-runtimeexists as a Linux-first runtime skeleton- the CLI can stage a runtime bundle with config, identity, and a rendered
systemdunit file - the API now seeds and hashes bootstrap tokens for the dashboard bootstrap handoff
API compatibility work
- enrollment accepts client-generated public keys
- CLI enrollment generates Ed25519 keys locally
- bootstrap status and completion routes gate the first-admin setup flow
What Works End-to-End Today
- publishable CLI package build/test/pack flow
- local credential and state persistence
- self-hosted compose generation, bootstrap token seeding, and dashboard bootstrap handoff
- self-hosted local stack startup attempt via Docker Compose
- managed login and enrollment request flow
- interactive
cig setuponboarding flow - automatic initial graph capture during install, with upload once auth is available
What Remains Partial
- managed installs produce a local runtime bundle, but do not install it on a host
status,upgrade, anduninstalloperate on local saved state, not on a fully managed remote runtimeconnect awsandconnect gcpstore references only; they do not validate real cloud access- the CLI still depends on the dashboard and API bootstrap endpoints for first-run self-hosted admin creation
What Does Not Exist Yet
- privileged Linux installer for
/etc/cig-node,/var/lib/cig-node, andcig-node.service - runtime graph-delta spool and offline queue
- connector worker supervision
/api/v1/nodes/*control-plane contract- node certificate rotation and revocation
- end-to-end permissions approval workflow
- remote SSH bootstrap
- browser wizard implementation in
apps/wizard-ui