@go-to-k/cdkd 0.291.1 → 0.291.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Ba as normalizeAwsError, Cr as LockManager, Da as LockError, Ia as StateError, La as SynthesisError, Ra as formatError, Ti as Synthesizer, Wr as AssetPublisher, _a as AssetError, ar as TemplateParser, ct as IAMRoleProvider, da as clearBucketRegionCache, dt as ProviderRegistry, ea as AssemblyReader, fa as resolveBucketRegion, ga as setAwsClients, ha as resetAwsClients, ir as DagBuilder, ja as ProvisioningError, ma as getAwsClients, mn as DiffCalculator, pa as AwsClients, r as DeployEngine, va as CdkdError, wr as S3StateBackend, xa as DependencyError, xt as CloudControlProvider, ya as ConfigError, za as isCdkdError } from "./deploy-engine-BZtFQu2S.js";
1
+ import { Ba as normalizeAwsError, Cr as LockManager, Da as LockError, Ia as StateError, La as SynthesisError, Ra as formatError, Ti as Synthesizer, Wr as AssetPublisher, _a as AssetError, ar as TemplateParser, ct as IAMRoleProvider, da as clearBucketRegionCache, dt as ProviderRegistry, ea as AssemblyReader, fa as resolveBucketRegion, ga as setAwsClients, ha as resetAwsClients, ir as DagBuilder, ja as ProvisioningError, ma as getAwsClients, mn as DiffCalculator, pa as AwsClients, r as DeployEngine, va as CdkdError, wr as S3StateBackend, xa as DependencyError, xt as CloudControlProvider, ya as ConfigError, za as isCdkdError } from "./deploy-engine-5fdODHji.js";
2
2
  import { a as setLogger, n as getLogger, t as ConsoleLogger } from "./logger-GASr9bAF.js";
3
3
 
4
4
  export { AssemblyReader, AssetError, AssetPublisher, AwsClients, CdkdError, CloudControlProvider, ConfigError, ConsoleLogger, DagBuilder, DependencyError, DeployEngine, DiffCalculator, IAMRoleProvider, LockError, LockManager, ProviderRegistry, ProvisioningError, S3StateBackend, StateError, SynthesisError, Synthesizer, TemplateParser, clearBucketRegionCache, formatError, getAwsClients, getLogger, isCdkdError, normalizeAwsError, resetAwsClients, resolveBucketRegion, setAwsClients, setLogger };
