nextmv 1.9.1.dev1__tar.gz → 1.9.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/PKG-INFO +1 -1
- nextmv-1.9.2/nextmv/__about__.py +1 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/auth.py +51 -2
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/auth/login.py +20 -2
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/configuration/create.py +85 -30
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/config.py +15 -11
- nextmv-1.9.1.dev1/nextmv/__about__.py +0 -1
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/.python-version +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/CONTRIBUTING.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/LICENSE +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/__entrypoint__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/_serialization.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/account.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/base_model.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cache.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/auth/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/auth/logout.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cache/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cache/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cache/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/acceptance/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/acceptance/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/acceptance/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/acceptance/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/acceptance/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/acceptance/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/account/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/account/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/account/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/account/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/account/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/app/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/app/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/app/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/app/exists.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/app/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/app/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/app/push.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/app/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/batch/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/batch/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/batch/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/batch/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/batch/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/batch/metadata.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/batch/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/data/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/data/upload.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/ensemble/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/ensemble/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/ensemble/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/ensemble/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/ensemble/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/ensemble/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/input_set/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/input_set/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/input_set/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/input_set/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/input_set/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/input_set/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/instance/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/instance/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/instance/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/instance/exists.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/instance/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/instance/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/instance/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/managed_input/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/managed_input/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/managed_input/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/managed_input/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/managed_input/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/managed_input/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/app/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/app/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/app/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/app/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/app/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/subscription/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/subscription/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/subscription/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/subscription/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/subscription/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/version/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/version/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/version/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/version/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/marketplace/version/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/cancel.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/clone.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/compare.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/information.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/input.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/logs.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/metadata.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/run/track.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/scenario/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/scenario/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/scenario/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/scenario/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/scenario/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/scenario/metadata.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/scenario/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/secrets/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/secrets/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/secrets/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/secrets/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/secrets/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/secrets/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/metadata.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/start.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/stop.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/shadow/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/disable.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/domain/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/domain/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/enable.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/sso/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/metadata.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/start.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/stop.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/switchback/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/upload/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/upload/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/version/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/version/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/version/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/version/exists.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/version/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/version/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/cloud/version/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/community/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/community/clone.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/community/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/configuration/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/configuration/config.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/configuration/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/configuration/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/init.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/app/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/app/delete.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/app/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/app/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/app/register.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/app/registered.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/app/sync.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/app/update.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/clone.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/compare.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/create.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/get.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/information.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/input.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/list.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/logs.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/metadata.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/local/run/visuals.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/manifest/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/manifest/init.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/manifest/validate.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/serve.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/server.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/WORKFLOW.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/_helpers.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/acceptance.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/account.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/app.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/batch.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/community.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/ensemble.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/guide.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/input_set.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/instance.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/local.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/managed_input.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/profile.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/run.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/scenario.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/secrets.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/shadow.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/sso.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/switchback.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/mcp/tools/version.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/message.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/options.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cli/version.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/acceptance_test.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/account.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_acceptance.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_batch_scenario.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_ensemble.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_input_set.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_instance.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_managed_input.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_run.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_secrets.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_shadow.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_switchback.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_utils.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/application/_version.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/assets.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/batch_experiment.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/client.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/community.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/ensemble.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/input_set.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/instance.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/integration.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/marketplace.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/package.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/scenario.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/secrets.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/shadow.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/sso.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/switchback.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/url.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/cloud/version.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/content_format.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/deprecated.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/input.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/local/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/local/application.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/local/executor.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/local/geojson_handler.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/local/local.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/local/plotly_handler.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/local/registry.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/local/runner.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/logger.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/manifest.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/model.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/options.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/output.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/polling.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/run.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/safe.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/status.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/binary_json.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/binary_json_opt.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/binary_multi-file.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/binary_multi-file_opt.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_json.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_json_hello-world/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_json_hello-world/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_json_hello-world/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_json_hello-world/go.mod +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_json_hello-world/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_json_hello-world/main.go +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_json_opt.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_multi-file.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_multi-file_hello-world/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_multi-file_hello-world/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_multi-file_hello-world/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_multi-file_hello-world/go.mod +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_multi-file_hello-world/inputs/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_multi-file_hello-world/main.go +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/go_multi-file_opt.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_json.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_json_hello-world/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_json_hello-world/Main.java +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_json_hello-world/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_json_hello-world/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_json_hello-world/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_json_hello-world/pom.xml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_json_opt.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_multi-file.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_multi-file_hello-world/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_multi-file_hello-world/Main.java +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_multi-file_hello-world/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_multi-file_hello-world/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_multi-file_hello-world/inputs/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_multi-file_hello-world/pom.xml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/java_multi-file_opt.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_class-assign/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_class-assign/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_class-assign/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_class-assign/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_class-assign/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_class-assign/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_class-assign/uv.lock +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_class-assign/visualizations.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/allocation/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/allocation/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/allocation/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/allocation/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/allocation/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/allocation/uv.lock +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/allocation/visuals.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/workflow/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/workflow/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/workflow/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/workflow/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/workflow/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/workflow/uv.lock +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_demand-alloc/workflow/visuals.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_hello-world/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_hello-world/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_hello-world/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_hello-world/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_hello-world/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_hello-world/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_hello-world/uv.lock +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_json_opt.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_class-assign/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_class-assign/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_class-assign/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_class-assign/inputs/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_class-assign/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_class-assign/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_class-assign/uv.lock +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_class-assign/visualizations.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/allocation/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/allocation/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/allocation/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/allocation/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/allocation/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/allocation/uv.lock +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/allocation/visuals.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/workflow/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/workflow/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/workflow/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/workflow/inputs/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/workflow/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/workflow/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/workflow/uv.lock +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_demand-alloc/workflow/visuals.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_hello-world/.gitignore +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_hello-world/README.md +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_hello-world/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_hello-world/inputs/input.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_hello-world/main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_hello-world/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_hello-world/uv.lock +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/templates/python_multi-file_opt.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/nextmv/uv_handler.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/pyproject.toml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/manifest/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/manifest/test_init.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/test_configuration.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/test_init_cli_call.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/test_login.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/test_main.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/test_mcp.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cli/test_version.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cloud/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cloud/app.yaml +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cloud/test_client.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cloud/test_instance.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cloud/test_package.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/cloud/test_scenario.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/integration/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/integration/cloud/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/integration/cloud/test_integration_cloud.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/integration/cloud/test_integration_marketplace.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/local/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/local/test_application.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/local/test_executor.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/local/test_registry.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/local/test_runner.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/scripts/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/scripts/options1.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/scripts/options2.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/scripts/options3.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/scripts/options4.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/scripts/options5.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/scripts/options6.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/scripts/options7.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_auth.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_base_model.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_cache.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_config.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_entrypoint/__init__.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_entrypoint/test_entrypoint.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_input.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_inputs/test_data.csv +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_inputs/test_data.json +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_inputs/test_data.txt +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_logger.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_manifest.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_model.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_options.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_output.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_polling.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_run.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_safe.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_serialization.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_uv_handler.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/tests/test_version.py +0 -0
- {nextmv-1.9.1.dev1 → nextmv-1.9.2}/uv.lock +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "v1.9.2"
|
|
@@ -91,6 +91,14 @@ DEFAULT_AUTH_SESSION = "default"
|
|
|
91
91
|
# >>> Token storage
|
|
92
92
|
|
|
93
93
|
|
|
94
|
+
# >>> Shared helpers
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def _strip_scheme(url: str) -> str:
|
|
98
|
+
"""Strip a leading ``https://`` or ``http://`` scheme and trailing slash."""
|
|
99
|
+
return url.strip().removeprefix("https://").removeprefix("http://").rstrip("/")
|
|
100
|
+
|
|
101
|
+
|
|
94
102
|
# >>> TLS helpers
|
|
95
103
|
|
|
96
104
|
|
|
@@ -759,6 +767,7 @@ def run_pkce_flow(
|
|
|
759
767
|
oidc_discovery_url: str | None = None,
|
|
760
768
|
client_id: str | None = None,
|
|
761
769
|
force: bool = False,
|
|
770
|
+
identity_provider: str | None = None,
|
|
762
771
|
) -> dict[str, Any]:
|
|
763
772
|
"""
|
|
764
773
|
Execute the full PKCE authorization-code flow.
|
|
@@ -788,6 +797,10 @@ def run_pkce_flow(
|
|
|
788
797
|
which clears any active browser session, and chains all authorization
|
|
789
798
|
parameters onto it so that the provider immediately presents the login
|
|
790
799
|
page. Defaults to ``False``.
|
|
800
|
+
identity_provider : str | None
|
|
801
|
+
When set, adds ``identity_provider=<value>`` to the authorization URL
|
|
802
|
+
so that Cognito delegates to a third-party SSO provider. Use
|
|
803
|
+
:func:`fetch_sso_provider` to resolve the identifier from a domain.
|
|
791
804
|
|
|
792
805
|
Returns
|
|
793
806
|
-------
|
|
@@ -823,6 +836,8 @@ def run_pkce_flow(
|
|
|
823
836
|
"code_challenge": code_challenge,
|
|
824
837
|
"state": state,
|
|
825
838
|
}
|
|
839
|
+
if identity_provider:
|
|
840
|
+
auth_params["identity_provider"] = identity_provider
|
|
826
841
|
|
|
827
842
|
if force:
|
|
828
843
|
# Use the logout endpoint to clear the Cognito session, then chain the
|
|
@@ -917,8 +932,8 @@ def fetch_organizations(access_token: str, endpoint: str) -> list[dict[str, Any]
|
|
|
917
932
|
f"Refusing to send tokens over plain HTTP for endpoint {endpoint!r}. Use https:// or a bare hostname."
|
|
918
933
|
)
|
|
919
934
|
# Strip https:// if present so we always build a consistent URL.
|
|
920
|
-
bare = endpoint
|
|
921
|
-
url = f"https://{bare
|
|
935
|
+
bare = _strip_scheme(endpoint)
|
|
936
|
+
url = f"https://{bare}/v1/internal/me/organization"
|
|
922
937
|
resp = requests.get(
|
|
923
938
|
url,
|
|
924
939
|
headers={"Authorization": f"Bearer {access_token}", "Content-Type": "application/json"},
|
|
@@ -926,3 +941,37 @@ def fetch_organizations(access_token: str, endpoint: str) -> list[dict[str, Any]
|
|
|
926
941
|
)
|
|
927
942
|
resp.raise_for_status()
|
|
928
943
|
return resp.json()
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
def fetch_sso_provider(domain: str, endpoint: str) -> str | None:
|
|
947
|
+
"""
|
|
948
|
+
Check whether a third-party SSO provider is enabled for *domain*.
|
|
949
|
+
|
|
950
|
+
Calls ``GET https://<endpoint>/v1/enterprise/sso/domain?domain=<domain>``
|
|
951
|
+
(no authentication required). Returns the ``domain_identifier`` if SSO is
|
|
952
|
+
enabled, or ``None`` otherwise.
|
|
953
|
+
|
|
954
|
+
Parameters
|
|
955
|
+
----------
|
|
956
|
+
domain : str
|
|
957
|
+
The email domain to check, e.g. ``"nextmv.io"``.
|
|
958
|
+
endpoint : str
|
|
959
|
+
The API endpoint hostname, e.g. ``"api.cloud.nextmv.io"``.
|
|
960
|
+
|
|
961
|
+
Returns
|
|
962
|
+
-------
|
|
963
|
+
str | None
|
|
964
|
+
The ``domain_identifier`` when SSO is enabled, ``None`` otherwise.
|
|
965
|
+
"""
|
|
966
|
+
if endpoint.startswith("http://"):
|
|
967
|
+
raise ValueError(
|
|
968
|
+
f"Refusing to connect over plain HTTP for endpoint {endpoint!r}. Use https:// or a bare hostname."
|
|
969
|
+
)
|
|
970
|
+
bare = _strip_scheme(endpoint)
|
|
971
|
+
url = f"https://{bare}/v1/enterprise/sso/domain?domain={domain}"
|
|
972
|
+
resp = requests.get(url, timeout=10)
|
|
973
|
+
resp.raise_for_status()
|
|
974
|
+
body: dict[str, str] = resp.json()
|
|
975
|
+
if body.get("enabled") and body.get("domain_identifier"):
|
|
976
|
+
return body["domain_identifier"]
|
|
977
|
+
return None
|
|
@@ -13,7 +13,7 @@ from typing import Annotated
|
|
|
13
13
|
|
|
14
14
|
import typer
|
|
15
15
|
|
|
16
|
-
from nextmv.auth import apply_system_certs, run_pkce_flow, save_tokens
|
|
16
|
+
from nextmv.auth import apply_system_certs, fetch_sso_provider, run_pkce_flow, save_tokens
|
|
17
17
|
from nextmv.cli.message import error, in_progress, info, success, warning
|
|
18
18
|
from nextmv.config import (
|
|
19
19
|
CLIENT_ID_KEY,
|
|
@@ -23,6 +23,7 @@ from nextmv.config import (
|
|
|
23
23
|
get_auth_type,
|
|
24
24
|
get_endpoint_oidc_config,
|
|
25
25
|
get_profile_endpoint,
|
|
26
|
+
get_sso_domain,
|
|
26
27
|
get_system_certs,
|
|
27
28
|
list_pkce_profiles,
|
|
28
29
|
load_config,
|
|
@@ -120,7 +121,7 @@ def login(
|
|
|
120
121
|
_run_login(profiles_to_login, config, sessions, force)
|
|
121
122
|
|
|
122
123
|
|
|
123
|
-
def _run_login(profiles_to_login: list[str | None], config: dict, sessions: dict, force: bool) -> None:
|
|
124
|
+
def _run_login(profiles_to_login: list[str | None], config: dict, sessions: dict, force: bool) -> None: # noqa: C901
|
|
124
125
|
"""Run the login flow for the given list of profiles."""
|
|
125
126
|
failed: list[str] = []
|
|
126
127
|
# Deduplicate: one browser flow per unique (session, endpoint) pair.
|
|
@@ -129,6 +130,7 @@ def _run_login(profiles_to_login: list[str | None], config: dict, sessions: dict
|
|
|
129
130
|
seen_sessions: dict[tuple[str, str], list[str]] = {} # (session, endpoint) -> [display_name, ...]
|
|
130
131
|
session_oidc: dict[tuple[str, str], tuple[str | None, str | None]] = {}
|
|
131
132
|
session_system_certs: dict[tuple[str, str], bool] = {}
|
|
133
|
+
session_sso_domain: dict[tuple[str, str], str | None] = {}
|
|
132
134
|
|
|
133
135
|
for prof in profiles_to_login:
|
|
134
136
|
display_name = prof if prof is not None else "default"
|
|
@@ -148,11 +150,26 @@ def _run_login(profiles_to_login: list[str | None], config: dict, sessions: dict
|
|
|
148
150
|
session_oidc[key] = (oidc_cfg.get(OIDC_DISCOVERY_URL_KEY), oidc_cfg.get(CLIENT_ID_KEY))
|
|
149
151
|
if get_system_certs(config, prof):
|
|
150
152
|
session_system_certs[key] = True
|
|
153
|
+
sso = get_sso_domain(config, prof)
|
|
154
|
+
if sso and key not in session_sso_domain:
|
|
155
|
+
session_sso_domain[key] = sso
|
|
151
156
|
|
|
152
157
|
for (session, endpoint), profile_names in seen_sessions.items():
|
|
153
158
|
oidc_discovery_url, oidc_client_id = session_oidc[(session, endpoint)]
|
|
154
159
|
if session_system_certs.get((session, endpoint), False):
|
|
155
160
|
apply_system_certs()
|
|
161
|
+
|
|
162
|
+
identity_provider: str | None = None
|
|
163
|
+
sso_domain = session_sso_domain.get((session, endpoint))
|
|
164
|
+
if sso_domain:
|
|
165
|
+
try:
|
|
166
|
+
identity_provider = fetch_sso_provider(sso_domain, endpoint)
|
|
167
|
+
except Exception:
|
|
168
|
+
warning(
|
|
169
|
+
f"Failed to check SSO status for domain [magenta]{sso_domain}[/magenta]. "
|
|
170
|
+
"Falling back to standard login."
|
|
171
|
+
)
|
|
172
|
+
|
|
156
173
|
profiles_display = ", ".join(f"[magenta]{n}[/magenta]" for n in profile_names)
|
|
157
174
|
in_progress(
|
|
158
175
|
f"Logging in to session [magenta]{session}[/magenta] "
|
|
@@ -164,6 +181,7 @@ def _run_login(profiles_to_login: list[str | None], config: dict, sessions: dict
|
|
|
164
181
|
oidc_discovery_url=oidc_discovery_url,
|
|
165
182
|
client_id=oidc_client_id,
|
|
166
183
|
force=force,
|
|
184
|
+
identity_provider=identity_provider,
|
|
167
185
|
)
|
|
168
186
|
save_tokens(session, tokens)
|
|
169
187
|
success(f"Logged in to session [magenta]{session}[/magenta] successfully.")
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
This module defines the configuration create command for the Nextmv CLI.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import sys
|
|
6
|
+
from typing import Annotated, Any
|
|
6
7
|
|
|
7
8
|
import typer
|
|
8
9
|
from rich.prompt import Prompt
|
|
9
10
|
|
|
10
11
|
from nextmv.auth import (
|
|
11
12
|
CLIENT_ID,
|
|
13
|
+
_strip_scheme,
|
|
12
14
|
_validate_id_token,
|
|
13
15
|
apply_system_certs,
|
|
14
16
|
delete_tokens,
|
|
15
17
|
fetch_organizations,
|
|
18
|
+
fetch_sso_provider,
|
|
16
19
|
is_invalid_grant_error,
|
|
17
20
|
is_token_expired,
|
|
18
21
|
load_tokens,
|
|
@@ -32,11 +35,11 @@ from nextmv.config import (
|
|
|
32
35
|
DEFAULT_ENDPOINT,
|
|
33
36
|
ENDPOINT_KEY,
|
|
34
37
|
OIDC_DISCOVERY_URL_KEY,
|
|
38
|
+
SSO_DOMAIN_KEY,
|
|
35
39
|
SYSTEM_CERTS_KEY,
|
|
36
40
|
TEAM_ID_KEY,
|
|
37
41
|
AuthType,
|
|
38
42
|
_normalize_oidc_discovery_url,
|
|
39
|
-
_strip_scheme,
|
|
40
43
|
get_endpoint_oidc_config,
|
|
41
44
|
load_config,
|
|
42
45
|
load_sessions,
|
|
@@ -130,6 +133,14 @@ def create(
|
|
|
130
133
|
metavar="PROFILE_NAME",
|
|
131
134
|
),
|
|
132
135
|
] = None,
|
|
136
|
+
email: Annotated[
|
|
137
|
+
str | None,
|
|
138
|
+
typer.Option(
|
|
139
|
+
"--email",
|
|
140
|
+
help="Your login email to detect a third-party SSO provider. Only the domain part is stored.",
|
|
141
|
+
metavar="EMAIL",
|
|
142
|
+
),
|
|
143
|
+
] = None,
|
|
133
144
|
system_certs: Annotated[
|
|
134
145
|
bool,
|
|
135
146
|
typer.Option(
|
|
@@ -198,10 +209,11 @@ def create(
|
|
|
198
209
|
)
|
|
199
210
|
|
|
200
211
|
resolved_type = _resolve_auth_type(api_key, auth_type, oidc_discovery_url, oidc_client_id)
|
|
212
|
+
sso_domain = _resolve_email_domain(email)
|
|
201
213
|
config = load_config()
|
|
202
214
|
|
|
203
215
|
if resolved_type == AuthType.API_KEY:
|
|
204
|
-
_create_api_key_profile(config, profile, endpoint, api_key, system_certs)
|
|
216
|
+
_create_api_key_profile(config, profile, endpoint, api_key, system_certs, sso_domain)
|
|
205
217
|
else:
|
|
206
218
|
_create_pkce_profile(
|
|
207
219
|
config=config,
|
|
@@ -212,6 +224,7 @@ def create(
|
|
|
212
224
|
oidc_client_id=oidc_client_id,
|
|
213
225
|
team=team,
|
|
214
226
|
system_certs=system_certs,
|
|
227
|
+
sso_domain=sso_domain,
|
|
215
228
|
)
|
|
216
229
|
|
|
217
230
|
|
|
@@ -224,6 +237,12 @@ def _resolve_auth_type(
|
|
|
224
237
|
"""Determine the authentication type from flags or interactive prompt."""
|
|
225
238
|
# Explicit API key always wins.
|
|
226
239
|
if api_key is not None and api_key.strip():
|
|
240
|
+
if auth_type == AuthType.PKCE:
|
|
241
|
+
warning(
|
|
242
|
+
"The [magenta]NEXTMV_API_KEY[/magenta] environment variable is set and takes precedence "
|
|
243
|
+
"over the requested [magenta]pkce[/magenta] auth type. "
|
|
244
|
+
"Unset [magenta]NEXTMV_API_KEY[/magenta] to create a [magenta]pkce[/magenta] profile."
|
|
245
|
+
)
|
|
227
246
|
return AuthType.API_KEY
|
|
228
247
|
|
|
229
248
|
# Explicit --auth-type flag (already validated by Typer).
|
|
@@ -250,6 +269,7 @@ def _create_api_key_profile(
|
|
|
250
269
|
endpoint: str,
|
|
251
270
|
api_key: str | None,
|
|
252
271
|
system_certs: bool,
|
|
272
|
+
sso_domain: str | None,
|
|
253
273
|
) -> None:
|
|
254
274
|
"""Collect an API key (interactively if needed) and save the profile."""
|
|
255
275
|
if api_key is None or not api_key.strip():
|
|
@@ -268,26 +288,22 @@ def _create_api_key_profile(
|
|
|
268
288
|
config[API_KEY_KEY] = api_key
|
|
269
289
|
config[ENDPOINT_KEY] = endpoint
|
|
270
290
|
config.pop(AUTH_TYPE_KEY, None)
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
else:
|
|
274
|
-
config.pop(SYSTEM_CERTS_KEY, None)
|
|
291
|
+
_set_or_pop(config, SYSTEM_CERTS_KEY, system_certs)
|
|
292
|
+
_set_or_pop(config, SSO_DOMAIN_KEY, sso_domain)
|
|
275
293
|
else:
|
|
276
294
|
if profile not in config:
|
|
277
295
|
config[profile] = {}
|
|
278
296
|
config[profile][API_KEY_KEY] = api_key
|
|
279
297
|
config[profile][ENDPOINT_KEY] = endpoint
|
|
280
298
|
config[profile].pop(AUTH_TYPE_KEY, None)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
else:
|
|
284
|
-
config[profile].pop(SYSTEM_CERTS_KEY, None)
|
|
299
|
+
_set_or_pop(config[profile], SYSTEM_CERTS_KEY, system_certs)
|
|
300
|
+
_set_or_pop(config[profile], SSO_DOMAIN_KEY, sso_domain)
|
|
285
301
|
|
|
286
302
|
save_config(config)
|
|
287
303
|
|
|
288
304
|
success("Configuration saved successfully.")
|
|
289
305
|
message(f"[bold]Profile[/bold]: [magenta]{profile or 'Default'}[/magenta]", indents=1)
|
|
290
|
-
message(f"[bold]Type[/bold]: [magenta]{AuthType.API_KEY}[/magenta]", indents=1)
|
|
306
|
+
message(f"[bold]Type[/bold]: [magenta]{AuthType.API_KEY.value}[/magenta]", indents=1)
|
|
291
307
|
message(f"[bold]API Key[/bold]: [magenta]{obscure_api_key(api_key)}[/magenta]", indents=1)
|
|
292
308
|
if endpoint != DEFAULT_ENDPOINT:
|
|
293
309
|
message(f"[bold]Endpoint[/bold]: [magenta]{endpoint}[/magenta]", indents=1)
|
|
@@ -302,6 +318,7 @@ def _create_pkce_profile( # noqa: C901
|
|
|
302
318
|
oidc_client_id: str | None,
|
|
303
319
|
team: str | None,
|
|
304
320
|
system_certs: bool,
|
|
321
|
+
sso_domain: str | None,
|
|
305
322
|
) -> None:
|
|
306
323
|
"""Ensure OIDC config, resolve team, and save a pkce profile."""
|
|
307
324
|
# Custom endpoints require an explicit auth session to avoid mixing tokens
|
|
@@ -361,6 +378,7 @@ def _create_pkce_profile( # noqa: C901
|
|
|
361
378
|
endpoint=endpoint,
|
|
362
379
|
oidc_discovery_url=resolved_oidc_url,
|
|
363
380
|
client_id=resolved_oidc_client_id,
|
|
381
|
+
sso_domain=sso_domain,
|
|
364
382
|
)
|
|
365
383
|
|
|
366
384
|
team_id = _resolve_team_id(
|
|
@@ -374,14 +392,9 @@ def _create_pkce_profile( # noqa: C901
|
|
|
374
392
|
config[ENDPOINT_KEY] = endpoint
|
|
375
393
|
config[TEAM_ID_KEY] = team_id
|
|
376
394
|
config.pop(API_KEY_KEY, None)
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
config.pop(AUTH_SESSION_KEY, None)
|
|
381
|
-
if system_certs:
|
|
382
|
-
config[SYSTEM_CERTS_KEY] = True
|
|
383
|
-
else:
|
|
384
|
-
config.pop(SYSTEM_CERTS_KEY, None)
|
|
395
|
+
_set_or_pop(config, AUTH_SESSION_KEY, auth_session)
|
|
396
|
+
_set_or_pop(config, SYSTEM_CERTS_KEY, system_certs)
|
|
397
|
+
_set_or_pop(config, SSO_DOMAIN_KEY, sso_domain)
|
|
385
398
|
else:
|
|
386
399
|
if profile not in config:
|
|
387
400
|
config[profile] = {}
|
|
@@ -389,20 +402,15 @@ def _create_pkce_profile( # noqa: C901
|
|
|
389
402
|
config[profile][ENDPOINT_KEY] = endpoint
|
|
390
403
|
config[profile][TEAM_ID_KEY] = team_id
|
|
391
404
|
config[profile].pop(API_KEY_KEY, None)
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
config[profile].pop(AUTH_SESSION_KEY, None)
|
|
396
|
-
if system_certs:
|
|
397
|
-
config[profile][SYSTEM_CERTS_KEY] = True
|
|
398
|
-
else:
|
|
399
|
-
config[profile].pop(SYSTEM_CERTS_KEY, None)
|
|
405
|
+
_set_or_pop(config[profile], AUTH_SESSION_KEY, auth_session)
|
|
406
|
+
_set_or_pop(config[profile], SYSTEM_CERTS_KEY, system_certs)
|
|
407
|
+
_set_or_pop(config[profile], SSO_DOMAIN_KEY, sso_domain)
|
|
400
408
|
|
|
401
409
|
save_config(config)
|
|
402
410
|
|
|
403
411
|
success("Configuration saved successfully.")
|
|
404
412
|
message(f"[bold]Profile[/bold]: [magenta]{profile or 'Default'}[/magenta]", indents=1)
|
|
405
|
-
message(f"[bold]Type[/bold]: [magenta]{AuthType.PKCE}[/magenta]", indents=1)
|
|
413
|
+
message(f"[bold]Type[/bold]: [magenta]{AuthType.PKCE.value}[/magenta]", indents=1)
|
|
406
414
|
message(f"[bold]Auth session[/bold]: [magenta]{effective_session}[/magenta]", indents=1)
|
|
407
415
|
message(f"[bold]Team ID[/bold]: [magenta]{team_id}[/magenta]", indents=1)
|
|
408
416
|
if endpoint != DEFAULT_ENDPOINT:
|
|
@@ -443,11 +451,48 @@ def _resolve_oidc_config(
|
|
|
443
451
|
return resolved_discovery_url, resolved_client_id
|
|
444
452
|
|
|
445
453
|
|
|
446
|
-
def
|
|
454
|
+
def _extract_email_domain(raw: str) -> str | None:
|
|
455
|
+
"""Extract the email domain from user input.
|
|
456
|
+
|
|
457
|
+
Accepts full email (``user@example.com``), bare domain (``example.com``),
|
|
458
|
+
or domain with ``@`` (``@example.com``). Returns ``None`` for empty input.
|
|
459
|
+
"""
|
|
460
|
+
stripped = raw.strip()
|
|
461
|
+
if not stripped:
|
|
462
|
+
return None
|
|
463
|
+
domain = stripped.lstrip("@").rsplit("@", 1)[-1]
|
|
464
|
+
return domain.strip() or None
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
def _resolve_email_domain(email_flag: str | None) -> str | None:
|
|
468
|
+
"""Resolve the email domain from the --email flag or interactive prompt."""
|
|
469
|
+
if email_flag is not None:
|
|
470
|
+
return _extract_email_domain(email_flag)
|
|
471
|
+
|
|
472
|
+
if not sys.stdin.isatty():
|
|
473
|
+
return None
|
|
474
|
+
|
|
475
|
+
raw = Prompt.ask(
|
|
476
|
+
"Enter your login email (leave empty if no SSO provider)",
|
|
477
|
+
default="",
|
|
478
|
+
).strip()
|
|
479
|
+
return _extract_email_domain(raw)
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
def _set_or_pop(d: dict, key: str, value: Any) -> None:
|
|
483
|
+
"""Set *key* in *d* when *value* is truthy, otherwise remove it."""
|
|
484
|
+
if value:
|
|
485
|
+
d[key] = value
|
|
486
|
+
else:
|
|
487
|
+
d.pop(key, None)
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
def _ensure_token( # noqa: C901
|
|
447
491
|
session: str,
|
|
448
492
|
endpoint: str,
|
|
449
493
|
oidc_discovery_url: str | None,
|
|
450
494
|
client_id: str | None,
|
|
495
|
+
sso_domain: str | None = None,
|
|
451
496
|
) -> str:
|
|
452
497
|
"""
|
|
453
498
|
Return a valid id_token for *session*, running the PKCE browser flow
|
|
@@ -515,6 +560,15 @@ def _ensure_token(
|
|
|
515
560
|
# Fall through to full browser flow.
|
|
516
561
|
|
|
517
562
|
# No usable token — open the browser.
|
|
563
|
+
identity_provider: str | None = None
|
|
564
|
+
if sso_domain:
|
|
565
|
+
try:
|
|
566
|
+
identity_provider = fetch_sso_provider(sso_domain, endpoint)
|
|
567
|
+
except Exception:
|
|
568
|
+
warning(
|
|
569
|
+
f"Failed to check SSO status for domain [magenta]{sso_domain}[/magenta]. "
|
|
570
|
+
"Falling back to standard login."
|
|
571
|
+
)
|
|
518
572
|
message(
|
|
519
573
|
f"Opening browser to authenticate session [magenta]{session}[/magenta] "
|
|
520
574
|
f"against [magenta]{endpoint}[/magenta]...",
|
|
@@ -522,6 +576,7 @@ def _ensure_token(
|
|
|
522
576
|
tokens = run_pkce_flow(
|
|
523
577
|
oidc_discovery_url=oidc_discovery_url,
|
|
524
578
|
client_id=client_id,
|
|
579
|
+
identity_provider=identity_provider,
|
|
525
580
|
)
|
|
526
581
|
save_tokens(session, tokens)
|
|
527
582
|
token = tokens.get("id_token")
|
|
@@ -57,7 +57,7 @@ from typing import Any
|
|
|
57
57
|
import yaml
|
|
58
58
|
|
|
59
59
|
from nextmv.auth import CLIENT_ID as _AUTH_CLIENT_ID
|
|
60
|
-
from nextmv.auth import DEFAULT_AUTH_SESSION
|
|
60
|
+
from nextmv.auth import DEFAULT_AUTH_SESSION, _strip_scheme
|
|
61
61
|
from nextmv.auth import OIDC_DISCOVERY_URL as _AUTH_OIDC_DISCOVERY_URL
|
|
62
62
|
|
|
63
63
|
# Paths
|
|
@@ -72,6 +72,7 @@ AUTH_TYPE_KEY = "auth_type"
|
|
|
72
72
|
AUTH_SESSION_KEY = "auth_session"
|
|
73
73
|
TEAM_ID_KEY = "team_id"
|
|
74
74
|
SYSTEM_CERTS_KEY = "system_certs"
|
|
75
|
+
SSO_DOMAIN_KEY = "sso_domain"
|
|
75
76
|
|
|
76
77
|
# Sessions keys
|
|
77
78
|
OIDC_DISCOVERY_URL_KEY = "oidc_discovery_url"
|
|
@@ -101,16 +102,6 @@ _BUILTIN_OIDC: dict[str, dict[str, str]] = {
|
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
|
|
104
|
-
def _strip_scheme(url: str) -> str:
|
|
105
|
-
"""Strip a leading ``https://`` or ``http://`` scheme and trailing slash."""
|
|
106
|
-
s = url.strip()
|
|
107
|
-
for prefix in ("https://", "http://"):
|
|
108
|
-
if s.startswith(prefix):
|
|
109
|
-
s = s[len(prefix) :]
|
|
110
|
-
break
|
|
111
|
-
return s.rstrip("/")
|
|
112
|
-
|
|
113
|
-
|
|
114
105
|
_OIDC_DISCOVERY_SUFFIX = "/.well-known/openid-configuration"
|
|
115
106
|
|
|
116
107
|
|
|
@@ -268,6 +259,7 @@ def non_profile_keys() -> set[str]:
|
|
|
268
259
|
AUTH_SESSION_KEY,
|
|
269
260
|
TEAM_ID_KEY,
|
|
270
261
|
SYSTEM_CERTS_KEY,
|
|
262
|
+
SSO_DOMAIN_KEY,
|
|
271
263
|
DEFAULT_AUTH_SESSION,
|
|
272
264
|
}
|
|
273
265
|
|
|
@@ -393,6 +385,18 @@ def get_system_certs(config: dict, profile: str | None) -> bool:
|
|
|
393
385
|
return bool(raw)
|
|
394
386
|
|
|
395
387
|
|
|
388
|
+
def get_sso_domain(config: dict, profile: str | None) -> str | None:
|
|
389
|
+
"""Return the SSO domain stored in *profile*, or ``None`` if not set."""
|
|
390
|
+
if profile is None:
|
|
391
|
+
raw = config.get(SSO_DOMAIN_KEY)
|
|
392
|
+
else:
|
|
393
|
+
profile_data = config.get(profile, {})
|
|
394
|
+
raw = profile_data.get(SSO_DOMAIN_KEY) if isinstance(profile_data, dict) else None
|
|
395
|
+
if raw and isinstance(raw, str) and raw.strip():
|
|
396
|
+
return raw.strip()
|
|
397
|
+
return None
|
|
398
|
+
|
|
399
|
+
|
|
396
400
|
def get_profile_endpoint(config: dict, profile: str | None) -> str:
|
|
397
401
|
"""
|
|
398
402
|
Returns the endpoint hostname for *profile*.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "v1.9.1.dev1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|