/** * `manifest` CLI commands. * * Generate a Kubernetes Deployment or an ECS task/service definition that runs * the agent as N replicas from a single registered agent token. * * Registering an agent per replica is not workable in a container platform * (replicas come and go on every rollout), so one token backs one *logical* * agent and the replicas are distinguished by their instance id. The plan's * replica limit is validated here, before anything is written, rather than * being discovered at runtime when the extra replicas sit in standby. */ import { Command } from 'commander'; export interface ManifestCliOptions { replicas?: string; image?: string; name?: string; project?: string; out?: string; /** Skip the server-side replica-limit check (offline manifest generation). */ skipLimitCheck?: boolean; } export interface K8sManifestCliOptions extends ManifestCliOptions { namespace?: string; } export interface EcsManifestCliOptions extends ManifestCliOptions { cluster: string; subnets: string[]; securityGroups: string[]; logGroup?: string; executionRole?: string; taskRole?: string; region?: string; cpu?: string; memory?: string; assignPublicIp?: boolean; } export declare function runK8sManifest(opts: K8sManifestCliOptions): Promise; export declare function runEcsManifest(opts: EcsManifestCliOptions): Promise; export declare function registerManifestCommands(program: Command): void; //# sourceMappingURL=manifest-command.d.ts.map