Claude Code. Any Model. The most powerful AI coding agent now speaks every language.
fix(meta-muse-code): open only an https verification URL during login
Jack Rudenko418d49c375f1
diff --git a/packages/cli/src/auth/meta-muse-oauth.ts b/packages/cli/src/auth/meta-muse-oauth.tsindex 08f325ce..3180132c 100644--- a/packages/cli/src/auth/meta-muse-oauth.ts+++ b/packages/cli/src/auth/meta-muse-oauth.ts@@ -100,6 +100,9 @@ export interface MuseOAuthDeps {}function openInBrowser(url: string): Promise<void> {+ // The URL is the server's; `open`/`xdg-open` would also launch file: or+ // custom-scheme handlers. Only https is opened; anything else stays printed.+ if (!/^https:\/\//i.test(url)) return Promise.resolve();const command =process.platform === "darwin" ? "open" : process.platform === "win32" ? "explorer" : "xdg-open";// execFile, not a shell: the URL is the vendor's and is passed as one argument.