"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MABL_DEBUG_VERBOSE_ENV_VAR = exports.DEFAULT_MABL_BRANCH = exports.CHROME_FOR_MABL_MCP_ENTRY_NAME = exports.DEFAULT_DEBUG_PORT = void 0;
exports.buildChromeForMablMcpConfig = buildChromeForMablMcpConfig;
exports.DEFAULT_DEBUG_PORT = 9222;
const DEBUG_LOCALHOST = '127.0.0.1';
exports.CHROME_FOR_MABL_MCP_ENTRY_NAME = 'chrome-for-mabl';
const CHROME_DEVTOOLS_MCP_PACKAGE = 'chrome-devtools-mcp@latest';
exports.DEFAULT_MABL_BRANCH = 'none';
exports.MABL_DEBUG_VERBOSE_ENV_VAR = 'MABL_DEBUG_VERBOSE';
function buildChromeForMablMcpConfig(port = exports.DEFAULT_DEBUG_PORT) {
    return {
        command: 'npx',
        args: [
            CHROME_DEVTOOLS_MCP_PACKAGE,
            '--browserUrl',
            `http://${DEBUG_LOCALHOST}:${port}`,
        ],
    };
}
