1#[cfg(unix)]
13pub mod administration;
14#[cfg(target_os = "macos")]
15mod area;
16pub(crate) mod area_entry;
17#[cfg(unix)]
18mod area_rpc;
19#[cfg(target_os = "macos")]
20mod area_terminal;
21pub mod bindings;
22mod capacity;
23mod catalog;
24pub(crate) mod cli;
25pub(crate) mod cli_cleanup;
26pub(crate) mod cli_resources;
27pub(crate) mod cli_tasks;
28pub mod client;
30mod config;
31#[cfg(unix)]
32pub mod daemon;
33#[cfg(unix)]
34mod daemon_administration;
35pub(crate) mod dev_staging;
36mod error;
37#[cfg(unix)]
38mod extension_artifacts;
39#[cfg(target_os = "macos")]
41#[allow(dead_code)]
42mod tool_processes;
43#[cfg(unix)]
44pub use extension_artifacts::{
45 NativeExtensionArtifacts, NativeStagedExtensions, MAX_NATIVE_EXTENSION_ARTIFACTS,
46 MAX_NATIVE_EXTENSION_BYTES, MAX_NATIVE_EXTENSION_TOTAL_BYTES,
47};
48mod extension_custody;
49pub use extension_custody::{NativeExtensionCall, NativeExtensionCustody};
50mod binding_resources;
51pub use binding_resources::{NativeBindingResources, NativeHookConfig};
52mod instruction_resources;
53pub use instruction_resources::NativeInstructionResources;
54#[allow(dead_code)]
56mod in_process;
57#[cfg(unix)]
58mod launch_policy;
59pub mod lifecycle;
60pub mod mini;
62#[cfg(unix)]
63pub mod mini_control;
64pub mod ordinary;
65mod profile;
66mod profile_set;
67pub mod protocol;
68pub use profile::{AgentProfileFile, HostStartupAgent, MAX_PROFILE_BYTES};
69pub use profile_set::{PreparedProfile, TrustedProfileSet, MAX_TRUSTED_PROFILES};
70mod recovery;
71mod registry;
72mod runtime;
73#[cfg(unix)]
74pub mod server;
75pub mod service;
76#[cfg(target_os = "macos")]
77mod supervisor;
78mod types;
79
80pub use capacity::{Capacity, CapacitySnapshot, ResidentPermit};
81pub use catalog::{
82 AgentPage, AgentRecord, CatalogGuard, CatalogStatus, HostCatalog, MAX_PAGE_SIZE,
83};
84pub use config::{
85 EffectiveTimeout, EffectiveTimeouts, HostConfig, TimeoutOverride, TimeoutOverrides,
86 TimeoutSource, Timeouts,
87};
88pub use error::{CatalogError, CatalogResult, HostError, HostResult};
89pub use types::{
90 AgentId, AgentMode, AgentSpec, AgentState, ControlScopeId, ExecutionMode, HostEpoch,
91 LaunchSpec, ModelRef, ProfileRef, ProfileVersion, RequestId, RunId, SessionRef,
92};
93
94#[cfg(all(test, unix))]
95mod registry_tests;
96#[cfg(test)]
97mod tests;