@aws/nx-plugin 1.3.0 → 1.3.2

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 (70) hide show
  1. package/LICENSE-THIRD-PARTY +107 -259
  2. package/migrations.json +57 -14
  3. package/package.json +14 -14
  4. package/src/agentcore-gateway/__snapshots__/generator.spec.ts.snap +1 -1
  5. package/src/greengrass/component/python/__snapshots__/generator.spec.ts.snap +8 -8
  6. package/src/infra/app/__snapshots__/generator.spec.ts.snap +3 -3
  7. package/src/migrations/latest/biome-markdown-yaml-formatter-off/metadata.json +3 -0
  8. package/src/migrations/latest/biome-markdown-yaml-formatter-off/migration.js +113 -0
  9. package/src/migrations/latest/biome-markdown-yaml-formatter-off/migration.js.map +1 -0
  10. package/src/migrations/latest/py-agentcore-launcher/metadata.json +3 -0
  11. package/src/migrations/latest/py-agentcore-launcher/migration.d.ts +7 -0
  12. package/src/migrations/latest/py-agentcore-launcher/migration.js +100 -0
  13. package/src/migrations/latest/py-agentcore-launcher/migration.js.map +1 -0
  14. package/src/migrations/v1.0.15/0001-py-agent-pillow-override/migration.js.map +1 -0
  15. package/src/migrations/v1.1.1/0001-ts-agent-guardrails-synth-input/migration.js.map +1 -0
  16. package/src/migrations/v1.3.0/0001-ts-agent-guardrails-terraform-version-retention/migration.d.ts +6 -0
  17. package/src/migrations/v1.3.0/0001-ts-agent-guardrails-terraform-version-retention/migration.js.map +1 -0
  18. package/src/preset/__snapshots__/generator.spec.ts.snap +15 -5
  19. package/src/py/agent/__snapshots__/generator.constructs.spec.ts.snap +7 -7
  20. package/src/py/agent/__snapshots__/generator.frameworks.spec.ts.snap +7 -7
  21. package/src/py/agent/__snapshots__/generator.protocols.spec.ts.snap +4 -4
  22. package/src/py/agent/generator.js +2 -2
  23. package/src/py/agent/generator.js.map +1 -1
  24. package/src/py/agent/guardrails/__snapshots__/generator.spec.ts.snap +6 -6
  25. package/src/py/dynamodb/__snapshots__/generator.spec.ts.snap +2 -2
  26. package/src/py/fast-api/__snapshots__/generator.terraform.spec.ts.snap +12 -12
  27. package/src/py/lambda-function/__snapshots__/generator.spec.ts.snap +2 -2
  28. package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +4 -4
  29. package/src/py/mcp-server/generator.js +2 -2
  30. package/src/py/mcp-server/generator.js.map +1 -1
  31. package/src/py/rdb/__snapshots__/generator.spec.ts.snap +4 -4
  32. package/src/smithy/project/__snapshots__/generator.spec.ts.snap +5 -5
  33. package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +8 -8
  34. package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +12 -12
  35. package/src/ts/agent/__snapshots__/generator.spec.ts.snap +3 -3
  36. package/src/ts/agent/guardrails/__snapshots__/generator.spec.ts.snap +3 -3
  37. package/src/ts/dcr-proxy/__snapshots__/generator.spec.ts.snap +1 -1
  38. package/src/ts/dynamodb/__snapshots__/generator.spec.ts.snap +2 -2
  39. package/src/ts/lambda-function/__snapshots__/generator.spec.ts.snap +2 -2
  40. package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +2 -2
  41. package/src/ts/rdb/__snapshots__/generator.spec.ts.snap +4 -4
  42. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +53 -33
  43. package/src/ts/react-website/cognito-auth/__snapshots__/generator.terraform.spec.ts.snap +2 -2
  44. package/src/utils/agent-core-constructs/files/cdk/app/agent-core/__nameKebabCase__/__nameKebabCase__.ts.template +1 -1
  45. package/src/utils/agent-core-constructs/files/terraform/core/agent-core-code/runtime.tf.template +1 -1
  46. package/src/utils/agent-core-packaging.d.ts +7 -4
  47. package/src/utils/agent-core-packaging.js +28 -6
  48. package/src/utils/agent-core-packaging.js.map +1 -1
  49. package/src/utils/format.d.ts +10 -0
  50. package/src/utils/format.js +11 -0
  51. package/src/utils/format.js.map +1 -1
  52. package/src/utils/test/fake-aws/fake_aws.py +8 -2
  53. package/src/utils/version-upgrade-migration/sync-vended-versions.d.ts +8 -0
  54. package/src/utils/version-upgrade-migration/sync-vended-versions.js +11 -2
  55. package/src/utils/version-upgrade-migration/sync-vended-versions.js.map +1 -1
  56. package/src/utils/versions.d.ts +71 -71
  57. package/src/utils/versions.js +68 -68
  58. package/src/utils/versions.js.map +1 -1
  59. package/src/migrations/latest/py-agent-pillow-override/migration.js.map +0 -1
  60. package/src/migrations/latest/ts-agent-guardrails-synth-input/migration.js.map +0 -1
  61. package/src/migrations/latest/ts-agent-guardrails-terraform-version-retention/migration.js.map +0 -1
  62. /package/src/migrations/latest/{ts-agent-guardrails-terraform-version-retention → biome-markdown-yaml-formatter-off}/migration.d.ts +0 -0
  63. /package/src/migrations/{latest/py-agent-pillow-override → v1.0.15/0001-py-agent-pillow-override}/metadata.json +0 -0
  64. /package/src/migrations/{latest/py-agent-pillow-override → v1.0.15/0001-py-agent-pillow-override}/migration.d.ts +0 -0
  65. /package/src/migrations/{latest/py-agent-pillow-override → v1.0.15/0001-py-agent-pillow-override}/migration.js +0 -0
  66. /package/src/migrations/{latest/ts-agent-guardrails-synth-input → v1.1.1/0001-ts-agent-guardrails-synth-input}/metadata.json +0 -0
  67. /package/src/migrations/{latest/ts-agent-guardrails-synth-input → v1.1.1/0001-ts-agent-guardrails-synth-input}/migration.d.ts +0 -0
  68. /package/src/migrations/{latest/ts-agent-guardrails-synth-input → v1.1.1/0001-ts-agent-guardrails-synth-input}/migration.js +0 -0
  69. /package/src/migrations/{latest/ts-agent-guardrails-terraform-version-retention → v1.3.0/0001-ts-agent-guardrails-terraform-version-retention}/metadata.json +0 -0
  70. /package/src/migrations/{latest/ts-agent-guardrails-terraform-version-retention → v1.3.0/0001-ts-agent-guardrails-terraform-version-retention}/migration.js +0 -0
