evalstate's picture
download
raw
720 Bytes
#!/usr/bin/env node
// Simple wrapper that adds --json flag and delegates to streamableHttp
import { spawn } from 'node:child_process';
import { fileURLToPath } from 'node:url';
import { dirname, join } from 'node:path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
// Path to the main streamableHttp script
const streamableHttpPath = join(__dirname, 'streamableHttp.js');
// Add --json flag to the arguments
const args = ['--json', ...process.argv.slice(2)];
// Spawn the main script with the --json flag
const child = spawn('node', [streamableHttpPath, ...args], {
stdio: 'inherit',
env: process.env
});
child.on('exit', (code) => {
process.exit(code || 0);
});

Xet Storage Details

Size:
720 Bytes
·
Xet hash:
7856d5ee5fae1cce92dce9cb3345ebe107a1b9918238c51930fb7adc8c42f29b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.