chore(extension): build into dist directory (#825)

This commit is contained in:
Yury Semikhatsky
2025-08-04 11:47:25 -07:00
committed by GitHub
parent 3c6eac9b21
commit 6d62c173c8
8 changed files with 367 additions and 15 deletions

View File

@@ -106,7 +106,7 @@ export class CDPRelayServer {
private _connectBrowser(clientInfo: ClientInfo) {
const mcpRelayEndpoint = `${this._wsHost}${this._extensionPath}`;
// Need to specify "key" in the manifest.json to make the id stable when loading from file.
const url = new URL('chrome-extension://jakfalbnbhgkpmoaakfflhflbfpkailf/lib/ui/connect.html');
const url = new URL('chrome-extension://jakfalbnbhgkpmoaakfflhflbfpkailf/connect.html');
url.searchParams.set('mcpRelayUrl', mcpRelayEndpoint);
url.searchParams.set('client', JSON.stringify(clientInfo));
const href = url.toString();