@aws/nx-plugin 1.0.0-rc.12 → 1.0.0-rc.13

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 (29) hide show
  1. package/LICENSE-THIRD-PARTY +81 -3
  2. package/package.json +2 -2
  3. package/src/infra/app/__snapshots__/generator.spec.ts.snap +9 -9
  4. package/src/preset/__snapshots__/generator.spec.ts.snap +1 -1
  5. package/src/py/agent/__snapshots__/generator.spec.ts.snap +574 -5
  6. package/src/py/agent/files/http/init.py.template +5 -23
  7. package/src/py/agent/generator.js +27 -22
  8. package/src/py/agent/generator.js.map +1 -1
  9. package/src/py/fast-api/__snapshots__/generator.spec.ts.snap +5 -22
  10. package/src/py/fast-api/files/app/__name__/init.py.template +5 -22
  11. package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
  12. package/src/ts/agent/__snapshots__/generator.spec.ts.snap +564 -0
  13. package/src/ts/agent/generator.js +23 -19
  14. package/src/ts/agent/generator.js.map +1 -1
  15. package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
  16. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +86 -39
  17. package/src/utils/agent-chat/agent-chat.d.ts +31 -0
  18. package/src/utils/agent-chat/agent-chat.js +30 -0
  19. package/src/utils/agent-chat/agent-chat.js.map +1 -0
  20. package/src/utils/agent-chat/files/a2a/chat.ts.template +33 -0
  21. package/src/utils/agent-chat/files/ag-ui/chat.ts.template +17 -0
  22. package/src/utils/agent-chat/files/common/agentcore.ts.template +81 -0
  23. package/src/utils/agent-chat/files/http-py/chat.ts.template +43 -0
  24. package/src/utils/agent-chat/files/http-ts/chat.ts.template +54 -0
  25. package/src/utils/versions.d.ts +44 -44
  26. package/src/utils/versions.js +43 -43
  27. package/src/utils/versions.js.map +1 -1
  28. package/src/py/agent/scripts/http/chat.ts.template +0 -38
  29. package/src/ts/agent/scripts/http/chat.ts.template +0 -35
@@ -3441,6 +3441,30 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
3441
3441
 
3442
3442
  ---
3443
3443
 
3444
+ The following software may be included in this product: @esbuild/linux-x64 (0.28.1)
3445
+ This software contains the following license and notice below:
3446
+
3447
+ MIT License
3448
+
3449
+ Copyright (c) The maintainers of @esbuild/linux-x64 <https://github.com/evanw/esbuild#readme>
3450
+
3451
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
3452
+ associated documentation files (the "Software"), to deal in the Software without restriction, including
3453
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3454
+ copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
3455
+ following conditions:
3456
+
3457
+ The above copyright notice and this permission notice shall be included in all copies or substantial
3458
+ portions of the Software.
3459
+
3460
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
3461
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
3462
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
3463
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
3464
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
3465
+
3466
+ ---
3467
+
3444
3468
  The following software may be included in this product: @eslint-community/eslint-utils (4.9.1)
3445
3469
  This software contains the following license and notice below:
3446
3470
 
@@ -6945,6 +6969,33 @@ SOFTWARE
6945
6969
 
6946
6970
  ---
6947
6971
 
6972
+ The following software may be included in this product: @types/node (25.9.3)
6973
+ This software contains the following license and notice below:
6974
+
6975
+ MIT License
6976
+
6977
+ Copyright (c) Microsoft Corporation.
6978
+
6979
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6980
+ of this software and associated documentation files (the "Software"), to deal
6981
+ in the Software without restriction, including without limitation the rights
6982
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6983
+ copies of the Software, and to permit persons to whom the Software is
6984
+ furnished to do so, subject to the following conditions:
6985
+
6986
+ The above copyright notice and this permission notice shall be included in all
6987
+ copies or substantial portions of the Software.
6988
+
6989
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6990
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6991
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6992
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6993
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6994
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6995
+ SOFTWARE
6996
+
6997
+ ---
6998
+
6948
6999
  The following software may be included in this product: @types/parse-json (4.0.2)
6949
7000
  This software contains the following license and notice below:
6950
7001
 
@@ -12757,7 +12808,7 @@ THE SOFTWARE.
12757
12808
 
12758
12809
  ---
12759
12810
 
12760
- The following software may be included in this product: enhanced-resolve (5.21.3)
12811
+ The following software may be included in this product: enhanced-resolve (5.21.6)
12761
12812
  This software contains the following license and notice below:
12762
12813
 
12763
12814
  Copyright JS Foundation and other contributors
@@ -13058,6 +13109,33 @@ SOFTWARE.
13058
13109
 
13059
13110
  ---
13060
13111
 
13112
+ The following software may be included in this product: esbuild (0.28.1)
13113
+ This software contains the following license and notice below:
13114
+
13115
+ MIT License
13116
+
13117
+ Copyright (c) 2020 Evan Wallace
13118
+
13119
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13120
+ of this software and associated documentation files (the "Software"), to deal
13121
+ in the Software without restriction, including without limitation the rights
13122
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13123
+ copies of the Software, and to permit persons to whom the Software is
13124
+ furnished to do so, subject to the following conditions:
13125
+
13126
+ The above copyright notice and this permission notice shall be included in all
13127
+ copies or substantial portions of the Software.
13128
+
13129
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13130
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13131
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13132
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
13133
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
13134
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
13135
+ SOFTWARE.
13136
+
13137
+ ---
13138
+
13061
13139
  The following software may be included in this product: escalade (3.2.0)
