smbcloud-cli 0.7.6__tar.gz → 1.1.0__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 (194) hide show
  1. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/Cargo.lock +186 -18
  2. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/Cargo.toml +15 -12
  3. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/PKG-INFO +3 -3
  4. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/README.md +2 -2
  5. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/Cargo.toml +1 -1
  6. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/README.md +2 -2
  7. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/lib.rs +29 -13
  8. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cli/mod.rs +8 -0
  9. {smbcloud_cli-0.7.6/crates/smbcloud-mail/src → smbcloud_cli-1.1.0/crates/cli/src/cloud-auth}/request.rs +6 -11
  10. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/mod.rs +2 -0
  11. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/process_deploy.rs +251 -9
  12. smbcloud_cli-1.1.0/crates/cli/src/cloud-deploy/process_deploy_artifact.rs +286 -0
  13. smbcloud_cli-1.1.0/crates/cli/src/cloud-deploy/process_deploy_astro_ssr.rs +469 -0
  14. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/process_deploy_nextjs_ssr.rs +2 -2
  15. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/process_migrate.rs +3 -1
  16. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/setup_create_new_project.rs +11 -3
  17. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/main.rs +17 -27
  18. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/mcp.rs +19 -4
  19. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/mcp_xcrs.rs +7 -3
  20. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/crud_update.rs +5 -3
  21. {smbcloud_cli-0.7.6/crates/cli/src/cloud-auth → smbcloud_cli-1.1.0/crates/cli/src/tenant}/request.rs +6 -11
  22. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/Cargo.toml +1 -1
  23. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/README.md +1 -1
  24. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/Cargo.toml +10 -1
  25. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/README.md +1 -1
  26. smbcloud_cli-1.1.0/crates/smbcloud-deploy/src/artifact.rs +767 -0
  27. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/src/lib.rs +2 -0
  28. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-email-sdk/Cargo.toml +1 -1
  29. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-mail/Cargo.toml +1 -1
  30. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-mail/README.md +1 -1
  31. {smbcloud_cli-0.7.6/crates/cli/src/tenant → smbcloud_cli-1.1.0/crates/smbcloud-mail/src}/request.rs +6 -11
  32. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/Cargo.toml +1 -1
  33. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/README.md +1 -1
  34. smbcloud_cli-1.1.0/crates/smbcloud-model/src/artifact_deployment.rs +69 -0
  35. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/deploy_config.rs +6 -0
  36. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/lib.rs +1 -0
  37. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/project.rs +1 -1
  38. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-network/Cargo.toml +4 -1
  39. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-network/README.md +1 -1
  40. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-network/src/network.rs +105 -13
  41. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking/Cargo.toml +1 -1
  42. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking/README.md +1 -1
  43. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/Cargo.toml +1 -1
  44. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/README.md +1 -1
  45. smbcloud_cli-1.1.0/crates/smbcloud-networking-project/src/crud_app_deploy_config.rs +60 -0
  46. smbcloud_cli-1.1.0/crates/smbcloud-networking-project/src/crud_artifact_deployment.rs +50 -0
  47. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/lib.rs +2 -0
  48. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/request.rs +6 -11
  49. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/url_builder.rs +28 -0
  50. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-utils/Cargo.toml +1 -1
  51. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-utils/README.md +1 -1
  52. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/xcrs/Cargo.toml +1 -1
  53. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/xcrs/src/mcp.rs +409 -28
  54. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/xcrs/src/xcrs.rs +434 -11
  55. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/cli.rs +0 -0
  56. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/forgot/mod.rs +0 -0
  57. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/login/mod.rs +0 -0
  58. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/login/process.rs +0 -0
  59. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/logout/mod.rs +0 -0
  60. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/me/mod.rs +0 -0
  61. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/mod.rs +0 -0
  62. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/signup/mod.rs +0 -0
  63. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/account/signup/process.rs +0 -0
  64. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ci.rs +0 -0
  65. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-auth/auth_app.rs +0 -0
  66. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-auth/cli.rs +0 -0
  67. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-auth/mod.rs +0 -0
  68. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-auth/process.rs +0 -0
  69. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-auth/render.rs +0 -0
  70. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-auth/url_builder.rs +0 -0
  71. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/config.rs +0 -0
  72. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/git.rs +0 -0
  73. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/process_deploy_rails.rs +0 -0
  74. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/process_deploy_rust.rs +0 -0
  75. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/process_deploy_static_site.rs +0 -0
  76. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/process_deploy_swift.rs +0 -0
  77. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/remote_messages.rs +0 -0
  78. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/setup.rs +0 -0
  79. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/setup_project.rs +0 -0
  80. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-deploy/setup_select_project.rs +0 -0
  81. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-mail/cli.rs +0 -0
  82. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-mail/current_project.rs +0 -0
  83. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-mail/mod.rs +0 -0
  84. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-mail/process.rs +0 -0
  85. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-mail/render.rs +0 -0
  86. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/cloud-mail/send.rs +0 -0
  87. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/controlkit.rs +0 -0
  88. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/interface.rs +0 -0
  89. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/lib.rs +0 -0
  90. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/mcp_apps/auth_app.html +0 -0
  91. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/mcp_apps/deployments.html +0 -0
  92. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/mcp_apps/inbox.html +0 -0
  93. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/cli.rs +0 -0
  94. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/crud_create.rs +0 -0
  95. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/crud_delete.rs +0 -0
  96. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/crud_read.rs +0 -0
  97. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/deploy_target.rs +0 -0
  98. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/deployment.rs +0 -0
  99. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/mod.rs +0 -0
  100. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/project/process.rs +0 -0
  101. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/session_config.rs +0 -0
  102. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/tenant/cli.rs +0 -0
  103. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/tenant/mod.rs +0 -0
  104. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/tenant/process.rs +0 -0
  105. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/tenant/render.rs +0 -0
  106. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/tenant/tenant_client.rs +0 -0
  107. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/tenant/url_builder.rs +0 -0
  108. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/token/clear_smb_token.rs +0 -0
  109. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/token/get_smb_token.rs +0 -0
  110. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/token/is_logged_in.rs +0 -0
  111. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/token/mod.rs +0 -0
  112. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/token/smb_token_file_path.rs +0 -0
  113. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/confirm_dialog.rs +0 -0
  114. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/deployment_detail_view.rs +0 -0
  115. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/deployment_table.rs +0 -0
  116. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/me_view.rs +0 -0
  117. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/mod.rs +0 -0
  118. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/plain.rs +0 -0
  119. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/project_detail_view.rs +0 -0
  120. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/project_table.rs +0 -0
  121. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/prompt.rs +0 -0
  122. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/reporter.rs +0 -0
  123. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/cli/src/ui/theme.rs +0 -0
  124. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/.gitignore +0 -0
  125. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/check_email.rs +0 -0
  126. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/lib.rs +0 -0
  127. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/login.rs +0 -0
  128. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/logout.rs +0 -0
  129. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/me.rs +0 -0
  130. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/oauth/get_account_status.rs +0 -0
  131. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/oauth/get_consent_url.rs +0 -0
  132. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/oauth/get_profile.rs +0 -0
  133. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/oauth/get_token.rs +0 -0
  134. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/oauth/mod.rs +0 -0
  135. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/oauth/provider.rs +0 -0
  136. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/remove.rs +0 -0
  137. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/resend_email_verification.rs +0 -0
  138. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/resend_reset_password_instruction.rs +0 -0
  139. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/reset_password.rs +0 -0
  140. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-auth/src/signup.rs +0 -0
  141. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/src/build.rs +0 -0
  142. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/src/error.rs +0 -0
  143. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/src/known_hosts.rs +0 -0
  144. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/src/report.rs +0 -0
  145. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/src/runner.rs +0 -0
  146. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-deploy/src/transport.rs +0 -0
  147. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-email-sdk/README.md +0 -0
  148. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-email-sdk/src/client.rs +0 -0
  149. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-email-sdk/src/client_credentials.rs +0 -0
  150. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-email-sdk/src/error.rs +0 -0
  151. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-email-sdk/src/message.rs +0 -0
  152. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-email-sdk/src/smbcloud_email_sdk.rs +0 -0
  153. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-mail/src/mail_app.rs +0 -0
  154. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-mail/src/mail_inbox.rs +0 -0
  155. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-mail/src/mail_message.rs +0 -0
  156. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-mail/src/smbcloud_mail.rs +0 -0
  157. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-mail/src/url_builder.rs +0 -0
  158. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/account.rs +0 -0
  159. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/app_auth.rs +0 -0
  160. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/deploy_config_update.rs +0 -0
  161. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/error_codes.rs +0 -0
  162. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/forgot.rs +0 -0
  163. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/frontend_app.rs +0 -0
  164. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/login.rs +0 -0
  165. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/mail.rs +0 -0
  166. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/oauth.rs +0 -0
  167. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/repository.rs +0 -0
  168. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/reset_password_response.rs +0 -0
  169. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/runner.rs +0 -0
  170. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/signup.rs +0 -0
  171. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-model/src/tenant.rs +0 -0
  172. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-network/src/environment.rs +0 -0
  173. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-network/src/lib.rs +0 -0
  174. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking/src/constants.rs +0 -0
  175. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking/src/lib.rs +0 -0
  176. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking/src/smb_client.rs +0 -0
  177. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_deploy_repo_create.rs +0 -0
  178. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_frontend_app_create.rs +0 -0
  179. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_frontend_app_deploy_config.rs +0 -0
  180. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_frontend_app_read.rs +0 -0
  181. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_frontend_app_update_deploy_config.rs +0 -0
  182. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_project_create.rs +0 -0
  183. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_project_delete.rs +0 -0
  184. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_project_deployment_create.rs +0 -0
  185. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_project_deployment_read.rs +0 -0
  186. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_project_deployment_update.rs +0 -0
  187. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_project_read.rs +0 -0
  188. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-networking-project/src/crud_project_update.rs +0 -0
  189. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-utils/src/config.rs +0 -0
  190. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-utils/src/lib.rs +0 -0
  191. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/smbcloud-utils/src/write_config.rs +0 -0
  192. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/xcrs/README.md +0 -0
  193. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/crates/xcrs/src/main.rs +0 -0
  194. {smbcloud_cli-0.7.6 → smbcloud_cli-1.1.0}/pyproject.toml +0 -0