@@ -46,7 +46,7 @@ exports[`smithyProjectGenerator > shape libraries > should generate a shape libr
46
46
  "shx rm -rf dist/{projectRoot}/build",
47
47
  "shx rm -rf dist/{projectRoot}/smithy",
48
48
  "shx mkdir -p dist/{projectRoot}/build",
49
- "npx -y mise@2026.10.14 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
49
+ "npx -y mise@2026.10.19 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
50
50
  "shx cp dist/{projectRoot}/smithy/source/model/model.json dist/{projectRoot}/build/model.json"
51
51
  ],
52
52
  "parallel": false,
@@ -124,7 +124,7 @@ exports[`smithyProjectGenerator > should generate smithy project with all custom
124
124
  "shx rm -rf dist/{projectRoot}/build",
125
125
  "shx rm -rf dist/{projectRoot}/smithy",
126
126
  "shx mkdir -p dist/{projectRoot}/build",
127
- "npx -y mise@2026.10.14 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
127
+ "npx -y mise@2026.10.19 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
128
128
  "shx mkdir -p dist/{projectRoot}/build/openapi",
129
129
  "shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
130
130
  ],
@@ -184,7 +184,7 @@ exports[`smithyProjectGenerator > should generate smithy project with custom dir
184
184
  "shx rm -rf dist/{projectRoot}/build",
185
185
  "shx rm -rf dist/{projectRoot}/smithy",
186
186
  "shx mkdir -p dist/{projectRoot}/build",
187
- "npx -y mise@2026.10.14 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
187
+ "npx -y mise@2026.10.19 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
188
188
  "shx mkdir -p dist/{projectRoot}/build/openapi",
189
189
  "shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
190
190
  ],
@@ -336,7 +336,7 @@ exports[`smithyProjectGenerator > should generate smithy project with default op
336
336
  "shx rm -rf dist/{projectRoot}/build",
337
337
  "shx rm -rf dist/{projectRoot}/smithy",
338
338
  "shx mkdir -p dist/{projectRoot}/build",
339
- "npx -y mise@2026.10.14 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
339
+ "npx -y mise@2026.10.19 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
340
340
  "shx mkdir -p dist/{projectRoot}/build/openapi",
341
341
  "shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
342
342
  ],
