mirror of
https://github.com/samvallad33/vestige.git
synced 2026-05-10 08:12:37 +02:00
Updated TypeScript packages, npm package, and config files. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
465 B
JavaScript
Executable file
19 lines
465 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' ? 'vestige-mcp.exe' : 'vestige-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);
|
|
});
|