const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
let node_fs = require("node:fs");
let node_path = require("node:path");
let node_url = require("node:url");
let __intlayer_config = require("@intlayer/config");
let __modelcontextprotocol_sdk_client_index_js = require("@modelcontextprotocol/sdk/client/index.js");

//#region src/client/client.ts
const dirname = __intlayer_config.isESModule ? (0, node_path.dirname)((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href)) : __dirname;
const packageJson = JSON.parse((0, node_fs.readFileSync)((0, node_path.resolve)(dirname, "../../../package.json"), "utf8"));
const loadClient = () => new __modelcontextprotocol_sdk_client_index_js.Client({
	name: `mcp-client-for-intlayer-mcp-server`,
	version: packageJson.version
});

//#endregion
exports.dirname = dirname;
exports.loadClient = loadClient;
//# sourceMappingURL=client.cjs.map