13062
13140
  This software contains the following license and notice below:
13063
13141
 
@@ -33370,7 +33448,7 @@ under the terms of *both* these licenses.
33370
33448
 
33371
33449
  ---
33372
33450
 
33373
- The following software may be included in this product: @swc/core (1.15.40)
33451
+ The following software may be included in this product: @swc/core (1.15.41)
33374
33452
  This software contains the following license and notice below:
33375
33453
 
33376
33454
  Apache License
@@ -39577,7 +39655,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
39577
39655
 
39578
39656
  ---
39579
39657
 
39580
- The following software may be included in this product: @swc/core-linux-x64-gnu (1.15.40)
39658
+ The following software may be included in this product: @swc/core-linux-x64-gnu (1.15.41)
39581
39659
  This software contains the following license and notice below:
39582
39660
 
39583
39661
  Apache License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin",
3
- "version": "1.0.0-rc.12",
3
+ "version": "1.0.0-rc.13",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@apidevtools/swagger-parser": "12.1.0",
27
27
  "@biomejs/js-api": "4.0.0",
28
- "@biomejs/wasm-nodejs": "2.4.16",
28
+ "@biomejs/wasm-nodejs": "2.5.0",
29
29
  "@getgrit/gritql": "0.0.3",
30
30
  "@hey-api/openapi-ts": "0.64.13",
31
31
  "@iarna/toml": "2.2.5",
@@ -3,9 +3,9 @@
3
3
  exports[`infra generator > should add required dependencies to package.json > dependencies 1`] = `
4
4
  {
5
5
  "aws-cdk": "2.1126.0",
6
- "aws-cdk-lib": "2.258.0",
6
+ "aws-cdk-lib": "2.259.0",
7
7
  "constructs": "10.6.0",
8
- "esbuild": "0.28.0",
8
+ "esbuild": "0.28.1",
9
9
  "source-map-support": "0.5.21",
10
10
  }
11
11
  `;
@@ -17,7 +17,7 @@ exports[`infra generator > should add required dependencies to package.json > de
17
17
  "@swc-node/register": "~1.11.1",
18
18
  "@swc/core": "~1.15.5",
19
19
  "@swc/helpers": "~0.5.18",
20
- "@types/node": "25.9.2",
20
+ "@types/node": "25.9.3",
21
21
  "@vitest/coverage-v8": "4.1.8",
22
22
  "jsdom": "^27.1.0",
23
23
  "tsx": "4.22.4",
@@ -31,9 +31,9 @@ exports[`infra generator > should add required dependencies to package.json > pa
31
31
  {
32
32
  "dependencies": {
33
33
  "aws-cdk": "2.1126.0",
34
- "aws-cdk-lib": "2.258.0",
34
+ "aws-cdk-lib": "2.259.0",
35
35
  "constructs": "10.6.0",
36
- "esbuild": "0.28.0",
36
+ "esbuild": "0.28.1",
37
37
  "source-map-support": "0.5.21",
38
38
  },
39
39
  "devDependencies": {
@@ -42,7 +42,7 @@ exports[`infra generator > should add required dependencies to package.json > pa
42
42
  "@swc-node/register": "~1.11.1",
43
43
  "@swc/core": "~1.15.5",
44
44
  "@swc/helpers": "~0.5.18",
45
- "@types/node": "25.9.2",
45
+ "@types/node": "25.9.3",
46
46
  "@vitest/coverage-v8": "4.1.8",
47
47
  "jsdom": "^27.1.0",
48
48
  "tsx": "4.22.4",
@@ -66,7 +66,7 @@ exports[`infra generator > should configure Checkov target correctly > checkov-t
66
66
  "{workspaceRoot}/dist/{projectRoot}/cdk.out",
67
67
  ],
68
68
  "options": {
69
- "command": "uvx --from checkov==3.2.533 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
69
+ "command": "uvx --from checkov==3.3.1 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
70
70
  },
71
71
  "outputs": [
72
72
  "{workspaceRoot}/dist/{projectRoot}/checkov",
@@ -159,7 +159,7 @@ exports[`infra generator > should configure project.json with correct targets >
159
159
  "{workspaceRoot}/dist/{projectRoot}/cdk.out",
160
160
  ],
161
161
  "options": {
162
- "command": "uvx --from checkov==3.2.533 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
162
+ "command": "uvx --from checkov==3.3.1 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
163
163
  },
164
164
  "outputs": [
165
165
  "{workspaceRoot}/dist/{projectRoot}/checkov",
@@ -724,7 +724,7 @@ exports[`infra generator > should handle custom project names correctly > custom
724
724
  "{workspaceRoot}/dist/{projectRoot}/cdk.out",
725
725
  ],
726
726
  "options": {
727
- "command": "uvx --from checkov==3.2.533 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
727
+ "command": "uvx --from checkov==3.3.1 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
728
728
  },
729
729
  "outputs": [
730
730
  "{workspaceRoot}/dist/{projectRoot}/checkov",
@@ -316,7 +316,7 @@ exports[`preset generator > should run successfully > package.json 1`] = `
316
316
  "name": "@proj/source",
317
317
  "dependencies": {},
318
318
  "devDependencies": {
319
- "@biomejs/biome": "2.4.16",
319
+ "@biomejs/biome": "2.5.0",
320
320
  "@nx/js": "22.7.5",
321
321
  "@nx/workspace": "22.7.5",
322
322
  "@swc-node/register": "~1.11.1",