@cloudflare/containers-shared 0.16.3 → 0.16.5

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
@@ -149,7 +149,25 @@ type ContainerDevOptions = {
149
149
  image_tag: string;
150
150
  /** container's DO class name */
151
151
  class_name: string;
152
+ /** configured image key for Durable Object-managed Containers */
153
+ image_name?: string;
152
154
  } & (DockerfileConfig | ImageURIConfig);
155
+ /**
156
+ * Runtime configuration for one Durable Object class with an attached
157
+ * Container. This structurally matches workerd's ContainerOptions.
158
+ */
159
+ type ContainerDevRuntimeOptions = {
160
+ imageName?: string;
161
+ images?: {
162
+ name: string;
163
+ image: string;
164
+ }[];
165
+ };
166
+ /** Complete local image and runtime plan derived from Worker configuration. */
167
+ type ContainerDevPlan = {
168
+ containerOptions: ContainerDevOptions[];
169
+ containerRuntimeOptions: Map<string, ContainerDevRuntimeOptions>;
170
+ };
153
171
 
154
172
  type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
155
173
  type Headers = Record<string, string>;
@@ -3728,15 +3746,6 @@ declare function resolveDockerHost(dockerPath: string): string;
3728
3746
  * Does not use the docker context ls command, so we
3729
3747
  */
3730
3748
  declare const getDockerHostFromEnv: () => string;
3731
- /**
3732
- * Get all repository tags for a given image
3733
- */
3734
- declare function getImageRepoTags(dockerPath: string, imageTag: string): Promise<string[]>;
3735
- /**
3736
- * Checks if the given image has any duplicate tags from previous dev sessions,
3737
- * and remove them if so.
3738
- */
3739
- declare function cleanupDuplicateImageTags(dockerPath: string, imageTag: string): Promise<void>;
3740
3749
 
