Prepare and maintain your computer
aidcx --installInstalls and repairs what AIDC Launch needs; --dry-run previews, --user and --system choose one halfaidcx --uninstallLists what AIDC Launch installed for you; add --force to remove it. Run it as yourself, without sudoaidcx doctorChecks your computer and, with a project, its workspace settingsaidcx loginSigns you in to MAIT; --check renews and reports the sign-inaidcx updateUpdates AIDC Launch; needs a MAIT sign-inaidcx version, aidcx helpPrints the version, or help for a commandaidcx --install--dry-run previews, --user and --system choose one halfaidcx --uninstall--force to remove it. Run it as yourself, without sudoaidcx doctoraidcx login--check renews and reports the sign-inaidcx updateaidcx version, aidcx help--install and --uninstall are written as options, with no command word. Uninstall lists anything left to remove by hand.
Set up a project
aidcx scaffoldCreates or updates the project's workspace definition; keep your own copy of a file you edited by handaidcx scaffold --dry-runShows what would changeaidcx start --effectiveWrites the settings a start would use, without startingaidcx scaffoldaidcx scaffold --dry-runaidcx start --effectivescaffold accepts every option from workspace settings. On a terminal it asks which extra access to grant; without a terminal it grants none.
Start a workspace
aidcx start creates, resumes or refreshes the workspace for the project.
--trustedTrusts the project on its first start; later starts do not need it--rebuildRemoves the workspace and creates it again--branch <name>Starts a separate checkout and workspace for that branch--name <name>Starts another named copy on the same branch, sharing its files--carry-over <paths>Copies ignored files into a new branch checkout, once--ports offset or ephemeralAvoids port clashes between branch workspaces--image <image>Uses another image for this start--frozen-lockfileFails if the project's pinned workspace options changed--trusted--rebuild--branch <name>--name <name>--carry-over <paths>--ports offset or ephemeral--image <image>--frozen-lockfileIt also accepts every option from workspace settings.
Work inside a workspace
aidcx shellOpens a shell; --root opens it as the administratoraidcx exec <command>Runs one command and returns its exit codeaidcx cp <from> <to>Copies a file or folder in or out; mark the workspace side with container:aidcx codeOpens the workspace in VS Codeaidcx stopStops the workspace and keeps itaidcx shell--root opens it as the administratoraidcx exec <command>aidcx cp <from> <to>container:aidcx codeaidcx stopExample: aidcx cp ./report.json container:/tmp/report.json.
See and check workspaces
aidcx listLists the project's workspaces with branch, status, ports and runtimeaidcx inspectShows each setting of a running workspace and where it came fromaidcx healthShows resource use, checks and suggestionsaidcx logsShows the start log saved by aidcx start --debugaidcx feature <name> statusShows what a listed feature requested and its current stateaidcx listaidcx inspectaidcx healthaidcx logsaidcx start --debugaidcx feature <name> statusClean up
aidcx deleteRemoves one workspace after asking; --keep-volumes keeps its stored dataaidcx pruneRemoves stopped workspaces and leftover checkouts you tick; never deletes Git branchesaidcx distillSaves a running workspace as a local image after a reviewaidcx delete--keep-volumes keeps its stored dataaidcx pruneaidcx distillProjects, devices and display
aidcx workspace add <path> --alias <name>Gives a project a short name; list, info, rename and forget manage namesaidcx feature usb attach --device <id>Attaches a USB device when USB is dynamicaidcx feature audio attachConnects your speakers or microphone when sound is bridgeaidcx relay statusOn Linux, shows the connection that brings graphical apps and sound to your desktop; restart restarts itaidcx workspace add <path> --alias <name>list, info, rename and forget manage namesaidcx feature usb attach --device <id>dynamicaidcx feature audio attachbridgeaidcx relay statusrestart restarts itRunning without prompts
AIDC Launch asks when a real choice comes up. In scripts, answer those choices with options instead:
--invalid-lines comment or failWhat to do with broken lines in the workspace definition--dirty-worktree remove or failWhether to remove a checkout with unsaved or unpushed work--forceSkips the confirmation of that command--verbose, --debugPrint more detail--invalid-lines comment or fail--dirty-worktree remove or fail--force--verbose, --debugWithout a terminal, AIDC Launch stops and names the option it needs instead of choosing for you.