@@ -1,8 +1,8 @@
1
- import { $ as yellow, $i as derivePartitionAndUrlSuffix, $n as safeStackName, $r as assertAssetBucketRegion, $t as requireConfigObject, A as createPreDeleteFinalSnapshot, Aa as PartialFailureError, Ai as resolveAutoAssetStorage, An as malformedOutputsRefusalMessage, Ar as formatLockExpiry, At as carriesDynamicReference, B as isStatefulRecreateTargetSync, Ba as normalizeAwsError, Bi as CFN_TEMPLATE_URL_LIMIT, Bn as refuseMalformedOrphansForDestroy, Br as isReadableBag, Bt as isSettledInstanceState, C as namesAnyDeclaredParameter, Ca as DynamicReferenceRegionAmbiguousError, Ci as AssetManifestLoader, Cn as isReadableResourceEntry, Cr as LockManager, Ct as slowCcOperationTimeoutMs, D as PRE_DELETE_SNAPSHOT_TYPES, Di as getDefaultStateBucketName, Dn as malformedOrphanRecordsWarning, Dr as buildForceUnlockCommand, Dt as disableInstanceApiTermination, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as LocalStartServiceError, Ei as synthesisStatusMessage, En as malformedLocalOutputsWarning, Er as UNREPRODUCIBLE_LOCK_CLAUSE, Et as deleteSkipReason, F as extractDeploymentEventError, Fa as StackTerminationProtectionError, Fi as resolveUseCdkBootstrapAssets, Fn as malformedResourcesWarning, Fr as hasReadableExportSet, Ft as isImpossibleEmptyStoredAttribute, G as toCfnInteger, Ga as isTransientServerError, Gi as injectiveKey, Gn as refuseMalformedResourcesForDestroy, Gr as stringifyValue, Gt as coerceCfnBoolean, H as WARM_THROUGHPUT_MEMBERS, Ha as isMarkedNonRetryable, Hi as findLargeInlineResources, Hn as refuseMalformedOutputsForDestroy, Hr as orphansCarriedFrom, Ht as normalizeAwsTagsToCfn, I as makeSiblingClaimReader, Ii as stateBucketExistenceConfirmed, In as malformedStateRefusalMessage, Ir as hasReasonlessBaselineRefusal, It as isNamelessDynamicReferenceError, J as bold, Ja as retryClassificationText, Ji as producerRecordKey, Jn as repairMalformedOutputsForReadOnly, Jr as createAssetRedirectResolver, Jt as configIntegerRefusal, K as toFiniteNumber, Ka as markNonRetryable, Ki as injectiveKeyPrefix, Kn as refuseMalformedState, Kr as WorkGraph, Kt as coerceCfnInteger, L as planOrphanAdoption, La as SynthesisError, Li as warnDeprecatedNoPrefixCliFlag, Ln as refuseDivergentRecordRegionForDestroy, Lr as hasUnverifiableParameterRefusal, Lt as isUnboundTemplateParameter, M as refusesFinalSnapshot, Ma as ResourceTimeoutError, Mi as resolveSkipPrefix, Mn as malformedRenderedContainersWarning, Mr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Mt as cfnRefValueFromPhysicalId, N as unsupportedFinalSnapshotError, Na as ResourceUpdateNotSupportedError, Ni as resolveStateBucketWithDefault, Nn as malformedResourceEntriesWarning, Nr as DEFAULT_STATE_PREFIX, Nt as coerceParameterTypedValue, O as buildFinalSnapshotIdentifier, Oa as MalformedProducerRecordRefusalError, Oi as getLegacyStateBucketName, On as malformedOrphansRefusalMessage, Or as buildLockContentionMessage, Ot as isTerminationProtectionPropagationError, P as makeCanonicalizePropertiesFn, Pa as StackHasActiveImportsError, Pi as resolveStateBucketWithDefaultAndSource, Pn as malformedResourcePropertiesWarning, Pr as exportNamesCarriedFrom, Pt as getAccountInfo, Q as red, Qi as canonicalizeRegion, Qn as safeRegion, Qr as BOOTSTRAP_MARKER_PREFIX, Qt as requireConfigArray, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ri as ssmResolvedValueType, Rn as refuseMalformedNestedChildOutputs, Rr as importableOutputKeys, Rt as parameterTypeMayLoseSecretIdentity, S as computeParameterTaint, Sa as DeployCancelledError, Si as stripControlChars, Sn as hasReadableResources, Sr as scrubResourceRecord, St as isWaitAbandonedError, T as resourcesNamingDeclaredParameter, Ta as LocalInvokeBuildError$1, Ti as Synthesizer, Tn as malformedExportSourceWarning, Tr as rebuildClientForBucketRegion, Tt as deleteIndeterminateGuards, U as coerceWarmThroughput$1, Ua as isRetryableTransientError, Ui as uploadCfnTemplate, Un as refuseMalformedResourceEntries, Ur as shouldRetainResource, Ut as resolveExplicitPhysicalId, V as renderStatefulReason, Va as withErrorHandling, Vi as MIGRATE_TMP_PREFIX, Vn as refuseMalformedOutputs, Vr as orphansAfterRollback, Vt as WAFv2WebACLProvider, W as isWarmThroughputDecrease, Wa as isThrottlingError, Wi as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Wn as refuseMalformedResourcePropertiesForOrphan, Wr as AssetPublisher, Wt as assertRegionMatch, X as gray, Xa as safeStringify, Xi as expectedOwnerParam, Xn as repairMalformedResourcePropertiesForReadOnly, Xr as rewriteTemplateAssetReferences, Xt as readConfigString, Y as cyan, Ya as describeAwsFailure, Yi as decodeListingKey, Yn as repairMalformedResourceEntriesForReadOnly, Yr as loadPublishableAssetManifest, Yt as configStringRefusal, Z as green, Zi as PARTITION_TABLE, Zn as repairMalformedResourcesForReadOnly, Zr as AssetModeResolver, Zt as replayWarn, _ as bagHoldsSecretExpression, _i as partitionSensitiveEnv, _n as UNREADABLE_ORPHANS_CONTAINER_ROW, _r as maskSecretsInError, _t as endCommandInterruptScope, a as DeploymentEventsStore, aa as hasPlainPrototype, ai as validateAssetBucketName, an as s3BucketDomainName, ar as TemplateParser, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as CrossAccountSecretRefusalError, bi as runDockerStreaming, bn as hasReadableOrphans, br as recoverMaskedOutput, bt as startInterruptWatch, c as replayFailedOperations, ca as absoluteAssemblyPathEscape, ci as buildDockerImage, cn as s3BucketWebsiteUrl, cr as STATE_SOURCED_READBACK_RULES, ct as IAMRoleProvider, d as updatePartialMessage, di as describeDockerCapturedOutput, dn as applyCallerIdentityCredentials, dr as createSecretMasker, dt as ProviderRegistry, ea as AssemblyReader, ei as ensureAssetStorage, en as requireConfigString, er as findActionableSilentDrops, et as collectDeclaredOutputNames, f as updatePartialReason, fa as resolveBucketRegion, fi as describeDockerExecFailure, fn as callerEnvCredentials, fr as dynamicReferenceTokens, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as setAwsClients, gi as getDockerCmd, gn as STATE_RESOURCES_MALFORMED, gr as markSameGenerationBag, gt as beginCommandInterruptScope, h as IMPLICIT_DELETE_DEPENDENCIES, ha as resetAwsClients, hi as formatDockerLoginError, hn as INTRINSIC_KEYS, hr as isSingleDynamicReferenceToken, ht as maskerOrIdentity, i as DeploymentEventsReader, ia as hasOwnKey, ii as readBootstrapMarkerBody, in as s3BucketArn, ir as DagBuilder, it as secretBearing, j as isFinalSnapshotError, ja as ProvisioningError, ji as resolveCaptureObservedState, jn as malformedOutputsWarning, jr as shellQuote, jt as carriesFetchableDynamicReference, k as ccRoutedFinalSnapshotError, ka as NestedStackChildDirectDestroyError, ki as resolveApp, kn as malformedOrphansWarning, kr as forceQuitRecoveryClause, kt as IntrinsicFunctionResolver, l as replayRollback, la as renderAssemblyPathEscape, li as resolveDockerContextDirectory, ln as applyRoleArnIfSet, lr as TEMPLATE_SOURCED_RULES, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as getAwsClients, mi as dockerSpawnEnvWithSensitive, mn as DiffCalculator, mr as identityKeyFor, mt as maskDeep, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as processStackMessages, ni as isCrossRegionRedirect, nn as producerRegionsFromState, nr as describeTypeWithThrottleRetry, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as nullPrototypeRecord, oi as validateContainerRepoName, on as s3BucketDualStackDomainName, or as STATE_SOURCED_BASELINE_RULES, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as AwsClients, pi as describeDockerFailure, pn as envCredentialsAreAssumedRole, pr as errorCauseChain, pt as createMaskedRetryLogger, q as formatResourceLine, qa as markRedactedCause, qi as producerCoordinateKey, qn as repairMalformedOrphansForReadOnly, qr as buildAssetRedirectMap, qt as configBooleanRefusal, r as DeployEngine, ra as defineOwnKey, ri as parseBootstrapMarker, rn as withSharedDrainBudget, rr as withRetry, rt as isExportAliasCollision, s as planRollback, sa as ownValue, si as buildDenyExternalAccessPolicy, sn as s3BucketRegionalDomainName, sr as STATE_SOURCED_CROSS_GENERATION_RULES, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as failedStageNote, ti as getBootstrapMarkerKey, tn as classifyReplaySecretRegion, tr as findSilentDropProperties, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as resolveAssemblyPath, ui as warnManifestExecutable, un as AWS_CREDENTIAL_ENV_KEYS, ur as carriesSecretMask, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as CdkdError, vi as redactDockerArgvValues, vn as UNREADABLE_RESOURCES_MAP_ROW, vr as maskSecretsInText, vt as interruptWatchListenerCount, w as reachableDivergentParameters, wa as IntrinsicResolutionRefusalError, wi as getDockerImageBySourceHash, wn as malformedExportNamesWarning, wr as S3StateBackend, wt as UNSPECIFIED_SKIP_REASON, x as bindingSkippedOutputs, xi as escapeRegExp, xn as hasReadableOutputs, xr as redactSecretsForState, xt as CloudControlProvider, y as keptWholeReasonText, yi as runDockerForeground, yn as displayLogicalId, yr as recordMaskOnlyValue, yt as isInterruptedWaitError, z as isStatefulRecreateTargetForReplace, zi as CFN_TEMPLATE_BODY_LIMIT, zn as refuseMalformedOrphans, zr as importableOutputs, zt as refStateLookupFromResource } from "./deploy-engine-BZtFQu2S.js";
1
+ import { $ as yellow, $i as derivePartitionAndUrlSuffix, $n as safeStackName, $r as assertAssetBucketRegion, $t as requireConfigObject, A as createPreDeleteFinalSnapshot, Aa as PartialFailureError, Ai as resolveAutoAssetStorage, An as malformedOutputsRefusalMessage, Ar as formatLockExpiry, At as carriesDynamicReference, B as isStatefulRecreateTargetSync, Ba as normalizeAwsError, Bi as CFN_TEMPLATE_URL_LIMIT, Bn as refuseMalformedOrphansForDestroy, Br as isReadableBag, Bt as isSettledInstanceState, C as namesAnyDeclaredParameter, Ca as DynamicReferenceRegionAmbiguousError, Ci as AssetManifestLoader, Cn as isReadableResourceEntry, Cr as LockManager, Ct as slowCcOperationTimeoutMs, D as PRE_DELETE_SNAPSHOT_TYPES, Di as getDefaultStateBucketName, Dn as malformedOrphanRecordsWarning, Dr as buildForceUnlockCommand, Dt as disableInstanceApiTermination, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as LocalStartServiceError, Ei as synthesisStatusMessage, En as malformedLocalOutputsWarning, Er as UNREPRODUCIBLE_LOCK_CLAUSE, Et as deleteSkipReason, F as extractDeploymentEventError, Fa as StackTerminationProtectionError, Fi as resolveUseCdkBootstrapAssets, Fn as malformedResourcesWarning, Fr as hasReadableExportSet, Ft as isImpossibleEmptyStoredAttribute, G as toCfnInteger, Ga as isTransientServerError, Gi as injectiveKey, Gn as refuseMalformedResourcesForDestroy, Gr as stringifyValue, Gt as coerceCfnBoolean, H as WARM_THROUGHPUT_MEMBERS, Ha as isMarkedNonRetryable, Hi as findLargeInlineResources, Hn as refuseMalformedOutputsForDestroy, Hr as orphansCarriedFrom, Ht as normalizeAwsTagsToCfn, I as makeSiblingClaimReader, Ii as stateBucketExistenceConfirmed, In as malformedStateRefusalMessage, Ir as hasReasonlessBaselineRefusal, It as isNamelessDynamicReferenceError, J as bold, Ja as retryClassificationText, Ji as producerRecordKey, Jn as repairMalformedOutputsForReadOnly, Jr as createAssetRedirectResolver, Jt as configIntegerRefusal, K as toFiniteNumber, Ka as markNonRetryable, Ki as injectiveKeyPrefix, Kn as refuseMalformedState, Kr as WorkGraph, Kt as coerceCfnInteger, L as planOrphanAdoption, La as SynthesisError, Li as warnDeprecatedNoPrefixCliFlag, Ln as refuseDivergentRecordRegionForDestroy, Lr as hasUnverifiableParameterRefusal, Lt as isUnboundTemplateParameter, M as refusesFinalSnapshot, Ma as ResourceTimeoutError, Mi as resolveSkipPrefix, Mn as malformedRenderedContainersWarning, Mr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Mt as cfnRefValueFromPhysicalId, N as unsupportedFinalSnapshotError, Na as ResourceUpdateNotSupportedError, Ni as resolveStateBucketWithDefault, Nn as malformedResourceEntriesWarning, Nr as DEFAULT_STATE_PREFIX, Nt as coerceParameterTypedValue, O as buildFinalSnapshotIdentifier, Oa as MalformedProducerRecordRefusalError, Oi as getLegacyStateBucketName, On as malformedOrphansRefusalMessage, Or as buildLockContentionMessage, Ot as isTerminationProtectionPropagationError, P as makeCanonicalizePropertiesFn, Pa as StackHasActiveImportsError, Pi as resolveStateBucketWithDefaultAndSource, Pn as malformedResourcePropertiesWarning, Pr as exportNamesCarriedFrom, Pt as getAccountInfo, Q as red, Qi as canonicalizeRegion, Qn as safeRegion, Qr as BOOTSTRAP_MARKER_PREFIX, Qt as requireConfigArray, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ri as ssmResolvedValueType, Rn as refuseMalformedNestedChildOutputs, Rr as importableOutputKeys, Rt as parameterTypeMayLoseSecretIdentity, S as computeParameterTaint, Sa as DeployCancelledError, Si as stripControlChars, Sn as hasReadableResources, Sr as scrubResourceRecord, St as isWaitAbandonedError, T as resourcesNamingDeclaredParameter, Ta as LocalInvokeBuildError$1, Ti as Synthesizer, Tn as malformedExportSourceWarning, Tr as rebuildClientForBucketRegion, Tt as deleteIndeterminateGuards, U as coerceWarmThroughput$1, Ua as isRetryableTransientError, Ui as uploadCfnTemplate, Un as refuseMalformedResourceEntries, Ur as shouldRetainResource, Ut as resolveExplicitPhysicalId, V as renderStatefulReason, Va as withErrorHandling, Vi as MIGRATE_TMP_PREFIX, Vn as refuseMalformedOutputs, Vr as orphansAfterRollback, Vt as WAFv2WebACLProvider, W as isWarmThroughputDecrease, Wa as isThrottlingError, Wi as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Wn as refuseMalformedResourcePropertiesForOrphan, Wr as AssetPublisher, Wt as assertRegionMatch, X as gray, Xa as safeStringify, Xi as expectedOwnerParam, Xn as repairMalformedResourcePropertiesForReadOnly, Xr as rewriteTemplateAssetReferences, Xt as readConfigString, Y as cyan, Ya as describeAwsFailure, Yi as decodeListingKey, Yn as repairMalformedResourceEntriesForReadOnly, Yr as loadPublishableAssetManifest, Yt as configStringRefusal, Z as green, Zi as PARTITION_TABLE, Zn as repairMalformedResourcesForReadOnly, Zr as AssetModeResolver, Zt as replayWarn, _ as bagHoldsSecretExpression, _i as partitionSensitiveEnv, _n as UNREADABLE_ORPHANS_CONTAINER_ROW, _r as maskSecretsInError, _t as endCommandInterruptScope, a as DeploymentEventsStore, aa as hasPlainPrototype, ai as validateAssetBucketName, an as s3BucketDomainName, ar as TemplateParser, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as CrossAccountSecretRefusalError, bi as runDockerStreaming, bn as hasReadableOrphans, br as recoverMaskedOutput, bt as startInterruptWatch, c as replayFailedOperations, ca as absoluteAssemblyPathEscape, ci as buildDockerImage, cn as s3BucketWebsiteUrl, cr as STATE_SOURCED_READBACK_RULES, ct as IAMRoleProvider, d as updatePartialMessage, di as describeDockerCapturedOutput, dn as applyCallerIdentityCredentials, dr as createSecretMasker, dt as ProviderRegistry, ea as AssemblyReader, ei as ensureAssetStorage, en as requireConfigString, er as findActionableSilentDrops, et as collectDeclaredOutputNames, f as updatePartialReason, fa as resolveBucketRegion, fi as describeDockerExecFailure, fn as callerEnvCredentials, fr as dynamicReferenceTokens, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as setAwsClients, gi as getDockerCmd, gn as STATE_RESOURCES_MALFORMED, gr as markSameGenerationBag, gt as beginCommandInterruptScope, h as IMPLICIT_DELETE_DEPENDENCIES, ha as resetAwsClients, hi as formatDockerLoginError, hn as INTRINSIC_KEYS, hr as isSingleDynamicReferenceToken, ht as maskerOrIdentity, i as DeploymentEventsReader, ia as hasOwnKey, ii as readBootstrapMarkerBody, in as s3BucketArn, ir as DagBuilder, it as secretBearing, j as isFinalSnapshotError, ja as ProvisioningError, ji as resolveCaptureObservedState, jn as malformedOutputsWarning, jr as shellQuote, jt as carriesFetchableDynamicReference, k as ccRoutedFinalSnapshotError, ka as NestedStackChildDirectDestroyError, ki as resolveApp, kn as malformedOrphansWarning, kr as forceQuitRecoveryClause, kt as IntrinsicFunctionResolver, l as replayRollback, la as renderAssemblyPathEscape, li as resolveDockerContextDirectory, ln as applyRoleArnIfSet, lr as TEMPLATE_SOURCED_RULES, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as getAwsClients, mi as dockerSpawnEnvWithSensitive, mn as DiffCalculator, mr as identityKeyFor, mt as maskDeep, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as processStackMessages, ni as isCrossRegionRedirect, nn as producerRegionsFromState, nr as describeTypeWithThrottleRetry, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as nullPrototypeRecord, oi as validateContainerRepoName, on as s3BucketDualStackDomainName, or as STATE_SOURCED_BASELINE_RULES, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as AwsClients, pi as describeDockerFailure, pn as envCredentialsAreAssumedRole, pr as errorCauseChain, pt as createMaskedRetryLogger, q as formatResourceLine, qa as markRedactedCause, qi as producerCoordinateKey, qn as repairMalformedOrphansForReadOnly, qr as buildAssetRedirectMap, qt as configBooleanRefusal, r as DeployEngine, ra as defineOwnKey, ri as parseBootstrapMarker, rn as withSharedDrainBudget, rr as withRetry, rt as isExportAliasCollision, s as planRollback, sa as ownValue, si as buildDenyExternalAccessPolicy, sn as s3BucketRegionalDomainName, sr as STATE_SOURCED_CROSS_GENERATION_RULES, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as failedStageNote, ti as getBootstrapMarkerKey, tn as classifyReplaySecretRegion, tr as findSilentDropProperties, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as resolveAssemblyPath, ui as warnManifestExecutable, un as AWS_CREDENTIAL_ENV_KEYS, ur as carriesSecretMask, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as CdkdError, vi as redactDockerArgvValues, vn as UNREADABLE_RESOURCES_MAP_ROW, vr as maskSecretsInText, vt as interruptWatchListenerCount, w as reachableDivergentParameters, wa as IntrinsicResolutionRefusalError, wi as getDockerImageBySourceHash, wn as malformedExportNamesWarning, wr as S3StateBackend, wt as UNSPECIFIED_SKIP_REASON, x as bindingSkippedOutputs, xi as escapeRegExp, xn as hasReadableOutputs, xr as redactSecretsForState, xt as CloudControlProvider, y as keptWholeReasonText, yi as runDockerForeground, yn as displayLogicalId, yr as recordMaskOnlyValue, yt as isInterruptedWaitError, z as isStatefulRecreateTargetForReplace, zi as CFN_TEMPLATE_BODY_LIMIT, zn as refuseMalformedOrphans, zr as importableOutputs, zt as refStateLookupFromResource } from "./deploy-engine-5fdODHji.js";
2
2
  import { C as displayAwsMessage, D as truncateCodePoints, E as isPasteableIdent, S as UNRENDERABLE, T as displaySafe, _ as withSkipPrefix, b as SECRET_REF_MAX_CODE_POINTS, c as PATTERN_B_NAME_OPTIONS, f as explicitNamePropertyFor, h as getCurrentStackName, i as reserveStdoutForPayload, l as PATTERN_B_NAME_PROPERTIES, m as generateResourceNameWithFallback, n as getLogger, o as runStackBuffered, p as generateResourceName, s as getLiveRenderer, u as PATTERN_B_RESOURCE_TYPES, v as withStackName, w as displayIdent, x as STACK_REF_MAX_CODE_POINTS } from "./logger-GASr9bAF.js";
