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
impl 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<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
impl Eq for WorkerFamily
Source§impl PartialEq for WorkerFamily
impl PartialEq for WorkerFamily
Source§impl Serialize for WorkerFamily
impl Serialize for WorkerFamily
impl StructuralPartialEq for WorkerFamily
Auto Trait Implementations§
impl Forget for WorkerFamily
impl Freeze for WorkerFamily
impl Move 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