UNPKG

@codai/cbd

Version:

Codai Better Database - High-Performance Vector Memory System with HPKV-inspired architecture and MCP server

26 lines • 841 B
#!/usr/bin/env tsx /** * CBD Engine Service Startup Script * Simple startup script for the CBD Engine Service */ import { CBDEngineService } from './service.js'; async function startService() { try { console.log('šŸš€ Starting CBD Engine Service...'); const service = new CBDEngineService(); await service.start(); // Setup graceful shutdown const shutdown = async (signal) => { console.log(`\nšŸ“” Received ${signal}. Shutting down gracefully...`); process.exit(0); }; process.on('SIGINT', () => shutdown('SIGINT')); process.on('SIGTERM', () => shutdown('SIGTERM')); } catch (error) { console.error('āŒ Failed to start service:', error); process.exit(1); } } startService(); //# sourceMappingURL=start-service.js.map