@elizaos/cli 1.6.2-alpha.19 → 1.6.2-alpha.20

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
@@ -4749,7 +4749,7 @@ __export(exports_version, {
4749
4749
  BUILD_TIME: () => BUILD_TIME,
4750
4750
  BUILD_ENV: () => BUILD_ENV
4751
4751
  });
4752
- var CLI_VERSION = "1.6.2-alpha.19", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-10-17T10:50:11.166Z", BUILD_ENV = "production", version_default;
4752
+ var CLI_VERSION = "1.6.2-alpha.20", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-10-17T11:06:10.792Z", BUILD_ENV = "production", version_default;
4753
4753
  var init_version = __esm(() => {
4754
4754
  version_default = {
4755
4755
  version: CLI_VERSION,
@@ -291991,8 +291991,8 @@ async function deployWithECS(options) {
291991
291991
  image_tag: imageBuildData.ecrImageTag,
291992
291992
  port: options.port || 3000,
291993
291993
  desired_count: options.desiredCount || 1,
291994
- cpu: options.cpu || 256,
291995
- memory: options.memory || 512,
291994
+ cpu: options.cpu || 1792,
291995
+ memory: options.memory || 1792,
291996
291996
  environment_vars: {
291997
291997
  ...environmentVars,
291998
291998
  PORT: (options.port || 3000).toString(),
@@ -292176,7 +292176,7 @@ async function deployProject(options) {
292176
292176
  }
292177
292177
 
292178
292178
  // src/commands/deploy/index.ts
292179
- var deploy = new Command().name("deploy").description("Deploy ElizaOS project to AWS ECS (Elastic Container Service)").option("-n, --name <name>", "Name for the deployment").option("-p, --port <port>", "Port the container listens on", (value) => parseInt(value, 10), 3000).option("--desired-count <count>", "Number of container instances to run", (value) => parseInt(value, 10), 1).option("--cpu <units>", "CPU units (256 = 0.25 vCPU, 512 = 0.5 vCPU, 1024 = 1 vCPU)", (value) => parseInt(value, 10), 256).option("--memory <mb>", "Memory in MB (minimum 512 for 256 CPU units)", (value) => parseInt(value, 10), 512).option("-k, --api-key <key>", "ElizaOS Cloud API key").option("-u, --api-url <url>", "ElizaOS Cloud API URL", "https://elizacloud.ai").option("-e, --env <KEY=VALUE>", "Environment variable (can be specified multiple times)", (value, previous) => {
292179
+ var deploy = new Command().name("deploy").description("Deploy ElizaOS project to AWS ECS (Elastic Container Service)").option("-n, --name <name>", "Name for the deployment").option("-p, --port <port>", "Port the container listens on", (value) => parseInt(value, 10), 3000).option("--desired-count <count>", "Number of container instances to run", (value) => parseInt(value, 10), 1).option("--cpu <units>", "CPU units (1792 = 1.75 vCPU, uses 87.5% of t3g.small)", (value) => parseInt(value, 10), 1792).option("--memory <mb>", "Memory in MB (1792 = 1.75 GB, uses 87.5% of t3g.small)", (value) => parseInt(value, 10), 1792).option("-k, --api-key <key>", "ElizaOS Cloud API key").option("-u, --api-url <url>", "ElizaOS Cloud API URL", "https://elizacloud.ai").option("-e, --env <KEY=VALUE>", "Environment variable (can be specified multiple times)", (value, previous) => {
292180
292180
  return previous.concat([value]);
292181
292181
  }, []).option("--skip-build", "Skip Docker build and use existing image").option("--image-uri <uri>", "Use existing ECR image URI (requires --skip-build)").action(async (options) => {
292182
292182
  try {
@@ -292188,11 +292188,11 @@ var deploy = new Command().name("deploy").description("Deploy ElizaOS project to
292188
292188
  logger30.error("\u274C Error: Desired count must be a number between 1 and 10");
292189
292189
  process.exit(1);
292190
292190
  }
292191
- if (options.cpu && ![256, 512, 1024, 2048, 4096].includes(options.cpu)) {
292191
+ if (options.cpu && (options.cpu < 256 || options.cpu > 2048)) {
292192
292192
  logger30.error("\u274C Error: CPU must be one of: 256, 512, 1024, 2048, 4096");
292193
292193
  process.exit(1);
292194
292194
  }
292195
- if (options.memory && (isNaN(options.memory) || options.memory < 512)) {
292195
+ if (options.memory && (isNaN(options.memory) || options.memory < 512 || options.memory > 2048)) {
292196
292196
  logger30.error("\u274C Error: Memory must be at least 512 MB");
292197
292197
  process.exit(1);
292198
292198
  }
@@ -318120,5 +318120,5 @@ main().catch((error47) => {
318120
318120
  process.exit(1);
318121
318121
  });
318122
318122
 
318123
- //# debugId=6A6407C207AA803364756E2164756E21
318123
+ //# debugId=77A901879F60217C64756E2164756E21
318124
318124
  //# sourceMappingURL=index.js.map