@aws/nx-plugin 1.0.0-rc.33 → 1.0.0-rc.34

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.
Files changed (109) hide show
  1. package/LICENSE-THIRD-PARTY +28 -41
  2. package/generators.json +27 -0
  3. package/package.json +6 -6
  4. package/src/connection/generator.js +12 -1
  5. package/src/connection/generator.js.map +1 -1
  6. package/src/connection/supported-connections.d.ts +10 -1
  7. package/src/connection/supported-connections.js +13 -0
  8. package/src/connection/supported-connections.js.map +1 -1
  9. package/src/infra/app/__snapshots__/generator.spec.ts.snap +6 -6
  10. package/src/open-api/ts-client/__snapshots__/generator.complex-types.spec.ts.snap +12 -12
  11. package/src/open-api/ts-client/__snapshots__/generator.composite-types.spec.ts.snap +74 -10
  12. package/src/open-api/ts-client/__snapshots__/generator.content-type.spec.ts.snap +22 -4
  13. package/src/open-api/ts-client/__snapshots__/generator.duplicate-types.spec.ts.snap +53 -8
  14. package/src/open-api/ts-client/__snapshots__/generator.edge-cases.spec.ts.snap +32 -4
  15. package/src/open-api/ts-client/__snapshots__/generator.fast-api-gaps.spec.ts.snap +736 -0
  16. package/src/open-api/ts-client/__snapshots__/generator.fast-api.spec.ts.snap +86 -11
  17. package/src/open-api/ts-client/__snapshots__/generator.multipart.spec.ts.snap +21 -3
  18. package/src/open-api/ts-client/__snapshots__/generator.primitive-types.spec.ts.snap +2 -2
  19. package/src/open-api/ts-client/__snapshots__/generator.request.spec.ts.snap +6 -6
  20. package/src/open-api/ts-client/__snapshots__/generator.reserved-keywords.spec.ts.snap +2 -2
  21. package/src/open-api/ts-client/__snapshots__/generator.spec-compliance.spec.ts.snap +1883 -0
  22. package/src/open-api/ts-client/__snapshots__/generator.tags.spec.ts.snap +4 -4
  23. package/src/open-api/ts-client/files/client.gen.ts.template +195 -12
  24. package/src/open-api/ts-client/files/types.gen.ts.template +2 -0
  25. package/src/open-api/ts-client/generator.js +22 -1
  26. package/src/open-api/ts-client/generator.js.map +1 -1
  27. package/src/open-api/utils/codegen-data/languages.js +6 -0
  28. package/src/open-api/utils/codegen-data/languages.js.map +1 -1
  29. package/src/open-api/utils/codegen-data/types.d.ts +16 -1
  30. package/src/open-api/utils/codegen-data/types.js.map +1 -1
  31. package/src/open-api/utils/codegen-data.js +71 -0
  32. package/src/open-api/utils/codegen-data.js.map +1 -1
  33. package/src/open-api/utils/normalise.js +53 -8
  34. package/src/open-api/utils/normalise.js.map +1 -1
  35. package/src/open-api/utils/parser.js +48 -15
  36. package/src/open-api/utils/parser.js.map +1 -1
  37. package/src/preset/__snapshots__/generator.spec.ts.snap +4 -2
  38. package/src/py/agent/__snapshots__/generator.frameworks.spec.ts.snap +1 -1
  39. package/src/py/rdb/__snapshots__/generator.spec.ts.snap +2038 -0
  40. package/src/py/rdb/agent-connection/__snapshots__/generator.spec.ts.snap +104 -0
  41. package/src/py/rdb/agent-connection/generator.d.ts +10 -0
  42. package/src/py/rdb/agent-connection/generator.js +46 -0
  43. package/src/py/rdb/agent-connection/generator.js.map +1 -0
  44. package/src/py/rdb/agent-connection/schema.d.js +8 -0
  45. package/src/py/rdb/agent-connection/schema.d.js.map +1 -0
  46. package/src/py/rdb/agent-connection/schema.d.ts +15 -0
  47. package/src/py/rdb/agent-connection/schema.json +27 -0
  48. package/src/py/rdb/fast-api-connection/__snapshots__/generator.spec.ts.snap +44 -0
  49. package/src/py/rdb/fast-api-connection/files/__apiModuleName__/dependencies/__rdbNameSnake__.py.template +14 -0
  50. package/src/py/rdb/fast-api-connection/generator.d.ts +10 -0
  51. package/src/py/rdb/fast-api-connection/generator.js +54 -0
  52. package/src/py/rdb/fast-api-connection/generator.js.map +1 -0
  53. package/src/py/rdb/fast-api-connection/schema.d.js +8 -0
  54. package/src/py/rdb/fast-api-connection/schema.d.js.map +1 -0
  55. package/src/py/rdb/fast-api-connection/schema.d.ts +13 -0
  56. package/src/py/rdb/fast-api-connection/schema.json +23 -0
  57. package/src/py/rdb/files/Dockerfile.create-db-user.template +10 -0
  58. package/src/py/rdb/files/Dockerfile.migration.template +10 -0
  59. package/src/py/rdb/files/__name__/__init__.py.template +3 -0
  60. package/src/py/rdb/files/__name__/connection.py.template +55 -0
  61. package/src/py/rdb/files/__name__/create_db_user_handler.py.template +97 -0
  62. package/src/py/rdb/files/__name__/migration_handler.py.template +36 -0
  63. package/src/py/rdb/files/__name__/models/__init__.py.template +3 -0
  64. package/src/py/rdb/files/__name__/models/example.py.template +8 -0
  65. package/src/py/rdb/files/__name__/utils.py.template +104 -0
  66. package/src/py/rdb/files/alembic.ini.template +38 -0
  67. package/src/py/rdb/files/config.json.template +14 -0
  68. package/src/py/rdb/files/migrations/env.py.template +80 -0
  69. package/src/py/rdb/files/migrations/script.py.mako.template +28 -0
  70. package/src/py/rdb/generator.d.ts +6 -0
  71. package/src/py/rdb/generator.js +263 -0
  72. package/src/py/rdb/generator.js.map +1 -0
  73. package/src/py/rdb/mcp-server-connection/__snapshots__/generator.spec.ts.snap +101 -0
  74. package/src/py/rdb/mcp-server-connection/generator.d.ts +10 -0
  75. package/src/py/rdb/mcp-server-connection/generator.js +46 -0
  76. package/src/py/rdb/mcp-server-connection/generator.js.map +1 -0
  77. package/src/py/rdb/mcp-server-connection/schema.d.js +8 -0
  78. package/src/py/rdb/mcp-server-connection/schema.d.js.map +1 -0
  79. package/src/py/rdb/mcp-server-connection/schema.d.ts +15 -0
  80. package/src/py/rdb/mcp-server-connection/schema.json +27 -0
  81. package/src/py/rdb/schema.d.js +6 -0
  82. package/src/py/rdb/schema.d.js.map +1 -0
  83. package/src/py/rdb/schema.d.ts +16 -0
  84. package/src/py/rdb/schema.json +77 -0
  85. package/src/py/rdb/utils.d.ts +6 -0
  86. package/src/py/rdb/utils.js +16 -0
  87. package/src/py/rdb/utils.js.map +1 -0
  88. package/src/sdk/py.d.ts +2 -0
  89. package/src/sdk/py.js +1 -0
  90. package/src/sdk/py.js.map +1 -1
  91. package/src/ts/rdb/__snapshots__/generator.spec.ts.snap +145 -173
  92. package/src/ts/rdb/generator.js +4 -3
  93. package/src/ts/rdb/generator.js.map +1 -1
  94. package/src/ts/rdb/schema.json +1 -1
  95. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +16 -16
  96. package/src/utils/rdb-constructs/files/cdk/app/dbs/__nameKebabCase__.ts.template +58 -14
  97. package/src/utils/rdb-constructs/files/cdk/core/rdb/aurora.ts.template +68 -78
  98. package/src/utils/rdb-constructs/files/terraform/app/dbs/__nameKebabCase__/__nameKebabCase__.tf.template +88 -8
  99. package/src/utils/rdb-constructs/files/terraform/core/rdb/aurora/aurora.tf.template +5 -32
  100. package/src/utils/rdb-constructs/rdb-constructs.d.ts +11 -1
  101. package/src/utils/rdb-constructs/rdb-constructs.js.map +1 -1
  102. package/src/utils/shared-constructs.js +9 -21
  103. package/src/utils/shared-constructs.js.map +1 -1
  104. package/src/utils/shared-rdb-scripts.js +5 -1
  105. package/src/utils/shared-rdb-scripts.js.map +1 -1
  106. package/src/utils/versions.d.ts +34 -30
  107. package/src/utils/versions.js +34 -30
  108. package/src/utils/versions.js.map +1 -1
  109. package/src/utils/files/terraform/scripts/reset-runtime-config.ts.template +0 -25
