Skip to main content

AuthHelpers

PropertyValue
descriptionAuth and AI launch module behind the grouped MAC CLI auth surface.
relatedMAC CLI, Configuration, Testing

AuthHelpers is the separate auth/session module behind mac-cli auth ....

It keeps the repo-workflow CLI focused on Git/workspace operations while still providing a standard entrypoint for AI readiness checks, token loading, and provider-based launch flows.

Current Major Areas

Current Public Shape

User-facing auth flows are routed through:

  • mac-cli auth check-ai
  • mac-cli auth load-github-mcp-token
  • mac-cli auth start-ai

Internal helper function names still exist inside the module, but they are not the intended public command surface.

Current Provider Model

The tracked default config currently ships with:

  • default provider = Codex
  • default profile = default
  • default launch command = codex
  • default hook pipeline that loads GITHUB_PAT_TOKEN from 1Password before launch