@aws/nx-plugin-mcp 1.0.0-rc.9 → 1.0.0-rc.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/aws-nx-mcp.js +14263 -13571
- package/docs/get_started/building-with-ai.mdx +116 -0
- package/docs/get_started/concepts.mdx +67 -0
- package/docs/get_started/existing-project.mdx +180 -0
- package/docs/get_started/graph-builder.mdx +39 -0
- package/docs/get_started/quick-start.mdx +277 -0
- package/docs/get_started/tutorials/contribute-generator.mdx +408 -0
- package/docs/get_started/tutorials/dungeon-game/1.mdx +1578 -0
- package/docs/get_started/tutorials/dungeon-game/2.mdx +245 -0
- package/docs/get_started/tutorials/dungeon-game/3.mdx +66 -0
- package/docs/get_started/tutorials/dungeon-game/4.mdx +164 -0
- package/docs/get_started/tutorials/dungeon-game/overview.mdx +145 -0
- package/docs/get_started/tutorials/dungeon-game/wrap-up.mdx +41 -0
- package/docs/get_started/upgrading.mdx +157 -0
- package/docs/guides/agentcore-gateway.mdx +490 -0
- package/docs/guides/agentcore-harness.mdx +312 -0
- package/docs/guides/astro-docs.mdx +8 -0
- package/docs/guides/connection/agentcore-gateway-agent.mdx +222 -0
- package/docs/guides/connection/agentcore-gateway-gateway.mdx +154 -0
- package/docs/guides/connection/agentcore-gateway-mcp.mdx +134 -0
- package/docs/guides/connection/py-agent-a2a.mdx +48 -16
- package/docs/guides/connection/py-agent-dynamodb.mdx +115 -0
- package/docs/guides/connection/py-agent-gateway.mdx +182 -0
- package/docs/guides/connection/py-agent-mcp.mdx +43 -14
- package/docs/guides/connection/py-agent-rdb.mdx +169 -0
- package/docs/guides/connection/py-fast-api-dynamodb.mdx +56 -0
- package/docs/guides/connection/py-fast-api-rdb.mdx +175 -0
- package/docs/guides/connection/py-mcp-server-dynamodb.mdx +115 -0
- package/docs/guides/connection/py-mcp-server-rdb.mdx +178 -0
- package/docs/guides/connection/react-agentcore-gateway.mdx +112 -0
- package/docs/guides/connection/react-agui.mdx +33 -14
- package/docs/guides/connection/react-fastapi.mdx +39 -3
- package/docs/guides/connection/react-py-agent.mdx +10 -16
- package/docs/guides/connection/react-smithy.mdx +4 -4
- package/docs/guides/connection/react-trpc.mdx +1 -1
- package/docs/guides/connection/react-ts-agent.mdx +9 -9
- package/docs/guides/connection/smithy-dynamodb.mdx +5 -5
- package/docs/guides/connection/smithy-rdb.mdx +9 -9
- package/docs/guides/connection/trpc-dynamodb.mdx +4 -4
- package/docs/guides/connection/trpc-rdb.mdx +5 -5
- package/docs/guides/connection/ts-agent-a2a.mdx +14 -11
- package/docs/guides/connection/ts-agent-dynamodb.mdx +35 -36
- package/docs/guides/connection/ts-agent-gateway.mdx +147 -0
- package/docs/guides/connection/ts-agent-mcp.mdx +12 -9
- package/docs/guides/connection/ts-agent-rdb.mdx +61 -25
- package/docs/guides/connection/ts-mcp-server-dynamodb.mdx +35 -36
- package/docs/guides/connection/ts-mcp-server-rdb.mdx +59 -18
- package/docs/guides/connection.mdx +122 -5
- package/docs/guides/docker-bundling.mdx +82 -14
- package/docs/guides/fastapi.mdx +253 -12
- package/docs/guides/local-development.mdx +87 -0
- package/docs/guides/nx-generator.mdx +4 -3
- package/docs/guides/nx-migration.mdx +165 -0
- package/docs/guides/py-agent.mdx +332 -55
- package/docs/guides/py-dynamodb.mdx +476 -0
- package/docs/guides/py-mcp-server.mdx +57 -2
- package/docs/guides/py-rdb.mdx +269 -0
- package/docs/guides/python-lambda-function.mdx +1 -1
- package/docs/guides/python-project.mdx +31 -0
- package/docs/guides/react-website-auth.mdx +104 -5
- package/docs/guides/react-website.mdx +409 -95
- package/docs/guides/runtime-config.mdx +17 -4
- package/docs/guides/security.mdx +75 -0
- package/docs/guides/smithy-project.mdx +167 -0
- package/docs/guides/terraform-project.mdx +119 -8
- package/docs/guides/trpc.mdx +55 -14
- package/docs/guides/ts-agent.mdx +207 -23
- package/docs/guides/ts-dcr-proxy.mdx +569 -0
- package/docs/guides/ts-dynamodb.mdx +66 -242
- package/docs/guides/ts-lambda-function.mdx +1 -1
- package/docs/guides/ts-mcp-server.mdx +111 -29
- package/docs/guides/ts-nx-plugin.mdx +4 -4
- package/docs/guides/ts-rdb.mdx +116 -466
- package/docs/guides/ts-smithy-api.mdx +260 -16
- package/docs/guides/typescript-infrastructure.mdx +79 -25
- package/docs/guides/typescript-project.mdx +157 -24
- package/docs/guides/workspace.mdx +31 -2
- package/docs/snippets/agent/architecture.mdx +1 -1
- package/docs/snippets/agent/bedrock-deployment.mdx +9 -5
- package/docs/snippets/agent/runtime-arn.mdx +23 -2
- package/docs/snippets/agent/securing-your-agent.mdx +39 -0
- package/docs/snippets/api/access-logging.mdx +38 -0
- package/docs/snippets/api/cors-configuration-cdk-note.mdx +1 -1
- package/docs/snippets/api/cors-configuration-terraform-note.mdx +1 -1
- package/docs/snippets/api/type-safe-api-integrations.mdx +218 -373
- package/docs/snippets/api/waf-configuration.mdx +3 -3
- package/docs/snippets/connection/a2a-infrastructure.mdx +1 -1
- package/docs/snippets/connection/dynamodb-local-development.mdx +2 -2
- package/docs/snippets/connection/lambda-dynamodb-access.mdx +2 -2
- package/docs/snippets/connection/py-dynamodb-local-development.mdx +7 -0
- package/docs/snippets/connection/py-lambda-rdb-ssl-requirements.mdx +7 -0
- package/docs/snippets/connection/rdb-api-infrastructure.mdx +42 -19
- package/docs/snippets/dynamodb/deploying-table.mdx +176 -0
- package/docs/snippets/dynamodb/encryption-options.mdx +168 -0
- package/docs/snippets/dynamodb/gsi-config.mdx +38 -0
- package/docs/snippets/dynamodb/infrastructure.mdx +33 -0
- package/docs/snippets/dynamodb/local-dev-start.mdx +13 -0
- package/docs/snippets/dynamodb/local-dev-windows.mdx +15 -0
- package/docs/snippets/experimental-generator.mdx +8 -0
- package/docs/snippets/lambda-function/deploying-your-function.mdx +3 -3
- package/docs/snippets/mcp/architecture.mdx +1 -1
- package/docs/snippets/mcp/bedrock-deployment.mdx +9 -5
- package/docs/snippets/mcp/config.mdx +3 -2
- package/docs/snippets/mcp/shared-constructs.mdx +4 -5
- package/docs/snippets/pdk-migration/example/01-migrate-api.mdx +7 -5
- package/docs/snippets/pdk-migration/example/02-migrate-website.mdx +29 -10
- package/docs/snippets/pdk-migration/example/03-migrate-infra.mdx +4 -4
- package/docs/snippets/pdk-migration/faq/type-safe-api.mdx +5 -111
- package/docs/snippets/prerequisites.mdx +1 -4
- package/docs/snippets/rdb/admin-credentials.mdx +42 -0
- package/docs/snippets/rdb/architecture.mdx +39 -0
- package/docs/snippets/rdb/cluster-instances.mdx +31 -0
- package/docs/snippets/rdb/deletion-protection.mdx +64 -0
- package/docs/snippets/rdb/deploying.mdx +178 -0
- package/docs/snippets/rdb/encryption-key-rotation.mdx +30 -0
- package/docs/snippets/rdb/engine-version.mdx +63 -0
- package/docs/snippets/rdb/infrastructure.mdx +35 -0
- package/docs/snippets/rdb/logging-mysql.mdx +5 -0
- package/docs/snippets/rdb/logging-postgres.mdx +5 -0
- package/docs/snippets/rdb/performance-insights.mdx +36 -0
- package/docs/snippets/rdb/rds-proxy.mdx +50 -0
- package/docs/snippets/rdb/removal-policy.mdx +57 -0
- package/docs/snippets/rdb/serverless-capacity.mdx +32 -0
- package/docs/snippets/recommended-prerequisites.mdx +10 -0
- package/docs/snippets/required-prerequisites.mdx +1 -4
- package/docs/snippets/runtime-config-app-id-note.mdx +8 -0
- package/docs/snippets/shared-constructs.mdx +1 -1
- package/docs/snippets/trivy-image-scan.mdx +37 -0
- package/generators.json +170 -10
- package/package.json +1 -1
- package/src/agentcore-gateway/agent-connection/schema.json +31 -0
- package/src/agentcore-gateway/gateway-connection/schema.json +31 -0
- package/src/agentcore-gateway/mcp-connection/schema.json +31 -0
- package/src/agentcore-gateway/react-connection/schema.json +31 -0
- package/src/agentcore-gateway/schema.json +72 -0
- package/src/agentcore-harness/schema.json +53 -0
- package/src/connection/schema.json +5 -0
- package/src/infra/app/schema.json +5 -0
- package/src/init/schema.json +35 -0
- package/src/internal/test-matrix/schema.json +21 -0
- package/src/license/schema.json +5 -0
- package/src/open-api/json-metadata/schema.json +20 -0
- package/src/preset/schema.json +16 -5
- package/src/py/agent/a2a-connection/schema.json +5 -0
- package/src/py/agent/gateway-connection/schema.json +31 -0
- package/src/py/agent/mcp-connection/schema.json +5 -0
- package/src/py/agent/react-connection/schema.json +5 -0
- package/src/py/agent/schema.json +15 -1
- package/src/py/api/schema.json +5 -0
- package/src/py/dynamodb/agent-connection/schema.json +27 -0
- package/src/py/dynamodb/fast-api-connection/schema.json +23 -0
- package/src/py/dynamodb/mcp-server-connection/schema.json +27 -0
- package/src/py/dynamodb/schema.json +76 -0
- package/src/py/fast-api/react/schema.json +5 -0
- package/src/py/fast-api/schema.json +6 -0
- package/src/py/lambda-function/schema.json +6 -1
- package/src/py/mcp-server/schema.json +6 -0
- package/src/py/project/schema.json +6 -0
- package/src/py/rdb/agent-connection/schema.json +27 -0
- package/src/py/rdb/fast-api-connection/schema.json +23 -0
- package/src/py/rdb/mcp-server-connection/schema.json +27 -0
- package/src/py/rdb/schema.json +78 -0
- package/src/smithy/project/schema.json +28 -1
- package/src/smithy/react-connection/schema.json +5 -0
- package/src/smithy/ts/api/schema.json +6 -0
- package/src/terraform/project/schema.json +5 -0
- package/src/trpc/backend/schema.json +6 -0
- package/src/trpc/react/schema.json +5 -0
- package/src/ts/agent/a2a-connection/schema.json +5 -0
- package/src/ts/agent/gateway-connection/schema.json +31 -0
- package/src/ts/agent/mcp-connection/schema.json +5 -0
- package/src/ts/agent/react-connection/schema.json +5 -0
- package/src/ts/agent/schema.json +14 -0
- package/src/ts/api/schema.json +5 -0
- package/src/ts/astro-docs/schema.json +3 -3
- package/src/ts/dcr-proxy/schema.json +44 -0
- package/src/ts/docs/schema.json +3 -3
- package/src/ts/dynamodb/agent-connection/schema.json +5 -0
- package/src/ts/dynamodb/mcp-server-connection/schema.json +5 -0
- package/src/ts/dynamodb/schema.json +26 -2
- package/src/ts/dynamodb/smithy-connection/schema.json +5 -0
- package/src/ts/dynamodb/trpc-connection/schema.json +5 -0
- package/src/ts/lambda-function/schema.json +5 -0
- package/src/ts/lib/schema.json +5 -0
- package/src/ts/mcp-server/schema.json +6 -0
- package/src/ts/nx-generator/schema.json +5 -0
- package/src/ts/nx-migration/schema.json +63 -0
- package/src/ts/nx-plugin/schema.json +5 -0
- package/src/ts/rdb/agent-connection/schema.json +5 -0
- package/src/ts/rdb/mcp-server-connection/schema.json +5 -0
- package/src/ts/rdb/schema.json +7 -1
- package/src/ts/rdb/smithy-connection/schema.json +5 -0
- package/src/ts/rdb/trpc-connection/schema.json +5 -0
- package/src/ts/react-website/app/schema.json +12 -6
- package/src/ts/react-website/cognito-auth/schema.json +5 -0
- package/src/ts/react-website/runtime-config/schema.json +5 -0
- package/src/ts/website/app/schema.json +11 -6
- package/src/ts/website/auth/schema.json +5 -0
- /package/docs/snippets/connection/{lambda-rdb-ssl-requirements.mdx → ts-lambda-rdb-ssl-requirements.mdx} +0 -0
- /package/docs/snippets/connection/{mcp-server-rdb-ssl-requirements.mdx → ts-mcp-server-rdb-ssl-requirements.mdx} +0 -0
package/src/preset/schema.json
CHANGED
|
@@ -5,11 +5,6 @@
|
|
|
5
5
|
"description": "The @aws/nx-plugin preset.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
-
"addTsPlugin": {
|
|
9
|
-
"type": "boolean",
|
|
10
|
-
"description": "Whether to add the ts plugin.",
|
|
11
|
-
"default": true
|
|
12
|
-
},
|
|
13
8
|
"iac": {
|
|
14
9
|
"type": "string",
|
|
15
10
|
"description": "The preferred IaC provider.",
|
|
@@ -35,6 +30,22 @@
|
|
|
35
30
|
"default": "infer",
|
|
36
31
|
"x-priority": "important",
|
|
37
32
|
"x-prompt": "Which container engine would you like to use? (default: infer)"
|
|
33
|
+
},
|
|
34
|
+
"module": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Module format for generated TypeScript code and configuration.",
|
|
37
|
+
"enum": ["esm", "cjs"],
|
|
38
|
+
"default": "esm"
|
|
39
|
+
},
|
|
40
|
+
"catalog": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"description": "Whether generators record dependency versions in the package manager's catalog (pnpm/yarn/bun), keeping a single source of truth for versions. When false, dependencies are written directly to each project's package.json and keeping versions aligned is your responsibility.",
|
|
43
|
+
"default": true
|
|
44
|
+
},
|
|
45
|
+
"preferInstallDependencies": {
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
48
|
+
"default": true
|
|
38
49
|
}
|
|
39
50
|
}
|
|
40
51
|
}
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"targetComponent": {
|
|
21
21
|
"type": "string",
|
|
22
22
|
"description": "The target A2A agent component name"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#agent#gateway-connection",
|
|
4
|
+
"title": "py#agent#gateway-connection",
|
|
5
|
+
"description": "Connect a Python Agent to an AgentCore Gateway",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sourceProject": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The Python Agent project"
|
|
11
|
+
},
|
|
12
|
+
"targetProject": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The AgentCore Gateway project"
|
|
15
|
+
},
|
|
16
|
+
"sourceComponent": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The agent component in the source project"
|
|
19
|
+
},
|
|
20
|
+
"targetComponent": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The gateway component in the target project"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": ["sourceProject", "targetProject"]
|
|
31
|
+
}
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"targetComponent": {
|
|
21
21
|
"type": "string",
|
|
22
22
|
"description": "The MCP server component name"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"targetComponent": {
|
|
21
21
|
"type": "string",
|
|
22
22
|
"description": "The agent component name"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"required": ["sourceProject", "targetProject"]
|
package/src/py/agent/schema.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "py#agent",
|
|
4
4
|
"title": "py#agent",
|
|
5
|
+
"x-label": "Agent",
|
|
5
6
|
"description": "Add an AI Agent to a Python project",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"properties": {
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
"type": "string",
|
|
20
21
|
"description": "The agent SDK to use.",
|
|
21
22
|
"x-prompt": "Which agent SDK would you like to use?",
|
|
22
|
-
"enum": ["strands"],
|
|
23
|
+
"enum": ["strands", "langchain"],
|
|
23
24
|
"default": "strands",
|
|
24
25
|
"x-priority": "important"
|
|
25
26
|
},
|
|
@@ -59,6 +60,19 @@
|
|
|
59
60
|
"enum": ["agentcore", "none"],
|
|
60
61
|
"default": "agentcore",
|
|
61
62
|
"x-priority": "important"
|
|
63
|
+
},
|
|
64
|
+
"session": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "The storage used to persist session for your Agent. LangChain supports 's3' or 'dynamodb-s3'; Strands supports 's3'; 'in-memory' is valid for both.",
|
|
67
|
+
"x-prompt": "How would you like to persist session for your Agent?",
|
|
68
|
+
"enum": ["s3", "dynamodb-s3", "in-memory"],
|
|
69
|
+
"default": "s3",
|
|
70
|
+
"x-priority": "important"
|
|
71
|
+
},
|
|
72
|
+
"preferInstallDependencies": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
75
|
+
"default": true
|
|
62
76
|
}
|
|
63
77
|
},
|
|
64
78
|
"required": ["project"]
|
package/src/py/api/schema.json
CHANGED
|
@@ -94,6 +94,11 @@
|
|
|
94
94
|
"enum": ["rest-lambda", "http-lambda", "none"],
|
|
95
95
|
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
96
96
|
"x-priority": "important"
|
|
97
|
+
},
|
|
98
|
+
"preferInstallDependencies": {
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
101
|
+
"default": true
|
|
97
102
|
}
|
|
98
103
|
},
|
|
99
104
|
"required": ["name"]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#dynamodb#agent-connection",
|
|
4
|
+
"title": "py#dynamodb#agent-connection",
|
|
5
|
+
"description": "Connect a py#agent to a py#dynamodb project",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sourceProject": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The project containing the py#agent to connect from"
|
|
11
|
+
},
|
|
12
|
+
"targetProject": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The py#dynamodb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"sourceComponent": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The agent component name"
|
|
19
|
+
},
|
|
20
|
+
"preferInstallDependencies": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
23
|
+
"default": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": ["sourceProject", "targetProject"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#dynamodb#fast-api-connection",
|
|
4
|
+
"title": "py#dynamodb#fast-api-connection",
|
|
5
|
+
"description": "Connect a py#fast-api project to a py#dynamodb project",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sourceProject": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The py#fast-api project to connect from"
|
|
11
|
+
},
|
|
12
|
+
"targetProject": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The py#dynamodb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"preferInstallDependencies": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
19
|
+
"default": true
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["sourceProject", "targetProject"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#dynamodb#mcp-server-connection",
|
|
4
|
+
"title": "py#dynamodb#mcp-server-connection",
|
|
5
|
+
"description": "Connect a py#mcp-server to a py#dynamodb project",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sourceProject": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The project containing the py#mcp-server to connect from"
|
|
11
|
+
},
|
|
12
|
+
"targetProject": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The py#dynamodb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"sourceComponent": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The MCP server component name"
|
|
19
|
+
},
|
|
20
|
+
"preferInstallDependencies": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
23
|
+
"default": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": ["sourceProject", "targetProject"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#dynamodb",
|
|
4
|
+
"title": "py#dynamodb",
|
|
5
|
+
"x-label": "DynamoDB",
|
|
6
|
+
"description": "Create a Python DynamoDB project",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Name of the DynamoDB project to generate",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
},
|
|
16
|
+
"x-priority": "important",
|
|
17
|
+
"x-prompt": "What name would you like your DynamoDB project to have? i.e: MyTable"
|
|
18
|
+
},
|
|
19
|
+
"directory": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The directory to store the project in.",
|
|
22
|
+
"default": "packages",
|
|
23
|
+
"x-priority": "important",
|
|
24
|
+
"x-prompt": "Which directory do you want to create the project in?"
|
|
25
|
+
},
|
|
26
|
+
"subDirectory": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
29
|
+
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
30
|
+
},
|
|
31
|
+
"framework": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"enum": ["pynamodb"],
|
|
34
|
+
"default": "pynamodb",
|
|
35
|
+
"description": "The framework to use for DynamoDB entities.",
|
|
36
|
+
"x-priority": "important",
|
|
37
|
+
"x-prompt": {
|
|
38
|
+
"message": "Which framework would you like to use for DynamoDB entities?",
|
|
39
|
+
"type": "list",
|
|
40
|
+
"items": [
|
|
41
|
+
{
|
|
42
|
+
"value": "pynamodb",
|
|
43
|
+
"label": "PynamoDB"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"default": "pynamodb"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"tableName": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "The DynamoDB table name. Auto-generated if not specified."
|
|
52
|
+
},
|
|
53
|
+
"infra": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": ["dynamodb", "none"],
|
|
56
|
+
"default": "dynamodb",
|
|
57
|
+
"description": "Infrastructure to provision for the DynamoDB table.",
|
|
58
|
+
"x-priority": "important",
|
|
59
|
+
"x-prompt": "Which infrastructure would you like to provision?"
|
|
60
|
+
},
|
|
61
|
+
"iac": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
64
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
65
|
+
"x-priority": "important",
|
|
66
|
+
"default": "inherit",
|
|
67
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
|
|
68
|
+
},
|
|
69
|
+
"preferInstallDependencies": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
72
|
+
"default": true
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": ["name"]
|
|
76
|
+
}
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"description": "",
|
|
21
21
|
"x-prompt": "Package containing your FastAPI backend",
|
|
22
22
|
"x-dropdown": "projects"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"required": ["frontendProjectName", "fastApiProjectName"]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "PyFastApi",
|
|
4
4
|
"title": "Create a Python FastAPI project",
|
|
5
|
+
"x-label": "FastAPI",
|
|
5
6
|
"description": "Create a Python FastAPI project",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"properties": {
|
|
@@ -76,6 +77,11 @@
|
|
|
76
77
|
"enum": ["rest-lambda", "http-lambda", "none"],
|
|
77
78
|
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
78
79
|
"x-priority": "important"
|
|
80
|
+
},
|
|
81
|
+
"preferInstallDependencies": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
84
|
+
"default": true
|
|
79
85
|
}
|
|
80
86
|
},
|
|
81
87
|
"required": ["name"]
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"CloudFormationCustomResourceCreateModel",
|
|
46
46
|
"CloudFormationCustomResourceUpdateModel",
|
|
47
47
|
"CloudFormationCustomResourceDeleteModel",
|
|
48
|
-
"
|
|
48
|
+
"CloudWatchLogsModel",
|
|
49
49
|
"DynamoDBStreamModel",
|
|
50
50
|
"EventBridgeModel",
|
|
51
51
|
"IoTCoreThingEvent",
|
|
@@ -90,6 +90,11 @@
|
|
|
90
90
|
"x-priority": "important",
|
|
91
91
|
"default": "inherit",
|
|
92
92
|
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
93
|
+
},
|
|
94
|
+
"preferInstallDependencies": {
|
|
95
|
+
"type": "boolean",
|
|
96
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
97
|
+
"default": true
|
|
93
98
|
}
|
|
94
99
|
},
|
|
95
100
|
"required": ["project", "name"]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "py#mcp-server",
|
|
4
4
|
"title": "py#mcp-server",
|
|
5
|
+
"x-label": "MCP Server",
|
|
5
6
|
"description": "Generate a Python Model Context Protocol (MCP) server for providing context to Large Language Models",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"properties": {
|
|
@@ -43,6 +44,11 @@
|
|
|
43
44
|
"enum": ["agentcore", "none"],
|
|
44
45
|
"default": "agentcore",
|
|
45
46
|
"x-priority": "important"
|
|
47
|
+
},
|
|
48
|
+
"preferInstallDependencies": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
51
|
+
"default": true
|
|
46
52
|
}
|
|
47
53
|
},
|
|
48
54
|
"required": ["project"]
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"name": {
|
|
9
9
|
"type": "string",
|
|
10
10
|
"description": "The name of the Python project",
|
|
11
|
+
"pattern": "^[a-zA-Z0-9][^:/\\\\]*$",
|
|
11
12
|
"$default": {
|
|
12
13
|
"$source": "argv",
|
|
13
14
|
"index": 0
|
|
@@ -36,6 +37,11 @@
|
|
|
36
37
|
"moduleName": {
|
|
37
38
|
"type": "string",
|
|
38
39
|
"description": "Python module name"
|
|
40
|
+
},
|
|
41
|
+
"preferInstallDependencies": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
44
|
+
"default": true
|
|
39
45
|
}
|
|
40
46
|
},
|
|
41
47
|
"required": ["name", "type"]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#rdb#agent-connection",
|
|
4
|
+
"title": "py#rdb#agent-connection",
|
|
5
|
+
"description": "Connect a py#agent to a py#rdb project",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sourceProject": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The project containing the py#agent to connect from"
|
|
11
|
+
},
|
|
12
|
+
"targetProject": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The py#rdb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"sourceComponent": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The agent component name"
|
|
19
|
+
},
|
|
20
|
+
"preferInstallDependencies": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
23
|
+
"default": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": ["sourceProject", "targetProject"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#rdb#fast-api-connection",
|
|
4
|
+
"title": "py#rdb#fast-api-connection",
|
|
5
|
+
"description": "Connect a py#fast-api project to a py#rdb project",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sourceProject": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The py#fast-api project to connect from"
|
|
11
|
+
},
|
|
12
|
+
"targetProject": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The py#rdb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"preferInstallDependencies": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
19
|
+
"default": true
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["sourceProject", "targetProject"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#rdb#mcp-server-connection",
|
|
4
|
+
"title": "py#rdb#mcp-server-connection",
|
|
5
|
+
"description": "Connect a py#mcp-server to a py#rdb project",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sourceProject": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The project containing the py#mcp-server to connect from"
|
|
11
|
+
},
|
|
12
|
+
"targetProject": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The py#rdb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"sourceComponent": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The MCP server component name"
|
|
19
|
+
},
|
|
20
|
+
"preferInstallDependencies": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
23
|
+
"default": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": ["sourceProject", "targetProject"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "py#rdb",
|
|
4
|
+
"title": "py#rdb",
|
|
5
|
+
"x-label": "Relational Database",
|
|
6
|
+
"description": "Create a Python relational database project",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Name of the database project to generate",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
},
|
|
16
|
+
"x-priority": "important",
|
|
17
|
+
"x-prompt": "What name would you like your database project to have? i.e: MyDb"
|
|
18
|
+
},
|
|
19
|
+
"directory": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The directory to store the application in.",
|
|
22
|
+
"default": "packages",
|
|
23
|
+
"x-priority": "important",
|
|
24
|
+
"x-prompt": "Which directory do you want to create the project in?"
|
|
25
|
+
},
|
|
26
|
+
"subDirectory": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "The sub directory the project is placed in. By default this is the project name."
|
|
29
|
+
},
|
|
30
|
+
"infra": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["aurora", "none"],
|
|
33
|
+
"default": "aurora",
|
|
34
|
+
"description": "Relational database service to provision.",
|
|
35
|
+
"x-priority": "important",
|
|
36
|
+
"x-prompt": "Which database service would you like to use?"
|
|
37
|
+
},
|
|
38
|
+
"engine": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": ["postgres", "mysql"],
|
|
41
|
+
"default": "postgres",
|
|
42
|
+
"description": "Database engine to use with the selected service.",
|
|
43
|
+
"x-priority": "important",
|
|
44
|
+
"x-prompt": "Which database engine would you like to use?"
|
|
45
|
+
},
|
|
46
|
+
"databaseUser": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Database admin username. Defaults to 'dbadmin'.",
|
|
49
|
+
"default": "dbadmin"
|
|
50
|
+
},
|
|
51
|
+
"databaseName": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "Initial database name. Defaults to the project name."
|
|
54
|
+
},
|
|
55
|
+
"framework": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": ["sqlmodel"],
|
|
58
|
+
"default": "sqlmodel",
|
|
59
|
+
"description": "ORM framework to use for the generated project.",
|
|
60
|
+
"x-priority": "important",
|
|
61
|
+
"x-prompt": "Which ORM framework would you like to use?"
|
|
62
|
+
},
|
|
63
|
+
"iac": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
66
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
67
|
+
"x-priority": "important",
|
|
68
|
+
"default": "inherit",
|
|
69
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
70
|
+
},
|
|
71
|
+
"preferInstallDependencies": {
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
74
|
+
"default": true
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": ["name"]
|
|
78
|
+
}
|
|
@@ -15,9 +15,31 @@
|
|
|
15
15
|
"x-priority": "important",
|
|
16
16
|
"x-prompt": "What would you like to call your Smithy project?"
|
|
17
17
|
},
|
|
18
|
+
"type": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "The type of Smithy project to create. Choose between service (a model with a service shape, ready for an implementation) and shapes (a shape library of reusable shapes, shared between multiple Smithy projects).",
|
|
21
|
+
"default": "service",
|
|
22
|
+
"enum": ["service", "shapes"],
|
|
23
|
+
"x-priority": "important",
|
|
24
|
+
"x-prompt": {
|
|
25
|
+
"message": "What type of Smithy project would you like to create?",
|
|
26
|
+
"type": "list",
|
|
27
|
+
"items": [
|
|
28
|
+
{
|
|
29
|
+
"value": "service",
|
|
30
|
+
"label": "service (a model which defines a service and its operations)"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"value": "shapes",
|
|
34
|
+
"label": "shapes (a library of reusable shapes, shared between Smithy projects)"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"default": "service"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
18
40
|
"serviceName": {
|
|
19
41
|
"type": "string",
|
|
20
|
-
"description": "The name of your Smithy service. Uses the supplied name by default.",
|
|
42
|
+
"description": "The name of your Smithy service. Uses the supplied name by default. Not applicable to shape libraries.",
|
|
21
43
|
"x-prompt": "What name would you like your Smithy Service to have? i.e: MyService"
|
|
22
44
|
},
|
|
23
45
|
"namespace": {
|
|
@@ -36,6 +58,11 @@
|
|
|
36
58
|
"type": "string",
|
|
37
59
|
"description": "The sub directory the Smithy project is placed in. By default this is the project name.",
|
|
38
60
|
"x-prompt": "Which sub directory do you want to create the Smithy project in? (By default this is the project name)"
|
|
61
|
+
},
|
|
62
|
+
"preferInstallDependencies": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
65
|
+
"default": true
|
|
39
66
|
}
|
|
40
67
|
},
|
|
41
68
|
"required": ["name"]
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"description": "",
|
|
21
21
|
"x-prompt": "Project containing your Smithy API (either model or backend)",
|
|
22
22
|
"x-dropdown": "projects"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"required": ["frontendProjectName", "smithyModelOrBackendProjectName"]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "ts#smithy-api",
|
|
4
4
|
"title": "ts#smithy-api",
|
|
5
|
+
"x-label": "Smithy API",
|
|
5
6
|
"description": "Create an API using Smithy and the Smithy TypeScript Server SDK",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"properties": {
|
|
@@ -77,6 +78,11 @@
|
|
|
77
78
|
"enum": ["rest-lambda", "none"],
|
|
78
79
|
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
79
80
|
"x-priority": "internal"
|
|
81
|
+
},
|
|
82
|
+
"preferInstallDependencies": {
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
85
|
+
"default": true
|
|
80
86
|
}
|
|
81
87
|
},
|
|
82
88
|
"required": ["name"]
|