@aws/nx-plugin-mcp 1.0.0-rc.86 → 1.0.0-rc.88

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,17 +20801,17 @@ 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.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",
20804
+ "@aws-sdk/client-dynamodb": "3.1119.0",
20805
+ "@aws-sdk/client-api-gateway": "3.1119.0",
20806
+ "@aws-sdk/client-iam": "3.1119.0",
20807
+ "@aws-sdk/client-bedrock-agentcore": "3.1119.0",
20808
+ "@aws-sdk/client-bedrock-runtime": "3.1119.0",
20809
+ "@aws-sdk/client-s3": "3.1119.0",
20810
+ "@aws-sdk/client-sts": "3.1119.0",
20811
+ "@aws-sdk/credential-providers": "3.1119.0",
20812
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",
20813
+ "@aws-sdk/client-secrets-manager": "3.1119.0",
20814
+ "@aws-sdk/rds-signer": "3.1119.0",
20815
20815
  "@smithy/server-apigateway": "0.3.3",
20816
20816
  "@smithy/server-node": "0.3.3",
20817
20817
  "@aws-lambda-powertools/logger": "2.35.0",
@@ -20819,46 +20819,46 @@ const NX_VERSION = {
20819
20819
  "@aws-lambda-powertools/parameters": "2.35.0",
20820
20820
  "@aws-lambda-powertools/tracer": "2.35.0",
20821
20821
  "@aws-lambda-powertools/parser": "2.35.0",
20822
- "@aws-sdk/client-appconfigdata": "3.1116.0",
20822
+ "@aws-sdk/client-appconfigdata": "3.1119.0",
20823
20823
  "@middy/core": "7.8.0",
20824
20824
  "@nxlv/python": "23.0.0",
20825
20825
  "@nx-extend/terraform": "10.4.1",
20826
- nx: "23.1.1",
20827
- "@nx/devkit": "23.1.1",
20828
- "@nx/js": "23.1.1",
20829
- "@nx/react": "23.1.1",
20830
- "@nx/vite": "23.1.1",
20831
- "@nx/vitest": "23.1.1",
20832
- "@nx/workspace": "23.1.1",
20833
- "create-nx-workspace": "23.1.1",
20826
+ nx: "23.1.2",
20827
+ "@nx/devkit": "23.1.2",
20828
+ "@nx/js": "23.1.2",
20829
+ "@nx/react": "23.1.2",
20830
+ "@nx/vite": "23.1.2",
20831
+ "@nx/vitest": "23.1.2",
20832
+ "@nx/workspace": "23.1.2",
20833
+ "create-nx-workspace": "23.1.2",
20834
20834
  "@swc-node/register": "1.12.1",
20835
20835
  "@swc/core": "1.16.1",
20836
20836
  "@modelcontextprotocol/sdk": "1.30.0",
20837
- "@modelcontextprotocol/inspector": "2.3.0",
20837
+ "@modelcontextprotocol/inspector": "2.4.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.69.0",
20844
+ "@copilotkit/react-core": "1.69.2",
20845
20845
  rxjs: "7.8.2",
20846
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",
20847
+ "@tanstack/react-router": "1.170.32",
20848
+ "@tanstack/router-plugin": "1.168.35",
20849
+ "@tanstack/router-generator": "1.167.33",
20850
20850
  "@tanstack/virtual-file-routes": "1.162.0",
20851
20851
  "@tanstack/router-utils": "1.162.2",
20852
20852
  "@cloudscape-design/board-components": "3.0.220",
20853
20853
  "@cloudscape-design/chat-components": "1.0.164",
20854
- "@cloudscape-design/components": "3.0.1352",
20854
+ "@cloudscape-design/components": "3.0.1354",
20855
20855
  "@cloudscape-design/global-styles": "1.0.67",
20856
- "@tanstack/react-query": "5.102.0",
20857
- "@tanstack/react-query-devtools": "5.102.0",
20856
+ "@tanstack/react-query": "5.102.6",
20857
+ "@tanstack/react-query-devtools": "5.102.6",
20858
20858
  "@trpc/tanstack-react-query": "11.18.0",
20859
20859
  "@trpc/client": "11.18.0",
20860
20860
  "@trpc/server": "11.18.0",
20861
- "@types/node": "26.2.0",
20861
+ "@types/node": "26.4.0",
20862
20862
  "@types/aws-lambda": "8.10.162",
20863
20863
  "@types/cors": "2.8.19",
20864
20864
  "@types/pg": "8.23.1",
@@ -20871,11 +20871,11 @@ const NX_VERSION = {
20871
20871
  "@vitest/coverage-v8": "4.1.11",
20872
20872
  "@vitest/ui": "4.1.11",
20873
20873
  "@astrojs/react": "6.0.4",
20874
- "@astrojs/starlight": "0.41.7",
20875
- astro: "7.2.4",
20874
+ "@astrojs/starlight": "0.41.9",
20875
+ astro: "7.2.8",
20876
20876
  cookie: "2.0.1",
20877
20877
  aws4fetch: "1.0.20",
20878
- "aws-cdk": "2.1138.0",
20878
+ "aws-cdk": "2.1139.0",
20879
20879
  "aws-cdk-lib": "2.266.0",
20880
20880
  "aws-xray-sdk-core": "3.12.0",
20881
20881
  constructs: "10.8.1",
@@ -20890,9 +20890,9 @@ const NX_VERSION = {
20890
20890
  "event-source-polyfill": "1.0.31",
20891
20891
  "@types/event-source-polyfill": "1.0.5",
20892
20892
  "@biomejs/biome": "2.5.10",
20893
- "@prisma/adapter-mariadb": "7.9.1",
20894
- "@prisma/adapter-pg": "7.9.1",
20895
- "@prisma/client": "7.9.1",
20893
+ "@prisma/adapter-mariadb": "7.10.0",
20894
+ "@prisma/adapter-pg": "7.10.0",
20895
+ "@prisma/client": "7.10.0",
20896
20896
  ejs: "6.0.1",
20897
20897
  "@types/ejs": "3.1.5",
20898
20898
  express: "5.2.1",
@@ -20902,18 +20902,18 @@ const NX_VERSION = {
20902
20902
  "@types/fs-extra": "11.0.4",
20903
20903
  "make-dir-cli": "4.0.0",
20904
20904
  mariadb: "3.5.3",
20905
- mise: "2026.8.10",
20905
+ mise: "2026.8.14",
20906
20906
  ncp: "2.0.0",
20907
20907
  npm: "12.0.2",
20908
- "npm-check-updates": "23.0.2",
20908
+ "npm-check-updates": "23.1.0",
20909
20909
  "oidc-client-ts": "3.5.0",
20910
20910
  pg: "8.23.0",
20911
- prisma: "7.9.1",
20911
+ prisma: "7.10.0",
20912
20912
  "react-oidc-context": "3.3.1",
20913
20913
  react: "19.2.8",
20914
20914
  "react-dom": "19.2.8",
20915
20915
  rimraf: "6.1.3",
20916
- rolldown: "1.2.5",
20916
+ rolldown: "1.2.6",
20917
20917
  "rolldown-plugin-dts": "0.28.2",
20918
20918
  "simple-git": "3.36.0",
20919
20919
  "source-map-support": "0.5.21",
@@ -20921,7 +20921,7 @@ const NX_VERSION = {
20921
20921
  tailwindcss: "4.3.3",
20922
20922
  "@tailwindcss/vite": "4.3.3",
20923
20923
  tsx: "4.23.12",
20924
- "lucide-react": "1.33.0",
20924
+ "lucide-react": "1.34.0",
20925
20925
  "radix-ui": "1.6.7",
20926
20926
  shadcn: "4.19.0",
20927
20927
  "tw-animate-css": "1.4.0",
@@ -21074,7 +21074,7 @@ const renderGeneratorCommand = (generatorId, schema, packageManager) => {
21074
21074
  return `\`\`\`bash\n${buildNxCommand(`g @aws/nx-plugin:${generatorId} --no-interactive ${args}`, packageManager)}\n\`\`\``;
21075
21075
  };
21076
21076
  //#endregion
21077
- //#region ../../node_modules/.pnpm/js-yaml@4.3.1/node_modules/js-yaml/dist/js-yaml.mjs
21077
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/dist/js-yaml.mjs
21078
21078
  function getDefaultExportFromCjs(x) {
21079
21079
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
21080
21080
  }
@@ -22175,12 +22175,17 @@ function requireLoader() {
22175
22175
  state.result += _result;
22176
22176
  }
22177
22177
  }
22178
+ function chargeMergeWork(state) {
22179
+ state.totalMergeKeys++;
22180
+ if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
22181
+ }
22178
22182
  function mergeMappings(state, destination, source, overridableKeys) {
22179
22183
  if (!common2.isObject(source)) throwError(state, "cannot merge mappings; the provided source object is unacceptable");
22184
+ chargeMergeWork(state);
22180
22185
  const sourceKeys = Object.keys(source);
22181
22186
  for (let index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
22182
22187
  const key = sourceKeys[index];
22183
- if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
22188
+ chargeMergeWork(state);
22184
22189
  if (!_hasOwnProperty.call(destination, key)) {
22185
22190
  setProperty(destination, key, source[key]);
22186
22191
  overridableKeys[key] = true;
@@ -22199,8 +22204,10 @@ function requireLoader() {
22199
22204
  keyNode = String(keyNode);
22200
22205
  if (_result === null) _result = {};
22201
22206
  if (keyTag === "tag:yaml.org,2002:merge") {
22202
- if (Array.isArray(valueNode)) for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
22203
- else mergeMappings(state, _result, valueNode, overridableKeys);
22207
+ if (Array.isArray(valueNode)) {
22208
+ if (valueNode.length > 100) throwError(state, "abnormal merge sequence size");
22209
+ for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
22210
+ } else mergeMappings(state, _result, valueNode, overridableKeys);
22204
22211
  } else {
22205
22212
  if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
22206
22213
  state.line = startLine || state.line;
@@ -54023,7 +54030,7 @@ ${PACKAGE_MANAGERS.map((pm) => buildNxCommand("<options>", pm)).join(" - \n")}
54023
54030
  - Generate all projects into the \`packages/\` directory
54024
54031
  - After making changes to your projects, fix linting issues, then run a full build
54025
54032
  - When it's time to start testing a project, suggest to the user that infrastructure is deployed to AWS. For websites, if a runtime-config.json is needed, use the load-runtime-config target after a deployment to point a local website at a sandbox stack.
54026
- - For CDK infrastructure projects, deploy the sandbox stage with the \`deploy-sandbox\` target (eg \`nx deploy-sandbox infra\`) rather than passing a stage pattern to \`deploy\` — it already targets the sandbox stage declared in \`main.ts\`.
54033
+ - For CDK infrastructure projects, deploy the sandbox stage with the \`deploy-sandbox\` target (eg \`nx deploy-sandbox infra\`) rather than passing a stage pattern to \`deploy\` — it already targets the sandbox stage declared in \`main.ts\`. Likewise \`destroy-sandbox\` tears that stage back down.
54027
54034
 
54028
54035
  ## Batching Generators
54029
54036
 
@@ -269,7 +269,7 @@ export class GameApi<
269
269
  pattern: 'isolated',
270
270
  operations: routerToOperations(appRouter),
271
271
  defaultIntegrationOptions: {
272
- runtime: Runtime.NODEJS_LATEST,
272
+ runtime: Runtime.NODEJS_24_X,
273
273
  handler: 'index.handler',
274
274
  code: Code.fromAsset(
275
275
  url.fileURLToPath(
@@ -34,7 +34,7 @@ We recommend you try your hand at extending the codebase with the following capa
34
34
 
35
35
  1. To destroy the AWS resources that were created, run the following command:
36
36
 
37
- <NxCommands commands={['destroy infra "dungeon-adventure-infra-sandbox/*"']} />
37
+ <NxCommands commands={['destroy-sandbox infra']} />
38
38
 
39
39
  This will prompt you for a list of stacks to delete which should comprise of the `dungeon-adventure-infra-sandbox/Application/GameUI/waf` and `dungeon-adventure-infra-sandbox/Application`.
40
40
 
@@ -117,6 +117,12 @@ Finally, verify everything still builds, then delete `migrations.json` and commi
117
117
 
118
118
  <PackageManagerShortCommand commands={['build']} />
119
119
 
120
+ <Aside type="caution" title="Some infrastructure changes are not migrated">
121
+ Migrations don't cover every change to the infrastructure we vend. Where updating an already-deployed stack would fail or destroy data, no migration is provided — your workspace keeps deploying the resources it deploys today, while a newly generated workspace gets the newer shape.
122
+
123
+ To pick those changes up, compare your infrastructure against what today's generators produce and apply the parts you want by hand, taking care over the deployment path for your existing resources.
124
+ </Aside>
125
+
120
126
  ## Upgrading with an AI agent
121
127
 
122
128
  The whole flow can be driven by an AI coding agent end to end — nothing blocks on an interactive terminal. When `nx migrate --run-migrations` runs from inside an agent, Nx detects this, skips the agentic consent prompt, and instead of spawning a nested agent it **defers** each prompt migration back to the agent driving the run:
@@ -102,7 +102,7 @@ new ApplicationStage(app, 'my-app-sandbox', {
102
102
 
103
103
  The `env` property tells CDK which AWS account and region to deploy to. `CDK_DEFAULT_ACCOUNT` and `CDK_DEFAULT_REGION` are resolved automatically by the CDK CLI from your active AWS credentials. See the [CDK environments documentation](https://docs.aws.amazon.com/cdk/v2/guide/environments.html) for more details.
104
104
 
105
- The sandbox stage is the one the <Link path="guides/typescript-infrastructure#deploying-your-sandbox-stage">`deploy-sandbox` target</Link> deploys.
105
+ The sandbox stage is the one the <Link path="guides/typescript-infrastructure#deploying-your-sandbox-stage">`deploy-sandbox`</Link> and <Link path="guides/typescript-infrastructure#tearing-down-your-sandbox-stage">`destroy-sandbox`</Link> targets act on.
106
106
 
107
107
  If you generated with `stageConfig`, the `main.ts` reads account and region from a centralized config file instead, falling back to environment variables when no config is set:
108
108
 
@@ -421,10 +421,34 @@ This target differs slightly from the regular `deploy` target in that it deploys
421
421
 
422
422
  ## Tearing Down AWS Infrastructure
423
423
 
424
- Use the `destroy` target to tear down your resources:
424
+ Your project has three destroy targets, mirroring the deploy ones:
425
+
426
+ | Target | Use it for |
427
+ | ----------------- | ------------------------------------------------------------------------- |
428
+ | `destroy-sandbox` | Tearing down your own sandbox stage. No stage argument needed. |
429
+ | `destroy` | Tearing down any stage, by naming the stage or stacks you want. |
430
+ | `destroy-ci` | Tearing down from a CI/CD pipeline, using a pre-synthesized cloud assembly. |
431
+
432
+ ### Tearing Down your Sandbox Stage
433
+
434
+ The `destroy-sandbox` target tears down the sandbox stage that `main.ts` declares, so you don't need to remember its stage name:
435
+
436
+ <NxCommands commands={['destroy-sandbox <my-infra>']} />
437
+
438
+ Destroying is irreversible, so CDK asks you to confirm the stacks it is about to delete. Pass `--force` to skip that confirmation, which is what you want when there is no terminal attached (in a script, say):
439
+
440
+ <NxCommands commands={['destroy-sandbox <my-infra> --force']} />
441
+
442
+ ### Tearing Down a Specific Stage
443
+
444
+ The `destroy` target tears down whichever stage or stacks you name:
425
445
 
426
446
  <NxCommands commands={['destroy <my-infra> <my-infra>-sandbox/*']} />
427
447
 
448
+ To tear down an individual stack, give the full stack name:
449
+
450
+ <NxCommands commands={['destroy <my-infra> <my-infra>-sandbox/Application']} />
451
+
428
452
  ## More Information
429
453
 
430
454
  For more information about CDK, please refer to the [CDK Developer Guide](https://docs.aws.amazon.com/cdk/v2/guide/core_concepts.html) and [API Reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-construct-library.html).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin-mcp",
3
- "version": "1.0.0-rc.86",
3
+ "version": "1.0.0-rc.88",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",