diff --git a/src/resources/extensions/gsd/commands.ts b/src/resources/extensions/gsd/commands.ts index 1c130f7f9..56df01e4a 100644 --- a/src/resources/extensions/gsd/commands.ts +++ b/src/resources/extensions/gsd/commands.ts @@ -31,7 +31,7 @@ import { filterDoctorIssues, } from "./doctor.js"; import { loadPrompt } from "./prompt-loader.js"; -import { handleMigrate } from "./migrate/command.js"; + import { handleRemote } from "../remote-questions/remote-command.js"; import { handleHistory } from "./history.js"; import { handleUndo } from "./undo.js"; @@ -249,6 +249,7 @@ export function registerGSDCommand(pi: ExtensionAPI): void { } if (trimmed === "migrate" || trimmed.startsWith("migrate ")) { + const { handleMigrate } = await import("./migrate/command.js"); await handleMigrate(trimmed.replace(/^migrate\s*/, "").trim(), ctx, pi); return; }