chore(extension): do not complain about old extension version (#937)

This commit is contained in:
Yury Semikhatsky
2025-08-22 17:53:30 -07:00
committed by GitHub
parent 3d1a60b7f3
commit 0812df2f5e
3 changed files with 8 additions and 74 deletions

View File

@@ -29,7 +29,6 @@ import { WebSocket, WebSocketServer } from 'ws';
import { httpAddressToString } from '../mcp/http.js';
import { logUnhandledError } from '../utils/log.js';
import { ManualPromise } from '../mcp/manualPromise.js';
import { packageJSON } from '../utils/package.js';
import type websocket from 'ws';
import type { ClientInfo } from '../browserContextFactory.js';
@@ -120,7 +119,6 @@ export class CDPRelayServer {
version: clientInfo.version,
};
url.searchParams.set('client', JSON.stringify(client));
url.searchParams.set('pwMcpVersion', packageJSON.version);
if (toolName)
url.searchParams.set('newTab', String(toolName === 'browser_navigate'));
const href = url.toString();