UNPKG

odin-protocol-core

Version:

The world's first standardized AI-to-AI communication infrastructure for JavaScript/TypeScript - 100% functional with 57K+ msgs/sec throughput

68 lines (67 loc) 2.74 kB
"use strict"; /** * ODIN Protocol Core - JavaScript/TypeScript SDK * World's First Standardized AI-to-AI Communication Infrastructure * * @version 1.0.0 * @author Travis Johnson <travjohnson831@gmail.com> * @license MIT */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.PROTOCOL_VERSION = exports.VERSION = exports.HEL_DEFAULT_CONFIG = exports.ODIN_DEFAULT_CONFIG = exports.HELRuleEngine = exports.OdinProtocol = void 0; var OdinProtocol_1 = require("./core/OdinProtocol"); Object.defineProperty(exports, "OdinProtocol", { enumerable: true, get: function () { return OdinProtocol_1.OdinProtocol; } }); var HELRuleEngine_1 = require("./core/HELRuleEngine"); Object.defineProperty(exports, "HELRuleEngine", { enumerable: true, get: function () { return HELRuleEngine_1.HELRuleEngine; } }); // export { HELMediator } from './core/HELMediator'; // export { OdinMessage } from './core/OdinMessage'; // Types __exportStar(require("./types/OdinTypes"), exports); __exportStar(require("./types/HELTypes"), exports); __exportStar(require("./types/MessageTypes"), exports); // Utilities (to be implemented) // export * from './utils/Logger'; // export * from './utils/Performance'; // export * from './utils/Validation'; // React Components (if React is available) // export * from './react/OdinProvider'; // export * from './react/HELRuleComponent'; // Vue Composables (if Vue is available) // export * from './vue/useOdin'; // export * from './vue/useHEL'; // Constants (to be implemented) // export * from './constants/OdinConstants'; // Default configurations exports.ODIN_DEFAULT_CONFIG = { maxConnections: 100, timeout: 30000, heartbeatInterval: 30000, debug: false, maxRetries: 3, performanceMonitoring: true }; exports.HEL_DEFAULT_CONFIG = { maxParallelRules: 10, defaultTimeout: 5000, enableCaching: true, cacheTTL: 300000, // 5 minutes performanceMonitoring: true, maxHistorySize: 1000 }; // Version information exports.VERSION = '1.0.0'; exports.PROTOCOL_VERSION = '1.0.0';