@@ -104,6 +104,16 @@ version = "1.0.104"
104
104
  source = "registry+https://github.com/rust-lang/crates.io-index"
105
105
  checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
106
106
 
107
+ [[package]]
108
+ name = "assert-json-diff"
109
+ version = "2.0.2"
110
+ source = "registry+https://github.com/rust-lang/crates.io-index"
111
+ checksum = "47e4f2b81832e72834d7518d8487a0396a28cc408186a2e8854c0f98011faf12"
112
+ dependencies = [
113
+ "serde",
114
+ "serde_json",
115
+ ]
116
+
107
117
  [[package]]
108
118
  name = "async-trait"
109
119
  version = "0.1.92"
@@ -127,7 +137,7 @@ version = "0.2.14"
127
137
  source = "registry+https://github.com/rust-lang/crates.io-index"
128
138
  checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
129
139
  dependencies = [
130
- "hermit-abi",
140
+ "hermit-abi 0.1.19",
131
141
  "libc",
132
142
  "winapi",
133
143
  ]
@@ -180,6 +190,16 @@ dependencies = [
180
190
  "hybrid-array",
181
191
  ]
182
192
 
193
+ [[package]]
194
+ name = "bstr"
195
+ version = "1.13.1"
196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
197
+ checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f"
198
+ dependencies = [
199
+ "memchr",
200
+ "serde_core",
201
+ ]
202
+
183
203
  [[package]]
