Snapshot of uncommitted work: landing, bots, prod infra, partner cabinet, backoffice stage 1

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
zabudko-ruandClaude Opus 5.5 committed 2026-10-21 01:23:32 +04:00
1 parent 45d7512d2b
commit d452824c62
314 files changed
+44394 -121

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
/**
* Продакшен: API, воркер и оба бота в одном процессе — экономит память на общем сервере.
* Состав задаётся RUN=api,worker,bot-client,bot-pro (по умолчанию — всё).
*/
const run = new Set((process.env.RUN ?? 'api,worker,bot-client,bot-pro').split(',').map((s) => s.trim()));
if (run.has('api')) await import('../api/src/server.ts');
if (run.has('worker')) await import('../worker/src/index.ts');
if (run.has('bot-client')) await import('../bot-client/src/index.ts');
if (run.has('bot-pro')) await import('../bot-pro/src/index.ts');