@mcp-use/cli 3.5.3-canary.5 → 3.5.3-canary.6

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.
package/dist/index.js CHANGED
@@ -6322,10 +6322,7 @@ async function listDeploymentsCommand(options) {
6322
6322
  serverOrgMap.set(uniqueServerIds[i], orgName);
6323
6323
  }
6324
6324
  }
6325
- const sortedDeployments = [...deployments].sort(
6326
- (a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()
6327
- );
6328
- if (sortedDeployments.length === 0) {
6325
+ if (deployments.length === 0) {
6329
6326
  if (page.total === 0) {
6330
6327
  console.log(source_default.yellow("No deployments found."));
6331
6328
  console.log(
@@ -6346,7 +6343,7 @@ async function listDeploymentsCommand(options) {
6346
6343
  `
6347
6344
  \u{1F4E6} ${formatPageHeader(
6348
6345
  "Deployments",
6349
- sortedDeployments.length,
6346
+ deployments.length,
6350
6347
  page.total
6351
6348
  )}
6352
6349
  `
@@ -6358,7 +6355,7 @@ async function listDeploymentsCommand(options) {
6358
6355
  )
6359
6356
  );
6360
6357
  console.log(source_default.gray("\u2500".repeat(155)));
6361
- for (const deployment of sortedDeployments) {
6358
+ for (const deployment of deployments) {
6362
6359
  const id = formatId(deployment.id).padEnd(40);
6363
6360
  const name = deployment.name.substring(0, 24).padEnd(25);
6364
6361
  const orgName = deployment.serverId ? serverOrgMap.get(deployment.serverId) ?? "-" : "-";