@aws/nx-plugin-mcp 1.0.0-rc.32 → 1.0.0-rc.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/bin/aws-nx-mcp.js +1444 -1348
  2. package/docs/guides/connection/py-agent-rdb.mdx +162 -0
  3. package/docs/guides/connection/py-fast-api-rdb.mdx +170 -0
  4. package/docs/guides/connection/py-mcp-server-rdb.mdx +171 -0
  5. package/docs/guides/connection/smithy-rdb.mdx +1 -1
  6. package/docs/guides/connection/trpc-rdb.mdx +1 -1
  7. package/docs/guides/connection/ts-agent-rdb.mdx +45 -16
  8. package/docs/guides/connection/ts-mcp-server-rdb.mdx +45 -11
  9. package/docs/guides/connection.mdx +28 -1
  10. package/docs/guides/py-rdb.mdx +250 -0
  11. package/docs/guides/ts-rdb.mdx +48 -483
  12. package/docs/snippets/connection/py-lambda-rdb-ssl-requirements.mdx +7 -0
  13. package/docs/snippets/connection/rdb-api-infrastructure.mdx +36 -15
  14. package/docs/snippets/rdb/architecture.mdx +38 -0
  15. package/docs/snippets/rdb/cluster-instances.mdx +31 -0
  16. package/docs/snippets/rdb/deletion-protection.mdx +34 -0
  17. package/docs/snippets/rdb/deploying.mdx +107 -0
  18. package/docs/snippets/rdb/encryption-key-rotation.mdx +30 -0
  19. package/docs/snippets/rdb/engine-version.mdx +63 -0
  20. package/docs/snippets/rdb/infrastructure.mdx +35 -0
  21. package/docs/snippets/rdb/logging.mdx +32 -0
  22. package/docs/snippets/rdb/rds-proxy.mdx +50 -0
  23. package/docs/snippets/rdb/removal-policy.mdx +57 -0
  24. package/docs/snippets/rdb/serverless-capacity.mdx +32 -0
  25. package/generators.json +27 -0
  26. package/package.json +1 -1
  27. package/src/preset/schema.json +6 -0
  28. package/src/py/rdb/agent-connection/schema.json +27 -0
  29. package/src/py/rdb/fast-api-connection/schema.json +23 -0
  30. package/src/py/rdb/mcp-server-connection/schema.json +27 -0
  31. package/src/py/rdb/schema.json +77 -0
  32. package/src/ts/rdb/schema.json +1 -1
  33. /package/docs/snippets/connection/{lambda-rdb-ssl-requirements.mdx → ts-lambda-rdb-ssl-requirements.mdx} +0 -0
  34. /package/docs/snippets/connection/{mcp-server-rdb-ssl-requirements.mdx → ts-mcp-server-rdb-ssl-requirements.mdx} +0 -0
@@ -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,77 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "py#rdb",
4
+ "title": "py#rdb",
5
+ "description": "Create a Python relational database project",
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "type": "string",
10
+ "description": "Name of the database project to generate",
11
+ "$default": {
12
+ "$source": "argv",
13
+ "index": 0
14
+ },
15
+ "x-priority": "important",
16
+ "x-prompt": "What name would you like your database project to have? i.e: MyDb"
17
+ },
18
+ "directory": {
19
+ "type": "string",
20
+ "description": "The directory to store the application in.",
21
+ "default": "packages",
22
+ "x-priority": "important",
23
+ "x-prompt": "Which directory do you want to create the project in?"
24
+ },
25
+ "subDirectory": {
26
+ "type": "string",
27
+ "description": "The sub directory the project is placed in. By default this is the project name."
28
+ },
29
+ "infra": {
30
+ "type": "string",
31
+ "enum": ["aurora", "none"],
32
+ "default": "aurora",
33
+ "description": "Relational database service to provision.",
34
+ "x-priority": "important",
35
+ "x-prompt": "Which database service would you like to use?"
36
+ },
37
+ "engine": {
38
+ "type": "string",
39
+ "enum": ["postgres", "mysql"],
40
+ "default": "postgres",
41
+ "description": "Database engine to use with the selected service.",
42
+ "x-priority": "important",
43
+ "x-prompt": "Which database engine would you like to use?"
44
+ },
45
+ "databaseUser": {
46
+ "type": "string",
47
+ "description": "Database admin username. Defaults to 'dbadmin'.",
48
+ "default": "dbadmin"
49
+ },
50
+ "databaseName": {
51
+ "type": "string",
52
+ "description": "Initial database name. Defaults to the project name."
53
+ },
54
+ "framework": {
55
+ "type": "string",
56
+ "enum": ["sqlmodel"],
57
+ "default": "sqlmodel",
58
+ "description": "ORM framework to use for the generated project.",
59
+ "x-priority": "important",
60
+ "x-prompt": "Which ORM framework would you like to use?"
61
+ },
62
+ "iac": {
63
+ "type": "string",
64
+ "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
65
+ "enum": ["inherit", "cdk", "terraform"],
66
+ "x-priority": "important",
67
+ "default": "inherit",
68
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
69
+ },
70
+ "preferInstallDependencies": {
71
+ "type": "boolean",
72
+ "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.",
73
+ "default": true
74
+ }
75
+ },
76
+ "required": ["name"]
77
+ }
@@ -74,5 +74,5 @@
74
74
  "default": true
75
75
  }
76
76
  },
77
- "required": ["name", "infra", "engine", "framework"]
77
+ "required": ["name"]
78
78
  }