@@ -6,32 +6,32 @@
6
6
  */ export const TS_VERSIONS = {
7
7
  '@a2a-js/sdk': '0.3.14',
8
8
  '@aws/aws-distro-opentelemetry-node-autoinstrumentation': '0.12.0',
9
- '@aws-sdk/client-dynamodb': '3.1084.0',
10
- '@aws-sdk/client-bedrock-runtime': '3.1084.0',
11
- '@aws-sdk/client-s3': '3.1084.0',
12
- '@aws-sdk/client-sts': '3.1084.0',
13
- '@aws-sdk/credential-providers': '3.1084.0',
9
+ '@aws-sdk/client-dynamodb': '3.1085.0',
10
+ '@aws-sdk/client-bedrock-runtime': '3.1085.0',
11
+ '@aws-sdk/client-s3': '3.1085.0',
12
+ '@aws-sdk/client-sts': '3.1085.0',
13
+ '@aws-sdk/credential-providers': '3.1085.0',
14
14
  '@aws-sdk/credential-provider-cognito-identity': '3.972.56',
15
- '@aws-sdk/client-secrets-manager': '3.1084.0',
16
- '@aws-sdk/rds-signer': '3.1084.0',
15
+ '@aws-sdk/client-secrets-manager': '3.1085.0',
16
+ '@aws-sdk/rds-signer': '3.1085.0',
17
17
  '@aws-smithy/server-apigateway': '1.0.0-alpha.10',
18
18
  '@aws-smithy/server-node': '1.0.0-alpha.10',
19
- '@aws-lambda-powertools/logger': '2.33.1',
20
- '@aws-lambda-powertools/metrics': '2.33.1',
21
- '@aws-lambda-powertools/parameters': '2.33.1',
22
- '@aws-lambda-powertools/tracer': '2.33.1',
23
- '@aws-lambda-powertools/parser': '2.33.1',
24
- '@aws-sdk/client-appconfigdata': '3.1084.0',
19
+ '@aws-lambda-powertools/logger': '2.34.0',
20
+ '@aws-lambda-powertools/metrics': '2.34.0',
21
+ '@aws-lambda-powertools/parameters': '2.34.0',
22
+ '@aws-lambda-powertools/tracer': '2.34.0',
23
+ '@aws-lambda-powertools/parser': '2.34.0',
24
+ '@aws-sdk/client-appconfigdata': '3.1085.0',
25
25
  '@middy/core': '7.7.0',
26
26
  '@nxlv/python': '22.2.1',
27
27
  '@nx-extend/terraform': '10.3.0',
28
- '@nx/devkit': '23.0.1',
29
- '@nx/react': '23.0.1',
30
- 'create-nx-workspace': '23.0.1',
28
+ '@nx/devkit': '23.0.2',
29
+ '@nx/react': '23.0.2',
30
+ 'create-nx-workspace': '23.0.2',
31
31
  '@swc-node/register': '1.11.1',
32
32
  '@swc/core': '1.15.43',
33
33
  '@modelcontextprotocol/sdk': '1.29.0',
34
- '@modelcontextprotocol/inspector': '0.19.0',
34
+ '@modelcontextprotocol/inspector': '0.22.0',
35
35
  '@ag-ui/aws-strands': '0.2.3',
36
36
  '@ag-ui/client': '0.0.57',
37
37
  '@ag-ui/core': '0.0.57',
@@ -39,15 +39,15 @@
39
39
  'agent-chat-cli': '0.3.0',
40
40
  '@copilotkit/react-core': '1.62.3',
41
41
  rxjs: '7.8.2',
42
- '@strands-agents/sdk': '1.8.0',
42
+ '@strands-agents/sdk': '1.9.0',
43
43
  '@tanstack/react-router': '1.170.17',
44
44
  '@tanstack/router-plugin': '1.168.19',
45
45
  '@tanstack/router-generator': '1.167.18',
46
46
  '@tanstack/virtual-file-routes': '1.162.0',
47
47
  '@tanstack/router-utils': '1.162.2',
48
- '@cloudscape-design/board-components': '3.0.200',
49
- '@cloudscape-design/chat-components': '1.0.148',
50
- '@cloudscape-design/components': '3.0.1324',
48
+ '@cloudscape-design/board-components': '3.0.201',
49
+ '@cloudscape-design/chat-components': '1.0.149',
50
+ '@cloudscape-design/components': '3.0.1325',
51
51
  '@cloudscape-design/global-styles': '1.0.62',
52
52
  '@tanstack/react-query': '5.101.2',
53
53
  '@tanstack/react-query-devtools': '5.101.2',
@@ -60,17 +60,17 @@
60
60
  '@types/pg': '8.20.0',
61
61
  '@types/ws': '8.18.1',
62
62
  '@types/express': '5.0.6',
63
- '@smithy/config-resolver': '4.6.7',
64
- '@smithy/node-config-provider': '4.5.7',
65
- '@smithy/node-http-handler': '4.9.4',
66
- '@smithy/types': '4.16.0',
63
+ '@smithy/config-resolver': '4.6.8',
64
+ '@smithy/node-config-provider': '4.5.8',
65
+ '@smithy/node-http-handler': '4.9.5',
66
+ '@smithy/types': '4.16.1',
67
67
  '@vitest/coverage-v8': '4.1.10',
68
68
  '@vitest/ui': '4.1.10',
69
69
  '@astrojs/react': '6.0.1',
70
70
  '@astrojs/starlight': '0.41.3',
71
71
  astro: '7.0.7',
72
72
  aws4fetch: '1.0.20',
73
- 'aws-cdk': '2.1129.0',
73
+ 'aws-cdk': '2.1130.0',
74
74
  'aws-cdk-lib': '2.261.0',
75
75
  'aws-xray-sdk-core': '3.12.0',
76
76
  constructs: '10.6.0',
@@ -108,7 +108,7 @@
108
108
  rolldown: '1.1.5',
109
109
  'simple-git': '3.36.0',
110
110
  'source-map-support': '0.5.21',
111
- 'starlight-blog': '0.27.0',
111
+ 'starlight-blog': '0.28.0',
112
112
  tailwindcss: '4.3.2',
113
113
  '@tailwindcss/vite': '4.3.2',
114
114
  tsx: '4.23.0',
@@ -146,7 +146,7 @@
146
146
  fastapi: '==0.139.0',
147
147
  'fastapi[standard]': '==0.139.0',
148
148
  httpx: '==0.28.1',
149
- langchain: '==1.3.12',
149
+ langchain: '==1.3.13',
150
150
  'langchain-aws': '==1.6.2',
151
151
  'langchain-mcp-adapters': '==0.3.0',
152
152
  langgraph: '==1.2.9',
@@ -156,9 +156,13 @@
156
156
  'strands-agents': '==1.47.0',
157
157
  'strands-agents[a2a]': '==1.47.0',
158
158
  'strands-agents-tools': '==0.8.3',
159
- ty: '==0.0.58',
159
+ ty: '==0.0.59',
160
160
  pynamodb: '==6.1.0',
161
- uvicorn: '==0.51.0'
161
+ uvicorn: '==0.51.0',
162
+ sqlmodel: '==0.0.38',
163
+ alembic: '==1.18.4',
164
+ aiomysql: '==0.3.2',
165
+ asyncpg: '==0.31.0'
162
166
  };
