mirror of
https://github.com/samvallad33/vestige.git
synced 2026-05-08 23:32:37 +02:00
FSRS-6 spaced repetition, spreading activation, synaptic tagging, hippocampal indexing, and 130 years of memory research. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
463 B
JavaScript
Executable file
19 lines
463 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
const { spawn } = require('child_process');
|
|
const path = require('path');
|
|
const os = require('os');
|
|
|
|
const platform = os.platform();
|
|
const arch = os.arch();
|
|
|
|
const binaryName = platform === 'win32' ? 'engram-mcp.exe' : 'engram-mcp';
|
|
const binaryPath = path.join(__dirname, '..', 'bin', binaryName);
|
|
|
|
const child = spawn(binaryPath, process.argv.slice(2), {
|
|
stdio: 'inherit',
|
|
});
|
|
|
|
child.on('exit', (code) => {
|
|
process.exit(code ?? 0);
|
|
});
|