3741
3750
  declare function dockerImageInspect(dockerPath: string, options: {
3742
3751
  imageTag: string;
@@ -3769,7 +3778,9 @@ declare function pullEgressInterceptorImage(dockerPath: string): Promise<void>;
3769
3778
  */
3770
3779
  declare function pullImage(dockerPath: string, options: Exclude<ContainerDevOptions, DockerfileConfig>, logger: WranglerLogger | ViteLogger, complianceConfig?: ComplianceConfig$1): Promise<{
3771
3780
  abort: () => void;
3772
- ready: Promise<void>;
3781
+ ready: Promise<{
3782
+ aborted: boolean;
3783
+ }>;
3773
3784
  }>;
3774
3785
  /**
3775
3786
  *
@@ -3782,7 +3793,7 @@ declare function pullImage(dockerPath: string, options: Exclude<ContainerDevOpti
3782
3793
  * expose any ports.
3783
3794
  *
3784
3795
  * @param args - Image preparation callbacks, Docker settings, and compliance configuration.
3785
- * @returns A promise that resolves when all configured images are ready.
3796
+ * @returns Whether image preparation was aborted before completion.
3786
3797
  */
3787
3798
  declare function prepareContainerImagesForDev(args: {
3788
3799
  dockerPath: string;
@@ -3796,7 +3807,18 @@ declare function prepareContainerImagesForDev(args: {
3796
3807
  }) => void;
3797
3808
  logger: WranglerLogger | ViteLogger;
3798
3809
  complianceConfig?: ComplianceConfig$1;
3799
- }): Promise<void>;
3810
+ }): Promise<{
3811
+ aborted: boolean;
3812
+ }>;
3813
+ /**
3814
+ * Determines whether an image reference belongs to the Cloudflare-managed
3815
+ * registry, including shorthand references that omit the registry hostname.
3816
+ *
3817
+ * @param image - Image reference to classify.
3818
+ * @param complianceConfig - Compliance configuration used to select the managed registry.
3819
+ * @returns Whether the image uses the Cloudflare-managed registry.
3820
+ */
3821
+ declare function isCloudflareRegistryImage(image: string, complianceConfig?: ComplianceConfig$1): boolean;
3800
3822
  /**
3801
3823
  * Resolve an image name to the full unambiguous name.
3802
3824
  *
@@ -3841,4 +3863,21 @@ declare function promiseSpinner<T>(promise: Promise<T>, { message, }?: {
3841
3863
  message: string;
3842
3864
  }): Promise<T>;
3843
3865
 
3844
- 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 ContainerImagePreparation, ContainerImagePreparationStatus, ContainerImagePreparationsService, ContainerNetworkMode, type ContainerNormalizedConfig, type ContainerPushCommandArgs, 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 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 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, buildCommand, buildContainerImages, checkExposedPorts, cleanApplicationFromAPI, cleanForInstanceType, cleanupBuiltImages, cleanupContainers, cleanupDuplicateImageTags, configRolloutStepsToAPI, configureOpenAPIForContainerPull, containerPrivilegesAllowed, createDurableObjectNamespaceResolver, deployContainers, dockerBuild, dockerImageInspect, dockerLoginImageRegistry, ensureContainerLimits, ensureImageFitsLimits, fetchPagedListResult, fetchResult, formatError, generateContainerBuildId, getAndValidateRegistryType, getCloudflareContainerRegistry, getCloudflareRegistryWithAccountNamespace, getContainerAccount, getContainerIdsByImageTags, getContainerIdsFromImage, getContainerImageTag, getDevContainerImageName, getDockerHostFromEnv, getDockerSocketFromContext, getEgressInterceptorImage, getEgressInterceptorPlatform, getImageRepoTags, getInstanceTypeUsage, inferInstanceType, initContainersSharedContext, isDockerRunning, isDockerfileContainerConfig, listDurableObjects, logger, prepareContainerImagesForDev, promiseSpinner, pullEgressInterceptorImage, pullImage, pushBuiltContainerImage, pushCommand, pushImageIfChanged, request, requestPaginated, resolveDockerHost, resolveImageName, runDockerCmd, runDockerCmdWithOutput, sortObjectRecursive, startContainerBuild, stripUndefined, validateAndEncodeGarKey, verifyDockerInstalled };
3866
+ type CreateContainerDevPlanOptions = {
3867
+ containers: Config["containers"];
3868
+ exports: Config["exports"];
3869
+ configPath?: string;
3870
+ containerBuildId?: string;
3871
+ };
3872
+ /**
3873
+ * Builds the local image and runtime plan for a Worker's Container
3874
+ * configuration, shared by Wrangler and the Vite plugin.
3875
+ *
3876
+ * @param options - Worker container configuration and optional generated build ID.
3877
+ * @returns Local container plan, or `undefined` when no Container runtime or
3878
+ * image preparation is needed.
3879
+ * @throws If image preparation is required without a build ID.
3880
+ */
3881
+ declare function createContainerDevPlan(options: CreateContainerDevPlanOptions): ContainerDevPlan | undefined;
3882
+
3883
+ 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, ContainerNetworkMode, type ContainerNormalizedConfig, type ContainerPushCommandArgs, 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 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 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, buildCommand, buildContainerImages, checkExposedPorts, cleanApplicationFromAPI, cleanForInstanceType, cleanupBuiltImages, cleanupContainers, configRolloutStepsToAPI, configureOpenAPIForContainerPull, containerPrivilegesAllowed, createContainerDevPlan, createDurableObjectNamespaceResolver, 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, listDurableObjects, logger, prepareContainerImagesForDev, promiseSpinner, pullEgressInterceptorImage, pullImage, pushBuiltContainerImage, pushCommand, pushImageIfChanged, request, requestPaginated, resolveDockerHost, resolveImageName, runDockerCmd, runDockerCmdWithOutput, sortObjectRecursive, startContainerBuild, stripUndefined, validateAndEncodeGarKey, verifyDockerInstalled };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { spawn, execFileSync, execFile } from 'node:child_process';
2
- import crypto, { randomUUID } from 'node:crypto';
2
+ import crypto, { randomUUID, createHash } from 'node:crypto';
3
3
  import { existsSync, readFileSync } from 'node:fs';
4
- import { join } from 'node:path';
4
+ import path, { join } from 'node:path';
5
5
  import { getDockerPath } from '@cloudflare/workers-utils/docker-path';
6
6
  import { UserError, FatalError } from '@cloudflare/workers-utils/errors';
7
7
  import { isDirectory } from '@cloudflare/workers-utils/fs-helpers';
@@ -11,7 +11,7 @@ import assert from 'node:assert';
11
11
  import { setTimeout } from 'node:timers/promises';
