pub enum WorkerFamily {
Harness,
Api,
}Expand description
The worker family (CONTEXT.md §8). Drives dispatch and context assembly:
a harness is an autonomous agent given a chunky task; an API worker is a raw
model given a precise instruction with context inlined.
Variants§
Harness
Wraps a native headless CLI call (e.g. claude -p). Reads the repo
itself.
Api
A direct model API call on the user’s own key. Stateless; sees only what is sent.
Trait Implementations§
Source§impl Clone for WorkerFamily
impl Clone for WorkerFamily
Source§fn clone(&self) -> WorkerFamily
fn clone(&self) -> WorkerFamily
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorkerFamily
Source§impl Debug for WorkerFamily
impl Debug for WorkerFamily
Source§impl<'de> Deserialize<'de> for WorkerFamily
impl<'de> Deserialize<'de> for WorkerFamily
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkerFamily, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkerFamily, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkerFamily
Source§impl PartialEq for WorkerFamily
impl PartialEq for WorkerFamily
Source§impl Serialize for WorkerFamily
impl Serialize for WorkerFamily
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WorkerFamily
Auto Trait Implementations§
impl Freeze for WorkerFamily
impl RefUnwindSafe for WorkerFamily
impl Send for WorkerFamily
impl Sync for WorkerFamily
impl Unpin for WorkerFamily
impl UnsafeUnpin for WorkerFamily
impl UnwindSafe for WorkerFamily
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