3
3
  import { n as awsClientDefaults } from "./aws-client-defaults-BoIxyCir.js";
4
- import { t as getCdkdVersion } from "./version-DREZx_Q6.js";
5
- import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-IJRO7-KI.js";
4
+ import { t as getCdkdVersion } from "./version-BKm47b9j.js";
5
+ import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-CLqajoRp.js";
6
6
  import { AsyncLocalStorage } from "node:async_hooks";
7
7
  import { createHash, randomBytes, randomUUID } from "node:crypto";
8
8
  import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
@@ -2046,6 +2046,99 @@ function createBootstrapCommand() {
2046
2046
  return cmd;
2047
2047
  }
2048
2048
 
2049
+ //#endregion
2050
+ //#region src/cli/stack-matcher.ts
2051
+ /**
2052
+ * Match stacks against user-supplied name patterns.
2053
+ *
2054
+ * Patterns are evaluated against two fields:
2055
+ *
2056
+ * - `stackName` — the physical CloudFormation stack name (e.g. `MyStage-MyStack`)
2057
+ * - `displayName` — the hierarchical CDK path (e.g. `MyStage/MyStack`); falls
2058
+ * back to `stackName` when the assembly does not carry one
2059
+ *
2060
+ * Routing is decided by whether the pattern contains `/`:
2061
+ *
2062
+ * - Pattern contains `/` → matched only against `displayName` (a `/` cannot
2063
+ * appear in a CloudFormation stack name, so this is unambiguous)
2064
+ * - Pattern contains no `/` → matched only against `stackName`
2065
+ *
2066
+ * Wildcards (`*`) are supported in either case. Results are de-duplicated by
2067
+ * `stackName`, so a pattern that incidentally matches the same stack via both
2068
+ * fields is returned only once.
2069
+ */
2070
+ function matchStacks(stacks, patterns) {
2071
+ if (patterns.length === 0) return [];
2072
+ const seen = /* @__PURE__ */ new Set();
2073
+ const result = [];
2074
+ for (const stack of stacks) if (patterns.some((pattern) => stackMatchesPattern(stack, pattern)) && !seen.has(stack.stackName)) {
2075
+ seen.add(stack.stackName);
2076
+ result.push(stack);
2077
+ }
2078
+ return result;
2079
+ }
2080
+ /**
2081
+ * Render a stack for diagnostic messages. When `displayName` differs from the
2082
+ * physical name, both are shown so the user can see which forms are valid as
2083
+ * patterns (e.g. `MyStage-Api (MyStage/Api)`).
2084
+ *
2085
+ * Both names come from the Cloud Assembly, and every one of this helper's
2086
+ * render sites interpolates the result into PROSE cdkd authors — `Available:
2087
+ * ...`, `Multiple stacks found: ...`, `Publishing assets for stack: ...`, the
2088
+ * last of which prints on a normal run rather than only on an error. So they
2089
+ * go through `displayIdent` ([#3277](https://github.com/go-to-k/cdkd/issues/3277)):
2090
+ * a `stackName` carrying `ESC [ 2 K` plus a carriage return ERASES cdkd's own
2091
+ * line and a newline forges a second one, and a value carrying quotes and
2092
+ * periods writes a cdkd-sounding clause.
2093
+ *
2094
+ * It is the identity on every legitimate `stackName` — a CloudFormation stack
2095
+ * name is `[A-Za-z0-9-]`, inside `PLAIN_IDENT`. It is NOT the identity on
2096
+ * every legitimate `displayName`: CDK sets that to the construct path, and
2097
+ * `constructs` rewrites only `/` in an id, so `new Stack(app, 'My Stack')` is
2098
+ * legal and prints `MyStack ("My Stack")`. Those quotes are not part of any
2099
+ * pattern, in a clause whose job is to say which forms ARE valid as patterns —
2100
+ * accepted, because the alternative is `displaySafe`, which passes the quotes
2101
+ * and spaces a crafted value needs, and the pattern still matches the RAW
2102
+ * name either way (`matchStacks` never sees this rendering).
2103
+ *
2104
+ * Sanitizing HERE rather than at the call sites is what keeps the rule whole:
2105
+ * the sites include `scrub.ts` and `destroy.ts`, which this change does not
2106
+ * touch, and a rule widened by hand is how the class survived being closed
2107
+ * twice already.
2108
+ */
2109
+ function describeStack(stack) {
2110
+ const name = displayIdent(stack.stackName, { maxCodePoints: STACK_REF_MAX_CODE_POINTS });
2111
+ if (stack.displayName && stack.displayName !== stack.stackName) return `${name} (${displayIdent(stack.displayName, { maxCodePoints: STACK_REF_MAX_CODE_POINTS })})`;
2112
+ return name;
2113
+ }
2114
+ /**
2115
+ * The message a command raises when SELECTION came back empty — shared by
2116
+ * `deploy`, `diff`, `list` and `publish-assets`, which all built the identical
2117
+ * string by hand.
2118
+ *
2119
+ * `assembly` is required AND so is its `failedStages` member, which is the
2120
+ * point: a Stage that failed to load dropped every stack under it from
2121
+ * `available`, so "no stacks matching" names the wrong problem unless the
2122
+ * failure is reported with it (issue
2123
+ * [#3482](https://github.com/go-to-k/cdkd/issues/3482)). A REQUIRED member,
2124
+ * not an optional one — `{ failedStages?: ... }` accepts `{}`, so it fences
2125
+ * the argument while leaving the content unfenced, which is the wiring hole
2126
+ * this signature exists to close. `SynthesisResult.failedStages` is required
2127
+ * for the same reason, so passing the result satisfies it and an ad-hoc `{}`
2128
+ * does not.
2129
+ *
2130
+ * What it does NOT fence: a caller passing a STALE or empty list. That is
2131
+ * behaviour, not shape, and it is covered by a wiring test per command.
2132
+ */
2133
+ function renderNoStackMatch(patterns, available, assembly) {
2134
+ return (patterns.length > 0 ? `No stacks matching ${patterns.join(", ")} found in assembly. ` + (available.length > 0 ? `Available: ${available.map(describeStack).join(", ")}` : "The assembly has no stacks") : "No stacks found in assembly") + failedStageNote(patterns, assembly.failedStages);
2135
+ }
2136
+ function stackMatchesPattern(stack, pattern) {
2137
+ const target = pattern.includes("/") ? stack.displayName ?? stack.stackName : stack.stackName;
2138
+ if (pattern.includes("*")) return new RegExp("^" + pattern.replace(/\*/g, ".*") + "$").test(target);
2139
+ return target === pattern;
2140
+ }
2141
+
2049
2142
  //#endregion
