Start AI
mac-cli auth start-ai is the provider-based AI launch surface.
It resolves the provider/profile config, runs the configured pre-launch hook pipeline unless skipped, and launches the configured AI CLI unless -NoLaunch is specified.
Example Usage
mac-cli auth start-ai
mac-cli auth start-ai -NoLaunch -Dry
mac-cli auth start-ai -NoLaunch -NoHooks -Pass
mac-cli auth start-ai -Provider Claude -NoLaunch
mac-cli auth start-ai -Hook mac-cli-auth-load-github-mcp-token -NoLaunch -Dry
Current Flow
- resolve provider/profile config
- resolve launch command and arguments
- collect hook list or
-Hookoverride - run hooks unless
-NoHooksis used - launch the provider CLI unless
-NoLaunchis used
Current Provider Model
The tracked shared config ships with:
- provider =
Codex - profile =
default - launch command =
codex - hook list =
mac-cli-auth-load-github-mcp-token
Current Maintainer Notes
-Passis the main inspection path when a structured launch plan or hook result set is neededContinueOnHookErroris configured per profile- provider expansion should happen in config and docs, not by splitting the public command surface