nextmv 1.10.4__tar.gz → 1.11.0.dev0__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.10.4 → nextmv-1.11.0.dev0}/PKG-INFO +2 -4
- nextmv-1.11.0.dev0/nextmv/__about__.py +1 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/__init__.py +0 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/main.py +21 -5
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/__init__.py +6 -86
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/package.py +6 -32
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/executor.py +38 -4
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/manifest.py +1 -197
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/uv.lock +3 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/uv.lock +3 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/uv.lock +3 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/uv.lock +3 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/uv.lock +3 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/uv.lock +3 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/uv.lock +3 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/uv.lock +3 -3
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/pyproject.toml +2 -5
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_mcp.py +34 -1
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/app.yaml +0 -8
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/test_executor.py +91 -4
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_manifest.py +0 -98
- nextmv-1.11.0.dev0/uv.lock +1893 -0
- nextmv-1.10.4/nextmv/__about__.py +0 -1
- nextmv-1.10.4/nextmv/__entrypoint__.py +0 -38
- nextmv-1.10.4/nextmv/model.py +0 -410
- nextmv-1.10.4/tests/test_entrypoint/__init__.py +0 -0
- nextmv-1.10.4/tests/test_entrypoint/test_entrypoint.py +0 -118
- nextmv-1.10.4/tests/test_model.py +0 -58
- nextmv-1.10.4/uv.lock +0 -4041
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/.python-version +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/CONTRIBUTING.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/LICENSE +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/_serialization.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/_uv_handler.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/account.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/auth.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/base_model.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cache.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/auth/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/auth/login.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/auth/logout.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cache/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cache/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cache/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/exists.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/push.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/metadata.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/data/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/data/upload.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/exists.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/cancel.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/clone.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/compare.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/information.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/input.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/logs.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/metadata.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/track.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/metadata.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/metadata.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/start.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/stop.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/disable.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/domain/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/domain/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/enable.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/metadata.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/start.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/stop.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/upload/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/upload/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/exists.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/community/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/community/clone.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/community/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/config.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/init.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/delete.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/register.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/registered.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/sync.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/update.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/clone.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/compare.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/create.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/get.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/information.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/input.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/list.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/logs.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/metadata.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/visuals.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/manifest/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/manifest/init.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/manifest/validate.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/serve.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/server.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/WORKFLOW.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/_helpers.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/acceptance.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/account.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/app.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/batch.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/community.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/ensemble.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/guide.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/input_set.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/instance.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/local.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/managed_input.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/profile.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/run.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/scenario.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/secrets.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/shadow.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/sso.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/switchback.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/version.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/message.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/options.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/version.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/acceptance_test.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/account.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_acceptance.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_batch_scenario.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_ensemble.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_input_set.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_instance.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_managed_input.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_run.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_secrets.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_shadow.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_switchback.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_utils.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_version.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/assets.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/batch_experiment.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/client.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/community.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/ensemble.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/input_set.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/instance.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/integration.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/marketplace.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/scenario.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/secrets.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/shadow.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/sso.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/switchback.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/url.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/version.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/config.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/content_format.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/deprecated.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/input.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/application.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/geojson_handler.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/local.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/plotly_handler.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/registry.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/runner.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/logger.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/options.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/output.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/polling.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/run.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/safe.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/status.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/binary_json.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/binary_json_opt.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/binary_multi-file.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/binary_multi-file_opt.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/go.mod +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/main.go +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_opt.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/go.mod +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/inputs/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/main.go +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_opt.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/Main.java +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/pom.xml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_opt.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/Main.java +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/inputs/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/pom.xml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_opt.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/pyproject.toml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/visualizations.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/pyproject.toml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/visuals.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/pyproject.toml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/visuals.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/pyproject.toml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_opt.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/inputs/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/pyproject.toml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/visualizations.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/pyproject.toml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/visuals.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/inputs/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/pyproject.toml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/visuals.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/.gitignore +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/README.md +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/app.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/inputs/input.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/pyproject.toml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_opt.yaml +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/manifest/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/manifest/test_init.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_configuration.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_init_cli_call.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_login.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_main.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_version.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/test_client.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/test_instance.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/test_package.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/test_scenario.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/integration/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/integration/cloud/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/integration/cloud/test_integration_cloud.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/integration/cloud/test_integration_marketplace.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/test_application.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/test_registry.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/test_runner.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/__init__.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options1.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options2.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options3.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options4.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options5.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options6.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options7.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_auth.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_base_model.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_cache.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_config.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_input.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_inputs/test_data.csv +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_inputs/test_data.json +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_inputs/test_data.txt +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_logger.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_options.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_output.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_polling.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_run.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_safe.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_serialization.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_uv_handler.py +0 -0
- {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: nextmv
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.11.0-dev.0
|
|
4
4
|
Summary: The all-purpose Python SDK for Nextmv
|
|
5
5
|
Project-URL: Homepage, https://www.nextmv.io
|
|
6
6
|
Project-URL: Documentation, https://docs.nextmv.io/python-sdk
|
|
@@ -230,9 +230,7 @@ Requires-Dist: typer>=0.27.1
|
|
|
230
230
|
Requires-Dist: urllib3>=2.1.0
|
|
231
231
|
Requires-Dist: uv>=0.9.29
|
|
232
232
|
Provides-Extra: mcp
|
|
233
|
-
Requires-Dist: mcp[cli]
|
|
234
|
-
Provides-Extra: notebook
|
|
235
|
-
Requires-Dist: mlflow>=3.9.0; extra == 'notebook'
|
|
233
|
+
Requires-Dist: mcp[cli]<2,>=1.2.0; extra == 'mcp'
|
|
236
234
|
Description-Content-Type: text/markdown
|
|
237
235
|
|
|
238
236
|
# Nextmv Python SDK
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "v1.11.0-dev.0"
|
|
@@ -26,14 +26,11 @@ from .manifest import ManifestOption as ManifestOption
|
|
|
26
26
|
from .manifest import ManifestOptionType as ManifestOptionType
|
|
27
27
|
from .manifest import ManifestPython as ManifestPython
|
|
28
28
|
from .manifest import ManifestPythonArch as ManifestPythonArch
|
|
29
|
-
from .manifest import ManifestPythonModel as ManifestPythonModel
|
|
30
29
|
from .manifest import ManifestRuntime as ManifestRuntime
|
|
31
30
|
from .manifest import ManifestType as ManifestType
|
|
32
|
-
from .manifest import ModelConfiguration as ModelConfiguration
|
|
33
31
|
from .manifest import default_python_manifest as default_python_manifest
|
|
34
32
|
from .manifest import find_files as find_files
|
|
35
33
|
from .manifest import initialize_manifest as initialize_manifest
|
|
36
|
-
from .model import Model as Model
|
|
37
34
|
from .options import Option as Option
|
|
38
35
|
from .options import Options as Options
|
|
39
36
|
from .output import Asset as Asset
|
|
@@ -13,6 +13,7 @@ about the features used here. An example of Rich markup can be found in the
|
|
|
13
13
|
epilog of the Typer application defined below.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
+
import importlib.util
|
|
16
17
|
import io
|
|
17
18
|
import os
|
|
18
19
|
import runpy
|
|
@@ -68,13 +69,28 @@ app.add_typer(local_app, name="local")
|
|
|
68
69
|
app.add_typer(manifest_app, name="manifest")
|
|
69
70
|
app.add_typer(version_app)
|
|
70
71
|
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
|
|
73
|
+
def _register_mcp(cli_app: typer.Typer) -> None:
|
|
74
|
+
"""
|
|
75
|
+
Register the MCP subcommand on `cli_app`, only if the mcp extra is
|
|
76
|
+
installed.
|
|
77
|
+
|
|
78
|
+
The extra is detected explicitly, instead of catching the `ImportError`
|
|
79
|
+
that `nextmv.cli.mcp` raises when the extra is missing. Catching it would
|
|
80
|
+
also swallow genuine import failures inside the subcommand (a typo, a
|
|
81
|
+
broken module, an incompatible `mcp` version), making the command silently
|
|
82
|
+
disappear instead of reporting the error.
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
if importlib.util.find_spec("mcp") is None:
|
|
86
|
+
return
|
|
87
|
+
|
|
73
88
|
from nextmv.cli.mcp import app as mcp_app
|
|
74
89
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
90
|
+
cli_app.add_typer(mcp_app, name="mcp")
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
_register_mcp(app)
|
|
78
94
|
|
|
79
95
|
|
|
80
96
|
@app.callback()
|
|
@@ -48,8 +48,7 @@ from nextmv.cloud.application._version import ApplicationVersionMixin
|
|
|
48
48
|
from nextmv.cloud.client import Client
|
|
49
49
|
from nextmv.cloud.url import UploadURL
|
|
50
50
|
from nextmv.logger import log
|
|
51
|
-
from nextmv.manifest import Manifest
|
|
52
|
-
from nextmv.model import Model
|
|
51
|
+
from nextmv.manifest import Manifest
|
|
53
52
|
from nextmv.safe import safe_id
|
|
54
53
|
|
|
55
54
|
|
|
@@ -419,8 +418,6 @@ class Application(
|
|
|
419
418
|
manifest: Manifest | None = None,
|
|
420
419
|
app_dir: str | None = None,
|
|
421
420
|
verbose: bool = False,
|
|
422
|
-
model: Model | None = None,
|
|
423
|
-
model_configuration: ModelConfiguration | None = None,
|
|
424
421
|
rich_print: bool = False,
|
|
425
422
|
no_cache: bool = False,
|
|
426
423
|
) -> None:
|
|
@@ -431,14 +428,9 @@ class Application(
|
|
|
431
428
|
for in the provided path. If there is no manifest file found, an
|
|
432
429
|
exception will be raised.
|
|
433
430
|
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
in a directory and those apps are packaged and pushed to Nextmv Cloud.
|
|
438
|
-
2. Specifying a `model` and `model_configuration`. This acts as an
|
|
439
|
-
internal (or Python-native) strategy, where the app is actually a
|
|
440
|
-
`nextmv.Model`. The model is encoded, some dependencies and
|
|
441
|
-
accompanying files are packaged, and the app is pushed to Nextmv Cloud.
|
|
431
|
+
An app is pushed by specifying `app_dir`, the path to an app's root
|
|
432
|
+
directory. The app is composed of the files in that directory, which
|
|
433
|
+
are packaged and pushed to Nextmv Cloud.
|
|
442
434
|
|
|
443
435
|
Parameters
|
|
444
436
|
----------
|
|
@@ -447,15 +439,9 @@ class Application(
|
|
|
447
439
|
app directory will be used.
|
|
448
440
|
app_dir : Optional[str], default=None
|
|
449
441
|
The path to the app's root directory. If None, the current directory
|
|
450
|
-
will be used.
|
|
442
|
+
will be used.
|
|
451
443
|
verbose : bool, default=False
|
|
452
444
|
Whether to print verbose output during the push process.
|
|
453
|
-
model : Optional[Model], default=None
|
|
454
|
-
The Python-native model to push. Must be specified together with
|
|
455
|
-
`model_configuration`. This is for the internal strategy approach.
|
|
456
|
-
model_configuration : Optional[ModelConfiguration], default=None
|
|
457
|
-
Configuration for the Python-native model. Must be specified together
|
|
458
|
-
with `model`.
|
|
459
445
|
rich_print : bool, default=False
|
|
460
446
|
Whether to use rich printing when verbose output is enabled.
|
|
461
447
|
no_cache : bool, default=False
|
|
@@ -468,73 +454,18 @@ class Application(
|
|
|
468
454
|
|
|
469
455
|
Raises
|
|
470
456
|
------
|
|
471
|
-
ValueError
|
|
472
|
-
If neither app_dir nor model/model_configuration is provided correctly,
|
|
473
|
-
or if only one of model and model_configuration is provided.
|
|
474
|
-
TypeError
|
|
475
|
-
If model is not an instance of nextmv.Model or if model_configuration
|
|
476
|
-
is not an instance of nextmv.ModelConfiguration.
|
|
477
457
|
Exception
|
|
478
458
|
If there's an error in the build, packaging, or cleanup process.
|
|
479
459
|
|
|
480
460
|
Examples
|
|
481
461
|
--------
|
|
482
|
-
|
|
462
|
+
Push an app from a directory:
|
|
483
463
|
|
|
484
464
|
>>> import os
|
|
485
465
|
>>> from nextmv import cloud
|
|
486
466
|
>>> client = cloud.Client(api_key=os.getenv("NEXTMV_API_KEY"))
|
|
487
467
|
>>> app = cloud.Application(client=client, id="<YOUR-APP-ID>")
|
|
488
468
|
>>> app.push() # Use verbose=True for step-by-step output.
|
|
489
|
-
|
|
490
|
-
2. Push an app using an internal strategy (Python-native model):
|
|
491
|
-
|
|
492
|
-
>>> import os
|
|
493
|
-
>>> import nextroute
|
|
494
|
-
>>> import nextmv
|
|
495
|
-
>>> import nextmv.cloud
|
|
496
|
-
>>>
|
|
497
|
-
>>> # Define the model that makes decisions
|
|
498
|
-
>>> class DecisionModel(nextmv.Model):
|
|
499
|
-
... def solve(self, input: nextmv.Input) -> nextmv.Output:
|
|
500
|
-
... nextroute_input = nextroute.schema.Input.from_dict(input.data)
|
|
501
|
-
... nextroute_options = nextroute.Options.extract_from_dict(input.options.to_dict())
|
|
502
|
-
... nextroute_output = nextroute.solve(nextroute_input, nextroute_options)
|
|
503
|
-
...
|
|
504
|
-
... return nextmv.Output(
|
|
505
|
-
... options=input.options,
|
|
506
|
-
... solution=nextroute_output.solutions[0].to_dict(),
|
|
507
|
-
... statistics=nextroute_output.statistics.to_dict(),
|
|
508
|
-
... )
|
|
509
|
-
>>>
|
|
510
|
-
>>> # Define the options that the model needs
|
|
511
|
-
>>> opt = []
|
|
512
|
-
>>> default_options = nextroute.Options()
|
|
513
|
-
>>> for name, default_value in default_options.to_dict().items():
|
|
514
|
-
... opt.append(nextmv.Option(name.lower(), type(default_value), default_value, name, False))
|
|
515
|
-
>>> options = nextmv.Options(*opt)
|
|
516
|
-
>>>
|
|
517
|
-
>>> # Instantiate the model and model configuration
|
|
518
|
-
>>> model = DecisionModel()
|
|
519
|
-
>>> model_configuration = nextmv.ModelConfiguration(
|
|
520
|
-
... name="python_nextroute_model",
|
|
521
|
-
... requirements=[
|
|
522
|
-
... "nextroute==1.8.1",
|
|
523
|
-
... "nextmv==0.14.0.dev1",
|
|
524
|
-
... ],
|
|
525
|
-
... options=options,
|
|
526
|
-
... )
|
|
527
|
-
>>>
|
|
528
|
-
>>> # Push the model to Nextmv Cloud
|
|
529
|
-
>>> client = cloud.Client(api_key=os.getenv("NEXTMV_API_KEY"))
|
|
530
|
-
>>> app = cloud.Application(client=client, id="<YOUR-APP-ID>")
|
|
531
|
-
>>> manifest = nextmv.cloud.default_python_manifest()
|
|
532
|
-
>>> app.push(
|
|
533
|
-
... manifest=manifest,
|
|
534
|
-
... verbose=True,
|
|
535
|
-
... model=model,
|
|
536
|
-
... model_configuration=model_configuration,
|
|
537
|
-
... )
|
|
538
469
|
"""
|
|
539
470
|
|
|
540
471
|
if verbose:
|
|
@@ -549,22 +480,11 @@ class Application(
|
|
|
549
480
|
if manifest is None:
|
|
550
481
|
manifest = Manifest.from_yaml(app_dir)
|
|
551
482
|
|
|
552
|
-
if model is not None and not isinstance(model, Model):
|
|
553
|
-
raise TypeError("model must be an instance of nextmv.Model")
|
|
554
|
-
|
|
555
|
-
if model_configuration is not None and not isinstance(model_configuration, ModelConfiguration):
|
|
556
|
-
raise TypeError("model_configuration must be an instance of nextmv.ModelConfiguration")
|
|
557
|
-
|
|
558
|
-
if (model is None and model_configuration is not None) or (model is not None and model_configuration is None):
|
|
559
|
-
raise ValueError("model and model_configuration must be provided together")
|
|
560
|
-
|
|
561
483
|
package.run_build_command(app_dir, manifest.build, verbose, rich_print)
|
|
562
484
|
package.run_pre_push_command(app_dir, manifest.pre_push, verbose, rich_print)
|
|
563
485
|
tar_file, output_dir = package.package(
|
|
564
486
|
app_dir,
|
|
565
487
|
manifest,
|
|
566
|
-
model,
|
|
567
|
-
model_configuration,
|
|
568
488
|
verbose,
|
|
569
489
|
rich_print,
|
|
570
490
|
no_cache,
|
|
@@ -21,11 +21,9 @@ from nextmv.manifest import (
|
|
|
21
21
|
Manifest,
|
|
22
22
|
ManifestBuild,
|
|
23
23
|
ManifestType,
|
|
24
|
-
ModelConfiguration,
|
|
25
24
|
find_files,
|
|
26
25
|
read_pyproject_dependencies,
|
|
27
26
|
)
|
|
28
|
-
from nextmv.model import Model, _cleanup_python_model
|
|
29
27
|
|
|
30
28
|
_IO_CHUNK_SIZE = 65536
|
|
31
29
|
"""
|
|
@@ -40,8 +38,6 @@ pressure for sequential reads and writes.
|
|
|
40
38
|
def package(
|
|
41
39
|
app_dir: str,
|
|
42
40
|
manifest: Manifest,
|
|
43
|
-
model: Model | None = None,
|
|
44
|
-
model_configuration: ModelConfiguration | None = None,
|
|
45
41
|
verbose: bool = False,
|
|
46
42
|
rich_print: bool = False,
|
|
47
43
|
no_cache: bool = False,
|
|
@@ -55,10 +51,6 @@ def package(
|
|
|
55
51
|
The directory of the application to package.
|
|
56
52
|
manifest : Manifest
|
|
57
53
|
The app manifest describing the application type, files, and dependencies.
|
|
58
|
-
model : Model, optional
|
|
59
|
-
The Python model to encode and include in the package.
|
|
60
|
-
model_configuration : ModelConfiguration, optional
|
|
61
|
-
The configuration for encoding the Python model.
|
|
62
54
|
verbose : bool, optional
|
|
63
55
|
Whether to print verbose logs.
|
|
64
56
|
rich_print : bool, optional
|
|
@@ -86,7 +78,7 @@ def package(
|
|
|
86
78
|
success = False
|
|
87
79
|
try:
|
|
88
80
|
if manifest.type == ManifestType.PYTHON:
|
|
89
|
-
deps_tar = _handle_python(app_dir, manifest,
|
|
81
|
+
deps_tar = _handle_python(app_dir, manifest, verbose, rich_print, no_cache)
|
|
90
82
|
|
|
91
83
|
found, missing, files = find_files(app_dir, manifest.files)
|
|
92
84
|
manifest.confirm_mandatory_files(present_files=found)
|
|
@@ -97,9 +89,6 @@ def package(
|
|
|
97
89
|
manifest.to_yaml(temp_dir)
|
|
98
90
|
_copy_manifest_files(files, temp_dir, verbose, rich_print)
|
|
99
91
|
|
|
100
|
-
if manifest.type == ManifestType.PYTHON:
|
|
101
|
-
_cleanup_python_model(app_dir, model_configuration, verbose)
|
|
102
|
-
|
|
103
92
|
output_dir = tempfile.mkdtemp(prefix="nextmv-build-out-")
|
|
104
93
|
tar_file, _ = _compress_and_report(deps_tar, temp_dir, output_dir, verbose, rich_print)
|
|
105
94
|
|
|
@@ -376,8 +365,6 @@ def _get_shell_command_elements(pre_push_command):
|
|
|
376
365
|
def _handle_python(
|
|
377
366
|
app_dir: str,
|
|
378
367
|
manifest: Manifest,
|
|
379
|
-
model: Model | None = None,
|
|
380
|
-
model_configuration: ModelConfiguration | None = None,
|
|
381
368
|
verbose: bool = False,
|
|
382
369
|
rich_print: bool = False,
|
|
383
370
|
no_cache: bool = False,
|
|
@@ -385,11 +372,11 @@ def _handle_python(
|
|
|
385
372
|
"""
|
|
386
373
|
Handles the Python-specific packaging logic.
|
|
387
374
|
|
|
388
|
-
This
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
375
|
+
This bundles Python dependencies using `uv pip`. The dependencies are
|
|
376
|
+
resolved, installed, and cached on a per-package basis to maximize cache
|
|
377
|
+
hits and efficiency. The final output is a `deps.tar.gz` file containing
|
|
378
|
+
the installed dependencies, which is returned for inclusion in the final
|
|
379
|
+
app tarball.
|
|
393
380
|
|
|
394
381
|
Parameters
|
|
395
382
|
----------
|
|
@@ -397,10 +384,6 @@ def _handle_python(
|
|
|
397
384
|
The directory of the application.
|
|
398
385
|
manifest : Manifest
|
|
399
386
|
The app manifest containing dependency information.
|
|
400
|
-
model : Model, optional
|
|
401
|
-
The Python model to encode and include in the package.
|
|
402
|
-
model_configuration : ModelConfiguration, optional
|
|
403
|
-
The configuration for encoding the Python model.
|
|
404
387
|
verbose : bool, optional
|
|
405
388
|
Whether to print verbose logs.
|
|
406
389
|
rich_print : bool, optional
|
|
@@ -419,15 +402,6 @@ def _handle_python(
|
|
|
419
402
|
or `None` if no dependencies are specified.
|
|
420
403
|
"""
|
|
421
404
|
|
|
422
|
-
if model is not None and model_configuration is not None:
|
|
423
|
-
if verbose:
|
|
424
|
-
if rich_print:
|
|
425
|
-
rich.print(":crystal_ball: Encoding Python model.", file=sys.stderr)
|
|
426
|
-
else:
|
|
427
|
-
log("🔮 Encoding Python model.")
|
|
428
|
-
|
|
429
|
-
model.save(app_dir, model_configuration)
|
|
430
|
-
|
|
431
405
|
if verbose:
|
|
432
406
|
if rich_print:
|
|
433
407
|
suffix = " - caching [italic]disabled[/italic]" if no_cache else ""
|
|
@@ -48,7 +48,15 @@ from typing import Any
|
|
|
48
48
|
from nextmv.content_format import ContentFormat
|
|
49
49
|
from nextmv.input import INPUTS_KEY, InputFormat, load
|
|
50
50
|
from nextmv.local.geojson_handler import handle_geojson_visual
|
|
51
|
-
from nextmv.local.local import
|
|
51
|
+
from nextmv.local.local import (
|
|
52
|
+
DEFAULT_OUTPUT_JSON_FILE,
|
|
53
|
+
LOGS_FILE,
|
|
54
|
+
LOGS_KEY,
|
|
55
|
+
NEXTMV_DIR,
|
|
56
|
+
OUTPUT_KEY,
|
|
57
|
+
RUNS_KEY,
|
|
58
|
+
calculate_files_size,
|
|
59
|
+
)
|
|
52
60
|
from nextmv.local.plotly_handler import handle_plotly_visual
|
|
53
61
|
from nextmv.manifest import MANIFEST_FILE_NAME, Manifest, ManifestType, find_files, read_pyproject_dependencies
|
|
54
62
|
from nextmv.output import (
|
|
@@ -78,7 +86,7 @@ def _validate_execution_input(data: dict[str, Any]) -> None:
|
|
|
78
86
|
(:mod:`nextmv.local.runner`), so in normal operation every field is already
|
|
79
87
|
well-formed. Validating here is defense-in-depth: it ensures a malformed or
|
|
80
88
|
tampered payload cannot be used to traverse the filesystem via a crafted
|
|
81
|
-
``run_id`` (path traversal / OS access violation).
|
|
89
|
+
``run_id``, ``src`` or ``run_dir`` (path traversal / OS access violation).
|
|
82
90
|
|
|
83
91
|
Parameters
|
|
84
92
|
----------
|
|
@@ -88,8 +96,10 @@ def _validate_execution_input(data: dict[str, Any]) -> None:
|
|
|
88
96
|
Raises
|
|
89
97
|
------
|
|
90
98
|
ValueError
|
|
91
|
-
If a required field is missing
|
|
92
|
-
contains path separators or traversal sequences
|
|
99
|
+
If a required field is missing or has the wrong type, ``run_id``
|
|
100
|
+
contains path separators or traversal sequences, ``src`` is not an
|
|
101
|
+
absolute path, or ``run_dir`` does not resolve to the canonical
|
|
102
|
+
``<src>/.nextmv/runs/<run_id>`` location.
|
|
93
103
|
"""
|
|
94
104
|
required: dict[str, type] = {
|
|
95
105
|
"run_id": str,
|
|
@@ -110,6 +120,30 @@ def _validate_execution_input(data: dict[str, Any]) -> None:
|
|
|
110
120
|
f"unsafe run_id {run_id!r}: must match [A-Za-z0-9._-]+ and contain no path traversal sequences"
|
|
111
121
|
)
|
|
112
122
|
|
|
123
|
+
# `src` is the trusted application root that every execution path (including
|
|
124
|
+
# `run_dir`) is derived from. The runner always passes it as an absolute
|
|
125
|
+
# path, so reject anything else; this also anchors the `run_dir` check below.
|
|
126
|
+
src = data["src"]
|
|
127
|
+
if "\x00" in src or not os.path.isabs(src):
|
|
128
|
+
raise ValueError(f"unsafe src {src!r}: must be an absolute path with no null bytes")
|
|
129
|
+
|
|
130
|
+
# `run_dir` is interpolated into filesystem paths (os.path.join / os.makedirs)
|
|
131
|
+
# throughout execution. The runner always builds it as the canonical
|
|
132
|
+
# `<src>/.nextmv/runs/<run_id>`, so require `run_dir` to resolve to exactly
|
|
133
|
+
# that location. Anchoring to `src` (rather than only checking the basename)
|
|
134
|
+
# stops a tampered payload from redirecting writes to an arbitrary absolute
|
|
135
|
+
# or CWD-relative directory whose final component happens to match `run_id`
|
|
136
|
+
# (CWE-77 / path traversal).
|
|
137
|
+
run_dir = data["run_dir"]
|
|
138
|
+
if "\x00" in run_dir:
|
|
139
|
+
raise ValueError(f"unsafe run_dir {run_dir!r}: contains a null byte")
|
|
140
|
+
expected_run_dir = os.path.realpath(os.path.join(src, NEXTMV_DIR, RUNS_KEY, run_id))
|
|
141
|
+
if os.path.realpath(run_dir) != expected_run_dir:
|
|
142
|
+
raise ValueError(
|
|
143
|
+
f"unsafe run_dir {run_dir!r}: must resolve to the canonical "
|
|
144
|
+
f"<src>/{NEXTMV_DIR}/{RUNS_KEY}/<run_id> path ({expected_run_dir!r})"
|
|
145
|
+
)
|
|
146
|
+
|
|
113
147
|
|
|
114
148
|
def main() -> None:
|
|
115
149
|
"""
|
|
@@ -15,8 +15,6 @@ ManifestPythonArch
|
|
|
15
15
|
Enum for target architecture for bundling Python apps.
|
|
16
16
|
ManifestBuild
|
|
17
17
|
Class for build-specific attributes in the manifest.
|
|
18
|
-
ManifestPythonModel
|
|
19
|
-
Class for model-specific instructions for Python apps.
|
|
20
18
|
ManifestPython
|
|
21
19
|
Class for Python-specific instructions in the manifest.
|
|
22
20
|
ControlType
|
|
@@ -43,8 +41,6 @@ ManifestConfiguration
|
|
|
43
41
|
Class for configuration settings for the decision model.
|
|
44
42
|
ManifestExecution
|
|
45
43
|
Class for execution configuration for the decision model.
|
|
46
|
-
ModelConfiguration
|
|
47
|
-
Dataclass for configuration settings for Nextmv models.
|
|
48
44
|
Manifest
|
|
49
45
|
Main class representing an app manifest for Nextmv.
|
|
50
46
|
|
|
@@ -70,7 +66,6 @@ import os
|
|
|
70
66
|
import re
|
|
71
67
|
import shutil
|
|
72
68
|
import sys
|
|
73
|
-
from dataclasses import dataclass
|
|
74
69
|
from enum import Enum
|
|
75
70
|
from typing import Annotated, Any
|
|
76
71
|
|
|
@@ -114,15 +109,6 @@ Notes
|
|
|
114
109
|
All Nextmv applications must include an app.yaml file for proper deployment.
|
|
115
110
|
"""
|
|
116
111
|
|
|
117
|
-
# When working with the `Model`, we expect to be working in a notebook
|
|
118
|
-
# environment, and not interact with the local filesystem a lot. We use the
|
|
119
|
-
# `ModelConfiguration` to specify the dependencies that the `Model` requires.
|
|
120
|
-
# To work with the "push" logic of uploading an app to Nextmv Cloud, we need a
|
|
121
|
-
# requirement file that we use to gather dependencies, install them, and bundle
|
|
122
|
-
# them in the app. This file is used as a placeholder for the dependencies that
|
|
123
|
-
# the model requires and that we install and bundle with the app.
|
|
124
|
-
_REQUIREMENTS_FILE = "model_requirements.txt"
|
|
125
|
-
|
|
126
112
|
|
|
127
113
|
class ManifestType(str, Enum):
|
|
128
114
|
"""
|
|
@@ -334,48 +320,6 @@ class ManifestBuild(BaseModel):
|
|
|
334
320
|
return {key: str(value) for key, value in self.environment.items()}
|
|
335
321
|
|
|
336
322
|
|
|
337
|
-
class ManifestPythonModel(BaseModel):
|
|
338
|
-
"""
|
|
339
|
-
Model-specific instructions for a Python app.
|
|
340
|
-
|
|
341
|
-
You can import the `ManifestPythonModel` class directly from `nextmv`:
|
|
342
|
-
|
|
343
|
-
```python
|
|
344
|
-
from nextmv import ManifestPythonModel
|
|
345
|
-
```
|
|
346
|
-
|
|
347
|
-
Parameters
|
|
348
|
-
----------
|
|
349
|
-
name : str
|
|
350
|
-
The name of the decision model.
|
|
351
|
-
options : Optional[list[dict[str, Any]]], default=None
|
|
352
|
-
Options for the decision model. This is a data representation of the
|
|
353
|
-
`nextmv.Options` class. It consists of a list of dicts. Each dict
|
|
354
|
-
represents the `nextmv.Option` class. It is used to be able to
|
|
355
|
-
reconstruct an Options object from data when loading a decision model.
|
|
356
|
-
|
|
357
|
-
Examples
|
|
358
|
-
--------
|
|
359
|
-
>>> from nextmv import ManifestPythonModel
|
|
360
|
-
>>> python_model_config = ManifestPythonModel(
|
|
361
|
-
... name="routing_model",
|
|
362
|
-
... options=[{"name": "max_vehicles", "type": "int", "default": 10}]
|
|
363
|
-
... )
|
|
364
|
-
>>> python_model_config.name
|
|
365
|
-
'routing_model'
|
|
366
|
-
"""
|
|
367
|
-
|
|
368
|
-
name: str
|
|
369
|
-
"""The name of the decision model."""
|
|
370
|
-
options: list[dict[str, Any]] | None = None
|
|
371
|
-
"""
|
|
372
|
-
Options for the decision model. This is a data representation of the
|
|
373
|
-
`nextmv.Options` class. It consists of a list of dicts. Each dict
|
|
374
|
-
represents the `nextmv.Option` class. It is used to be able to
|
|
375
|
-
reconstruct an Options object from data when loading a decision model.
|
|
376
|
-
"""
|
|
377
|
-
|
|
378
|
-
|
|
379
323
|
class ManifestPython(BaseModel):
|
|
380
324
|
"""
|
|
381
325
|
Python-specific instructions.
|
|
@@ -394,16 +338,12 @@ class ManifestPython(BaseModel):
|
|
|
394
338
|
list of strings, each representing a package to install, e.g.,
|
|
395
339
|
`["nextmv==0.28.2", "ortools==9.12.4544"]`.
|
|
396
340
|
Aliases: `pip-requirements`.
|
|
397
|
-
model : Optional[ManifestPythonModel], default=None
|
|
398
|
-
Information about an encoded decision model as handled via mlflow. This
|
|
399
|
-
information is used to load the decision model from the app bundle.
|
|
400
341
|
|
|
401
342
|
Examples
|
|
402
343
|
--------
|
|
403
|
-
>>> from nextmv import ManifestPython
|
|
344
|
+
>>> from nextmv import ManifestPython
|
|
404
345
|
>>> python_config = ManifestPython(
|
|
405
346
|
... pip_requirements="requirements.txt",
|
|
406
|
-
... model=ManifestPythonModel(name="my_model")
|
|
407
347
|
... )
|
|
408
348
|
>>> python_config.pip_requirements
|
|
409
349
|
'requirements.txt'
|
|
@@ -430,13 +370,6 @@ class ManifestPython(BaseModel):
|
|
|
430
370
|
"""
|
|
431
371
|
The Python version this model is meant to run with. Uses "3.11" if not specified.
|
|
432
372
|
"""
|
|
433
|
-
model: ManifestPythonModel | None = None
|
|
434
|
-
"""
|
|
435
|
-
Information about an encoded decision model.
|
|
436
|
-
|
|
437
|
-
As handled via mlflow. This information is used to load the decision model
|
|
438
|
-
from the app bundle.
|
|
439
|
-
"""
|
|
440
373
|
|
|
441
374
|
def model_post_init(self, __context) -> None:
|
|
442
375
|
"""Convert version from float to string for convenience."""
|
|
@@ -1322,57 +1255,6 @@ class ManifestExecution(BaseModel):
|
|
|
1322
1255
|
"""The working directory to set when running the app, e.g.: `./src/`."""
|
|
1323
1256
|
|
|
1324
1257
|
|
|
1325
|
-
@dataclass
|
|
1326
|
-
class ModelConfiguration:
|
|
1327
|
-
"""
|
|
1328
|
-
Configuration class for Nextmv models.
|
|
1329
|
-
|
|
1330
|
-
You can import the `ModelConfiguration` class directly from `nextmv`:
|
|
1331
|
-
|
|
1332
|
-
```python
|
|
1333
|
-
from nextmv import ModelConfiguration
|
|
1334
|
-
```
|
|
1335
|
-
|
|
1336
|
-
This class holds the configuration for a model, defining how a Python model
|
|
1337
|
-
is encoded and loaded for use in Nextmv Cloud.
|
|
1338
|
-
|
|
1339
|
-
Parameters
|
|
1340
|
-
----------
|
|
1341
|
-
name : str
|
|
1342
|
-
A personalized name for the model. This is required.
|
|
1343
|
-
requirements : list[str], optional
|
|
1344
|
-
A list of Python dependencies that the decision model requires,
|
|
1345
|
-
formatted as they would appear in a requirements.txt file.
|
|
1346
|
-
options : Options, optional
|
|
1347
|
-
Options that the decision model requires.
|
|
1348
|
-
options_enforcement:
|
|
1349
|
-
Enforcement of options for the model. This controls how options
|
|
1350
|
-
are handled when the model is run.
|
|
1351
|
-
|
|
1352
|
-
Examples
|
|
1353
|
-
--------
|
|
1354
|
-
>>> from nextmv import ModelConfiguration, Options
|
|
1355
|
-
>>> config = ModelConfiguration(
|
|
1356
|
-
... name="my_routing_model",
|
|
1357
|
-
... requirements=["nextroute>=1.0.0"],
|
|
1358
|
-
... options=Options({"max_time": 60}),
|
|
1359
|
-
... options_enforcement=OptionsEnforcement(
|
|
1360
|
-
strict=True,
|
|
1361
|
-
validation_enforce=True
|
|
1362
|
-
)
|
|
1363
|
-
... )
|
|
1364
|
-
"""
|
|
1365
|
-
|
|
1366
|
-
name: str
|
|
1367
|
-
"""The name of the decision model."""
|
|
1368
|
-
requirements: list[str] | None = None
|
|
1369
|
-
"""A list of Python dependencies that the decision model requires."""
|
|
1370
|
-
options: Options | None = None
|
|
1371
|
-
"""Options that the decision model requires."""
|
|
1372
|
-
options_enforcement: OptionsEnforcement | None = None
|
|
1373
|
-
"""Enforcement of options for the model."""
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
1258
|
class Manifest(BaseModel):
|
|
1377
1259
|
"""
|
|
1378
1260
|
Represents an app manifest (`app.yaml`) for Nextmv Cloud.
|
|
@@ -1653,84 +1535,6 @@ class Manifest(BaseModel):
|
|
|
1653
1535
|
|
|
1654
1536
|
return opt
|
|
1655
1537
|
|
|
1656
|
-
@classmethod
|
|
1657
|
-
def from_model_configuration(
|
|
1658
|
-
cls,
|
|
1659
|
-
model_configuration: ModelConfiguration,
|
|
1660
|
-
) -> "Manifest":
|
|
1661
|
-
"""
|
|
1662
|
-
Create a Python manifest from a `nextmv.model.ModelConfiguration`.
|
|
1663
|
-
|
|
1664
|
-
Note that the `ModelConfiguration` is almost always used in
|
|
1665
|
-
conjunction with the `nextmv.Model` class. If you are not
|
|
1666
|
-
implementing an instance of `nextmv.Model`, consider using the
|
|
1667
|
-
`from_options` method instead to initialize the manifest with the
|
|
1668
|
-
options of the model.
|
|
1669
|
-
|
|
1670
|
-
The resulting manifest will have:
|
|
1671
|
-
|
|
1672
|
-
- `files` set to `["main.py", f"{model_configuration.name}/**"]`
|
|
1673
|
-
- `runtime` set to `ManifestRuntime.PYTHON`
|
|
1674
|
-
- `type` set to `ManifestType.PYTHON`
|
|
1675
|
-
- `python.pip_requirements` set to the default requirements file name.
|
|
1676
|
-
- `python.model.name` set to `model_configuration.name`.
|
|
1677
|
-
- `python.model.options` populated from `model_configuration.options`.
|
|
1678
|
-
- `configuration.options` populated from `model_configuration.options`.
|
|
1679
|
-
|
|
1680
|
-
Parameters
|
|
1681
|
-
----------
|
|
1682
|
-
model_configuration : nextmv.model.ModelConfiguration
|
|
1683
|
-
The model configuration.
|
|
1684
|
-
|
|
1685
|
-
Returns
|
|
1686
|
-
-------
|
|
1687
|
-
Manifest
|
|
1688
|
-
The Python manifest.
|
|
1689
|
-
|
|
1690
|
-
Examples
|
|
1691
|
-
--------
|
|
1692
|
-
>>> from nextmv.model import ModelConfiguration
|
|
1693
|
-
>>> from nextmv.options import Options, Option
|
|
1694
|
-
>>> from nextmv import Manifest
|
|
1695
|
-
>>> opts = Options(Option(name="vehicle_count", option_type=int, default=5))
|
|
1696
|
-
>>> mc = ModelConfiguration(name="vehicle_router", options=opts)
|
|
1697
|
-
>>> manifest = Manifest.from_model_configuration(mc)
|
|
1698
|
-
>>> manifest.python.model.name
|
|
1699
|
-
'vehicle_router'
|
|
1700
|
-
>>> manifest.files
|
|
1701
|
-
['main.py', 'vehicle_router/**']
|
|
1702
|
-
>>> manifest.configuration.options.items[0].name
|
|
1703
|
-
'vehicle_count'
|
|
1704
|
-
"""
|
|
1705
|
-
|
|
1706
|
-
manifest_python_dict = {
|
|
1707
|
-
"pip-requirements": _REQUIREMENTS_FILE,
|
|
1708
|
-
"model": {
|
|
1709
|
-
"name": model_configuration.name,
|
|
1710
|
-
},
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
if model_configuration.options is not None:
|
|
1714
|
-
manifest_python_dict["model"]["options"] = model_configuration.options.options_dict()
|
|
1715
|
-
|
|
1716
|
-
manifest_python = ManifestPython.from_dict(manifest_python_dict)
|
|
1717
|
-
manifest = cls(
|
|
1718
|
-
files=["main.py", f"{model_configuration.name}/**"],
|
|
1719
|
-
runtime=ManifestRuntime.PYTHON,
|
|
1720
|
-
type=ManifestType.PYTHON,
|
|
1721
|
-
python=manifest_python,
|
|
1722
|
-
)
|
|
1723
|
-
|
|
1724
|
-
if model_configuration.options is not None:
|
|
1725
|
-
manifest.configuration = ManifestConfiguration(
|
|
1726
|
-
options=ManifestOptions.from_options(
|
|
1727
|
-
options=model_configuration.options,
|
|
1728
|
-
validation=model_configuration.options_enforcement,
|
|
1729
|
-
),
|
|
1730
|
-
)
|
|
1731
|
-
|
|
1732
|
-
return manifest
|
|
1733
|
-
|
|
1734
1538
|
@classmethod
|
|
1735
1539
|
def from_options(cls, options: Options, validation: OptionsEnforcement = None) -> "Manifest":
|
|
1736
1540
|
"""
|