@aws/nx-plugin-mcp 1.1.1 → 1.3.0
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 +20 -0
- package/docs/get_started/tutorials/dungeon-game/2.mdx +4 -0
- package/docs/get_started/tutorials/dungeon-game/3.mdx +1 -1
- package/docs/guides/greengrass-component.mdx +769 -0
- package/docs/guides/py-agent-guardrails.mdx +306 -0
- package/docs/guides/py-agent.mdx +6 -21
- package/docs/guides/runtime-config.mdx +1 -1
- package/docs/guides/ts-agent-guardrails.mdx +2 -2
- package/generators.json +16 -0
- package/package.json +1 -1
- package/src/greengrass/component/schema.json +82 -0
- package/src/py/agent/guardrails/schema.json +25 -0
package/bin/aws-nx-mcp.js
CHANGED
|
@@ -22201,6 +22201,7 @@ const NX_VERSION = {
|
|
|
22201
22201
|
"@aws-sdk/client-iam": "3.1152.0",
|
|
22202
22202
|
"@aws-sdk/client-bedrock-agentcore": "3.1152.0",
|
|
22203
22203
|
"@aws-sdk/client-bedrock-runtime": "3.1152.0",
|
|
22204
|
+
"@aws-sdk/client-greengrassv2": "3.1152.0",
|
|
22204
22205
|
"@aws-sdk/client-s3": "3.1152.0",
|
|
22205
22206
|
"@aws-sdk/client-sts": "3.1152.0",
|
|
22206
22207
|
"@aws-sdk/client-cognito-identity-provider": "3.1152.0",
|
|
@@ -22258,6 +22259,7 @@ const NX_VERSION = {
|
|
|
22258
22259
|
"@types/node": "26.6.5",
|
|
22259
22260
|
"@types/aws-lambda": "8.10.164",
|
|
22260
22261
|
"@types/cors": "2.8.19",
|
|
22262
|
+
"@types/js-yaml": "4.0.9",
|
|
22261
22263
|
"@types/pg": "8.23.1",
|
|
22262
22264
|
"@types/ws": "8.18.2",
|
|
22263
22265
|
"@types/express": "5.0.6",
|
|
@@ -22274,6 +22276,7 @@ const NX_VERSION = {
|
|
|
22274
22276
|
aws4fetch: "1.0.20",
|
|
22275
22277
|
"aws-cdk": "2.1145.0",
|
|
22276
22278
|
"aws-cdk-lib": "2.273.0",
|
|
22279
|
+
"aws-iot-device-sdk-v2": "1.28.0",
|
|
22277
22280
|
"aws-xray-sdk-core": "3.12.0",
|
|
22278
22281
|
constructs: "10.8.1",
|
|
22279
22282
|
cors: "2.8.6",
|
|
@@ -22296,6 +22299,7 @@ const NX_VERSION = {
|
|
|
22296
22299
|
husky: "9.1.7",
|
|
22297
22300
|
"fs-extra": "11.4.1",
|
|
22298
22301
|
"@types/fs-extra": "11.0.4",
|
|
22302
|
+
"js-yaml": "4.3.2",
|
|
22299
22303
|
mariadb: "3.5.4",
|
|
22300
22304
|
mise: "2026.10.14",
|
|
22301
22305
|
npm: "12.2.1",
|
|
@@ -55690,6 +55694,14 @@ const generatorsJsonEntries = {
|
|
|
55690
55694
|
"connection/react-agentcore-gateway"
|
|
55691
55695
|
]
|
|
55692
55696
|
},
|
|
55697
|
+
"greengrass#component": {
|
|
55698
|
+
"factory": "./src/greengrass/component/generator",
|
|
55699
|
+
"schema": "./src/greengrass/component/schema.json",
|
|
55700
|
+
"description": "Add an AWS IoT Greengrass component to an existing Python or TypeScript project",
|
|
55701
|
+
"metric": "g74",
|
|
55702
|
+
"guidePages": ["greengrass-component"],
|
|
55703
|
+
"experimental": true
|
|
55704
|
+
},
|
|
55693
55705
|
"license": {
|
|
55694
55706
|
"factory": "./src/license/generator",
|
|
55695
55707
|
"schema": "./src/license/schema.json",
|
|
@@ -55795,6 +55807,14 @@ const generatorsJsonEntries = {
|
|
|
55795
55807
|
"metric": "g25",
|
|
55796
55808
|
"guidePages": ["py-agent"]
|
|
55797
55809
|
},
|
|
55810
|
+
"py#agent#guardrails": {
|
|
55811
|
+
"factory": "./src/py/agent/guardrails/generator",
|
|
55812
|
+
"schema": "./src/py/agent/guardrails/schema.json",
|
|
55813
|
+
"description": "Add an Amazon Bedrock Guardrail to a Python Agent",
|
|
55814
|
+
"metric": "g77",
|
|
55815
|
+
"guidePages": ["py-agent-guardrails"],
|
|
55816
|
+
"experimental": true
|
|
55817
|
+
},
|
|
55798
55818
|
"py#agent#mcp-connection": {
|
|
55799
55819
|
"factory": "./src/py/agent/mcp-connection/generator",
|
|
55800
55820
|
"schema": "./src/py/agent/mcp-connection/schema.json",
|
|
@@ -174,6 +174,10 @@ The procedures and MCP server we just wrote import `@dungeon-adventure/dungeon-d
|
|
|
174
174
|
|
|
175
175
|
<NxCommands commands={["sync"]} />
|
|
176
176
|
|
|
177
|
+
Install dependencies to resolve the new workspace links and update the lockfile:
|
|
178
|
+
|
|
179
|
+
<InstallCommand />
|
|
180
|
+
|
|
177
181
|
<Aside type="tip" title="Why this step is needed">
|
|
178
182
|
`nx sync` declares `@dungeon-adventure/dungeon-db` in the `game-api` and `inventory` `package.json` files and adds the matching TypeScript project references for you, saving you from needing to add this by hand when declaring dependencies between projects.
|
|
179
183
|
</Aside>
|
|
@@ -48,7 +48,7 @@ If you encounter any lint errors, run the following command to automatically fix
|
|
|
48
48
|
</Aside>
|
|
49
49
|
|
|
50
50
|
<Aside type="tip" title="The workspace is out of sync">
|
|
51
|
-
If the build reports `The workspace is out of sync`, run `nx sync
|
|
51
|
+
If the build reports `The workspace is out of sync`, run `nx sync`, install dependencies, and build again.
|
|
52
52
|
</Aside>
|
|
53
53
|
|
|
54
54
|
### Chat with your Agent
|