@aws/nx-plugin-mcp 1.0.0-rc.80 → 1.0.0-rc.82

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/bin/aws-nx-mcp.js CHANGED
@@ -20801,26 +20801,26 @@ const NX_VERSION = {
20801
20801
  "@aws/aws-distro-opentelemetry-node-autoinstrumentation": "0.12.0",
20802
20802
  "@opentelemetry/propagator-jaeger": "2.10.0",
20803
20803
  minimatch: "10.2.6",
20804
- "@aws-sdk/client-dynamodb": "3.1111.0",
20805
- "@aws-sdk/client-api-gateway": "3.1111.0",
20806
- "@aws-sdk/client-iam": "3.1111.0",
20807
- "@aws-sdk/client-bedrock-agentcore": "3.1111.0",
20808
- "@aws-sdk/client-bedrock-runtime": "3.1111.0",
20809
- "@aws-sdk/client-s3": "3.1111.0",
20810
- "@aws-sdk/client-sts": "3.1111.0",
20811
- "@aws-sdk/credential-providers": "3.1111.0",
20812
- "@aws-sdk/credential-provider-cognito-identity": "3.972.68",
20813
- "@aws-sdk/client-secrets-manager": "3.1111.0",
20814
- "@aws-sdk/rds-signer": "3.1111.0",
20804
+ "@aws-sdk/client-dynamodb": "3.1116.0",
20805
+ "@aws-sdk/client-api-gateway": "3.1116.0",
20806
+ "@aws-sdk/client-iam": "3.1116.0",
20807
+ "@aws-sdk/client-bedrock-agentcore": "3.1116.0",
20808
+ "@aws-sdk/client-bedrock-runtime": "3.1116.0",
20809
+ "@aws-sdk/client-s3": "3.1116.0",
20810
+ "@aws-sdk/client-sts": "3.1116.0",
20811
+ "@aws-sdk/credential-providers": "3.1116.0",
20812
+ "@aws-sdk/credential-provider-cognito-identity": "3.972.69",
20813
+ "@aws-sdk/client-secrets-manager": "3.1116.0",
20814
+ "@aws-sdk/rds-signer": "3.1116.0",
20815
20815
  "@smithy/server-apigateway": "0.3.3",
20816
20816
  "@smithy/server-node": "0.3.3",
20817
- "@aws-lambda-powertools/logger": "2.34.0",
20818
- "@aws-lambda-powertools/metrics": "2.34.0",
20819
- "@aws-lambda-powertools/parameters": "2.34.0",
20820
- "@aws-lambda-powertools/tracer": "2.34.0",
20821
- "@aws-lambda-powertools/parser": "2.34.0",
20822
- "@aws-sdk/client-appconfigdata": "3.1111.0",
20823
- "@middy/core": "7.7.4",
20817
+ "@aws-lambda-powertools/logger": "2.35.0",
20818
+ "@aws-lambda-powertools/metrics": "2.35.0",
20819
+ "@aws-lambda-powertools/parameters": "2.35.0",
20820
+ "@aws-lambda-powertools/tracer": "2.35.0",
20821
+ "@aws-lambda-powertools/parser": "2.35.0",
20822
+ "@aws-sdk/client-appconfigdata": "3.1116.0",
20823
+ "@middy/core": "7.8.0",
20824
20824
  "@nxlv/python": "23.0.0",
20825
20825
  "@nx-extend/terraform": "10.4.1",
20826
20826
  nx: "23.1.1",
@@ -20832,50 +20832,51 @@ const NX_VERSION = {
20832
20832
  "@nx/workspace": "23.1.1",
20833
20833
  "create-nx-workspace": "23.1.1",
20834
20834
  "@swc-node/register": "1.12.1",
20835
- "@swc/core": "1.16.0",
20835
+ "@swc/core": "1.16.1",
20836
20836
  "@modelcontextprotocol/sdk": "1.30.0",
20837
- "@modelcontextprotocol/inspector": "2.2.0",
20837
+ "@modelcontextprotocol/inspector": "2.3.0",
20838
20838
  "@ag-ui/a2ui-toolkit": "0.0.4",
20839
20839
  "@ag-ui/aws-strands": "0.2.3",
20840
20840
  "@ag-ui/client": "0.0.57",
20841
20841
  "@ag-ui/core": "0.0.57",
20842
20842
  "@ag-ui/encoder": "0.0.57",
20843
20843
  "agent-chat-cli": "0.3.0",
20844
- "@copilotkit/react-core": "1.68.1",
20844
+ "@copilotkit/react-core": "1.69.0",
20845
20845
  rxjs: "7.8.2",
20846
- "@strands-agents/sdk": "1.13.0",
20847
- "@tanstack/react-router": "1.170.29",
20848
- "@tanstack/router-plugin": "1.168.32",
20849
- "@tanstack/router-generator": "1.167.30",
20846
+ "@strands-agents/sdk": "1.14.0",
20847
+ "@tanstack/react-router": "1.170.31",
20848
+ "@tanstack/router-plugin": "1.168.34",
20849
+ "@tanstack/router-generator": "1.167.32",
20850
20850
  "@tanstack/virtual-file-routes": "1.162.0",
20851
20851
  "@tanstack/router-utils": "1.162.2",
20852
- "@cloudscape-design/board-components": "3.0.218",
20853
- "@cloudscape-design/chat-components": "1.0.162",
20854
- "@cloudscape-design/components": "3.0.1347",
20855
- "@cloudscape-design/global-styles": "1.0.66",
20856
- "@tanstack/react-query": "5.101.4",
20857
- "@tanstack/react-query-devtools": "5.101.4",
20852
+ "@cloudscape-design/board-components": "3.0.220",
20853
+ "@cloudscape-design/chat-components": "1.0.164",
20854
+ "@cloudscape-design/components": "3.0.1352",
20855
+ "@cloudscape-design/global-styles": "1.0.67",
20856
+ "@tanstack/react-query": "5.102.0",
20857
+ "@tanstack/react-query-devtools": "5.102.0",
20858
20858
  "@trpc/tanstack-react-query": "11.18.0",
20859
20859
  "@trpc/client": "11.18.0",
20860
20860
  "@trpc/server": "11.18.0",
20861
20861
  "@types/node": "26.2.0",
20862
20862
  "@types/aws-lambda": "8.10.162",
20863
20863
  "@types/cors": "2.8.19",
20864
- "@types/pg": "8.21.0",
20864
+ "@types/pg": "8.23.1",
20865
20865
  "@types/ws": "8.18.1",
20866
20866
  "@types/express": "5.0.6",
20867
20867
  "@smithy/config-resolver": "4.7.2",
20868
20868
  "@smithy/node-config-provider": "4.6.2",
20869
- "@smithy/node-http-handler": "4.11.2",
20869
+ "@smithy/node-http-handler": "4.11.3",
20870
20870
  "@smithy/types": "4.17.2",
20871
- "@vitest/coverage-v8": "4.1.10",
20872
- "@vitest/ui": "4.1.10",
20873
- "@astrojs/react": "6.0.2",
20871
+ "@vitest/coverage-v8": "4.1.11",
20872
+ "@vitest/ui": "4.1.11",
20873
+ "@astrojs/react": "6.0.4",
20874
20874
  "@astrojs/starlight": "0.41.7",
20875
- astro: "7.1.1",
20875
+ astro: "7.2.4",
20876
+ cookie: "2.0.1",
20876
20877
  aws4fetch: "1.0.20",
20877
- "aws-cdk": "2.1136.0",
20878
- "aws-cdk-lib": "2.265.0",
20878
+ "aws-cdk": "2.1138.0",
20879
+ "aws-cdk-lib": "2.266.0",
20879
20880
  "aws-xray-sdk-core": "3.12.0",
20880
20881
  constructs: "10.8.1",
20881
20882
  cors: "2.8.6",
@@ -20888,7 +20889,7 @@ const NX_VERSION = {
20888
20889
  esbuild: "0.28.2",
20889
20890
  "event-source-polyfill": "1.0.31",
20890
20891
  "@types/event-source-polyfill": "1.0.5",
20891
- "@biomejs/biome": "2.5.8",
20892
+ "@biomejs/biome": "2.5.10",
20892
20893
  "@prisma/adapter-mariadb": "7.9.1",
20893
20894
  "@prisma/adapter-pg": "7.9.1",
20894
20895
  "@prisma/client": "7.9.1",
@@ -20901,7 +20902,7 @@ const NX_VERSION = {
20901
20902
  "@types/fs-extra": "11.0.4",
20902
20903
  "make-dir-cli": "4.0.0",
20903
20904
  mariadb: "3.5.3",
20904
- mise: "2026.8.6",
20905
+ mise: "2026.8.10",
20905
20906
  ncp: "2.0.0",
20906
20907
  npm: "12.0.2",
20907
20908
  "npm-check-updates": "23.0.2",
@@ -20912,22 +20913,22 @@ const NX_VERSION = {
20912
20913
  react: "19.2.8",
20913
20914
  "react-dom": "19.2.8",
20914
20915
  rimraf: "6.1.3",
20915
- rolldown: "1.2.4",
20916
+ rolldown: "1.2.5",
20916
20917
  "rolldown-plugin-dts": "0.28.2",
20917
20918
  "simple-git": "3.36.0",
20918
20919
  "source-map-support": "0.5.21",
20919
- "starlight-blog": "0.28.0",
20920
+ "starlight-blog": "0.29.0",
20920
20921
  tailwindcss: "4.3.3",
20921
20922
  "@tailwindcss/vite": "4.3.3",
20922
20923
  tsx: "4.23.12",
20923
- "lucide-react": "1.31.0",
20924
+ "lucide-react": "1.33.0",
20924
20925
  "radix-ui": "1.6.7",
20925
- shadcn: "4.18.0",
20926
+ shadcn: "4.19.0",
20926
20927
  "tw-animate-css": "1.4.0",
20927
20928
  "tailwind-merge": "3.6.0",
20928
- vite: "8.2.1",
20929
+ vite: "8.2.2",
20929
20930
  typescript: "6.0.3",
20930
- vitest: "4.1.10",
20931
+ vitest: "4.1.11",
20931
20932
  zod: "4.4.3",
20932
20933
  ws: "8.21.3"
20933
20934
  }.nx;
@@ -48516,7 +48517,7 @@ function factoryMdxExpression(effects, ok, type, markerType, chunkType, acorn, a
48516
48517
  ruleId: "unexpected-eof",
48517
48518
  source: "micromark-extension-mdx-expression"
48518
48519
  });
48519
- error.url = "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-";
48520
+ error.url = trouble$2 + unexpectedEndOfFileHash;
48520
48521
  throw error;
48521
48522
  }
48522
48523
  if (markdownLineEnding(code)) {
@@ -48586,7 +48587,7 @@ function factoryMdxExpression(effects, ok, type, markerType, chunkType, acorn, a
48586
48587
  ruleId: "unexpected-lazy",
48587
48588
  source: "micromark-extension-mdx-expression"
48588
48589
  });
48589
- error.url = "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed";
48590
+ error.url = trouble$2 + unexpectedLazyHash;
48590
48591
  throw error;
48591
48592
  }
48592
48593
  if (markdownSpace(code)) return factorySpace(effects, before, "linePrefix", 3)(code);
@@ -48631,7 +48632,7 @@ function mdxExpressionParse(acorn, acornOptions, chunkType, eventStart, pointSta
48631
48632
  ruleId: "non-spread",
48632
48633
  source: "micromark-extension-mdx-expression"
48633
48634
  });
