pub mod config;
pub mod docker;
pub mod host;
pub mod platform;
pub mod singleton;
pub mod version;
pub use version::{get_version, get_version_long};
pub use config::{Config, get_hosts_path, load_config_or_default, save_config};
pub use singleton::{InstanceLock, SingletonError};
pub use docker::{CONTAINER_NAME, DockerClient, DockerError, OPENCODE_WEB_PORT};
pub use platform::{
InstallResult, ServiceConfig, ServiceManager, get_service_manager,
is_service_registration_supported,
};
pub use host::{
DistroFamily, DistroInfo, HostConfig, HostError, HostsFile, SshConfigMatch, SshTunnel,
detect_distro, get_docker_install_commands, get_ssh_config_path, host_exists_in_ssh_config,
install_docker, load_hosts, query_ssh_config, save_hosts, test_connection,
verify_docker_installed, write_ssh_config_entry,
};
pub use bollard;
#[cfg(feature = "napi")]
use napi_derive::napi;
#[cfg(feature = "napi")]
#[napi]
pub fn get_version_js() -> String {
get_version()
}
#[cfg(feature = "napi")]
#[napi]
pub fn get_version_long_js() -> String {
get_version_long()
}