From 10dc6b8109bf237ba0b9b66c0abba317062e309b Mon Sep 17 00:00:00 2001 From: Rhuan Barreto Date: Tue, 31 Mar 2026 13:19:21 +0200 Subject: [PATCH 1/2] fix: use VS Code marketplace URL in copilot init fallback Ensure the init flow returns the Copilot-compatible marketplace URL when CLI auto-install is unavailable, so manual setup instructions stay consistent with plugin distribution. Made-with: Cursor --- src/helpers/init-project.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/helpers/init-project.ts b/src/helpers/init-project.ts index 9392d722..f005d06a 100644 --- a/src/helpers/init-project.ts +++ b/src/helpers/init-project.ts @@ -264,7 +264,11 @@ async function tryInstallPlugin(editor: EditorTarget): Promise { } if (editor === "copilot") { - const { isCopilotCliAvailable, installCopilotPlugin, buildMarketplaceUrl } = + const { + isCopilotCliAvailable, + installCopilotPlugin, + buildVscodeMarketplaceUrl, + } = await import("./plugin-install"); if (await isCopilotCliAvailable()) { @@ -276,7 +280,7 @@ async function tryInstallPlugin(editor: EditorTarget): Promise { } } - const url = buildMarketplaceUrl(); + const url = buildVscodeMarketplaceUrl(); return { installed: true, detail: url }; } From 1a0ad9f21af184c2118fdadb4e0de5b7bbd164dc Mon Sep 17 00:00:00 2001 From: Rhuan Barreto Date: Tue, 31 Mar 2026 13:27:26 +0200 Subject: [PATCH 2/2] fix: apply formatter output for init-project import Align the Copilot plugin-install dynamic import formatting with oxfmt so CI format checks pass consistently across validate and Windows smoke workflows. Made-with: Cursor --- src/helpers/init-project.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/helpers/init-project.ts b/src/helpers/init-project.ts index f005d06a..d837a611 100644 --- a/src/helpers/init-project.ts +++ b/src/helpers/init-project.ts @@ -268,8 +268,7 @@ async function tryInstallPlugin(editor: EditorTarget): Promise { isCopilotCliAvailable, installCopilotPlugin, buildVscodeMarketplaceUrl, - } = - await import("./plugin-install"); + } = await import("./plugin-install"); if (await isCopilotCliAvailable()) { try {