48634
- error.url = "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#unexpected-type-in-code-expected-an-object-spread-spread";
48635
+ error.url = trouble$2 + nonSpreadHash;
48635
48636
  throw error;
48636
48637
  }
48637
48638
  if (head.expression.properties[1]) {
@@ -48641,7 +48642,7 @@ function mdxExpressionParse(acorn, acornOptions, chunkType, eventStart, pointSta
48641
48642
  ruleId: "spread-extra",
48642
48643
  source: "micromark-extension-mdx-expression"
48643
48644
  });
48644
- error.url = "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#unexpected-extra-content-in-spread-only-a-single-spread-is-supported";
48645
+ error.url = trouble$2 + spreadExtraHash;
48645
48646
  throw error;
48646
48647
  }
48647
48648
  if (head.expression.properties[0] && head.expression.properties[0].type !== "SpreadElement") {
@@ -48651,7 +48652,7 @@ function mdxExpressionParse(acorn, acornOptions, chunkType, eventStart, pointSta
48651
48652
  ruleId: "non-spread",
48652
48653
  source: "micromark-extension-mdx-expression"
48653
48654
  });
48654
- error.url = "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#unexpected-type-in-code-expected-an-object-spread-spread";
48655
+ error.url = trouble$2 + nonSpreadHash;
48655
48656
  throw error;