184
204
  name = "bumpalo"
185
205
  version = "3.20.3"
@@ -433,6 +453,31 @@ dependencies = [
433
453
  "libc",
434
454
  ]
435
455
 
456
+ [[package]]
457
+ name = "crossbeam-deque"
458
+ version = "0.8.8"
459
+ source = "registry+https://github.com/rust-lang/crates.io-index"
460
+ checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
461
+ dependencies = [
462
+ "crossbeam-epoch",
463
+ "crossbeam-utils",
464
+ ]
465
+
466
+ [[package]]
467
+ name = "crossbeam-epoch"
468
+ version = "0.9.21"
469
+ source = "registry+https://github.com/rust-lang/crates.io-index"
470
+ checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
471
+ dependencies = [
472
+ "crossbeam-utils",
473
+ ]
474
+
475
+ [[package]]
476
+ name = "crossbeam-utils"
477
+ version = "0.8.23"
478
+ source = "registry+https://github.com/rust-lang/crates.io-index"
479
+ checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
480
+
436
481
  [[package]]
437
482
  name = "crossterm"
438
483
  version = "0.28.1"
@@ -520,6 +565,24 @@ dependencies = [
520
565
  "syn 3.0.4",
521
566
  ]
522
567
 
568
+ [[package]]
569
+ name = "deadpool"
570
+ version = "0.12.3"
571
+ source = "registry+https://github.com/rust-lang/crates.io-index"
572
+ checksum = "0be2b1d1d6ec8d846f05e137292d0b89133caf95ef33695424c09568bdd39b1b"
573
+ dependencies = [
574
+ "deadpool-runtime",
575
+ "lazy_static",
576
+ "num_cpus",
577
+ "tokio",
578
+ ]
579
+
580
+ [[package]]
581
+ name = "deadpool-runtime"
582
+ version = "0.1.4"
583
+ source = "registry+https://github.com/rust-lang/crates.io-index"
584
+ checksum = "092966b41edc516079bdf31ec78a2e0588d1d0c08f78b91d8307215928642b2b"
585
+
523
586
  [[package]]
524
587
  name = "deranged"
525
588
  version = "0.5.8"
@@ -856,6 +919,38 @@ dependencies = [
856
919
  "url",
857
920
  ]
858
921
 
