()
| 7 | import { initStandaloneMcpRuntime } from './standalone-runtime' |
| 8 | |
| 9 | function makeTempDir(): string { |
| 10 | const baseDir = fs.existsSync('/private/tmp') ? '/private/tmp' : os.tmpdir() |
| 11 | return fs.mkdtempSync(path.join(baseDir, 'chatlab-mcp-bin-')) |
| 12 | } |
| 13 | |
| 14 | test('initStandaloneMcpRuntime rejects incompatible data directories before stdio startup', () => { |
| 15 | const userDataDir = makeTempDir() |