1mod bundle_catalog;
4
5mod context_pack;
6
7mod harness_mcp_proxy;
8
9mod bundle_provider;
10
11mod git_worktree;
12
13mod host_directory_browser;
14
15mod environment_profiles;
16
17mod session_environment;
18
19mod worktree_service;
20
21mod session_registry;
22
23mod standalone_workspace;
24
25#[cfg(windows)]
26mod workspace_file_windows;
27
28#[cfg(unix)]
29mod workspace_file_unix;
30
31mod network_allowlist_catalog;
32#[cfg(feature = "dig2-station-probe")]
33mod dig2_station_probe;
34#[cfg(feature = "dig2-station-probe")]
35mod dig2_station_lease;
36mod platform;
37mod provider_runtime;
38mod spawn_spec;
39mod server;
40
41pub use network_allowlist_catalog::{
42 load_network_allowlist_catalog_file, parse_network_allowlist_catalog_text,
43 claude_allowed_domains_from_permits, claude_bash_sandbox_network_os_supported,
44 claude_settings_network_overlay_args, claude_station_network_settings_json,
45 codex_network_access_config_overlay, permit_peer_to_allowed_domain,
46 provider_native_mapping_supported, resolve_network_allowlist_catalog,
47 resolve_provider_native_launch_overlay, NetworkAllowlistCatalog,
48 NetworkAllowlistCatalogError, NetworkAllowlistEntry, NetworkPermitProtocol,
49 NetworkPermitSketch, ProviderNativeNetworkSketch,
50 CLAUDE_STATION_NETWORK_SETTINGS_FILE, MAX_NETWORK_ALLOWLIST_CATALOG_ENTRIES,
51 MAX_NETWORK_PERMITS_PER_ENTRY, NETWORK_ALLOWLIST_CATALOG_ENV,
52 NETWORK_ALLOWLIST_CATALOG_SCHEMA_VERSION,
53};
54pub use server::{
55 default_node_endpoint, default_state_path, NodeServer, NodeServerConfig, NodeServerError,
56 NodeShutdownHandle, WorkspaceConfig,
57};
58#[cfg(feature = "fixture")]
59pub use server::SpawnManagedWorktreeV2FailureProbe;
60pub use gate4agent_node_protocol::WorktreeServiceMode;
61pub use bundle_catalog::{
62 BundleCatalog, BundleCatalogError, NodeBundle, NodeBundleError, NodeBundleFile,
63 MAX_BUNDLE_CATALOG_ENTRIES, MAX_BUNDLE_FILES, MAX_BUNDLE_FILE_BYTES,
64 MAX_BUNDLE_PATH_BYTES, MAX_BUNDLE_TOTAL_BYTES,
65};
66#[cfg(feature = "fixture")]
67pub use bundle_catalog::protect_bundle_source_tree_fixture;
68pub use environment_profiles::{
69 NodeEnvironmentProfile, NodeEnvironmentProfileError, MAX_NODE_ENVIRONMENT_PROFILES,
70};
71pub use session_environment::{
72 NodeSecretReference, NodeSecretResolveError, NodeSecretResolver, NodeSecretValue,
73 NodeSecretValueError, NodeSessionEnvironmentMutation, NodeSessionFile,
74 NodeSessionMaterializationProfile, NodeSessionMaterializationProfileError,
75 NodeSessionPathBinding, NodeSessionPathClass, MAX_NODE_SECRET_REFERENCE_BYTES,
76 MAX_NODE_SECRET_VALUE_BYTES, MAX_SESSION_ENVIRONMENT_ENTRIES,
77 MAX_SESSION_MATERIALIZATION_FILES, MAX_SESSION_MATERIALIZATION_FILE_BYTES,
78 MAX_SESSION_MATERIALIZATION_RELATIVE_PATH_BYTES,
79};
80pub use worktree_service::ManagedWorktreeProfile;
81pub use spawn_spec::{
82 SpawnProfileRegistry, SpawnProfileRegistryError, DEFAULT_SPAWN_PROFILE_ID,
83 MAX_SPAWN_PROFILES,
84};
85pub use gate4agent_runtime_native::{
86 orca_home_roots, HistorySourceLayout, NativeHistoryConfig, NativeHistoryRoot,
87};
88
89#[cfg(windows)]
90pub use server::DEFAULT_NODE_ENDPOINT;
91
92pub use gate4agent_node_protocol as protocol;