Treat $ARGUMENTS as exactly one provider action: claude, ollama, status, models, or update.
If it is empty, use status. Reject any other value.
Execute the BACKS provider controller:
python3 "$HOME/.local/share/backs-aios/provider-control/current/provider/backs_provider.py" "$ARGUMENTS"
Semantics:
ollamadiscovers the current Ollama catalog and resolves the whole Claude model-family lineup from ordered role preferences in one atomic settings transaction.clauderestores only BACKS-managed provider settings and returns Claude Code to the user's existing Anthropic/Claude OAuth path. Never log out, inspect, print, copy, or modify Claude OAuth credentials.statusreports the active provider and selected role mappings without exposing custom/private endpoint hostnames.modelsshows the currently discovered Ollama selections and ordered fallbacks. It does not change provider state.updatefast-forwards only the provider-control source from GitHub, refreshes its links, and executes provider safety tests. It does not replace the host's existing BACKS runtime deployment.
Do not perform per-model provider switching here. /provider is the control plane for the whole lineup.
Never print OLLAMA_API_KEY, Claude credentials, key-file contents, or secret-bearing environment values.