import { n as createRunner } from "./cli-CVBSlTD8.mjs";
import "./src-DjOTPnDz.mjs";
//#region ../../apps/server/src/runner.ts
let runnerInstance = null;
function getRunnerInstance({ loadEnv = true } = {}) {
	if (!runnerInstance) runnerInstance = createRunner({ loadEnv });
	return runnerInstance;
}
async function initRunner(options = {}) {
	const runner = getRunnerInstance(options);
	await runner.init();
	return runner;
}
//#endregion
export { initRunner as n, getRunnerInstance as t };
