"use strict"; /** * Game engine process — runs Candle Predict tick loop without HTTP API. */ Object.defineProperty(exports, "__esModule", { value: true }); const appBootstrap_1 = require("../bootstrap/appBootstrap"); const config_1 = require("../config"); async function main() { await (0, appBootstrap_1.bootstrapCore)({ startEngines: true, startPlatformMonitors: false, }); console.log('[engine] Candle Predict engine running'); console.log(`[engine] redis=${config_1.config.redis.enabled} roundCache=${config_1.config.redis.roundCacheEnabled}`); console.log(`[engine] leader=${process.env.ENGINE_LEADER === '1' ? 'yes' : 'shared'}`); } main().catch((e) => { console.error(e); process.exit(1); }); process.on('unhandledRejection', (reason) => { console.error('[engine] Unhandled promise rejection:', reason); }); //# sourceMappingURL=engine.js.map