pub struct DefaultsConfig {
pub runtime: String,
pub agent: String,
pub orchestrator: Option<RoleAgentConfig>,
pub worker: Option<RoleAgentConfig>,
pub orchestrator_rules: Option<String>,
pub workspace: String,
pub tracker: String,
pub branch_namespace: Option<String>,
pub notifiers: Vec<String>,
}Expand description
Orchestrator-wide defaults for plugin selection.
Fields§
§runtime: String§agent: String§orchestrator: Option<RoleAgentConfig>Role defaults (TS: defaults.orchestrator, defaults.worker).
worker: Option<RoleAgentConfig>§orchestrator_rules: Option<String>Default system rules for the orchestrator session (TS: defaults.orchestratorRules).
workspace: String§tracker: String§branch_namespace: Option<String>Optional branch namespace/prefix for agent-created worktree branches.
If set, ao-rs spawn will create branches like:
<branch_namespace>/<short_id>(task-first)<branch_namespace>/<short_id>/<issue_branch>(issue-first)
Example: ao/agent/5c452025/feat-issue-30.
notifiers: Vec<String>Trait Implementations§
Source§impl Clone for DefaultsConfig
impl Clone for DefaultsConfig
Source§fn clone(&self) -> DefaultsConfig
fn clone(&self) -> DefaultsConfig
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 DefaultsConfig
impl Debug for DefaultsConfig
Source§impl Default for DefaultsConfig
impl Default for DefaultsConfig
Source§impl<'de> Deserialize<'de> for DefaultsConfig
impl<'de> Deserialize<'de> for DefaultsConfig
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 PartialEq for DefaultsConfig
impl PartialEq for DefaultsConfig
Source§impl Serialize for DefaultsConfig
impl Serialize for DefaultsConfig
impl Eq for DefaultsConfig
impl StructuralPartialEq for DefaultsConfig
Auto Trait Implementations§
impl Freeze for DefaultsConfig
impl RefUnwindSafe for DefaultsConfig
impl Send for DefaultsConfig
impl Sync for DefaultsConfig
impl Unpin for DefaultsConfig
impl UnsafeUnpin for DefaultsConfig
impl UnwindSafe for DefaultsConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.