pub struct TeamDaemon { /* private fields */ }Expand description
The running team daemon.
Implementations§
Source§impl TeamDaemon
impl TeamDaemon
Sourcepub fn run(&mut self, resume: bool) -> Result<()>
pub fn run(&mut self, resume: bool) -> Result<()>
Run the daemon loop. Blocks until the session is killed or an error occurs.
If resume is true, agents are launched with session-resume flags
(claude --resume <session-id> / codex resume --last) instead of fresh starts.
Sourcepub fn tick(&mut self) -> TickReport
pub fn tick(&mut self) -> TickReport
Run one iteration of the daemon’s productive work without sleeping
or touching hot-reload state. This is the inner body of run()’s
loop, factored out so tests (and a future batty debug tick
subcommand) can drive the daemon a single step at a time.
Returns a TickReport capturing observable side effects of the
tick. Phase 1 populates cycle and subsystem_errors; the other
fields are placeholders that the scenario framework fills in by
snapshotting state around the call.
Source§impl TeamDaemon
impl TeamDaemon
Sourcepub fn new(config: DaemonConfig) -> Result<Self>
pub fn new(config: DaemonConfig) -> Result<Self>
Create a new daemon from resolved config and layout.
Auto Trait Implementations§
impl !Freeze for TeamDaemon
impl !RefUnwindSafe for TeamDaemon
impl Send for TeamDaemon
impl !Sync for TeamDaemon
impl Unpin for TeamDaemon
impl UnsafeUnpin for TeamDaemon
impl !UnwindSafe for TeamDaemon
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.