cdk-local 0.57.0 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -61,7 +61,7 @@ cdkl list # every runnable target, grouped
61
61
 
62
62
  - **`start-api`** serves one HTTP server per API; a bare `start-api` in a multi-stack app needs `--all-stacks` or `--stack <name>`. Add **`--watch`** to re-synth and hot-reload on CDK source changes ([details](docs/local-emulation.md#hot-reload---watch)).
63
63
  - **`run-task`** / single-replica **`start-service`** publish declared container ports on the host and log `Reach it at 127.0.0.1:<port>` (`--host-port <container>=<host>` remaps; handy for privileged ports on macOS).
64
- - **`start-alb`** stands up the ECS service(s) behind an ALB plus a host-side front-door on each listener port, honoring all six listener-rule conditions, weighted forwards, redirect / fixed-response actions, and mixed ECS + Lambda targets ([details](docs/cli-reference.md#cdkl-start-alb-run-an-alb-fronted-service-locally)).
64
+ - **`start-alb`** stands up the ECS service(s) behind an ALB plus a host-side front-door on each listener port, honoring all six listener-rule conditions, weighted forwards, redirect / fixed-response actions, mixed ECS + Lambda targets, and `authenticate-cognito` / `authenticate-oidc` actions (local Bearer-JWT enforcement) ([details](docs/cli-reference.md#cdkl-start-alb-run-an-alb-fronted-service-locally)).
65
65
  - **`invoke-agentcore`** invokes a Bedrock AgentCore Runtime agent locally — container or `fromCodeAsset` / `fromS3` managed runtime, HTTP / SSE / WebSocket / MCP protocols, with `customJwtAuthorizer` and `--sigv4` enforcement ([details](docs/cli-reference.md#cdkl-invoke-agentcore-run-bedrock-agentcore-runtime-agents-locally)).
66
66
  - Non-TTY (CI / pipes): every command except a bare `start-api` needs an explicit target.
67
67
 
@@ -80,7 +80,7 @@ Full flags, precedence, and `--from-cfn-stack` resolution: [docs/cli-reference.m
80
80
  | ECS task definitions | `run-task` |
81
81
  | ECS services | `start-service` |
82
82
  | Cloud Map / Service Connect registry | service discovery between local replicas |
83
- | ALB-fronted ECS / Lambda services | `start-alb` — HTTP / HTTPS listeners, all six listener-rule conditions, weighted forwards, redirect / fixed-response, mixed ECS + Lambda targets |
83
+ | ALB-fronted ECS / Lambda services | `start-alb` — HTTP / HTTPS listeners, all six listener-rule conditions, weighted forwards, redirect / fixed-response, mixed ECS + Lambda targets, authenticate-cognito / authenticate-oidc (local Bearer-JWT enforcement) |
84
84
  | Bedrock AgentCore Runtime agents | `invoke-agentcore` — container + `fromCodeAsset` / `fromS3` artifacts, HTTP + MCP |
85
85
 
86
86
  Lambda runs on every current AWS Lambda runtime — Node.js (18/20/22/24), Python (3.11–3.14), Ruby (3.2/3.3), Java (8.al2/11/17/21), .NET (6/8), and the OS-only `provided.al2` / `provided.al2023`. The retired `go1.x` runtime is rejected with a pointer to migrate to `provided.al2023`.
package/dist/cli.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import { a as createLocalStartApiCommand } from "./cloud-map-resolver-BDAxtbvB.js";
3
- import { a as createLocalRunTaskCommand, i as createLocalStartServiceCommand, o as createLocalInvokeAgentCoreCommand, r as createLocalStartAlbCommand, s as createLocalInvokeCommand, t as createLocalListCommand } from "./local-list-DmEjNav4.js";
2
+ import { a as createLocalStartApiCommand } from "./cloud-map-resolver-DjKCYyIq.js";
3
+ import { a as createLocalRunTaskCommand, i as createLocalStartServiceCommand, o as createLocalInvokeAgentCoreCommand, r as createLocalStartAlbCommand, s as createLocalInvokeCommand, t as createLocalListCommand } from "./local-list-ChGfKSkV.js";
4
4
  import { Command } from "commander";
5
5
 
6
6
  //#region src/cli/index.ts
7
7
  const program = new Command();
8
- program.name("cdkl").description("Run AWS CDK stacks locally with Docker.").version("0.57.0");
8
+ program.name("cdkl").description("Run AWS CDK stacks locally with Docker.").version("0.59.0");
9
9
  program.addCommand(createLocalInvokeCommand());
10
10
  program.addCommand(createLocalInvokeAgentCoreCommand());
11
11
  program.addCommand(createLocalStartApiCommand());
@@ -1201,13 +1201,22 @@ const AGENTCORE_RUNTIME_TYPE = "AWS::BedrockAgentCore::Runtime";
1201
1201
  *
1202
1202
  * - `HTTP` — the agent contract (`POST /invocations` + `GET /ping` on 8080).
1203
1203
  * - `MCP` — Model Context Protocol over Streamable HTTP (`POST /mcp` on 8000).
1204
- *
1205
- * `A2A` / `AGUI` declare yet other wire contracts and are not served yet.
1204
+ * - `A2A` — Agent2Agent JSON-RPC 2.0 over HTTP (`POST /` on 9000).
1205
+ * - `AGUI` Agent-User Interaction event streams (SSE on `POST /invocations`,
1206
+ * WebSocket on `/ws`); reuses the HTTP path's container port (8080) and its
1207
+ * incremental SSE / WS streaming.
1206
1208
  */
1207
1209
  const AGENTCORE_HTTP_PROTOCOL = "HTTP";
1208
1210
  const AGENTCORE_MCP_PROTOCOL = "MCP";
1211
+ const AGENTCORE_A2A_PROTOCOL = "A2A";
1212
+ const AGENTCORE_AGUI_PROTOCOL = "AGUI";
1209
1213
  /** Protocols this CLI can run a container for. */
1210
- const SUPPORTED_AGENTCORE_PROTOCOLS = [AGENTCORE_HTTP_PROTOCOL, "MCP"];
1214
+ const SUPPORTED_AGENTCORE_PROTOCOLS = [
1215
+ AGENTCORE_HTTP_PROTOCOL,
1216
+ "MCP",
1217
+ "A2A",
1218
+ AGENTCORE_AGUI_PROTOCOL
1219
+ ];
1211
1220
  var AgentCoreResolutionError = class AgentCoreResolutionError extends Error {
1212
1221
  constructor(message) {
1213
1222
  super(message);
@@ -1409,14 +1418,14 @@ function extractCustomClaims(raw, logicalId) {
1409
1418
  return out;
1410
1419
  }
1411
1420
  /**
1412
- * Validate `ProtocolConfiguration`. Serves `HTTP` (the default when absent)
1413
- * and `MCP`; `A2A` / `AGUI` speak other wire contracts and hard-error with a
1414
- * pointer to the follow-up.
1421
+ * Validate `ProtocolConfiguration`. Serves the four AgentCore protocols
1422
+ * (HTTP / MCP / A2A / AGUI); an unrecognized value hard-errors with the
1423
+ * supported list so the command never starts something it can't run.
1415
1424
  */
1416
1425
  function extractProtocol(value, logicalId, stackName) {
1417
1426
  if (value === void 0 || value === null) return AGENTCORE_HTTP_PROTOCOL;
1418
1427
  if (typeof value !== "string") throw new AgentCoreResolutionError(`AgentCore Runtime '${logicalId}' in ${stackName} has a non-string ProtocolConfiguration. ${getEmbedConfig().cliName} invoke-agentcore supports the ${SUPPORTED_AGENTCORE_PROTOCOLS.join(" / ")} protocols.`);
1419
- if (!SUPPORTED_AGENTCORE_PROTOCOLS.includes(value)) throw new AgentCoreResolutionError(`AgentCore Runtime '${logicalId}' in ${stackName} uses the ${value} protocol. ${getEmbedConfig().cliName} invoke-agentcore supports the ${SUPPORTED_AGENTCORE_PROTOCOLS.join(" / ")} protocols (A2A / AGUI speak different wire contracts and are not served yet).`);
1428
+ if (!SUPPORTED_AGENTCORE_PROTOCOLS.includes(value)) throw new AgentCoreResolutionError(`AgentCore Runtime '${logicalId}' in ${stackName} uses the ${value} protocol. ${getEmbedConfig().cliName} invoke-agentcore supports the ${SUPPORTED_AGENTCORE_PROTOCOLS.join(" / ")} protocols.`);
1420
1429
  return value;
1421
1430
  }
1422
1431
  /**
@@ -7192,7 +7201,7 @@ async function httpProbe(host, port, timeoutMs) {
7192
7201
  })).text().catch(() => void 0);
7193
7202
  return true;
7194
7203
  } catch (err) {
7195
- if (isTransientNetworkError$2(err)) return false;
7204
+ if (isTransientNetworkError$3(err)) return false;
7196
7205
  throw err;
7197
7206
  } finally {
7198
7207
  clearTimeout(timer);
@@ -7206,7 +7215,7 @@ async function httpProbe(host, port, timeoutMs) {
7206
7215
  * between Docker's port forwarder accepting a TCP connection and the
7207
7216
  * container's RIE process being ready for HTTP.
7208
7217
  */
7209
- function isTransientNetworkError$2(err) {
7218
+ function isTransientNetworkError$3(err) {
7210
7219
  if (!(err instanceof Error)) return false;
7211
7220
  if (err.name === "AbortError") return true;
7212
7221
  if (err.name === "TypeError" && err.message === "fetch failed") return true;
@@ -7993,7 +8002,7 @@ async function pingProbe(host, port, timeoutMs) {
7993
8002
  await response.text().catch(() => void 0);
7994
8003
  return response.status;
7995
8004
  } catch (err) {
7996
- if (isTransientNetworkError$1(err)) return void 0;
8005
+ if (isTransientNetworkError$2(err)) return void 0;
7997
8006
  throw err;
7998
8007
  } finally {
7999
8008
  clearTimeout(timer);
@@ -8005,7 +8014,7 @@ async function pingProbe(host, port, timeoutMs) {
8005
8014
  * `ECONNRESET` / `ECONNREFUSED` / `UND_ERR_SOCKET`. Treat all of those —
8006
8015
  * plus an `AbortError` from the per-probe timeout — as "not ready, retry".
8007
8016
  */
8008
- function isTransientNetworkError$1(err) {
8017
+ function isTransientNetworkError$2(err) {
8009
8018
  if (!(err instanceof Error)) return false;
8010
8019
  if (err.name === "AbortError") return true;
8011
8020
  if (err.name === "TypeError" && err.message === "fetch failed") return true;
@@ -8250,7 +8259,7 @@ async function initializeWithRetry(fetchImpl, url, readyTimeoutMs) {
8250
8259
  lastDetail = `initialize returned HTTP ${response.status}`;
8251
8260
  throw new Error(lastDetail);
8252
8261
  } catch (err) {
8253
- if (!isTransientNetworkError(err)) {
8262
+ if (!isTransientNetworkError$1(err)) {
8254
8263
  if (lastDetail) throw new Error(`MCP initialize at ${url} failed: ${lastDetail}. Check 'docker logs' output.`);
8255
8264
  throw err;
8256
8265
  }
@@ -8285,7 +8294,7 @@ async function postMcp(fetchImpl, url, body, sessionId, timeoutMs) {
8285
8294
  });
8286
8295
  const text = await response.text();
8287
8296
  if (body.id === void 0) return { status: response.status };
8288
- const message = (response.headers.get("content-type") ?? "").includes("text/event-stream") ? parseSseForJsonRpc(text, body.id) : text ? safeJsonParse$1(text) : void 0;
8297
+ const message = (response.headers.get("content-type") ?? "").includes("text/event-stream") ? parseSseForJsonRpc(text, body.id) : text ? safeJsonParse$2(text) : void 0;
8289
8298
  return {
8290
8299
  status: response.status,
8291
8300
  message
@@ -8308,14 +8317,14 @@ function parseSseForJsonRpc(text, id) {
8308
8317
  for (const frame of text.split(/\r?\n\r?\n/)) {
8309
8318
  const data = frame.split(/\r?\n/).filter((line) => line.startsWith("data:")).map((line) => line.slice(5).trimStart()).join("\n");
8310
8319
  if (!data) continue;
8311
- const parsed = safeJsonParse$1(data);
8320
+ const parsed = safeJsonParse$2(data);
8312
8321
  if (parsed === void 0) continue;
8313
8322
  last = parsed;
8314
8323
  if (parsed !== null && typeof parsed === "object" && parsed.id === id) return parsed;
8315
8324
  }
8316
8325
  return last;
8317
8326
  }
8318
- function safeJsonParse$1(text) {
8327
+ function safeJsonParse$2(text) {
8319
8328
  try {
8320
8329
  return JSON.parse(text);
8321
8330
  } catch {
@@ -8329,7 +8338,7 @@ function safeJsonParse$1(text) {
8329
8338
  * per-attempt timeout. Treat all of those — plus the synthetic non-2xx retry
8330
8339
  * — as "not ready, retry".
8331
8340
  */
8332
- function isTransientNetworkError(err) {
8341
+ function isTransientNetworkError$1(err) {
8333
8342
  if (!(err instanceof Error)) return false;
8334
8343
  if (err.name === "AbortError") return true;
8335
8344
  if (err.name === "TypeError" && err.message === "fetch failed") return true;
@@ -8341,6 +8350,111 @@ function isTransientNetworkError(err) {
8341
8350
  return false;
8342
8351
  }
8343
8352
 
8353
+ //#endregion
8354
+ //#region src/local/agentcore-a2a-client.ts
8355
+ /**
8356
+ * Client for the Bedrock AgentCore Runtime A2A protocol contract.
8357
+ *
8358
+ * An A2A-protocol AgentCore Runtime container listens on `0.0.0.0:9000` and
8359
+ * serves the Agent2Agent JSON-RPC 2.0 contract at `POST /` (the root). Each
8360
+ * call is one JSON-RPC request and one JSON-RPC response. Unlike MCP there is
8361
+ * no session lifecycle to negotiate — the request is sent directly. `cdkl
8362
+ * invoke-agentcore` POSTs the method/params from `--event` (defaults to
8363
+ * `agent/getCard`, the agent's discovery card) and prints the response.
8364
+ *
8365
+ * Talking to the local container is **vanilla A2A**: the
8366
+ * `X-Amzn-Bedrock-AgentCore-Runtime-Session-Id` header and the inbound OAuth
8367
+ * bearer are AgentCore managed-plane concerns the front door layers on top,
8368
+ * so a direct local client does not send them.
8369
+ */
8370
+ /** Container port an A2A-protocol AgentCore Runtime listens on. */
8371
+ const A2A_CONTAINER_PORT = 9e3;
8372
+ /** HTTP path of the A2A JSON-RPC endpoint. */
8373
+ const A2A_PATH = "/";
8374
+ /**
8375
+ * Send one JSON-RPC request to a local A2A container and return the parsed
8376
+ * response. The POST is retried while the container boots (there is no
8377
+ * separate readiness endpoint), so this also serves as the wait-for-ready step.
8378
+ */
8379
+ async function a2aInvokeOnce(host, port, request, options = {}) {
8380
+ const fetchImpl = options.fetchImpl ?? fetch;
8381
+ const url = `http://${host}:${port}${"/"}`;
8382
+ const requestTimeoutMs = options.requestTimeoutMs ?? 12e4;
8383
+ const readyTimeoutMs = options.readyTimeoutMs ?? 3e4;
8384
+ const message = await postWithReadyRetry(fetchImpl, url, {
8385
+ jsonrpc: "2.0",
8386
+ id: 1,
8387
+ method: request.method,
8388
+ ...request.params !== void 0 && { params: request.params }
8389
+ }, requestTimeoutMs, readyTimeoutMs);
8390
+ return {
8391
+ ok: !(message !== null && typeof message === "object" && "error" in message),
8392
+ raw: JSON.stringify(message ?? null, null, 2)
8393
+ };
8394
+ }
8395
+ /**
8396
+ * POST a JSON-RPC message, retrying transient connect failures + reachable-
8397
+ * but-non-2xx responses until the container is up. The retry window is
8398
+ * `readyTimeoutMs`; each attempt is bounded by `requestTimeoutMs` (the
8399
+ * per-attempt abort), which protects the user's real (potentially slow)
8400
+ * agent call without misreporting it as "not ready". Connect failures
8401
+ * (ECONNREFUSED) propagate immediately regardless of the abort timer, so
8402
+ * the retry cadence keeps working during boot. The loop exits once a 2xx
8403
+ * arrives (returning the parsed body) or once `readyTimeoutMs` elapses
8404
+ * (throwing the final "did not become ready" error below).
8405
+ */
8406
+ async function postWithReadyRetry(fetchImpl, url, body, requestTimeoutMs, readyTimeoutMs) {
8407
+ const deadline = Date.now() + readyTimeoutMs;
8408
+ let lastDetail = "";
8409
+ while (Date.now() < deadline) {
8410
+ const controller = new AbortController();
8411
+ const timer = setTimeout(() => controller.abort(), requestTimeoutMs);
8412
+ try {
8413
+ const response = await fetchImpl(url, {
8414
+ method: "POST",
8415
+ headers: {
8416
+ "Content-Type": "application/json",
8417
+ Accept: "application/json"
8418
+ },
8419
+ body: JSON.stringify(body),
8420
+ signal: controller.signal
8421
+ });
8422
+ const text = await response.text();
8423
+ if (response.status >= 200 && response.status < 300) {
8424
+ if (!text) return void 0;
8425
+ const parsed = safeJsonParse$1(text);
8426
+ if (parsed === void 0) throw new Error(`A2A POST at ${url} returned HTTP ${response.status} with a non-JSON body: ${text.slice(0, 200)}`);
8427
+ return parsed;
8428
+ }
8429
+ lastDetail = `A2A POST returned HTTP ${response.status}`;
8430
+ } catch (err) {
8431
+ if (!isTransientNetworkError(err)) throw err;
8432
+ lastDetail = err instanceof Error ? err.message : String(err);
8433
+ } finally {
8434
+ clearTimeout(timer);
8435
+ }
8436
+ await setTimeout$1(150);
8437
+ }
8438
+ throw new Error(`A2A server did not become ready on ${url} within ${readyTimeoutMs}ms${lastDetail ? `: ${lastDetail}` : ""}. The container may have exited early or may not serve POST ${"/"} — check 'docker logs'.`);
8439
+ }
8440
+ function safeJsonParse$1(text) {
8441
+ try {
8442
+ return JSON.parse(text);
8443
+ } catch {
8444
+ return;
8445
+ }
8446
+ }
8447
+ function isTransientNetworkError(err) {
8448
+ if (!(err instanceof Error)) return false;
8449
+ if (err.name === "AbortError") return true;
8450
+ if (err.name === "TypeError" && err.message === "fetch failed") return true;
8451
+ const cause = err.cause;
8452
+ if (cause?.code === "ECONNRESET") return true;
8453
+ if (cause?.code === "ECONNREFUSED") return true;
8454
+ if (cause?.code === "UND_ERR_SOCKET") return true;
8455
+ return false;
8456
+ }
8457
+
8344
8458
  //#endregion
8345
8459
  //#region src/local/agentcore-ws-client.ts
8346
8460
  /**
@@ -17831,5 +17945,5 @@ function extractDnsRecords(serviceProps) {
17831
17945
  }
17832
17946
 
17833
17947
  //#endregion
17834
- export { attachAuthorizers as $, parseContextOptions as $n, resolveEcsTaskTarget as $t, buildHttpApiV2Event as A, AGENTCORE_HTTP_PROTOCOL as An, parseEcrUri as At, ConnectionRegistry as B, matchStacks as Bn, removeContainer as Bt, computeRequestIdentityHash as C, listTargets as Cn, singleFlight as Ct, matchRoute as D, discoverRoutes as Dn, waitForRieReady as Dt, invokeTokenAuthorizer as E, parseSelectionExpressionPath as En, invokeRie as Et, tryParseStatus as F, resolveAgentCoreTarget as Fn, appendEnvFlags as Ft, buildDisconnectEvent as G, LocalInvokeBuildError as Gn, resolveRuntimeImage as Gt, handleConnectionsRequest as H, readCdkPathOrUndefined as Hn, streamLogs as Ht, VtlEvaluationError as I, resolveLambdaTarget as In, ensureDockerAvailable as It, buildJwksUrlFromIssuer as J, applyRoleArnIfSet as Jn, applyCrossStackResolverToTask as Jt, buildMessageEvent as K, LocalStartServiceError as Kn, EcsTaskResolutionError as Kt, HOST_GATEWAY_MIN_VERSION as L, derivePseudoParametersFromRegion as Ln, execEnvForSecrets as Lt, evaluateResponseParameters as M, AGENTCORE_RUNTIME_TYPE as Mn, buildDockerImage as Mt, pickResponseTemplate as N, AgentCoreResolutionError as Nn, DockerRunnerError as Nt, translateLambdaResponse as O, pickRefLogicalId as On, architectureToPlatform as Ot, selectIntegrationResponse as P, pickAgentCoreCandidateStack as Pn, SENSITIVE_ENV_KEYS as Pt, verifyJwtViaDiscovery as Q, deprecatedRegionOption as Qn, parseEcsTarget as Qt, probeHostGatewaySupport as R, substituteImagePlaceholders as Rn, pickFreePort as Rt, buildMethodArn as S, countTargets as Sn, writeProfileCredentialsFile as St, invokeRequestAuthorizer as T, discoverWebSocketApisOrThrow as Tn, getDockerImageBySourceHash as Tt, parseConnectionsPath as U, resolveCdkPathToLogicalIds as Un, resolveRuntimeCodeMountPath as Ut, buildMgmtEndpointEnvUrl as V, buildCdkPathIndex as Vn, runDetached as Vt, buildConnectEvent as W, CdkLocalError as Wn, resolveRuntimeFileExtension as Wt, verifyCognitoJwt as X, commonOptions as Xn, derivePartitionAndUrlSuffix as Xt, createJwksCache as Y, appOptions as Yn, checkVolumeHostPath as Yt, verifyJwtAuthorizer as Z, contextOptions as Zn, detectEcsImageResolutionNeeds as Zt, readMtlsMaterialsFromDisk as _, resolveApp as _n, SUPPORTED_CODE_RUNTIMES as _t, createLocalStartApiCommand as a, resolveEnvVars as an, invokeAgentCoreWs as at, resolveServiceIntegrationParameters as b, resolveMultiTarget as bn, renderCodeDockerfile as bt, resolveProfileCredentials as c, createLocalStateProvider as cn, MCP_PROTOCOL_VERSION as ct, attachStageContext as d, resolveCfnFallbackRegion as dn, AGENTCORE_SIGV4_SERVICE as dt, applyDeployedEnvFallback as en, warnIfDeprecatedRegion as er, applyCorsResponseHeaders as et, buildStageMap as f, resolveCfnRegion as fn, signAgentCoreInvocation as ft, groupRoutesByServer as g, resolveSsmParameters as gn, downloadAndExtractS3Bundle as gt, filterRoutesByApiIdentifiers as h, collectSsmParameterRefs as hn, waitForAgentCorePing as ht, getPublishedHostPort as i, substituteEnvVarsFromStateAsync as in, matchPreflight as it, buildRestV1Event as j, AGENTCORE_MCP_PROTOCOL as jn, pullEcrImage as jt, applyAuthorizerOverlay as k, resolveLambdaArnIntrinsic as kn, buildContainerImage as kt, createAuthorizerCache as l, isCfnFlagPresent as ln, mcpInvokeOnce as lt, filterRoutesByApiIdentifier as m, CfnLocalStateProvider as mn, invokeAgentCore as mt, CloudMapRegistry as n, substituteAgainstStateAsync as nn, buildCorsConfigFromCloudFrontChain as nt, createWatchPredicates as o, materializeLayerFromArn as on, MCP_CONTAINER_PORT as ot, availableApiIdentifiers as p, resolveCfnStackName as pn, AGENTCORE_SESSION_ID_HEADER as pt, buildCognitoJwksUrl as q, withErrorHandling as qn, TASK_ROLE_ACCOUNT_PLACEHOLDER as qt, getContainerNetworkIp as r, substituteEnvVarsFromState as rn, isFunctionUrlOacFronted as rt, resolveApiTargetSubset as s, LocalStateSourceError as sn, MCP_PATH as st, buildCloudMapIndex as t, substituteAgainstState as tn, buildCorsConfigByApiId as tt, createFileWatcher as u, rejectExplicitCfnStackWithMultipleStacks as un, parseSseForJsonRpc as ut, startApiServer as v, resolveWatchConfig as vn, buildAgentCoreCodeImage as vt, evaluateCachedLambdaPolicy as w, discoverWebSocketApis as wn, AssetManifestLoader as wt, defaultCredentialsLoader as x, resolveSingleTarget as xn, toCmdArgv as xt, resolveSelectionExpression as y, Synthesizer as yn, computeCodeImageTag as yt, bufferToBody as z, tryResolveImageFnJoin as zn, pullImage as zt };
17835
- //# sourceMappingURL=cloud-map-resolver-BDAxtbvB.js.map
17948
+ export { attachAuthorizers as $, applyRoleArnIfSet as $n, derivePartitionAndUrlSuffix as $t, buildHttpApiV2Event as A, discoverRoutes as An, waitForRieReady as At, ConnectionRegistry as B, resolveAgentCoreTarget as Bn, execEnvForSecrets as Bt, computeRequestIdentityHash as C, resolveMultiTarget as Cn, renderCodeDockerfile as Ct, matchRoute as D, discoverWebSocketApis as Dn, AssetManifestLoader as Dt, invokeTokenAuthorizer as E, listTargets as En, singleFlight as Et, tryParseStatus as F, AGENTCORE_HTTP_PROTOCOL as Fn, buildDockerImage as Ft, buildDisconnectEvent as G, matchStacks as Gn, streamLogs as Gt, handleConnectionsRequest as H, derivePseudoParametersFromRegion as Hn, pullImage as Ht, VtlEvaluationError as I, AGENTCORE_MCP_PROTOCOL as In, DockerRunnerError as It, buildJwksUrlFromIssuer as J, resolveCdkPathToLogicalIds as Jn, resolveRuntimeImage as Jt, buildMessageEvent as K, buildCdkPathIndex as Kn, resolveRuntimeCodeMountPath as Kt, HOST_GATEWAY_MIN_VERSION as L, AGENTCORE_RUNTIME_TYPE as Ln, SENSITIVE_ENV_KEYS as Lt, evaluateResponseParameters as M, resolveLambdaArnIntrinsic as Mn, buildContainerImage as Mt, pickResponseTemplate as N, AGENTCORE_A2A_PROTOCOL as Nn, parseEcrUri as Nt, translateLambdaResponse as O, discoverWebSocketApisOrThrow as On, getDockerImageBySourceHash as Ot, selectIntegrationResponse as P, AGENTCORE_AGUI_PROTOCOL as Pn, pullEcrImage as Pt, verifyJwtViaDiscovery as Q, withErrorHandling as Qn, checkVolumeHostPath as Qt, probeHostGatewaySupport as R, AgentCoreResolutionError as Rn, appendEnvFlags as Rt, buildMethodArn as S, Synthesizer as Sn, computeCodeImageTag as St, invokeRequestAuthorizer as T, countTargets as Tn, writeProfileCredentialsFile as Tt, parseConnectionsPath as U, substituteImagePlaceholders as Un, removeContainer as Ut, buildMgmtEndpointEnvUrl as V, resolveLambdaTarget as Vn, pickFreePort as Vt, buildConnectEvent as W, tryResolveImageFnJoin as Wn, runDetached as Wt, verifyCognitoJwt as X, LocalInvokeBuildError as Xn, TASK_ROLE_ACCOUNT_PLACEHOLDER as Xt, createJwksCache as Y, CdkLocalError as Yn, EcsTaskResolutionError as Yt, verifyJwtAuthorizer as Z, LocalStartServiceError as Zn, applyCrossStackResolverToTask as Zt, readMtlsMaterialsFromDisk as _, CfnLocalStateProvider as _n, invokeAgentCore as _t, createLocalStartApiCommand as a, substituteAgainstStateAsync as an, warnIfDeprecatedRegion as ar, invokeAgentCoreWs as at, resolveServiceIntegrationParameters as b, resolveApp as bn, SUPPORTED_CODE_RUNTIMES as bt, resolveProfileCredentials as c, resolveEnvVars as cn, a2aInvokeOnce as ct, attachStageContext as d, createLocalStateProvider as dn, MCP_PROTOCOL_VERSION as dt, detectEcsImageResolutionNeeds as en, appOptions as er, applyCorsResponseHeaders as et, buildStageMap as f, isCfnFlagPresent as fn, mcpInvokeOnce as ft, groupRoutesByServer as g, resolveCfnStackName as gn, AGENTCORE_SESSION_ID_HEADER as gt, filterRoutesByApiIdentifiers as h, resolveCfnRegion as hn, signAgentCoreInvocation as ht, getPublishedHostPort as i, substituteAgainstState as in, parseContextOptions as ir, matchPreflight as it, buildRestV1Event as j, pickRefLogicalId as jn, architectureToPlatform as jt, applyAuthorizerOverlay as k, parseSelectionExpressionPath as kn, invokeRie as kt, createAuthorizerCache as l, materializeLayerFromArn as ln, MCP_CONTAINER_PORT as lt, filterRoutesByApiIdentifier as m, resolveCfnFallbackRegion as mn, AGENTCORE_SIGV4_SERVICE as mt, CloudMapRegistry as n, resolveEcsTaskTarget as nn, contextOptions as nr, buildCorsConfigFromCloudFrontChain as nt, createWatchPredicates as o, substituteEnvVarsFromState as on, A2A_CONTAINER_PORT as ot, availableApiIdentifiers as p, rejectExplicitCfnStackWithMultipleStacks as pn, parseSseForJsonRpc as pt, buildCognitoJwksUrl as q, readCdkPathOrUndefined as qn, resolveRuntimeFileExtension as qt, getContainerNetworkIp as r, applyDeployedEnvFallback as rn, deprecatedRegionOption as rr, isFunctionUrlOacFronted as rt, resolveApiTargetSubset as s, substituteEnvVarsFromStateAsync as sn, A2A_PATH as st, buildCloudMapIndex as t, parseEcsTarget as tn, commonOptions as tr, buildCorsConfigByApiId as tt, createFileWatcher as u, LocalStateSourceError as un, MCP_PATH as ut, startApiServer as v, collectSsmParameterRefs as vn, waitForAgentCorePing as vt, evaluateCachedLambdaPolicy as w, resolveSingleTarget as wn, toCmdArgv as wt, defaultCredentialsLoader as x, resolveWatchConfig as xn, buildAgentCoreCodeImage as xt, resolveSelectionExpression as y, resolveSsmParameters as yn, downloadAndExtractS3Bundle as yt, bufferToBody as z, pickAgentCoreCandidateStack as zn, ensureDockerAvailable as zt };
17949
+ //# sourceMappingURL=cloud-map-resolver-DjKCYyIq.js.map