@aws/nx-plugin 1.0.8 → 1.0.10
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/LICENSE-THIRD-PARTY +100 -562
- package/migrations.json +67 -24
- package/package.json +10 -10
- package/src/agentcore-gateway/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/infra/app/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/migrations/latest/pin-strands-mcp-client-peer/metadata.json +3 -0
- package/src/migrations/latest/pin-strands-mcp-client-peer/migration.d.ts +20 -0
- package/src/migrations/latest/pin-strands-mcp-client-peer/migration.js +51 -0
- package/src/migrations/latest/pin-strands-mcp-client-peer/migration.js.map +1 -0
- package/src/migrations/latest/py-dynamodb-bind-base-model-meta/metadata.json +3 -0
- package/src/migrations/latest/{rdb-drop-lambda-rie → py-dynamodb-bind-base-model-meta}/migration.d.ts +1 -1
- package/src/migrations/latest/py-dynamodb-bind-base-model-meta/migration.js +56 -0
- package/src/migrations/latest/py-dynamodb-bind-base-model-meta/migration.js.map +1 -0
- package/src/migrations/v1.0.7/0001-pin-strands-express-peer/migration.js.map +1 -0
- package/src/migrations/v1.0.7/0002-rdb-drop-lambda-rie/migration.js.map +1 -0
- package/src/migrations/v1.0.8/0001-infra-test-loop/migration.js.map +1 -0
- package/src/migrations/v1.0.8/0002-py-dynamodb-type-base-model-meta/metadata.json +3 -0
- package/src/migrations/v1.0.8/0002-py-dynamodb-type-base-model-meta/migration.d.ts +6 -0
- package/src/migrations/v1.0.8/0002-py-dynamodb-type-base-model-meta/migration.js +54 -0
- package/src/migrations/v1.0.8/0002-py-dynamodb-type-base-model-meta/migration.js.map +1 -0
- package/src/migrations/v1.0.8/0003-cache-inputs-outputs/migration.js.map +1 -0
- package/src/open-api/py-client/files/shared/errors.py.template +3 -5
- package/src/open-api/py-client/generator.d.ts +1 -1
- package/src/preset/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/py/agent/__snapshots__/generator.constructs.spec.ts.snap +5 -5
- package/src/py/agent/__snapshots__/generator.frameworks.spec.ts.snap +9 -9
- package/src/py/agent/__snapshots__/generator.protocols.spec.ts.snap +4 -4
- package/src/py/agent/a2a-connection/generator.d.ts +1 -1
- package/src/py/agent/gateway-connection/generator.d.ts +1 -1
- package/src/py/agent/mcp-connection/generator.d.ts +1 -1
- package/src/py/dynamodb/__snapshots__/generator.spec.ts.snap +8 -4
- package/src/py/dynamodb/base-model-meta.d.ts +39 -0
- package/src/py/dynamodb/base-model-meta.js +54 -0
- package/src/py/dynamodb/base-model-meta.js.map +1 -0
- package/src/py/dynamodb/files/__name__/entities/base.py.template +3 -1
- package/src/py/fast-api/__snapshots__/generator.terraform.spec.ts.snap +12 -12
- package/src/py/lambda-function/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/py/rdb/__snapshots__/generator.spec.ts.snap +4 -4
- package/src/smithy/project/__snapshots__/generator.spec.ts.snap +5 -5
- package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +8 -8
- package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +12 -12
- package/src/ts/agent/__snapshots__/generator.spec.ts.snap +4 -4
- package/src/ts/agent/a2a-connection/generator.d.ts +2 -2
- package/src/ts/agent/gateway-connection/generator.d.ts +3 -1
- package/src/ts/agent/gateway-connection/generator.js +4 -0
- package/src/ts/agent/gateway-connection/generator.js.map +1 -1
- package/src/ts/agent/generator.d.ts +3 -1
- package/src/ts/agent/generator.js +5 -0
- package/src/ts/agent/generator.js.map +1 -1
- package/src/ts/agent/mcp-connection/generator.d.ts +3 -1
- package/src/ts/agent/mcp-connection/generator.js +4 -0
- package/src/ts/agent/mcp-connection/generator.js.map +1 -1
- package/src/ts/astro-docs/generator.d.ts +1 -1
- package/src/ts/dcr-proxy/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/ts/dynamodb/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/lambda-function/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/rdb/__snapshots__/generator.spec.ts.snap +5 -5
- package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +41 -39
- package/src/ts/react-website/cognito-auth/__snapshots__/generator.terraform.spec.ts.snap +2 -2
- package/src/utils/agent-connection/agent-connection.d.ts +9 -3
- package/src/utils/agent-connection/agent-connection.js +9 -2
- package/src/utils/agent-connection/agent-connection.js.map +1 -1
- package/src/utils/git.d.ts +5 -0
- package/src/utils/git.js +29 -4
- package/src/utils/git.js.map +1 -1
- package/src/utils/shared-constructs.d.ts +5 -0
- package/src/utils/shared-constructs.js +10 -9
- package/src/utils/shared-constructs.js.map +1 -1
- package/src/utils/version-lockstep/hold.d.ts +29 -0
- package/src/utils/version-lockstep/hold.js +40 -0
- package/src/utils/version-lockstep/hold.js.map +1 -0
- package/src/utils/version-lockstep/lockstep.d.ts +2 -2
- package/src/utils/version-lockstep/lockstep.js.map +1 -1
- package/src/utils/versions.d.ts +81 -80
- package/src/utils/versions.js +79 -78
- package/src/utils/versions.js.map +1 -1
- package/src/migrations/latest/cache-inputs-outputs/migration.js.map +0 -1
- package/src/migrations/latest/infra-test-loop/migration.js.map +0 -1
- package/src/migrations/latest/pin-strands-express-peer/migration.js.map +0 -1
- package/src/migrations/latest/py-dynamodb-type-base-model-meta/metadata.json +0 -3
- package/src/migrations/latest/py-dynamodb-type-base-model-meta/migration.js +0 -87
- package/src/migrations/latest/py-dynamodb-type-base-model-meta/migration.js.map +0 -1
- package/src/migrations/latest/rdb-drop-lambda-rie/migration.js.map +0 -1
- /package/src/migrations/{latest/pin-strands-express-peer → v1.0.7/0001-pin-strands-express-peer}/metadata.json +0 -0
- /package/src/migrations/{latest/pin-strands-express-peer → v1.0.7/0001-pin-strands-express-peer}/migration.d.ts +0 -0
- /package/src/migrations/{latest/pin-strands-express-peer → v1.0.7/0001-pin-strands-express-peer}/migration.js +0 -0
- /package/src/migrations/{latest/rdb-drop-lambda-rie → v1.0.7/0002-rdb-drop-lambda-rie}/metadata.json +0 -0
- /package/src/migrations/{latest/cache-inputs-outputs → v1.0.7/0002-rdb-drop-lambda-rie}/migration.d.ts +0 -0
- /package/src/migrations/{latest/rdb-drop-lambda-rie → v1.0.7/0002-rdb-drop-lambda-rie}/migration.js +0 -0
- /package/src/migrations/{latest/infra-test-loop → v1.0.8/0001-infra-test-loop}/metadata.json +0 -0
- /package/src/migrations/{latest/infra-test-loop → v1.0.8/0001-infra-test-loop}/migration.d.ts +0 -0
- /package/src/migrations/{latest/infra-test-loop → v1.0.8/0001-infra-test-loop}/migration.js +0 -0
- /package/src/migrations/{latest/cache-inputs-outputs → v1.0.8/0003-cache-inputs-outputs}/metadata.json +0 -0
- /package/src/migrations/{latest/py-dynamodb-type-base-model-meta → v1.0.8/0003-cache-inputs-outputs}/migration.d.ts +0 -0
- /package/src/migrations/{latest/cache-inputs-outputs → v1.0.8/0003-cache-inputs-outputs}/migration.js +0 -0
|
@@ -12,7 +12,7 @@ export declare const OPEN_API_PY_CLIENT_GENERATOR_INFO: NxGeneratorInfo;
|
|
|
12
12
|
* emits a client into a project spreads these into its own declaration and
|
|
13
13
|
* adds them to that project's pyproject.
|
|
14
14
|
*/
|
|
15
|
-
export declare const OPEN_API_PY_CLIENT_DEPENDENCIES: import("../../utils/declared-dependencies.js").DependencyDeclaration<readonly import("../../utils/declared-dependencies.js").DeclaredTsDependency<"@ag-ui/client" | "@ag-ui/core" | "@ag-ui/encoder" | "@biomejs/biome" | "@a2a-js/sdk" | "@aws/aws-distro-opentelemetry-node-autoinstrumentation" | "@opentelemetry/propagator-jaeger" | "minimatch" | "deepmerge-ts" | "mysql2" | "@aws-sdk/client-dynamodb" | "@aws-sdk/client-api-gateway" | "@aws-sdk/client-iam" | "@aws-sdk/client-bedrock-agentcore" | "@aws-sdk/client-bedrock-runtime" | "@aws-sdk/client-s3" | "@aws-sdk/client-sts" | "@aws-sdk/client-cognito-identity-provider" | "@aws-sdk/credential-providers" | "@aws-sdk/credential-provider-cognito-identity" | "@aws-sdk/client-secrets-manager" | "@aws-sdk/rds-signer" | "@smithy/server-apigateway" | "@smithy/server-node" | "@aws-lambda-powertools/logger" | "@aws-lambda-powertools/metrics" | "@aws-lambda-powertools/parameters" | "@aws-lambda-powertools/tracer" | "@aws-lambda-powertools/parser" | "@aws-sdk/client-appconfigdata" | "@middy/core" | "@nxlv/python" | "@nx-extend/terraform" | "nx" | "@nx/devkit" | "@nx/js" | "@nx/react" | "@nx/vite" | "@nx/vitest" | "@nx/workspace" | "create-nx-workspace" | "@swc-node/register" | "@swc/core" | "@modelcontextprotocol/sdk" | "@modelcontextprotocol/inspector" | "@ag-ui/a2ui-toolkit" | "@ag-ui/aws-strands" | "agent-chat-cli" | "@copilotkit/react-core" | "rxjs" | "@strands-agents/sdk" | "@tanstack/react-router" | "@tanstack/router-plugin" | "@tanstack/router-generator" | "@tanstack/virtual-file-routes" | "@tanstack/router-utils" | "@cloudscape-design/board-components" | "@cloudscape-design/chat-components" | "@cloudscape-design/components" | "@cloudscape-design/global-styles" | "@tanstack/react-query" | "@tanstack/react-query-devtools" | "@trpc/tanstack-react-query" | "@trpc/client" | "@trpc/server" | "@types/node" | "@types/aws-lambda" | "@types/cors" | "@types/pg" | "@types/ws" | "@types/express" | "@smithy/config-resolver" | "@smithy/node-config-provider" | "@smithy/node-http-handler" | "@smithy/types" | "@vitest/coverage-v8" | "@vitest/ui" | "@astrojs/react" | "@astrojs/starlight" | "astro" | "cookie" | "aws4fetch" | "aws-cdk" | "aws-cdk-lib" | "aws-xray-sdk-core" | "constructs" | "cors" | "chalk" | "class-variance-authority" | "cn" | "commander" | "electrodb" | "esbuild" | "event-source-polyfill" | "@types/event-source-polyfill" | "@prisma/adapter-mariadb" | "@prisma/adapter-pg" | "@prisma/client" | "ejs" | "@types/ejs" | "express" | "fast-glob" | "husky" | "fs-extra" | "@types/fs-extra" | "mariadb" | "mise" | "npm" | "npm-check-updates" | "oidc-client-ts" | "pg" | "prisma" | "react-oidc-context" | "react" | "react-dom" | "rolldown" | "rolldown-plugin-dts" | "shx" | "simple-git" | "source-map-support" | "starlight-blog" | "tailwindcss" | "@tailwindcss/vite" | "tsx" | "lucide-react" | "radix-ui" | "shadcn" | "tw-animate-css" | "vite" | "typescript" | "vitest" | "jsdom" | "zod" | "ws", Record<string, never>>[], readonly [{
|
|
15
|
+
export declare const OPEN_API_PY_CLIENT_DEPENDENCIES: import("../../utils/declared-dependencies.js").DependencyDeclaration<readonly import("../../utils/declared-dependencies.js").DeclaredTsDependency<"@ag-ui/client" | "@ag-ui/core" | "@ag-ui/encoder" | "@biomejs/biome" | "@a2a-js/sdk" | "@aws/aws-distro-opentelemetry-node-autoinstrumentation" | "@opentelemetry/propagator-jaeger" | "minimatch" | "deepmerge-ts" | "mysql2" | "@aws-sdk/client-dynamodb" | "@aws-sdk/client-api-gateway" | "@aws-sdk/client-iam" | "@aws-sdk/client-bedrock-agentcore" | "@aws-sdk/client-bedrock-runtime" | "@aws-sdk/client-s3" | "@aws-sdk/client-sts" | "@aws-sdk/client-cognito-identity-provider" | "@aws-sdk/credential-providers" | "@aws-sdk/credential-provider-cognito-identity" | "@aws-sdk/client-secrets-manager" | "@aws-sdk/rds-signer" | "@smithy/server-apigateway" | "@smithy/server-node" | "@aws-lambda-powertools/logger" | "@aws-lambda-powertools/metrics" | "@aws-lambda-powertools/parameters" | "@aws-lambda-powertools/tracer" | "@aws-lambda-powertools/parser" | "@aws-sdk/client-appconfigdata" | "@middy/core" | "@nxlv/python" | "@nx-extend/terraform" | "nx" | "@nx/devkit" | "@nx/js" | "@nx/react" | "@nx/vite" | "@nx/vitest" | "@nx/workspace" | "create-nx-workspace" | "@swc-node/register" | "@swc/core" | "@modelcontextprotocol/sdk" | "@modelcontextprotocol/client" | "@modelcontextprotocol/inspector" | "@ag-ui/a2ui-toolkit" | "@ag-ui/aws-strands" | "agent-chat-cli" | "@copilotkit/react-core" | "rxjs" | "@strands-agents/sdk" | "@tanstack/react-router" | "@tanstack/router-plugin" | "@tanstack/router-generator" | "@tanstack/virtual-file-routes" | "@tanstack/router-utils" | "@cloudscape-design/board-components" | "@cloudscape-design/chat-components" | "@cloudscape-design/components" | "@cloudscape-design/global-styles" | "@tanstack/react-query" | "@tanstack/react-query-devtools" | "@trpc/tanstack-react-query" | "@trpc/client" | "@trpc/server" | "@types/node" | "@types/aws-lambda" | "@types/cors" | "@types/pg" | "@types/ws" | "@types/express" | "@smithy/config-resolver" | "@smithy/node-config-provider" | "@smithy/node-http-handler" | "@smithy/types" | "@vitest/coverage-v8" | "@vitest/ui" | "@astrojs/react" | "@astrojs/starlight" | "astro" | "cookie" | "aws4fetch" | "aws-cdk" | "aws-cdk-lib" | "aws-xray-sdk-core" | "constructs" | "cors" | "chalk" | "class-variance-authority" | "cn" | "commander" | "electrodb" | "esbuild" | "event-source-polyfill" | "@types/event-source-polyfill" | "@prisma/adapter-mariadb" | "@prisma/adapter-pg" | "@prisma/client" | "ejs" | "@types/ejs" | "express" | "fast-glob" | "husky" | "fs-extra" | "@types/fs-extra" | "mariadb" | "mise" | "npm" | "npm-check-updates" | "oidc-client-ts" | "pg" | "prisma" | "react-oidc-context" | "react" | "react-dom" | "rolldown" | "rolldown-plugin-dts" | "shx" | "simple-git" | "source-map-support" | "starlight-blog" | "tailwindcss" | "@tailwindcss/vite" | "tsx" | "lucide-react" | "radix-ui" | "shadcn" | "tw-animate-css" | "vite" | "typescript" | "vitest" | "jsdom" | "zod" | "ws", Record<string, never>>[], readonly [{
|
|
16
16
|
readonly name: "httpx";
|
|
17
17
|
}, {
|
|
18
18
|
readonly name: "pydantic";
|
|
@@ -418,9 +418,9 @@ onlyBuiltDependencies:
|
|
|
418
418
|
- sharp
|
|
419
419
|
catalogMode: strict
|
|
420
420
|
catalog:
|
|
421
|
-
nx: 23.
|
|
422
|
-
'@nx/js': 23.
|
|
423
|
-
'@nx/workspace': 23.
|
|
421
|
+
nx: 23.3.0
|
|
422
|
+
'@nx/js': 23.3.0
|
|
423
|
+
'@nx/workspace': 23.3.0
|
|
424
424
|
typescript: ~6.0.3
|
|
425
425
|
'@biomejs/biome': 2.5.15
|
|
426
426
|
'@aws/nx-plugin': ^0.0.0
|
|
@@ -765,17 +765,17 @@ dependencies = [
|
|
|
765
765
|
"proj-agent-connection",
|
|
766
766
|
"aws-lambda-powertools==3.35.0",
|
|
767
767
|
"aws-opentelemetry-distro==0.21.0",
|
|
768
|
-
"bedrock-agentcore==1.24.
|
|
769
|
-
"boto3==1.43.
|
|
770
|
-
"fastapi==0.
|
|
768
|
+
"bedrock-agentcore==1.24.1",
|
|
769
|
+
"boto3==1.43.113",
|
|
770
|
+
"fastapi==0.143.1",
|
|
771
771
|
"mcp==1.28.1",
|
|
772
|
-
"strands-agents==1.
|
|
772
|
+
"strands-agents==1.60.0",
|
|
773
773
|
"strands-agents-tools==0.8.9",
|
|
774
774
|
"uvicorn==0.54.0"
|
|
775
775
|
]
|
|
776
776
|
|
|
777
777
|
[dependency-groups]
|
|
778
|
-
dev = [ "fastapi[standard]==0.
|
|
778
|
+
dev = [ "fastapi[standard]==0.143.1" ]
|
|
779
779
|
|
|
780
780
|
[tool.uv]
|
|
781
781
|
dev-dependencies = [ ]
|
|
@@ -703,22 +703,22 @@ dependencies = [
|
|
|
703
703
|
"proj-agent-connection",
|
|
704
704
|
"aws-lambda-powertools==3.35.0",
|
|
705
705
|
"aws-opentelemetry-distro==0.21.0",
|
|
706
|
-
"bedrock-agentcore==1.24.
|
|
707
|
-
"boto3==1.43.
|
|
708
|
-
"fastapi==0.
|
|
706
|
+
"bedrock-agentcore==1.24.1",
|
|
707
|
+
"boto3==1.43.113",
|
|
708
|
+
"fastapi==0.143.1",
|
|
709
709
|
"mcp==1.28.1",
|
|
710
|
-
"langchain==1.4.
|
|
711
|
-
"langchain-aws==1.8.
|
|
712
|
-
"langgraph==1.2.
|
|
713
|
-
"langgraph-checkpoint-sqlite==3.1.
|
|
710
|
+
"langchain==1.4.6",
|
|
711
|
+
"langchain-aws==1.8.2",
|
|
712
|
+
"langgraph==1.2.15",
|
|
713
|
+
"langgraph-checkpoint-sqlite==3.1.2",
|
|
714
714
|
"aiosqlite==0.22.1",
|
|
715
715
|
"ag-ui-protocol==0.1.22",
|
|
716
|
-
"ag-ui-langgraph==0.0.
|
|
716
|
+
"ag-ui-langgraph==0.0.47",
|
|
717
717
|
"uvicorn==0.54.0"
|
|
718
718
|
]
|
|
719
719
|
|
|
720
720
|
[dependency-groups]
|
|
721
|
-
dev = [ "fastapi[standard]==0.
|
|
721
|
+
dev = [ "fastapi[standard]==0.143.1" ]
|
|
722
722
|
|
|
723
723
|
[tool.uv]
|
|
724
724
|
dev-dependencies = [ ]
|
|
@@ -5,7 +5,7 @@ exports[`py#agent generator > should create DynamoDB checkpoint table and S3 off
|
|
|
5
5
|
required_providers {
|
|
6
6
|
aws = {
|
|
7
7
|
source = "hashicorp/aws"
|
|
8
|
-
version = "6.
|
|
8
|
+
version = "6.68.0"
|
|
9
9
|
}
|
|
10
10
|
random = {
|
|
11
11
|
source = "hashicorp/random"
|
|
@@ -381,7 +381,7 @@ exports[`py#agent generator > should match snapshot for Terraform generated file
|
|
|
381
381
|
required_providers {
|
|
382
382
|
aws = {
|
|
383
383
|
source = "hashicorp/aws"
|
|
384
|
-
version = "6.
|
|
384
|
+
version = "6.68.0"
|
|
385
385
|
}
|
|
386
386
|
random = {
|
|
387
387
|
source = "hashicorp/random"
|
|
@@ -704,7 +704,7 @@ exports[`py#agent generator > should match snapshot for Terraform generated file
|
|
|
704
704
|
required_providers {
|
|
705
705
|
aws = {
|
|
706
706
|
source = "hashicorp/aws"
|
|
707
|
-
version = "6.
|
|
707
|
+
version = "6.68.0"
|
|
708
708
|
}
|
|
709
709
|
null = {
|
|
710
710
|
source = "hashicorp/null"
|
|
@@ -1063,7 +1063,7 @@ resource "null_resource" "runtime_ready" {
|
|
|
1063
1063
|
|
|
1064
1064
|
provisioner "local-exec" {
|
|
1065
1065
|
command = <<-EOT
|
|
1066
|
-
uv run --with boto3==1.43.
|
|
1066
|
+
uv run --with boto3==1.43.113 python -c "
|
|
1067
1067
|
import boto3
|
|
1068
1068
|
import json
|
|
1069
1069
|
import os
|
|
@@ -10,7 +10,7 @@ import type { PyAgentA2aConnectionGeneratorSchema } from './schema';
|
|
|
10
10
|
export interface PyAgentA2aConnectionMetadata {
|
|
11
11
|
readonly framework: AgentFramework;
|
|
12
12
|
}
|
|
13
|
-
export declare const DEPENDENCIES: import("../../../utils/declared-dependencies.js").DependencyDeclaration<readonly import("../../../utils/declared-dependencies.js").DeclaredTsDependency<"@ag-ui/client" | "@ag-ui/core" | "@ag-ui/encoder" | "@biomejs/biome" | "@a2a-js/sdk" | "@aws/aws-distro-opentelemetry-node-autoinstrumentation" | "@opentelemetry/propagator-jaeger" | "minimatch" | "deepmerge-ts" | "mysql2" | "@aws-sdk/client-dynamodb" | "@aws-sdk/client-api-gateway" | "@aws-sdk/client-iam" | "@aws-sdk/client-bedrock-agentcore" | "@aws-sdk/client-bedrock-runtime" | "@aws-sdk/client-s3" | "@aws-sdk/client-sts" | "@aws-sdk/client-cognito-identity-provider" | "@aws-sdk/credential-providers" | "@aws-sdk/credential-provider-cognito-identity" | "@aws-sdk/client-secrets-manager" | "@aws-sdk/rds-signer" | "@smithy/server-apigateway" | "@smithy/server-node" | "@aws-lambda-powertools/logger" | "@aws-lambda-powertools/metrics" | "@aws-lambda-powertools/parameters" | "@aws-lambda-powertools/tracer" | "@aws-lambda-powertools/parser" | "@aws-sdk/client-appconfigdata" | "@middy/core" | "@nxlv/python" | "@nx-extend/terraform" | "nx" | "@nx/devkit" | "@nx/js" | "@nx/react" | "@nx/vite" | "@nx/vitest" | "@nx/workspace" | "create-nx-workspace" | "@swc-node/register" | "@swc/core" | "@modelcontextprotocol/sdk" | "@modelcontextprotocol/inspector" | "@ag-ui/a2ui-toolkit" | "@ag-ui/aws-strands" | "agent-chat-cli" | "@copilotkit/react-core" | "rxjs" | "@strands-agents/sdk" | "@tanstack/react-router" | "@tanstack/router-plugin" | "@tanstack/router-generator" | "@tanstack/virtual-file-routes" | "@tanstack/router-utils" | "@cloudscape-design/board-components" | "@cloudscape-design/chat-components" | "@cloudscape-design/components" | "@cloudscape-design/global-styles" | "@tanstack/react-query" | "@tanstack/react-query-devtools" | "@trpc/tanstack-react-query" | "@trpc/client" | "@trpc/server" | "@types/node" | "@types/aws-lambda" | "@types/cors" | "@types/pg" | "@types/ws" | "@types/express" | "@smithy/config-resolver" | "@smithy/node-config-provider" | "@smithy/node-http-handler" | "@smithy/types" | "@vitest/coverage-v8" | "@vitest/ui" | "@astrojs/react" | "@astrojs/starlight" | "astro" | "cookie" | "aws4fetch" | "aws-cdk" | "aws-cdk-lib" | "aws-xray-sdk-core" | "constructs" | "cors" | "chalk" | "class-variance-authority" | "cn" | "commander" | "electrodb" | "esbuild" | "event-source-polyfill" | "@types/event-source-polyfill" | "@prisma/adapter-mariadb" | "@prisma/adapter-pg" | "@prisma/client" | "ejs" | "@types/ejs" | "express" | "fast-glob" | "husky" | "fs-extra" | "@types/fs-extra" | "mariadb" | "mise" | "npm" | "npm-check-updates" | "oidc-client-ts" | "pg" | "prisma" | "react-oidc-context" | "react" | "react-dom" | "rolldown" | "rolldown-plugin-dts" | "shx" | "simple-git" | "source-map-support" | "starlight-blog" | "tailwindcss" | "@tailwindcss/vite" | "tsx" | "lucide-react" | "radix-ui" | "shadcn" | "tw-animate-css" | "vite" | "typescript" | "vitest" | "jsdom" | "zod" | "ws", PyAgentA2aConnectionMetadata>[], readonly [{
|
|
13
|
+
export declare const DEPENDENCIES: import("../../../utils/declared-dependencies.js").DependencyDeclaration<readonly import("../../../utils/declared-dependencies.js").DeclaredTsDependency<"@ag-ui/client" | "@ag-ui/core" | "@ag-ui/encoder" | "@biomejs/biome" | "@a2a-js/sdk" | "@aws/aws-distro-opentelemetry-node-autoinstrumentation" | "@opentelemetry/propagator-jaeger" | "minimatch" | "deepmerge-ts" | "mysql2" | "@aws-sdk/client-dynamodb" | "@aws-sdk/client-api-gateway" | "@aws-sdk/client-iam" | "@aws-sdk/client-bedrock-agentcore" | "@aws-sdk/client-bedrock-runtime" | "@aws-sdk/client-s3" | "@aws-sdk/client-sts" | "@aws-sdk/client-cognito-identity-provider" | "@aws-sdk/credential-providers" | "@aws-sdk/credential-provider-cognito-identity" | "@aws-sdk/client-secrets-manager" | "@aws-sdk/rds-signer" | "@smithy/server-apigateway" | "@smithy/server-node" | "@aws-lambda-powertools/logger" | "@aws-lambda-powertools/metrics" | "@aws-lambda-powertools/parameters" | "@aws-lambda-powertools/tracer" | "@aws-lambda-powertools/parser" | "@aws-sdk/client-appconfigdata" | "@middy/core" | "@nxlv/python" | "@nx-extend/terraform" | "nx" | "@nx/devkit" | "@nx/js" | "@nx/react" | "@nx/vite" | "@nx/vitest" | "@nx/workspace" | "create-nx-workspace" | "@swc-node/register" | "@swc/core" | "@modelcontextprotocol/sdk" | "@modelcontextprotocol/client" | "@modelcontextprotocol/inspector" | "@ag-ui/a2ui-toolkit" | "@ag-ui/aws-strands" | "agent-chat-cli" | "@copilotkit/react-core" | "rxjs" | "@strands-agents/sdk" | "@tanstack/react-router" | "@tanstack/router-plugin" | "@tanstack/router-generator" | "@tanstack/virtual-file-routes" | "@tanstack/router-utils" | "@cloudscape-design/board-components" | "@cloudscape-design/chat-components" | "@cloudscape-design/components" | "@cloudscape-design/global-styles" | "@tanstack/react-query" | "@tanstack/react-query-devtools" | "@trpc/tanstack-react-query" | "@trpc/client" | "@trpc/server" | "@types/node" | "@types/aws-lambda" | "@types/cors" | "@types/pg" | "@types/ws" | "@types/express" | "@smithy/config-resolver" | "@smithy/node-config-provider" | "@smithy/node-http-handler" | "@smithy/types" | "@vitest/coverage-v8" | "@vitest/ui" | "@astrojs/react" | "@astrojs/starlight" | "astro" | "cookie" | "aws4fetch" | "aws-cdk" | "aws-cdk-lib" | "aws-xray-sdk-core" | "constructs" | "cors" | "chalk" | "class-variance-authority" | "cn" | "commander" | "electrodb" | "esbuild" | "event-source-polyfill" | "@types/event-source-polyfill" | "@prisma/adapter-mariadb" | "@prisma/adapter-pg" | "@prisma/client" | "ejs" | "@types/ejs" | "express" | "fast-glob" | "husky" | "fs-extra" | "@types/fs-extra" | "mariadb" | "mise" | "npm" | "npm-check-updates" | "oidc-client-ts" | "pg" | "prisma" | "react-oidc-context" | "react" | "react-dom" | "rolldown" | "rolldown-plugin-dts" | "shx" | "simple-git" | "source-map-support" | "starlight-blog" | "tailwindcss" | "@tailwindcss/vite" | "tsx" | "lucide-react" | "radix-ui" | "shadcn" | "tw-animate-css" | "vite" | "typescript" | "vitest" | "jsdom" | "zod" | "ws", PyAgentA2aConnectionMetadata>[], readonly [{
|
|
14
14
|
readonly name: "boto3";
|
|
15
15
|
}, {
|
|
16
16
|
readonly name: "httpx";
|
|
@@ -10,7 +10,7 @@ import type { PyAgentGatewayConnectionGeneratorSchema } from './schema';
|
|
|
10
10
|
export interface PyAgentGatewayConnectionMetadata {
|
|
11
11
|
readonly framework: AgentFramework;
|
|
12
12
|
}
|
|
13
|
-
export declare const DEPENDENCIES: import("../../../utils/declared-dependencies.js").DependencyDeclaration<readonly import("../../../utils/declared-dependencies.js").DeclaredTsDependency<"@ag-ui/client" | "@ag-ui/core" | "@ag-ui/encoder" | "@biomejs/biome" | "@a2a-js/sdk" | "@aws/aws-distro-opentelemetry-node-autoinstrumentation" | "@opentelemetry/propagator-jaeger" | "minimatch" | "deepmerge-ts" | "mysql2" | "@aws-sdk/client-dynamodb" | "@aws-sdk/client-api-gateway" | "@aws-sdk/client-iam" | "@aws-sdk/client-bedrock-agentcore" | "@aws-sdk/client-bedrock-runtime" | "@aws-sdk/client-s3" | "@aws-sdk/client-sts" | "@aws-sdk/client-cognito-identity-provider" | "@aws-sdk/credential-providers" | "@aws-sdk/credential-provider-cognito-identity" | "@aws-sdk/client-secrets-manager" | "@aws-sdk/rds-signer" | "@smithy/server-apigateway" | "@smithy/server-node" | "@aws-lambda-powertools/logger" | "@aws-lambda-powertools/metrics" | "@aws-lambda-powertools/parameters" | "@aws-lambda-powertools/tracer" | "@aws-lambda-powertools/parser" | "@aws-sdk/client-appconfigdata" | "@middy/core" | "@nxlv/python" | "@nx-extend/terraform" | "nx" | "@nx/devkit" | "@nx/js" | "@nx/react" | "@nx/vite" | "@nx/vitest" | "@nx/workspace" | "create-nx-workspace" | "@swc-node/register" | "@swc/core" | "@modelcontextprotocol/sdk" | "@modelcontextprotocol/inspector" | "@ag-ui/a2ui-toolkit" | "@ag-ui/aws-strands" | "agent-chat-cli" | "@copilotkit/react-core" | "rxjs" | "@strands-agents/sdk" | "@tanstack/react-router" | "@tanstack/router-plugin" | "@tanstack/router-generator" | "@tanstack/virtual-file-routes" | "@tanstack/router-utils" | "@cloudscape-design/board-components" | "@cloudscape-design/chat-components" | "@cloudscape-design/components" | "@cloudscape-design/global-styles" | "@tanstack/react-query" | "@tanstack/react-query-devtools" | "@trpc/tanstack-react-query" | "@trpc/client" | "@trpc/server" | "@types/node" | "@types/aws-lambda" | "@types/cors" | "@types/pg" | "@types/ws" | "@types/express" | "@smithy/config-resolver" | "@smithy/node-config-provider" | "@smithy/node-http-handler" | "@smithy/types" | "@vitest/coverage-v8" | "@vitest/ui" | "@astrojs/react" | "@astrojs/starlight" | "astro" | "cookie" | "aws4fetch" | "aws-cdk" | "aws-cdk-lib" | "aws-xray-sdk-core" | "constructs" | "cors" | "chalk" | "class-variance-authority" | "cn" | "commander" | "electrodb" | "esbuild" | "event-source-polyfill" | "@types/event-source-polyfill" | "@prisma/adapter-mariadb" | "@prisma/adapter-pg" | "@prisma/client" | "ejs" | "@types/ejs" | "express" | "fast-glob" | "husky" | "fs-extra" | "@types/fs-extra" | "mariadb" | "mise" | "npm" | "npm-check-updates" | "oidc-client-ts" | "pg" | "prisma" | "react-oidc-context" | "react" | "react-dom" | "rolldown" | "rolldown-plugin-dts" | "shx" | "simple-git" | "source-map-support" | "starlight-blog" | "tailwindcss" | "@tailwindcss/vite" | "tsx" | "lucide-react" | "radix-ui" | "shadcn" | "tw-animate-css" | "vite" | "typescript" | "vitest" | "jsdom" | "zod" | "ws", PyAgentGatewayConnectionMetadata>[], readonly [{
|
|
13
|
+
export declare const DEPENDENCIES: import("../../../utils/declared-dependencies.js").DependencyDeclaration<readonly import("../../../utils/declared-dependencies.js").DeclaredTsDependency<"@ag-ui/client" | "@ag-ui/core" | "@ag-ui/encoder" | "@biomejs/biome" | "@a2a-js/sdk" | "@aws/aws-distro-opentelemetry-node-autoinstrumentation" | "@opentelemetry/propagator-jaeger" | "minimatch" | "deepmerge-ts" | "mysql2" | "@aws-sdk/client-dynamodb" | "@aws-sdk/client-api-gateway" | "@aws-sdk/client-iam" | "@aws-sdk/client-bedrock-agentcore" | "@aws-sdk/client-bedrock-runtime" | "@aws-sdk/client-s3" | "@aws-sdk/client-sts" | "@aws-sdk/client-cognito-identity-provider" | "@aws-sdk/credential-providers" | "@aws-sdk/credential-provider-cognito-identity" | "@aws-sdk/client-secrets-manager" | "@aws-sdk/rds-signer" | "@smithy/server-apigateway" | "@smithy/server-node" | "@aws-lambda-powertools/logger" | "@aws-lambda-powertools/metrics" | "@aws-lambda-powertools/parameters" | "@aws-lambda-powertools/tracer" | "@aws-lambda-powertools/parser" | "@aws-sdk/client-appconfigdata" | "@middy/core" | "@nxlv/python" | "@nx-extend/terraform" | "nx" | "@nx/devkit" | "@nx/js" | "@nx/react" | "@nx/vite" | "@nx/vitest" | "@nx/workspace" | "create-nx-workspace" | "@swc-node/register" | "@swc/core" | "@modelcontextprotocol/sdk" | "@modelcontextprotocol/client" | "@modelcontextprotocol/inspector" | "@ag-ui/a2ui-toolkit" | "@ag-ui/aws-strands" | "agent-chat-cli" | "@copilotkit/react-core" | "rxjs" | "@strands-agents/sdk" | "@tanstack/react-router" | "@tanstack/router-plugin" | "@tanstack/router-generator" | "@tanstack/virtual-file-routes" | "@tanstack/router-utils" | "@cloudscape-design/board-components" | "@cloudscape-design/chat-components" | "@cloudscape-design/components" | "@cloudscape-design/global-styles" | "@tanstack/react-query" | "@tanstack/react-query-devtools" | "@trpc/tanstack-react-query" | "@trpc/client" | "@trpc/server" | "@types/node" | "@types/aws-lambda" | "@types/cors" | "@types/pg" | "@types/ws" | "@types/express" | "@smithy/config-resolver" | "@smithy/node-config-provider" | "@smithy/node-http-handler" | "@smithy/types" | "@vitest/coverage-v8" | "@vitest/ui" | "@astrojs/react" | "@astrojs/starlight" | "astro" | "cookie" | "aws4fetch" | "aws-cdk" | "aws-cdk-lib" | "aws-xray-sdk-core" | "constructs" | "cors" | "chalk" | "class-variance-authority" | "cn" | "commander" | "electrodb" | "esbuild" | "event-source-polyfill" | "@types/event-source-polyfill" | "@prisma/adapter-mariadb" | "@prisma/adapter-pg" | "@prisma/client" | "ejs" | "@types/ejs" | "express" | "fast-glob" | "husky" | "fs-extra" | "@types/fs-extra" | "mariadb" | "mise" | "npm" | "npm-check-updates" | "oidc-client-ts" | "pg" | "prisma" | "react-oidc-context" | "react" | "react-dom" | "rolldown" | "rolldown-plugin-dts" | "shx" | "simple-git" | "source-map-support" | "starlight-blog" | "tailwindcss" | "@tailwindcss/vite" | "tsx" | "lucide-react" | "radix-ui" | "shadcn" | "tw-animate-css" | "vite" | "typescript" | "vitest" | "jsdom" | "zod" | "ws", PyAgentGatewayConnectionMetadata>[], readonly [{
|
|
14
14
|
readonly name: "boto3";
|
|
15
15
|
}, {
|
|
16
16
|
readonly name: "httpx";
|
|
@@ -10,7 +10,7 @@ import type { PyAgentMcpConnectionGeneratorSchema } from './schema';
|
|
|
10
10
|
export interface PyAgentMcpConnectionMetadata {
|
|
11
11
|
readonly framework: AgentFramework;
|
|
12
12
|
}
|
|
13
|
-
export declare const DEPENDENCIES: import("../../../utils/declared-dependencies.js").DependencyDeclaration<readonly import("../../../utils/declared-dependencies.js").DeclaredTsDependency<"@ag-ui/client" | "@ag-ui/core" | "@ag-ui/encoder" | "@biomejs/biome" | "@a2a-js/sdk" | "@aws/aws-distro-opentelemetry-node-autoinstrumentation" | "@opentelemetry/propagator-jaeger" | "minimatch" | "deepmerge-ts" | "mysql2" | "@aws-sdk/client-dynamodb" | "@aws-sdk/client-api-gateway" | "@aws-sdk/client-iam" | "@aws-sdk/client-bedrock-agentcore" | "@aws-sdk/client-bedrock-runtime" | "@aws-sdk/client-s3" | "@aws-sdk/client-sts" | "@aws-sdk/client-cognito-identity-provider" | "@aws-sdk/credential-providers" | "@aws-sdk/credential-provider-cognito-identity" | "@aws-sdk/client-secrets-manager" | "@aws-sdk/rds-signer" | "@smithy/server-apigateway" | "@smithy/server-node" | "@aws-lambda-powertools/logger" | "@aws-lambda-powertools/metrics" | "@aws-lambda-powertools/parameters" | "@aws-lambda-powertools/tracer" | "@aws-lambda-powertools/parser" | "@aws-sdk/client-appconfigdata" | "@middy/core" | "@nxlv/python" | "@nx-extend/terraform" | "nx" | "@nx/devkit" | "@nx/js" | "@nx/react" | "@nx/vite" | "@nx/vitest" | "@nx/workspace" | "create-nx-workspace" | "@swc-node/register" | "@swc/core" | "@modelcontextprotocol/sdk" | "@modelcontextprotocol/inspector" | "@ag-ui/a2ui-toolkit" | "@ag-ui/aws-strands" | "agent-chat-cli" | "@copilotkit/react-core" | "rxjs" | "@strands-agents/sdk" | "@tanstack/react-router" | "@tanstack/router-plugin" | "@tanstack/router-generator" | "@tanstack/virtual-file-routes" | "@tanstack/router-utils" | "@cloudscape-design/board-components" | "@cloudscape-design/chat-components" | "@cloudscape-design/components" | "@cloudscape-design/global-styles" | "@tanstack/react-query" | "@tanstack/react-query-devtools" | "@trpc/tanstack-react-query" | "@trpc/client" | "@trpc/server" | "@types/node" | "@types/aws-lambda" | "@types/cors" | "@types/pg" | "@types/ws" | "@types/express" | "@smithy/config-resolver" | "@smithy/node-config-provider" | "@smithy/node-http-handler" | "@smithy/types" | "@vitest/coverage-v8" | "@vitest/ui" | "@astrojs/react" | "@astrojs/starlight" | "astro" | "cookie" | "aws4fetch" | "aws-cdk" | "aws-cdk-lib" | "aws-xray-sdk-core" | "constructs" | "cors" | "chalk" | "class-variance-authority" | "cn" | "commander" | "electrodb" | "esbuild" | "event-source-polyfill" | "@types/event-source-polyfill" | "@prisma/adapter-mariadb" | "@prisma/adapter-pg" | "@prisma/client" | "ejs" | "@types/ejs" | "express" | "fast-glob" | "husky" | "fs-extra" | "@types/fs-extra" | "mariadb" | "mise" | "npm" | "npm-check-updates" | "oidc-client-ts" | "pg" | "prisma" | "react-oidc-context" | "react" | "react-dom" | "rolldown" | "rolldown-plugin-dts" | "shx" | "simple-git" | "source-map-support" | "starlight-blog" | "tailwindcss" | "@tailwindcss/vite" | "tsx" | "lucide-react" | "radix-ui" | "shadcn" | "tw-animate-css" | "vite" | "typescript" | "vitest" | "jsdom" | "zod" | "ws", PyAgentMcpConnectionMetadata>[], readonly [{
|
|
13
|
+
export declare const DEPENDENCIES: import("../../../utils/declared-dependencies.js").DependencyDeclaration<readonly import("../../../utils/declared-dependencies.js").DeclaredTsDependency<"@ag-ui/client" | "@ag-ui/core" | "@ag-ui/encoder" | "@biomejs/biome" | "@a2a-js/sdk" | "@aws/aws-distro-opentelemetry-node-autoinstrumentation" | "@opentelemetry/propagator-jaeger" | "minimatch" | "deepmerge-ts" | "mysql2" | "@aws-sdk/client-dynamodb" | "@aws-sdk/client-api-gateway" | "@aws-sdk/client-iam" | "@aws-sdk/client-bedrock-agentcore" | "@aws-sdk/client-bedrock-runtime" | "@aws-sdk/client-s3" | "@aws-sdk/client-sts" | "@aws-sdk/client-cognito-identity-provider" | "@aws-sdk/credential-providers" | "@aws-sdk/credential-provider-cognito-identity" | "@aws-sdk/client-secrets-manager" | "@aws-sdk/rds-signer" | "@smithy/server-apigateway" | "@smithy/server-node" | "@aws-lambda-powertools/logger" | "@aws-lambda-powertools/metrics" | "@aws-lambda-powertools/parameters" | "@aws-lambda-powertools/tracer" | "@aws-lambda-powertools/parser" | "@aws-sdk/client-appconfigdata" | "@middy/core" | "@nxlv/python" | "@nx-extend/terraform" | "nx" | "@nx/devkit" | "@nx/js" | "@nx/react" | "@nx/vite" | "@nx/vitest" | "@nx/workspace" | "create-nx-workspace" | "@swc-node/register" | "@swc/core" | "@modelcontextprotocol/sdk" | "@modelcontextprotocol/client" | "@modelcontextprotocol/inspector" | "@ag-ui/a2ui-toolkit" | "@ag-ui/aws-strands" | "agent-chat-cli" | "@copilotkit/react-core" | "rxjs" | "@strands-agents/sdk" | "@tanstack/react-router" | "@tanstack/router-plugin" | "@tanstack/router-generator" | "@tanstack/virtual-file-routes" | "@tanstack/router-utils" | "@cloudscape-design/board-components" | "@cloudscape-design/chat-components" | "@cloudscape-design/components" | "@cloudscape-design/global-styles" | "@tanstack/react-query" | "@tanstack/react-query-devtools" | "@trpc/tanstack-react-query" | "@trpc/client" | "@trpc/server" | "@types/node" | "@types/aws-lambda" | "@types/cors" | "@types/pg" | "@types/ws" | "@types/express" | "@smithy/config-resolver" | "@smithy/node-config-provider" | "@smithy/node-http-handler" | "@smithy/types" | "@vitest/coverage-v8" | "@vitest/ui" | "@astrojs/react" | "@astrojs/starlight" | "astro" | "cookie" | "aws4fetch" | "aws-cdk" | "aws-cdk-lib" | "aws-xray-sdk-core" | "constructs" | "cors" | "chalk" | "class-variance-authority" | "cn" | "commander" | "electrodb" | "esbuild" | "event-source-polyfill" | "@types/event-source-polyfill" | "@prisma/adapter-mariadb" | "@prisma/adapter-pg" | "@prisma/client" | "ejs" | "@types/ejs" | "express" | "fast-glob" | "husky" | "fs-extra" | "@types/fs-extra" | "mariadb" | "mise" | "npm" | "npm-check-updates" | "oidc-client-ts" | "pg" | "prisma" | "react-oidc-context" | "react" | "react-dom" | "rolldown" | "rolldown-plugin-dts" | "shx" | "simple-git" | "source-map-support" | "starlight-blog" | "tailwindcss" | "@tailwindcss/vite" | "tsx" | "lucide-react" | "radix-ui" | "shadcn" | "tw-animate-css" | "vite" | "typescript" | "vitest" | "jsdom" | "zod" | "ws", PyAgentMcpConnectionMetadata>[], readonly [{
|
|
14
14
|
readonly name: "boto3";
|
|
15
15
|
}, {
|
|
16
16
|
readonly name: "httpx";
|
|
@@ -35,7 +35,7 @@ exports[`py#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.
|
|
38
|
+
version = "6.68.0"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -232,7 +232,7 @@ exports[`py#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.
|
|
235
|
+
version = "6.68.0"
|
|
236
236
|
}
|
|
237
237
|
random = {
|
|
238
238
|
source = "hashicorp/random"
|
|
@@ -775,13 +775,15 @@ class BaseModel(Model):
|
|
|
775
775
|
See https://pynamodb.readthedocs.io/en/stable/polymorphism.html
|
|
776
776
|
"""
|
|
777
777
|
|
|
778
|
-
class
|
|
778
|
+
class _Meta(MetaProtocol):
|
|
779
779
|
table_name: str
|
|
780
780
|
region = os.environ.get("AWS_REGION", "us-east-1")
|
|
781
781
|
host = f"http://localhost:{_local_dev()['port']}" if is_local() else None
|
|
782
782
|
aws_access_key_id = "UNUSED" if is_local() else None
|
|
783
783
|
aws_secret_access_key = "UNUSED" if is_local() else None
|
|
784
784
|
|
|
785
|
+
Meta: MetaProtocol = _Meta
|
|
786
|
+
|
|
785
787
|
entity_type = DiscriminatorAttribute()
|
|
786
788
|
|
|
787
789
|
pk = UnicodeAttribute(hash_key=True)
|
|
@@ -1495,13 +1497,15 @@ class BaseModel(Model):
|
|
|
1495
1497
|
See https://pynamodb.readthedocs.io/en/stable/polymorphism.html
|
|
1496
1498
|
"""
|
|
1497
1499
|
|
|
1498
|
-
class
|
|
1500
|
+
class _Meta(MetaProtocol):
|
|
1499
1501
|
table_name: str
|
|
1500
1502
|
region = os.environ.get("AWS_REGION", "us-east-1")
|
|
1501
1503
|
host = f"http://localhost:{_local_dev()['port']}" if is_local() else None
|
|
1502
1504
|
aws_access_key_id = "UNUSED" if is_local() else None
|
|
1503
1505
|
aws_secret_access_key = "UNUSED" if is_local() else None
|
|
1504
1506
|
|
|
1507
|
+
Meta: MetaProtocol = _Meta
|
|
1508
|
+
|
|
1505
1509
|
entity_type = DiscriminatorAttribute()
|
|
1506
1510
|
|
|
1507
1511
|
pk = UnicodeAttribute(hash_key=True)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { type Tree } from '@nx/devkit';
|
|
6
|
+
/**
|
|
7
|
+
* The shapes of the `BaseModel` Meta block py#dynamodb has vended in
|
|
8
|
+
* `<module>/entities/base.py`, shared by the migrations that carry an existing
|
|
9
|
+
* base.py to the shape the generator writes today.
|
|
10
|
+
*/
|
|
11
|
+
/** The pynamodb.models import of a base.py whose Meta is untyped. */
|
|
12
|
+
export declare const UNTYPED_IMPORT = "\nfrom pynamodb.models import Model\n";
|
|
13
|
+
/** The pynamodb.models import of a base.py whose Meta is typed. */
|
|
14
|
+
export declare const TYPED_IMPORT = "\nfrom pynamodb.models import MetaProtocol, Model\n";
|
|
15
|
+
/** A nested Meta that types none of pynamodb's `MetaProtocol` members. */
|
|
16
|
+
export declare const UNTYPED_META_HEADER = " class Meta:\n";
|
|
17
|
+
/** A nested Meta that subclasses `MetaProtocol` but narrows the mutable `Meta`. */
|
|
18
|
+
export declare const NESTED_PROTOCOL_META_HEADER = " class Meta(MetaProtocol):\n";
|
|
19
|
+
/** The block the generator writes today, bound to `Meta` by `META_BINDING`. */
|
|
20
|
+
export declare const BOUND_META_HEADER = " class _Meta(MetaProtocol):\n";
|
|
21
|
+
/** Binds `Meta` to the block while keeping pynamodb's declared type. */
|
|
22
|
+
export declare const META_BINDING = " Meta: MetaProtocol = _Meta\n";
|
|
23
|
+
/** One way the generator has written the block's body. */
|
|
24
|
+
export interface MetaBlockShape {
|
|
25
|
+
readonly helper: string;
|
|
26
|
+
readonly quote: string;
|
|
27
|
+
}
|
|
28
|
+
/** Every shape of the block's body the generator has written. */
|
|
29
|
+
export declare const META_BLOCK_SHAPES: readonly MetaBlockShape[];
|
|
30
|
+
/** The vended `BaseModel` Meta block, up to the blank line that ends it. */
|
|
31
|
+
export declare const metaBlock: (header: string, { helper, quote }: MetaBlockShape, binding?: string) => string;
|
|
32
|
+
/** The shape of `content`'s block under `header`, if it has a vended one. */
|
|
33
|
+
export declare const findMetaBlockShape: (content: string, header: string) => MetaBlockShape | undefined;
|
|
34
|
+
/** Rewrite the vended block under `header` to the shape vended today. */
|
|
35
|
+
export declare const bindMetaBlock: (content: string, header: string, shape: MetaBlockShape) => string;
|
|
36
|
+
/** The nextSteps entry for a base.py whose Meta or import has diverged. */
|
|
37
|
+
export declare const divergedMetaNextStep: (filePath: string) => string;
|
|
38
|
+
/** The base.py path of every py#dynamodb project, whether or not it exists. */
|
|
39
|
+
export declare const pyDynamoDbBasePyPaths: (tree: Tree) => string[];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/ import { getProjects, joinPathFragments } from "@nx/devkit";
|
|
5
|
+
import { PY_DYNAMODB_GENERATOR_INFO } from "./generator.js";
|
|
6
|
+
/**
|
|
7
|
+
* The shapes of the `BaseModel` Meta block py#dynamodb has vended in
|
|
8
|
+
* `<module>/entities/base.py`, shared by the migrations that carry an existing
|
|
9
|
+
* base.py to the shape the generator writes today.
|
|
10
|
+
*/ /** The pynamodb.models import of a base.py whose Meta is untyped. */ export const UNTYPED_IMPORT = '\nfrom pynamodb.models import Model\n';
|
|
11
|
+
/** The pynamodb.models import of a base.py whose Meta is typed. */ export const TYPED_IMPORT = '\nfrom pynamodb.models import MetaProtocol, Model\n';
|
|
12
|
+
/** A nested Meta that types none of pynamodb's `MetaProtocol` members. */ export const UNTYPED_META_HEADER = ' class Meta:\n';
|
|
13
|
+
/** A nested Meta that subclasses `MetaProtocol` but narrows the mutable `Meta`. */ export const NESTED_PROTOCOL_META_HEADER = ' class Meta(MetaProtocol):\n';
|
|
14
|
+
/** The block the generator writes today, bound to `Meta` by `META_BINDING`. */ export const BOUND_META_HEADER = ' class _Meta(MetaProtocol):\n';
|
|
15
|
+
/** Binds `Meta` to the block while keeping pynamodb's declared type. */ export const META_BINDING = ' Meta: MetaProtocol = _Meta\n';
|
|
16
|
+
/**
|
|
17
|
+
* The helper the vended `host` line reads the local port through. Workspaces
|
|
18
|
+
* generated before the serve-local -> local-dev rename use `_serve_local`.
|
|
19
|
+
*/ const LOCAL_DEV_HELPERS = [
|
|
20
|
+
'_local_dev',
|
|
21
|
+
'_serve_local'
|
|
22
|
+
];
|
|
23
|
+
/**
|
|
24
|
+
* The quote the block's string literals use: the template's single quotes, or
|
|
25
|
+
* the double quotes `ruff format` rewrites them to.
|
|
26
|
+
*/ const QUOTES = [
|
|
27
|
+
'"',
|
|
28
|
+
"'"
|
|
29
|
+
];
|
|
30
|
+
/** Every shape of the block's body the generator has written. */ export const META_BLOCK_SHAPES = LOCAL_DEV_HELPERS.flatMap((helper)=>QUOTES.map((quote)=>({
|
|
31
|
+
helper,
|
|
32
|
+
quote
|
|
33
|
+
})));
|
|
34
|
+
/** The vended `BaseModel` Meta block, up to the blank line that ends it. */ export const metaBlock = (header, { helper, quote }, binding = '')=>`${header} table_name: str
|
|
35
|
+
region = os.environ.get("AWS_REGION", ${quote}us-east-1${quote})
|
|
36
|
+
host = f"http://localhost:{${helper}()['port']}" if is_local() else None
|
|
37
|
+
aws_access_key_id = ${quote}UNUSED${quote} if is_local() else None
|
|
38
|
+
aws_secret_access_key = ${quote}UNUSED${quote} if is_local() else None
|
|
39
|
+
${binding ? `\n${binding}` : ''}
|
|
40
|
+
`;
|
|
41
|
+
/** The shape of `content`'s block under `header`, if it has a vended one. */ export const findMetaBlockShape = (content, header)=>META_BLOCK_SHAPES.find((shape)=>content.includes(metaBlock(header, shape)));
|
|
42
|
+
/** Rewrite the vended block under `header` to the shape vended today. */ export const bindMetaBlock = (content, header, shape)=>content.replace(metaBlock(header, shape), metaBlock(BOUND_META_HEADER, shape, META_BINDING));
|
|
43
|
+
/** The nextSteps entry for a base.py whose Meta or import has diverged. */ export const divergedMetaNextStep = (filePath)=>`${filePath}: its BaseModel Meta class or its pynamodb.models import has been customised, so it was left unchanged. If \`ty check\` reports invalid-attribute-override or invalid-mutable-override for it, declare the class as \`class _Meta(MetaProtocol):\` followed by \`Meta: MetaProtocol = _Meta\`, importing MetaProtocol from pynamodb.models.`;
|
|
44
|
+
/** The base.py path of every py#dynamodb project, whether or not it exists. */ export const pyDynamoDbBasePyPaths = (tree)=>[
|
|
45
|
+
...getProjects(tree).values()
|
|
46
|
+
].flatMap((project)=>{
|
|
47
|
+
const generator = project.metadata?.generator;
|
|
48
|
+
// py#dynamodb writes its package under the project's sourceRoot.
|
|
49
|
+
return generator === PY_DYNAMODB_GENERATOR_INFO.id && project.sourceRoot ? [
|
|
50
|
+
joinPathFragments(project.sourceRoot, 'entities', 'base.py')
|
|
51
|
+
] : [];
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=base-model-meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../packages/nx-plugin/src/py/dynamodb/base-model-meta.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { getProjects, joinPathFragments, type Tree } from '@nx/devkit';\nimport { PY_DYNAMODB_GENERATOR_INFO } from './generator.js';\n\n/**\n * The shapes of the `BaseModel` Meta block py#dynamodb has vended in\n * `<module>/entities/base.py`, shared by the migrations that carry an existing\n * base.py to the shape the generator writes today.\n */\n\n/** The pynamodb.models import of a base.py whose Meta is untyped. */\nexport const UNTYPED_IMPORT = '\\nfrom pynamodb.models import Model\\n';\n\n/** The pynamodb.models import of a base.py whose Meta is typed. */\nexport const TYPED_IMPORT =\n '\\nfrom pynamodb.models import MetaProtocol, Model\\n';\n\n/** A nested Meta that types none of pynamodb's `MetaProtocol` members. */\nexport const UNTYPED_META_HEADER = ' class Meta:\\n';\n\n/** A nested Meta that subclasses `MetaProtocol` but narrows the mutable `Meta`. */\nexport const NESTED_PROTOCOL_META_HEADER = ' class Meta(MetaProtocol):\\n';\n\n/** The block the generator writes today, bound to `Meta` by `META_BINDING`. */\nexport const BOUND_META_HEADER = ' class _Meta(MetaProtocol):\\n';\n\n/** Binds `Meta` to the block while keeping pynamodb's declared type. */\nexport const META_BINDING = ' Meta: MetaProtocol = _Meta\\n';\n\n/**\n * The helper the vended `host` line reads the local port through. Workspaces\n * generated before the serve-local -> local-dev rename use `_serve_local`.\n */\nconst LOCAL_DEV_HELPERS = ['_local_dev', '_serve_local'];\n\n/**\n * The quote the block's string literals use: the template's single quotes, or\n * the double quotes `ruff format` rewrites them to.\n */\nconst QUOTES = ['\"', \"'\"];\n\n/** One way the generator has written the block's body. */\nexport interface MetaBlockShape {\n readonly helper: string;\n readonly quote: string;\n}\n\n/** Every shape of the block's body the generator has written. */\nexport const META_BLOCK_SHAPES: readonly MetaBlockShape[] =\n LOCAL_DEV_HELPERS.flatMap((helper) =>\n QUOTES.map((quote) => ({ helper, quote })),\n );\n\n/** The vended `BaseModel` Meta block, up to the blank line that ends it. */\nexport const metaBlock = (\n header: string,\n { helper, quote }: MetaBlockShape,\n binding = '',\n): string =>\n `${header} table_name: str\n region = os.environ.get(\"AWS_REGION\", ${quote}us-east-1${quote})\n host = f\"http://localhost:{${helper}()['port']}\" if is_local() else None\n aws_access_key_id = ${quote}UNUSED${quote} if is_local() else None\n aws_secret_access_key = ${quote}UNUSED${quote} if is_local() else None\n${binding ? `\\n${binding}` : ''}\n`;\n\n/** The shape of `content`'s block under `header`, if it has a vended one. */\nexport const findMetaBlockShape = (\n content: string,\n header: string,\n): MetaBlockShape | undefined =>\n META_BLOCK_SHAPES.find((shape) => content.includes(metaBlock(header, shape)));\n\n/** Rewrite the vended block under `header` to the shape vended today. */\nexport const bindMetaBlock = (\n content: string,\n header: string,\n shape: MetaBlockShape,\n): string =>\n content.replace(\n metaBlock(header, shape),\n metaBlock(BOUND_META_HEADER, shape, META_BINDING),\n );\n\n/** The nextSteps entry for a base.py whose Meta or import has diverged. */\nexport const divergedMetaNextStep = (filePath: string): string =>\n `${filePath}: its BaseModel Meta class or its pynamodb.models import has been customised, so it was left unchanged. If \\`ty check\\` reports invalid-attribute-override or invalid-mutable-override for it, declare the class as \\`class _Meta(MetaProtocol):\\` followed by \\`Meta: MetaProtocol = _Meta\\`, importing MetaProtocol from pynamodb.models.`;\n\n/** The base.py path of every py#dynamodb project, whether or not it exists. */\nexport const pyDynamoDbBasePyPaths = (tree: Tree): string[] =>\n [...getProjects(tree).values()].flatMap((project) => {\n const generator = (project.metadata as { generator?: string } | undefined)\n ?.generator;\n // py#dynamodb writes its package under the project's sourceRoot.\n return generator === PY_DYNAMODB_GENERATOR_INFO.id && project.sourceRoot\n ? [joinPathFragments(project.sourceRoot, 'entities', 'base.py')]\n : [];\n });\n"],"names":["getProjects","joinPathFragments","PY_DYNAMODB_GENERATOR_INFO","UNTYPED_IMPORT","TYPED_IMPORT","UNTYPED_META_HEADER","NESTED_PROTOCOL_META_HEADER","BOUND_META_HEADER","META_BINDING","LOCAL_DEV_HELPERS","QUOTES","META_BLOCK_SHAPES","flatMap","helper","map","quote","metaBlock","header","binding","findMetaBlockShape","content","find","shape","includes","bindMetaBlock","replace","divergedMetaNextStep","filePath","pyDynamoDbBasePyPaths","tree","values","project","generator","metadata","id","sourceRoot"],"mappings":"AAAA;;;CAGC,GACD,SAASA,WAAW,EAAEC,iBAAiB,QAAmB,aAAa;AACvE,SAASC,0BAA0B,QAAQ,iBAAiB;AAE5D;;;;CAIC,GAED,mEAAmE,GACnE,OAAO,MAAMC,iBAAiB,wCAAwC;AAEtE,iEAAiE,GACjE,OAAO,MAAMC,eACX,sDAAsD;AAExD,wEAAwE,GACxE,OAAO,MAAMC,sBAAsB,oBAAoB;AAEvD,iFAAiF,GACjF,OAAO,MAAMC,8BAA8B,kCAAkC;AAE7E,6EAA6E,GAC7E,OAAO,MAAMC,oBAAoB,mCAAmC;AAEpE,sEAAsE,GACtE,OAAO,MAAMC,eAAe,mCAAmC;AAE/D;;;CAGC,GACD,MAAMC,oBAAoB;IAAC;IAAc;CAAe;AAExD;;;CAGC,GACD,MAAMC,SAAS;IAAC;IAAK;CAAI;AAQzB,+DAA+D,GAC/D,OAAO,MAAMC,oBACXF,kBAAkBG,OAAO,CAAC,CAACC,SACzBH,OAAOI,GAAG,CAAC,CAACC,QAAW,CAAA;YAAEF;YAAQE;QAAM,CAAA,IACvC;AAEJ,0EAA0E,GAC1E,OAAO,MAAMC,YAAY,CACvBC,QACA,EAAEJ,MAAM,EAAEE,KAAK,EAAkB,EACjCG,UAAU,EAAE,GAEZ,GAAGD,OAAO;8CACkC,EAAEF,MAAM,SAAS,EAAEA,MAAM;mCACpC,EAAEF,OAAO;4BAChB,EAAEE,MAAM,MAAM,EAAEA,MAAM;gCAClB,EAAEA,MAAM,MAAM,EAAEA,MAAM;AACtD,EAAEG,UAAU,CAAC,EAAE,EAAEA,SAAS,GAAG,GAAG;AAChC,CAAC,CAAC;AAEF,2EAA2E,GAC3E,OAAO,MAAMC,qBAAqB,CAChCC,SACAH,SAEAN,kBAAkBU,IAAI,CAAC,CAACC,QAAUF,QAAQG,QAAQ,CAACP,UAAUC,QAAQK,SAAS;AAEhF,uEAAuE,GACvE,OAAO,MAAME,gBAAgB,CAC3BJ,SACAH,QACAK,QAEAF,QAAQK,OAAO,CACbT,UAAUC,QAAQK,QAClBN,UAAUT,mBAAmBe,OAAOd,eACpC;AAEJ,yEAAyE,GACzE,OAAO,MAAMkB,uBAAuB,CAACC,WACnC,GAAGA,SAAS,2UAA2U,CAAC,CAAC;AAE3V,6EAA6E,GAC7E,OAAO,MAAMC,wBAAwB,CAACC,OACpC;WAAI7B,YAAY6B,MAAMC,MAAM;KAAG,CAAClB,OAAO,CAAC,CAACmB;QACvC,MAAMC,YAAaD,QAAQE,QAAQ,EAC/BD;QACJ,iEAAiE;QACjE,OAAOA,cAAc9B,2BAA2BgC,EAAE,IAAIH,QAAQI,UAAU,GACpE;YAAClC,kBAAkB8B,QAAQI,UAAU,EAAE,YAAY;SAAW,GAC9D,EAAE;IACR,GAAG"}
|
|
@@ -38,13 +38,15 @@ class BaseModel(Model):
|
|
|
38
38
|
See https://pynamodb.readthedocs.io/en/stable/polymorphism.html
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
|
-
class
|
|
41
|
+
class _Meta(MetaProtocol):
|
|
42
42
|
table_name: str
|
|
43
43
|
region = os.environ.get("AWS_REGION", 'us-east-1')
|
|
44
44
|
host = f"http://localhost:{_local_dev()['port']}" if is_local() else None
|
|
45
45
|
aws_access_key_id = 'UNUSED' if is_local() else None
|
|
46
46
|
aws_secret_access_key = 'UNUSED' if is_local() else None
|
|
47
47
|
|
|
48
|
+
Meta: MetaProtocol = _Meta
|
|
49
|
+
|
|
48
50
|
entity_type = DiscriminatorAttribute()
|
|
49
51
|
|
|
50
52
|
pk = UnicodeAttribute(hash_key=True)
|
|
@@ -11,7 +11,7 @@ terraform {
|
|
|
11
11
|
required_providers {
|
|
12
12
|
aws = {
|
|
13
13
|
source = "hashicorp/aws"
|
|
14
|
-
version = "6.
|
|
14
|
+
version = "6.68.0"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -262,7 +262,7 @@ output "api_log_group_arn" {
|
|
|
262
262
|
}
|
|
263
263
|
aws = {
|
|
264
264
|
source = "hashicorp/aws"
|
|
265
|
-
version = "6.
|
|
265
|
+
version = "6.68.0"
|
|
266
266
|
}
|
|
267
267
|
random = {
|
|
268
268
|
source = "hashicorp/random"
|
|
@@ -908,7 +908,7 @@ terraform {
|
|
|
908
908
|
required_providers {
|
|
909
909
|
aws = {
|
|
910
910
|
source = "hashicorp/aws"
|
|
911
|
-
version = "6.
|
|
911
|
+
version = "6.68.0"
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
}
|
|
@@ -1159,7 +1159,7 @@ output "api_log_group_arn" {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
aws = {
|
|
1161
1161
|
source = "hashicorp/aws"
|
|
1162
|
-
version = "6.
|
|
1162
|
+
version = "6.68.0"
|
|
1163
1163
|
}
|
|
1164
1164
|
random = {
|
|
1165
1165
|
source = "hashicorp/random"
|
|
@@ -1878,7 +1878,7 @@ terraform {
|
|
|
1878
1878
|
required_providers {
|
|
1879
1879
|
aws = {
|
|
1880
1880
|
source = "hashicorp/aws"
|
|
1881
|
-
version = "6.
|
|
1881
|
+
version = "6.68.0"
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
1884
|
}
|
|
@@ -2129,7 +2129,7 @@ output "api_log_group_arn" {
|
|
|
2129
2129
|
}
|
|
2130
2130
|
aws = {
|
|
2131
2131
|
source = "hashicorp/aws"
|
|
2132
|
-
version = "6.
|
|
2132
|
+
version = "6.68.0"
|
|
2133
2133
|
}
|
|
2134
2134
|
random = {
|
|
2135
2135
|
source = "hashicorp/random"
|
|
@@ -2752,7 +2752,7 @@ terraform {
|
|
|
2752
2752
|
required_providers {
|
|
2753
2753
|
aws = {
|
|
2754
2754
|
source = "hashicorp/aws"
|
|
2755
|
-
version = "6.
|
|
2755
|
+
version = "6.68.0"
|
|
2756
2756
|
}
|
|
2757
2757
|
random = {
|
|
2758
2758
|
source = "hashicorp/random"
|
|
@@ -3065,7 +3065,7 @@ output "waf_web_acl_arn" {
|
|
|
3065
3065
|
}
|
|
3066
3066
|
aws = {
|
|
3067
3067
|
source = "hashicorp/aws"
|
|
3068
|
-
version = "6.
|
|
3068
|
+
version = "6.68.0"
|
|
3069
3069
|
}
|
|
3070
3070
|
random = {
|
|
3071
3071
|
source = "hashicorp/random"
|
|
@@ -4162,7 +4162,7 @@ terraform {
|
|
|
4162
4162
|
required_providers {
|
|
4163
4163
|
aws = {
|
|
4164
4164
|
source = "hashicorp/aws"
|
|
4165
|
-
version = "6.
|
|
4165
|
+
version = "6.68.0"
|
|
4166
4166
|
}
|
|
4167
4167
|
random = {
|
|
4168
4168
|
source = "hashicorp/random"
|
|
@@ -4475,7 +4475,7 @@ output "waf_web_acl_arn" {
|
|
|
4475
4475
|
}
|
|
4476
4476
|
aws = {
|
|
4477
4477
|
source = "hashicorp/aws"
|
|
4478
|
-
version = "6.
|
|
4478
|
+
version = "6.68.0"
|
|
4479
4479
|
}
|
|
4480
4480
|
random = {
|
|
4481
4481
|
source = "hashicorp/random"
|
|
@@ -5561,7 +5561,7 @@ terraform {
|
|
|
5561
5561
|
required_providers {
|
|
5562
5562
|
aws = {
|
|
5563
5563
|
source = "hashicorp/aws"
|
|
5564
|
-
version = "6.
|
|
5564
|
+
version = "6.68.0"
|
|
5565
5565
|
}
|
|
5566
5566
|
random = {
|
|
5567
5567
|
source = "hashicorp/random"
|
|
@@ -5874,7 +5874,7 @@ output "waf_web_acl_arn" {
|
|
|
5874
5874
|
}
|
|
5875
5875
|
aws = {
|
|
5876
5876
|
source = "hashicorp/aws"
|
|
5877
|
-
version = "6.
|
|
5877
|
+
version = "6.68.0"
|
|
5878
5878
|
}
|
|
5879
5879
|
random = {
|
|
5880
5880
|
source = "hashicorp/random"
|
|
@@ -71,7 +71,7 @@ exports[`lambda-handler project generator > terraform iac > should generate terr
|
|
|
71
71
|
required_providers {
|
|
72
72
|
aws = {
|
|
73
73
|
source = "hashicorp/aws"
|
|
74
|
-
version = "6.
|
|
74
|
+
version = "6.68.0"
|
|
75
75
|
}
|
|
76
76
|
archive = {
|
|
77
77
|
source = "hashicorp/archive"
|
|
@@ -256,7 +256,7 @@ exports[`lambda-handler project generator > terraform iac > should match snapsho
|
|
|
256
256
|
required_providers {
|
|
257
257
|
aws = {
|
|
258
258
|
source = "hashicorp/aws"
|
|
259
|
-
version = "6.
|
|
259
|
+
version = "6.68.0"
|
|
260
260
|
}
|
|
261
261
|
archive = {
|
|
262
262
|
source = "hashicorp/archive"
|
|
@@ -155,7 +155,7 @@ exports[`py#mcp-server generator > should match snapshot for Terraform generated
|
|
|
155
155
|
required_providers {
|
|
156
156
|
aws = {
|
|
157
157
|
source = "hashicorp/aws"
|
|
158
|
-
version = "6.
|
|
158
|
+
version = "6.68.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.
|
|
517
|
+
uv run --with boto3==1.43.113 python -c "
|
|
518
518
|
import boto3
|
|
519
519
|
import json
|
|
520
520
|
import os
|
|
@@ -804,7 +804,7 @@ dependencies = [
|
|
|
804
804
|
"aws-lambda-powertools==3.35.0",
|
|
805
805
|
"mcp==1.28.1",
|
|
806
806
|
"uvicorn==0.54.0",
|
|
807
|
-
"boto3==1.43.
|
|
807
|
+
"boto3==1.43.113",
|
|
808
808
|
"aws-opentelemetry-distro==0.21.0"
|
|
809
809
|
]
|
|
810
810
|
|
|
@@ -228,7 +228,7 @@ exports[`py#rdb generator > should generate Terraform modules 1`] = `
|
|
|
228
228
|
}
|
|
229
229
|
aws = {
|
|
230
230
|
source = "hashicorp/aws"
|
|
231
|
-
version = "6.
|
|
231
|
+
version = "6.68.0"
|
|
232
232
|
}
|
|
233
233
|
external = {
|
|
234
234
|
source = "hashicorp/external"
|
|
@@ -1503,11 +1503,11 @@ description = "Automatically generated by Nx."
|
|
|
1503
1503
|
requires-python = ">=3.14"
|
|
1504
1504
|
readme = "README.md"
|
|
1505
1505
|
dependencies = [
|
|
1506
|
-
"sqlmodel==0.0.
|
|
1506
|
+
"sqlmodel==0.0.48",
|
|
1507
1507
|
"alembic==1.20.0",
|
|
1508
1508
|
"greenlet==3.5.6",
|
|
1509
|
-
"asyncpg==0.
|
|
1510
|
-
"boto3==1.43.
|
|
1509
|
+
"asyncpg==0.32.0",
|
|
1510
|
+
"boto3==1.43.113",
|
|
1511
1511
|
"aws-lambda-powertools==3.35.0"
|
|
1512
1512
|
]
|
|
1513
1513
|
|
|
@@ -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.
|
|
49
|
+
"npx -y mise@2026.10.9 exec smithy@1.74.0 -- 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.
|
|
127
|
+
"npx -y mise@2026.10.9 exec smithy@1.74.0 -- 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.
|
|
187
|
+
"npx -y mise@2026.10.9 exec smithy@1.74.0 -- 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.
|
|
339
|
+
"npx -y mise@2026.10.9 exec smithy@1.74.0 -- 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.
|
|
485
|
+
"npx -y mise@2026.10.9 exec smithy@1.74.0 -- 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
|
],
|