48656
48657
  }
48657
48658
  }
@@ -48666,7 +48667,7 @@ function mdxExpressionParse(acorn, acornOptions, chunkType, eventStart, pointSta
48666
48667
  ruleId: "acorn",
48667
48668
  source: "micromark-extension-mdx-expression"
48668
48669
  });
48669
- error.url = "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#could-not-parse-expression-with-acorn";
48670
+ error.url = trouble$2 + acornHash;
48670
48671
  return {
48671
48672
  type: "nok",
48672
48673
  message: error
@@ -48677,12 +48678,19 @@ function mdxExpressionParse(acorn, acornOptions, chunkType, eventStart, pointSta
48677
48678
  estree
48678
48679
  };
48679
48680
  }
48681
+ var trouble$2, unexpectedEndOfFileHash, unexpectedLazyHash, nonSpreadHash, spreadExtraHash, acornHash;
48680
48682
  var init_micromark_factory_mdx_expression = __esmMin((() => {
48681
48683
  init_micromark_factory_space();
48682
48684
  init_micromark_util_character();
48683
48685
  init_micromark_util_events_to_acorn();
48684
48686
  init_unist_util_position_from_estree();
48685
48687
  init_vfile_message();
48688
+ trouble$2 = "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression";
48689
+ unexpectedEndOfFileHash = "#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-";
48690
+ unexpectedLazyHash = "#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed";
48691
+ nonSpreadHash = "#unexpected-type-in-code-expected-an-object-spread-spread";
48692
+ spreadExtraHash = "#unexpected-extra-content-in-spread-only-a-single-spread-is-supported";
48693
+ acornHash = "#could-not-parse-expression-with-acorn";
48686
48694
  }));
