mod bundle_catalog;
mod context_pack;
mod harness_mcp_proxy;
mod bundle_provider;
mod git_worktree;
mod host_directory_browser;
mod environment_profiles;
mod session_environment;
mod worktree_service;
mod session_registry;
mod standalone_workspace;
#[cfg(windows)]
mod workspace_file_windows;
#[cfg(unix)]
mod workspace_file_unix;
mod network_allowlist_catalog;
#[cfg(feature = "dig2-station-probe")]
mod dig2_station_probe;
#[cfg(feature = "dig2-station-probe")]
mod dig2_station_lease;
mod platform;
mod provider_runtime;
mod spawn_spec;
mod server;
pub use network_allowlist_catalog::{
load_network_allowlist_catalog_file, parse_network_allowlist_catalog_text,
claude_allowed_domains_from_permits, claude_bash_sandbox_network_os_supported,
claude_settings_network_overlay_args, claude_station_network_settings_json,
codex_network_access_config_overlay, permit_peer_to_allowed_domain,
provider_native_mapping_supported, resolve_network_allowlist_catalog,
resolve_provider_native_launch_overlay, NetworkAllowlistCatalog,
NetworkAllowlistCatalogError, NetworkAllowlistEntry, NetworkPermitProtocol,
NetworkPermitSketch, ProviderNativeNetworkSketch,
CLAUDE_STATION_NETWORK_SETTINGS_FILE, MAX_NETWORK_ALLOWLIST_CATALOG_ENTRIES,
MAX_NETWORK_PERMITS_PER_ENTRY, NETWORK_ALLOWLIST_CATALOG_ENV,
NETWORK_ALLOWLIST_CATALOG_SCHEMA_VERSION,
};
pub use server::{
default_node_endpoint, default_state_path, NodeServer, NodeServerConfig, NodeServerError,
NodeShutdownHandle, WorkspaceConfig,
};
#[cfg(feature = "fixture")]
pub use server::SpawnManagedWorktreeV2FailureProbe;
pub use gate4agent_node_protocol::WorktreeServiceMode;
pub use bundle_catalog::{
BundleCatalog, BundleCatalogError, NodeBundle, NodeBundleError, NodeBundleFile,
MAX_BUNDLE_CATALOG_ENTRIES, MAX_BUNDLE_FILES, MAX_BUNDLE_FILE_BYTES,
MAX_BUNDLE_PATH_BYTES, MAX_BUNDLE_TOTAL_BYTES,
};
#[cfg(feature = "fixture")]
pub use bundle_catalog::protect_bundle_source_tree_fixture;
pub use environment_profiles::{
NodeEnvironmentProfile, NodeEnvironmentProfileError, MAX_NODE_ENVIRONMENT_PROFILES,
};
pub use session_environment::{
NodeSecretReference, NodeSecretResolveError, NodeSecretResolver, NodeSecretValue,
NodeSecretValueError, NodeSessionEnvironmentMutation, NodeSessionFile,
NodeSessionMaterializationProfile, NodeSessionMaterializationProfileError,
NodeSessionPathBinding, NodeSessionPathClass, MAX_NODE_SECRET_REFERENCE_BYTES,
MAX_NODE_SECRET_VALUE_BYTES, MAX_SESSION_ENVIRONMENT_ENTRIES,
MAX_SESSION_MATERIALIZATION_FILES, MAX_SESSION_MATERIALIZATION_FILE_BYTES,
MAX_SESSION_MATERIALIZATION_RELATIVE_PATH_BYTES,
};
pub use worktree_service::ManagedWorktreeProfile;
pub use spawn_spec::{
SpawnProfileRegistry, SpawnProfileRegistryError, DEFAULT_SPAWN_PROFILE_ID,
MAX_SPAWN_PROFILES,
};
pub use gate4agent_runtime_native::{
orca_home_roots, HistorySourceLayout, NativeHistoryConfig, NativeHistoryRoot,
};
#[cfg(windows)]
pub use server::DEFAULT_NODE_ENDPOINT;
pub use gate4agent_node_protocol as protocol;