922
+ [[package]]
923
+ name = "globset"
924
+ version = "0.4.21"
925
+ source = "registry+https://github.com/rust-lang/crates.io-index"
926
+ checksum = "f98b0d85522dc0a824cfebbc9594ff4a9b289c568bea0370319dfbdf20ccdd2d"
927
+ dependencies = [
928
+ "aho-corasick",
929
+ "bstr",
930
+ "log",
931
+ "regex-automata",
932
+ "regex-syntax",
933
+ ]
934
+
935
+ [[package]]
936
+ name = "h2"
937
+ version = "0.4.20"
938
+ source = "registry+https://github.com/rust-lang/crates.io-index"
939
+ checksum = "7d29020232d6aa3fb1daca64c1127cf662cf97f254ae16c18c05b8ab635fc118"
940
+ dependencies = [
941
+ "atomic-waker",
942
+ "bytes",
943
+ "fnv",
944
+ "futures-core",
945
+ "futures-sink",
946
+ "http",
947
+ "indexmap",
948
+ "slab",
949
+ "tokio",
950
+ "tokio-util",
951
+ "tracing",
952
+ ]
953
+
859
954
  [[package]]
860
955
  name = "hashbrown"
861
956
  version = "0.15.5"
@@ -903,6 +998,12 @@ dependencies = [
903
998
  "libc",
904
999
  ]
905
1000
 
1001
+ [[package]]
1002
+ name = "hermit-abi"
1003
+ version = "0.5.3"
1004
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1005
+ checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284"
1006
+
906
1007
  [[package]]
907
1008
  name = "hmac"
908
1009
  version = "0.13.0"
@@ -960,6 +1061,12 @@ version = "1.10.1"
960
1061
  source = "registry+https://github.com/rust-lang/crates.io-index"
961
1062
  checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
962
1063
 
1064
+ [[package]]
1065
+ name = "httpdate"
1066
+ version = "1.0.3"
1067
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1068
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
1069
+
963
1070
  [[package]]
964
1071
  name = "hybrid-array"
965
1072
  version = "0.4.14"
