Skip to main content

Crate flow_core

Crate flow_core 

Source
Expand description

Core types, configuration, and error handling for the Agent Flow workspace.

This crate provides the shared foundation used by all other flow-* crates:

  • Feature and Task types for work item tracking
  • Config for workspace configuration (loaded from TOML)
  • FlowError for unified error handling across the workspace
  • Theme for terminal color customization

§Example

use flow_core::Config;

let config = Config::load().unwrap_or_default();
println!("Projects dir: {:?}", config.projects_dir);

Re-exports§

pub use agent::AgentConfig;
pub use config::Config;
pub use error::FlowError;
pub use event::FlowEvent;
pub use feature::CreateFeatureInput;
pub use feature::DependencyRef;
pub use feature::Feature;
pub use feature::FeatureGraphNode;
pub use feature::FeatureStats;
pub use task::SessionListItem;
pub use task::SessionMeta;
pub use task::Task;
pub use task::TaskWithSession;
pub use theme::AnsiColor;
pub use theme::Theme;
pub use theme::ThemeColors;

Modules§

agent
config
error
event
feature
project
state
task
theme

Type Aliases§

Result
Convenience type alias for Results using FlowError.