2050
2143
  //#region src/utils/yaml.ts
2051
2144
  /**
@@ -2293,7 +2386,7 @@ function resolveVerboseTemplatePath(outputDir, stackName) {
2293
2386
  * (go-to-k/cdkd#3489): the guard has its own cases, but reverting the CALL
2294
2387
  * SITE left the suite green.
2295
2388
  */
2296
- async function synthCommand(options) {
2389
+ async function synthCommand(stackPatterns, options) {
2297
2390
  const logger = getLogger();
2298
2391
  if (options.verbose) logger.setLevel("debug");
2299
2392
  reserveStdoutForPayload();
@@ -2319,7 +2412,11 @@ async function synthCommand(options) {
2319
2412
  ...options.profile && { profile: options.profile },
2320
2413
  ...Object.keys(context).length > 0 && { context }
2321
2414
  };
2322
- const { stacks, assemblyDir } = await synthesizer.synthesize(synthOptions);
2415
+ const result = await synthesizer.synthesize(synthOptions);
2416
+ const { stacks: allStacks, assemblyDir } = result;
2417
+ const selected = stackPatterns.length > 0 ? matchStacks(allStacks, stackPatterns) : allStacks;
2418
+ if (selected.length === 0) throw new Error(renderNoStackMatch(stackPatterns, allStacks, result));
2419
+ const stacks = selected;
2323
2420
  processStackMessages(stacks, logger, {
2324
2421
  strict: options.strict === true,
2325
2422
  ignoreErrors: options.ignoreErrors === true
@@ -2327,8 +2424,9 @@ async function synthCommand(options) {
2327
2424
  if (stacks.length === 1) {
2328
2425
  const template = stacks[0].template;
2329
2426
  process.stdout.write(toYaml(template));
2330
- }
2331
- logger.info(`\n${green("✓")} ${bold("Synthesis complete!")} Found ${stacks.length} stack(s):`);
2427
+ } else logger.info(`Supply a stack id (${stacks.map(describeStack).join(", ")}) to display its template.`);
2428
+ const found = stacks.length === allStacks.length ? `Found ${stacks.length} stack(s):` : `Found ${stacks.length} of ${allStacks.length} stack(s):`;
2429
+ logger.info(`\n${green("✓")} ${bold("Synthesis complete!")} ${found}`);
2332
2430
  for (const stack of stacks) {
2333
2431
  const resourceCount = countDeployableResources(stack.template);
2334
2432
  const outputCount = Object.keys(stack.template.Outputs ?? {}).length;
@@ -2348,7 +2446,7 @@ async function synthCommand(options) {
2348
2446
  * Create synth command
2349
2447
  */
2350
2448
  function createSynthCommand() {
2351
- const cmd = new Command("synth").description("Synthesize CDK app to CloudFormation template").action(withErrorHandling(synthCommand));
2449
+ const cmd = new Command("synth").description("Synthesize CDK app to CloudFormation template").argument("[stacks...]", "Stack name(s) whose template to print. Accepts physical CloudFormation names (e.g. 'MyStage-Api') or CDK display paths (e.g. 'MyStage/Api'). Supports wildcards (e.g. 'MyStage/*'). Every stack is synthesized either way -- the selection decides what reaches stdout.").action(withErrorHandling(synthCommand));
2352
2450
  [
2353
2451
  ...commonOptions,
2354
2452
  ...appOptions,
@@ -2359,99 +2457,6 @@ function createSynthCommand() {
2359
2457
  return cmd;
2360
2458
  }
2361
2459
 
2362
- //#endregion
2363
- //#region src/cli/stack-matcher.ts
2364
- /**
2365
- * Match stacks against user-supplied name patterns.
2366
- *
2367
- * Patterns are evaluated against two fields:
2368
- *
2369
- * - `stackName` — the physical CloudFormation stack name (e.g. `MyStage-MyStack`)
2370
- * - `displayName` — the hierarchical CDK path (e.g. `MyStage/MyStack`); falls
2371
- * back to `stackName` when the assembly does not carry one
2372
- *
2373
- * Routing is decided by whether the pattern contains `/`:
2374
- *
2375
- * - Pattern contains `/` → matched only against `displayName` (a `/` cannot
2376
- * appear in a CloudFormation stack name, so this is unambiguous)
2377
- * - Pattern contains no `/` → matched only against `stackName`
2378
- *
2379
- * Wildcards (`*`) are supported in either case. Results are de-duplicated by
2380
- * `stackName`, so a pattern that incidentally matches the same stack via both
2381
- * fields is returned only once.
2382
- */
2383
- function matchStacks(stacks, patterns) {
2384
- if (patterns.length === 0) return [];
2385
- const seen = /* @__PURE__ */ new Set();
2386
- const result = [];
2387
- for (const stack of stacks) if (patterns.some((pattern) => stackMatchesPattern(stack, pattern)) && !seen.has(stack.stackName)) {
2388
- seen.add(stack.stackName);
2389
- result.push(stack);
2390
- }
2391
- return result;
2392
- }
2393
- /**
2394
- * Render a stack for diagnostic messages. When `displayName` differs from the
2395
- * physical name, both are shown so the user can see which forms are valid as
2396
- * patterns (e.g. `MyStage-Api (MyStage/Api)`).
2397
- *
2398
- * Both names come from the Cloud Assembly, and every one of this helper's
2399
- * render sites interpolates the result into PROSE cdkd authors — `Available:
2400
- * ...`, `Multiple stacks found: ...`, `Publishing assets for stack: ...`, the
2401
- * last of which prints on a normal run rather than only on an error. So they
2402
- * go through `displayIdent` ([#3277](https://github.com/go-to-k/cdkd/issues/3277)):
2403
- * a `stackName` carrying `ESC [ 2 K` plus a carriage return ERASES cdkd's own
2404
- * line and a newline forges a second one, and a value carrying quotes and
2405
- * periods writes a cdkd-sounding clause.
2406
- *
2407
- * It is the identity on every legitimate `stackName` — a CloudFormation stack
2408
- * name is `[A-Za-z0-9-]`, inside `PLAIN_IDENT`. It is NOT the identity on
2409
- * every legitimate `displayName`: CDK sets that to the construct path, and
2410
- * `constructs` rewrites only `/` in an id, so `new Stack(app, 'My Stack')` is
2411
- * legal and prints `MyStack ("My Stack")`. Those quotes are not part of any
2412
- * pattern, in a clause whose job is to say which forms ARE valid as patterns —
2413
- * accepted, because the alternative is `displaySafe`, which passes the quotes
2414
- * and spaces a crafted value needs, and the pattern still matches the RAW
2415
- * name either way (`matchStacks` never sees this rendering).
2416
- *
2417
- * Sanitizing HERE rather than at the call sites is what keeps the rule whole:
2418
- * the sites include `scrub.ts` and `destroy.ts`, which this change does not
2419
- * touch, and a rule widened by hand is how the class survived being closed
2420
- * twice already.
2421
- */
2422
- function describeStack(stack) {
2423
- const name = displayIdent(stack.stackName, { maxCodePoints: STACK_REF_MAX_CODE_POINTS });
2424
- if (stack.displayName && stack.displayName !== stack.stackName) return `${name} (${displayIdent(stack.displayName, { maxCodePoints: STACK_REF_MAX_CODE_POINTS })})`;
2425
- return name;
2426
- }
2427
- /**
2428
- * The message a command raises when SELECTION came back empty — shared by
2429
- * `deploy`, `diff`, `list` and `publish-assets`, which all built the identical
2430
- * string by hand.
2431
- *
2432
- * `assembly` is required AND so is its `failedStages` member, which is the
2433
- * point: a Stage that failed to load dropped every stack under it from
2434
- * `available`, so "no stacks matching" names the wrong problem unless the
2435
- * failure is reported with it (issue
2436
- * [#3482](https://github.com/go-to-k/cdkd/issues/3482)). A REQUIRED member,
2437
- * not an optional one — `{ failedStages?: ... }` accepts `{}`, so it fences
2438
- * the argument while leaving the content unfenced, which is the wiring hole
2439
- * this signature exists to close. `SynthesisResult.failedStages` is required
2440
- * for the same reason, so passing the result satisfies it and an ad-hoc `{}`
2441
- * does not.
2442
- *
2443
- * What it does NOT fence: a caller passing a STALE or empty list. That is
2444
- * behaviour, not shape, and it is covered by a wiring test per command.
2445
- */
2446
- function renderNoStackMatch(patterns, available, assembly) {
2447
- return (patterns.length > 0 ? `No stacks matching ${patterns.join(", ")} found in assembly. ` + (available.length > 0 ? `Available: ${available.map(describeStack).join(", ")}` : "The assembly has no stacks") : "No stacks found in assembly") + failedStageNote(patterns, assembly.failedStages);
2448
- }
2449
- function stackMatchesPattern(stack, pattern) {
2450
- const target = pattern.includes("/") ? stack.displayName ?? stack.stackName : stack.stackName;
2451
- if (pattern.includes("*")) return new RegExp("^" + pattern.replace(/\*/g, ".*") + "$").test(target);
2452
- return target === pattern;
2453
- }
2454
-
2455
2460
  //#endregion
2456
2461
  //#region src/cli/commands/list.ts
2457
2462
  /**
@@ -88997,33 +89002,37 @@ const LAYER_ARN_PATTERN = new RegExp(`^arn:([a-z][a-z0-9-]*):lambda:([a-z]{2,}(?
88997
89002
  * is what the repo already does everywhere else it needs a partition, so the
88998
89003
  * list is not spelled a fourth time and cannot go stale here independently.
88999
89004
  *
89000
- * **This fixes the PARSE only, and the download behind it is still commercial-
89001
- * only.** `materializeLayerFromArn` (`src/local/layer-arn-materializer.ts`) is
89002
- * a one-line shim over cdk-local, whose implementation rebuilds the ARN with a
89003
- * hardcoded `aws`:
89004
- *
89005
- * ```js
89006
- * // node_modules/cdk-local/dist/local-studio-BBtUAVNy.js:15214
89007
- * const command = await buildGetLayerVersionCommand(
89008
- * `arn:aws:lambda:${layer.region}:${layer.accountId}:layer:${layer.name}`, Number(layer.version));
89009
- * ```
89010
- *
89011
- * So a layer in ANY of the seven non-commercial partitions still fails at
89012
- * `lambda:GetLayerVersion`. That includes `aws-cn` and `aws-us-gov`, which the
89013
- * old alternation ALREADY parsed and which therefore gain nothing here. What
89014
- * this change moves is confined to the five that previously did not parse
89015
- * (`aws-iso`, `aws-iso-b`, `aws-iso-e`, `aws-iso-f`, `aws-eusc`): for them the
89016
- * failure shifts from "cdkd cannot resolve locally" to an AWS-side error, so
89017
- * the parse stops being the blocker and the message names the true one. That
89018
- * is a real improvement and it is NOT end-to-end support; nothing in this repo
89019
- * can make it so, and the remaining half is filed as go-to-k/cdk-local#575.
89005
+ * **The download behind it is no longer commercial-only.** This paragraph used
89006
+ * to say the opposite, citing a cdk-local build that rebuilt the ARN with a
89007
+ * hardcoded `aws` — go-to-k/cdk-local#575, which CLOSED on 2026-08-27 and
89008
+ * shipped in cdk-local 0.147.13 three minutes later. The text was wrong from
89009
+ * that moment, for USERS TOO and not only about upstream: cdkd declares
89010
+ * `cdk-local` as a plain runtime dependency with no `bundledDependencies`, so
89011
+ * a consumer resolves the RANGE rather than this repo's lockfile, and the
89012
+ * range then in effect (`^0.147.7`) already admitted 0.147.13. What lagged was
89013
+ * this repo's own pinned tree — `pnpm-lock.yaml` stayed on 0.147.7 until the
89014
+ * 0.148.4 bump on 2026-09-12 — so cdkd's CI ran the broken engine for sixteen
89015
+ * more days than anyone installing cdkd did. The claim survived all of it
89016
+ * because it cited a content-hashed bundle chunk and a line number, which
89017
+ * nobody could check (go-to-k/cdkd#3551). Measured on cdk-local 0.149.1:
89018
+ * `fetchLayerContentUrl` strips only the `:<version>` suffix from the ARN the
89019
+ * caller supplied and hands the remainder to `GetLayerVersionCommand` as
89020
+ * `LayerName`, so whatever partition the ARN names is preserved. Its own
89021
+ * refusal message spells the expected shape `arn:<partition>:lambda:...`.
89022
+ *
89023
+ * So the parse fix and the download now agree, and a layer ARN in any of the
89024
+ * eight partitions resolves as far as AWS itself allows. Re-check with
89025
+ * `grep -n 'function fetchLayerContentUrl' node_modules/cdk-local/dist/local-studio-*.js`
89026
+ * rather than by trusting this paragraph.
89020
89027
  *
89021
89028
  * Deriving also makes the pair SELF-CONSISTENT, which the alternation could
89022
89029
  * not: `arn:aws-cn:lambda:us-east-1:...` used to parse, pairing China's
89023
89030
  * partition with a commercial region. It is now REFUSED — a deliberate
89024
- * behaviour break, asked for by issue #2143's own direction. Nothing is lost
89025
- * by refusing early, since the commercial-ARN rebuild above means such a layer
89026
- * could never have been fetched from the partition its ARN named.
89031
+ * behaviour break, asked for by issue #2143's own direction. The refusal stands
89032
+ * on its own terms rather than on the rebuild it used to lean on: a
89033
+ * region-partition pair that cannot both be true names a region that does not
89034
+ * exist in that partition, so the fetch could not have succeeded whatever the
89035
+ * downstream does with the ARN.
89027
89036
  *
89028
89037
  * The fallback direction is worth stating, since `derivePartitionAndUrlSuffix`
89029
89038
  * answers `aws` for a region it does not recognise. A brand-new COMMERCIAL
@@ -96536,20 +96545,28 @@ function collectLambdaTargetLogicalIds(frontDoor) {
96536
96545
  * `cdkd local start-cloudfront` REFUSES cdkd's state flags outright
96537
96546
  * ([#2528](https://github.com/go-to-k/cdkd/issues/2528)) because NO consumer on
96538
96547
  * that command's path reads a host-registered state source. `start-alb` is
96539
- * partial, not total, so the same remedy would delete a working capability:
96540
- *
96541
- * - **ECS service targets DO honor `--from-state`.** `bootOneTarget` /
96542
- * `rollOneTarget` (`cdk-local@0.147.7`, `dist/local-studio-BBtUAVNy.js`
96543
- * `:26474` / `:26422`) hand `createLocalStateProvider` the FULL options bag,
96548
+ * partial, not total, so the same remedy would delete a working capability.
96549
+ *
96550
+ * Measured against the bundled engine, and cited by VERSION AND SYMBOL NAME rather
96551
+ * than by file and line: the chunk name is content-hashed and the offsets move
96552
+ * on any upstream edit, so a citation naming them is born stale at the next
96553
+ * release (go-to-k/cdkd#3551 — these lines named `cdk-local@0.147.7` and a
96554
+ * chunk that no longer exists). Re-check with
96555
+ * `grep -n 'function bootOneTarget' node_modules/cdk-local/dist/local-studio-*.js`
96556
+ * (and the same for each symbol named below).
96557
+ * Last verified: **cdk-local 0.149.1**. What splits the two target kinds:
96558
+ *
96559
+ * - **ECS service targets DO honor `--from-state`.** `bootOneTarget` and
96560
+ * `rollOneTarget` hand `createLocalStateProvider` the FULL options bag,
96544
96561
  * so cdkd's `fromState` factory is selected and the task containers'
96545
96562
  * images / env / secrets / volumes resolve against S3 state.
96546
- * - **Lambda target groups do NOT.** `resolveAlbLambdaTargetEnv` (`:26614`)
96563
+ * - **Lambda target groups do NOT.** `resolveAlbLambdaTargetEnv`
96547
96564
  * rebuilds the bag it hands the shared `resolveLambdaContainerEnv` as a
96548
96565
  * SIX-KEY allow-list — `fromCfnStack` / `assumeRole` / `region` / `profile` /
96549
- * `stackRegion` / `envVars` (`:26619-26626`) — dropping `fromState` /
96566
+ * `stackRegion` / `envVars` — dropping `fromState` /
96550
96567
  * `stateBucket` / `statePrefix`. It forwards `extraStateProviders` faithfully,
96551
96568
  * but the dispatcher activates an extra provider only when `options[key]` is
96552
- * truthy (`:4894`), and the key it looks for is exactly the one the bag no
96569
+ * truthy, and the key it looks for is exactly the one the bag no
96553
96570
  * longer carries. So cdkd's factory is registered and never selected, and the
96554
96571
  * Lambda boots with its intrinsics dropped — one WARN per variable, none of
96555
96572
  * which says the flag was the problem.
@@ -96663,18 +96680,29 @@ function createLocalStartAlbCommand() {
96663
96680
  *
96664
96681
  * The `extraStateProviders` seam cdk-local's factory accepts (go-to-k/cdk-local#426)
96665
96682
  * is wired in below, and cdkd's S3-backed `--from-state` factory reaches it — but
96666
- * NOTHING in this command's code path consults it. Verified against the installed
96667
- * `cdk-local@0.147.7` bundle (`dist/local-studio-BBtUAVNy.js`), all three consumers
96668
- * miss, for two independent reasons:
96669
- *
96670
- * 1. `resolveDeployedS3Origins` (`:30872`) and `attachKvsModules` (`:30680`)
96683
+ * NOTHING in this command's code path consults it. Verified against the
96684
+ * installed bundle — cited by VERSION AND SYMBOL NAME, never by file and line: the
96685
+ * chunk name is content-hashed and the offsets move on any upstream edit, so a
96686
+ * citation naming them is born stale at the next release
96687
+ * (go-to-k/cdkd#3551 — these lines named `cdk-local@0.147.7` and a chunk that
96688
+ * no longer exists). Re-check with
96689
+ * `grep -n 'function resolveDeployedS3Origins' node_modules/cdk-local/dist/local-studio-*.js`
96690
+ * (and the same for each symbol named below).
96691
+ * Last verified: **cdk-local 0.149.1**. All three consumers miss, for two
96692
+ * independent reasons:
96693
+ *
96694
+ * 1. `resolveDeployedS3Origins` and `attachKvsModules`
96671
96695
  * both gate on `isCfnFlagPresent(options)` — i.e. `--from-cfn-stack`
96672
- * specifically — rather than on the "any state source is active" predicate
96673
- * `start-api` uses (`:15830`). With `--from-state` alone they return before
96674
- * a provider is constructed.
96675
- * 2. `bootLambdaUrlOrigins` (`:30764`) and `bootLambdaEdgeFunctions` (`:30813`)
96696
+ * specifically. With `--from-state` alone they return BEFORE a provider
96697
+ * is constructed, so cdkd's registered factory is never consulted.
96698
+ * `start-api` has no such gate: it calls `createLocalStateProvider`
96699
+ * unconditionally and skips only on a falsy result, which is why the same
96700
+ * flags work there. (An earlier revision called that an "any state source
96701
+ * is active" PREDICATE — there is no such symbol; the difference is a
96702
+ * gate versus no gate.)
96703
+ * 2. `bootLambdaUrlOrigins` and `bootLambdaEdgeFunctions`
96676
96704
  * call `resolveLambdaContainerEnv` WITHOUT its fourth `extraStateProviders`
96677
- * parameter, and the `envOptions` bag they hand it (`:30982`) is an
96705
+ * parameter, and the `envOptions` bag they hand it is an
96678
96706
  * allow-list of five keys that drops cdkd's state fields anyway.
96679
96707
  *
96680
96708
  * So the flags parse and do nothing, on exactly the command where a user is
@@ -97741,4 +97769,4 @@ function buildProgram() {
97741
97769
 
97742
97770
  //#endregion
97743
97771
  export { buildProgram };
97744
- //# sourceMappingURL=program-B2qAWvE2.js.map
97772
+ //# sourceMappingURL=program-lTNPrurx.js.map