48687
48695
  //#endregion
48688
48696
  //#region ../../node_modules/.pnpm/micromark-extension-mdx-expression@3.0.1/node_modules/micromark-extension-mdx-expression/lib/syntax.js
@@ -49543,7 +49551,7 @@ function factoryTag(effects, ok, nok, acorn, acornOptions, addResult, allowLazy,
49543
49551
  function esWhitespaceEolAfter(code) {
49544
49552
  if (!allowLazy && self.parser.lazy[self.now().line]) {
49545
49553
  const error = new VFileMessage("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc", self.now(), "micromark-extension-mdx-jsx:unexpected-lazy");
49546
- error.url = "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-lazy-line-in-container-expected-line-to-be";
49554
+ error.url = trouble$1 + "#unexpected-lazy-line-in-container-expected-line-to-be";
49547
49555
  throw error;
49548
49556
  }
49549
49557
  return esWhitespaceStart(code);
@@ -49557,7 +49565,7 @@ function factoryTag(effects, ok, nok, acorn, acornOptions, addResult, allowLazy,
49557
49565
  */
49558
49566
  function crash(code, at, expect) {
49559
49567
  const error = new VFileMessage("Unexpected " + (code === null ? "end of file" : "character `" + (code === 96 ? "` ` `" : String.fromCodePoint(code)) + "` (" + serializeCharCode(code) + ")") + " " + at + ", expected " + expect, self.now(), "micromark-extension-mdx-jsx:unexpected-" + (code === null ? "eof" : "character"));
49560
- error.url = trouble + (code === null ? "#unexpected-end-of-file-at-expected-expect" : "#unexpected-character-at-expected-expect");
49568
+ error.url = trouble$1 + (code === null ? "#unexpected-end-of-file-at-expected-expect" : "#unexpected-character-at-expected-expect");
49561
49569
  throw error;
49562
49570
  }
49563
49571
  }
@@ -49568,13 +49576,13 @@ function factoryTag(effects, ok, nok, acorn, acornOptions, addResult, allowLazy,
49568
49576
  function serializeCharCode(code) {
49569
49577
  return "U+" + code.toString(16).toUpperCase().padStart(4, "0");
49570
49578
  }
49571
- var trouble;
49579
+ var trouble$1;
49572
49580
  var init_factory_tag = __esmMin((() => {
49573
49581
  init_estree_util_is_identifier_name();
49574
49582
  init_micromark_factory_mdx_expression();
49575
49583
  init_micromark_util_character();
49576
49584
  init_vfile_message();
49577
- trouble = "https://github.com/micromark/micromark-extension-mdx-jsx";
49585
+ trouble$1 = "https://github.com/micromark/micromark-extension-mdx-jsx";
49578
49586
  }));
49579
49587
  //#endregion
49580
49588
  //#region ../../node_modules/.pnpm/micromark-extension-mdx-jsx@3.0.2/node_modules/micromark-extension-mdx-jsx/lib/jsx-text.js
@@ -49933,7 +49941,7 @@ function mdxjsEsm(options) {
49933
49941
  ruleId: "acorn",
49934
49942
  source: "micromark-extension-mdxjs-esm"
49935
49943
  });
49936
- error.url = "https://github.com/micromark/micromark-extension-mdxjs-esm#could-not-parse-importexports-with-acorn";
49944
+ error.url = trouble + "#could-not-parse-importexports-with-acorn";
49937
49945
  throw error;
49938
49946
  }
49939
49947
  if (definedModuleSpecifiers.length > 0) result.estree.body.shift();
@@ -49946,7 +49954,7 @@ function mdxjsEsm(options) {
49946
49954
  ruleId: "non-esm",
49947
49955
  source: "micromark-extension-mdxjs-esm"
49948
49956
  });
