@cloudflare/containers-shared 0.21.6 → 0.22.0

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.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ComplianceConfig, CliPresentationOverrides, Logger, FetchResultFetcher, FetchPagedListResultFetcher, CliPresentation, Config, ContainerApp } from '@cloudflare/workers-utils';
2
- import { ParsedInputContainerConfig } from '@cloudflare/config';
2
+ import { ParsedInputContainerConfig, ParsedInputWorkerConfig, ParsedOutputContainerConfig, ParsedOutputWorkerConfig } from '@cloudflare/config';
3
3
  import { ComplianceConfig as ComplianceConfig$1 } from '@cloudflare/workers-utils/compliance';
4
4
  import { StdioOptions } from 'node:child_process';
5
5
 
@@ -3920,6 +3920,33 @@ type CreateContainerDevPlanOptions = {
3920
3920
  * @throws If image preparation is required without a build ID.
3921
3921
  */
3922
3922
  declare function createContainerDevPlan(options: CreateContainerDevPlanOptions): ContainerDevPlan | undefined;
3923
+ /**
3924
+ * Builds the local image and runtime plan directly from parsed
3925
+ * `cloudflare.config.ts` Container configuration.
3926
+ *
3927
+ * @param options - Input Container definitions, Worker exports, project root, and build ID.
3928
+ * @returns The image preparation and runtime plan, or `undefined` when no export links a Container.
3929
+ * @throws If a linked Container is missing or image preparation has no build ID.
3930
+ */
3931
+ declare function createContainerDevPlanForCfConfig(options: {
3932
+ containers: ParsedInputContainerConfig[];
3933
+ exports: ParsedInputWorkerConfig["exports"];
3934
+ root: string;
3935
+ containerBuildId?: string;
3936
+ }): ContainerDevPlan | undefined;
3937
+ /**
3938
+ * Builds Container runtime metadata directly from Build Output references.
3939
+ * Local references need no preparation; remote references also produce a
3940
+ * pull-only preparation option without generating a replacement tag.
3941
+ *
3942
+ * @param options - Parsed Container and Worker Build Output configuration.
3943
+ * @returns Runtime metadata keyed by Durable Object export, or `undefined` when none use Containers.
3944
+ * @throws If Build Output omits a Container referenced by a Worker export.
3945
+ */
3946
+ declare function createContainerPreviewPlanForCfConfig(options: {
3947
+ containers: ParsedOutputContainerConfig[];
3948
+ exports: ParsedOutputWorkerConfig["exports"];
3949
+ }): ContainerDevPlan | undefined;
3923
3950
 
3924
3951
  interface ContainerSshArgs {
3925
3952
  id: string;
@@ -4053,4 +4080,4 @@ declare function deleteContainerImage({ accountId, complianceConfig, image, }: R
4053
4080
  /** Returns whether a value matches the OCI image tag grammar. */
4054
4081
  declare function isValidImageTag(value: string): boolean;
4055
4082
 
4056
- export { type AccountDefaults, type AccountID, type AccountLimit, type AccountLocation, type AccountLocationLimits, type AccountLocationLimitsAsProperty, type AccountRegistryToken, AccountService, type AddressAssignment, ApiError, type Application, type ApplicationAffinities, ApplicationAffinityColocation, ApplicationAffinityHardwareGeneration, type ApplicationConstraintPop, type ApplicationConstraints, type ApplicationHealth, type ApplicationHealthInstances, type ApplicationID, type ApplicationJob, type ApplicationJobsConfig, ApplicationMutationError, type ApplicationName, type ApplicationNotFoundError, type ApplicationObservability, type ApplicationPriorities, type ApplicationPriority, ApplicationRollout, type ApplicationRolloutActiveGracePeriod, type ApplicationRolloutProgress, type ApplicationSchedulingHint, type ApplicationStatus, ApplicationsService, AssignIPv4, AssignIPv6, type BadRequestError, BadRequestWithCodeError, type BuildArgs, type BuiltContainerImage, type BuiltImage, CancelError, CancelablePromise, type City, type Command, type CompleteAccountCustomer, type CompleteAccountLocationCustomer, type ContainerBuildCommandArgs, type ContainerDevOptions, type ContainerDevPlan, type ContainerDevRuntimeOptions, type ContainerImagePreparation, ContainerImagePreparationStatus, ContainerImagePreparationsService, type ContainerImageRepository, ContainerNetworkMode, type ContainerNormalizedConfig, type ContainerPushCommandArgs, type ContainerSshArgs, type ContainersSharedContext, type CreateApplicationBadRequest, type CreateApplicationJobBadRequest, type CreateApplicationJobRequest, type CreateApplicationRequest, CreateApplicationRolloutRequest, type CreateDeploymentBadRequest, type CreateDeploymentV2RequestBody, type CreateDurableObjectApplicationRequest, type CreateImageRegistryRequestBody, type CreateSSHPublicKeyError, type CreateSSHPublicKeyRequestBody, type CustomerImageRegistry, DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE, type DNSConfiguration, type DashApplication, type DashApplicationDurableObjectInstance, type DashApplicationInstance, type DashApplicationInstances, type DeleteContainerImageResult, type DeleteDeploymentError, type DeleteImageRegistryResponse, type DeploymentAlreadyExists, type DeploymentCheck, type DeploymentCheckHTTP, type DeploymentCheckHTTPRequestBody, DeploymentCheckKind, type DeploymentCheckRequestBody, DeploymentCheckType, type DeploymentCreationError, type DeploymentID, type DeploymentListError, type DeploymentLocation, type DeploymentModificationError, DeploymentMutationError, DeploymentNotFoundError, DeploymentPlacementState, type DeploymentQueuedDetails, DeploymentQueuedReason, type DeploymentReplacementError, DeploymentSchedulingState, type DeploymentSecretMap, type DeploymentState, DeploymentType, type DeploymentV2, type DeploymentVersion, DeploymentsService, Diff, type Disk, type DiskMB, type DiskSizeWithUnit, type DockerfileConfig, type DockerfileContainerConfig, type Domain, type DurableObjectApplicationConfiguration, type DurableObjectApplicationObservability, type DurableObjectNamespace, DurableObjectStatusHealth, type DurableObjectsConfiguration, type Duration, type EmptyResponse, type Entrypoint, type EnvironmentVariable, type EnvironmentVariableName, type EnvironmentVariableValue, EventName, EventType, type ExecFormParam, ExternalRegistryKind, FUSE_CONTAINER_PRIVILEGES, type GenericErrorDetails, type GenericErrorResponseWithRequestID, type GenericMessageResponse, type GetDeploymentError, type GetPlacementError, HTTPMethod, type IP, type IPAllocation, type IPAllocationConfiguration, type IPAllocationsWithFilter, IPType, type IPV4, IPsService, type ISO8601Timestamp, type Identity, type Image, type ImageRef, ImageRegistriesService, ImageRegistryAlreadyExistsError, type ImageRegistryAuth, type ImageRegistryCredentialsConfiguration, ImageRegistryIsPublic, ImageRegistryNotAllowedError, ImageRegistryNotFoundError, ImageRegistryPermissions, type ImageRegistryProtoDomain, type ImageRegistryProtocol, ImageRegistryProtocolAlreadyExists, ImageRegistryProtocolIsReferencedError, ImageRegistryProtocolNotFound, type ImageRegistryProtocols, type ImageURIConfig, InstanceType, type InstanceTypeOrLimits, type InternalError, type JobEvents, type JobID, type JobNotFoundError, type JobSecretMap, type JobStatus, JobStatusHealth, type JobTimeoutSeconds, JobsService, type Label, type LabelName, type LabelValue, type ListApplications, type ListDeploymentsV2, type ListIPsIsAllocated, type ListPlacements, type ListPlacementsError, type ListSSHPublicKeys, type ListSSHPublicKeysError, type ListSecretsMetadata, type Location, type LocationID, MF_DEV_CONTAINER_PREFIX, type MemorySizeWithUnit, type ModifyApplicationBadRequest, type ModifyApplicationJobBadRequest, type ModifyApplicationJobRequest, type ModifyApplicationRequestBody, type ModifyDeploymentBadRequest, type ModifyDeploymentV2RequestBody, type ModifyMeRequestBody, type ModifySecretRequestBody, type ModifyUserDeploymentConfiguration, type Network, NetworkMode, type NetworkParameters, NodeGroup, type Observability, type ObservabilityLogs, OpenAPI, type OpenAPIConfig, type PaginatedResult, type Placement, type PlacementEvent, type PlacementEvents, type PlacementID, type PlacementNotFoundError, type PlacementStatus, PlacementStatusHealth, type PlacementWithEvents, PlacementsService, type PlainTextSecretValue, type Port, type PortRange, type PortRangeAllocation, type PrepareContainerImageRequestBody, ProvisionerConfiguration, type Ref, type Region, type ReplaceDeploymentRequestBody, type ResolvedContainerDeployment, type ResultInfo, type RolloutID, RolloutStep, type RolloutStepRequest, RolloutsService, type SSHPublicKey, type SSHPublicKeyID, type SSHPublicKeyItem, SSHPublicKeyNotFoundError, type SchedulerDeploymentConfiguration, SchedulingPolicy, type Secret, SecretAccessType, type SecretMap, type SecretMetadata, type SecretName, SecretNameAlreadyExists, SecretNotFound, SecretsService, type SecretsStoreRef, type SharedContainerConfig, SshPublicKeysService, type UnAuthorizedError, type UnixTimestamp, type UnknownAccount, UpdateApplicationRolloutRequest, type UpdateRolloutResponse, type UserDeploymentConfiguration, type UserSSHPublicKey, type VerifyDockerInstalledOptions, type ViteLogger, type WranglerLogger, type WranglerSSHConfig, type WranglerSSHResponse, apply, buildAndMaybePush, buildAndWriteContainerOutput, buildCommand, buildContainerImages, cleanApplicationFromAPI, cleanForInstanceType, cleanupBuiltImages, cleanupContainers, cliPresentation, configRolloutStepsToAPI, configureOpenAPIForContainerPull, containerPrivilegesAllowed, containersSshOptions, createContainerDevPlan, createDurableObjectNamespaceResolver, deleteContainerImage, deployContainers, dockerBuild, dockerImageInspect, dockerLoginImageRegistry, ensureContainerLimits, ensureImageFitsLimits, fetchPagedListResult, fetchResult, formatError, generateContainerBuildId, getAndValidateRegistryType, getCloudflareContainerRegistry, getCloudflareRegistryWithAccountNamespace, getContainerAccount, getContainerIdsByImageTags, getContainerIdsFromImage, getContainerImageTag, getDevContainerImageName, getDockerHostFromEnv, getDockerSocketFromContext, getEgressInterceptorImage, getEgressInterceptorPlatform, getInstanceTypeUsage, inferInstanceType, initContainersSharedContext, isCloudflareRegistryImage, isDockerRunning, isDockerfileContainerConfig, isValidImageTag, listContainerImages, listDurableObjects, logger, normalizeContainerImageRepositoryName, parseContainerImageTag, prepareContainerImagesForDev, promiseSpinner, pullEgressInterceptorImage, pullImage, pushBuiltContainerImage, pushCommand, pushImageIfChanged, request, requestPaginated, resolveDockerHost, resolveImageName, runDockerCmd, runDockerCmdWithOutput, shouldUseStdio, sortObjectRecursive, sshCommand, startContainerBuild, stripUndefined, validateAndEncodeGarKey, verifyDockerInstalled, verifySshInstalled };
4083
+ export { type AccountDefaults, type AccountID, type AccountLimit, type AccountLocation, type AccountLocationLimits, type AccountLocationLimitsAsProperty, type AccountRegistryToken, AccountService, type AddressAssignment, ApiError, type Application, type ApplicationAffinities, ApplicationAffinityColocation, ApplicationAffinityHardwareGeneration, type ApplicationConstraintPop, type ApplicationConstraints, type ApplicationHealth, type ApplicationHealthInstances, type ApplicationID, type ApplicationJob, type ApplicationJobsConfig, ApplicationMutationError, type ApplicationName, type ApplicationNotFoundError, type ApplicationObservability, type ApplicationPriorities, type ApplicationPriority, ApplicationRollout, type ApplicationRolloutActiveGracePeriod, type ApplicationRolloutProgress, type ApplicationSchedulingHint, type ApplicationStatus, ApplicationsService, AssignIPv4, AssignIPv6, type BadRequestError, BadRequestWithCodeError, type BuildArgs, type BuiltContainerImage, type BuiltImage, CancelError, CancelablePromise, type City, type Command, type CompleteAccountCustomer, type CompleteAccountLocationCustomer, type ContainerBuildCommandArgs, type ContainerDevOptions, type ContainerDevPlan, type ContainerDevRuntimeOptions, type ContainerImagePreparation, ContainerImagePreparationStatus, ContainerImagePreparationsService, type ContainerImageRepository, ContainerNetworkMode, type ContainerNormalizedConfig, type ContainerPushCommandArgs, type ContainerSshArgs, type ContainersSharedContext, type CreateApplicationBadRequest, type CreateApplicationJobBadRequest, type CreateApplicationJobRequest, type CreateApplicationRequest, CreateApplicationRolloutRequest, type CreateDeploymentBadRequest, type CreateDeploymentV2RequestBody, type CreateDurableObjectApplicationRequest, type CreateImageRegistryRequestBody, type CreateSSHPublicKeyError, type CreateSSHPublicKeyRequestBody, type CustomerImageRegistry, DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE, type DNSConfiguration, type DashApplication, type DashApplicationDurableObjectInstance, type DashApplicationInstance, type DashApplicationInstances, type DeleteContainerImageResult, type DeleteDeploymentError, type DeleteImageRegistryResponse, type DeploymentAlreadyExists, type DeploymentCheck, type DeploymentCheckHTTP, type DeploymentCheckHTTPRequestBody, DeploymentCheckKind, type DeploymentCheckRequestBody, DeploymentCheckType, type DeploymentCreationError, type DeploymentID, type DeploymentListError, type DeploymentLocation, type DeploymentModificationError, DeploymentMutationError, DeploymentNotFoundError, DeploymentPlacementState, type DeploymentQueuedDetails, DeploymentQueuedReason, type DeploymentReplacementError, DeploymentSchedulingState, type DeploymentSecretMap, type DeploymentState, DeploymentType, type DeploymentV2, type DeploymentVersion, DeploymentsService, Diff, type Disk, type DiskMB, type DiskSizeWithUnit, type DockerfileConfig, type DockerfileContainerConfig, type Domain, type DurableObjectApplicationConfiguration, type DurableObjectApplicationObservability, type DurableObjectNamespace, DurableObjectStatusHealth, type DurableObjectsConfiguration, type Duration, type EmptyResponse, type Entrypoint, type EnvironmentVariable, type EnvironmentVariableName, type EnvironmentVariableValue, EventName, EventType, type ExecFormParam, ExternalRegistryKind, FUSE_CONTAINER_PRIVILEGES, type GenericErrorDetails, type GenericErrorResponseWithRequestID, type GenericMessageResponse, type GetDeploymentError, type GetPlacementError, HTTPMethod, type IP, type IPAllocation, type IPAllocationConfiguration, type IPAllocationsWithFilter, IPType, type IPV4, IPsService, type ISO8601Timestamp, type Identity, type Image, type ImageRef, ImageRegistriesService, ImageRegistryAlreadyExistsError, type ImageRegistryAuth, type ImageRegistryCredentialsConfiguration, ImageRegistryIsPublic, ImageRegistryNotAllowedError, ImageRegistryNotFoundError, ImageRegistryPermissions, type ImageRegistryProtoDomain, type ImageRegistryProtocol, ImageRegistryProtocolAlreadyExists, ImageRegistryProtocolIsReferencedError, ImageRegistryProtocolNotFound, type ImageRegistryProtocols, type ImageURIConfig, InstanceType, type InstanceTypeOrLimits, type InternalError, type JobEvents, type JobID, type JobNotFoundError, type JobSecretMap, type JobStatus, JobStatusHealth, type JobTimeoutSeconds, JobsService, type Label, type LabelName, type LabelValue, type ListApplications, type ListDeploymentsV2, type ListIPsIsAllocated, type ListPlacements, type ListPlacementsError, type ListSSHPublicKeys, type ListSSHPublicKeysError, type ListSecretsMetadata, type Location, type LocationID, MF_DEV_CONTAINER_PREFIX, type MemorySizeWithUnit, type ModifyApplicationBadRequest, type ModifyApplicationJobBadRequest, type ModifyApplicationJobRequest, type ModifyApplicationRequestBody, type ModifyDeploymentBadRequest, type ModifyDeploymentV2RequestBody, type ModifyMeRequestBody, type ModifySecretRequestBody, type ModifyUserDeploymentConfiguration, type Network, NetworkMode, type NetworkParameters, NodeGroup, type Observability, type ObservabilityLogs, OpenAPI, type OpenAPIConfig, type PaginatedResult, type Placement, type PlacementEvent, type PlacementEvents, type PlacementID, type PlacementNotFoundError, type PlacementStatus, PlacementStatusHealth, type PlacementWithEvents, PlacementsService, type PlainTextSecretValue, type Port, type PortRange, type PortRangeAllocation, type PrepareContainerImageRequestBody, ProvisionerConfiguration, type Ref, type Region, type ReplaceDeploymentRequestBody, type ResolvedContainerDeployment, type ResultInfo, type RolloutID, RolloutStep, type RolloutStepRequest, RolloutsService, type SSHPublicKey, type SSHPublicKeyID, type SSHPublicKeyItem, SSHPublicKeyNotFoundError, type SchedulerDeploymentConfiguration, SchedulingPolicy, type Secret, SecretAccessType, type SecretMap, type SecretMetadata, type SecretName, SecretNameAlreadyExists, SecretNotFound, SecretsService, type SecretsStoreRef, type SharedContainerConfig, SshPublicKeysService, type UnAuthorizedError, type UnixTimestamp, type UnknownAccount, UpdateApplicationRolloutRequest, type UpdateRolloutResponse, type UserDeploymentConfiguration, type UserSSHPublicKey, type VerifyDockerInstalledOptions, type ViteLogger, type WranglerLogger, type WranglerSSHConfig, type WranglerSSHResponse, apply, buildAndMaybePush, buildAndWriteContainerOutput, buildCommand, buildContainerImages, cleanApplicationFromAPI, cleanForInstanceType, cleanupBuiltImages, cleanupContainers, cliPresentation, configRolloutStepsToAPI, configureOpenAPIForContainerPull, containerPrivilegesAllowed, containersSshOptions, createContainerDevPlan, createContainerDevPlanForCfConfig, createContainerPreviewPlanForCfConfig, createDurableObjectNamespaceResolver, deleteContainerImage, deployContainers, dockerBuild, dockerImageInspect, dockerLoginImageRegistry, ensureContainerLimits, ensureImageFitsLimits, fetchPagedListResult, fetchResult, formatError, generateContainerBuildId, getAndValidateRegistryType, getCloudflareContainerRegistry, getCloudflareRegistryWithAccountNamespace, getContainerAccount, getContainerIdsByImageTags, getContainerIdsFromImage, getContainerImageTag, getDevContainerImageName, getDockerHostFromEnv, getDockerSocketFromContext, getEgressInterceptorImage, getEgressInterceptorPlatform, getInstanceTypeUsage, inferInstanceType, initContainersSharedContext, isCloudflareRegistryImage, isDockerRunning, isDockerfileContainerConfig, isValidImageTag, listContainerImages, listDurableObjects, logger, normalizeContainerImageRepositoryName, parseContainerImageTag, prepareContainerImagesForDev, promiseSpinner, pullEgressInterceptorImage, pullImage, pushBuiltContainerImage, pushCommand, pushImageIfChanged, request, requestPaginated, resolveDockerHost, resolveImageName, runDockerCmd, runDockerCmdWithOutput, shouldUseStdio, sortObjectRecursive, sshCommand, startContainerBuild, stripUndefined, validateAndEncodeGarKey, verifyDockerInstalled, verifySshInstalled };
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module';
2
2
  import { spawn, execFileSync, execFile } from 'node:child_process';
3
3
  import crypto2, { randomUUID, createHash } from 'node:crypto';
4
4
  import { existsSync, readFileSync } from 'node:fs';
5
- import path2, { join } from 'node:path';
5
+ import path3, { join } from 'node:path';
6
6
  import { getDockerPath } from '@cloudflare/workers-utils/docker-path';
7
7
  import { UserError, FatalError } from '@cloudflare/workers-utils/errors';
8
8
  import { isDirectory } from '@cloudflare/workers-utils/fs-helpers';
@@ -3982,13 +3982,13 @@ var getQueryString = /* @__PURE__ */ __name((params) => {
3982
3982
  }, "getQueryString");
3983
3983
  var getUrl = /* @__PURE__ */ __name((config, options) => {
3984
3984
  const encoder = config.ENCODE_PATH || encodeURI;
3985
- const path3 = options.url.replace("{api-version}", config.VERSION).replace(/{(.*?)}/g, (substring, group) => {
3985
+ const path4 = options.url.replace("{api-version}", config.VERSION).replace(/{(.*?)}/g, (substring, group) => {
3986
3986
  if (options.path?.hasOwnProperty(group)) {
3987
3987
  return encoder(String(options.path[group]));
3988
3988
  }
3989
3989
  return substring;
3990
3990
  });
3991
- const url = `${config.BASE}${path3}`;
3991
+ const url = `${config.BASE}${path4}`;
3992
3992
  if (options.query) {
3993
3993
  return `${url}${getQueryString(options.query)}`;
3994
3994
  }
@@ -6595,7 +6595,7 @@ Attempting to pull image anyway...`
6595
6595
  "linux/amd64"
6596
6596
  ]);
6597
6597
  const ready = pull.ready.then(async ({ aborted }) => {
6598
- if (!aborted) {
6598
+ if (!aborted && options.image_uri !== options.image_tag) {
6599
6599
  await runDockerCmd(dockerPath, [
6600
6600
  "tag",
6601
6601
  options.image_uri,
@@ -7643,6 +7643,20 @@ async function dockerBuild(dockerPath, options) {
7643
7643
  };
7644
7644
  }
7645
7645
  __name(dockerBuild, "dockerBuild");
7646
+ function resolveInputContainerImage(options) {
7647
+ if ("reference" in options.image) {
7648
+ return { reference: options.image.reference };
7649
+ }
7650
+ const dockerfile = path3.resolve(options.root, options.image.dockerfile);
7651
+ return {
7652
+ dockerfile,
7653
+ buildContext: options.image.buildContext === void 0 ? path3.dirname(dockerfile) : path3.resolve(options.root, options.image.buildContext),
7654
+ buildVars: options.image.buildVars
7655
+ };
7656
+ }
7657
+ __name(resolveInputContainerImage, "resolveInputContainerImage");
7658
+
7659
+ // src/build-output.ts
7646
7660
  var BUILD_OUTPUT_IMAGE_NAMESPACE = "cloudflare-build";
7647
7661
  var DOCKER_REPOSITORY_NAME_LENGTH = 255;
7648
7662
  async function buildAndWriteContainerOutput(options) {
@@ -7741,10 +7755,13 @@ async function buildContainerOutputConfig(options) {
7741
7755
  }
7742
7756
  __name(buildContainerOutputConfig, "buildContainerOutputConfig");
7743
7757
  async function buildContainerImage2(options) {
7744
- if ("reference" in options.image) {
7745
- return { reference: options.image.reference };
7758
+ const image = resolveInputContainerImage({
7759
+ image: options.image,
7760
+ root: options.root
7761
+ });
7762
+ if ("reference" in image) {
7763
+ return image;
7746
7764
  }
7747
- const pathToDockerfile = path2.resolve(options.root, options.image.dockerfile);
7748
7765
  const localTag = createBuildOutputImageTag({
7749
7766
  root: options.root,
7750
7767
  repositoryName: options.repositoryName,
@@ -7759,9 +7776,9 @@ async function buildContainerImage2(options) {
7759
7776
  const build = await startContainerBuild({
7760
7777
  build: {
7761
7778
  tag: localTag,
7762
- pathToDockerfile,
7763
- buildContext: options.image.buildContext === void 0 ? path2.dirname(pathToDockerfile) : path2.resolve(options.root, options.image.buildContext),
7764
- args: options.image.buildVars,
7779
+ pathToDockerfile: image.dockerfile,
7780
+ buildContext: image.buildContext,
7781
+ args: image.buildVars,
7765
7782
  platform: "linux/amd64"
7766
7783
  },
7767
7784
  pathToDocker: options.pathToDocker,
@@ -7806,7 +7823,7 @@ async function cleanupPreviousBuildOutputImageTags(options) {
7806
7823
  }
7807
7824
  __name(cleanupPreviousBuildOutputImageTags, "cleanupPreviousBuildOutputImageTags");
7808
7825
  function getBuildOutputImageRepositoryPrefix(root) {
7809
- return `${BUILD_OUTPUT_IMAGE_NAMESPACE}/${shortHash(path2.resolve(root))}/`;
7826
+ return `${BUILD_OUTPUT_IMAGE_NAMESPACE}/${shortHash(path3.resolve(root))}/`;
7810
7827
  }
7811
7828
  __name(getBuildOutputImageRepositoryPrefix, "getBuildOutputImageRepositoryPrefix");
7812
7829
  function shortHash(value) {
@@ -8068,11 +8085,11 @@ var Diff = class {
8068
8085
  }) {
8069
8086
  log(this.toString(options));
8070
8087
  }
8071
- #addToPath(path3, added, removed, oldPosInc) {
8072
- const last = path3.lastComponent;
8088
+ #addToPath(path4, added, removed, oldPosInc) {
8089
+ const last = path4.lastComponent;
8073
8090
  if (last && last.added === added && last.removed === removed) {
8074
8091
  return {
8075
- oldPos: path3.oldPos + oldPosInc,
8092
+ oldPos: path4.oldPos + oldPosInc,
8076
8093
  lastComponent: {
8077
8094
  count: last.count + 1,
8078
8095
  added,
@@ -8082,7 +8099,7 @@ var Diff = class {
8082
8099
  };
8083
8100
  }
8084
8101
  return {
8085
- oldPos: path3.oldPos + oldPosInc,
8102
+ oldPos: path4.oldPos + oldPosInc,
8086
8103
  lastComponent: {
8087
8104
  count: 1,
8088
8105
  added,
@@ -8986,7 +9003,7 @@ function createContainerDevPlan(options) {
8986
9003
  }
8987
9004
  const className2 = resolvedContainer.class_name;
8988
9005
  const namedOptions = [];
8989
- const baseDir = configPath ? path2.dirname(configPath) : process.cwd();
9006
+ const baseDir = configPath ? path3.dirname(configPath) : process.cwd();
8990
9007
  for (const [imageName, image] of Object.entries(container.images ?? {})) {
8991
9008
  const imageTag2 = getNamedContainerImageTag(
8992
9009
  className2,
@@ -8994,10 +9011,10 @@ function createContainerDevPlan(options) {
8994
9011
  requireContainerBuildId(containerBuildId)
8995
9012
  );
8996
9013
  if (image.dockerfile !== void 0) {
8997
- const dockerfile = path2.resolve(baseDir, image.dockerfile);
9014
+ const dockerfile = path3.resolve(baseDir, image.dockerfile);
8998
9015
  namedOptions.push({
8999
9016
  dockerfile,
9000
- image_build_context: image.build_context === void 0 ? path2.dirname(dockerfile) : path2.resolve(baseDir, image.build_context),
9017
+ image_build_context: image.build_context === void 0 ? path3.dirname(dockerfile) : path3.resolve(baseDir, image.build_context),
9001
9018
  image_vars: image.build_vars,
9002
9019
  class_name: className2,
9003
9020
  image_name: imageName,
@@ -9038,7 +9055,7 @@ function createContainerDevPlan(options) {
9038
9055
  if (isDockerfile(container.image, configPath)) {
9039
9056
  containerOptions.push({
9040
9057
  dockerfile: container.image,
9041
- image_build_context: container.image_build_context ?? path2.dirname(container.image),
9058
+ image_build_context: container.image_build_context ?? path3.dirname(container.image),
9042
9059
  image_vars: container.image_vars,
9043
9060
  class_name: className,
9044
9061
  image_tag: imageTag
@@ -9054,6 +9071,127 @@ function createContainerDevPlan(options) {
9054
9071
  return containerOptions.length === 0 && containerRuntimeOptions.size === 0 ? void 0 : { containerOptions, containerRuntimeOptions };
9055
9072
  }
9056
9073
  __name(createContainerDevPlan, "createContainerDevPlan");
9074
+ function createContainerDevPlanForCfConfig(options) {
9075
+ return createContainerPlanForCfConfig({
9076
+ containers: options.containers,
9077
+ exports: options.exports,
9078
+ containerDescription: "Container",
9079
+ createImagePlan: /* @__PURE__ */ __name(({ image, className, imageName }) => {
9080
+ const buildId = requireContainerBuildId(options.containerBuildId);
9081
+ const imageTag = imageName === void 0 ? getDevContainerImageName(className, buildId) : getNamedContainerImageTag(className, imageName, buildId);
9082
+ const resolvedImage = resolveInputContainerImage({
9083
+ image,
9084
+ root: options.root
9085
+ });
9086
+ const containerOptionBase = {
9087
+ class_name: className,
9088
+ image_tag: imageTag,
9089
+ ...imageName === void 0 ? {} : { image_name: imageName }
9090
+ };
9091
+ return {
9092
+ reference: imageTag,
9093
+ containerOption: "reference" in resolvedImage ? {
9094
+ ...containerOptionBase,
9095
+ image_uri: resolvedImage.reference
9096
+ } : {
9097
+ ...containerOptionBase,
9098
+ dockerfile: resolvedImage.dockerfile,
9099
+ image_build_context: resolvedImage.buildContext,
9100
+ image_vars: resolvedImage.buildVars
9101
+ }
9102
+ };
9103
+ }, "createImagePlan")
9104
+ });
9105
+ }
9106
+ __name(createContainerDevPlanForCfConfig, "createContainerDevPlanForCfConfig");
9107
+ function createContainerPreviewPlanForCfConfig(options) {
9108
+ return createContainerPlanForCfConfig({
9109
+ containers: options.containers,
9110
+ exports: options.exports,
9111
+ containerDescription: "Build Output Container",
9112
+ createImagePlan: /* @__PURE__ */ __name(({ image, className, imageName }) => {
9113
+ const reference = "reference" in image ? image.reference : image.localReference;
9114
+ if (!("reference" in image)) {
9115
+ return { reference };
9116
+ }
9117
+ return {
9118
+ reference,
9119
+ containerOption: {
9120
+ image_uri: reference,
9121
+ image_tag: reference,
9122
+ class_name: className,
9123
+ ...imageName === void 0 ? {} : { image_name: imageName }
9124
+ }
9125
+ };
9126
+ }, "createImagePlan")
9127
+ });
9128
+ }
9129
+ __name(createContainerPreviewPlanForCfConfig, "createContainerPreviewPlanForCfConfig");
9130
+ function createContainerPlanForCfConfig(options) {
9131
+ const containersByName = indexContainersByName(options.containers);
9132
+ const containerOptions = [];
9133
+ const containerRuntimeOptions = /* @__PURE__ */ new Map();
9134
+ for (const [className, containerName] of getContainerLinks(options.exports)) {
9135
+ const container = containersByName.get(containerName);
9136
+ if (container === void 0) {
9137
+ throw new Error(
9138
+ `Expected ${options.containerDescription} "${containerName}" referenced by Durable Object export "${className}" to be defined`
9139
+ );
9140
+ }
9141
+ if (container.schedulingPolicy === "durable-object") {
9142
+ const images = Object.entries(container.images ?? {}).map(
9143
+ ([name, image]) => {
9144
+ const imagePlan2 = options.createImagePlan({
9145
+ image,
9146
+ className,
9147
+ imageName: name
9148
+ });
9149
+ if (imagePlan2.containerOption !== void 0) {
9150
+ containerOptions.push(imagePlan2.containerOption);
9151
+ }
9152
+ return { name, image: imagePlan2.reference };
9153
+ }
9154
+ );
9155
+ containerRuntimeOptions.set(
9156
+ className,
9157
+ images.length === 0 ? {} : { images }
9158
+ );
9159
+ continue;
9160
+ }
9161
+ const imagePlan = options.createImagePlan({
9162
+ image: container.image,
9163
+ className
9164
+ });
9165
+ if (imagePlan.containerOption !== void 0) {
9166
+ containerOptions.push(imagePlan.containerOption);
9167
+ }
9168
+ containerRuntimeOptions.set(className, { imageName: imagePlan.reference });
9169
+ }
9170
+ return containerRuntimeOptions.size === 0 ? void 0 : { containerOptions, containerRuntimeOptions };
9171
+ }
9172
+ __name(createContainerPlanForCfConfig, "createContainerPlanForCfConfig");
9173
+ function getContainerLinks(exports$1) {
9174
+ const links = [];
9175
+ for (const [className, workerExport] of Object.entries(exports$1 ?? {})) {
9176
+ if (workerExport.type !== "durable-object" || !("container" in workerExport) || workerExport.container === void 0) {
9177
+ continue;
9178
+ }
9179
+ links.push([className, workerExport.container]);
9180
+ }
9181
+ return links;
9182
+ }
9183
+ __name(getContainerLinks, "getContainerLinks");
9184
+ function indexContainersByName(containers) {
9185
+ const containersByName = /* @__PURE__ */ new Map();
9186
+ for (const container of containers) {
9187
+ if (containersByName.has(container.name)) {
9188
+ throw new Error(`Duplicate Container name "${container.name}"`);
9189
+ }
9190
+ containersByName.set(container.name, container);
9191
+ }
9192
+ return containersByName;
9193
+ }
9194
+ __name(indexContainersByName, "indexContainersByName");
9057
9195
 
9058
9196
  // ../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs
9059
9197
  __toESM(require_stream());
@@ -9599,4 +9737,4 @@ function isValidImageTag(value) {
9599
9737
  }
9600
9738
  __name(isValidImageTag, "isValidImageTag");
9601
9739
 
9602
- export { AccountService, ApiError, ApplicationAffinityColocation, ApplicationAffinityHardwareGeneration, ApplicationMutationError, ApplicationRollout, ApplicationsService, AssignIPv4, AssignIPv6, BadRequestWithCodeError, CancelError, CancelablePromise, ContainerImagePreparationStatus, ContainerImagePreparationsService, ContainerNetworkMode, CreateApplicationRolloutRequest, DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE, DeploymentCheckKind, DeploymentCheckType, DeploymentMutationError, DeploymentNotFoundError, DeploymentPlacementState, DeploymentQueuedReason, DeploymentSchedulingState, DeploymentType, DeploymentsService, Diff, DurableObjectStatusHealth, EventName, EventType, ExternalRegistryKind, FUSE_CONTAINER_PRIVILEGES, HTTPMethod, IPType, IPsService, ImageRegistriesService, ImageRegistryAlreadyExistsError, ImageRegistryIsPublic, ImageRegistryNotAllowedError, ImageRegistryNotFoundError, ImageRegistryPermissions, ImageRegistryProtocolAlreadyExists, ImageRegistryProtocolIsReferencedError, ImageRegistryProtocolNotFound, InstanceType, JobStatusHealth, JobsService, MF_DEV_CONTAINER_PREFIX, NetworkMode, NodeGroup, OpenAPI, PlacementStatusHealth, PlacementsService, ProvisionerConfiguration, RolloutStep, RolloutsService, SSHPublicKeyNotFoundError, SchedulingPolicy, SecretAccessType, SecretNameAlreadyExists, SecretNotFound, SecretsService, SshPublicKeysService, UpdateApplicationRolloutRequest, apply, buildAndMaybePush, buildAndWriteContainerOutput, buildCommand, buildContainerImages, cleanApplicationFromAPI, cleanForInstanceType, cleanupBuiltImages, cleanupContainers, cliPresentation, configRolloutStepsToAPI, configureOpenAPIForContainerPull, containerPrivilegesAllowed, containersSshOptions, createContainerDevPlan, createDurableObjectNamespaceResolver, deleteContainerImage, deployContainers, dockerBuild, dockerImageInspect, dockerLoginImageRegistry, ensureContainerLimits, ensureImageFitsLimits, fetchPagedListResult, fetchResult, formatError, generateContainerBuildId, getAndValidateRegistryType, getCloudflareContainerRegistry, getCloudflareRegistryWithAccountNamespace, getContainerAccount, getContainerIdsByImageTags, getContainerIdsFromImage, getContainerImageTag, getDevContainerImageName, getDockerHostFromEnv, getDockerSocketFromContext, getEgressInterceptorImage, getEgressInterceptorPlatform, getInstanceTypeUsage, inferInstanceType, initContainersSharedContext, isCloudflareRegistryImage, isDockerRunning, isDockerfileContainerConfig, isValidImageTag, listContainerImages, listDurableObjects, logger, normalizeContainerImageRepositoryName, parseContainerImageTag, prepareContainerImagesForDev, promiseSpinner, pullEgressInterceptorImage, pullImage, pushBuiltContainerImage, pushCommand, pushImageIfChanged, request, requestPaginated, resolveDockerHost, resolveImageName, runDockerCmd, runDockerCmdWithOutput, shouldUseStdio, sortObjectRecursive, sshCommand, startContainerBuild, stripUndefined, validateAndEncodeGarKey, verifyDockerInstalled, verifySshInstalled };
9740
+ export { AccountService, ApiError, ApplicationAffinityColocation, ApplicationAffinityHardwareGeneration, ApplicationMutationError, ApplicationRollout, ApplicationsService, AssignIPv4, AssignIPv6, BadRequestWithCodeError, CancelError, CancelablePromise, ContainerImagePreparationStatus, ContainerImagePreparationsService, ContainerNetworkMode, CreateApplicationRolloutRequest, DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE, DeploymentCheckKind, DeploymentCheckType, DeploymentMutationError, DeploymentNotFoundError, DeploymentPlacementState, DeploymentQueuedReason, DeploymentSchedulingState, DeploymentType, DeploymentsService, Diff, DurableObjectStatusHealth, EventName, EventType, ExternalRegistryKind, FUSE_CONTAINER_PRIVILEGES, HTTPMethod, IPType, IPsService, ImageRegistriesService, ImageRegistryAlreadyExistsError, ImageRegistryIsPublic, ImageRegistryNotAllowedError, ImageRegistryNotFoundError, ImageRegistryPermissions, ImageRegistryProtocolAlreadyExists, ImageRegistryProtocolIsReferencedError, ImageRegistryProtocolNotFound, InstanceType, JobStatusHealth, JobsService, MF_DEV_CONTAINER_PREFIX, NetworkMode, NodeGroup, OpenAPI, PlacementStatusHealth, PlacementsService, ProvisionerConfiguration, RolloutStep, RolloutsService, SSHPublicKeyNotFoundError, SchedulingPolicy, SecretAccessType, SecretNameAlreadyExists, SecretNotFound, SecretsService, SshPublicKeysService, UpdateApplicationRolloutRequest, apply, buildAndMaybePush, buildAndWriteContainerOutput, buildCommand, buildContainerImages, cleanApplicationFromAPI, cleanForInstanceType, cleanupBuiltImages, cleanupContainers, cliPresentation, configRolloutStepsToAPI, configureOpenAPIForContainerPull, containerPrivilegesAllowed, containersSshOptions, createContainerDevPlan, createContainerDevPlanForCfConfig, createContainerPreviewPlanForCfConfig, createDurableObjectNamespaceResolver, deleteContainerImage, deployContainers, dockerBuild, dockerImageInspect, dockerLoginImageRegistry, ensureContainerLimits, ensureImageFitsLimits, fetchPagedListResult, fetchResult, formatError, generateContainerBuildId, getAndValidateRegistryType, getCloudflareContainerRegistry, getCloudflareRegistryWithAccountNamespace, getContainerAccount, getContainerIdsByImageTags, getContainerIdsFromImage, getContainerImageTag, getDevContainerImageName, getDockerHostFromEnv, getDockerSocketFromContext, getEgressInterceptorImage, getEgressInterceptorPlatform, getInstanceTypeUsage, inferInstanceType, initContainersSharedContext, isCloudflareRegistryImage, isDockerRunning, isDockerfileContainerConfig, isValidImageTag, listContainerImages, listDurableObjects, logger, normalizeContainerImageRepositoryName, parseContainerImageTag, prepareContainerImagesForDev, promiseSpinner, pullEgressInterceptorImage, pullImage, pushBuiltContainerImage, pushCommand, pushImageIfChanged, request, requestPaginated, resolveDockerHost, resolveImageName, runDockerCmd, runDockerCmdWithOutput, shouldUseStdio, sortObjectRecursive, sshCommand, startContainerBuild, stripUndefined, validateAndEncodeGarKey, verifyDockerInstalled, verifySshInstalled };
@@ -1 +1 @@
1
- {"inputs":{"src/client/core/ApiError.ts":{"bytes":686,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/core/CancelablePromise.ts":{"bytes":3230,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/core/OpenAPI.ts":{"bytes":896,"imports":[],"format":"esm"},"src/client/core/request.ts":{"bytes":12866,"imports":[{"path":"src/client/core/ApiError.ts","kind":"import-statement","original":"./ApiError"},{"path":"src/client/core/CancelablePromise.ts","kind":"import-statement","original":"./CancelablePromise"},{"path":"./OpenAPI","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/models/ApplicationAffinityColocation.ts":{"bytes":450,"imports":[],"format":"esm"},"src/client/models/ApplicationAffinityHardwareGeneration.ts":{"bytes":304,"imports":[],"format":"esm"},"src/client/models/ApplicationMutationError.ts":{"bytes":960,"imports":[],"format":"esm"},"src/client/models/ApplicationRollout.ts":{"bytes":2627,"imports":[],"format":"esm"},"src/client/models/AssignIPv4.ts":{"bytes":163,"imports":[],"format":"esm"},"src/client/models/AssignIPv6.ts":{"bytes":163,"imports":[],"format":"esm"},"src/client/models/BadRequestWithCodeError.ts":{"bytes":559,"imports":[],"format":"esm"},"src/client/models/ContainerNetworkMode.ts":{"bytes":679,"imports":[],"format":"esm"},"src/client/models/ContainerImagePreparationStatus.ts":{"bytes":176,"imports":[],"format":"esm"},"src/client/models/CreateApplicationRolloutRequest.ts":{"bytes":2329,"imports":[],"format":"esm"},"src/client/models/DeploymentCheckKind.ts":{"bytes":144,"imports":[],"format":"esm"},"src/client/models/DeploymentCheckType.ts":{"bytes":136,"imports":[],"format":"esm"},"src/client/models/DeploymentMutationError.ts":{"bytes":542,"imports":[],"format":"esm"},"src/client/models/DeploymentNotFoundError.ts":{"bytes":357,"imports":[],"format":"esm"},"src/client/models/DeploymentPlacementState.ts":{"bytes":258,"imports":[],"format":"esm"},"src/client/models/DeploymentQueuedReason.ts":{"bytes":246,"imports":[],"format":"esm"},"src/client/models/DeploymentSchedulingState.ts":{"bytes":212,"imports":[],"format":"esm"},"src/client/models/DeploymentType.ts":{"bytes":943,"imports":[],"format":"esm"},"src/client/models/DurableObjectStatusHealth.ts":{"bytes":426,"imports":[],"format":"esm"},"src/client/models/EventName.ts":{"bytes":2451,"imports":[],"format":"esm"},"src/client/models/EventType.ts":{"bytes":204,"imports":[],"format":"esm"},"src/client/models/ExternalRegistryKind.ts":{"bytes":229,"imports":[],"format":"esm"},"src/client/models/HTTPMethod.ts":{"bytes":284,"imports":[],"format":"esm"},"src/client/models/ImageRegistryAlreadyExistsError.ts":{"bytes":574,"imports":[],"format":"esm"},"src/client/models/ImageRegistryIsPublic.ts":{"bytes":364,"imports":[],"format":"esm"},"src/client/models/ImageRegistryNotAllowedError.ts":{"bytes":598,"imports":[],"format":"esm"},"src/client/models/ImageRegistryNotFoundError.ts":{"bytes":333,"imports":[],"format":"esm"},"src/client/models/ImageRegistryPermissions.ts":{"bytes":175,"imports":[],"format":"esm"},"src/client/models/ImageRegistryProtocolAlreadyExists.ts":{"bytes":340,"imports":[],"format":"esm"},"src/client/models/ImageRegistryProtocolIsReferencedError.ts":{"bytes":441,"imports":[],"format":"esm"},"src/client/models/ImageRegistryProtocolNotFound.ts":{"bytes":369,"imports":[],"format":"esm"},"src/client/models/InstanceType.ts":{"bytes":1084,"imports":[],"format":"esm"},"src/client/models/IPType.ts":{"bytes":171,"imports":[],"format":"esm"},"src/client/models/JobStatusHealth.ts":{"bytes":740,"imports":[],"format":"esm"},"src/client/models/NetworkMode.ts":{"bytes":204,"imports":[],"format":"esm"},"src/client/models/NodeGroup.ts":{"bytes":335,"imports":[],"format":"esm"},"src/client/models/PlacementStatusHealth.ts":{"bytes":569,"imports":[],"format":"esm"},"src/client/models/ProvisionerConfiguration.ts":{"bytes":389,"imports":[],"format":"esm"},"src/client/models/RolloutStep.ts":{"bytes":1016,"imports":[],"format":"esm"},"src/client/models/SchedulingPolicy.ts":{"bytes":304,"imports":[],"format":"esm"},"src/client/models/SecretAccessType.ts":{"bytes":239,"imports":[],"format":"esm"},"src/client/models/SecretNameAlreadyExists.ts":{"bytes":546,"imports":[],"format":"esm"},"src/client/models/SecretNotFound.ts":{"bytes":288,"imports":[],"format":"esm"},"src/client/models/SSHPublicKeyNotFoundError.ts":{"bytes":330,"imports":[],"format":"esm"},"src/client/models/UpdateApplicationRolloutRequest.ts":{"bytes":913,"imports":[],"format":"esm"},"src/client/services/AccountService.ts":{"bytes":1535,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/ApplicationsService.ts":{"bytes":17858,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/ContainerImagePreparationsService.ts":{"bytes":1064,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/DeploymentsService.ts":{"bytes":9316,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/ImageRegistriesService.ts":{"bytes":6457,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/IPsService.ts":{"bytes":1441,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/JobsService.ts":{"bytes":4599,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/PlacementsService.ts":{"bytes":2733,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/RolloutsService.ts":{"bytes":4854,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/SecretsService.ts":{"bytes":3305,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/SshPublicKeysService.ts":{"bytes":2261,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/index.ts":{"bytes":16351,"imports":[{"path":"src/client/core/ApiError.ts","kind":"import-statement","original":"./core/ApiError"},{"path":"src/client/core/CancelablePromise.ts","kind":"import-statement","original":"./core/CancelablePromise"},{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"./core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"./core/request"},{"path":"src/client/models/ApplicationAffinityColocation.ts","kind":"import-statement","original":"./models/ApplicationAffinityColocation"},{"path":"src/client/models/ApplicationAffinityHardwareGeneration.ts","kind":"import-statement","original":"./models/ApplicationAffinityHardwareGeneration"},{"path":"src/client/models/ApplicationMutationError.ts","kind":"import-statement","original":"./models/ApplicationMutationError"},{"path":"src/client/models/ApplicationRollout.ts","kind":"import-statement","original":"./models/ApplicationRollout"},{"path":"src/client/models/AssignIPv4.ts","kind":"import-statement","original":"./models/AssignIPv4"},{"path":"src/client/models/AssignIPv6.ts","kind":"import-statement","original":"./models/AssignIPv6"},{"path":"src/client/models/BadRequestWithCodeError.ts","kind":"import-statement","original":"./models/BadRequestWithCodeError"},{"path":"src/client/models/ContainerNetworkMode.ts","kind":"import-statement","original":"./models/ContainerNetworkMode"},{"path":"src/client/models/ContainerImagePreparationStatus.ts","kind":"import-statement","original":"./models/ContainerImagePreparationStatus"},{"path":"src/client/models/CreateApplicationRolloutRequest.ts","kind":"import-statement","original":"./models/CreateApplicationRolloutRequest"},{"path":"src/client/models/DeploymentCheckKind.ts","kind":"import-statement","original":"./models/DeploymentCheckKind"},{"path":"src/client/models/DeploymentCheckType.ts","kind":"import-statement","original":"./models/DeploymentCheckType"},{"path":"src/client/models/DeploymentMutationError.ts","kind":"import-statement","original":"./models/DeploymentMutationError"},{"path":"src/client/models/DeploymentNotFoundError.ts","kind":"import-statement","original":"./models/DeploymentNotFoundError"},{"path":"src/client/models/DeploymentPlacementState.ts","kind":"import-statement","original":"./models/DeploymentPlacementState"},{"path":"src/client/models/DeploymentQueuedReason.ts","kind":"import-statement","original":"./models/DeploymentQueuedReason"},{"path":"src/client/models/DeploymentSchedulingState.ts","kind":"import-statement","original":"./models/DeploymentSchedulingState"},{"path":"src/client/models/DeploymentType.ts","kind":"import-statement","original":"./models/DeploymentType"},{"path":"src/client/models/DurableObjectStatusHealth.ts","kind":"import-statement","original":"./models/DurableObjectStatusHealth"},{"path":"src/client/models/EventName.ts","kind":"import-statement","original":"./models/EventName"},{"path":"src/client/models/EventType.ts","kind":"import-statement","original":"./models/EventType"},{"path":"src/client/models/ExternalRegistryKind.ts","kind":"import-statement","original":"./models/ExternalRegistryKind"},{"path":"src/client/models/HTTPMethod.ts","kind":"import-statement","original":"./models/HTTPMethod"},{"path":"src/client/models/ImageRegistryAlreadyExistsError.ts","kind":"import-statement","original":"./models/ImageRegistryAlreadyExistsError"},{"path":"src/client/models/ImageRegistryIsPublic.ts","kind":"import-statement","original":"./models/ImageRegistryIsPublic"},{"path":"src/client/models/ImageRegistryNotAllowedError.ts","kind":"import-statement","original":"./models/ImageRegistryNotAllowedError"},{"path":"src/client/models/ImageRegistryNotFoundError.ts","kind":"import-statement","original":"./models/ImageRegistryNotFoundError"},{"path":"src/client/models/ImageRegistryPermissions.ts","kind":"import-statement","original":"./models/ImageRegistryPermissions"},{"path":"src/client/models/ImageRegistryProtocolAlreadyExists.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolAlreadyExists"},{"path":"src/client/models/ImageRegistryProtocolIsReferencedError.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolIsReferencedError"},{"path":"src/client/models/ImageRegistryProtocolNotFound.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolNotFound"},{"path":"src/client/models/InstanceType.ts","kind":"import-statement","original":"./models/InstanceType"},{"path":"src/client/models/IPType.ts","kind":"import-statement","original":"./models/IPType"},{"path":"src/client/models/JobStatusHealth.ts","kind":"import-statement","original":"./models/JobStatusHealth"},{"path":"src/client/models/NetworkMode.ts","kind":"import-statement","original":"./models/NetworkMode"},{"path":"src/client/models/NodeGroup.ts","kind":"import-statement","original":"./models/NodeGroup"},{"path":"src/client/models/PlacementStatusHealth.ts","kind":"import-statement","original":"./models/PlacementStatusHealth"},{"path":"src/client/models/ProvisionerConfiguration.ts","kind":"import-statement","original":"./models/ProvisionerConfiguration"},{"path":"src/client/models/RolloutStep.ts","kind":"import-statement","original":"./models/RolloutStep"},{"path":"src/client/models/SchedulingPolicy.ts","kind":"import-statement","original":"./models/SchedulingPolicy"},{"path":"src/client/models/SecretAccessType.ts","kind":"import-statement","original":"./models/SecretAccessType"},{"path":"src/client/models/SecretNameAlreadyExists.ts","kind":"import-statement","original":"./models/SecretNameAlreadyExists"},{"path":"src/client/models/SecretNotFound.ts","kind":"import-statement","original":"./models/SecretNotFound"},{"path":"src/client/models/SSHPublicKeyNotFoundError.ts","kind":"import-statement","original":"./models/SSHPublicKeyNotFoundError"},{"path":"src/client/models/UpdateApplicationRolloutRequest.ts","kind":"import-statement","original":"./models/UpdateApplicationRolloutRequest"},{"path":"src/client/services/AccountService.ts","kind":"import-statement","original":"./services/AccountService"},{"path":"src/client/services/ApplicationsService.ts","kind":"import-statement","original":"./services/ApplicationsService"},{"path":"src/client/services/ContainerImagePreparationsService.ts","kind":"import-statement","original":"./services/ContainerImagePreparationsService"},{"path":"src/client/services/DeploymentsService.ts","kind":"import-statement","original":"./services/DeploymentsService"},{"path":"src/client/services/ImageRegistriesService.ts","kind":"import-statement","original":"./services/ImageRegistriesService"},{"path":"src/client/services/IPsService.ts","kind":"import-statement","original":"./services/IPsService"},{"path":"src/client/services/JobsService.ts","kind":"import-statement","original":"./services/JobsService"},{"path":"src/client/services/PlacementsService.ts","kind":"import-statement","original":"./services/PlacementsService"},{"path":"src/client/services/RolloutsService.ts","kind":"import-statement","original":"./services/RolloutsService"},{"path":"src/client/services/SecretsService.ts","kind":"import-statement","original":"./services/SecretsService"},{"path":"src/client/services/SshPublicKeysService.ts","kind":"import-statement","original":"./services/SshPublicKeysService"}],"format":"esm"},"src/context.ts":{"bytes":1269,"imports":[{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/registry.ts":{"bytes":790,"imports":[{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/knobs.ts":{"bytes":1440,"imports":[{"path":"@cloudflare/workers-utils/compliance","kind":"import-statement","external":true},{"path":"src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/login.ts":{"bytes":1747,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"./client/core/OpenAPI"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/utils.ts":{"bytes":13010,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/images.ts":{"bytes":15468,"imports":[{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/build.ts","kind":"import-statement","original":"./build"},{"path":"src/client/models/ExternalRegistryKind.ts","kind":"import-statement","original":"./client/models/ExternalRegistryKind"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"src/login.ts","kind":"import-statement","original":"./login"},{"path":"src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/inspect.ts":{"bytes":886,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/limits.ts":{"bytes":6884,"imports":[{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/build.ts":{"bytes":24852,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/docker-path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/fs-helpers","kind":"import-statement","external":true},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/images.ts","kind":"import-statement","original":"./images"},{"path":"src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"src/limits.ts","kind":"import-statement","original":"./limits"},{"path":"src/login.ts","kind":"import-statement","original":"./login"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/build-output.ts":{"bytes":8390,"imports":[{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/build-output-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/build.ts","kind":"import-statement","original":"./build"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/diff.ts":{"bytes":15139,"imports":[{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/object.ts":{"bytes":1435,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/spinner.ts":{"bytes":434,"imports":[{"path":"@cloudflare/cli-shared-helpers/interactive","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/deploy.ts":{"bytes":32236,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/diff.ts","kind":"import-statement","original":"./diff"},{"path":"src/images.ts","kind":"import-statement","original":"./images"},{"path":"src/limits.ts","kind":"import-statement","original":"./limits"},{"path":"src/object.ts","kind":"import-statement","original":"./object"},{"path":"src/spinner.ts","kind":"import-statement","original":"./spinner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":3964,"imports":[],"format":"esm"},"src/dev-options.ts":{"bytes":5572,"imports":[{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js":{"bytes":503,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js":{"bytes":3056,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"bufferutil","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js":{"bytes":1034,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js":{"bytes":14532,"imports":[{"path":"zlib","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js","kind":"require-call","original":"./buffer-util"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js","kind":"require-call","original":"./limiter"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js":{"bytes":3903,"imports":[{"path":"buffer","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"utf-8-validate","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js":{"bytes":17802,"imports":[{"path":"stream","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"require-call","original":"./permessage-deflate"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js","kind":"require-call","original":"./buffer-util"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js":{"bytes":16886,"imports":[{"path":"stream","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"require-call","original":"./permessage-deflate"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js","kind":"require-call","original":"./buffer-util"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js":{"bytes":7321,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js":{"bytes":6183,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js":{"bytes":37371,"imports":[{"path":"events","kind":"require-call","external":true},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"net","kind":"require-call","external":true},{"path":"tls","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"require-call","original":"./permessage-deflate"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js","kind":"require-call","original":"./receiver"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js","kind":"require-call","original":"./sender"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js","kind":"require-call","original":"./event-target"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js","kind":"require-call","original":"./extension"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js","kind":"require-call","original":"./buffer-util"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js":{"bytes":4204,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js","kind":"require-call","original":"./websocket"},{"path":"stream","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js":{"bytes":1498,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js":{"bytes":17026,"imports":[{"path":"events","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js","kind":"require-call","original":"./extension"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"require-call","original":"./permessage-deflate"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js","kind":"require-call","original":"./subprotocol"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js","kind":"require-call","original":"./websocket"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs":{"bytes":554,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js","kind":"import-statement","original":"./lib/stream.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js","kind":"import-statement","original":"./lib/extension.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"import-statement","original":"./lib/permessage-deflate.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js","kind":"import-statement","original":"./lib/receiver.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js","kind":"import-statement","original":"./lib/sender.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js","kind":"import-statement","original":"./lib/subprotocol.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js","kind":"import-statement","original":"./lib/websocket.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js","kind":"import-statement","original":"./lib/websocket-server.js"}],"format":"esm"},"src/ssh.ts":{"bytes":10600,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:events","kind":"import-statement","external":true},{"path":"node:net","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs","kind":"import-statement","original":"ws"},{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/spinner.ts","kind":"import-statement","original":"./spinner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/registry-images.ts":{"bytes":8024,"imports":[{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"index.ts":{"bytes":638,"imports":[{"path":"src/client/index.ts","kind":"import-statement","original":"./src/client"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"./src/client/core/request"},{"path":"src/build.ts","kind":"import-statement","original":"./src/build"},{"path":"src/build-output.ts","kind":"import-statement","original":"./src/build-output"},{"path":"src/context.ts","kind":"import-statement","original":"./src/context"},{"path":"src/deploy.ts","kind":"import-statement","original":"./src/deploy"},{"path":"src/diff.ts","kind":"import-statement","original":"./src/diff"},{"path":"src/login.ts","kind":"import-statement","original":"./src/login"},{"path":"src/knobs.ts","kind":"import-statement","original":"./src/knobs"},{"path":"src/limits.ts","kind":"import-statement","original":"./src/limits"},{"path":"src/object.ts","kind":"import-statement","original":"./src/object"},{"path":"src/utils.ts","kind":"import-statement","original":"./src/utils"},{"path":"src/types.ts","kind":"import-statement","original":"./src/types"},{"path":"src/inspect.ts","kind":"import-statement","original":"./src/inspect"},{"path":"src/registry.ts","kind":"import-statement","original":"./src/registry"},{"path":"src/images.ts","kind":"import-statement","original":"./src/images"},{"path":"src/spinner.ts","kind":"import-statement","original":"./src/spinner"},{"path":"src/dev-options.ts","kind":"import-statement","original":"./src/dev-options"},{"path":"src/ssh.ts","kind":"import-statement","original":"./src/ssh"},{"path":"src/registry-images.ts","kind":"import-statement","original":"./src/registry-images"}],"format":"esm"}},"outputs":{"dist/index.mjs":{"imports":[{"path":"bufferutil","kind":"require-call","external":true},{"path":"zlib","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"utf-8-validate","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"events","kind":"require-call","external":true},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"net","kind":"require-call","external":true},{"path":"tls","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"events","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/docker-path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/fs-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/compliance","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/build-output-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/interactive","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:events","kind":"import-statement","external":true},{"path":"node:net","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true}],"exports":["AccountService","ApiError","ApplicationAffinityColocation","ApplicationAffinityHardwareGeneration","ApplicationMutationError","ApplicationRollout","ApplicationsService","AssignIPv4","AssignIPv6","BadRequestWithCodeError","CancelError","CancelablePromise","ContainerImagePreparationStatus","ContainerImagePreparationsService","ContainerNetworkMode","CreateApplicationRolloutRequest","DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE","DeploymentCheckKind","DeploymentCheckType","DeploymentMutationError","DeploymentNotFoundError","DeploymentPlacementState","DeploymentQueuedReason","DeploymentSchedulingState","DeploymentType","DeploymentsService","Diff","DurableObjectStatusHealth","EventName","EventType","ExternalRegistryKind","FUSE_CONTAINER_PRIVILEGES","HTTPMethod","IPType","IPsService","ImageRegistriesService","ImageRegistryAlreadyExistsError","ImageRegistryIsPublic","ImageRegistryNotAllowedError","ImageRegistryNotFoundError","ImageRegistryPermissions","ImageRegistryProtocolAlreadyExists","ImageRegistryProtocolIsReferencedError","ImageRegistryProtocolNotFound","InstanceType","JobStatusHealth","JobsService","MF_DEV_CONTAINER_PREFIX","NetworkMode","NodeGroup","OpenAPI","PlacementStatusHealth","PlacementsService","ProvisionerConfiguration","RolloutStep","RolloutsService","SSHPublicKeyNotFoundError","SchedulingPolicy","SecretAccessType","SecretNameAlreadyExists","SecretNotFound","SecretsService","SshPublicKeysService","UpdateApplicationRolloutRequest","apply","buildAndMaybePush","buildAndWriteContainerOutput","buildCommand","buildContainerImages","cleanApplicationFromAPI","cleanForInstanceType","cleanupBuiltImages","cleanupContainers","cliPresentation","configRolloutStepsToAPI","configureOpenAPIForContainerPull","containerPrivilegesAllowed","containersSshOptions","createContainerDevPlan","createDurableObjectNamespaceResolver","deleteContainerImage","deployContainers","dockerBuild","dockerImageInspect","dockerLoginImageRegistry","ensureContainerLimits","ensureImageFitsLimits","fetchPagedListResult","fetchResult","formatError","generateContainerBuildId","getAndValidateRegistryType","getCloudflareContainerRegistry","getCloudflareRegistryWithAccountNamespace","getContainerAccount","getContainerIdsByImageTags","getContainerIdsFromImage","getContainerImageTag","getDevContainerImageName","getDockerHostFromEnv","getDockerSocketFromContext","getEgressInterceptorImage","getEgressInterceptorPlatform","getInstanceTypeUsage","inferInstanceType","initContainersSharedContext","isCloudflareRegistryImage","isDockerRunning","isDockerfileContainerConfig","isValidImageTag","listContainerImages","listDurableObjects","logger","normalizeContainerImageRepositoryName","parseContainerImageTag","prepareContainerImagesForDev","promiseSpinner","pullEgressInterceptorImage","pullImage","pushBuiltContainerImage","pushCommand","pushImageIfChanged","request","requestPaginated","resolveDockerHost","resolveImageName","runDockerCmd","runDockerCmdWithOutput","shouldUseStdio","sortObjectRecursive","sshCommand","startContainerBuild","stripUndefined","validateAndEncodeGarKey","verifyDockerInstalled","verifySshInstalled"],"entryPoint":"index.ts","inputs":{"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js":{"bytesInOutput":733},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js":{"bytesInOutput":2525},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js":{"bytesInOutput":1275},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js":{"bytesInOutput":14613},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js":{"bytesInOutput":3783},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js":{"bytesInOutput":19820},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js":{"bytesInOutput":17782},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js":{"bytesInOutput":8081},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js":{"bytesInOutput":5796},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js":{"bytesInOutput":32971},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js":{"bytesInOutput":3413},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js":{"bytesInOutput":1572},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js":{"bytesInOutput":16576},"src/client/core/ApiError.ts":{"bytesInOutput":399},"src/client/index.ts":{"bytesInOutput":0},"src/client/core/CancelablePromise.ts":{"bytesInOutput":2718},"src/client/core/OpenAPI.ts":{"bytesInOutput":220},"src/client/core/request.ts":{"bytesInOutput":10965},"src/client/models/ApplicationAffinityColocation.ts":{"bytesInOutput":236},"src/client/models/ApplicationAffinityHardwareGeneration.ts":{"bytesInOutput":310},"src/client/models/ApplicationMutationError.ts":{"bytesInOutput":1249},"src/client/models/ApplicationRollout.ts":{"bytesInOutput":815},"src/client/models/AssignIPv4.ts":{"bytesInOutput":211},"src/client/models/AssignIPv6.ts":{"bytesInOutput":211},"src/client/models/BadRequestWithCodeError.ts":{"bytesInOutput":291},"src/client/models/ContainerNetworkMode.ts":{"bytesInOutput":293},"src/client/models/ContainerImagePreparationStatus.ts":{"bytesInOutput":350},"src/client/models/CreateApplicationRolloutRequest.ts":{"bytesInOutput":1094},"src/client/models/DeploymentCheckKind.ts":{"bytesInOutput":221},"src/client/models/DeploymentCheckType.ts":{"bytesInOutput":213},"src/client/models/DeploymentMutationError.ts":{"bytesInOutput":643},"src/client/models/DeploymentNotFoundError.ts":{"bytesInOutput":303},"src/client/models/DeploymentPlacementState.ts":{"bytesInOutput":365},"src/client/models/DeploymentQueuedReason.ts":{"bytesInOutput":279},"src/client/models/DeploymentSchedulingState.ts":{"bytesInOutput":265},"src/client/models/DeploymentType.ts":{"bytesInOutput":247},"src/client/models/DurableObjectStatusHealth.ts":{"bytesInOutput":277},"src/client/models/EventName.ts":{"bytesInOutput":991},"src/client/models/EventType.ts":{"bytesInOutput":276},"src/client/models/ExternalRegistryKind.ts":{"bytesInOutput":270},"src/client/models/HTTPMethod.ts":{"bytesInOutput":329},"src/client/models/ImageRegistryAlreadyExistsError.ts":{"bytesInOutput":369},"src/client/models/ImageRegistryIsPublic.ts":{"bytesInOutput":299},"src/client/models/ImageRegistryNotAllowedError.ts":{"bytesInOutput":345},"src/client/models/ImageRegistryNotFoundError.ts":{"bytesInOutput":329},"src/client/models/ImageRegistryPermissions.ts":{"bytesInOutput":307},"src/client/models/ImageRegistryProtocolAlreadyExists.ts":{"bytesInOutput":405},"src/client/models/ImageRegistryProtocolIsReferencedError.ts":{"bytesInOutput":421},"src/client/models/ImageRegistryProtocolNotFound.ts":{"bytesInOutput":365},"src/client/models/InstanceType.ts":{"bytesInOutput":433},"src/client/models/IPType.ts":{"bytesInOutput":129},"src/client/models/JobStatusHealth.ts":{"bytesInOutput":332},"src/client/models/NetworkMode.ts":{"bytesInOutput":198},"src/client/models/NodeGroup.ts":{"bytesInOutput":173},"src/client/models/PlacementStatusHealth.ts":{"bytesInOutput":437},"src/client/models/ProvisionerConfiguration.ts":{"bytesInOutput":309},"src/client/models/RolloutStep.ts":{"bytesInOutput":373},"src/client/models/SchedulingPolicy.ts":{"bytesInOutput":395},"src/client/models/SecretAccessType.ts":{"bytesInOutput":157},"src/client/models/SecretNameAlreadyExists.ts":{"bytesInOutput":315},"src/client/models/SecretNotFound.ts":{"bytesInOutput":251},"src/client/models/SSHPublicKeyNotFoundError.ts":{"bytesInOutput":323},"src/client/models/UpdateApplicationRolloutRequest.ts":{"bytesInOutput":397},"src/client/services/AccountService.ts":{"bytesInOutput":1131},"src/client/services/ApplicationsService.ts":{"bytesInOutput":14854},"src/client/services/ContainerImagePreparationsService.ts":{"bytesInOutput":658},"src/client/services/DeploymentsService.ts":{"bytesInOutput":7677},"src/client/services/ImageRegistriesService.ts":{"bytesInOutput":5310},"src/client/services/IPsService.ts":{"bytesInOutput":844},"src/client/services/JobsService.ts":{"bytesInOutput":3741},"src/client/services/PlacementsService.ts":{"bytesInOutput":2069},"src/client/services/RolloutsService.ts":{"bytesInOutput":3924},"src/client/services/SecretsService.ts":{"bytesInOutput":2617},"src/client/services/SshPublicKeysService.ts":{"bytesInOutput":1693},"index.ts":{"bytesInOutput":0},"src/build.ts":{"bytesInOutput":18068},"src/context.ts":{"bytesInOutput":895},"src/images.ts":{"bytesInOutput":11452},"src/knobs.ts":{"bytesInOutput":1075},"src/registry.ts":{"bytesInOutput":292},"src/login.ts":{"bytesInOutput":1525},"src/utils.ts":{"bytesInOutput":8862},"src/inspect.ts":{"bytesInOutput":943},"src/limits.ts":{"bytesInOutput":5446},"src/build-output.ts":{"bytesInOutput":7487},"src/deploy.ts":{"bytesInOutput":27060},"src/diff.ts":{"bytesInOutput":10090},"src/object.ts":{"bytesInOutput":984},"src/spinner.ts":{"bytesInOutput":422},"src/dev-options.ts":{"bytesInOutput":4846},"src/ssh.ts":{"bytesInOutput":9966},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs":{"bytesInOutput":470},"src/registry-images.ts":{"bytesInOutput":6661}},"bytes":330491}}}
1
+ {"inputs":{"src/client/core/ApiError.ts":{"bytes":686,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/core/CancelablePromise.ts":{"bytes":3230,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/core/OpenAPI.ts":{"bytes":896,"imports":[],"format":"esm"},"src/client/core/request.ts":{"bytes":12866,"imports":[{"path":"src/client/core/ApiError.ts","kind":"import-statement","original":"./ApiError"},{"path":"src/client/core/CancelablePromise.ts","kind":"import-statement","original":"./CancelablePromise"},{"path":"./OpenAPI","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/models/ApplicationAffinityColocation.ts":{"bytes":450,"imports":[],"format":"esm"},"src/client/models/ApplicationAffinityHardwareGeneration.ts":{"bytes":304,"imports":[],"format":"esm"},"src/client/models/ApplicationMutationError.ts":{"bytes":960,"imports":[],"format":"esm"},"src/client/models/ApplicationRollout.ts":{"bytes":2627,"imports":[],"format":"esm"},"src/client/models/AssignIPv4.ts":{"bytes":163,"imports":[],"format":"esm"},"src/client/models/AssignIPv6.ts":{"bytes":163,"imports":[],"format":"esm"},"src/client/models/BadRequestWithCodeError.ts":{"bytes":559,"imports":[],"format":"esm"},"src/client/models/ContainerNetworkMode.ts":{"bytes":679,"imports":[],"format":"esm"},"src/client/models/ContainerImagePreparationStatus.ts":{"bytes":176,"imports":[],"format":"esm"},"src/client/models/CreateApplicationRolloutRequest.ts":{"bytes":2329,"imports":[],"format":"esm"},"src/client/models/DeploymentCheckKind.ts":{"bytes":144,"imports":[],"format":"esm"},"src/client/models/DeploymentCheckType.ts":{"bytes":136,"imports":[],"format":"esm"},"src/client/models/DeploymentMutationError.ts":{"bytes":542,"imports":[],"format":"esm"},"src/client/models/DeploymentNotFoundError.ts":{"bytes":357,"imports":[],"format":"esm"},"src/client/models/DeploymentPlacementState.ts":{"bytes":258,"imports":[],"format":"esm"},"src/client/models/DeploymentQueuedReason.ts":{"bytes":246,"imports":[],"format":"esm"},"src/client/models/DeploymentSchedulingState.ts":{"bytes":212,"imports":[],"format":"esm"},"src/client/models/DeploymentType.ts":{"bytes":943,"imports":[],"format":"esm"},"src/client/models/DurableObjectStatusHealth.ts":{"bytes":426,"imports":[],"format":"esm"},"src/client/models/EventName.ts":{"bytes":2451,"imports":[],"format":"esm"},"src/client/models/EventType.ts":{"bytes":204,"imports":[],"format":"esm"},"src/client/models/ExternalRegistryKind.ts":{"bytes":229,"imports":[],"format":"esm"},"src/client/models/HTTPMethod.ts":{"bytes":284,"imports":[],"format":"esm"},"src/client/models/ImageRegistryAlreadyExistsError.ts":{"bytes":574,"imports":[],"format":"esm"},"src/client/models/ImageRegistryIsPublic.ts":{"bytes":364,"imports":[],"format":"esm"},"src/client/models/ImageRegistryNotAllowedError.ts":{"bytes":598,"imports":[],"format":"esm"},"src/client/models/ImageRegistryNotFoundError.ts":{"bytes":333,"imports":[],"format":"esm"},"src/client/models/ImageRegistryPermissions.ts":{"bytes":175,"imports":[],"format":"esm"},"src/client/models/ImageRegistryProtocolAlreadyExists.ts":{"bytes":340,"imports":[],"format":"esm"},"src/client/models/ImageRegistryProtocolIsReferencedError.ts":{"bytes":441,"imports":[],"format":"esm"},"src/client/models/ImageRegistryProtocolNotFound.ts":{"bytes":369,"imports":[],"format":"esm"},"src/client/models/InstanceType.ts":{"bytes":1084,"imports":[],"format":"esm"},"src/client/models/IPType.ts":{"bytes":171,"imports":[],"format":"esm"},"src/client/models/JobStatusHealth.ts":{"bytes":740,"imports":[],"format":"esm"},"src/client/models/NetworkMode.ts":{"bytes":204,"imports":[],"format":"esm"},"src/client/models/NodeGroup.ts":{"bytes":335,"imports":[],"format":"esm"},"src/client/models/PlacementStatusHealth.ts":{"bytes":569,"imports":[],"format":"esm"},"src/client/models/ProvisionerConfiguration.ts":{"bytes":389,"imports":[],"format":"esm"},"src/client/models/RolloutStep.ts":{"bytes":1016,"imports":[],"format":"esm"},"src/client/models/SchedulingPolicy.ts":{"bytes":304,"imports":[],"format":"esm"},"src/client/models/SecretAccessType.ts":{"bytes":239,"imports":[],"format":"esm"},"src/client/models/SecretNameAlreadyExists.ts":{"bytes":546,"imports":[],"format":"esm"},"src/client/models/SecretNotFound.ts":{"bytes":288,"imports":[],"format":"esm"},"src/client/models/SSHPublicKeyNotFoundError.ts":{"bytes":330,"imports":[],"format":"esm"},"src/client/models/UpdateApplicationRolloutRequest.ts":{"bytes":913,"imports":[],"format":"esm"},"src/client/services/AccountService.ts":{"bytes":1535,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/ApplicationsService.ts":{"bytes":17858,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/ContainerImagePreparationsService.ts":{"bytes":1064,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/DeploymentsService.ts":{"bytes":9316,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/ImageRegistriesService.ts":{"bytes":6457,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/IPsService.ts":{"bytes":1441,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/JobsService.ts":{"bytes":4599,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/PlacementsService.ts":{"bytes":2733,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/RolloutsService.ts":{"bytes":4854,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/SecretsService.ts":{"bytes":3305,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/services/SshPublicKeysService.ts":{"bytes":2261,"imports":[{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"../core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"../core/request"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/client/index.ts":{"bytes":16351,"imports":[{"path":"src/client/core/ApiError.ts","kind":"import-statement","original":"./core/ApiError"},{"path":"src/client/core/CancelablePromise.ts","kind":"import-statement","original":"./core/CancelablePromise"},{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"./core/OpenAPI"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"./core/request"},{"path":"src/client/models/ApplicationAffinityColocation.ts","kind":"import-statement","original":"./models/ApplicationAffinityColocation"},{"path":"src/client/models/ApplicationAffinityHardwareGeneration.ts","kind":"import-statement","original":"./models/ApplicationAffinityHardwareGeneration"},{"path":"src/client/models/ApplicationMutationError.ts","kind":"import-statement","original":"./models/ApplicationMutationError"},{"path":"src/client/models/ApplicationRollout.ts","kind":"import-statement","original":"./models/ApplicationRollout"},{"path":"src/client/models/AssignIPv4.ts","kind":"import-statement","original":"./models/AssignIPv4"},{"path":"src/client/models/AssignIPv6.ts","kind":"import-statement","original":"./models/AssignIPv6"},{"path":"src/client/models/BadRequestWithCodeError.ts","kind":"import-statement","original":"./models/BadRequestWithCodeError"},{"path":"src/client/models/ContainerNetworkMode.ts","kind":"import-statement","original":"./models/ContainerNetworkMode"},{"path":"src/client/models/ContainerImagePreparationStatus.ts","kind":"import-statement","original":"./models/ContainerImagePreparationStatus"},{"path":"src/client/models/CreateApplicationRolloutRequest.ts","kind":"import-statement","original":"./models/CreateApplicationRolloutRequest"},{"path":"src/client/models/DeploymentCheckKind.ts","kind":"import-statement","original":"./models/DeploymentCheckKind"},{"path":"src/client/models/DeploymentCheckType.ts","kind":"import-statement","original":"./models/DeploymentCheckType"},{"path":"src/client/models/DeploymentMutationError.ts","kind":"import-statement","original":"./models/DeploymentMutationError"},{"path":"src/client/models/DeploymentNotFoundError.ts","kind":"import-statement","original":"./models/DeploymentNotFoundError"},{"path":"src/client/models/DeploymentPlacementState.ts","kind":"import-statement","original":"./models/DeploymentPlacementState"},{"path":"src/client/models/DeploymentQueuedReason.ts","kind":"import-statement","original":"./models/DeploymentQueuedReason"},{"path":"src/client/models/DeploymentSchedulingState.ts","kind":"import-statement","original":"./models/DeploymentSchedulingState"},{"path":"src/client/models/DeploymentType.ts","kind":"import-statement","original":"./models/DeploymentType"},{"path":"src/client/models/DurableObjectStatusHealth.ts","kind":"import-statement","original":"./models/DurableObjectStatusHealth"},{"path":"src/client/models/EventName.ts","kind":"import-statement","original":"./models/EventName"},{"path":"src/client/models/EventType.ts","kind":"import-statement","original":"./models/EventType"},{"path":"src/client/models/ExternalRegistryKind.ts","kind":"import-statement","original":"./models/ExternalRegistryKind"},{"path":"src/client/models/HTTPMethod.ts","kind":"import-statement","original":"./models/HTTPMethod"},{"path":"src/client/models/ImageRegistryAlreadyExistsError.ts","kind":"import-statement","original":"./models/ImageRegistryAlreadyExistsError"},{"path":"src/client/models/ImageRegistryIsPublic.ts","kind":"import-statement","original":"./models/ImageRegistryIsPublic"},{"path":"src/client/models/ImageRegistryNotAllowedError.ts","kind":"import-statement","original":"./models/ImageRegistryNotAllowedError"},{"path":"src/client/models/ImageRegistryNotFoundError.ts","kind":"import-statement","original":"./models/ImageRegistryNotFoundError"},{"path":"src/client/models/ImageRegistryPermissions.ts","kind":"import-statement","original":"./models/ImageRegistryPermissions"},{"path":"src/client/models/ImageRegistryProtocolAlreadyExists.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolAlreadyExists"},{"path":"src/client/models/ImageRegistryProtocolIsReferencedError.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolIsReferencedError"},{"path":"src/client/models/ImageRegistryProtocolNotFound.ts","kind":"import-statement","original":"./models/ImageRegistryProtocolNotFound"},{"path":"src/client/models/InstanceType.ts","kind":"import-statement","original":"./models/InstanceType"},{"path":"src/client/models/IPType.ts","kind":"import-statement","original":"./models/IPType"},{"path":"src/client/models/JobStatusHealth.ts","kind":"import-statement","original":"./models/JobStatusHealth"},{"path":"src/client/models/NetworkMode.ts","kind":"import-statement","original":"./models/NetworkMode"},{"path":"src/client/models/NodeGroup.ts","kind":"import-statement","original":"./models/NodeGroup"},{"path":"src/client/models/PlacementStatusHealth.ts","kind":"import-statement","original":"./models/PlacementStatusHealth"},{"path":"src/client/models/ProvisionerConfiguration.ts","kind":"import-statement","original":"./models/ProvisionerConfiguration"},{"path":"src/client/models/RolloutStep.ts","kind":"import-statement","original":"./models/RolloutStep"},{"path":"src/client/models/SchedulingPolicy.ts","kind":"import-statement","original":"./models/SchedulingPolicy"},{"path":"src/client/models/SecretAccessType.ts","kind":"import-statement","original":"./models/SecretAccessType"},{"path":"src/client/models/SecretNameAlreadyExists.ts","kind":"import-statement","original":"./models/SecretNameAlreadyExists"},{"path":"src/client/models/SecretNotFound.ts","kind":"import-statement","original":"./models/SecretNotFound"},{"path":"src/client/models/SSHPublicKeyNotFoundError.ts","kind":"import-statement","original":"./models/SSHPublicKeyNotFoundError"},{"path":"src/client/models/UpdateApplicationRolloutRequest.ts","kind":"import-statement","original":"./models/UpdateApplicationRolloutRequest"},{"path":"src/client/services/AccountService.ts","kind":"import-statement","original":"./services/AccountService"},{"path":"src/client/services/ApplicationsService.ts","kind":"import-statement","original":"./services/ApplicationsService"},{"path":"src/client/services/ContainerImagePreparationsService.ts","kind":"import-statement","original":"./services/ContainerImagePreparationsService"},{"path":"src/client/services/DeploymentsService.ts","kind":"import-statement","original":"./services/DeploymentsService"},{"path":"src/client/services/ImageRegistriesService.ts","kind":"import-statement","original":"./services/ImageRegistriesService"},{"path":"src/client/services/IPsService.ts","kind":"import-statement","original":"./services/IPsService"},{"path":"src/client/services/JobsService.ts","kind":"import-statement","original":"./services/JobsService"},{"path":"src/client/services/PlacementsService.ts","kind":"import-statement","original":"./services/PlacementsService"},{"path":"src/client/services/RolloutsService.ts","kind":"import-statement","original":"./services/RolloutsService"},{"path":"src/client/services/SecretsService.ts","kind":"import-statement","original":"./services/SecretsService"},{"path":"src/client/services/SshPublicKeysService.ts","kind":"import-statement","original":"./services/SshPublicKeysService"}],"format":"esm"},"src/context.ts":{"bytes":1269,"imports":[{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/registry.ts":{"bytes":790,"imports":[{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/knobs.ts":{"bytes":1440,"imports":[{"path":"@cloudflare/workers-utils/compliance","kind":"import-statement","external":true},{"path":"src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/login.ts":{"bytes":1747,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/client/core/OpenAPI.ts","kind":"import-statement","original":"./client/core/OpenAPI"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/utils.ts":{"bytes":13010,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/images.ts":{"bytes":15668,"imports":[{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/build.ts","kind":"import-statement","original":"./build"},{"path":"src/client/models/ExternalRegistryKind.ts","kind":"import-statement","original":"./client/models/ExternalRegistryKind"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"src/login.ts","kind":"import-statement","original":"./login"},{"path":"src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/inspect.ts":{"bytes":886,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/limits.ts":{"bytes":6884,"imports":[{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/build.ts":{"bytes":24852,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/docker-path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/fs-helpers","kind":"import-statement","external":true},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/images.ts","kind":"import-statement","original":"./images"},{"path":"src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"src/limits.ts","kind":"import-statement","original":"./limits"},{"path":"src/login.ts","kind":"import-statement","original":"./login"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input-container-image.ts":{"bytes":989,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/build-output.ts":{"bytes":8288,"imports":[{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/build-output-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/build.ts","kind":"import-statement","original":"./build"},{"path":"src/input-container-image.ts","kind":"import-statement","original":"./input-container-image"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/diff.ts":{"bytes":15139,"imports":[{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/object.ts":{"bytes":1435,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/spinner.ts":{"bytes":434,"imports":[{"path":"@cloudflare/cli-shared-helpers/interactive","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/deploy.ts":{"bytes":32236,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/diff.ts","kind":"import-statement","original":"./diff"},{"path":"src/images.ts","kind":"import-statement","original":"./images"},{"path":"src/limits.ts","kind":"import-statement","original":"./limits"},{"path":"src/object.ts","kind":"import-statement","original":"./object"},{"path":"src/spinner.ts","kind":"import-statement","original":"./spinner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":3964,"imports":[],"format":"esm"},"src/dev-options.ts":{"bytes":11881,"imports":[{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"src/input-container-image.ts","kind":"import-statement","original":"./input-container-image"},{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js":{"bytes":503,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js":{"bytes":3056,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"bufferutil","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js":{"bytes":1034,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js":{"bytes":14532,"imports":[{"path":"zlib","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js","kind":"require-call","original":"./buffer-util"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js","kind":"require-call","original":"./limiter"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js":{"bytes":3903,"imports":[{"path":"buffer","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"utf-8-validate","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js":{"bytes":17802,"imports":[{"path":"stream","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"require-call","original":"./permessage-deflate"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js","kind":"require-call","original":"./buffer-util"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js":{"bytes":16886,"imports":[{"path":"stream","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"require-call","original":"./permessage-deflate"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js","kind":"require-call","original":"./buffer-util"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js":{"bytes":7321,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js":{"bytes":6183,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js":{"bytes":37371,"imports":[{"path":"events","kind":"require-call","external":true},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"net","kind":"require-call","external":true},{"path":"tls","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"require-call","original":"./permessage-deflate"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js","kind":"require-call","original":"./receiver"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js","kind":"require-call","original":"./sender"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js","kind":"require-call","original":"./event-target"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js","kind":"require-call","original":"./extension"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js","kind":"require-call","original":"./buffer-util"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js":{"bytes":4204,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js","kind":"require-call","original":"./websocket"},{"path":"stream","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js":{"bytes":1498,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js","kind":"require-call","original":"./validation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js":{"bytes":17026,"imports":[{"path":"events","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js","kind":"require-call","original":"./extension"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"require-call","original":"./permessage-deflate"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js","kind":"require-call","original":"./subprotocol"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js","kind":"require-call","original":"./websocket"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js","kind":"require-call","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs":{"bytes":554,"imports":[{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js","kind":"import-statement","original":"./lib/stream.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js","kind":"import-statement","original":"./lib/extension.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js","kind":"import-statement","original":"./lib/permessage-deflate.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js","kind":"import-statement","original":"./lib/receiver.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js","kind":"import-statement","original":"./lib/sender.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js","kind":"import-statement","original":"./lib/subprotocol.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js","kind":"import-statement","original":"./lib/websocket.js"},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js","kind":"import-statement","original":"./lib/websocket-server.js"}],"format":"esm"},"src/ssh.ts":{"bytes":10600,"imports":[{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:events","kind":"import-statement","external":true},{"path":"node:net","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs","kind":"import-statement","original":"ws"},{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/spinner.ts","kind":"import-statement","original":"./spinner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/registry-images.ts":{"bytes":8024,"imports":[{"path":"src/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/knobs.ts","kind":"import-statement","original":"./knobs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"index.ts":{"bytes":638,"imports":[{"path":"src/client/index.ts","kind":"import-statement","original":"./src/client"},{"path":"src/client/core/request.ts","kind":"import-statement","original":"./src/client/core/request"},{"path":"src/build.ts","kind":"import-statement","original":"./src/build"},{"path":"src/build-output.ts","kind":"import-statement","original":"./src/build-output"},{"path":"src/context.ts","kind":"import-statement","original":"./src/context"},{"path":"src/deploy.ts","kind":"import-statement","original":"./src/deploy"},{"path":"src/diff.ts","kind":"import-statement","original":"./src/diff"},{"path":"src/login.ts","kind":"import-statement","original":"./src/login"},{"path":"src/knobs.ts","kind":"import-statement","original":"./src/knobs"},{"path":"src/limits.ts","kind":"import-statement","original":"./src/limits"},{"path":"src/object.ts","kind":"import-statement","original":"./src/object"},{"path":"src/utils.ts","kind":"import-statement","original":"./src/utils"},{"path":"src/types.ts","kind":"import-statement","original":"./src/types"},{"path":"src/inspect.ts","kind":"import-statement","original":"./src/inspect"},{"path":"src/registry.ts","kind":"import-statement","original":"./src/registry"},{"path":"src/images.ts","kind":"import-statement","original":"./src/images"},{"path":"src/spinner.ts","kind":"import-statement","original":"./src/spinner"},{"path":"src/dev-options.ts","kind":"import-statement","original":"./src/dev-options"},{"path":"src/ssh.ts","kind":"import-statement","original":"./src/ssh"},{"path":"src/registry-images.ts","kind":"import-statement","original":"./src/registry-images"}],"format":"esm"}},"outputs":{"dist/index.mjs":{"imports":[{"path":"bufferutil","kind":"require-call","external":true},{"path":"zlib","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"utf-8-validate","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"events","kind":"require-call","external":true},{"path":"https","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"net","kind":"require-call","external":true},{"path":"tls","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"url","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"events","kind":"require-call","external":true},{"path":"http","kind":"require-call","external":true},{"path":"stream","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/docker-path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/fs-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/compliance","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/build-output-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:timers/promises","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils/errors","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/interactive","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@cloudflare/workers-utils","kind":"import-statement","external":true},{"path":"node:child_process","kind":"import-statement","external":true},{"path":"node:events","kind":"import-statement","external":true},{"path":"node:net","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers","kind":"import-statement","external":true},{"path":"@cloudflare/cli-shared-helpers/colors","kind":"import-statement","external":true}],"exports":["AccountService","ApiError","ApplicationAffinityColocation","ApplicationAffinityHardwareGeneration","ApplicationMutationError","ApplicationRollout","ApplicationsService","AssignIPv4","AssignIPv6","BadRequestWithCodeError","CancelError","CancelablePromise","ContainerImagePreparationStatus","ContainerImagePreparationsService","ContainerNetworkMode","CreateApplicationRolloutRequest","DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE","DeploymentCheckKind","DeploymentCheckType","DeploymentMutationError","DeploymentNotFoundError","DeploymentPlacementState","DeploymentQueuedReason","DeploymentSchedulingState","DeploymentType","DeploymentsService","Diff","DurableObjectStatusHealth","EventName","EventType","ExternalRegistryKind","FUSE_CONTAINER_PRIVILEGES","HTTPMethod","IPType","IPsService","ImageRegistriesService","ImageRegistryAlreadyExistsError","ImageRegistryIsPublic","ImageRegistryNotAllowedError","ImageRegistryNotFoundError","ImageRegistryPermissions","ImageRegistryProtocolAlreadyExists","ImageRegistryProtocolIsReferencedError","ImageRegistryProtocolNotFound","InstanceType","JobStatusHealth","JobsService","MF_DEV_CONTAINER_PREFIX","NetworkMode","NodeGroup","OpenAPI","PlacementStatusHealth","PlacementsService","ProvisionerConfiguration","RolloutStep","RolloutsService","SSHPublicKeyNotFoundError","SchedulingPolicy","SecretAccessType","SecretNameAlreadyExists","SecretNotFound","SecretsService","SshPublicKeysService","UpdateApplicationRolloutRequest","apply","buildAndMaybePush","buildAndWriteContainerOutput","buildCommand","buildContainerImages","cleanApplicationFromAPI","cleanForInstanceType","cleanupBuiltImages","cleanupContainers","cliPresentation","configRolloutStepsToAPI","configureOpenAPIForContainerPull","containerPrivilegesAllowed","containersSshOptions","createContainerDevPlan","createContainerDevPlanForCfConfig","createContainerPreviewPlanForCfConfig","createDurableObjectNamespaceResolver","deleteContainerImage","deployContainers","dockerBuild","dockerImageInspect","dockerLoginImageRegistry","ensureContainerLimits","ensureImageFitsLimits","fetchPagedListResult","fetchResult","formatError","generateContainerBuildId","getAndValidateRegistryType","getCloudflareContainerRegistry","getCloudflareRegistryWithAccountNamespace","getContainerAccount","getContainerIdsByImageTags","getContainerIdsFromImage","getContainerImageTag","getDevContainerImageName","getDockerHostFromEnv","getDockerSocketFromContext","getEgressInterceptorImage","getEgressInterceptorPlatform","getInstanceTypeUsage","inferInstanceType","initContainersSharedContext","isCloudflareRegistryImage","isDockerRunning","isDockerfileContainerConfig","isValidImageTag","listContainerImages","listDurableObjects","logger","normalizeContainerImageRepositoryName","parseContainerImageTag","prepareContainerImagesForDev","promiseSpinner","pullEgressInterceptorImage","pullImage","pushBuiltContainerImage","pushCommand","pushImageIfChanged","request","requestPaginated","resolveDockerHost","resolveImageName","runDockerCmd","runDockerCmdWithOutput","shouldUseStdio","sortObjectRecursive","sshCommand","startContainerBuild","stripUndefined","validateAndEncodeGarKey","verifyDockerInstalled","verifySshInstalled"],"entryPoint":"index.ts","inputs":{"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js":{"bytesInOutput":733},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js":{"bytesInOutput":2525},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js":{"bytesInOutput":1275},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js":{"bytesInOutput":14613},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js":{"bytesInOutput":3783},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js":{"bytesInOutput":19820},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js":{"bytesInOutput":17782},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js":{"bytesInOutput":8081},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js":{"bytesInOutput":5796},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js":{"bytesInOutput":32971},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js":{"bytesInOutput":3413},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js":{"bytesInOutput":1572},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js":{"bytesInOutput":16576},"src/client/core/ApiError.ts":{"bytesInOutput":399},"src/client/index.ts":{"bytesInOutput":0},"src/client/core/CancelablePromise.ts":{"bytesInOutput":2718},"src/client/core/OpenAPI.ts":{"bytesInOutput":220},"src/client/core/request.ts":{"bytesInOutput":10965},"src/client/models/ApplicationAffinityColocation.ts":{"bytesInOutput":236},"src/client/models/ApplicationAffinityHardwareGeneration.ts":{"bytesInOutput":310},"src/client/models/ApplicationMutationError.ts":{"bytesInOutput":1249},"src/client/models/ApplicationRollout.ts":{"bytesInOutput":815},"src/client/models/AssignIPv4.ts":{"bytesInOutput":211},"src/client/models/AssignIPv6.ts":{"bytesInOutput":211},"src/client/models/BadRequestWithCodeError.ts":{"bytesInOutput":291},"src/client/models/ContainerNetworkMode.ts":{"bytesInOutput":293},"src/client/models/ContainerImagePreparationStatus.ts":{"bytesInOutput":350},"src/client/models/CreateApplicationRolloutRequest.ts":{"bytesInOutput":1094},"src/client/models/DeploymentCheckKind.ts":{"bytesInOutput":221},"src/client/models/DeploymentCheckType.ts":{"bytesInOutput":213},"src/client/models/DeploymentMutationError.ts":{"bytesInOutput":643},"src/client/models/DeploymentNotFoundError.ts":{"bytesInOutput":303},"src/client/models/DeploymentPlacementState.ts":{"bytesInOutput":365},"src/client/models/DeploymentQueuedReason.ts":{"bytesInOutput":279},"src/client/models/DeploymentSchedulingState.ts":{"bytesInOutput":265},"src/client/models/DeploymentType.ts":{"bytesInOutput":247},"src/client/models/DurableObjectStatusHealth.ts":{"bytesInOutput":277},"src/client/models/EventName.ts":{"bytesInOutput":991},"src/client/models/EventType.ts":{"bytesInOutput":276},"src/client/models/ExternalRegistryKind.ts":{"bytesInOutput":270},"src/client/models/HTTPMethod.ts":{"bytesInOutput":329},"src/client/models/ImageRegistryAlreadyExistsError.ts":{"bytesInOutput":369},"src/client/models/ImageRegistryIsPublic.ts":{"bytesInOutput":299},"src/client/models/ImageRegistryNotAllowedError.ts":{"bytesInOutput":345},"src/client/models/ImageRegistryNotFoundError.ts":{"bytesInOutput":329},"src/client/models/ImageRegistryPermissions.ts":{"bytesInOutput":307},"src/client/models/ImageRegistryProtocolAlreadyExists.ts":{"bytesInOutput":405},"src/client/models/ImageRegistryProtocolIsReferencedError.ts":{"bytesInOutput":421},"src/client/models/ImageRegistryProtocolNotFound.ts":{"bytesInOutput":365},"src/client/models/InstanceType.ts":{"bytesInOutput":433},"src/client/models/IPType.ts":{"bytesInOutput":129},"src/client/models/JobStatusHealth.ts":{"bytesInOutput":332},"src/client/models/NetworkMode.ts":{"bytesInOutput":198},"src/client/models/NodeGroup.ts":{"bytesInOutput":173},"src/client/models/PlacementStatusHealth.ts":{"bytesInOutput":437},"src/client/models/ProvisionerConfiguration.ts":{"bytesInOutput":309},"src/client/models/RolloutStep.ts":{"bytesInOutput":373},"src/client/models/SchedulingPolicy.ts":{"bytesInOutput":395},"src/client/models/SecretAccessType.ts":{"bytesInOutput":157},"src/client/models/SecretNameAlreadyExists.ts":{"bytesInOutput":315},"src/client/models/SecretNotFound.ts":{"bytesInOutput":251},"src/client/models/SSHPublicKeyNotFoundError.ts":{"bytesInOutput":323},"src/client/models/UpdateApplicationRolloutRequest.ts":{"bytesInOutput":397},"src/client/services/AccountService.ts":{"bytesInOutput":1131},"src/client/services/ApplicationsService.ts":{"bytesInOutput":14854},"src/client/services/ContainerImagePreparationsService.ts":{"bytesInOutput":658},"src/client/services/DeploymentsService.ts":{"bytesInOutput":7677},"src/client/services/ImageRegistriesService.ts":{"bytesInOutput":5310},"src/client/services/IPsService.ts":{"bytesInOutput":844},"src/client/services/JobsService.ts":{"bytesInOutput":3741},"src/client/services/PlacementsService.ts":{"bytesInOutput":2069},"src/client/services/RolloutsService.ts":{"bytesInOutput":3924},"src/client/services/SecretsService.ts":{"bytesInOutput":2617},"src/client/services/SshPublicKeysService.ts":{"bytesInOutput":1693},"index.ts":{"bytesInOutput":0},"src/build.ts":{"bytesInOutput":18068},"src/context.ts":{"bytesInOutput":895},"src/images.ts":{"bytesInOutput":11495},"src/knobs.ts":{"bytesInOutput":1075},"src/registry.ts":{"bytesInOutput":292},"src/login.ts":{"bytesInOutput":1525},"src/utils.ts":{"bytesInOutput":8862},"src/inspect.ts":{"bytesInOutput":943},"src/limits.ts":{"bytesInOutput":5446},"src/build-output.ts":{"bytesInOutput":7368},"src/input-container-image.ts":{"bytesInOutput":525},"src/deploy.ts":{"bytesInOutput":27060},"src/diff.ts":{"bytesInOutput":10090},"src/object.ts":{"bytesInOutput":984},"src/spinner.ts":{"bytesInOutput":422},"src/dev-options.ts":{"bytesInOutput":9442},"src/ssh.ts":{"bytesInOutput":9966},"../../node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs":{"bytesInOutput":470},"src/registry-images.ts":{"bytesInOutput":6661}},"bytes":335671}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/containers-shared",
3
- "version": "0.21.6",
3
+ "version": "0.22.0",
4
4
  "description": "Internal-only shared container helpers for workers-sdk. Do not use directly; APIs are unstable and may change or disappear without notice.",
5
5
  "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/containers-shared#readme",
6
6
  "bugs": {
@@ -24,9 +24,9 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@cloudflare/build-output-utils": "0.9.1",
27
+ "@cloudflare/build-output-utils": "0.9.2",
28
28
  "@cloudflare/cli-shared-helpers": "0.2.6",
29
- "@cloudflare/config": "0.25.0",
29
+ "@cloudflare/config": "0.26.0",
30
30
  "@cloudflare/workers-utils": "0.47.2"
31
31
  },
32
32
  "devDependencies": {