@@ -482,7 +482,7 @@ exports[`smithyProjectGenerator > should generate smithy project with subdirecto
482
482
  "shx rm -rf dist/{projectRoot}/build",
483
483
  "shx rm -rf dist/{projectRoot}/smithy",
484
484
  "shx mkdir -p dist/{projectRoot}/build",
485
- "npx -y mise@2026.10.14 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
485
+ "npx -y mise@2026.10.19 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
486
486
  "shx mkdir -p dist/{projectRoot}/build/openapi",
487
487
  "shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
488
488
  ],
@@ -416,7 +416,7 @@ terraform {
416
416
  required_providers {
417
417
  aws = {
418
418
  source = "hashicorp/aws"
419
- version = "6.69.1"
419
+ version = "6.70.0"
420
420
  }
421
421
  random = {
422
422
  source = "hashicorp/random"
@@ -732,7 +732,7 @@ exports[`tsSmithyApiGenerator > should generate smithy ts api with Terraform pro
732
732
  }
733
733
  aws = {
734
734
  source = "hashicorp/aws"
735
- version = "6.69.1"
735
+ version = "6.70.0"
736
736
  }
737
737
  random = {
738
738
  source = "hashicorp/random"
@@ -2176,7 +2176,7 @@ exports[`tsSmithyApiGenerator > should generate smithy ts api with default optio
2176
2176
  "shx rm -rf dist/{projectRoot}/build",
2177
2177
  "shx rm -rf dist/{projectRoot}/smithy",
2178
2178
  "shx mkdir -p dist/{projectRoot}/build",
2179
- "npx -y mise@2026.10.14 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
2179
+ "npx -y mise@2026.10.19 exec smithy@1.74.1 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
2180
2180
  "shx mkdir -p dist/{projectRoot}/build/openapi",
2181
2181
  "shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
2182
2182
  ],
@@ -2317,7 +2317,7 @@ terraform {
2317
2317
  required_providers {
2318
2318
  aws = {
2319
2319
  source = "hashicorp/aws"
2320
- version = "6.69.1"
2320
+ version = "6.70.0"
2321
2321
  }
2322
2322
  random = {
2323
2323
  source = "hashicorp/random"
@@ -2630,7 +2630,7 @@ output "waf_web_acl_arn" {
2630
2630
  }
2631
2631
  aws = {
2632
2632
  source = "hashicorp/aws"
2633
- version = "6.69.1"
2633
+ version = "6.70.0"
2634
2634
  }
2635
2635
  random = {
2636
2636
  source = "hashicorp/random"
@@ -3692,7 +3692,7 @@ terraform {
3692
3692
  required_providers {
3693
3693
  aws = {
3694
3694
  source = "hashicorp/aws"
3695
- version = "6.69.1"
3695
+ version = "6.70.0"
3696
3696
  }
3697
3697
  random = {
3698
3698
  source = "hashicorp/random"
@@ -4005,7 +4005,7 @@ output "waf_web_acl_arn" {
4005
4005
  }
4006
4006
  aws = {
4007
4007
  source = "hashicorp/aws"
4008
- version = "6.69.1"
4008
+ version = "6.70.0"
4009
4009
  }
4010
4010
  random = {
4011
4011
  source = "hashicorp/random"
@@ -5056,7 +5056,7 @@ exports[`tsSmithyApiGenerator > terraform iac > should generate terraform with c
5056
5056
  }
5057
5057
  aws = {
5058
5058
  source = "hashicorp/aws"
5059
- version = "6.69.1"
5059
+ version = "6.70.0"
5060
5060
  }
5061
5061
  random = {
5062
5062
  source = "hashicorp/random"
@@ -3223,7 +3223,7 @@ terraform {
3223
3223
  required_providers {
3224
3224
  aws = {
3225
3225
  source = "hashicorp/aws"
3226
- version = "6.69.1"
3226
+ version = "6.70.0"
3227
3227
  }
3228
3228
  }
3229
3229
  }
@@ -3474,7 +3474,7 @@ output "api_log_group_arn" {
3474
3474
  }
3475
3475
  aws = {
3476
3476
  source = "hashicorp/aws"
3477
- version = "6.69.1"
3477
+ version = "6.70.0"
3478
3478
  }
3479
3479
  random = {
3480
3480
  source = "hashicorp/random"
@@ -4100,7 +4100,7 @@ terraform {
4100
4100
  required_providers {
4101
4101
  aws = {
4102
4102
  source = "hashicorp/aws"
4103
- version = "6.69.1"
4103
+ version = "6.70.0"
4104
4104
  }
4105
4105
  }
4106
4106
  }
@@ -4351,7 +4351,7 @@ output "api_log_group_arn" {
4351
4351
  }
4352
4352
  aws = {
4353
4353
  source = "hashicorp/aws"
4354
- version = "6.69.1"
4354
+ version = "6.70.0"
4355
4355
  }
4356
4356
  random = {
4357
4357
  source = "hashicorp/random"
@@ -5050,7 +5050,7 @@ terraform {
5050
5050
  required_providers {
5051
5051
  aws = {
5052
5052
  source = "hashicorp/aws"
5053
- version = "6.69.1"
5053
+ version = "6.70.0"
5054
5054
  }
5055
5055
  }
5056
5056
  }
@@ -5301,7 +5301,7 @@ output "api_log_group_arn" {
5301
5301
  }
5302
5302
  aws = {
5303
5303
  source = "hashicorp/aws"
5304
- version = "6.69.1"
5304
+ version = "6.70.0"
5305
5305
  }
5306
5306
  random = {
5307
5307
  source = "hashicorp/random"
@@ -5904,7 +5904,7 @@ terraform {
5904
5904
  required_providers {
5905
5905
  aws = {
5906
5906
  source = "hashicorp/aws"
5907
- version = "6.69.1"
5907
+ version = "6.70.0"
5908
5908
  }
5909
5909
  random = {
5910
5910
  source = "hashicorp/random"
@@ -6217,7 +6217,7 @@ output "waf_web_acl_arn" {
6217
6217
  }
6218
6218
  aws = {
6219
6219
  source = "hashicorp/aws"
6220
- version = "6.69.1"
6220
+ version = "6.70.0"
6221
6221
  }
6222
6222
  random = {
6223
6223
  source = "hashicorp/random"
@@ -7280,7 +7280,7 @@ terraform {
7280
7280
  required_providers {
7281
7281
  aws = {
7282
7282
  source = "hashicorp/aws"
7283
- version = "6.69.1"
7283
+ version = "6.70.0"
7284
7284
  }
7285
7285
  random = {
7286
7286
  source = "hashicorp/random"
@@ -7593,7 +7593,7 @@ output "waf_web_acl_arn" {
7593
7593
  }
7594
7594
  aws = {
7595
7595
  source = "hashicorp/aws"
7596
- version = "6.69.1"
7596
+ version = "6.70.0"
7597
7597
  }
7598
7598
  random = {
7599
7599
  source = "hashicorp/random"
@@ -8645,7 +8645,7 @@ terraform {
8645
8645
  required_providers {
8646
8646
  aws = {
8647
8647
  source = "hashicorp/aws"
8648
- version = "6.69.1"
8648
+ version = "6.70.0"
8649
8649
  }
8650
8650
  random = {
8651
8651
  source = "hashicorp/random"
@@ -8958,7 +8958,7 @@ output "waf_web_acl_arn" {
8958
8958
  }
8959
8959
  aws = {
8960
8960
  source = "hashicorp/aws"
8961
- version = "6.69.1"
8961
+ version = "6.70.0"
8962
8962
  }
8963
8963
  random = {
8964
8964
  source = "hashicorp/random"
@@ -984,7 +984,7 @@ exports[`ts#agent generator > should match snapshot for Terraform generated file
984
984
  required_providers {
985
985
  aws = {
986
986
  source = "hashicorp/aws"
987
- version = "6.69.1"
987
+ version = "6.70.0"
988
988
  }
989
989
  random = {
990
990
  source = "hashicorp/random"
@@ -1307,7 +1307,7 @@ exports[`ts#agent generator > should match snapshot for Terraform generated file
1307
1307
  required_providers {
1308
1308
  aws = {
1309
1309
  source = "hashicorp/aws"
1310
- version = "6.69.1"
1310
+ version = "6.70.0"
1311
1311
  }
1312
1312
  null = {
1313
1313
  source = "hashicorp/null"
@@ -1666,7 +1666,7 @@ resource "null_resource" "runtime_ready" {
1666
1666
 
1667
1667
  provisioner "local-exec" {
1668
1668
  command = <<-EOT
1669
- uv run --with boto3==1.43.115 python -c "
1669
+ uv run --with boto3==1.43.118 python -c "
1670
1670
  import boto3
1671
1671
  import json
1672
1672
  import os
@@ -439,7 +439,7 @@ exports[`ts#agent#guardrails generator > protocol a2a > should generate the guar
439
439
  required_providers {
440
440
  aws = {
441
441
  source = "hashicorp/aws"
442
- version = "6.69.1"
442
+ version = "6.70.0"
443
443
  }
444
444
  random = {
445
445
  source = "hashicorp/random"
@@ -988,7 +988,7 @@ exports[`ts#agent#guardrails generator > protocol ag-ui > should generate the gu
988
988
  required_providers {
989
989
  aws = {
990
990
  source = "hashicorp/aws"
991
- version = "6.69.1"
991
+ version = "6.70.0"
992
992
  }
993
993
  random = {
994
994
  source = "hashicorp/random"
@@ -1551,7 +1551,7 @@ exports[`ts#agent#guardrails generator > protocol http > should generate the gua
1551
1551
  required_providers {
1552
1552
  aws = {
1553
1553
  source = "hashicorp/aws"
1554
- version = "6.69.1"
1554
+ version = "6.70.0"
1555
1555
  }
1556
1556
  random = {
1557
1557
  source = "hashicorp/random"
@@ -579,7 +579,7 @@ terraform {
579
579
  required_providers {
580
580
  aws = {
581
581
  source = "hashicorp/aws"
582
- version = "6.69.1"
582
+ version = "6.70.0"
583
583
  }
584
584
  archive = {
585
585
  source = "hashicorp/archive"
@@ -35,7 +35,7 @@ exports[`ts#dynamodb generator > should generate terraform modules when iac is t
35
35
  required_providers {
36
36
  aws = {
37
37
  source = "hashicorp/aws"
38
- version = "6.69.1"
38
+ version = "6.70.0"
39
39
  }
40
40
  }
41
41
  }
@@ -232,7 +232,7 @@ exports[`ts#dynamodb generator > should generate terraform modules when iac is t
232
232
  required_providers {
233
233
  aws = {
234
234
  source = "hashicorp/aws"
235
- version = "6.69.1"
235
+ version = "6.70.0"
236
236
  }
237
237
  random = {
238
238
  source = "hashicorp/random"
@@ -141,7 +141,7 @@ exports[`ts-lambda-function generator > terraform iac > should generate terrafor
141
141
  required_providers {
142
142
  aws = {
143
143
  source = "hashicorp/aws"
144
- version = "6.69.1"
144
+ version = "6.70.0"
145
145
  }
146
146
  archive = {
147
147
  source = "hashicorp/archive"
@@ -326,7 +326,7 @@ exports[`ts-lambda-function generator > terraform iac > should match snapshot fo
326
326
  required_providers {
327
327
  aws = {
328
328
  source = "hashicorp/aws"
329
- version = "6.69.1"
329
+ version = "6.70.0"
330
330
  }
331
331
  archive = {
332
332
  source = "hashicorp/archive"
@@ -155,7 +155,7 @@ exports[`ts#mcp-server generator > should match snapshot for Terraform generated
155
155
  required_providers {
156
156
  aws = {
157
157
  source = "hashicorp/aws"
158
- version = "6.69.1"
158
+ version = "6.70.0"
159
159
  }
160
160
  null = {
161
161
  source = "hashicorp/null"
@@ -514,7 +514,7 @@ resource "null_resource" "runtime_ready" {
514
514
 
515
515
  provisioner "local-exec" {
516
516
  command = <<-EOT
517
- uv run --with boto3==1.43.115 python -c "
517
+ uv run --with boto3==1.43.118 python -c "
518
518
  import boto3
519
519
  import json
520
520
  import os
@@ -848,7 +848,7 @@ terraform {
848
848
  required_providers {
849
849
  aws = {
850
850
  source = "hashicorp/aws"
851
- version = "6.69.1"
851
+ version = "6.70.0"
852
852
  }
853
853
  null = {
854
854
  source = "hashicorp/null"
@@ -1519,7 +1519,7 @@ exports[`ts#rdb generator > should generate terraform modules when iac is Terraf
1519
1519
  }
1520
1520
  aws = {
1521
1521
  source = "hashicorp/aws"
1522
- version = "6.69.1"
1522
+ version = "6.70.0"
1523
1523
  }
1524
1524
  external = {
1525
1525
  source = "hashicorp/external"
@@ -2214,7 +2214,7 @@ terraform {
2214
2214
  required_providers {
2215
2215
  aws = {
2216
2216
  source = "hashicorp/aws"
2217
- version = "6.69.1"
2217
+ version = "6.70.0"
2218
2218
  }
2219
2219
  null = {
2220
2220
  source = "hashicorp/null"
@@ -2885,7 +2885,7 @@ exports[`ts#rdb generator > should generate terraform modules with MySQL engine
2885
2885
  }
2886
2886
  aws = {
2887
2887
  source = "hashicorp/aws"
2888
- version = "6.69.1"
2888
+ version = "6.70.0"
2889
2889
  }
2890
2890
  external = {
2891
2891
  source = "hashicorp/external"
@@ -131,7 +131,7 @@ exports[`react-website generator > TailwindCSS integration > terraform iac > sho
131
131
  required_providers {
132
132
  aws = {
133
133
  source = "hashicorp/aws"
134
- version = "6.69.1"
134
+ version = "6.70.0"
135
135
  configuration_aliases = [aws.us_east_1]
136
136
  }
137
137
  null = {
@@ -745,7 +745,7 @@ resource "null_resource" "upload_website_files" {
745
745
  provisioner "local-exec" {
746
746
  command = <<-EOT
747
747
  cd "$ROOT_PATH"
748
- uv run --with boto3==1.43.115 python3 -c "
748
+ uv run --with boto3==1.43.118 python3 -c "
749
749
  import os
750
750
  import sys
751
751
  import boto3
@@ -868,7 +868,7 @@ resource "null_resource" "cloudfront_invalidation" {
868
868
 
869
869
  provisioner "local-exec" {
870
870
  command = <<-EOT
871
- uv run --with boto3==1.43.115 python3 -c "
871
+ uv run --with boto3==1.43.118 python3 -c "
872
872
  import boto3
873
873
  import os
874
874
  import sys
@@ -954,7 +954,7 @@ output "waf_web_acl_arn" {
954
954
  required_providers {
955
955
  aws = {
956
956
  source = "hashicorp/aws"
957
- version = "6.69.1"
957
+ version = "6.70.0"
958
958
  configuration_aliases = [aws.us_east_1]
959
959
  }
960
960
  }
@@ -1061,7 +1061,7 @@ runtime-config.json
1061
1061
 
1062
1062
  exports[`react-website generator > Tanstack router integration > should generate website with no router correctly > biome.json 1`] = `
1063
1063
  "{
1064
- "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
1064
+ "$schema": "https://biomejs.dev/schemas/2.6.3/schema.json",
1065
1065
  "root": true,
1066
1066
  "formatter": {
1067
1067
  "enabled": true,
@@ -1086,6 +1086,16 @@ exports[`react-website generator > Tanstack router integration > should generate
1086
1086
  "enabled": false
1087
1087
  }
1088
1088
  },
1089
+ "markdown": {
1090
+ "formatter": {
1091
+ "enabled": false
1092
+ }
1093
+ },
1094
+ "yaml": {
1095
+ "formatter": {
1096
+ "enabled": false
1097
+ }
1098
+ },
1089
1099
  "linter": {
1090
1100
  "enabled": true,
1091
1101
  "rules": {
@@ -1242,11 +1252,11 @@ exports[`react-website generator > Tanstack router integration > should generate
1242
1252
  "name": "@proj/source",
1243
1253
  "dependencies": {},
1244
1254
  "devDependencies": {
1245
- "@nx/js": "23.3.0",
1255
+ "@nx/js": "23.3.1",
1246
1256
  "@nx/react": "catalog:",
1247
- "@nx/vite": "23.3.0",
1257
+ "@nx/vite": "23.3.1",
1248
1258
  "@nx/vitest": "catalog:",
1249
- "@nx/web": "23.3.0",
1259
+ "@nx/web": "23.3.1",
1250
1260
  "@swc/helpers": "~0.5.18",
1251
1261
  "@tailwindcss/vite": "catalog:",
1252
1262
  "@testing-library/dom": "10.4.0",
@@ -2377,21 +2387,21 @@ exports[`react-website generator > Tanstack router integration > should generate
2377
2387
  - packages/common/*
2378
2388
  catalog:
2379
2389
  '@types/node': 26.6.5
2380
- vite: 8.3.4
2381
- vitest: 5.0.4
2382
- '@vitest/coverage-v8': 5.0.4
2390
+ vite: 8.3.5
2391
+ vitest: 5.0.5
2392
+ '@vitest/coverage-v8': 5.0.5
2383
2393
  jsdom: 29.1.1
2384
- '@nx/vitest': 23.3.0
2394
+ '@nx/vitest': 23.3.1
2385
2395
  constructs: 10.8.1
2386
- aws-cdk-lib: 2.273.0
2396
+ aws-cdk-lib: 2.274.0
2387
2397
  react: 19.3.1
2388
2398
  react-dom: 19.3.1
2389
- '@cloudscape-design/components': 3.0.1401
2390
- '@cloudscape-design/board-components': 3.0.238
2399
+ '@cloudscape-design/components': 3.0.1404
2400
+ '@cloudscape-design/board-components': 3.0.240
2391
2401
  '@cloudscape-design/global-styles': 1.0.71
2392
2402
  tailwindcss: 4.3.3
2393
- '@nx/react': 23.3.0
2394
- '@vitest/ui': 5.0.4
2403
+ '@nx/react': 23.3.1
2404
+ '@vitest/ui': 5.0.5
2395
2405
  '@tailwindcss/vite': 4.3.3
2396
2406
  "
2397
2407
  `;
@@ -2988,7 +2998,7 @@ runtime-config.json
2988
2998
 
2989
2999
  exports[`react-website generator > Tanstack router integration > should generate website with router correctly > biome.json 1`] = `
2990
3000
  "{
2991
- "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3001
+ "$schema": "https://biomejs.dev/schemas/2.6.3/schema.json",
2992
3002
  "root": true,
2993
3003
  "formatter": {
2994
3004
  "enabled": true,
@@ -3013,6 +3023,16 @@ exports[`react-website generator > Tanstack router integration > should generate
3013
3023
  "enabled": false
3014
3024
  }
3015
3025
  },
3026
+ "markdown": {
3027
+ "formatter": {
3028
+ "enabled": false
3029
+ }
3030
+ },
3031
+ "yaml": {
3032
+ "formatter": {
3033
+ "enabled": false
3034
+ }
3035
+ },
3016
3036
  "linter": {
3017
3037
  "enabled": true,
3018
3038
  "rules": {
@@ -3169,11 +3189,11 @@ exports[`react-website generator > Tanstack router integration > should generate
3169
3189
  "name": "@proj/source",
3170
3190
  "dependencies": {},
3171
3191
  "devDependencies": {
3172
- "@nx/js": "23.3.0",
3192
+ "@nx/js": "23.3.1",
3173
3193
  "@nx/react": "catalog:",
3174
- "@nx/vite": "23.3.0",
3194
+ "@nx/vite": "23.3.1",
3175
3195
  "@nx/vitest": "catalog:",
3176
- "@nx/web": "23.3.0",
3196
+ "@nx/web": "23.3.1",
3177
3197
  "@swc/helpers": "~0.5.18",
3178
3198
  "@tailwindcss/vite": "catalog:",
3179
3199
  "@tanstack/router-generator": "catalog:",
@@ -4308,25 +4328,25 @@ exports[`react-website generator > Tanstack router integration > should generate
4308
4328
  - packages/common/*
4309
4329
  catalog:
4310
4330
  '@types/node': 26.6.5
4311
- vite: 8.3.4
4312
- vitest: 5.0.4
4313
- '@vitest/coverage-v8': 5.0.4
4331
+ vite: 8.3.5
4332
+ vitest: 5.0.5
4333
+ '@vitest/coverage-v8': 5.0.5
4314
4334
  jsdom: 29.1.1
4315
- '@nx/vitest': 23.3.0
4335
+ '@nx/vitest': 23.3.1
4316
4336
  constructs: 10.8.1
4317
- aws-cdk-lib: 2.273.0
4337
+ aws-cdk-lib: 2.274.0
4318
4338
  react: 19.3.1
4319
4339
  react-dom: 19.3.1
4320
- '@cloudscape-design/components': 3.0.1401
4321
- '@cloudscape-design/board-components': 3.0.238
4340
+ '@cloudscape-design/components': 3.0.1404
4341
+ '@cloudscape-design/board-components': 3.0.240
4322
4342
  '@cloudscape-design/global-styles': 1.0.71
4323
4343
  tailwindcss: 4.3.3
4324
- '@tanstack/react-router': 1.170.45
4325
- '@nx/react': 23.3.0
4326
- '@vitest/ui': 5.0.4
4344
+ '@tanstack/react-router': 1.170.46
4345
+ '@nx/react': 23.3.1
4346
+ '@vitest/ui': 5.0.5
4327
4347
  '@tailwindcss/vite': 4.3.3
4328
- '@tanstack/router-plugin': 1.168.47
4329
- '@tanstack/router-generator': 1.167.45
4348
+ '@tanstack/router-plugin': 1.168.48
4349
+ '@tanstack/router-generator': 1.167.46
4330
4350
  '@tanstack/virtual-file-routes': 1.162.0
4331
4351
  '@tanstack/router-utils': 1.162.4
4332
4352
  "
@@ -6,7 +6,7 @@ exports[`cognito-auth generator terraform iac > should generate terraform files
6
6
  required_providers {
7
7
  aws = {
8
8
  source = "hashicorp/aws"
9
- version = "6.69.1"
9
+ version = "6.70.0"
10
10
  }
11
11
  null = {
12
12
  source = "hashicorp/null"
@@ -67,7 +67,7 @@ resource "null_resource" "add_callback_url" {
67
67
 
68
68
  provisioner "local-exec" {
69
69
  command = <<-EOT
70
- uv run --with boto3==1.43.115 python -c "
70
+ uv run --with boto3==1.43.118 python -c "
71
71
  import boto3
72
72
  import os
73
73
  import sys
@@ -162,7 +162,7 @@ export class <%- nameClassName %> extends Construct implements IGrantable, IConn
162
162
  this.code = AgentRuntimeArtifact.fromCodeAsset({
163
163
  path: bundleDir,
164
164
  runtime: AgentCoreRuntime.<%- codeRuntime %>,
165
- entrypoint: ['opentelemetry-instrument', '<%- codeEntryPoint %>'],
165
+ entrypoint: [<% if (!codeRuntime.startsWith('PYTHON_')) { %>'opentelemetry-instrument', <% } %>'<%- codeEntryPoint %>'],
166
166
  });
167
167
  <%_ } _%>
168
168
 
@@ -140,7 +140,7 @@ module "runtime" {
140
140
  # The `opentelemetry-instrument` prefix auto-instruments with the AWS Distro
141
141
  # for OpenTelemetry packaged alongside the code.
142
142
  # https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability-configure.html
143
- entry_point = ["opentelemetry-instrument", var.code_entry_point]
143
+ entry_point = var.code_entry_point == "agentcore_launcher.py" ? [var.code_entry_point] : ["opentelemetry-instrument", var.code_entry_point]
144
144
  runtime = var.code_runtime
145
145
  s3_bucket = aws_s3_object.agent_core_code.bucket
146
146
  s3_key = aws_s3_object.agent_core_code.key
@@ -25,6 +25,9 @@ export declare const isContainerHosted: (infra: AgentCoreInfra) => boolean;
25
25
  export declare const agentCoreNodeRuntime: () => string;
26
26
  /** The AgentCore managed runtime a Python component targets. */
27
27
  export declare const agentCorePythonRuntime: () => string;
28
+ export declare const PYTHON_AGENT_CORE_LAUNCHER = "agentcore_launcher.py";
29
+ /** Run instrumentation with the managed interpreter, independent of console-script shebangs. */
30
+ export declare const pythonAgentCoreLauncher: (entryPointFileName: string) => string;
28
31
  /**
29
32
  * Dependencies a caller must declare to add a code (`.zip`) packaging target.
30
33
  *
@@ -117,10 +120,10 @@ export interface AddPythonCodePackageTargetOptions {
117
120
  * Add a target assembling the deployable code package for a Python AgentCore
118
121
  * Runtime.
119
122
  *
120
- * The package is the arm64 dependency bundle (which already carries
121
- * `bin/opentelemetry-instrument` from `aws-opentelemetry-distro`, satisfying
122
- * AgentCore's requirement that OpenTelemetry be present), the project's own
123
- * module tree, and a root entry point script.
123
+ * The package contains the arm64 dependency bundle with `aws-opentelemetry-distro`,
124
+ * the project's module tree, its root entry point and an instrumentation launcher.
125
+ * The launcher calls OpenTelemetry's `run()` with `sys.executable` and the original
126
+ * entry point, so a console-script shebang cannot select the build machine's Python.
124
127
  *
125
128
  * The entry point sits at the package root rather than inside the module:
126
129
  * AgentCore runs it as a file path, and Python gives a script run that way no