@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.
@@ -1 +1 @@
1
- {"version":3,"file":"deployments.d.ts","sourceRoot":"","sources":["../../src/commands/deployments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAklBpC,wBAAgB,wBAAwB,IAAI,OAAO,CAgElD"}
1
+ {"version":3,"file":"deployments.d.ts","sourceRoot":"","sources":["../../src/commands/deployments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA6kBpC,wBAAgB,wBAAwB,IAAI,OAAO,CAgElD"}
package/dist/index.cjs CHANGED
@@ -6337,10 +6337,7 @@ async function listDeploymentsCommand(options) {
6337
6337
  serverOrgMap.set(uniqueServerIds[i], orgName);
6338
6338
  }
6339
6339
  }
6340
- const sortedDeployments = [...deployments].sort(
6341
- (a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()
6342
- );
6343
- if (sortedDeployments.length === 0) {
6340
+ if (deployments.length === 0) {
6344
6341
  if (page.total === 0) {
6345
6342
  console.log(source_default.yellow("No deployments found."));
6346
6343
  console.log(
@@ -6361,7 +6358,7 @@ async function listDeploymentsCommand(options) {
6361
6358
  `
6362
6359
  \u{1F4E6} ${formatPageHeader(
6363
6360
  "Deployments",
6364
- sortedDeployments.length,
6361
+ deployments.length,
6365
6362
  page.total
6366
6363
  )}
6367
6364
  `
@@ -6373,7 +6370,7 @@ async function listDeploymentsCommand(options) {
6373
6370
  )
6374
6371
  );
6375
6372
  console.log(source_default.gray("\u2500".repeat(155)));
6376
- for (const deployment of sortedDeployments) {
6373
+ for (const deployment of deployments) {
6377
6374
  const id = formatId(deployment.id).padEnd(40);
6378
6375
  const name = deployment.name.substring(0, 24).padEnd(25);
6379
6376
  const orgName = deployment.serverId ? serverOrgMap.get(deployment.serverId) ?? "-" : "-";