righvalor 0.1.0

RighValor: AI Infrastructure and Applications Framework for the Far Edge
/// # Valor Computational Services Framework
///
/// This module implements the Service Registry component within the RighValor Framework,
/// providing a service management system for distributed computational infrastructure.
///
/// ## Architecture Overview
///
/// The Valor Service Registry manages four primary service categories:
///
/// 1. **Pre-installed Services**: Services bundled with installations
/// 2. **Common Services**: Shared utilities and cross-cutting concerns  
/// 3. **Proxy Services**: Bridge services for external system integration
/// 4. **Runtime-Specific Services**: Services for specific execution runtimes
///
/// ## Service Management Operations
///
/// The Service Registry supports core operations:
/// - **Install**: Deploy services to the Valor runtime environment
/// - **Update**: Modify service configurations and implementations
/// - **Uninstall**: Remove services from the service registry
///
/// ## Integration with Valor Runtime
///
/// Services are executed through the Valor Runtime layer which provides:
/// - **ONNX**: Open Neural Network Exchange runtime support
/// - **TensorFlow**: TensorFlow model execution environment
/// - **WASM**: WebAssembly-based service execution
/// - **Cmd**: Command-line and native binary execution
///
/// ## External Connectivity
///
/// The service framework integrates with:
/// - **RighGravity Cloud Agent**: For cloud service orchestration
/// - **3rd Party AI OS**: External AI platform integrations
/// - **Proxier Platform**: Multi-target deployment capabilities
use serde::{Deserialize, Serialize};

mod client_installed;
mod cloud_installed;
mod common;
mod entity;
mod id;
mod proxy;
mod registry;
mod righ;
mod third_party;

pub use client_installed::*;
pub use cloud_installed::*;
pub use common::*;
pub use entity::*;
pub use id::*;
pub use proxy::*;
pub use registry::*;
pub use righ::*;
pub use third_party::*;

/// ## Valor Service Enumeration
///
/// Primary service dispatcher that implements the Service Registry's service
/// categorization as defined in the RighValor Framework architecture.
///
/// Each variant corresponds to a specific service category managed by the
/// Service Registry with installation, update, and uninstall capabilities.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "snake_case")]
pub enum ValorService {
    /// Client-installed services: Pre-deployed services in client environments
    ClientInstalled(ValorClientInstalledService),
    /// Cloud-installed services: Pre-deployed services in cloud environments  
    CloudInstalled(ValorCloudInstalledService),
    /// Common services: Shared utilities and cross-cutting service components
    Common(ValorCommonService),
    /// Proxy services: Integration bridges for external systems and platforms
    Proxy(ValorProxyService),
    /// Righ services: Proprietary RighValor platform services and algorithms
    Righ(ValorRighService),
    /// Third-party services: External AI/ML platform and service integrations
    ThirdParty(ValorThirdPartyService),
}