Skip to main content

agent_service/
lib.rs

1//! Orchestration and lifecycle management for concurrent agent runs.
2//!
3//! This crate owns run submission, worker coordination, cancellation,
4//! supervision, and event routing. Task definitions and scheduling live in
5//! the dedicated `tasks-tool` crate.
6
7mod authorized_google_calendar;
8mod family;
9mod google_calendar_access;
10mod google_calendar_access_error;
11mod manager;
12mod run;
13mod runtime_executor;
14
15pub use authorized_google_calendar::AuthorizedGoogleCalendar;
16pub use family::{FamilyService, FamilyServiceError};
17pub use google_calendar_access::GoogleCalendarAccessService;
18pub use google_calendar_access_error::GoogleCalendarAccessError;
19pub use manager::{
20    CancelRunError, CancelRunOutcome, ExecutionOutcome, ExecutionReport, RunExecutor, RunManager,
21    RunManagerConfigError, SubmitRunError,
22};
23pub use run::{InvalidRunTransition, Run, RunEvent, RunEventKind, RunId, RunStatus};
24pub use runtime_executor::{AgentRuntimeExecutor, AgentRuntimeResolver, ResolvedAgent};