mirror of
https://github.com/Onewon/claude-code.git
synced 2026-04-26 06:41:16 +03:00
10 lines
361 B
JavaScript
10 lines
361 B
JavaScript
import { getRuntime as getWebRuntime } from "./web-runtime.mjs";
|
|
import { ReadStream as FsReadStream } from 'node:fs';
|
|
export function getRuntime() {
|
|
const runtime = getWebRuntime();
|
|
function isFsReadStream(value) {
|
|
return value instanceof FsReadStream;
|
|
}
|
|
return { ...runtime, isFsReadStream };
|
|
}
|
|
//# sourceMappingURL=bun-runtime.mjs.map
|