@aws/nx-plugin-mcp 1.0.0-rc.0 → 1.0.0-rc.1
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 +12 -12
- package/docs/guides/connection/py-agent-a2a.mdx +1 -1
- package/docs/guides/connection/py-agent-mcp.mdx +1 -1
- package/docs/guides/connection/react-agui.mdx +1 -1
- package/docs/guides/connection/react-py-agent.mdx +1 -1
- package/docs/guides/connection/react-trpc.mdx +1 -1
- package/docs/guides/connection/react-ts-agent.mdx +1 -1
- package/docs/guides/connection/ts-agent-a2a.mdx +1 -1
- package/docs/guides/connection/ts-agent-mcp.mdx +1 -1
- package/docs/guides/fastapi.mdx +8 -8
- package/docs/guides/py-agent.mdx +18 -18
- package/docs/guides/py-mcp-server.mdx +5 -5
- package/docs/guides/python-lambda-function.mdx +4 -4
- package/docs/guides/react-website.mdx +2 -2
- package/docs/guides/trpc.mdx +15 -15
- package/docs/guides/ts-agent.mdx +18 -18
- package/docs/guides/ts-lambda-function.mdx +4 -4
- package/docs/guides/ts-mcp-server.mdx +5 -5
- package/docs/guides/ts-rdb.mdx +3 -3
- package/docs/guides/ts-smithy-api.mdx +5 -5
- package/docs/guides/workspace.mdx +2 -2
- package/docs/snippets/agent/architecture.mdx +4 -4
- package/docs/snippets/agent/bedrock-deployment.mdx +1 -1
- package/docs/snippets/api/api-architecture.mdx +2 -2
- package/docs/snippets/api/type-safe-api-integrations.mdx +2 -2
- package/docs/snippets/lambda-function/deploying-your-function.mdx +2 -2
- package/docs/snippets/mcp/architecture.mdx +4 -4
- package/docs/snippets/mcp/bedrock-deployment.mdx +1 -1
- package/package.json +1 -1
- package/src/infra/app/schema.json +1 -1
- package/src/preset/schema.json +4 -4
- package/src/py/agent/schema.json +18 -18
- package/src/py/api/schema.json +15 -15
- package/src/py/fast-api/schema.json +15 -15
- package/src/py/lambda-function/schema.json +7 -7
- package/src/py/mcp-server/schema.json +15 -15
- package/src/py/project/schema.json +2 -2
- package/src/smithy/ts/api/schema.json +15 -15
- package/src/trpc/backend/schema.json +15 -15
- package/src/ts/agent/schema.json +18 -18
- package/src/ts/api/schema.json +15 -15
- package/src/ts/lambda-function/schema.json +7 -7
- package/src/ts/mcp-server/schema.json +15 -15
- package/src/ts/rdb/schema.json +13 -13
- package/src/ts/react-website/app/schema.json +13 -13
- package/src/ts/react-website/cognito-auth/schema.json +4 -4
- package/src/ts/website/app/schema.json +13 -13
- package/src/ts/website/auth/schema.json +4 -4
|
@@ -15,14 +15,6 @@
|
|
|
15
15
|
},
|
|
16
16
|
"x-prompt": "What name would you like your API to have? i.e: MyApi"
|
|
17
17
|
},
|
|
18
|
-
"computeType": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "The type of compute to use to deploy this API. Choose between ServerlessApiGatewayRestApi (default) or ServerlessApiGatewayHttpApi.",
|
|
21
|
-
"default": "ServerlessApiGatewayRestApi",
|
|
22
|
-
"enum": ["ServerlessApiGatewayRestApi", "ServerlessApiGatewayHttpApi"],
|
|
23
|
-
"x-prompt": "What compute type would you like to deploy your API with?",
|
|
24
|
-
"x-priority": "important"
|
|
25
|
-
},
|
|
26
18
|
"integrationPattern": {
|
|
27
19
|
"type": "string",
|
|
28
20
|
"description": "How API Gateway integrations are generated for the API. Choose between isolated (default) and shared.",
|
|
@@ -47,9 +39,9 @@
|
|
|
47
39
|
},
|
|
48
40
|
"auth": {
|
|
49
41
|
"type": "string",
|
|
50
|
-
"description": "The method used to authenticate with your API. Choose between
|
|
51
|
-
"default": "
|
|
52
|
-
"enum": ["
|
|
42
|
+
"description": "The method used to authenticate with your API. Choose between iam (default), cognito or custom.",
|
|
43
|
+
"default": "iam",
|
|
44
|
+
"enum": ["iam", "cognito", "custom"],
|
|
53
45
|
"x-prompt": "How would you like users to authenticate with your API?",
|
|
54
46
|
"x-priority": "important"
|
|
55
47
|
},
|
|
@@ -65,17 +57,25 @@
|
|
|
65
57
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
66
58
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
67
59
|
},
|
|
68
|
-
"
|
|
60
|
+
"iac": {
|
|
69
61
|
"type": "string",
|
|
70
62
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
71
|
-
"enum": ["
|
|
63
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
72
64
|
"x-priority": "important",
|
|
73
|
-
"default": "
|
|
74
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
65
|
+
"default": "inherit",
|
|
66
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
75
67
|
},
|
|
76
68
|
"moduleName": {
|
|
77
69
|
"type": "string",
|
|
78
70
|
"description": "Python module name"
|
|
71
|
+
},
|
|
72
|
+
"infra": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "The type of infrastructure to use to deploy this API. Choose between rest-lambda (default) or http-lambda.",
|
|
75
|
+
"default": "rest-lambda",
|
|
76
|
+
"enum": ["rest-lambda", "http-lambda"],
|
|
77
|
+
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
78
|
+
"x-priority": "important"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"required": ["name"]
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"x-prompt": "Select the project to add the lambda function to",
|
|
12
12
|
"x-dropdown": "projects"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"name": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"description": "The name of the function to add",
|
|
17
17
|
"x-priority": "important",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"description": "The path within the project source directory to add the function to",
|
|
27
27
|
"x-prompt": "Enter the path within the project source directory to add the function to (e.g. 'lambda_functions/')"
|
|
28
28
|
},
|
|
29
|
-
"
|
|
29
|
+
"event": {
|
|
30
30
|
"type": "string",
|
|
31
31
|
"description": "Optional event source model to use for the lambda function",
|
|
32
32
|
"x-priority": "important",
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
"default": "Any",
|
|
76
76
|
"x-prompt": "Enter the event source model to use for the lambda function"
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"iac": {
|
|
79
79
|
"type": "string",
|
|
80
80
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
81
|
-
"enum": ["
|
|
81
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
82
82
|
"x-priority": "important",
|
|
83
|
-
"default": "
|
|
84
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
83
|
+
"default": "inherit",
|
|
84
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
"required": ["project", "
|
|
87
|
+
"required": ["project", "name"]
|
|
88
88
|
}
|
|
@@ -15,14 +15,6 @@
|
|
|
15
15
|
"x-prompt": "Select the Python project to add the MCP server to",
|
|
16
16
|
"x-dropdown": "projects"
|
|
17
17
|
},
|
|
18
|
-
"computeType": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "The type of compute to host your MCP server. Select None for no hosting.",
|
|
21
|
-
"x-prompt": "How would you like to host your MCP server?",
|
|
22
|
-
"enum": ["BedrockAgentCoreRuntime", "None"],
|
|
23
|
-
"default": "BedrockAgentCoreRuntime",
|
|
24
|
-
"x-priority": "important"
|
|
25
|
-
},
|
|
26
18
|
"name": {
|
|
27
19
|
"type": "string",
|
|
28
20
|
"description": "The name of your MCP server (default: mcp-server)",
|
|
@@ -30,19 +22,27 @@
|
|
|
30
22
|
},
|
|
31
23
|
"auth": {
|
|
32
24
|
"type": "string",
|
|
33
|
-
"description": "The method used to authenticate with your MCP server. Only applicable when
|
|
34
|
-
"default": "
|
|
35
|
-
"enum": ["
|
|
25
|
+
"description": "The method used to authenticate with your MCP server. Only applicable when infra is set (ignored when infra is none).",
|
|
26
|
+
"default": "iam",
|
|
27
|
+
"enum": ["iam", "cognito"],
|
|
36
28
|
"x-prompt": "How would you like to authenticate with your MCP server?",
|
|
37
29
|
"x-priority": "important"
|
|
38
30
|
},
|
|
39
|
-
"
|
|
31
|
+
"iac": {
|
|
40
32
|
"type": "string",
|
|
41
33
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
42
|
-
"enum": ["
|
|
34
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
43
35
|
"x-priority": "important",
|
|
44
|
-
"default": "
|
|
45
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
36
|
+
"default": "inherit",
|
|
37
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
38
|
+
},
|
|
39
|
+
"infra": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "The type of infrastructure to host your MCP server. Select none for no hosting.",
|
|
42
|
+
"x-prompt": "How would you like to host your MCP server?",
|
|
43
|
+
"enum": ["agentcore", "none"],
|
|
44
|
+
"default": "agentcore",
|
|
45
|
+
"x-priority": "important"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"required": ["project"]
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
28
28
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
29
29
|
},
|
|
30
|
-
"
|
|
30
|
+
"type": {
|
|
31
31
|
"type": "string",
|
|
32
32
|
"description": "Whether the project is an application or library",
|
|
33
33
|
"default": "application",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"description": "Python module name"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
-
"required": ["name", "
|
|
41
|
+
"required": ["name", "type"]
|
|
42
42
|
}
|
|
@@ -19,14 +19,6 @@
|
|
|
19
19
|
"description": "The namespace for the Smithy API. Defaults to your monorepo scope",
|
|
20
20
|
"x-prompt": "What namespace would you like your API to have? i.e: com.example"
|
|
21
21
|
},
|
|
22
|
-
"computeType": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "The type of compute to use to deploy this API.",
|
|
25
|
-
"default": "ServerlessApiGatewayRestApi",
|
|
26
|
-
"enum": ["ServerlessApiGatewayRestApi"],
|
|
27
|
-
"x-prompt": "What compute type would you like to deploy your API with?",
|
|
28
|
-
"x-priority": "internal"
|
|
29
|
-
},
|
|
30
22
|
"integrationPattern": {
|
|
31
23
|
"type": "string",
|
|
32
24
|
"description": "How API Gateway integrations are generated for the API. Choose between isolated (default) and shared.",
|
|
@@ -51,9 +43,9 @@
|
|
|
51
43
|
},
|
|
52
44
|
"auth": {
|
|
53
45
|
"type": "string",
|
|
54
|
-
"description": "The method used to authenticate with your API. Choose between
|
|
55
|
-
"default": "
|
|
56
|
-
"enum": ["
|
|
46
|
+
"description": "The method used to authenticate with your API. Choose between iam (default), cognito or custom.",
|
|
47
|
+
"default": "iam",
|
|
48
|
+
"enum": ["iam", "cognito", "custom"],
|
|
57
49
|
"x-prompt": "How would you like users to authenticate with your API?",
|
|
58
50
|
"x-priority": "important"
|
|
59
51
|
},
|
|
@@ -70,13 +62,21 @@
|
|
|
70
62
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
71
63
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
72
64
|
},
|
|
73
|
-
"
|
|
65
|
+
"iac": {
|
|
74
66
|
"type": "string",
|
|
75
67
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
76
|
-
"enum": ["
|
|
68
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
77
69
|
"x-priority": "important",
|
|
78
|
-
"default": "
|
|
79
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
70
|
+
"default": "inherit",
|
|
71
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
72
|
+
},
|
|
73
|
+
"infra": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "The type of infrastructure to use to deploy this API.",
|
|
76
|
+
"default": "rest-lambda",
|
|
77
|
+
"enum": ["rest-lambda"],
|
|
78
|
+
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
79
|
+
"x-priority": "internal"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"required": ["name"]
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
},
|
|
14
14
|
"x-prompt": "What name would you like your API to have? i.e: MyApi"
|
|
15
15
|
},
|
|
16
|
-
"computeType": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"description": "The type of compute to use to deploy this API. Choose between ServerlessApiGatewayRestApi (default) or ServerlessApiGatewayHttpApi.",
|
|
19
|
-
"default": "ServerlessApiGatewayRestApi",
|
|
20
|
-
"enum": ["ServerlessApiGatewayRestApi", "ServerlessApiGatewayHttpApi"],
|
|
21
|
-
"x-prompt": "What compute type would you like to deploy your API with?",
|
|
22
|
-
"x-priority": "important"
|
|
23
|
-
},
|
|
24
16
|
"integrationPattern": {
|
|
25
17
|
"type": "string",
|
|
26
18
|
"description": "How API Gateway integrations are generated for the API. Choose between isolated (default) and shared.",
|
|
@@ -45,9 +37,9 @@
|
|
|
45
37
|
},
|
|
46
38
|
"auth": {
|
|
47
39
|
"type": "string",
|
|
48
|
-
"description": "The method used to authenticate with your API. Choose between
|
|
49
|
-
"default": "
|
|
50
|
-
"enum": ["
|
|
40
|
+
"description": "The method used to authenticate with your API. Choose between iam (default), cognito or custom.",
|
|
41
|
+
"default": "iam",
|
|
42
|
+
"enum": ["iam", "cognito", "custom"],
|
|
51
43
|
"x-prompt": "How would you like users to authenticate with your API?",
|
|
52
44
|
"x-priority": "important"
|
|
53
45
|
},
|
|
@@ -64,13 +56,21 @@
|
|
|
64
56
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
65
57
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
66
58
|
},
|
|
67
|
-
"
|
|
59
|
+
"iac": {
|
|
68
60
|
"type": "string",
|
|
69
61
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
70
|
-
"enum": ["
|
|
62
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
71
63
|
"x-priority": "important",
|
|
72
|
-
"default": "
|
|
73
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
64
|
+
"default": "inherit",
|
|
65
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
66
|
+
},
|
|
67
|
+
"infra": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "The type of infrastructure to use to deploy this API. Choose between rest-lambda (default) or http-lambda.",
|
|
70
|
+
"default": "rest-lambda",
|
|
71
|
+
"enum": ["rest-lambda", "http-lambda"],
|
|
72
|
+
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
73
|
+
"x-priority": "important"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"required": ["name"]
|
package/src/ts/agent/schema.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"x-prompt": "Select the TypeScript project to add the Agent to",
|
|
16
16
|
"x-dropdown": "projects"
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"framework": {
|
|
19
19
|
"type": "string",
|
|
20
20
|
"description": "The agent SDK to use.",
|
|
21
21
|
"x-prompt": "Which agent SDK would you like to use?",
|
|
@@ -23,14 +23,6 @@
|
|
|
23
23
|
"default": "strands",
|
|
24
24
|
"x-priority": "important"
|
|
25
25
|
},
|
|
26
|
-
"computeType": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "The type of compute to host your Agent.",
|
|
29
|
-
"x-prompt": "How would you like to host your Agent server?",
|
|
30
|
-
"enum": ["BedrockAgentCoreRuntime", "None"],
|
|
31
|
-
"default": "BedrockAgentCoreRuntime",
|
|
32
|
-
"x-priority": "important"
|
|
33
|
-
},
|
|
34
26
|
"name": {
|
|
35
27
|
"type": "string",
|
|
36
28
|
"description": "The name of your Agent (default: agent)",
|
|
@@ -38,9 +30,9 @@
|
|
|
38
30
|
},
|
|
39
31
|
"auth": {
|
|
40
32
|
"type": "string",
|
|
41
|
-
"description": "The method used to authenticate with your Agent. Only applicable when
|
|
42
|
-
"default": "
|
|
43
|
-
"enum": ["
|
|
33
|
+
"description": "The method used to authenticate with your Agent. Only applicable when infra is set (ignored when infra is none).",
|
|
34
|
+
"default": "iam",
|
|
35
|
+
"enum": ["iam", "cognito"],
|
|
44
36
|
"x-prompt": "How would you like to authenticate with your Agent?",
|
|
45
37
|
"x-priority": "important"
|
|
46
38
|
},
|
|
@@ -48,17 +40,25 @@
|
|
|
48
40
|
"type": "string",
|
|
49
41
|
"description": "The server protocol for your Agent. HTTP exposes a tRPC/WebSocket server. A2A exposes an Agent-to-Agent protocol server. AG-UI exposes an AG-UI protocol server for direct frontend integration with CopilotKit.",
|
|
50
42
|
"x-prompt": "Which protocol would you like to use for your Agent?",
|
|
51
|
-
"enum": ["
|
|
52
|
-
"default": "
|
|
43
|
+
"enum": ["http", "a2a", "ag-ui"],
|
|
44
|
+
"default": "http",
|
|
53
45
|
"x-priority": "important"
|
|
54
46
|
},
|
|
55
|
-
"
|
|
47
|
+
"iac": {
|
|
56
48
|
"type": "string",
|
|
57
49
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
58
|
-
"enum": ["
|
|
50
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
59
51
|
"x-priority": "important",
|
|
60
|
-
"default": "
|
|
61
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
52
|
+
"default": "inherit",
|
|
53
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
54
|
+
},
|
|
55
|
+
"infra": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "The type of infrastructure to host your Agent.",
|
|
58
|
+
"x-prompt": "How would you like to host your Agent server?",
|
|
59
|
+
"enum": ["agentcore", "none"],
|
|
60
|
+
"default": "agentcore",
|
|
61
|
+
"x-priority": "important"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"required": ["project"]
|
package/src/ts/api/schema.json
CHANGED
|
@@ -41,14 +41,6 @@
|
|
|
41
41
|
"description": "The namespace for the Smithy API (only applicable for the smithy framework). Defaults to your monorepo scope",
|
|
42
42
|
"x-prompt": "What namespace would you like your API to have? i.e: com.example"
|
|
43
43
|
},
|
|
44
|
-
"computeType": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"description": "The type of compute to use to deploy this API.",
|
|
47
|
-
"default": "ServerlessApiGatewayRestApi",
|
|
48
|
-
"enum": ["ServerlessApiGatewayRestApi", "ServerlessApiGatewayHttpApi"],
|
|
49
|
-
"x-prompt": "What compute type would you like to deploy your API with?",
|
|
50
|
-
"x-priority": "important"
|
|
51
|
-
},
|
|
52
44
|
"integrationPattern": {
|
|
53
45
|
"type": "string",
|
|
54
46
|
"description": "How API Gateway integrations are generated for the API. Choose between isolated (default) and shared.",
|
|
@@ -73,9 +65,9 @@
|
|
|
73
65
|
},
|
|
74
66
|
"auth": {
|
|
75
67
|
"type": "string",
|
|
76
|
-
"description": "The method used to authenticate with your API. Choose between
|
|
77
|
-
"default": "
|
|
78
|
-
"enum": ["
|
|
68
|
+
"description": "The method used to authenticate with your API. Choose between iam (default), cognito or custom.",
|
|
69
|
+
"default": "iam",
|
|
70
|
+
"enum": ["iam", "cognito", "custom"],
|
|
79
71
|
"x-prompt": "How would you like users to authenticate with your API?",
|
|
80
72
|
"x-priority": "important"
|
|
81
73
|
},
|
|
@@ -92,13 +84,21 @@
|
|
|
92
84
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
93
85
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
94
86
|
},
|
|
95
|
-
"
|
|
87
|
+
"iac": {
|
|
96
88
|
"type": "string",
|
|
97
89
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
98
|
-
"enum": ["
|
|
90
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
99
91
|
"x-priority": "important",
|
|
100
|
-
"default": "
|
|
101
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
92
|
+
"default": "inherit",
|
|
93
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
94
|
+
},
|
|
95
|
+
"infra": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "The type of infrastructure to use to deploy this API.",
|
|
98
|
+
"default": "rest-lambda",
|
|
99
|
+
"enum": ["rest-lambda", "http-lambda"],
|
|
100
|
+
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
101
|
+
"x-priority": "important"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"required": ["name"]
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"x-prompt": "Select the project to add the lambda function to",
|
|
12
12
|
"x-dropdown": "projects"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"name": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"description": "The name of the function to add",
|
|
17
17
|
"$default": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"description": "Optional subdirectory within the project source directory to add the function to",
|
|
27
27
|
"x-prompt": "Enter the path within the project source directory to add the function to (e.g. 'lambda-functions/')"
|
|
28
28
|
},
|
|
29
|
-
"
|
|
29
|
+
"event": {
|
|
30
30
|
"type": "string",
|
|
31
31
|
"description": "Optional event source schema to use for the lambda function",
|
|
32
32
|
"x-priority": "important",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"default": "Any",
|
|
78
78
|
"x-prompt": "Enter the event source schema to use for the lambda function"
|
|
79
79
|
},
|
|
80
|
-
"
|
|
80
|
+
"iac": {
|
|
81
81
|
"type": "string",
|
|
82
82
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
83
|
-
"enum": ["
|
|
83
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
84
84
|
"x-priority": "important",
|
|
85
|
-
"default": "
|
|
86
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
85
|
+
"default": "inherit",
|
|
86
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
-
"required": ["project", "
|
|
89
|
+
"required": ["project", "name"]
|
|
90
90
|
}
|
|
@@ -15,14 +15,6 @@
|
|
|
15
15
|
"x-prompt": "Select the TypeScript project to add the MCP server to",
|
|
16
16
|
"x-dropdown": "projects"
|
|
17
17
|
},
|
|
18
|
-
"computeType": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "The type of compute to host your MCP server. Select None for no hosting.",
|
|
21
|
-
"x-prompt": "How would you like to host your MCP server?",
|
|
22
|
-
"enum": ["BedrockAgentCoreRuntime", "None"],
|
|
23
|
-
"default": "BedrockAgentCoreRuntime",
|
|
24
|
-
"x-priority": "important"
|
|
25
|
-
},
|
|
26
18
|
"name": {
|
|
27
19
|
"type": "string",
|
|
28
20
|
"description": "The name of your MCP server (default: mcp-server)",
|
|
@@ -30,19 +22,27 @@
|
|
|
30
22
|
},
|
|
31
23
|
"auth": {
|
|
32
24
|
"type": "string",
|
|
33
|
-
"description": "The method used to authenticate with your MCP server. Only applicable when
|
|
34
|
-
"default": "
|
|
35
|
-
"enum": ["
|
|
25
|
+
"description": "The method used to authenticate with your MCP server. Only applicable when infra is set (ignored when infra is none).",
|
|
26
|
+
"default": "iam",
|
|
27
|
+
"enum": ["iam", "cognito"],
|
|
36
28
|
"x-prompt": "How would you like to authenticate with your MCP server?",
|
|
37
29
|
"x-priority": "important"
|
|
38
30
|
},
|
|
39
|
-
"
|
|
31
|
+
"iac": {
|
|
40
32
|
"type": "string",
|
|
41
33
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
42
|
-
"enum": ["
|
|
34
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
43
35
|
"x-priority": "important",
|
|
44
|
-
"default": "
|
|
45
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
36
|
+
"default": "inherit",
|
|
37
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
38
|
+
},
|
|
39
|
+
"infra": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "The type of infrastructure to host your MCP server. Select none for no hosting.",
|
|
42
|
+
"x-prompt": "How would you like to host your MCP server?",
|
|
43
|
+
"enum": ["agentcore", "none"],
|
|
44
|
+
"default": "agentcore",
|
|
45
|
+
"x-priority": "important"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"required": ["project"]
|
package/src/ts/rdb/schema.json
CHANGED
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
28
28
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
29
29
|
},
|
|
30
|
-
"
|
|
30
|
+
"infra": {
|
|
31
31
|
"type": "string",
|
|
32
|
-
"enum": ["
|
|
33
|
-
"default": "
|
|
32
|
+
"enum": ["aurora"],
|
|
33
|
+
"default": "aurora",
|
|
34
34
|
"description": "Relational database service to provision.",
|
|
35
35
|
"x-priority": "important",
|
|
36
36
|
"x-prompt": "Which database service would you like to use?"
|
|
37
37
|
},
|
|
38
38
|
"engine": {
|
|
39
39
|
"type": "string",
|
|
40
|
-
"enum": ["
|
|
41
|
-
"default": "
|
|
40
|
+
"enum": ["postgres", "mysql"],
|
|
41
|
+
"default": "postgres",
|
|
42
42
|
"description": "Database engine to use with the selected service.",
|
|
43
43
|
"x-priority": "important",
|
|
44
44
|
"x-prompt": "Which database engine would you like to use?"
|
|
@@ -52,22 +52,22 @@
|
|
|
52
52
|
"type": "string",
|
|
53
53
|
"description": "Initial database name. Defaults to the project name."
|
|
54
54
|
},
|
|
55
|
-
"
|
|
55
|
+
"framework": {
|
|
56
56
|
"type": "string",
|
|
57
|
-
"enum": ["
|
|
58
|
-
"default": "
|
|
57
|
+
"enum": ["prisma"],
|
|
58
|
+
"default": "prisma",
|
|
59
59
|
"description": "ORM framework to use for the generated project.",
|
|
60
60
|
"x-priority": "important",
|
|
61
61
|
"x-prompt": "Which ORM framework would you like to use?"
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"iac": {
|
|
64
64
|
"type": "string",
|
|
65
65
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
66
|
-
"enum": ["
|
|
66
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
67
67
|
"x-priority": "important",
|
|
68
|
-
"default": "
|
|
69
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
68
|
+
"default": "inherit",
|
|
69
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"required": ["name", "
|
|
72
|
+
"required": ["name", "infra", "engine", "framework"]
|
|
73
73
|
}
|
|
@@ -35,53 +35,53 @@
|
|
|
35
35
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
36
36
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
37
37
|
},
|
|
38
|
-
"
|
|
38
|
+
"ux": {
|
|
39
39
|
"type": "string",
|
|
40
40
|
"description": "The preferred UX provider.",
|
|
41
|
-
"enum": ["
|
|
41
|
+
"enum": ["none", "cloudscape", "shadcn"],
|
|
42
42
|
"x-priority": "important",
|
|
43
|
-
"default": "
|
|
43
|
+
"default": "cloudscape",
|
|
44
44
|
"x-prompt": {
|
|
45
45
|
"message": "Which UX provider should we scaffold for this app?",
|
|
46
46
|
"type": "list",
|
|
47
47
|
"items": [
|
|
48
48
|
{
|
|
49
|
-
"value": "
|
|
49
|
+
"value": "none",
|
|
50
50
|
"label": "None (plain React/Vite without a UI kit)"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
"value": "
|
|
53
|
+
"value": "cloudscape",
|
|
54
54
|
"label": "Cloudscape (AWS-first components with ready-made layouts)"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"value": "
|
|
57
|
+
"value": "shadcn",
|
|
58
58
|
"label": "Shadcn (shared UI library under packages/common/shadcn)"
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
|
-
"default": "
|
|
61
|
+
"default": "cloudscape"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
"
|
|
64
|
+
"tailwind": {
|
|
65
65
|
"description": "Enable TailwindCSS for utility-first styling.",
|
|
66
66
|
"type": "boolean",
|
|
67
67
|
"default": true,
|
|
68
68
|
"x-priority": "important",
|
|
69
69
|
"x-prompt": "Would you like to enable TailwindCSS for additional styling capabilities?"
|
|
70
70
|
},
|
|
71
|
-
"
|
|
71
|
+
"tanstackRouter": {
|
|
72
72
|
"description": "Enable Tanstack router for type-safe routing.",
|
|
73
73
|
"type": "boolean",
|
|
74
74
|
"default": true,
|
|
75
75
|
"x-priority": "important",
|
|
76
76
|
"x-prompt": "Would you like to enable Tanstack Router for type-safe routing?"
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"iac": {
|
|
79
79
|
"type": "string",
|
|
80
80
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
81
|
-
"enum": ["
|
|
81
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
82
82
|
"x-priority": "important",
|
|
83
|
-
"default": "
|
|
84
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
83
|
+
"default": "inherit",
|
|
84
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"required": ["name"],
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"x-prompt": "Enable self signup?",
|
|
38
38
|
"x-priority": "important"
|
|
39
39
|
},
|
|
40
|
-
"
|
|
40
|
+
"iac": {
|
|
41
41
|
"type": "string",
|
|
42
42
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
43
|
-
"enum": ["
|
|
43
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
44
44
|
"x-priority": "important",
|
|
45
|
-
"default": "
|
|
46
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
45
|
+
"default": "inherit",
|
|
46
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"required": ["project"]
|