nextmv 1.9.1.dev1__tar.gz → 1.9.2__tar.gz

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