context-crystallizer
Version:
AI Crystallization Engineering for Large Repositories - Transform massive repositories into crystallized, AI-consumable knowledge through systematic analysis and optimization. Crystallization extracts meaningful context from any readable files.
22 lines • 653 B
JavaScript
import { spawn } from 'child_process';
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const serverPath = path.join(__dirname, 'index.js');
const child = spawn('node', [serverPath], {
stdio: 'inherit',
env: {
...process.env,
NODE_ENV: process.env.NODE_ENV || 'production',
},
});
child.on('error', (error) => {
console.error('Failed to start Context Crystallizer:', error);
process.exit(1);
});
child.on('exit', (code) => {
process.exit(code || 0);
});
//# sourceMappingURL=cli.js.map