UNPKG

mcard-js

Version:

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

36 lines 1.57 kB
/** * CLMRunner - Execute JavaScript logic from CLM specifications * * Node.js PTR runtime for interpreting Cubical Logic Models * * ============================================================================= * REFACTORED MODULE - Implementation now in mcard-js/src/ptr/node/clm/ * ============================================================================= * * This file now serves as a backward-compatible re-export layer. * All implementations have been moved to modular files: * * mcard-js/src/ptr/node/clm/ * ├── index.ts # Module exports * ├── types.ts # All interfaces * ├── utils.ts # Helper functions * ├── loader.ts # CLMLoader * ├── runner.ts # CLMRunner * ├── multiruntime.ts # Multi-runtime consensus * └── builtins/ # Builtin handlers * ├── index.ts # Builtin detection * └── handle.ts # Handle version/prune * * Direct imports from this module are supported for backward compatibility: * import { CLMRunner, ExecutionResult } from './CLMRunner.js'; * * Recommended usage for new code: * import { CLMRunner, ExecutionResult } from './clm/index.js'; */ // Re-export utilities export { resultsEqual, asObject, buildBaseContext, } from './clm/utils.js'; // Re-export CLMRunner export { CLMRunner } from './clm/runner.js'; // Re-export multi-runtime export { executeMultiRuntime } from './clm/multiruntime.js'; //# sourceMappingURL=CLMRunner.js.map