fix(ci): repair github copilot setup types

This commit is contained in:
Peter Steinberger
2026-04-29 12:31:08 +01:00
parent d30ba5351e
commit d8b9ace39c
3 changed files with 5 additions and 5 deletions

View File

@@ -321,8 +321,8 @@ export default definePluginEntry({
choiceLabel: "GitHub Copilot",
choiceHint: "Device login with your GitHub account",
methodId: "device",
modelAllowlist: {
loadCatalog: true,
modelSelection: {
promptWhenAuthChoiceProvided: true,
},
},
},

View File

@@ -345,8 +345,8 @@ describe("promptAuthConfig", () => {
auth: [],
wizard: {
setup: {
modelAllowlist: {
loadCatalog: true,
modelSelection: {
promptWhenAuthChoiceProvided: true,
},
},
},

View File

@@ -4,7 +4,7 @@ import { loadBundledPluginPublicSurfaceModuleSync } from "./facade-loader.js";
type FacadeModule = {
githubCopilotLoginCommand: (
opts: { profileId?: string; yes?: boolean },
opts: { profileId?: string; yes?: boolean; agentDir?: string },
runtime: RuntimeEnv,
) => Promise<void>;
};