pub struct OrchestratorConfig {
pub session_deadline_secs: u64,
pub inactivity_timeout_secs: u64,
pub compaction_threshold: f64,
}Expand description
Configuration for opencode-orchestrator-mcp.
Fields§
§session_deadline_secs: u64Maximum session duration in seconds (default: 3600 = 1 hour).
inactivity_timeout_secs: u64Inactivity timeout in seconds before session ends (default: 300 = 5 minutes).
compaction_threshold: f64Context compaction threshold as fraction 0.0-1.0 (default: 0.80).
Trait Implementations§
Source§impl Clone for OrchestratorConfig
impl Clone for OrchestratorConfig
Source§fn clone(&self) -> OrchestratorConfig
fn clone(&self) -> OrchestratorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrchestratorConfig
impl Debug for OrchestratorConfig
Source§impl Default for OrchestratorConfig
impl Default for OrchestratorConfig
Source§impl<'de> Deserialize<'de> for OrchestratorConfigwhere
OrchestratorConfig: Default,
impl<'de> Deserialize<'de> for OrchestratorConfigwhere
OrchestratorConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for OrchestratorConfig
impl JsonSchema for OrchestratorConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for OrchestratorConfig
impl RefUnwindSafe for OrchestratorConfig
impl Send for OrchestratorConfig
impl Sync for OrchestratorConfig
impl Unpin for OrchestratorConfig
impl UnsafeUnpin for OrchestratorConfig
impl UnwindSafe for OrchestratorConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more