12
12
  import { log, startSection, newline, endSection, updateStatus, success, shapes } from '@cloudflare/cli-shared-helpers';
13
13
  import { green, red, dim, brandColor, bold } from '@cloudflare/cli-shared-helpers/colors';
14
- import { formatConfigSnippet } from '@cloudflare/workers-utils';
14
+ import { getResolvedDurableObjectContainerApps, isDurableObjectContainerApp, resolveContainerClassName, isDockerfile, formatConfigSnippet } from '@cloudflare/workers-utils';
15
15
  import { spinner } from '@cloudflare/cli-shared-helpers/interactive';
16
16
 
17
17
  var __defProp = Object.defineProperty;
@@ -204,13 +204,13 @@ var getQueryString = /* @__PURE__ */ __name((params) => {
204
204
  }, "getQueryString");
205
205
  var getUrl = /* @__PURE__ */ __name((config, options) => {
206
206
  const encoder = config.ENCODE_PATH || encodeURI;
207
- const path = options.url.replace("{api-version}", config.VERSION).replace(/{(.*?)}/g, (substring, group) => {
207
+ const path2 = options.url.replace("{api-version}", config.VERSION).replace(/{(.*?)}/g, (substring, group) => {
208
208
  if (options.path?.hasOwnProperty(group)) {
209
209
  return encoder(String(options.path[group]));
210
210
  }
211
211
  return substring;
212
212
  });
213
- const url = `${config.BASE}${path}`;
213
+ const url = `${config.BASE}${path2}`;
214
214
  if (options.query) {
215
215
  return `${url}${getQueryString(options.query)}`;
216
216
  }
@@ -2762,8 +2762,9 @@ async function checkExposedPorts(dockerPath, options) {
2762
2762
  formatString: "{{ len .Config.ExposedPorts }}"
2763
2763
  });
2764
2764
  if (output === "0") {
2765
+ const containerName = options.image_name === void 0 ? options.class_name : `${options.class_name}.${options.image_name}`;
2765
2766
  throw new UserError(
2766
- `The container "${options.class_name}" does not expose any ports. In your Dockerfile, please expose any ports you intend to connect to.
2767
+ `The container "${containerName}" does not expose any ports. In your Dockerfile, please expose any ports you intend to connect to.
2767
2768
  For additional information please see: https://developers.cloudflare.com/containers/local-dev/#exposing-ports.
2768
2769
  `,
2769
2770
  { telemetryMessage: false }
@@ -2812,37 +2813,6 @@ var getDockerHostFromEnv = /* @__PURE__ */ __name(() => {
2812
2813
  const fromEnv = process.env.WRANGLER_DOCKER_HOST ?? process.env.DOCKER_HOST;
2813
2814
  return fromEnv ?? process.platform === "win32" ? "//./pipe/docker_engine" : "unix:///var/run/docker.sock";
2814
2815
  }, "getDockerHostFromEnv");
2815
- async function getImageRepoTags(dockerPath, imageTag) {
2816
- try {
2817
- const output = await dockerImageInspect(dockerPath, {
2818
- imageTag,
2819
- formatString: "{{ range .RepoTags }}{{ . }}\n{{ end }}"
2820
- });
2821
- return output.split("\n").filter((tag) => tag.trim() !== "");
2822
- } catch {
2823
- return [];
2824
- }
2825
- }
2826
- __name(getImageRepoTags, "getImageRepoTags");
2827
- async function cleanupDuplicateImageTags(dockerPath, imageTag) {
2828
- try {
2829
- const repoTags = await getImageRepoTags(dockerPath, imageTag);
2830
- const currentBuildId = getImageTag(imageTag);
2831
- const tagsToRemove = repoTags.filter(
2832
- (tag) => tag.startsWith("cloudflare-dev") && getImageTag(tag) !== currentBuildId
2833
- );
2834
- if (tagsToRemove.length > 0) {
2835
- runDockerCmdWithOutput(dockerPath, ["rmi", ...tagsToRemove]);
2836
- }
2837
- } catch {
2838
- }
2839
- }
2840
- __name(cleanupDuplicateImageTags, "cleanupDuplicateImageTags");
2841
- function getImageTag(imageTag) {
2842
- const tagSeparatorIndex = imageTag.lastIndexOf(":");
2843
- return tagSeparatorIndex === -1 ? void 0 : imageTag.slice(tagSeparatorIndex + 1);
2844
- }
2845
- __name(getImageTag, "getImageTag");
2846
2816
 
2847
2817
  // src/images.ts
2848
2818
  var DEFAULT_CONTAINER_EGRESS_INTERCEPTOR_IMAGE = "cloudflare/proxy-everything:3cb1195@sha256:0ef6716c52430096900b150d84a3302057d6cd2319dae7987128c85d0733e3c8";
@@ -2892,6 +2862,7 @@ async function pullImage(dockerPath, options, logger2, complianceConfig) {
2892
2862
  options.image_tag
2893
2863
  ]);
2894
2864
  }
2865
+ return { aborted };
2895
2866
  });
2896
2867
  return {
2897
2868
  abort: /* @__PURE__ */ __name(() => {
@@ -2959,21 +2930,32 @@ async function prepareContainerImagesForDev(args) {
2959
2930
  pull.abort();
2960
2931
  }, "abort")
2961
2932
  });
2962
- await pull.ready;
2933
+ const pullResult = await pull.ready;
2934
+ aborted ||= pullResult.aborted;
2963
2935
  onContainerImagePreparationEnd({
2964
2936
  containerOptions: options
2965
2937
  });
2966
2938
  }
2967
- if (!aborted) {
2968
- await cleanupDuplicateImageTags(dockerPath, options.image_tag);
2969
- await checkExposedPorts(dockerPath, options);
2939
+ if (aborted) {
2940
+ break;
2970
2941
  }
2942
+ await checkExposedPorts(dockerPath, options);
2971
2943
  }
2972
2944
  if (!aborted) {
2973
2945
  await pullEgressInterceptorImage(dockerPath);
2974
2946
  }
2947
+ return { aborted };
2975
2948
  }
2976
2949
  __name(prepareContainerImagesForDev, "prepareContainerImagesForDev");
2950
+ function isCloudflareRegistryImage(image, complianceConfig) {
2951
+ let url;
2952
+ try {
2953
+ url = new URL(`http://${image}`);
2954
+ } catch {
2955
+ }
2956
+ return url === void 0 || !url.host.match(/[:.]/) && url.hostname !== "localhost" || url.hostname === getCloudflareContainerRegistry(complianceConfig);
2957
+ }
2958
+ __name(isCloudflareRegistryImage, "isCloudflareRegistryImage");
2977
2959
  function resolveImageName(accountId, image, complianceConfig) {
2978
2960
  let url;
2979
2961
  try {
@@ -4107,11 +4089,11 @@ var Diff = class {
4107
4089
  }) {
4108
4090
  log(this.toString(options));
4109
4091
  }
4110
- #addToPath(path, added, removed, oldPosInc) {
4111
- const last = path.lastComponent;
4092
+ #addToPath(path2, added, removed, oldPosInc) {
4093
+ const last = path2.lastComponent;
4112
4094
  if (last && last.added === added && last.removed === removed) {
4113
4095
  return {
4114
- oldPos: path.oldPos + oldPosInc,
4096
+ oldPos: path2.oldPos + oldPosInc,
4115
4097
  lastComponent: {
4116
4098
  count: last.count + 1,
4117
4099
  added,
@@ -4121,7 +4103,7 @@ var Diff = class {
4121
4103
  };
4122
4104
  }
4123
4105
  return {
4124
- oldPos: path.oldPos + oldPosInc,
4106
+ oldPos: path2.oldPos + oldPosInc,
4125
4107
  lastComponent: {
4126
4108
  count: 1,
4127
4109
  added,
@@ -4972,5 +4954,126 @@ var configRolloutStepsToAPI = /* @__PURE__ */ __name((rolloutSteps) => {
4972
4954
  return { steps: output };
4973
4955
  }
4974
4956
  }, "configRolloutStepsToAPI");
4957
+ var MAX_DOCKER_REPOSITORY_NAME_LENGTH = 255;
4958
+ var MAX_NAMED_IMAGE_SLUG_LENGTH = MAX_DOCKER_REPOSITORY_NAME_LENGTH - MF_DEV_CONTAINER_PREFIX.length - 1;
4959
+ var IMAGE_ID_HASH_LENGTH = 12;
4960
+ function getNamedContainerImageTag(className, imageName, containerBuildId) {
4961
+ const identity = `${className}\0${imageName}`;
4962
+ const classSlug = getDockerRepositorySlug(className);
4963
+ const imageSlug = getDockerRepositorySlug(imageName);
4964
+ const identityHash = createHash("sha256").update(identity).digest("hex").slice(0, IMAGE_ID_HASH_LENGTH);
4965
+ const readableSlug = `${classSlug || "container"}-${imageSlug || "image"}`;
4966
+ const prefix = readableSlug.slice(0, MAX_NAMED_IMAGE_SLUG_LENGTH - identityHash.length - 1).replace(/-+$/g, "");
4967
+ return getDevContainerImageName(
4968
+ `${prefix}-${identityHash}`,
4969
+ containerBuildId
4970
+ );
4971
+ }
4972
+ __name(getNamedContainerImageTag, "getNamedContainerImageTag");
4973
+ function getDockerRepositorySlug(value) {
4974
+ return value.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
4975
+ }
4976
+ __name(getDockerRepositorySlug, "getDockerRepositorySlug");
4977
+ function requireContainerBuildId(containerBuildId) {
4978
+ if (containerBuildId === void 0) {
4979
+ throw new Error(
4980
+ "Build ID should be set when a Container image requires preparation"
4981
+ );
4982
+ }
4983
+ return containerBuildId;
4984
+ }
4985
+ __name(requireContainerBuildId, "requireContainerBuildId");
4986
+ function createContainerDevPlan(options) {
4987
+ const { containers, exports: exports$1, containerBuildId, configPath } = options;
4988
+ if (!containers?.length) {
4989
+ return void 0;
4990
+ }
4991
+ const containerOptions = [];
4992
+ const containerRuntimeOptions = /* @__PURE__ */ new Map();
4993
+ const durableObjectContainerAppsByName = new Map(
4994
+ getResolvedDurableObjectContainerApps(containers, exports$1).map(
4995
+ (container) => [container.name, container]
4996
+ )
4997
+ );
4998
+ for (const container of containers) {
4999
+ if (isDurableObjectContainerApp(container)) {
5000
+ const resolvedContainer = durableObjectContainerAppsByName.get(
5001
+ container.name
5002
+ );
5003
+ if (resolvedContainer === void 0) {
5004
+ throw new Error(
5005
+ `Expected Durable Object-managed Container "${container.name}" to be resolved`
5006
+ );
5007
+ }
5008
+ const className2 = resolvedContainer.class_name;
5009
+ const namedOptions = [];
5010
+ const baseDir = configPath ? path.dirname(configPath) : process.cwd();
5011
+ for (const [imageName, image] of Object.entries(container.images ?? {})) {
5012
+ const imageTag2 = getNamedContainerImageTag(
5013
+ className2,
5014
+ imageName,
5015
+ requireContainerBuildId(containerBuildId)
5016
+ );
5017
+ if (image.dockerfile !== void 0) {
5018
+ const dockerfile = path.resolve(baseDir, image.dockerfile);
5019
+ namedOptions.push({
5020
+ dockerfile,
5021
+ image_build_context: image.build_context === void 0 ? path.dirname(dockerfile) : path.resolve(baseDir, image.build_context),
5022
+ image_vars: image.build_vars,
5023
+ class_name: className2,
5024
+ image_name: imageName,
5025
+ image_tag: imageTag2
5026
+ });
5027
+ } else {
5028
+ namedOptions.push({
5029
+ image_uri: image.image,
5030
+ class_name: className2,
5031
+ image_name: imageName,
5032
+ image_tag: imageTag2
5033
+ });
5034
+ }
5035
+ }
5036
+ containerOptions.push(...namedOptions);
5037
+ const images = namedOptions.map(({ image_name, image_tag }) => ({
5038
+ name: image_name,
5039
+ image: image_tag
5040
+ }));
5041
+ containerRuntimeOptions.set(
5042
+ className2,
5043
+ images.length === 0 ? {} : { images }
5044
+ );
5045
+ continue;
5046
+ }
5047
+ if (container.image === void 0) {
5048
+ continue;
5049
+ }
5050
+ const className = resolveContainerClassName(container, exports$1);
5051
+ if (className === void 0) {
5052
+ continue;
5053
+ }
5054
+ const imageTag = getDevContainerImageName(
5055
+ className,
5056
+ requireContainerBuildId(containerBuildId)
5057
+ );
5058
+ containerRuntimeOptions.set(className, { imageName: imageTag });
5059
+ if (isDockerfile(container.image, configPath)) {
5060
+ containerOptions.push({
5061
+ dockerfile: container.image,
5062
+ image_build_context: container.image_build_context ?? path.dirname(container.image),
5063
+ image_vars: container.image_vars,
5064
+ class_name: className,
5065
+ image_tag: imageTag
5066
+ });
5067
+ } else {
5068
+ containerOptions.push({
5069
+ image_uri: container.image,
5070
+ class_name: className,
5071
+ image_tag: imageTag
5072
+ });
5073
+ }
5074
+ }
5075
+ return containerOptions.length === 0 && containerRuntimeOptions.size === 0 ? void 0 : { containerOptions, containerRuntimeOptions };
5076
+ }
5077
+ __name(createContainerDevPlan, "createContainerDevPlan");
4975
5078
 
4976
- 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, buildCommand, buildContainerImages, checkExposedPorts, cleanApplicationFromAPI, cleanForInstanceType, cleanupBuiltImages, cleanupContainers, cleanupDuplicateImageTags, configRolloutStepsToAPI, configureOpenAPIForContainerPull, containerPrivilegesAllowed, createDurableObjectNamespaceResolver, deployContainers, dockerBuild, dockerImageInspect, dockerLoginImageRegistry, ensureContainerLimits, ensureImageFitsLimits, fetchPagedListResult, fetchResult, formatError, generateContainerBuildId, getAndValidateRegistryType, getCloudflareContainerRegistry, getCloudflareRegistryWithAccountNamespace, getContainerAccount, getContainerIdsByImageTags, getContainerIdsFromImage, getContainerImageTag, getDevContainerImageName, getDockerHostFromEnv, getDockerSocketFromContext, getEgressInterceptorImage, getEgressInterceptorPlatform, getImageRepoTags, getInstanceTypeUsage, inferInstanceType, initContainersSharedContext, isDockerRunning, isDockerfileContainerConfig, listDurableObjects, logger, prepareContainerImagesForDev, promiseSpinner, pullEgressInterceptorImage, pullImage, pushBuiltContainerImage, pushCommand, pushImageIfChanged, request, requestPaginated, resolveDockerHost, resolveImageName, runDockerCmd, runDockerCmdWithOutput, sortObjectRecursive, startContainerBuild, stripUndefined, validateAndEncodeGarKey, verifyDockerInstalled };
5079
+ 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, buildCommand, buildContainerImages, checkExposedPorts, cleanApplicationFromAPI, cleanForInstanceType, cleanupBuiltImages, cleanupContainers, configRolloutStepsToAPI, configureOpenAPIForContainerPull, containerPrivilegesAllowed, createContainerDevPlan, createDurableObjectNamespaceResolver, 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, listDurableObjects, logger, prepareContainerImagesForDev, promiseSpinner, pullEgressInterceptorImage, pullImage, pushBuiltContainerImage, pushCommand, pushImageIfChanged, request, requestPaginated, resolveDockerHost, resolveImageName, runDockerCmd, runDockerCmdWithOutput, sortObjectRecursive, startContainerBuild, stripUndefined, validateAndEncodeGarKey, verifyDockerInstalled };
@@ -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":2341,"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":16133,"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":901,"imports":[{"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/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/utils.ts":{"bytes":15227,"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":"src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/images.ts":{"bytes":14841,"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/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/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":24295,"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/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":32106,"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":3389,"imports":[],"format":"esm"},"index.ts":{"bytes":501,"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/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"}],"format":"esm"}},"outputs":{"dist/index.mjs":{"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":"@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: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}],"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","buildCommand","buildContainerImages","checkExposedPorts","cleanApplicationFromAPI","cleanForInstanceType","cleanupBuiltImages","cleanupContainers","cleanupDuplicateImageTags","configRolloutStepsToAPI","configureOpenAPIForContainerPull","containerPrivilegesAllowed","createDurableObjectNamespaceResolver","deployContainers","dockerBuild","dockerImageInspect","dockerLoginImageRegistry","ensureContainerLimits","ensureImageFitsLimits","fetchPagedListResult","fetchResult","formatError","generateContainerBuildId","getAndValidateRegistryType","getCloudflareContainerRegistry","getCloudflareRegistryWithAccountNamespace","getContainerAccount","getContainerIdsByImageTags","getContainerIdsFromImage","getContainerImageTag","getDevContainerImageName","getDockerHostFromEnv","getDockerSocketFromContext","getEgressInterceptorImage","getEgressInterceptorPlatform","getImageRepoTags","getInstanceTypeUsage","inferInstanceType","initContainersSharedContext","isDockerRunning","isDockerfileContainerConfig","listDurableObjects","logger","prepareContainerImagesForDev","promiseSpinner","pullEgressInterceptorImage","pullImage","pushBuiltContainerImage","pushCommand","pushImageIfChanged","request","requestPaginated","resolveDockerHost","resolveImageName","runDockerCmd","runDockerCmdWithOutput","sortObjectRecursive","startContainerBuild","stripUndefined","validateAndEncodeGarKey","verifyDockerInstalled"],"entryPoint":"index.ts","inputs":{"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":10963},"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":17487},"src/context.ts":{"bytesInOutput":714},"src/images.ts":{"bytesInOutput":11066},"src/knobs.ts":{"bytesInOutput":1075},"src/registry.ts":{"bytesInOutput":292},"src/login.ts":{"bytesInOutput":1525},"src/utils.ts":{"bytesInOutput":10362},"src/inspect.ts":{"bytesInOutput":943},"src/limits.ts":{"bytesInOutput":5446},"src/deploy.ts":{"bytesInOutput":26931},"src/diff.ts":{"bytesInOutput":10086},"src/object.ts":{"bytesInOutput":984},"src/spinner.ts":{"bytesInOutput":422}},"bytes":169170}}}
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":2341,"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":16133,"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":901,"imports":[{"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/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/utils.ts":{"bytes":14079,"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":"src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/images.ts":{"bytes":15535,"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/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/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":24295,"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/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":32106,"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"},"index.ts":{"bytes":536,"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/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"}],"format":"esm"}},"outputs":{"dist/index.mjs":{"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":"@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: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}],"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","buildCommand","buildContainerImages","checkExposedPorts","cleanApplicationFromAPI","cleanForInstanceType","cleanupBuiltImages","cleanupContainers","configRolloutStepsToAPI","configureOpenAPIForContainerPull","containerPrivilegesAllowed","createContainerDevPlan","createDurableObjectNamespaceResolver","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","listDurableObjects","logger","prepareContainerImagesForDev","promiseSpinner","pullEgressInterceptorImage","pullImage","pushBuiltContainerImage","pushCommand","pushImageIfChanged","request","requestPaginated","resolveDockerHost","resolveImageName","runDockerCmd","runDockerCmdWithOutput","sortObjectRecursive","startContainerBuild","stripUndefined","validateAndEncodeGarKey","verifyDockerInstalled"],"entryPoint":"index.ts","inputs":{"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":17487},"src/context.ts":{"bytesInOutput":714},"src/images.ts":{"bytesInOutput":11463},"src/knobs.ts":{"bytesInOutput":1075},"src/registry.ts":{"bytesInOutput":292},"src/login.ts":{"bytesInOutput":1525},"src/utils.ts":{"bytesInOutput":9403},"src/inspect.ts":{"bytesInOutput":943},"src/limits.ts":{"bytesInOutput":5446},"src/deploy.ts":{"bytesInOutput":26931},"src/diff.ts":{"bytesInOutput":10090},"src/object.ts":{"bytesInOutput":984},"src/spinner.ts":{"bytesInOutput":422},"src/dev-options.ts":{"bytesInOutput":4838}},"bytes":173481}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/containers-shared",
3
- "version": "0.16.3",
3
+ "version": "0.16.5",
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,8 +24,8 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@cloudflare/cli-shared-helpers": "0.1.31",
28
- "@cloudflare/workers-utils": "0.39.0"
27
+ "@cloudflare/cli-shared-helpers": "0.1.33",
28
+ "@cloudflare/workers-utils": "0.40.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "22.15.17",