@aws/nx-plugin-mcp 1.0.0-rc.0 → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/aws-nx-mcp.js +22 -17
- 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 +16 -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 +6 -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/generators.json +10 -5
- 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 +15 -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 +15 -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 +21 -13
- package/src/ts/website/auth/schema.json +4 -4
|
@@ -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
|
+
"stageConfig": {
|
|
31
31
|
"description": "Enable centralized stage configuration (credentials, account, region) for multi-environment CDK deployments.",
|
|
32
32
|
"type": "boolean",
|
|
33
33
|
"default": false,
|
package/src/preset/schema.json
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"description": "Whether to add the ts plugin.",
|
|
11
11
|
"default": true
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"iac": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"description": "The preferred IaC provider.",
|
|
16
|
-
"enum": ["
|
|
17
|
-
"default": "
|
|
16
|
+
"enum": ["cdk", "terraform"],
|
|
17
|
+
"default": "cdk",
|
|
18
18
|
"x-priority": "important",
|
|
19
19
|
"x-prompt": "Which provider would you like to manage your infrastructure?"
|
|
20
20
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"description": "Whether to configure git-secrets to prevent committing AWS credentials.",
|
|
24
24
|
"default": true
|
|
25
25
|
},
|
|
26
|
-
"
|
|
26
|
+
"containers": {
|
|
27
27
|
"type": "string",
|
|
28
28
|
"description": "The container engine to use for build/push/login. 'infer' picks docker if installed, otherwise finch (falling back to docker when neither is installed).",
|
|
29
29
|
"enum": ["infer", "docker", "finch"],
|
package/src/py/agent/schema.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"x-prompt": "Select the Python 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 FastAPI HTTP server. A2A exposes an Agent-to-Agent protocol server. AG-UI exposes an Agent-User Interaction protocol server for direct frontend integration.",
|
|
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/py/api/schema.json
CHANGED
|
@@ -33,14 +33,6 @@
|
|
|
33
33
|
},
|
|
34
34
|
"x-priority": "important"
|
|
35
35
|
},
|
|
36
|
-
"computeType": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"description": "The type of compute to use to deploy this API. Choose between ServerlessApiGatewayRestApi (default) or ServerlessApiGatewayHttpApi.",
|
|
39
|
-
"default": "ServerlessApiGatewayRestApi",
|
|
40
|
-
"enum": ["ServerlessApiGatewayRestApi", "ServerlessApiGatewayHttpApi"],
|
|
41
|
-
"x-prompt": "What compute type would you like to deploy your API with?",
|
|
42
|
-
"x-priority": "important"
|
|
43
|
-
},
|
|
44
36
|
"integrationPattern": {
|
|
45
37
|
"type": "string",
|
|
46
38
|
"description": "How API Gateway integrations are generated for the API. Choose between isolated (default) and shared.",
|
|
@@ -65,9 +57,9 @@
|
|
|
65
57
|
},
|
|
66
58
|
"auth": {
|
|
67
59
|
"type": "string",
|
|
68
|
-
"description": "The method used to authenticate with your API. Choose between
|
|
69
|
-
"default": "
|
|
70
|
-
"enum": ["
|
|
60
|
+
"description": "The method used to authenticate with your API. Choose between iam (default), cognito or custom.",
|
|
61
|
+
"default": "iam",
|
|
62
|
+
"enum": ["iam", "cognito", "custom"],
|
|
71
63
|
"x-prompt": "How would you like users to authenticate with your API?",
|
|
72
64
|
"x-priority": "important"
|
|
73
65
|
},
|
|
@@ -83,17 +75,25 @@
|
|
|
83
75
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
84
76
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
85
77
|
},
|
|
86
|
-
"
|
|
78
|
+
"iac": {
|
|
87
79
|
"type": "string",
|
|
88
80
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
89
|
-
"enum": ["
|
|
81
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
90
82
|
"x-priority": "important",
|
|
91
|
-
"default": "
|
|
92
|
-
"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)"
|
|
93
85
|
},
|
|
94
86
|
"moduleName": {
|
|
95
87
|
"type": "string",
|
|
96
88
|
"description": "Python module name"
|
|
89
|
+
},
|
|
90
|
+
"infra": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "The type of infrastructure to use to deploy this API.",
|
|
93
|
+
"default": "rest-lambda",
|
|
94
|
+
"enum": ["rest-lambda", "http-lambda", "none"],
|
|
95
|
+
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
96
|
+
"x-priority": "important"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"required": ["name"]
|
|
@@ -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.",
|
|
75
|
+
"default": "rest-lambda",
|
|
76
|
+
"enum": ["rest-lambda", "http-lambda", "none"],
|
|
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,22 @@
|
|
|
75
75
|
"default": "Any",
|
|
76
76
|
"x-prompt": "Enter the event source model to use for the lambda function"
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"infra": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "The type of infrastructure to deploy your Lambda function with.",
|
|
81
|
+
"enum": ["lambda", "none"],
|
|
82
|
+
"default": "lambda",
|
|
83
|
+
"x-priority": "important",
|
|
84
|
+
"x-prompt": "What infrastructure would you like to deploy your Lambda function with?"
|
|
85
|
+
},
|
|
86
|
+
"iac": {
|
|
79
87
|
"type": "string",
|
|
80
88
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
81
|
-
"enum": ["
|
|
89
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
82
90
|
"x-priority": "important",
|
|
83
|
-
"default": "
|
|
84
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
91
|
+
"default": "inherit",
|
|
92
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
85
93
|
}
|
|
86
94
|
},
|
|
87
|
-
"required": ["project", "
|
|
95
|
+
"required": ["project", "name"]
|
|
88
96
|
}
|
|
@@ -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", "none"],
|
|
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.",
|
|
70
|
+
"default": "rest-lambda",
|
|
71
|
+
"enum": ["rest-lambda", "http-lambda", "none"],
|
|
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", "none"],
|
|
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,22 @@
|
|
|
77
77
|
"default": "Any",
|
|
78
78
|
"x-prompt": "Enter the event source schema to use for the lambda function"
|
|
79
79
|
},
|
|
80
|
-
"
|
|
80
|
+
"infra": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "The type of infrastructure to deploy your Lambda function with.",
|
|
83
|
+
"enum": ["lambda", "none"],
|
|
84
|
+
"default": "lambda",
|
|
85
|
+
"x-priority": "important",
|
|
86
|
+
"x-prompt": "What infrastructure would you like to deploy your Lambda function with?"
|
|
87
|
+
},
|
|
88
|
+
"iac": {
|
|
81
89
|
"type": "string",
|
|
82
90
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
83
|
-
"enum": ["
|
|
91
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
84
92
|
"x-priority": "important",
|
|
85
|
-
"default": "
|
|
86
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
93
|
+
"default": "inherit",
|
|
94
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
87
95
|
}
|
|
88
96
|
},
|
|
89
|
-
"required": ["project", "
|
|
97
|
+
"required": ["project", "name"]
|
|
90
98
|
}
|