mcard-js
Version:
MCard - Content-addressable storage with cryptographic hashing, handle resolution, and vector search for Node.js and browsers
27 lines • 1.59 kB
TypeScript
/**
* CLM Module for PTR (JavaScript)
* ================================
*
* This module provides modular CLM (Cubical Logic Model) execution.
*
* Organization:
* - types.ts: All TypeScript interfaces
* - utils.ts: Helper functions
* - loader.ts: CLMLoader for parsing CLM files
* - runner.ts: CLMRunner for executing CLMs
* - multiruntime.ts: Multi-runtime consensus execution
* - builtins/: Builtin operation handlers
*
* For backward compatibility, the main CLMLoader.ts and CLMRunner.ts
* re-export from this module.
*/
export type { CLMSpec, RuntimeConfig, CLMExample, ExecutionResult, RuntimeResult, MultiRuntimeResult, VerificationResult, RunExamplesSummary, ExampleRunResult, ExecutionReport, SummaryReport, CLMBannerLines, } from './types.js';
export { resultsEqual, asObject, buildBaseContext, buildExecutionResult, isRecursiveCLM, isMultiRuntime, } from './utils.js';
export { isNetworkBuiltin, isLoaderBuiltin, isHandleBuiltin, getHandleBuiltinType, isStaticServerBuiltin, isWebSocketServerBuiltin, } from '../core/operations/index.js';
export { executeHandleVersion, executeHandlePrune, } from '../core/operations/handle.js';
export { executeStaticServer, type StaticServerConfig, type StaticServerResult, } from '../core/operations/static-server.js';
export { executeWebSocketServer, type WebSocketServerConfig, type WebSocketServerResult, } from '../core/operations/websocket-server.js';
export { CLMLoader } from './loader.js';
export { CLMRunner } from './runner.js';
export { executeMultiRuntime } from './multiruntime.js';
//# sourceMappingURL=index.d.ts.map