@cloudflare/workers-utils 0.36.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { be as TailConsumer, bi as WorkerMetadata, R as RawConfig } from './compliance-j3-tqeao.mjs';
1
+ import { bf as TailConsumer, bj as WorkerMetadata, R as RawConfig } from './compliance-b1X-Ss7e.mjs';
2
2
  import { AssetConfig } from '@cloudflare/workers-shared';
3
3
  import { Cloudflare } from 'cloudflare';
4
4
  import 'node:url';
package/dist/browser.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { constructWranglerConfig } from './chunk-2I4Q5QJP.mjs';
1
+ export { constructWranglerConfig } from './chunk-CDB2RWUW.mjs';
2
2
  import './chunk-Q72B4Q5Z.mjs';
@@ -1,7 +1,7 @@
1
1
  import { __name } from './chunk-Q72B4Q5Z.mjs';
2
2
 
3
3
  // src/default-compat-date.ts
4
- var DEFAULT_COMPAT_DATE = "2026-09-03";
4
+ var DEFAULT_COMPAT_DATE = "2026-09-08";
5
5
 
6
6
  // src/assert-never.ts
7
7
  function assertNever(_value) {
@@ -1683,6 +1683,23 @@ type UnsafeBinding = {
1683
1683
  /**
1684
1684
  * Configuration for a container application
1685
1685
  */
1686
+ type ContainerObservability = {
1687
+ /** If observability is enabled for this container application */
1688
+ enabled?: boolean;
1689
+ logs?: {
1690
+ enabled?: boolean;
1691
+ };
1692
+ /**
1693
+ * Percentage of instances to target with application-level observability hot reloads.
1694
+ * Mutually exclusive with `target_instance_count`.
1695
+ */
1696
+ target_instance_percentage?: number;
1697
+ /**
1698
+ * Number of instances to target with application-level observability hot reloads.
1699
+ * Mutually exclusive with `target_instance_percentage`.
1700
+ */
1701
+ target_instance_count?: number;
1702
+ };
1686
1703
  type ContainerApp = {
1687
1704
  /**
1688
1705
  * Name of the application.
@@ -1729,6 +1746,12 @@ type ContainerApp = {
1729
1746
  * field. Exactly one of the two directions must be configured.
1730
1747
  */
1731
1748
  class_name?: string;
1749
+ /**
1750
+ * Specify the observability behavior of this container application.
1751
+ *
1752
+ * When set, this overrides the root `observability` config for this container.
1753
+ */
1754
+ observability?: ContainerObservability;
1732
1755
  /**
1733
1756
  * The scheduling policy of the application
1734
1757
  * @optional
@@ -3613,4 +3636,4 @@ interface EnvironmentMap {
3613
3636
  }
3614
3637
  declare const defaultWranglerConfig: Config;
3615
3638
 
3616
- export { type CfModuleType as $, ARTIFACTS_EVENT_TYPES as A, type Binding as B, type ComputedFields as C, type DurableObjectExport as D, type Exports as E, type CfBrowserBinding as F, type CfCapnp as G, type CfD1Database as H, type CfDataBlobBindings as I, type CfDevPluginCfg as J, type CfDispatchNamespace as K, type Logger as L, type CfDurableObject as M, type CfDurableObjectMigrations as N, type CfExports as O, type CfFlagship as P, type CfHelloWorld as Q, type RawConfig as R, type CfHyperdrive as S, type CfImagesBinding as T, type CfKvNamespace as U, type CfLogfwdr as V, type WorkerEntrypointExport as W, type CfLogfwdrBinding as X, type CfMTlsCertificate as Y, type CfMediaBinding as Z, type CfModule as _, type RedirectedRawConfig as a, type LocalS3Credentials as a$, type CfPipeline as a0, type CfPlacement as a1, type CfQueue as a2, type CfR2Bucket as a3, type CfRateLimit as a4, type CfScriptFormat as a5, type CfSecretsStoreSecrets as a6, type CfSendEmailBindings as a7, type CfService as a8, type CfStreamBinding as a9, type DurableObjectExportStorage as aA, type DurableObjectMigration as aB, ENVIRONMENT_TAG_PREFIX as aC, type Entry as aD, type Environment as aE, type EnvironmentNonInheritable as aF, type ExportsReconciliationEntryBase as aG, type ExportsReconciliationErrorDetail as aH, type ExportsReconciliationInfo as aI, type ExportsReconciliationRename as aJ, type ExportsReconciliationResult as aK, type ExportsReconciliationTransfer as aL, type ExportsReconciliationTransferPending as aM, type ExportsReconciliationWarning as aN, type FetchKVGetValueFetcher as aO, type FetchListResultFetcher as aP, type FetchPagedListResultFetcher as aQ, type FetchResult as aR, type FetchResultFetcher as aS, type File as aT, type Hook as aU, type HookValues as aV, INHERIT_SYMBOL as aW, JSON_CONFIG_FORMATS as aX, type Json as aY, LOGGER_LEVELS as aZ, type LegacyAssetPaths as a_, type CfTextBlobBindings as aa, type CfUnsafe as ab, type CfUnsafeBinding as ac, type CfUserLimits as ad, type CfVars as ae, type CfVectorize as af, type CfVersionMetadataBinding as ag, type CfVpcNetwork as ah, type CfVpcService as ai, type CfWasmModuleBindings as aj, type CfWebSearch as ak, type CfWorkerContext as al, type CfWorkerInit as am, type CfWorkerLoader as an, type CfWorkerSourceMap as ao, type CfWorkflow as ap, type CloudchamberConfig as aq, type ComplianceConfig as ar, type ConfigFields as as, type ConfigModuleRuleType as at, type ConfiguredExport as au, type ContainerEngine as av, type CustomDomainRoute as aw, type DispatchNamespaceOutbound as ax, type DockerConfiguration as ay, type DurableObjectBindings as az, type Config as b, getWranglerSendErrorReportsFromEnv as b$, type LogLevel as b0, type LoggerLevel as b1, type NodeJSCompatMode as b2, type Observability as b3, PATH_TO_DEPLOY_CONFIG as b4, type PreviewsConfig as b5, type RawDevConfig as b6, type RawEnvironment as b7, type Rule as b8, SERVICE_TAG_PREFIX as b9, getCIOverrideName as bA, getCIOverrideNetworkModeHost as bB, getCfFetchEnabledFromEnv as bC, getCfFetchPathFromEnv as bD, getCloudflareApiBaseUrl as bE, getCloudflareApiEnvironmentFromEnv as bF, getCloudflareComplianceRegion as bG, getCloudflareEnv as bH, getCloudflareIncludeProcessEnvFromEnv as bI, getCloudflareLoadDevVarsFromDotEnv as bJ, getCloudflaredPathFromEnv as bK, getComplianceRegionSubdomain as bL, getD1ExtraLocationChoices as bM, getDisableConfigWatching as bN, getLocalExplorerEnabledFromEnv as bO, getLocalObservabilityEnabledFromEnv as bP, getNoSkillsUpdatePromptsFromEnv as bQ, getOpenNextDeployFromEnv as bR, getOutputFileDirectoryFromEnv as bS, getOutputFilePathFromEnv as bT, getRegistryPath as bU, getSanitizeLogs as bV, getSubdomainMixedStateCheckDisabled as bW, getTraceHeader as bX, getWorkersCIBranchName as bY, getWranglerCacheDirFromEnv as bZ, getWranglerHideBanner as b_, type ServiceFetch as ba, type ServiceMetadataRes as bb, type StartDevWorkerInput as bc, type StreamingTailConsumer as bd, type TailConsumer as be, type Trigger as bf, type UserLimits as bg, type ValidatedAssetsOptions as bh, type WorkerMetadata as bi, type WorkflowBinding as bj, type ZoneIdRoute as bk, type ZoneNameRoute as bl, addAuthorizationHeader as bm, defaultWranglerConfig as bn, extractAccountTag as bo, extractWAFBlockRayId as bp, fetchInternalBase as bq, fetchKVGetValueBase as br, fetchListResultBase as bs, fetchResultBase as bt, getBrowserRenderingHeadfulFromEnv as bu, getBuildConditionsFromEnv as bv, getBuildPlatformFromEnv as bw, getC3CommandFromEnv as bx, getCIGeneratePreviewAlias as by, getCIMatchTag as bz, type ContainerApp as c, getWranglerSendMetricsFromEnv as c0, hasCursor as c1, hasMorePages as c2, isDoNotTrackEnabled as c3, isWAFBlockResponse as c4, maybeAddTraceHeader as c5, parseRetryAfterMs as c6, parseRetryAfterValue as c7, performApiFetchBase as c8, renderError as c9, throwFetchError as ca, truncate as cb, type WorkerMetadataBinding as d, type CfTailConsumer as e, type Route as f, type Access as g, type ApiCredentials as h, type ArtifactsEventTrigger as i, type ArtifactsEventType as j, type AssetConfigMetadata as k, type Assets as l, type AssetsOptions as m, type AsyncHook as n, type BinaryFile as o, COMPLIANCE_REGION_CONFIG_PUBLIC as p, COMPLIANCE_REGION_CONFIG_UNKNOWN as q, type CacheOptions as r, type CfAIBinding as s, type CfAISearch as t, type CfAISearchNamespace as u, type CfAccount as v, type CfAgentMemory as w, type CfAnalyticsEngineDataset as x, type CfArtifacts as y, type CfAssetsBinding as z };
3639
+ export { type CfModule as $, type ApiCredentials as A, type Binding as B, type ComputedFields as C, type DurableObjectExport as D, type Exports as E, type CfAssetsBinding as F, type CfBrowserBinding as G, type CfCapnp as H, type CfD1Database as I, type CfDataBlobBindings as J, type CfDevPluginCfg as K, type Logger as L, type CfDispatchNamespace as M, type CfDurableObject as N, type CfDurableObjectMigrations as O, type CfExports as P, type CfFlagship as Q, type RawConfig as R, type CfHelloWorld as S, type CfHyperdrive as T, type CfImagesBinding as U, type CfKvNamespace as V, type WorkerEntrypointExport as W, type CfLogfwdr as X, type CfLogfwdrBinding as Y, type CfMTlsCertificate as Z, type CfMediaBinding as _, type RedirectedRawConfig as a, type LegacyAssetPaths as a$, type CfModuleType as a0, type CfPipeline as a1, type CfPlacement as a2, type CfQueue as a3, type CfR2Bucket as a4, type CfRateLimit as a5, type CfScriptFormat as a6, type CfSecretsStoreSecrets as a7, type CfSendEmailBindings as a8, type CfService as a9, type DurableObjectBindings as aA, type DurableObjectExportStorage as aB, type DurableObjectMigration as aC, ENVIRONMENT_TAG_PREFIX as aD, type Entry as aE, type Environment as aF, type EnvironmentNonInheritable as aG, type ExportsReconciliationEntryBase as aH, type ExportsReconciliationErrorDetail as aI, type ExportsReconciliationInfo as aJ, type ExportsReconciliationRename as aK, type ExportsReconciliationResult as aL, type ExportsReconciliationTransfer as aM, type ExportsReconciliationTransferPending as aN, type ExportsReconciliationWarning as aO, type FetchKVGetValueFetcher as aP, type FetchListResultFetcher as aQ, type FetchPagedListResultFetcher as aR, type FetchResult as aS, type FetchResultFetcher as aT, type File as aU, type Hook as aV, type HookValues as aW, INHERIT_SYMBOL as aX, JSON_CONFIG_FORMATS as aY, type Json as aZ, LOGGER_LEVELS as a_, type CfStreamBinding as aa, type CfTextBlobBindings as ab, type CfUnsafe as ac, type CfUnsafeBinding as ad, type CfUserLimits as ae, type CfVars as af, type CfVectorize as ag, type CfVersionMetadataBinding as ah, type CfVpcNetwork as ai, type CfVpcService as aj, type CfWasmModuleBindings as ak, type CfWebSearch as al, type CfWorkerContext as am, type CfWorkerInit as an, type CfWorkerLoader as ao, type CfWorkerSourceMap as ap, type CfWorkflow as aq, type CloudchamberConfig as ar, type ConfigFields as as, type ConfigModuleRuleType as at, type ConfiguredExport as au, type ContainerEngine as av, type ContainerObservability as aw, type CustomDomainRoute as ax, type DispatchNamespaceOutbound as ay, type DockerConfiguration as az, type Config as b, getWranglerHideBanner as b$, type LocalS3Credentials as b0, type LogLevel as b1, type LoggerLevel as b2, type NodeJSCompatMode as b3, type Observability as b4, PATH_TO_DEPLOY_CONFIG as b5, type PreviewsConfig as b6, type RawDevConfig as b7, type RawEnvironment as b8, type Rule as b9, getCIMatchTag as bA, getCIOverrideName as bB, getCIOverrideNetworkModeHost as bC, getCfFetchEnabledFromEnv as bD, getCfFetchPathFromEnv as bE, getCloudflareApiBaseUrl as bF, getCloudflareApiEnvironmentFromEnv as bG, getCloudflareComplianceRegion as bH, getCloudflareEnv as bI, getCloudflareIncludeProcessEnvFromEnv as bJ, getCloudflareLoadDevVarsFromDotEnv as bK, getCloudflaredPathFromEnv as bL, getComplianceRegionSubdomain as bM, getD1ExtraLocationChoices as bN, getDisableConfigWatching as bO, getLocalExplorerEnabledFromEnv as bP, getLocalObservabilityEnabledFromEnv as bQ, getNoSkillsUpdatePromptsFromEnv as bR, getOpenNextDeployFromEnv as bS, getOutputFileDirectoryFromEnv as bT, getOutputFilePathFromEnv as bU, getRegistryPath as bV, getSanitizeLogs as bW, getSubdomainMixedStateCheckDisabled as bX, getTraceHeader as bY, getWorkersCIBranchName as bZ, getWranglerCacheDirFromEnv as b_, SERVICE_TAG_PREFIX as ba, type ServiceFetch as bb, type ServiceMetadataRes as bc, type StartDevWorkerInput as bd, type StreamingTailConsumer as be, type TailConsumer as bf, type Trigger as bg, type UserLimits as bh, type ValidatedAssetsOptions as bi, type WorkerMetadata as bj, type WorkflowBinding as bk, type ZoneIdRoute as bl, type ZoneNameRoute as bm, addAuthorizationHeader as bn, defaultWranglerConfig as bo, extractAccountTag as bp, extractWAFBlockRayId as bq, fetchInternalBase as br, fetchKVGetValueBase as bs, fetchListResultBase as bt, fetchResultBase as bu, getBrowserRenderingHeadfulFromEnv as bv, getBuildConditionsFromEnv as bw, getBuildPlatformFromEnv as bx, getC3CommandFromEnv as by, getCIGeneratePreviewAlias as bz, type ContainerApp as c, getWranglerSendErrorReportsFromEnv as c0, getWranglerSendMetricsFromEnv as c1, hasCursor as c2, hasMorePages as c3, isDoNotTrackEnabled as c4, isWAFBlockResponse as c5, maybeAddTraceHeader as c6, parseRetryAfterMs as c7, parseRetryAfterValue as c8, performApiFetchBase as c9, renderError as ca, throwFetchError as cb, truncate as cc, type WorkerMetadataBinding as d, type CfTailConsumer as e, type ComplianceConfig as f, type Route as g, ARTIFACTS_EVENT_TYPES as h, type Access as i, type ArtifactsEventTrigger as j, type ArtifactsEventType as k, type AssetConfigMetadata as l, type Assets as m, type AssetsOptions as n, type AsyncHook as o, type BinaryFile as p, COMPLIANCE_REGION_CONFIG_PUBLIC as q, COMPLIANCE_REGION_CONFIG_UNKNOWN as r, type CacheOptions as s, type CfAIBinding as t, type CfAISearch as u, type CfAISearchNamespace as v, type CfAccount as w, type CfAgentMemory as x, type CfAnalyticsEngineDataset as y, type CfArtifacts as z };
@@ -1,4 +1,4 @@
1
- export { p as COMPLIANCE_REGION_CONFIG_PUBLIC, q as COMPLIANCE_REGION_CONFIG_UNKNOWN, ar as ComplianceConfig, bE as getCloudflareApiBaseUrl, bG as getCloudflareComplianceRegion, bL as getComplianceRegionSubdomain } from './compliance-j3-tqeao.mjs';
1
+ export { q as COMPLIANCE_REGION_CONFIG_PUBLIC, r as COMPLIANCE_REGION_CONFIG_UNKNOWN, f as ComplianceConfig, bF as getCloudflareApiBaseUrl, bH as getCloudflareComplianceRegion, bM as getComplianceRegionSubdomain } from './compliance-b1X-Ss7e.mjs';
2
2
  import 'node:url';
3
3
  import 'undici';
4
4
  import '@cloudflare/workers-shared';
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, E as Exports, D as DurableObjectExport, W as WorkerEntrypointExport, c as ContainerApp, d as WorkerMetadataBinding, e as CfTailConsumer, L as Logger, f as Route } from './compliance-j3-tqeao.mjs';
2
- export { A as ARTIFACTS_EVENT_TYPES, g as Access, h as ApiCredentials, i as ArtifactsEventTrigger, j as ArtifactsEventType, k as AssetConfigMetadata, l as Assets, m as AssetsOptions, n as AsyncHook, o as BinaryFile, p as COMPLIANCE_REGION_CONFIG_PUBLIC, q as COMPLIANCE_REGION_CONFIG_UNKNOWN, r as CacheOptions, s as CfAIBinding, t as CfAISearch, u as CfAISearchNamespace, v as CfAccount, w as CfAgentMemory, x as CfAnalyticsEngineDataset, y as CfArtifacts, z as CfAssetsBinding, F as CfBrowserBinding, G as CfCapnp, H as CfD1Database, I as CfDataBlobBindings, J as CfDevPluginCfg, K as CfDispatchNamespace, M as CfDurableObject, N as CfDurableObjectMigrations, O as CfExports, P as CfFlagship, Q as CfHelloWorld, S as CfHyperdrive, T as CfImagesBinding, U as CfKvNamespace, V as CfLogfwdr, X as CfLogfwdrBinding, Y as CfMTlsCertificate, Z as CfMediaBinding, _ as CfModule, $ as CfModuleType, a0 as CfPipeline, a1 as CfPlacement, a2 as CfQueue, a3 as CfR2Bucket, a4 as CfRateLimit, a5 as CfScriptFormat, a6 as CfSecretsStoreSecrets, a7 as CfSendEmailBindings, a8 as CfService, a9 as CfStreamBinding, aa as CfTextBlobBindings, ab as CfUnsafe, ac as CfUnsafeBinding, ad as CfUserLimits, ae as CfVars, af as CfVectorize, ag as CfVersionMetadataBinding, ah as CfVpcNetwork, ai as CfVpcService, aj as CfWasmModuleBindings, ak as CfWebSearch, al as CfWorkerContext, am as CfWorkerInit, an as CfWorkerLoader, ao as CfWorkerSourceMap, ap as CfWorkflow, aq as CloudchamberConfig, ar as ComplianceConfig, as as ConfigFields, at as ConfigModuleRuleType, au as ConfiguredExport, av as ContainerEngine, aw as CustomDomainRoute, ax as DispatchNamespaceOutbound, ay as DockerConfiguration, az as DurableObjectBindings, aA as DurableObjectExportStorage, aB as DurableObjectMigration, aC as ENVIRONMENT_TAG_PREFIX, aD as Entry, aE as Environment, aF as EnvironmentNonInheritable, aG as ExportsReconciliationEntryBase, aH as ExportsReconciliationErrorDetail, aI as ExportsReconciliationInfo, aJ as ExportsReconciliationRename, aK as ExportsReconciliationResult, aL as ExportsReconciliationTransfer, aM as ExportsReconciliationTransferPending, aN as ExportsReconciliationWarning, aO as FetchKVGetValueFetcher, aP as FetchListResultFetcher, aQ as FetchPagedListResultFetcher, aR as FetchResult, aS as FetchResultFetcher, aT as File, aU as Hook, aV as HookValues, aW as INHERIT_SYMBOL, aX as JSON_CONFIG_FORMATS, aY as Json, aZ as LOGGER_LEVELS, a_ as LegacyAssetPaths, a$ as LocalS3Credentials, b0 as LogLevel, b1 as LoggerLevel, b2 as NodeJSCompatMode, b3 as Observability, b4 as PATH_TO_DEPLOY_CONFIG, b5 as PreviewsConfig, b6 as RawDevConfig, b7 as RawEnvironment, a as RedirectedRawConfig, b8 as Rule, b9 as SERVICE_TAG_PREFIX, ba as ServiceFetch, bb as ServiceMetadataRes, bc as StartDevWorkerInput, bd as StreamingTailConsumer, be as TailConsumer, bf as Trigger, bg as UserLimits, bh as ValidatedAssetsOptions, bi as WorkerMetadata, bj as WorkflowBinding, bk as ZoneIdRoute, bl as ZoneNameRoute, bm as addAuthorizationHeader, bn as defaultWranglerConfig, bo as extractAccountTag, bp as extractWAFBlockRayId, bq as fetchInternalBase, br as fetchKVGetValueBase, bs as fetchListResultBase, bt as fetchResultBase, bu as getBrowserRenderingHeadfulFromEnv, bv as getBuildConditionsFromEnv, bw as getBuildPlatformFromEnv, bx as getC3CommandFromEnv, by as getCIGeneratePreviewAlias, bz as getCIMatchTag, bA as getCIOverrideName, bB as getCIOverrideNetworkModeHost, bC as getCfFetchEnabledFromEnv, bD as getCfFetchPathFromEnv, bE as getCloudflareApiBaseUrl, bF as getCloudflareApiEnvironmentFromEnv, bG as getCloudflareComplianceRegion, bH as getCloudflareEnv, bI as getCloudflareIncludeProcessEnvFromEnv, bJ as getCloudflareLoadDevVarsFromDotEnv, bK as getCloudflaredPathFromEnv, bL as getComplianceRegionSubdomain, bM as getD1ExtraLocationChoices, bN as getDisableConfigWatching, bO as getLocalExplorerEnabledFromEnv, bP as getLocalObservabilityEnabledFromEnv, bQ as getNoSkillsUpdatePromptsFromEnv, bR as getOpenNextDeployFromEnv, bS as getOutputFileDirectoryFromEnv, bT as getOutputFilePathFromEnv, bU as getRegistryPath, bV as getSanitizeLogs, bW as getSubdomainMixedStateCheckDisabled, bX as getTraceHeader, bY as getWorkersCIBranchName, bZ as getWranglerCacheDirFromEnv, b_ as getWranglerHideBanner, b$ as getWranglerSendErrorReportsFromEnv, c0 as getWranglerSendMetricsFromEnv, c1 as hasCursor, c2 as hasMorePages, c3 as isDoNotTrackEnabled, c4 as isWAFBlockResponse, c5 as maybeAddTraceHeader, c6 as parseRetryAfterMs, c7 as parseRetryAfterValue, c8 as performApiFetchBase, c9 as renderError, ca as throwFetchError, cb as truncate } from './compliance-j3-tqeao.mjs';
1
+ import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, E as Exports, D as DurableObjectExport, W as WorkerEntrypointExport, c as ContainerApp, d as WorkerMetadataBinding, e as CfTailConsumer, L as Logger, A as ApiCredentials, f as ComplianceConfig, g as Route } from './compliance-b1X-Ss7e.mjs';
2
+ export { h as ARTIFACTS_EVENT_TYPES, i as Access, j as ArtifactsEventTrigger, k as ArtifactsEventType, l as AssetConfigMetadata, m as Assets, n as AssetsOptions, o as AsyncHook, p as BinaryFile, q as COMPLIANCE_REGION_CONFIG_PUBLIC, r as COMPLIANCE_REGION_CONFIG_UNKNOWN, s as CacheOptions, t as CfAIBinding, u as CfAISearch, v as CfAISearchNamespace, w as CfAccount, x as CfAgentMemory, y as CfAnalyticsEngineDataset, z as CfArtifacts, F as CfAssetsBinding, G as CfBrowserBinding, H as CfCapnp, I as CfD1Database, J as CfDataBlobBindings, K as CfDevPluginCfg, M as CfDispatchNamespace, N as CfDurableObject, O as CfDurableObjectMigrations, P as CfExports, Q as CfFlagship, S as CfHelloWorld, T as CfHyperdrive, U as CfImagesBinding, V as CfKvNamespace, X as CfLogfwdr, Y as CfLogfwdrBinding, Z as CfMTlsCertificate, _ as CfMediaBinding, $ as CfModule, a0 as CfModuleType, a1 as CfPipeline, a2 as CfPlacement, a3 as CfQueue, a4 as CfR2Bucket, a5 as CfRateLimit, a6 as CfScriptFormat, a7 as CfSecretsStoreSecrets, a8 as CfSendEmailBindings, a9 as CfService, aa as CfStreamBinding, ab as CfTextBlobBindings, ac as CfUnsafe, ad as CfUnsafeBinding, ae as CfUserLimits, af as CfVars, ag as CfVectorize, ah as CfVersionMetadataBinding, ai as CfVpcNetwork, aj as CfVpcService, ak as CfWasmModuleBindings, al as CfWebSearch, am as CfWorkerContext, an as CfWorkerInit, ao as CfWorkerLoader, ap as CfWorkerSourceMap, aq as CfWorkflow, ar as CloudchamberConfig, as as ConfigFields, at as ConfigModuleRuleType, au as ConfiguredExport, av as ContainerEngine, aw as ContainerObservability, ax as CustomDomainRoute, ay as DispatchNamespaceOutbound, az as DockerConfiguration, aA as DurableObjectBindings, aB as DurableObjectExportStorage, aC as DurableObjectMigration, aD as ENVIRONMENT_TAG_PREFIX, aE as Entry, aF as Environment, aG as EnvironmentNonInheritable, aH as ExportsReconciliationEntryBase, aI as ExportsReconciliationErrorDetail, aJ as ExportsReconciliationInfo, aK as ExportsReconciliationRename, aL as ExportsReconciliationResult, aM as ExportsReconciliationTransfer, aN as ExportsReconciliationTransferPending, aO as ExportsReconciliationWarning, aP as FetchKVGetValueFetcher, aQ as FetchListResultFetcher, aR as FetchPagedListResultFetcher, aS as FetchResult, aT as FetchResultFetcher, aU as File, aV as Hook, aW as HookValues, aX as INHERIT_SYMBOL, aY as JSON_CONFIG_FORMATS, aZ as Json, a_ as LOGGER_LEVELS, a$ as LegacyAssetPaths, b0 as LocalS3Credentials, b1 as LogLevel, b2 as LoggerLevel, b3 as NodeJSCompatMode, b4 as Observability, b5 as PATH_TO_DEPLOY_CONFIG, b6 as PreviewsConfig, b7 as RawDevConfig, b8 as RawEnvironment, a as RedirectedRawConfig, b9 as Rule, ba as SERVICE_TAG_PREFIX, bb as ServiceFetch, bc as ServiceMetadataRes, bd as StartDevWorkerInput, be as StreamingTailConsumer, bf as TailConsumer, bg as Trigger, bh as UserLimits, bi as ValidatedAssetsOptions, bj as WorkerMetadata, bk as WorkflowBinding, bl as ZoneIdRoute, bm as ZoneNameRoute, bn as addAuthorizationHeader, bo as defaultWranglerConfig, bp as extractAccountTag, bq as extractWAFBlockRayId, br as fetchInternalBase, bs as fetchKVGetValueBase, bt as fetchListResultBase, bu as fetchResultBase, bv as getBrowserRenderingHeadfulFromEnv, bw as getBuildConditionsFromEnv, bx as getBuildPlatformFromEnv, by as getC3CommandFromEnv, bz as getCIGeneratePreviewAlias, bA as getCIMatchTag, bB as getCIOverrideName, bC as getCIOverrideNetworkModeHost, bD as getCfFetchEnabledFromEnv, bE as getCfFetchPathFromEnv, bF as getCloudflareApiBaseUrl, bG as getCloudflareApiEnvironmentFromEnv, bH as getCloudflareComplianceRegion, bI as getCloudflareEnv, bJ as getCloudflareIncludeProcessEnvFromEnv, bK as getCloudflareLoadDevVarsFromDotEnv, bL as getCloudflaredPathFromEnv, bM as getComplianceRegionSubdomain, bN as getD1ExtraLocationChoices, bO as getDisableConfigWatching, bP as getLocalExplorerEnabledFromEnv, bQ as getLocalObservabilityEnabledFromEnv, bR as getNoSkillsUpdatePromptsFromEnv, bS as getOpenNextDeployFromEnv, bT as getOutputFileDirectoryFromEnv, bU as getOutputFilePathFromEnv, bV as getRegistryPath, bW as getSanitizeLogs, bX as getSubdomainMixedStateCheckDisabled, bY as getTraceHeader, bZ as getWorkersCIBranchName, b_ as getWranglerCacheDirFromEnv, b$ as getWranglerHideBanner, c0 as getWranglerSendErrorReportsFromEnv, c1 as getWranglerSendMetricsFromEnv, c2 as hasCursor, c3 as hasMorePages, c4 as isDoNotTrackEnabled, c5 as isWAFBlockResponse, c6 as maybeAddTraceHeader, c7 as parseRetryAfterMs, c8 as parseRetryAfterValue, c9 as performApiFetchBase, ca as renderError, cb as throwFetchError, cc as truncate } from './compliance-b1X-Ss7e.mjs';
3
3
  import * as jsoncParser from 'jsonc-parser';
4
4
  import { UserError, TelemetryMessage } from './errors.mjs';
5
5
  export { CommandLineArgsError, DeprecationError, FatalError, JsonFriendlyFatalError, MissingConfigError, createFatalError } from './errors.mjs';
@@ -796,6 +796,21 @@ interface TunnelOptions {
796
796
  extendHint?: string;
797
797
  logger?: Pick<Logger, "debug" | "log" | "warn">;
798
798
  }
799
+ /**
800
+ * Resolves the named tunnel to hostnames whose ingress rules target the current
801
+ * local dev origin and the token needed to start `cloudflared tunnel run`.
802
+ */
803
+ declare function resolveNamedTunnel(name: string, origin: URL, options: {
804
+ accountId: string;
805
+ apiToken: ApiCredentials;
806
+ complianceRegion: ComplianceConfig["compliance_region"];
807
+ logger: Logger;
808
+ userAgent: string;
809
+ abortSignal?: AbortSignal;
810
+ }): Promise<{
811
+ hostnames: string[];
812
+ token: string;
813
+ }>;
799
814
  /**
800
815
  * Start a Cloudflare Quick Tunnel for a local dev origin.
801
816
  *
@@ -1260,4 +1275,4 @@ declare function toUrlPath(filePath: string): UrlPath;
1260
1275
  */
1261
1276
  declare const friendlyBindingNames: Record<ConfigBindingFieldName, string>;
1262
1277
 
1263
- export { APIError, Binding, type BindingLocalSupport, BunPackageManager, CfTailConsumer, CompatDate, Config, type ConfigBindingFieldName, type ConfigBindingOptions, type ConfigCache, type ConfigCacheOptions, ContainerApp, type ConvertBindingsOptions, DEFAULT_COMPAT_DATE, Diagnostics, DurableObjectExport, type EphemeralDirectory, type ExportType, Exports, type Location, Logger, type Message, type NormalizeAndValidateConfigArgs, NpmPackageManager, type NpmVersionCheckResult, NubPackageManager, type OutputEntry, type PackageJSON, type PackageManager, ParseError, type ParseFile, type PartitionedExports, PatchConfigError, PnpmPackageManager, type PrintBindingsOptions, RawConfig, type ResolveConfigPathOptions, Route, TelemetryMessage, type Tunnel, type TunnelOptions, type UrlPath, UserError, WorkerEntrypointExport, WorkerMetadataBinding, YarnPackageManager, assertNever, bucketFormatMessage, checkWorkerNameValidity, clearOutputFilePath, configFileName, configFormat, convertConfigToBindings, createConfigCache, experimental_patchConfig, experimental_readRawConfig, extractBindingsOfType, fetchLatestNpmVersion, findWranglerConfig, formatConfigSnippet, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBindings, getBooleanEnvironmentVariableFactory, getContainerDurableObjectClassNames, getContainerNameToClassNameMap, getDurableObjectExports, getEnvironmentVariableFactory, getHostFromRoute, getHostFromUrl, getInstalledPackageVersion, getPackagePath, getWorkerName, getWorkerNameFromProject, getWranglerHiddenDirPath, getWranglerTmpDir, getZoneFromRoute, hasDurableObjectExports, hasProperty, indexLocation, isCI, isDockerfile, isInteractive, isNonInteractiveOrCI, isOptionalProperty, isPackageInstalled, isPagesConfig, isRedirectedConfig, isRequiredProperty, isUnsafeBindingType, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, openInBrowser, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, partitionExports, printBindings, readFileSync, readFileSyncToBuffer, resolveContainerClassName, resolveWranglerConfigPath, retryOnAPIFailure, searchLocation, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, toUrlPath, toValidWorkerName, validateBindingRemoteSetting, validatePagesConfig, writeOutput };
1278
+ export { APIError, ApiCredentials, Binding, type BindingLocalSupport, BunPackageManager, CfTailConsumer, CompatDate, ComplianceConfig, Config, type ConfigBindingFieldName, type ConfigBindingOptions, type ConfigCache, type ConfigCacheOptions, ContainerApp, type ConvertBindingsOptions, DEFAULT_COMPAT_DATE, Diagnostics, DurableObjectExport, type EphemeralDirectory, type ExportType, Exports, type Location, Logger, type Message, type NormalizeAndValidateConfigArgs, NpmPackageManager, type NpmVersionCheckResult, NubPackageManager, type OutputEntry, type PackageJSON, type PackageManager, ParseError, type ParseFile, type PartitionedExports, PatchConfigError, PnpmPackageManager, type PrintBindingsOptions, RawConfig, type ResolveConfigPathOptions, Route, TelemetryMessage, type Tunnel, type TunnelOptions, type UrlPath, UserError, WorkerEntrypointExport, WorkerMetadataBinding, YarnPackageManager, assertNever, bucketFormatMessage, checkWorkerNameValidity, clearOutputFilePath, configFileName, configFormat, convertConfigToBindings, createConfigCache, experimental_patchConfig, experimental_readRawConfig, extractBindingsOfType, fetchLatestNpmVersion, findWranglerConfig, formatConfigSnippet, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBindings, getBooleanEnvironmentVariableFactory, getContainerDurableObjectClassNames, getContainerNameToClassNameMap, getDurableObjectExports, getEnvironmentVariableFactory, getHostFromRoute, getHostFromUrl, getInstalledPackageVersion, getPackagePath, getWorkerName, getWorkerNameFromProject, getWranglerHiddenDirPath, getWranglerTmpDir, getZoneFromRoute, hasDurableObjectExports, hasProperty, indexLocation, isCI, isDockerfile, isInteractive, isNonInteractiveOrCI, isOptionalProperty, isPackageInstalled, isPagesConfig, isRedirectedConfig, isRequiredProperty, isUnsafeBindingType, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, openInBrowser, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, partitionExports, printBindings, readFileSync, readFileSyncToBuffer, resolveContainerClassName, resolveNamedTunnel, resolveWranglerConfigPath, retryOnAPIFailure, searchLocation, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, toUrlPath, toValidWorkerName, validateBindingRemoteSetting, validatePagesConfig, writeOutput };