163
167
  /**
164
168
  * Add versions to the given dependencies
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * Versons for TypeScript dependencies added by generators\n */\nexport const TS_VERSIONS = {\n '@a2a-js/sdk': '0.3.14',\n '@aws/aws-distro-opentelemetry-node-autoinstrumentation': '0.12.0',\n '@aws-sdk/client-dynamodb': '3.1084.0',\n '@aws-sdk/client-bedrock-runtime': '3.1084.0',\n '@aws-sdk/client-s3': '3.1084.0',\n '@aws-sdk/client-sts': '3.1084.0',\n '@aws-sdk/credential-providers': '3.1084.0',\n '@aws-sdk/credential-provider-cognito-identity': '3.972.56',\n '@aws-sdk/client-secrets-manager': '3.1084.0',\n '@aws-sdk/rds-signer': '3.1084.0',\n '@aws-smithy/server-apigateway': '1.0.0-alpha.10',\n '@aws-smithy/server-node': '1.0.0-alpha.10',\n '@aws-lambda-powertools/logger': '2.33.1',\n '@aws-lambda-powertools/metrics': '2.33.1',\n '@aws-lambda-powertools/parameters': '2.33.1',\n '@aws-lambda-powertools/tracer': '2.33.1',\n '@aws-lambda-powertools/parser': '2.33.1',\n '@aws-sdk/client-appconfigdata': '3.1084.0',\n '@middy/core': '7.7.0',\n '@nxlv/python': '22.2.1',\n '@nx-extend/terraform': '10.3.0',\n '@nx/devkit': '23.0.1',\n '@nx/react': '23.0.1',\n 'create-nx-workspace': '23.0.1',\n '@swc-node/register': '1.11.1',\n '@swc/core': '1.15.43',\n '@modelcontextprotocol/sdk': '1.29.0',\n '@modelcontextprotocol/inspector': '0.19.0',\n '@ag-ui/aws-strands': '0.2.3',\n '@ag-ui/client': '0.0.57',\n '@ag-ui/core': '0.0.57',\n '@ag-ui/encoder': '0.0.57',\n 'agent-chat-cli': '0.3.0',\n '@copilotkit/react-core': '1.62.3',\n rxjs: '7.8.2',\n '@strands-agents/sdk': '1.8.0',\n '@tanstack/react-router': '1.170.17',\n '@tanstack/router-plugin': '1.168.19',\n '@tanstack/router-generator': '1.167.18',\n '@tanstack/virtual-file-routes': '1.162.0',\n '@tanstack/router-utils': '1.162.2',\n '@cloudscape-design/board-components': '3.0.200',\n '@cloudscape-design/chat-components': '1.0.148',\n '@cloudscape-design/components': '3.0.1324',\n '@cloudscape-design/global-styles': '1.0.62',\n '@tanstack/react-query': '5.101.2',\n '@tanstack/react-query-devtools': '5.101.2',\n '@trpc/tanstack-react-query': '11.18.0',\n '@trpc/client': '11.18.0',\n '@trpc/server': '11.18.0',\n '@types/node': '26.1.1',\n '@types/aws-lambda': '8.10.162',\n '@types/cors': '2.8.19',\n '@types/pg': '8.20.0',\n '@types/ws': '8.18.1',\n '@types/express': '5.0.6',\n '@smithy/config-resolver': '4.6.7',\n '@smithy/node-config-provider': '4.5.7',\n '@smithy/node-http-handler': '4.9.4',\n '@smithy/types': '4.16.0',\n '@vitest/coverage-v8': '4.1.10',\n '@vitest/ui': '4.1.10',\n '@astrojs/react': '6.0.1',\n '@astrojs/starlight': '0.41.3',\n astro: '7.0.7',\n aws4fetch: '1.0.20',\n 'aws-cdk': '2.1129.0',\n 'aws-cdk-lib': '2.261.0',\n 'aws-xray-sdk-core': '3.12.0',\n constructs: '10.6.0',\n cors: '2.8.6',\n chalk: '5.6.2',\n 'class-variance-authority': '0.7.1',\n clsx: '2.1.1',\n commander: '15.0.0',\n electrodb: '3.9.1',\n esbuild: '0.28.1',\n 'event-source-polyfill': '1.0.31',\n '@types/event-source-polyfill': '1.0.5',\n '@biomejs/biome': '2.5.3',\n '@prisma/adapter-mariadb': '7.8.0',\n '@prisma/adapter-pg': '7.8.0',\n '@prisma/client': '7.8.0',\n ejs: '6.0.1',\n '@types/ejs': '3.1.5',\n express: '5.2.1',\n 'fast-glob': '3.3.3',\n husky: '9.1.7',\n 'fs-extra': '11.3.6',\n '@types/fs-extra': '11.0.4',\n 'make-dir-cli': '4.0.0',\n mariadb: '3.5.3',\n ncp: '2.0.0',\n 'npm-check-updates': '22.2.9',\n 'oidc-client-ts': '3.5.0',\n pg: '8.22.0',\n prisma: '7.8.0',\n 'react-oidc-context': '3.3.1',\n react: '19.2.7',\n 'react-dom': '19.2.7',\n rimraf: '6.1.3',\n rolldown: '1.1.5',\n 'simple-git': '3.36.0',\n 'source-map-support': '0.5.21',\n 'starlight-blog': '0.27.0',\n tailwindcss: '4.3.2',\n '@tailwindcss/vite': '4.3.2',\n tsx: '4.23.0',\n 'lucide-react': '1.24.0',\n 'radix-ui': '1.6.2',\n shadcn: '4.13.0',\n 'tw-animate-css': '1.4.0',\n 'tailwind-merge': '3.6.0',\n vite: '8.1.4',\n typescript: '6.0.3',\n vitest: '4.1.10',\n zod: '4.4.3',\n ws: '8.21.0',\n} as const;\nexport type ITsDepVersion = keyof typeof TS_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withVersions = (deps: ITsDepVersion[]) =>\n Object.fromEntries(deps.map((dep) => [dep, TS_VERSIONS[dep]]));\n\n/**\n * Versions for Python dependencies added by generators\n */\nexport const PY_VERSIONS = {\n 'a2a-sdk': '==0.3.26',\n 'ag-ui-langgraph': '==0.0.42',\n 'ag-ui-protocol': '==0.1.19',\n 'ag-ui-strands': '==0.2.2',\n 'aws-lambda-powertools': '==3.31.0',\n 'aws-lambda-powertools[tracer]': '==3.31.0',\n 'aws-lambda-powertools[parser]': '==3.31.0',\n 'aws-opentelemetry-distro': '==0.18.0',\n 'bedrock-agentcore': '==1.18.0',\n boto3: '==1.43.46',\n checkov: '==3.3.8',\n fastapi: '==0.139.0',\n 'fastapi[standard]': '==0.139.0',\n httpx: '==0.28.1',\n langchain: '==1.3.12',\n 'langchain-aws': '==1.6.2',\n 'langchain-mcp-adapters': '==0.3.0',\n langgraph: '==1.2.9',\n mcp: '==1.28.1',\n 'pip-check-updates': '==0.29.0',\n 'pip-licenses': '==5.5.5',\n 'strands-agents': '==1.47.0',\n 'strands-agents[a2a]': '==1.47.0',\n 'strands-agents-tools': '==0.8.3',\n ty: '==0.0.58',\n pynamodb: '==6.1.0',\n uvicorn: '==0.51.0',\n} as const;\nexport type IPyDepVersion = keyof typeof PY_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withPyVersions = (deps: IPyDepVersion[]) =>\n deps.map((dep) => `${dep}${PY_VERSIONS[dep]}`);\n\n/**\n * Versions for vendored tools\n */\nexport const VENDORED_VERSIONS = {\n 'git-secrets': '1.3.0',\n} as const;\n\n/**\n * Exact versions for Terraform providers used by generated `.tf` modules.\n * Pinned exactly (no range operator) so generated infrastructure is reproducible.\n */\nexport const TERRAFORM_VERSIONS = {\n aws: '6.54.0',\n random: '3.9.0',\n null: '3.3.0',\n archive: '2.8.0',\n external: '2.4.0',\n local: '2.9.0',\n} as const;\nexport type ITerraformProviderVersion = keyof typeof TERRAFORM_VERSIONS;\n\n/**\n * Substitution variables exposing Terraform provider version constraints to\n * generated `.tf` templates (e.g. `version = \"<%- awsProviderVersion %>\"`)\n */\nexport const terraformProviderVersions = () => ({\n awsProviderVersion: TERRAFORM_VERSIONS.aws,\n randomProviderVersion: TERRAFORM_VERSIONS.random,\n nullProviderVersion: TERRAFORM_VERSIONS.null,\n archiveProviderVersion: TERRAFORM_VERSIONS.archive,\n externalProviderVersion: TERRAFORM_VERSIONS.external,\n localProviderVersion: TERRAFORM_VERSIONS.local,\n});\n"],"names":["TS_VERSIONS","rxjs","astro","aws4fetch","constructs","cors","chalk","clsx","commander","electrodb","esbuild","ejs","express","husky","mariadb","ncp","pg","prisma","react","rimraf","rolldown","tailwindcss","tsx","shadcn","vite","typescript","vitest","zod","ws","withVersions","deps","Object","fromEntries","map","dep","PY_VERSIONS","boto3","checkov","fastapi","httpx","langchain","langgraph","mcp","ty","pynamodb","uvicorn","withPyVersions","VENDORED_VERSIONS","TERRAFORM_VERSIONS","aws","random","null","archive","external","local","terraformProviderVersions","awsProviderVersion","randomProviderVersion","nullProviderVersion","archiveProviderVersion","externalProviderVersion","localProviderVersion"],"mappings":"AAAA;;;CAGC,GAED;;CAEC,GACD,OAAO,MAAMA,cAAc;IACzB,eAAe;IACf,0DAA0D;IAC1D,4BAA4B;IAC5B,mCAAmC;IACnC,sBAAsB;IACtB,uBAAuB;IACvB,iCAAiC;IACjC,iDAAiD;IACjD,mCAAmC;IACnC,uBAAuB;IACvB,iCAAiC;IACjC,2BAA2B;IAC3B,iCAAiC;IACjC,kCAAkC;IAClC,qCAAqC;IACrC,iCAAiC;IACjC,iCAAiC;IACjC,iCAAiC;IACjC,eAAe;IACf,gBAAgB;IAChB,wBAAwB;IACxB,cAAc;IACd,aAAa;IACb,uBAAuB;IACvB,sBAAsB;IACtB,aAAa;IACb,6BAA6B;IAC7B,mCAAmC;IACnC,sBAAsB;IACtB,iBAAiB;IACjB,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,0BAA0B;IAC1BC,MAAM;IACN,uBAAuB;IACvB,0BAA0B;IAC1B,2BAA2B;IAC3B,8BAA8B;IAC9B,iCAAiC;IACjC,0BAA0B;IAC1B,uC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B,kBAAkB;IAClB,iBAAiB;IACjB,yBAAyB;IACzB,iCAAiC;IACjC,iCAAiC;IACjC,4BAA4B;IAC5B,qBAAqB;IACrBC,OAAO;IACPC,SAAS;IACTC,SAAS;IACT,qBAAqB;IACrBC,OAAO;IACPC,WAAW;IACX,iBAAiB;IACjB,0BAA0B;IAC1BC,WAAW;IACXC,KAAK;IACL,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,uBAAuB;IACvB,wBAAwB;IACxBC,IAAI;IACJC,UAAU;IACVC,SAAS;AACX,EAAW;AAGX;;CAEC,GACD,OAAO,MAAMC,iBAAiB,CAAChB,OAC7BA,KAAKG,GAAG,CAAC,CAACC,MAAQ,GAAGA,MAAMC,WAAW,CAACD,IAAI,EAAE,EAAE;AAEjD;;CAEC,GACD,OAAO,MAAMa,oBAAoB;IAC/B,eAAe;AACjB,EAAW;AAEX;;;CAGC,GACD,OAAO,MAAMC,qBAAqB;IAChCC,KAAK;IACLC,QAAQ;IACRC,MAAM;IACNC,SAAS;IACTC,UAAU;IACVC,OAAO;AACT,EAAW;AAGX;;;CAGC,GACD,OAAO,MAAMC,4BAA4B,IAAO,CAAA;QAC9CC,oBAAoBR,mBAAmBC,GAAG;QAC1CQ,uBAAuBT,mBAAmBE,MAAM;QAChDQ,qBAAqBV,mBAAmBG,IAAI;QAC5CQ,wBAAwBX,mBAAmBI,OAAO;QAClDQ,yBAAyBZ,mBAAmBK,QAAQ;QACpDQ,sBAAsBb,mBAAmBM,KAAK;IAChD,CAAA,EAAG"}
1
+ {"version":3,"sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * Versons for TypeScript dependencies added by generators\n */\nexport const TS_VERSIONS = {\n '@a2a-js/sdk': '0.3.14',\n '@aws/aws-distro-opentelemetry-node-autoinstrumentation': '0.12.0',\n '@aws-sdk/client-dynamodb': '3.1085.0',\n '@aws-sdk/client-bedrock-runtime': '3.1085.0',\n '@aws-sdk/client-s3': '3.1085.0',\n '@aws-sdk/client-sts': '3.1085.0',\n '@aws-sdk/credential-providers': '3.1085.0',\n '@aws-sdk/credential-provider-cognito-identity': '3.972.56',\n '@aws-sdk/client-secrets-manager': '3.1085.0',\n '@aws-sdk/rds-signer': '3.1085.0',\n '@aws-smithy/server-apigateway': '1.0.0-alpha.10',\n '@aws-smithy/server-node': '1.0.0-alpha.10',\n '@aws-lambda-powertools/logger': '2.34.0',\n '@aws-lambda-powertools/metrics': '2.34.0',\n '@aws-lambda-powertools/parameters': '2.34.0',\n '@aws-lambda-powertools/tracer': '2.34.0',\n '@aws-lambda-powertools/parser': '2.34.0',\n '@aws-sdk/client-appconfigdata': '3.1085.0',\n '@middy/core': '7.7.0',\n '@nxlv/python': '22.2.1',\n '@nx-extend/terraform': '10.3.0',\n '@nx/devkit': '23.0.2',\n '@nx/react': '23.0.2',\n 'create-nx-workspace': '23.0.2',\n '@swc-node/register': '1.11.1',\n '@swc/core': '1.15.43',\n '@modelcontextprotocol/sdk': '1.29.0',\n '@modelcontextprotocol/inspector': '0.22.0',\n '@ag-ui/aws-strands': '0.2.3',\n '@ag-ui/client': '0.0.57',\n '@ag-ui/core': '0.0.57',\n '@ag-ui/encoder': '0.0.57',\n 'agent-chat-cli': '0.3.0',\n '@copilotkit/react-core': '1.62.3',\n rxjs: '7.8.2',\n '@strands-agents/sdk': '1.9.0',\n '@tanstack/react-router': '1.170.17',\n '@tanstack/router-plugin': '1.168.19',\n '@tanstack/router-generator': '1.167.18',\n '@tanstack/virtual-file-routes': '1.162.0',\n '@tanstack/router-utils': '1.162.2',\n '@cloudscape-design/board-components': '3.0.201',\n '@cloudscape-design/chat-components': '1.0.149',\n '@cloudscape-design/components': '3.0.1325',\n '@cloudscape-design/global-styles': '1.0.62',\n '@tanstack/react-query': '5.101.2',\n '@tanstack/react-query-devtools': '5.101.2',\n '@trpc/tanstack-react-query': '11.18.0',\n '@trpc/client': '11.18.0',\n '@trpc/server': '11.18.0',\n '@types/node': '26.1.1',\n '@types/aws-lambda': '8.10.162',\n '@types/cors': '2.8.19',\n '@types/pg': '8.20.0',\n '@types/ws': '8.18.1',\n '@types/express': '5.0.6',\n '@smithy/config-resolver': '4.6.8',\n '@smithy/node-config-provider': '4.5.8',\n '@smithy/node-http-handler': '4.9.5',\n '@smithy/types': '4.16.1',\n '@vitest/coverage-v8': '4.1.10',\n '@vitest/ui': '4.1.10',\n '@astrojs/react': '6.0.1',\n '@astrojs/starlight': '0.41.3',\n astro: '7.0.7',\n aws4fetch: '1.0.20',\n 'aws-cdk': '2.1130.0',\n 'aws-cdk-lib': '2.261.0',\n 'aws-xray-sdk-core': '3.12.0',\n constructs: '10.6.0',\n cors: '2.8.6',\n chalk: '5.6.2',\n 'class-variance-authority': '0.7.1',\n clsx: '2.1.1',\n commander: '15.0.0',\n electrodb: '3.9.1',\n esbuild: '0.28.1',\n 'event-source-polyfill': '1.0.31',\n '@types/event-source-polyfill': '1.0.5',\n '@biomejs/biome': '2.5.3',\n '@prisma/adapter-mariadb': '7.8.0',\n '@prisma/adapter-pg': '7.8.0',\n '@prisma/client': '7.8.0',\n ejs: '6.0.1',\n '@types/ejs': '3.1.5',\n express: '5.2.1',\n 'fast-glob': '3.3.3',\n husky: '9.1.7',\n 'fs-extra': '11.3.6',\n '@types/fs-extra': '11.0.4',\n 'make-dir-cli': '4.0.0',\n mariadb: '3.5.3',\n ncp: '2.0.0',\n 'npm-check-updates': '22.2.9',\n 'oidc-client-ts': '3.5.0',\n pg: '8.22.0',\n prisma: '7.8.0',\n 'react-oidc-context': '3.3.1',\n react: '19.2.7',\n 'react-dom': '19.2.7',\n rimraf: '6.1.3',\n rolldown: '1.1.5',\n 'simple-git': '3.36.0',\n 'source-map-support': '0.5.21',\n 'starlight-blog': '0.28.0',\n tailwindcss: '4.3.2',\n '@tailwindcss/vite': '4.3.2',\n tsx: '4.23.0',\n 'lucide-react': '1.24.0',\n 'radix-ui': '1.6.2',\n shadcn: '4.13.0',\n 'tw-animate-css': '1.4.0',\n 'tailwind-merge': '3.6.0',\n vite: '8.1.4',\n typescript: '6.0.3',\n vitest: '4.1.10',\n zod: '4.4.3',\n ws: '8.21.0',\n} as const;\nexport type ITsDepVersion = keyof typeof TS_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withVersions = (deps: ITsDepVersion[]) =>\n Object.fromEntries(deps.map((dep) => [dep, TS_VERSIONS[dep]]));\n\n/**\n * Versions for Python dependencies added by generators\n */\nexport const PY_VERSIONS = {\n 'a2a-sdk': '==0.3.26',\n 'ag-ui-langgraph': '==0.0.42',\n 'ag-ui-protocol': '==0.1.19',\n 'ag-ui-strands': '==0.2.2',\n 'aws-lambda-powertools': '==3.31.0',\n 'aws-lambda-powertools[tracer]': '==3.31.0',\n 'aws-lambda-powertools[parser]': '==3.31.0',\n 'aws-opentelemetry-distro': '==0.18.0',\n 'bedrock-agentcore': '==1.18.0',\n boto3: '==1.43.46',\n checkov: '==3.3.8',\n fastapi: '==0.139.0',\n 'fastapi[standard]': '==0.139.0',\n httpx: '==0.28.1',\n langchain: '==1.3.13',\n 'langchain-aws': '==1.6.2',\n 'langchain-mcp-adapters': '==0.3.0',\n langgraph: '==1.2.9',\n mcp: '==1.28.1',\n 'pip-check-updates': '==0.29.0',\n 'pip-licenses': '==5.5.5',\n 'strands-agents': '==1.47.0',\n 'strands-agents[a2a]': '==1.47.0',\n 'strands-agents-tools': '==0.8.3',\n ty: '==0.0.59',\n pynamodb: '==6.1.0',\n uvicorn: '==0.51.0',\n sqlmodel: '==0.0.38',\n alembic: '==1.18.4',\n aiomysql: '==0.3.2',\n asyncpg: '==0.31.0',\n} as const;\nexport type IPyDepVersion = keyof typeof PY_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withPyVersions = (deps: IPyDepVersion[]) =>\n deps.map((dep) => `${dep}${PY_VERSIONS[dep]}`);\n\n/**\n * Versions for vendored tools\n */\nexport const VENDORED_VERSIONS = {\n 'git-secrets': '1.3.0',\n} as const;\n\n/**\n * Exact versions for Terraform providers used by generated `.tf` modules.\n * Pinned exactly (no range operator) so generated infrastructure is reproducible.\n */\nexport const TERRAFORM_VERSIONS = {\n aws: '6.54.0',\n random: '3.9.0',\n null: '3.3.0',\n archive: '2.8.0',\n external: '2.4.0',\n local: '2.9.0',\n} as const;\nexport type ITerraformProviderVersion = keyof typeof TERRAFORM_VERSIONS;\n\n/**\n * Substitution variables exposing Terraform provider version constraints to\n * generated `.tf` templates (e.g. `version = \"<%- awsProviderVersion %>\"`)\n */\nexport const terraformProviderVersions = () => ({\n awsProviderVersion: TERRAFORM_VERSIONS.aws,\n randomProviderVersion: TERRAFORM_VERSIONS.random,\n nullProviderVersion: TERRAFORM_VERSIONS.null,\n archiveProviderVersion: TERRAFORM_VERSIONS.archive,\n externalProviderVersion: TERRAFORM_VERSIONS.external,\n localProviderVersion: TERRAFORM_VERSIONS.local,\n});\n"],"names":["TS_VERSIONS","rxjs","astro","aws4fetch","constructs","cors","chalk","clsx","commander","electrodb","esbuild","ejs","express","husky","mariadb","ncp","pg","prisma","react","rimraf","rolldown","tailwindcss","tsx","shadcn","vite","typescript","vitest","zod","ws","withVersions","deps","Object","fromEntries","map","dep","PY_VERSIONS","boto3","checkov","fastapi","httpx","langchain","langgraph","mcp","ty","pynamodb","uvicorn","sqlmodel","alembic","aiomysql","asyncpg","withPyVersions","VENDORED_VERSIONS","TERRAFORM_VERSIONS","aws","random","null","archive","external","local","terraformProviderVersions","awsProviderVersion","randomProviderVersion","nullProviderVersion","archiveProviderVersion","externalProviderVersion","localProviderVersion"],"mappings":"AAAA;;;CAGC,GAED;;CAEC,GACD,OAAO,MAAMA,cAAc;IACzB,eAAe;IACf,0DAA0D;IAC1D,4BAA4B;IAC5B,mCAAmC;IACnC,sBAAsB;IACtB,uBAAuB;IACvB,iCAAiC;IACjC,iDAAiD;IACjD,mCAAmC;IACnC,uBAA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BAAoBR,mBAAmBC,GAAG;QAC1CQ,uBAAuBT,mBAAmBE,MAAM;QAChDQ,qBAAqBV,mBAAmBG,IAAI;QAC5CQ,wBAAwBX,mBAAmBI,OAAO;QAClDQ,yBAAyBZ,mBAAmBK,QAAQ;QACpDQ,sBAAsBb,mBAAmBM,KAAK;IAChD,CAAA,EAAG"}
@@ -1,25 +0,0 @@
1
- /**
2
- * Clears the runtime-config dist dir before every build so that removed
3
- * modules don't leave behind stale entries in `connection.json` /
4
- * `agentcore.json` / per-entry leaf files.
5
- *
6
- * Invoked by the `reset-runtime-config` nx target, which the `build`
7
- * target depends on.
8
- */
9
- import { mkdirSync, rmSync, writeFileSync } from 'node:fs';
10
- import { dirname, join } from 'node:path';
11
-
12
- const distDir = process.env.DIST_DIR;
13
- if (!distDir) {
14
- throw new Error('DIST_DIR environment variable is required');
15
- }
16
-
17
- // `runtime-config.json` starts as `{}` so the reader Terraform module can
18
- // assume the file exists.
19
- mkdirSync(distDir, { recursive: true });
20
- writeFileSync(join(distDir, 'runtime-config.json'), '{}');
21
-
22
- // Clear and recreate the per-entry leaf-file tree.
23
- const runtimeConfigDir = join(distDir, 'runtime-config');
24
- rmSync(runtimeConfigDir, { recursive: true, force: true });
25
- mkdirSync(join(runtimeConfigDir, 'entries'), { recursive: true });