Skip to content

Commit 1ba2c06

Browse files
azure-sdk-java-mcp, prepare environment only when there are error message on missing dev env (#45959)
* prepare environment only when there are error messages complaning missing dev env * update codeowner * Update eng/tools/mcp/azure-sdk-java-mcp/src/index.ts Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent 3a37002 commit 1ba2c06

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,7 @@
934934
/.github/CODEOWNERS @joshfree @srnagar @anuchandy @conniey @lmolkova @jonathangiles @alzimmermsft @Azure/azure-sdk-eng @Azure/azure-java-sdk
935935
/.github/workflows/ @Azure/azure-sdk-eng
936936
/.config/1espt/ @benbp @weshaggard
937+
/eng/tools/mcp/ @weidongxu-microsoft @haolingdong-msft @XiaofeiCao @samvaity
937938

938939
# Removing owners for this file to not require codeowner approval for changes to them given they are shared with project
939940
/eng/versioning/version_client.txt

.github/copilot-instructions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ The Azure SDK for Java repository contains client libraries for Azure services,
2626

2727
ACTION: Use azure-sdk-java-mcp sdk tools to generate the SDK.
2828
ACTION: Use azure-sdk-java-mcp sdk tools to build the SDK.
29-
ACTION: Don't prepare environment before synchronize TypeSpec source or generate SDK as if the synchronization or generation fail complaining missing environment, the tool will ask for preparing environment.
3029

3130
## Behavior
3231

eng/tools/mcp/azure-sdk-java-mcp/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ server.registerTool(
224224
"prepare_java_sdk_environment",
225225
{
226226
description:
227-
"Prepare the development environment required for Java SDK generation. This includes setting up Node.js/npm, Java/Maven, and TypeSpec tools.",
227+
"Prepare the development environment required for Java SDK generation when there are errors about missing development environments. The tool returns a cookbook with step-by-step instructions to install necessary environments including Node.js/npm, Java/Maven, and TypeSpec tools.",
228228
inputSchema: {
229229
cwd: z
230230
.string()

0 commit comments

Comments
 (0)