mcard-js
Version:
MCard - Content-addressable storage with cryptographic hashing, handle resolution, and vector search for Node.js and browsers
30 lines • 1.09 kB
JavaScript
/**
* Runtimes Module for PTR (JavaScript)
* =====================================
*
* This module provides modular runtime executor implementations.
*
* Organization:
* - base.ts: Runtime interface, types, utility functions
* - javascript.ts: JavaScriptRuntime (VM or subprocess)
* - python.ts: PythonRuntime
* - binary.ts: BinaryRuntime (Rust, C)
* - wasm.ts: WasmRuntime
* - lean.ts: LeanRuntime
* - loader.ts: LoaderRuntime, CollectionLoaderRuntime
* - factory.ts: RuntimeFactory
*
* For backward compatibility, the main Runtimes.ts re-exports all classes.
*/
// Base utilities (value exports)
export { checkCommand, execFile, parseOutput, } from './base.js';
// Runtime implementations
export { JavaScriptRuntime } from './javascript.js';
export { PythonRuntime } from './python.js';
export { BinaryRuntime } from './binary.js';
export { WasmRuntime } from './wasm.js';
export { LeanRuntime } from './lean.js';
export { LoaderRuntime, CollectionLoaderRuntime } from './loader.js';
// Factory
export { RuntimeFactory } from './factory.js';
//# sourceMappingURL=index.js.map