#compdef vigthoria vig vigthoria-chat
# Generated from contracts/phase-0/command-manifest.json; do not edit.
_vigthoria() {
  local -a commands
  commands=(
    'agent:Start agentic mode - AI can read/write files, run commands'
    'auth:Manage Vigthoria CLI authentication'
    'background:Run and manage detached Vigthoria Agent jobs'
    'bridge:Inspect local DevTools Bridge availability for browser debugging tasks'
    'cancel:Cancel an in-flight V3 agent run (by context_id), or use --all to cancel every active run'
    'chat:Start interactive chat with Vigthoria AI'
    'chat-resume:Resume the latest chat session for the current or specified project'
    'commands:List every CLI command grouped by command family'
    'config:Configure Vigthoria CLI settings'
    'creative:Plan guarded media workflows with the native V2 Creative Agent'
    'deploy:Deploy and host your project on Vigthoria infrastructure'
    'device:Android Developer Bridge commands via local ADB'
    'devtools:DevTools Bridge commands for browser debugging'
    'doctor:Run local Vigthoria CLI diagnostics (no network calls unless --check-api)'
    'edit:Edit a file with AI assistance'
    'explain:Explain code in a file'
    'fix:Fix issues in a file'
    'fork:Fork from an existing V3 agent run with new instructions'
    'game:Create, run, and validate Babylon/VGE game projects'
    'generate:Generate code from description'
    'history:List recent V3 agent runs'
    'hub:Discover, search, and activate Vigthoria API modules'
    'hyper-loop:Hyper Loop Legion orchestrator commands'
    'init:Initialize Vigthoria in current project'
    'legion:Run parallel tasks via Hyper Loop Legion orchestrator'
    'login:Login to Vigthoria Coder (prompts for credentials when run without flags)'
    'logout:Logout from Vigthoria Coder'
    'menu:Open the interactive command-family menu'
    'music:Generate songs with Vigthoria Music AI / ACE-Step'
    'operator:Start BMAD operator mode for infrastructure and system workflows'
    'preview:Preview project locally with visual diffs and proof validation'
    'replay:Replay events from a V3 agent run step-by-step'
    'repo:Push and pull projects to/from your Vigthoria Community Repository'
    'review:Review code quality'
    'security:Run bounded local security scans, scores, and reviewed fix plans'
    'status:Show authentication and subscription status'
    'update:Check for updates and upgrade Vigthoria CLI. Default manifest: https://extension.vigthoria.io/downloads/manifest.json'
    'v4:Launch Vigthoria V4 Operating Agent (DeerFlow 2.0 harness)'
    'v4-menu:Internal: interactive V3/V4 agent + provider picker used by the V4 Operating Agent launcher'
    'wallet:Inspect monetary Vigthoria Credits used for Cloud, API, Video, and other PAYG services'
    'workflow:List, instantiate, and run repeatable VigFlow workflows'
  )
  _describe 'command' commands
}
_vigthoria "$@"
