UNPKG

mcard-js

Version:

MCard - Content-addressable storage with cryptographic hashing, handle resolution, and vector search for Node.js and browsers

34 lines 1.79 kB
/** * Runtime execution abstraction for multi-language support. * * Provides a pluggable runtime system that allows CLMs to execute * in different language environments (JavaScript, Python, Rust, C, etc.) * * ============================================================================= * REFACTORED MODULE - All implementations now in mcard-js/src/ptr/node/runtimes * ============================================================================= * * This file now serves as a backward-compatible re-export layer. * All runtime implementations have been moved to modular files: * * mcard-js/src/ptr/node/runtimes/ * ├── index.ts # Module exports * ├── base.ts # Runtime interface, types, utilities * ├── javascript.ts # JavaScriptRuntime * ├── python.ts # PythonRuntime * ├── binary.ts # BinaryRuntime * ├── wasm.ts # WasmRuntime * ├── lean.ts # LeanRuntime * ├── loader.ts # LoaderRuntime, CollectionLoaderRuntime * └── factory.ts # RuntimeFactory * * Direct imports from this module are supported for backward compatibility: * import { JavaScriptRuntime, RuntimeFactory } from './Runtimes.js'; * * Recommended usage for new code: * import { JavaScriptRuntime, RuntimeFactory } from './runtimes/index.js'; */ export type { Runtime, RuntimeOptions, RuntimeType, } from './runtimes/index.js'; export { checkCommand, execFile, parseOutput, } from './runtimes/index.js'; export { JavaScriptRuntime, PythonRuntime, BinaryRuntime, WasmRuntime, LeanRuntime, LoaderRuntime, CollectionLoaderRuntime, RuntimeFactory, } from './runtimes/index.js'; //# sourceMappingURL=Runtimes.d.ts.map