EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
675 Bytes
'use strict';
// Entry point of the MOCK Oracle Fusion-style app (NOT Oracle software). Shared shell + pluggable module packs
// (mock-app/modules/<id>/). Synthetic data only; "Sign in" just picks a persona cookie; no credentials.
const { buildApp } = require('./core/shell');
const app = buildApp();
const PORT = Number(process.env.PORT || 3100);
// Loopback only unless MOCK_HOST says otherwise (a standalone practice pod that people open in a browser).
const HOST = process.env.MOCK_HOST || '127.0.0.1';
if (require.main === module) app.listen(PORT, HOST, () => console.log(`Mock Fusion (NOT Oracle) listening on http://${HOST}:${PORT}`));
module.exports = app;