@aws/nx-plugin 0.25.2 → 0.25.3
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/README.md
CHANGED
|
@@ -96,9 +96,9 @@ pnpm nx g @aws/nx-plugin:ts#infra
|
|
|
96
96
|
|
|
97
97
|
### Additional resources
|
|
98
98
|
|
|
99
|
-
- Use [Quick Start](https://awslabs.github.io/nx-plugin-for-aws/get_started/quick-start/) to get a taste of @aws/nx-plugin.
|
|
100
|
-
- [Build a Dungeon Adventure Game](https://awslabs.github.io/nx-plugin-for-aws/get_started/tutorials/dungeon-game/overview/) to get an in-depth guided tutorial on how to use the @aws/nx-plugin.
|
|
101
|
-
- [Add @aws/nx-plugin to your existing project](https://awslabs.github.io/nx-plugin-for-aws/get_started/tutorials/existing-project/)
|
|
99
|
+
- Use [Quick Start](https://awslabs.github.io/nx-plugin-for-aws/en/get_started/quick-start/) to get a taste of @aws/nx-plugin.
|
|
100
|
+
- [Build a Dungeon Adventure Game](https://awslabs.github.io/nx-plugin-for-aws/en/get_started/tutorials/dungeon-game/overview/) to get an in-depth guided tutorial on how to use the @aws/nx-plugin.
|
|
101
|
+
- [Add @aws/nx-plugin to your existing project](https://awslabs.github.io/nx-plugin-for-aws/en/get_started/tutorials/existing-project/)
|
|
102
102
|
|
|
103
103
|
## MCP Server Installation and Setup
|
|
104
104
|
|
|
@@ -114,7 +114,7 @@ Example configuration for Amazon Q CLI MCP (`~/.aws/amazonq/mcp.json`):
|
|
|
114
114
|
"mcpServers": {
|
|
115
115
|
"aws-nx-mcp": {
|
|
116
116
|
"command": "npx",
|
|
117
|
-
"args": ["-p", "@aws/nx-plugin", "aws-nx-mcp"]
|
|
117
|
+
"args": ["-y", "-p", "@aws/nx-plugin", "aws-nx-mcp"]
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -122,6 +122,8 @@ Example configuration for Amazon Q CLI MCP (`~/.aws/amazonq/mcp.json`):
|
|
|
122
122
|
|
|
123
123
|
If you have issues such as `ENOENT npx`, replace the command with `/full/path/to/npx` (use `which npx` to find this).
|
|
124
124
|
|
|
125
|
+
For more details, [take a look at the guide here](https://awslabs.github.io/nx-plugin-for-aws/en/get_started/building-with-ai/)
|
|
126
|
+
|
|
125
127
|
## Documentation Translation
|
|
126
128
|
|
|
127
129
|
The project supports automatic translation of documentation using AWS Bedrock's Deepseek & Haiku 3.5 models. Documentation is translated from English to multiple languages (currently Japanese, with support for French, Spanish, German, Chinese, and Korean).
|
package/package.json
CHANGED
|
@@ -207,9 +207,14 @@ export const createServer = () => {
|
|
|
207
207
|
});
|
|
208
208
|
|
|
209
209
|
// Add an addition tool
|
|
210
|
-
server.tool(
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
server.tool(
|
|
211
|
+
'add',
|
|
212
|
+
'adds two numbers',
|
|
213
|
+
{ a: z.number(), b: z.number() },
|
|
214
|
+
async ({ a, b }) => ({
|
|
215
|
+
content: [{ type: 'text', text: String(a + b) }],
|
|
216
|
+
}),
|
|
217
|
+
);
|
|
213
218
|
|
|
214
219
|
// Add a resource which provides context from a markdown file
|
|
215
220
|
server.resource('example-context', 'example://context', async (uri) => ({
|