Skip to main content

plexus_core/plexus/
mod.rs

1// Guidance system removed during caller-wraps streaming architecture refactor
2// pub mod guidance;
3
4pub mod context;
5pub mod dispatch;
6pub mod errors;
7pub mod hub_context;
8pub mod method_enum;
9pub mod middleware;
10pub mod path;
11pub mod plexus;
12pub mod schema;
13pub mod streaming;
14pub mod types;
15
16pub use context::PlexusContext;
17#[deprecated(note = "Use GuidanceErrorType and GuidanceSuggestion from stream events instead")]
18pub use errors::{GuidedError, GuidedErrorData, TryRequest};
19#[deprecated(note = "Middleware removed - guidance provided via PlexusStreamEvent::Guidance")]
20pub use middleware::{ActivationRegistry, GuidedErrorMiddleware};
21pub use path::Provenance;
22pub use plexus::{Activation, ActivationInfo, ChildRouter, DynamicHub, PlexusError, route_to_child};
23pub use crate::types::Handle;
24pub use schema::{ChildSummary, MethodSchema, PluginSchema, Schema, SchemaProperty, SchemaResult, SchemaType};
25pub use types::{PlexusStreamItem, StreamMetadata};
26pub use method_enum::MethodEnumSchema;
27pub use streaming::{PlexusStream, wrap_stream, error_stream, done_stream, progress_stream};
28// Note: Method enum is auto-generated by hub_macro and exported from plexus module
29pub use dispatch::{HubDispatch, StreamItem, from_dispatch_stream};
30pub use hub_context::{HubContext, ParentAware, NoParent};