@@ -979,9 +1086,11 @@ dependencies = [
979
1086
  "bytes",
980
1087
  "futures-channel",
981
1088
  "futures-core",
1089
+ "h2",
982
1090
  "http",
983
1091
  "http-body",
984
1092
  "httparse",
1093
+ "httpdate",
985
1094
  "itoa",
986
1095
  "pin-project-lite",
987
1096
  "smallvec",
@@ -1163,6 +1272,22 @@ dependencies = [
1163
1272
  "icu_properties",
1164
1273
  ]
1165
1274
 
1275
+ [[package]]
1276
+ name = "ignore"
1277
+ version = "0.4.34"
1278
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1279
+ checksum = "484be5657551d7868d67587df967fb4fcbe9d266a761cc855aaa148fda0b3cc7"
1280
+ dependencies = [
1281
+ "crossbeam-deque",
1282
+ "globset",
1283
+ "log",
1284
+ "memchr",
1285
+ "regex-automata",
1286
+ "same-file",
1287
+ "walkdir",
1288
+ "winapi-util",
1289
+ ]
1290
+
1166
1291
  [[package]]
1167
1292
  name = "indexmap"
1168
1293
  version = "2.14.0"
@@ -1505,6 +1630,16 @@ dependencies = [
1505
1630
  "autocfg",
1506
1631
  ]
1507
1632
 
1633
+ [[package]]
1634
+ name = "num_cpus"
1635
+ version = "1.17.0"
1636
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1637
+ checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b"
1638
+ dependencies = [
1639
+ "hermit-abi 0.5.3",
1640
+ "libc",
1641
+ ]
1642
+
1508
1643
  [[package]]
1509
1644
  name = "number_prefix"
1510
1645
  version = "0.4.0"
@@ -2068,7 +2203,9 @@ checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147"
2068
2203
  dependencies = [
2069
2204
  "base64 0.22.1",
2070
2205
  "bytes",
2206
+ "futures-channel",
2071
2207
  "futures-core",
2208
+ "futures-util",
2072
2209
  "http",
2073
2210
  "http-body",
2074
2211
  "http-body-util",
@@ -2516,7 +2653,7 @@ checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
2516
2653
 
2517
2654
  [[package]]
2518
2655
  name = "smbcloud-auth"
2519
- version = "0.7.6"
2656
+ version = "1.1.0"
2520
2657
  dependencies = [
2521
2658
  "log",
2522
2659
  "reqwest",
@@ -2531,7 +2668,7 @@ dependencies = [
2531
2668
 
2532
2669
  [[package]]
2533
2670
  name = "smbcloud-auth-sdk"
2534
- version = "0.7.6"
2671
+ version = "1.1.0"
2535
2672
  dependencies = [
2536
2673
  "base64 0.22.1",
2537
2674
  "reqwest",
@@ -2546,7 +2683,7 @@ dependencies = [
2546
2683
 
2547
2684
  [[package]]
2548
2685
  name = "smbcloud-auth-sdk-py"
2549
- version = "0.7.6"
2686
+ version = "1.1.0"
2550
2687
  dependencies = [
2551
2688
  "pyo3",
2552
2689
  "pythonize",
@@ -2560,7 +2697,7 @@ dependencies = [
2560
2697
 
2561
2698
  [[package]]
2562
2699
  name = "smbcloud-auth-sdk-wasm"
2563
- version = "0.7.6"
2700
+ version = "1.1.0"
2564
2701
  dependencies = [
2565
2702
  "serde-wasm-bindgen",
2566
2703
  "smbcloud-auth-sdk",
@@ -2573,7 +2710,7 @@ dependencies = [
2573
2710
 
2574
2711
  [[package]]
2575
2712
  name = "smbcloud-cli"
2576
- version = "0.7.6"
2713
+ version = "1.1.0"
2577
2714
  dependencies = [
2578
2715
  "anyhow",
2579
2716
  "chrono",
@@ -2621,20 +2758,27 @@ dependencies = [
2621
2758
 
2622
2759
  [[package]]
2623
2760
  name = "smbcloud-deploy"
2624
- version = "0.7.6"
2761
+ version = "1.1.0"
2625
2762
  dependencies = [
2626
2763
  "anyhow",
2764
+ "ignore",
2765
+ "reqwest",
2766
+ "serde",
2627
2767
  "serde_json",
2768
+ "sha2 0.10.9",
2628
2769
  "smbcloud-model",
2770
+ "smbcloud-network",
2629
2771
  "smbcloud-utils",
2630
2772
  "tempfile",
2631
2773
  "thiserror 2.0.20",
2774
+ "tokio",
2632
2775
  "tracing",
2776
+ "wiremock",
2633
2777
  ]
2634
2778
 
2635
2779
  [[package]]
2636
2780
  name = "smbcloud-email-sdk"
2637
- version = "0.7.6"
2781
+ version = "1.1.0"
2638
2782
  dependencies = [
2639
2783
  "anyhow",
2640
2784
  "log",
@@ -2649,7 +2793,7 @@ dependencies = [
2649
2793
 
2650
2794
  [[package]]
2651
2795
  name = "smbcloud-gresiq"
2652
- version = "0.7.6"
2796
+ version = "1.1.0"
2653
2797
  dependencies = [
2654
2798
  "native-tls",
2655
2799
  "postgres-native-tls",
@@ -2663,7 +2807,7 @@ dependencies = [
2663
2807
 
2664
2808
  [[package]]
2665
2809
  name = "smbcloud-gresiq-sdk"
2666
- version = "0.7.6"
2810
+ version = "1.1.0"
2667
2811
  dependencies = [
2668
2812
  "anyhow",
2669
2813
  "log",
@@ -2677,7 +2821,7 @@ dependencies = [
2677
2821
 
2678
2822
  [[package]]
2679
2823
  name = "smbcloud-mail"
2680
- version = "0.7.6"
2824
+ version = "1.1.0"
2681
2825
  dependencies = [
2682
2826
  "reqwest",
2683
2827
  "serde",
@@ -2689,7 +2833,7 @@ dependencies = [
2689
2833
 
2690
2834
  [[package]]
2691
2835
  name = "smbcloud-model"
2692
- version = "0.7.6"
2836
+ version = "1.1.0"
2693
2837
  dependencies = [
2694
2838
  "chrono",
2695
2839
  "log",
@@ -2705,7 +2849,7 @@ dependencies = [
2705
2849
 
2706
2850
  [[package]]
2707
2851
  name = "smbcloud-network"
2708
- version = "0.7.6"
2852
+ version = "1.1.0"
2709
2853
  dependencies = [
2710
2854
  "clap 4.6.6",
2711
2855
  "log",
@@ -2713,12 +2857,13 @@ dependencies = [
2713
2857
  "serde",
2714
2858
  "serde_json",
2715
2859
  "smbcloud-model",
2860
+ "tokio",
2716
2861
  "wasm-bindgen",
2717
2862
  ]
2718
2863
 
2719
2864
  [[package]]
2720
2865
  name = "smbcloud-networking"
2721
- version = "0.7.6"
2866
+ version = "1.1.0"
2722
2867
  dependencies = [
2723
2868
  "smbcloud-network",
2724
2869
  "url-builder",
@@ -2726,7 +2871,7 @@ dependencies = [
2726
2871
 
2727
2872
  [[package]]
2728
2873
  name = "smbcloud-networking-project"
2729
- version = "0.7.6"
2874
+ version = "1.1.0"
2730
2875
  dependencies = [
2731
2876
  "anyhow",
2732
2877
  "async-trait",
@@ -2744,11 +2889,11 @@ dependencies = [
2744
2889
 
2745
2890
  [[package]]
2746
2891
  name = "smbcloud-s6n"
2747
- version = "0.7.6"
2892
+ version = "1.1.0"
2748
2893
 
2749
2894
  [[package]]
2750
2895
  name = "smbcloud-utils"
2751
- version = "0.7.6"
2896
+ version = "1.1.0"
2752
2897
  dependencies = [
2753
2898
  "anyhow",
2754
2899
  "dirs",
@@ -3959,6 +4104,29 @@ dependencies = [
3959
4104
  "memchr",
3960
4105
  ]
3961
4106
 
4107
+ [[package]]
4108
+ name = "wiremock"
4109
+ version = "0.6.5"
4110
+ source = "registry+https://github.com/rust-lang/crates.io-index"
4111
+ checksum = "08db1edfb05d9b3c1542e521aea074442088292f00b5f28e435c714a98f85031"
4112
+ dependencies = [
4113
+ "assert-json-diff",
4114
+ "base64 0.22.1",
4115
+ "deadpool",
4116
+ "futures",
4117
+ "http",
4118
+ "http-body-util",
4119
+ "hyper",
4120
+ "hyper-util",
4121
+ "log",
4122
+ "once_cell",
4123
+ "regex",
4124
+ "serde",
4125
+ "serde_json",
4126
+ "tokio",
4127
+ "url",
4128
+ ]
4129
+
3962
4130
  [[package]]
3963
4131
  name = "wit-bindgen"
3964
4132
  version = "0.57.1"
@@ -3973,7 +4141,7 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
3973
4141
 
3974
4142
  [[package]]
3975
4143
  name = "xcrs"
3976
- version = "0.7.6"
4144
+ version = "1.1.0"
3977
4145
  dependencies = [
3978
4146
  "anyhow",
3979
4147
  "base64 0.22.1",
@@ -16,6 +16,7 @@ dirs = "6.0"
16
16
 
17
17
  git2 = "0.20.1"
18
18
  home = "0.5.4"
19
+ ignore = "0.4"
19
20
  indicatif = "0.17.11"
20
21
  log = "0.4.14"
21
22
  maybe-async = "0.2"
@@ -29,17 +30,18 @@ schemars = "1"
29
30
  serde = "1"
30
31
  serde_json = "1.0.82"
31
32
  serde_repr = "0.1"
32
- smbcloud-auth = { version = "0.7.6", path = "crates/smbcloud-auth" }
33
- smbcloud-auth-sdk = { version = "0.7.6", path = "crates/smbcloud-auth-sdk" }
34
- smbcloud-deploy = { version = "0.7.6", path = "crates/smbcloud-deploy" }
35
- smbcloud-email-sdk = { version = "0.7.6", path = "crates/smbcloud-email-sdk" }
36
- smbcloud-gresiq-sdk = { version = "0.7.6", path = "crates/smbcloud-gresiq-sdk" }
37
- smbcloud-mail = { version = "0.7.6", path = "crates/smbcloud-mail" }
38
- smbcloud-model = { version = "0.7.6", path = "crates/smbcloud-model" }
39
- smbcloud-network = { version = "0.7.6", path = "crates/smbcloud-network" }
40
- smbcloud-networking = { version = "0.7.6", path = "crates/smbcloud-networking" }
41
- smbcloud-networking-project = { version = "0.7.6", path = "crates/smbcloud-networking-project" }
42
- smbcloud-utils = { version = "0.7.6", path = "crates/smbcloud-utils" }
33
+ sha2 = "0.10"
34
+ smbcloud-auth = { version = "1.1.0", path = "crates/smbcloud-auth" }
35
+ smbcloud-auth-sdk = { version = "1.1.0", path = "crates/smbcloud-auth-sdk" }
36
+ smbcloud-deploy = { version = "1.1.0", path = "crates/smbcloud-deploy" }
37
+ smbcloud-email-sdk = { version = "1.1.0", path = "crates/smbcloud-email-sdk" }
38
+ smbcloud-gresiq-sdk = { version = "1.1.0", path = "crates/smbcloud-gresiq-sdk" }
39
+ smbcloud-mail = { version = "1.1.0", path = "crates/smbcloud-mail" }
40
+ smbcloud-model = { version = "1.1.0", path = "crates/smbcloud-model" }
41
+ smbcloud-network = { version = "1.1.0", path = "crates/smbcloud-network" }
42
+ smbcloud-networking = { version = "1.1.0", path = "crates/smbcloud-networking" }
43
+ smbcloud-networking-project = { version = "1.1.0", path = "crates/smbcloud-networking-project" }
44
+ smbcloud-utils = { version = "1.1.0", path = "crates/smbcloud-utils" }
43
45
  spinners = "4.1.0"
44
46
  strum = "0.27"
45
47
  strum_macros = "0.27"
@@ -55,5 +57,6 @@ tracing-subscriber = "0.3.14"
55
57
  tsync = "2"
56
58
  uniffi = "0.31"
57
59
  url-builder = "0.1.1"
60
+ wiremock = "0.6"
58
61
  wasm-bindgen = "0.2"
59
- xcrs = { version = "0.7.6", path = "crates/xcrs" }
62
+ xcrs = { version = "1.1.0", path = "crates/xcrs" }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: smbcloud-cli
3
- Version: 0.7.6
3
+ Version: 1.1.0
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -31,7 +31,7 @@ Project-URL: Repository, https://github.com/smbcloudXYZ/smbcloud-cli
31
31
  <br>smbCloud CLI
32
32
  </h1>
33
33
  <p align="center">
34
- Deploy with smbCloud from your terminal.
34
+ smbCloud Mail, Auth, Deploy and GresIQ from your terminal, your scripts and your agents.
35
35
  <br />
36
36
  <br />
37
37
  <a href="https://smbcloud.xyz/">Website</a>
@@ -139,5 +139,5 @@ See the [smbCloud documentation](https://smbcloud.xyz/posts) for setup and deplo
139
139
 
140
140
  ## Copyright
141
141
 
142
- © 2026 [Splitfire AB](https://5mb.app) ([smbCloud](https://smbcloud.xyz)).
142
+ © 2026 Seto Elkahfi ([smbCloud](https://smbcloud.xyz)). Distributed by [Splitfire AB](https://5mb.app).
143
143
 
@@ -5,7 +5,7 @@
5
5
  <br>smbCloud CLI
6
6
  </h1>
7
7
  <p align="center">
8
- Deploy with smbCloud from your terminal.
8
+ smbCloud Mail, Auth, Deploy and GresIQ from your terminal, your scripts and your agents.
9
9
  <br />
10
10
  <br />
11
11
  <a href="https://smbcloud.xyz/">Website</a>
@@ -113,4 +113,4 @@ See the [smbCloud documentation](https://smbcloud.xyz/posts) for setup and deplo
113
113
 
114
114
  ## Copyright
115
115
 
116
- © 2026 [Splitfire AB](https://5mb.app) ([smbCloud](https://smbcloud.xyz)).
116
+ © 2026 Seto Elkahfi ([smbCloud](https://smbcloud.xyz)). Distributed by [Splitfire AB](https://5mb.app).
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "smbcloud-cli"
3
- version = "0.7.6"
3
+ version = "1.1.0"
4
4
  edition = "2021"
5
5
  authors = ["Seto Elkahfi <seto@smbcloud.xyz>"]
6
6
  description = "smbCloud command line interface."
@@ -5,7 +5,7 @@
5
5
  <br>smbCloud CLI
6
6
  </h1>
7
7
  <p align="center">
8
- Deploy with smbCloud from your terminal.
8
+ smbCloud Mail, Auth, Deploy and GresIQ from your terminal, your scripts and your agents.
9
9
  <br />
10
10
  <br />
11
11
  <a href="https://smbcloud.xyz/">Website</a>
@@ -99,4 +99,4 @@ More CLI and deployment guides live in the [smbCloud docs](https://smbcloud.xyz/
99
99
 
100
100
  ## Copyright
101
101
 
102
- © 2026 [Splitfire AB](https://5mb.app) ([smbCloud](https://smbcloud.xyz)).
102
+ © 2026 Seto Elkahfi ([smbCloud](https://smbcloud.xyz)). Distributed by [Splitfire AB](https://5mb.app).
@@ -34,6 +34,11 @@ pub async fn authorize_github(env: &Environment) -> Result<SmbAuthorization> {
34
34
  .to_string(),
35
35
  );
36
36
 
37
+ // Bind before opening the browser so a busy port is reported to the user
38
+ // instead of leaving them waiting on a callback that can never arrive.
39
+ let listener = TcpListener::bind(format!("127.0.0.1:{}", GH_OAUTH_REDIRECT_PORT))
40
+ .map_err(|e| anyhow!("Could not listen on port {GH_OAUTH_REDIRECT_PORT}: {e}"))?;
41
+
37
42
  let rx = match open::that(build_github_oauth_url()) {
38
43
  Ok(_) => {
39
44
  let (tx, rx): (Sender<String>, Receiver<String>) = mpsc::channel();
@@ -42,7 +47,7 @@ pub async fn authorize_github(env: &Environment) -> Result<SmbAuthorization> {
42
47
  tx, rx
43
48
  );
44
49
  tokio::spawn(async move {
45
- setup_oauth_callback_server(tx);
50
+ setup_oauth_callback_server(listener, tx);
46
51
  });
47
52
  rx
48
53
  }
@@ -68,25 +73,35 @@ pub async fn authorize_github(env: &Environment) -> Result<SmbAuthorization> {
68
73
  }
69
74
  }
70
75
 
71
- fn setup_oauth_callback_server(tx: Sender<String>) {
72
- let listener = TcpListener::bind(format!("127.0.0.1:{}", GH_OAUTH_REDIRECT_PORT)).unwrap();
76
+ fn setup_oauth_callback_server(listener: TcpListener, tx: Sender<String>) {
73
77
  for stream in listener.incoming() {
74
- let stream = stream.unwrap();
75
- handle_connection(stream, tx.clone());
78
+ let result = stream
79
+ .map_err(anyhow::Error::from)
80
+ .and_then(|stream| handle_connection(stream, tx.clone()));
81
+ if let Err(e) = result {
82
+ debug!("OAuth callback connection failed: {e}");
83
+ }
76
84
  }
77
85
  }
78
86
 
79
- fn handle_connection(mut stream: TcpStream, tx: Sender<String>) {
87
+ fn handle_connection(mut stream: TcpStream, tx: Sender<String>) -> Result<()> {
80
88
  let buf_reader = BufReader::new(&stream);
81
- let request_line = &buf_reader.lines().next().unwrap().unwrap();
89
+ let request_line = buf_reader
90
+ .lines()
91
+ .next()
92
+ .ok_or_else(|| anyhow!("OAuth callback connection closed without a request."))??;
82
93
 
83
94
  debug!("Request: {:#?}", request_line);
84
95
 
85
- let code_regex = Regex::new(r"code=([^&]*)").unwrap();
96
+ let code_regex = Regex::new(r"code=([^&]*)")?;
97
+
98
+ let code = code_regex
99
+ .captures(&request_line)
100
+ .and_then(|group| group.get(1));
86
101
 
87
- let (status_line, contents) = match code_regex.captures(request_line) {
88
- Some(group) => {
89
- let code = group.get(1).unwrap().as_str();
102
+ let (status_line, contents) = match code {
103
+ Some(code) => {
104
+ let code = code.as_str();
90
105
  debug!("Code: {:#?}", code);
91
106
  debug!("Sending code to channel...");
92
107
  debug!("Channel: {:#?}", tx);
@@ -137,8 +152,9 @@ fn handle_connection(mut stream: TcpStream, tx: Sender<String>) {
137
152
 
138
153
  debug!("Contents: {:#?}", contents);
139
154
  let response = format!("{status_line}\r\n\r\n{contents}");
140
- stream.write_all(response.as_bytes()).unwrap();
141
- stream.flush().unwrap();
155
+ stream.write_all(response.as_bytes())?;
156
+ stream.flush()?;
157
+ Ok(())
142
158
  }
143
159
 
144
160
  pub async fn process_connect_github(env: Environment, code: String) -> Result<SmbAuthorization> {
@@ -80,6 +80,14 @@ pub enum Commands {
80
80
  /// Matches the `name` field in .smb/config.toml. Omit to deploy the root project.
81
81
  #[arg(short, long)]
82
82
  project: Option<String>,
83
+ /// Apps published over HTTPS only (refused on SSH-deployed apps): print the
84
+ /// app, the file list and the total size, then stop before anything is uploaded.
85
+ #[arg(long)]
86
+ dry_run: bool,
87
+ /// Apps published over HTTPS only (refused on SSH-deployed apps): skip the
88
+ /// build and ship the existing output directory.
89
+ #[arg(long)]
90
+ prebuilt: bool,
83
91
  },
84
92
  #[clap(
85
93
  about = "Initialize project. Requires an smbCloud account.",
@@ -1,20 +1,15 @@
1
1
  use reqwest::{RequestBuilder, StatusCode};
2
2
  use serde_json::Value;
3
3
  use smbcloud_model::error_codes::{ErrorCode, ErrorResponse};
4
- use smbcloud_network::network::{check_internet_connection, parse_error_response};
4
+ use smbcloud_network::network::{log_send_error, parse_error_response};
5
5
 
6
6
  pub(crate) async fn request_empty(builder: RequestBuilder) -> Result<(), ErrorResponse> {
7
- if !check_internet_connection().await {
8
- return Err(ErrorResponse::Error {
7
+ let response = builder.send().await.map_err(|e| {
8
+ log_send_error(&e);
9
+ ErrorResponse::Error {
9
10
  error_code: ErrorCode::NetworkError,
10
- message: "No internet connection. Please check your network settings and try again."
11
- .to_string(),
12
- });
13
- }
14
-
15
- let response = builder.send().await.map_err(|_| ErrorResponse::Error {
16
- error_code: ErrorCode::NetworkError,
17
- message: ErrorCode::NetworkError.message(None).to_string(),
11
+ message: ErrorCode::NetworkError.message(None).to_string(),
12
+ }
18
13
  })?;
19
14
 
20
15
  match response.status() {
@@ -1,6 +1,8 @@
1
1
  pub mod config;
2
2
  mod git;
3
3
  pub mod process_deploy;
4
+ pub mod process_deploy_artifact;
5
+ pub mod process_deploy_astro_ssr;
4
6
  pub mod process_deploy_nextjs_ssr;
5
7
  pub mod process_deploy_rails;
6
8
  pub mod process_deploy_rust;