49949
- error.url = "https://github.com/micromark/micromark-extension-mdxjs-esm#unexpected-type-in-code-only-importexports-are-supported";
49957
+ error.url = trouble + "#unexpected-type-in-code-only-importexports-are-supported";
49950
49958
  throw error;
49951
49959
  }
49952
49960
  if (node.type === "ImportDeclaration" && !self.interrupt) {
@@ -49975,7 +49983,7 @@ function tokenizeNextBlank(effects, ok, nok) {
49975
49983
  return effects.attempt(blankLine, ok, nok);
49976
49984
  }
49977
49985
  }
49978
- var blankLineBefore, allowedAcornTypes;
49986
+ var blankLineBefore, trouble, allowedAcornTypes;
49979
49987
  var init_syntax$1 = __esmMin((() => {
49980
49988
  init_micromark_core_commonmark();
49981
49989
  init_micromark_util_character();
@@ -49986,6 +49994,7 @@ var init_syntax$1 = __esmMin((() => {
49986
49994
  tokenize: tokenizeNextBlank,
49987
49995
  partial: true
49988
49996
  };
49997
+ trouble = "https://github.com/micromark/micromark-extension-mdxjs-esm";
49989
49998
  allowedAcornTypes = /* @__PURE__ */ new Set([
49990
49999
  "ExportAllDeclaration",
49991
50000
  "ExportDefaultDeclaration",
@@ -146,16 +146,7 @@ resource "aws_vpc_security_group_egress_rule" "agent_to_database" {
146
146
  }
147
147
  ```
148
148
 
149
- `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module. Include the `database` namespace when instantiating it so the database module's runtime configuration entry is deployed:
150
-
151
- ```hcl title="packages/infra/src/main.tf"
152
- module "runtime_config_appconfig" {
153
- source = "../../common/terraform/src/core/runtime-config/appconfig"
154
-
155
- application_name = "my-app-runtime-config"
156
- namespaces = ["connection", "agentcore", "database"]
157
- }
158
- ```
149
+ `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module. That application exposes the `database` namespace by default, so the database module's runtime configuration entry is deployed without further configuration.
159
150
 
160
151
  </Fragment>
161
152
  </Infrastructure>
@@ -163,16 +163,7 @@ resource "aws_vpc_security_group_egress_rule" "api_to_database" {
163
163
 
164
164
  Deploy the API Lambda functions into **private subnets with egress**, not private isolated subnets. `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module — passing them sets `RUNTIME_CONFIG_APP_ID` on the Lambda functions and grants them read access to the application.
165
165
 
166
- The AppConfig application must expose the `database` namespace so the database module's runtime configuration entry is deployed. Include it in the `namespaces` when instantiating the `runtime-config/appconfig` module:
167
-
168
- ```hcl title="packages/infra/src/main.tf"
169
- module "runtime_config_appconfig" {
170
- source = "../../common/terraform/src/core/runtime-config/appconfig"
171
-
172
- application_name = "my-app-runtime-config"
173
- namespaces = ["connection", "agentcore", "database"]
174
- }
175
- ```
166
+ The AppConfig application exposes the `database` namespace by default, so the database module's runtime configuration entry is deployed without further configuration.
176
167
 
177
168
  </Fragment>
178
169
  </Infrastructure>
@@ -155,16 +155,7 @@ resource "aws_vpc_security_group_egress_rule" "mcp_server_to_database" {
155
155
  }
156
156
  ```
157
157
 
158
- `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module. Include the `database` namespace when instantiating it so the database module's runtime configuration entry is deployed:
159
-
160
- ```hcl title="packages/infra/src/main.tf"
161
- module "runtime_config_appconfig" {
162
- source = "../../common/terraform/src/core/runtime-config/appconfig"
163
-
164
- application_name = "my-app-runtime-config"
165
- namespaces = ["connection", "agentcore", "database"]
166
- }
167
- ```
158
+ `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module. That application exposes the `database` namespace by default, so the database module's runtime configuration entry is deployed without further configuration.
168
159
 
169
160
  </Fragment>
170
161
  </Infrastructure>
@@ -161,16 +161,7 @@ resource "aws_vpc_security_group_egress_rule" "agent_to_database" {
161
161
  }
162
162
  ```
163
163
 
164
- `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module. Include the `database` namespace when instantiating it so the database module's runtime configuration entry is deployed:
165
-
166
- ```hcl title="packages/infra/src/main.tf"
167
- module "runtime_config_appconfig" {
168
- source = "../../common/terraform/src/core/runtime-config/appconfig"
169
-
170
- application_name = "my-app-runtime-config"
171
- namespaces = ["connection", "agentcore", "database"]
172
- }
173
- ```
164
+ `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module. That application exposes the `database` namespace by default, so the database module's runtime configuration entry is deployed without further configuration.
174
165
 
175
166
  </Fragment>
176
167
  </Infrastructure>
@@ -160,16 +160,7 @@ resource "aws_vpc_security_group_egress_rule" "mcp_server_to_database" {
160
160
  }
161
161
  ```
162
162
 
163
- `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module. Include the `database` namespace when instantiating it so the database module's runtime configuration entry is deployed:
164
-
165
- ```hcl title="packages/infra/src/main.tf"
166
- module "runtime_config_appconfig" {
167
- source = "../../common/terraform/src/core/runtime-config/appconfig"
168
-
169
- application_name = "my-app-runtime-config"
170
- namespaces = ["connection", "agentcore", "database"]
171
- }
172
- ```
163
+ `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module. That application exposes the `database` namespace by default, so the database module's runtime configuration entry is deployed without further configuration.
173
164
 
174
165
  </Fragment>
175
166
  </Infrastructure>
@@ -602,7 +602,7 @@ If you change the prefix for your stage names in your infrastructure project's `
602
602
  Additionally it's worth noting that the `load-runtime-config` target assumes a single stage of your application is deployed to the environment you have AWS credentials for. You will need to adjust the command if you deploy multiple stages to the same account and region.
603
603
  </Fragment>
604
604
  <Fragment slot="terraform">
605
- For Terraform projects, the `load-runtime-config` target copies the `runtime-config.json` file that was created after your most recent local `terraform apply`.
605
+ For Terraform projects, the `load-runtime-config` target copies the runtime config your most recent local `terraform apply` aggregated, from `dist/packages/common/terraform/runtime-config/connection.json`.
606
606
  </Fragment>
607
607
  </Infrastructure>
608
608
  :::
@@ -12,17 +12,19 @@ Runtime configuration is the mechanism used by Nx Plugin for AWS to pass deploy-
12
12
 
13
13
  Runtime configuration is organised into **namespaces**. Each namespace is a logical grouping of related configuration values. At deploy time, all namespaces are stored in **AWS AppConfig** as Configuration Profiles.
14
14
 
15
- Two built-in namespaces are used by generated constructs:
15
+ Four built-in namespaces are used by generated constructs:
16
16
 
17
17
  - **`connection`** — configuration that enables generated projects to connect to each other:
18
18
  - **API URLs** — registered automatically by API constructs
19
19
  - **Cognito settings** — registered automatically by the UserIdentity construct
20
20
  - **Agent runtime ARNs** — added by the connection generator when you connect a React website to an Agent
21
21
  - **`agentcore`** — AgentCore runtime ARNs for agents and MCP servers. Registered automatically by the agent/MCP constructs and used for server-side discovery (agent → agent via A2A, agent → MCP server).
22
+ - **`dynamodb`** — table names, registered automatically by DynamoDB table constructs and read by the generated table client.
23
+ - **`database`** — Aurora connection details, registered automatically by relational database constructs and read by the generated database client.
22
24
 
23
- The `connection` namespace is also deployed as a `runtime-config.json` file to your website's S3 bucket, enabling client-side discovery of backend resources. The `agentcore` namespace is server-side only (via AppConfig) so agent runtime ARNs are not exposed to the frontend unless you explicitly connect a website to an agent.
25
+ The `connection` namespace is also deployed as a `runtime-config.json` file to your website's S3 bucket, enabling client-side discovery of backend resources. The other namespaces are server-side only (via AppConfig), so values such as agent runtime ARNs and table names are not exposed to the frontend unless you explicitly connect a website to them.
24
26
 
25
- You can define as many additional namespaces as you like, providing a convenient alternative to environment variables for passing deploy-time values such as DynamoDB table names to your Lambda functions or other compute resources.
27
+ You can define as many additional namespaces as you like, providing a convenient alternative to environment variables for passing deploy-time values to your Lambda functions or other compute resources.
26
28
 
27
29
  ```d2
28
30
  direction: down
@@ -107,6 +109,17 @@ Terraform wires runtime configuration across three `core/runtime-config/*` modul
107
109
  }
108
110
  ```
109
111
 
112
+ The `namespaces` variable defaults to every built-in namespace, so generated modules work without configuring it. To add namespaces of your own, list them alongside the built-in ones:
113
+
114
+ ```hcl title="packages/infra/src/main.tf"
115
+ module "runtime_config_appconfig" {
116
+ source = "../../common/terraform/src/core/runtime-config/appconfig"
117
+
118
+ application_name = "my-app-runtime-config"
119
+ namespaces = ["connection", "agentcore", "database", "dynamodb", "tables"]
120
+ }
121
+ ```
122
+
110
123
  2. **`core/runtime-config/entry`** — one invocation per contribution. Generated API, agent and MCP modules call this internally to publish their URLs and ARNs. Call it directly to publish custom configuration.
111
124
 
112
125
  ```hcl title="packages/infra/src/main.tf"
@@ -89,16 +89,7 @@ resource "aws_vpc_security_group_egress_rule" "api_to_database" {
89
89
  }
90
90
  ```
91
91
 
92
- Deploy the API Lambda functions into **private subnets with egress**, not private isolated subnets. `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module — passing them sets `RUNTIME_CONFIG_APP_ID` on the Lambda functions and grants them read access to the application. Include the `database` namespace when instantiating it so the database module's runtime configuration entry is deployed:
93
-
94
- ```hcl title="packages/infra/src/main.tf"
95
- module "runtime_config_appconfig" {
96
- source = "../../common/terraform/src/core/runtime-config/appconfig"
97
-
98
- application_name = "my-app-runtime-config"
99
- namespaces = ["connection", "agentcore", "database"]
100
- }
101
- ```
92
+ Deploy the API Lambda functions into **private subnets with egress**, not private isolated subnets. `appconfig_application_id`/`appconfig_application_arn` come from the shared <Link path="guides/runtime-config">runtime configuration</Link> AppConfig application declared once in your root module, not from the database module — passing them sets `RUNTIME_CONFIG_APP_ID` on the Lambda functions and grants them read access to the application. That application exposes the `database` namespace by default, so the database module's runtime configuration entry is deployed without further configuration.
102
93
 
103
94
  </Fragment>
104
95
  </Infrastructure>
@@ -47,7 +47,9 @@ This provisions a DynamoDB table with:
47
47
  - Customer-managed KMS encryption with automatic key rotation
48
48
  - Point-in-time recovery enabled
49
49
  - Deletion protection enabled
50
- - Table name registered in Runtime Config
50
+ - Table name registered in Runtime Config under the `dynamodb` namespace in AWS AppConfig
51
+
52
+ The `core/runtime-config/appconfig` module exposes the `dynamodb` namespace by default, so the table name is deployed without further configuration. If you pass `namespaces` to that module explicitly, keep `dynamodb` in the list — otherwise no configuration profile is created for it and the generated table client cannot resolve the table name.
51
53
  </Fragment>
52
54
  </Infrastructure>
53
55
 
@@ -52,16 +52,7 @@ module "my_database" {
52
52
 
53
53
  This provisions an Aurora cluster with RDS Proxy, admin credentials, create-db-user Lambda, runtime config registration, migration Lambda, and container registry resources.
54
54
 
55
- The database module registers its connection details under the `database` runtime configuration namespace. Include this namespace when instantiating the shared runtime configuration AppConfig application:
56
-
57
- ```hcl title="packages/infra/src/main.tf"
58
- module "runtime_config_appconfig" {
59
- source = "../../common/terraform/src/core/runtime-config/appconfig"
60
-
61
- application_name = "my-app-runtime-config"
62
- namespaces = ["connection", "agentcore", "database"]
63
- }
64
- ```
55
+ The database module registers its connection details under the `database` <Link path="guides/runtime-config">runtime configuration</Link> namespace, which the shared runtime configuration AppConfig application exposes by default.
65
56
 
66
57
  The generated infrastructure creates two database users:
67
58
  - **Admin user** - Created during cluster provisioning with credentials stored in AWS Secrets Manager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin-mcp",
3
- "version": "1.0.0-rc.80",
3
+ "version": "1.0.0-rc.82",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",