fabro/lib/crates/fabro-core/src/lib.rs
Bryan Helmkamp 007cfed240 refactor: remove backwards-compat error type aliases
No production deployments exist, so there's no need for migration shims.
Remove all six backwards-compat type aliases (AgentError, SdkError,
CoreError, GraphvizError, StoreError, FabroError) and migrate ~880
callsites to use the canonical Error name directly within each crate,
or qualified imports (e.g., `use fabro_llm::Error as LlmError`) for
cross-crate references. Also fix a pre-existing absolute-path clippy
lint in fabro-server error.rs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 12:51:42 -04:00

29 lines
867 B
Rust

pub mod context;
pub mod error;
pub mod executor;
pub mod graph;
pub mod handler;
pub mod lifecycle;
pub mod outcome;
pub mod retry;
pub mod stall;
pub mod state;
#[cfg(test)]
pub mod test_fixtures;
pub use context::Context;
pub use error::{Error, HandlerErrorDetail, Result, VisitLimitSource};
pub use executor::{Executor, ExecutorBuilder, ExecutorOptions};
pub use graph::{EdgeSelection, EdgeSpec, Graph, NodeSpec};
pub use handler::NodeHandler;
pub use lifecycle::{
AttemptContext, AttemptResultContext, CompositeLifecycle, EdgeContext, EdgeDecision,
NodeDecision, NoopLifecycle, RunLifecycle,
};
pub use outcome::{
FailureCategory, FailureDetail, NodeResult, NodeResultExt, Outcome, OutcomeMeta, StageStatus,
};
pub use retry::{BackoffPolicy, RetryPolicy};
pub use stall::{ActivityMonitor, StallGuard, StallWatchdog};
pub use state::ExecutionState;