@mcpcloud/cli 0.21.1 → 0.21.2

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 (2) hide show
  1. package/dist/index.js +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7830,7 +7830,7 @@ function registerServerTransferCommand(servers) {
7830
7830
  let result;
7831
7831
  try {
7832
7832
  if (opts.yes && !isJsonMode()) {
7833
- printStep(`Transferring ${c.bold(serverRef)} to ${c.bold(opts.toOrg)}…`);
7833
+ printStep(`Transferring ${c.bold(serverRef)} to ${c.bold(opts.toOrg)}… (a live deployment is redeployed as the last step; this can take a minute)`);
7834
7834
  }
7835
7835
  result = await api.post(TRANSFER_PATH, body, {
7836
7836
  timeoutMs: TRANSFER_TIMEOUT_MS
@@ -7848,6 +7848,11 @@ function registerServerTransferCommand(servers) {
7848
7848
  return;
7849
7849
  }
7850
7850
  printSuccess(`${result.server.name} now lives in ${result.to.organizationName} / ${result.to.projectName ?? result.to.projectId}${result.to.projectCreated ? " (project created)" : ""}. ${result.patchedRows} row(s) rehomed; id and slug unchanged.`);
7851
+ if (result.redeploy?.status === "failed") {
7852
+ printWarn(` ! The live deployment could not be redeployed into ${result.to.organizationName}: ${result.redeploy.message ?? "unknown error"}. Its runtime refuses the destination’s tokens until it is. Run: mcp servers deploy ${serverRef} --wait --org ${result.to.organizationId}`);
7853
+ } else if (result.redeploy) {
7854
+ printInfo(` Live deployment redeployed into ${result.to.organizationName} (${result.redeploy.status})${result.redeploy.deploymentUrl ? `: ${result.redeploy.deploymentUrl}` : ""}`);
7855
+ }
7851
7856
  }));
7852
7857
  }
7853
7858
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpcloud/cli",
3
- "version": "0.21.1",
3
+ "version": "0.21.2",
4
4
  "description": "The official CLI for MCPCloud — manage projects, servers, skills, and API keys from the terminal",
5
5
  "type": "module",
6
6
  "bin": {