Crate opencode_cloud_core

Crate opencode_cloud_core 

Source
Expand description

opencode-cloud-core - Core library for opencode-cloud

This library provides the shared functionality for both the Rust CLI and Node.js bindings via NAPI-RS.

Re-exports§

pub use version::get_version;
pub use version::get_version_long;
pub use config::Config;
pub use config::load_config;
pub use config::save_config;
pub use singleton::InstanceLock;
pub use singleton::SingletonError;
pub use docker::CONTAINER_NAME;
pub use docker::DockerClient;
pub use docker::DockerError;
pub use docker::OPENCODE_WEB_PORT;
pub use platform::InstallResult;
pub use platform::ServiceConfig;
pub use platform::ServiceManager;
pub use platform::get_service_manager;
pub use platform::is_service_registration_supported;
pub use bollard;

Modules§

config
Configuration management for opencode-cloud
docker
Docker operations module
platform
Platform-specific service manager abstraction
singleton
Singleton enforcement via PID lock
version
Version information for opencode-cloud