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.
Files changed (429) hide show
  1. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/PKG-INFO +2 -4
  2. nextmv-1.11.0.dev0/nextmv/__about__.py +1 -0
  3. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/__init__.py +0 -3
  4. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/main.py +21 -5
  5. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/__init__.py +6 -86
  6. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/package.py +6 -32
  7. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/executor.py +38 -4
  8. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/manifest.py +1 -197
  9. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/uv.lock +3 -3
  10. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/uv.lock +3 -3
  11. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/uv.lock +3 -3
  12. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/uv.lock +3 -3
  13. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/uv.lock +3 -3
  14. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/uv.lock +3 -3
  15. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/uv.lock +3 -3
  16. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/uv.lock +3 -3
  17. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/pyproject.toml +2 -5
  18. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_mcp.py +34 -1
  19. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/app.yaml +0 -8
  20. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/test_executor.py +91 -4
  21. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_manifest.py +0 -98
  22. nextmv-1.11.0.dev0/uv.lock +1893 -0
  23. nextmv-1.10.4/nextmv/__about__.py +0 -1
  24. nextmv-1.10.4/nextmv/__entrypoint__.py +0 -38
  25. nextmv-1.10.4/nextmv/model.py +0 -410
  26. nextmv-1.10.4/tests/test_entrypoint/__init__.py +0 -0
  27. nextmv-1.10.4/tests/test_entrypoint/test_entrypoint.py +0 -118
  28. nextmv-1.10.4/tests/test_model.py +0 -58
  29. nextmv-1.10.4/uv.lock +0 -4041
  30. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/.gitignore +0 -0
  31. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/.python-version +0 -0
  32. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/CONTRIBUTING.md +0 -0
  33. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/LICENSE +0 -0
  34. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/README.md +0 -0
  35. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/_serialization.py +0 -0
  36. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/_uv_handler.py +0 -0
  37. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/account.py +0 -0
  38. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/auth.py +0 -0
  39. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/base_model.py +0 -0
  40. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cache.py +0 -0
  41. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/__init__.py +0 -0
  42. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/auth/__init__.py +0 -0
  43. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/auth/login.py +0 -0
  44. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/auth/logout.py +0 -0
  45. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cache/__init__.py +0 -0
  46. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cache/delete.py +0 -0
  47. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cache/get.py +0 -0
  48. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/__init__.py +0 -0
  49. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/__init__.py +0 -0
  50. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/create.py +0 -0
  51. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/delete.py +0 -0
  52. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/get.py +0 -0
  53. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/list.py +0 -0
  54. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/acceptance/update.py +0 -0
  55. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/__init__.py +0 -0
  56. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/create.py +0 -0
  57. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/delete.py +0 -0
  58. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/get.py +0 -0
  59. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/account/update.py +0 -0
  60. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/__init__.py +0 -0
  61. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/create.py +0 -0
  62. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/delete.py +0 -0
  63. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/exists.py +0 -0
  64. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/get.py +0 -0
  65. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/list.py +0 -0
  66. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/push.py +0 -0
  67. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/app/update.py +0 -0
  68. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/__init__.py +0 -0
  69. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/create.py +0 -0
  70. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/delete.py +0 -0
  71. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/get.py +0 -0
  72. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/list.py +0 -0
  73. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/metadata.py +0 -0
  74. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/batch/update.py +0 -0
  75. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/data/__init__.py +0 -0
  76. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/data/upload.py +0 -0
  77. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/__init__.py +0 -0
  78. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/create.py +0 -0
  79. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/delete.py +0 -0
  80. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/get.py +0 -0
  81. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/list.py +0 -0
  82. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/ensemble/update.py +0 -0
  83. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/__init__.py +0 -0
  84. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/create.py +0 -0
  85. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/delete.py +0 -0
  86. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/get.py +0 -0
  87. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/list.py +0 -0
  88. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/input_set/update.py +0 -0
  89. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/__init__.py +0 -0
  90. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/create.py +0 -0
  91. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/delete.py +0 -0
  92. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/exists.py +0 -0
  93. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/get.py +0 -0
  94. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/list.py +0 -0
  95. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/instance/update.py +0 -0
  96. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/__init__.py +0 -0
  97. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/create.py +0 -0
  98. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/delete.py +0 -0
  99. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/get.py +0 -0
  100. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/list.py +0 -0
  101. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/managed_input/update.py +0 -0
  102. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/__init__.py +0 -0
  103. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/__init__.py +0 -0
  104. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/create.py +0 -0
  105. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/get.py +0 -0
  106. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/list.py +0 -0
  107. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/app/update.py +0 -0
  108. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/__init__.py +0 -0
  109. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/create.py +0 -0
  110. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/delete.py +0 -0
  111. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/get.py +0 -0
  112. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/subscription/list.py +0 -0
  113. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/__init__.py +0 -0
  114. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/create.py +0 -0
  115. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/get.py +0 -0
  116. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/list.py +0 -0
  117. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/marketplace/version/update.py +0 -0
  118. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/__init__.py +0 -0
  119. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/cancel.py +0 -0
  120. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/clone.py +0 -0
  121. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/compare.py +0 -0
  122. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/create.py +0 -0
  123. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/delete.py +0 -0
  124. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/get.py +0 -0
  125. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/information.py +0 -0
  126. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/input.py +0 -0
  127. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/list.py +0 -0
  128. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/logs.py +0 -0
  129. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/metadata.py +0 -0
  130. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/run/track.py +0 -0
  131. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/__init__.py +0 -0
  132. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/create.py +0 -0
  133. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/delete.py +0 -0
  134. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/get.py +0 -0
  135. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/list.py +0 -0
  136. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/metadata.py +0 -0
  137. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/scenario/update.py +0 -0
  138. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/__init__.py +0 -0
  139. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/create.py +0 -0
  140. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/delete.py +0 -0
  141. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/get.py +0 -0
  142. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/list.py +0 -0
  143. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/secrets/update.py +0 -0
  144. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/__init__.py +0 -0
  145. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/create.py +0 -0
  146. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/delete.py +0 -0
  147. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/get.py +0 -0
  148. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/list.py +0 -0
  149. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/metadata.py +0 -0
  150. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/start.py +0 -0
  151. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/stop.py +0 -0
  152. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/shadow/update.py +0 -0
  153. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/__init__.py +0 -0
  154. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/create.py +0 -0
  155. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/delete.py +0 -0
  156. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/disable.py +0 -0
  157. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/domain/__init__.py +0 -0
  158. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/domain/delete.py +0 -0
  159. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/enable.py +0 -0
  160. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/get.py +0 -0
  161. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/sso/update.py +0 -0
  162. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/__init__.py +0 -0
  163. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/create.py +0 -0
  164. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/delete.py +0 -0
  165. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/get.py +0 -0
  166. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/list.py +0 -0
  167. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/metadata.py +0 -0
  168. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/start.py +0 -0
  169. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/stop.py +0 -0
  170. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/switchback/update.py +0 -0
  171. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/upload/__init__.py +0 -0
  172. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/upload/create.py +0 -0
  173. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/__init__.py +0 -0
  174. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/create.py +0 -0
  175. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/delete.py +0 -0
  176. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/exists.py +0 -0
  177. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/get.py +0 -0
  178. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/list.py +0 -0
  179. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/cloud/version/update.py +0 -0
  180. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/community/__init__.py +0 -0
  181. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/community/clone.py +0 -0
  182. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/community/list.py +0 -0
  183. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/__init__.py +0 -0
  184. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/config.py +0 -0
  185. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/create.py +0 -0
  186. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/delete.py +0 -0
  187. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/configuration/list.py +0 -0
  188. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/init.py +0 -0
  189. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/__init__.py +0 -0
  190. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/__init__.py +0 -0
  191. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/delete.py +0 -0
  192. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/get.py +0 -0
  193. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/list.py +0 -0
  194. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/register.py +0 -0
  195. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/registered.py +0 -0
  196. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/sync.py +0 -0
  197. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/app/update.py +0 -0
  198. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/__init__.py +0 -0
  199. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/clone.py +0 -0
  200. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/compare.py +0 -0
  201. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/create.py +0 -0
  202. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/get.py +0 -0
  203. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/information.py +0 -0
  204. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/input.py +0 -0
  205. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/list.py +0 -0
  206. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/logs.py +0 -0
  207. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/metadata.py +0 -0
  208. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/local/run/visuals.py +0 -0
  209. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/manifest/__init__.py +0 -0
  210. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/manifest/init.py +0 -0
  211. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/manifest/validate.py +0 -0
  212. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/__init__.py +0 -0
  213. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/serve.py +0 -0
  214. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/server.py +0 -0
  215. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/WORKFLOW.md +0 -0
  216. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/__init__.py +0 -0
  217. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/_helpers.py +0 -0
  218. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/acceptance.py +0 -0
  219. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/account.py +0 -0
  220. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/app.py +0 -0
  221. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/batch.py +0 -0
  222. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/community.py +0 -0
  223. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/ensemble.py +0 -0
  224. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/guide.py +0 -0
  225. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/input_set.py +0 -0
  226. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/instance.py +0 -0
  227. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/local.py +0 -0
  228. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/managed_input.py +0 -0
  229. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/profile.py +0 -0
  230. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/run.py +0 -0
  231. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/scenario.py +0 -0
  232. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/secrets.py +0 -0
  233. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/shadow.py +0 -0
  234. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/sso.py +0 -0
  235. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/switchback.py +0 -0
  236. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/mcp/tools/version.py +0 -0
  237. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/message.py +0 -0
  238. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/options.py +0 -0
  239. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cli/version.py +0 -0
  240. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/__init__.py +0 -0
  241. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/acceptance_test.py +0 -0
  242. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/account.py +0 -0
  243. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_acceptance.py +0 -0
  244. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_batch_scenario.py +0 -0
  245. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_ensemble.py +0 -0
  246. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_input_set.py +0 -0
  247. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_instance.py +0 -0
  248. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_managed_input.py +0 -0
  249. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_run.py +0 -0
  250. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_secrets.py +0 -0
  251. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_shadow.py +0 -0
  252. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_switchback.py +0 -0
  253. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_utils.py +0 -0
  254. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/application/_version.py +0 -0
  255. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/assets.py +0 -0
  256. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/batch_experiment.py +0 -0
  257. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/client.py +0 -0
  258. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/community.py +0 -0
  259. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/ensemble.py +0 -0
  260. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/input_set.py +0 -0
  261. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/instance.py +0 -0
  262. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/integration.py +0 -0
  263. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/marketplace.py +0 -0
  264. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/scenario.py +0 -0
  265. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/secrets.py +0 -0
  266. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/shadow.py +0 -0
  267. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/sso.py +0 -0
  268. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/switchback.py +0 -0
  269. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/url.py +0 -0
  270. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/cloud/version.py +0 -0
  271. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/config.py +0 -0
  272. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/content_format.py +0 -0
  273. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/deprecated.py +0 -0
  274. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/input.py +0 -0
  275. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/__init__.py +0 -0
  276. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/application.py +0 -0
  277. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/geojson_handler.py +0 -0
  278. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/local.py +0 -0
  279. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/plotly_handler.py +0 -0
  280. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/registry.py +0 -0
  281. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/local/runner.py +0 -0
  282. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/logger.py +0 -0
  283. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/options.py +0 -0
  284. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/output.py +0 -0
  285. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/polling.py +0 -0
  286. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/run.py +0 -0
  287. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/safe.py +0 -0
  288. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/status.py +0 -0
  289. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/binary_json.yaml +0 -0
  290. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/binary_json_opt.yaml +0 -0
  291. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/binary_multi-file.yaml +0 -0
  292. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/binary_multi-file_opt.yaml +0 -0
  293. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json.yaml +0 -0
  294. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/.gitignore +0 -0
  295. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/README.md +0 -0
  296. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/app.yaml +0 -0
  297. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/go.mod +0 -0
  298. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/input.json +0 -0
  299. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_hello-world/main.go +0 -0
  300. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_json_opt.yaml +0 -0
  301. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file.yaml +0 -0
  302. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/.gitignore +0 -0
  303. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/README.md +0 -0
  304. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/app.yaml +0 -0
  305. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/go.mod +0 -0
  306. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/inputs/input.json +0 -0
  307. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_hello-world/main.go +0 -0
  308. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/go_multi-file_opt.yaml +0 -0
  309. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json.yaml +0 -0
  310. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/.gitignore +0 -0
  311. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/Main.java +0 -0
  312. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/README.md +0 -0
  313. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/app.yaml +0 -0
  314. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/input.json +0 -0
  315. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_hello-world/pom.xml +0 -0
  316. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_json_opt.yaml +0 -0
  317. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file.yaml +0 -0
  318. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/.gitignore +0 -0
  319. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/Main.java +0 -0
  320. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/README.md +0 -0
  321. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/app.yaml +0 -0
  322. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/inputs/input.json +0 -0
  323. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_hello-world/pom.xml +0 -0
  324. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/java_multi-file_opt.yaml +0 -0
  325. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json.yaml +0 -0
  326. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/.gitignore +0 -0
  327. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/README.md +0 -0
  328. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/app.yaml +0 -0
  329. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/input.json +0 -0
  330. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/main.py +0 -0
  331. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/pyproject.toml +0 -0
  332. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_class-assign/visualizations.py +0 -0
  333. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/.gitignore +0 -0
  334. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/README.md +0 -0
  335. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/README.md +0 -0
  336. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/app.yaml +0 -0
  337. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/input.json +0 -0
  338. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/main.py +0 -0
  339. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/pyproject.toml +0 -0
  340. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/allocation/visuals.py +0 -0
  341. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/README.md +0 -0
  342. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/app.yaml +0 -0
  343. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/input.json +0 -0
  344. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/main.py +0 -0
  345. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/pyproject.toml +0 -0
  346. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_demand-alloc/workflow/visuals.py +0 -0
  347. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/.gitignore +0 -0
  348. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/README.md +0 -0
  349. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/app.yaml +0 -0
  350. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/input.json +0 -0
  351. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/main.py +0 -0
  352. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_hello-world/pyproject.toml +0 -0
  353. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_json_opt.yaml +0 -0
  354. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file.yaml +0 -0
  355. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/.gitignore +0 -0
  356. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/README.md +0 -0
  357. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/app.yaml +0 -0
  358. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/inputs/input.json +0 -0
  359. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/main.py +0 -0
  360. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/pyproject.toml +0 -0
  361. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_class-assign/visualizations.py +0 -0
  362. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/README.md +0 -0
  363. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/README.md +0 -0
  364. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/app.yaml +0 -0
  365. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/input.json +0 -0
  366. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/main.py +0 -0
  367. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/pyproject.toml +0 -0
  368. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/allocation/visuals.py +0 -0
  369. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/.gitignore +0 -0
  370. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/README.md +0 -0
  371. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/app.yaml +0 -0
  372. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/inputs/input.json +0 -0
  373. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/main.py +0 -0
  374. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/pyproject.toml +0 -0
  375. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_demand-alloc/workflow/visuals.py +0 -0
  376. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/.gitignore +0 -0
  377. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/README.md +0 -0
  378. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/app.yaml +0 -0
  379. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/inputs/input.json +0 -0
  380. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/main.py +0 -0
  381. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_hello-world/pyproject.toml +0 -0
  382. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/nextmv/templates/python_multi-file_opt.yaml +0 -0
  383. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/__init__.py +0 -0
  384. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/__init__.py +0 -0
  385. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/manifest/__init__.py +0 -0
  386. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/manifest/test_init.py +0 -0
  387. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_configuration.py +0 -0
  388. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_init_cli_call.py +0 -0
  389. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_login.py +0 -0
  390. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_main.py +0 -0
  391. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cli/test_version.py +0 -0
  392. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/__init__.py +0 -0
  393. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/test_client.py +0 -0
  394. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/test_instance.py +0 -0
  395. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/test_package.py +0 -0
  396. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/cloud/test_scenario.py +0 -0
  397. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/integration/__init__.py +0 -0
  398. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/integration/cloud/__init__.py +0 -0
  399. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/integration/cloud/test_integration_cloud.py +0 -0
  400. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/integration/cloud/test_integration_marketplace.py +0 -0
  401. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/__init__.py +0 -0
  402. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/test_application.py +0 -0
  403. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/test_registry.py +0 -0
  404. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/local/test_runner.py +0 -0
  405. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/__init__.py +0 -0
  406. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options1.py +0 -0
  407. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options2.py +0 -0
  408. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options3.py +0 -0
  409. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options4.py +0 -0
  410. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options5.py +0 -0
  411. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options6.py +0 -0
  412. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/scripts/options7.py +0 -0
  413. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_auth.py +0 -0
  414. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_base_model.py +0 -0
  415. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_cache.py +0 -0
  416. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_config.py +0 -0
  417. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_input.py +0 -0
  418. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_inputs/test_data.csv +0 -0
  419. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_inputs/test_data.json +0 -0
  420. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_inputs/test_data.txt +0 -0
  421. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_logger.py +0 -0
  422. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_options.py +0 -0
  423. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_output.py +0 -0
  424. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_polling.py +0 -0
  425. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_run.py +0 -0
  426. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_safe.py +0 -0
  427. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_serialization.py +0 -0
  428. {nextmv-1.10.4 → nextmv-1.11.0.dev0}/tests/test_uv_handler.py +0 -0
  429. {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.10.4
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]>=1.2.0; extra == 'mcp'
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
- # Register the MCP subcommand only if the mcp extra is installed.
72
- try:
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
- app.add_typer(mcp_app, name="mcp")
76
- except ImportError:
77
- pass
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, ModelConfiguration
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
- There are two ways to push an app to Nextmv Cloud:
435
- 1. Specifying `app_dir`, which is the path to an app's root directory.
436
- This acts as an external strategy, where the app is composed of files
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. This is for the external strategy approach.
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
- 1. Push an app using an external strategy (directory-based):
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, model, model_configuration, verbose, rich_print, no_cache)
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 includes encoding the Python model (if provided) and bundling Python
389
- dependencies using `uv pip`. The dependencies are resolved, installed, and
390
- cached on a per-package basis to maximize cache hits and efficiency. The
391
- final output is a `deps.tar.gz` file containing the installed dependencies,
392
- which is returned for inclusion in the final app tarball.
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 DEFAULT_OUTPUT_JSON_FILE, LOGS_FILE, LOGS_KEY, OUTPUT_KEY, calculate_files_size
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, has the wrong type, or ``run_id``
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, ManifestPythonModel
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
  """