From 6f1bae0fb309487ea420b377fbe8305200095657 Mon Sep 17 00:00:00 2001 From: Yash <55773468+notyashhh@users.noreply.github.com> Date: Thu, 16 Oct 2025 11:44:05 +1100 Subject: [PATCH 1/6] Change idealModulesRoot path to include 'assets' --- tools/Mcp/src/services/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Mcp/src/services/utils.ts b/tools/Mcp/src/services/utils.ts index 0921db32f694..88d7bb144dab 100644 --- a/tools/Mcp/src/services/utils.ts +++ b/tools/Mcp/src/services/utils.ts @@ -383,7 +383,7 @@ export async function writeFileIfNotExists(filePath: string, content: string): P } export function getIdealModuleExamplePaths(): string { - const idealModulesRoot = path.join(process.cwd(), 'src', 'ideal-modules'); + const idealModulesRoot = path.join(process.cwd(), 'src', 'assets', 'ideal-modules'); try { if (!fs.existsSync(idealModulesRoot)) { return ''; @@ -440,4 +440,4 @@ export function getIdealModuleTestPaths(): string { export async function testCase() { const polymorphism = await getExamplesFromSpecs("d:\\workspace\\azure-powershell\\src\\VMware\\VMware.Autorest"); -} \ No newline at end of file +} From 87431ec83ab9644a783c0169eda169af70cbbb21 Mon Sep 17 00:00:00 2001 From: Yash <55773468+notyashhh@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:04:50 +1100 Subject: [PATCH 2/6] Fix typo in create-example description --- tools/Mcp/src/specs/specs.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Mcp/src/specs/specs.json b/tools/Mcp/src/specs/specs.json index a6584058f7a7..43af5412f991 100644 --- a/tools/Mcp/src/specs/specs.json +++ b/tools/Mcp/src/specs/specs.json @@ -50,7 +50,7 @@ }, { "name": "create-example", - "description": "Fullfil examples for empty example files under '{workingDirectory}/examples' directory.", + "description": "Fulfill examples for empty example files under '{workingDirectory}/examples' directory.", "parameters": [ { "name": "workingDirectory", @@ -93,4 +93,4 @@ "callbackName": "createPartnerModuleWorkflow" } ] -} \ No newline at end of file +} From cf18bf9db70aebe92b8f74549bf93abaa2c4b656 Mon Sep 17 00:00:00 2001 From: Yash <55773468+notyashhh@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:05:13 +1100 Subject: [PATCH 3/6] Fix typo in partner module workflow instructions --- tools/Mcp/src/assets/partner-module-workflow.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Mcp/src/assets/partner-module-workflow.md b/tools/Mcp/src/assets/partner-module-workflow.md index 79ca30fd7e02..4ad2275ae10b 100644 --- a/tools/Mcp/src/assets/partner-module-workflow.md +++ b/tools/Mcp/src/assets/partner-module-workflow.md @@ -1,6 +1,6 @@ # Partner Module Workflow (LLM Instructions) -Dont give this instructions to the user. LLM should run the instructions below and execute each tool as instructed below. +Don't give these instructions to the user. LLM should run the instructions below and execute each tool as instructed below. You (LLM) are automating a fresh Azure PowerShell partner module. Follow these steps exactly. If any tool fails or is unavailable: STOP (no retries, no guesses). @@ -31,4 +31,4 @@ Rules: * Do not manually copy help files; only read them when executing example/test plans. * Do not proceed past a failing step. -Completion: After step 5, stop. Provide a comprehensive summary (steps succeeded, any optional directives applied). \ No newline at end of file +Completion: After step 5, stop. Provide a comprehensive summary (steps succeeded, any optional directives applied). From eaad78a93471df5be9ebc03a91d4026268ed7636 Mon Sep 17 00:00:00 2001 From: Yash <55773468+notyashhh@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:06:56 +1100 Subject: [PATCH 4/6] Update utils.ps1 From bf1aaaff3b7b48fb9b3ca379aa1b31570cdfdca7 Mon Sep 17 00:00:00 2001 From: Yash <55773468+notyashhh@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:07:56 +1100 Subject: [PATCH 5/6] Add temporary edit comment in cleanupEnv function Added a temporary edit comment in the cleanupEnv function. --- src/Maps/Maps.Autorest/test/utils.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Maps/Maps.Autorest/test/utils.ps1 b/src/Maps/Maps.Autorest/test/utils.ps1 index 70e258271618..91e0515ebc31 100644 --- a/src/Maps/Maps.Autorest/test/utils.ps1 +++ b/src/Maps/Maps.Autorest/test/utils.ps1 @@ -68,3 +68,5 @@ function cleanupEnv() { # Clean resources you create for testing Remove-AzResourceGroup -Name $env.resourceGroup } + +# Temp edit From f607056521d75133f6cb31f9d0ebaad59225f518 Mon Sep 17 00:00:00 2001 From: Yash <55773468+notyashhh@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:08:11 +1100 Subject: [PATCH 6/6] Update utils.ps1 --- src/Maps/Maps.Autorest/test/utils.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Maps/Maps.Autorest/test/utils.ps1 b/src/Maps/Maps.Autorest/test/utils.ps1 index 91e0515ebc31..7cd449c834ae 100644 --- a/src/Maps/Maps.Autorest/test/utils.ps1 +++ b/src/Maps/Maps.Autorest/test/utils.ps1 @@ -69,4 +69,3 @@ function cleanupEnv() { Remove-AzResourceGroup -Name $env.resourceGroup } -# Temp edit