Something went wrong. Try again.
fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)
Something went wrong. Try again.
336 B · 13 lines
TypeScript
at main
1234567891011121314import { ensureKernelPython } from "./bootstrap.js";
function errorMessage(error: unknown): string { return error instanceof Error ? error.message : String(error);}
try { const python = await ensureKernelPython(); console.log(`kernel python: ${python}`);} catch (error) { console.error(errorMessage(error)); process.exit(1);}