1pub mod auth;
5pub mod auth_activation;
7pub mod auth_params;
8pub mod auth_memory;
10pub mod test_validator;
11pub mod bidirectional;
12pub mod children;
14pub mod context;
15pub mod content_hash;
17pub mod credential_envelope;
18pub mod dispatch;
19pub mod duplex_gate;
22pub mod errors;
23pub mod forward_registry;
24pub mod grant_gate;
26pub mod hub_context;
27pub mod ir;
29pub mod in_process;
31pub mod input;
33pub mod hub_transport;
35pub mod method_enum;
36pub mod middleware;
37pub mod path;
38pub mod plexus;
39#[cfg(not(target_arch = "wasm32"))]
44pub mod remote_child;
45pub mod schema;
46mod schema_sites;
47pub(crate) mod scope_gate;
48pub mod streaming;
49pub mod types;
50pub mod view;
52pub mod wire;
55
56pub use auth::{AuthContext, Principal, ServiceIdentity, SessionValidator, VerifiedUser, Anonymous, CallSite, ForwardDerivation, ForwardPolicy, ForwardPolicyName, IdentityOnly, MethodPath, MethodPathError, PassThrough, ANONYMOUS_NAME, IDENTITY_ONLY_NAME, PASS_THROUGH_NAME};
60pub use test_validator::TestSessionValidator;
61pub use bidirectional::{BidirChannel, BidirError, SelectOption, StandardBidirChannel, StandardRequest, StandardResponse};
62pub use context::PlexusContext;
63pub use in_process::InProcessTransport;
64pub use input::{Delivered, Input, InputTable};
65pub use hub_transport::HubTransport;
66#[cfg(not(target_arch = "wasm32"))]
67pub use remote_child::{Backoff, ChildError, ChildMethods, ChildOptions, ChildSpec, ChildStats, MountTimings, RemoteChild};
68#[cfg(all(feature = "clap", not(target_arch = "wasm32")))]
69pub use remote_child::ChildArgs;
70#[deprecated(note = "Use GuidanceErrorType and GuidanceSuggestion from stream events instead")]
71pub use errors::{GuidedError, GuidedErrorData, TryRequest};
72pub use forward_registry::{ForwardPolicyRegistry, SameService, SAME_SERVICE_NAME};
73pub use grant_gate::{current_reach, with_reach, ForbiddenItem};
74pub use view::View;
75pub use auth_activation::{
76 AuthActivation, AuthBackend, AuthClient, AuthEvent, AuthFailure, AuthSetup, LoginAnswer, LoginFlow, MembershipEntry, MembershipStore,
77 Provider, ProviderKind, Requirement, RoleStore, Session, SignupAnswer, StoreError, Waiting, SIGNED_IN_GRANTS,
78};
79pub use auth_memory::{MemoryAuthBackend, MemoryMemberships, MemoryRoles};
80pub use plexus_auth_core::grants::{
82 Ceiling, Gate, Grant, GrantSet, Membership, Memberships, Reach, Refusal, Resolve, RoleOrGrant,
83 RoleTable, Roles, ScopeRef, ADMIN, CEILING_KEY,
84};
85#[deprecated(note = "Middleware removed - guidance provided via PlexusStreamEvent::Guidance")]
86pub use middleware::{ActivationRegistry, GuidedErrorMiddleware};
87pub use path::Provenance;
88#[allow(deprecated)]
89pub use plexus::{error_item, Activation, ActivationInfo, AuthzDenyReason, ChildCapabilities, ChildRouter, DynamicHub, PlexusError, TransportErrorKind, plexus_error_to_jsonrpc, route_to_child, PLEXUS_NOTIF_METHOD};
90pub use plexus_client::{DenyReason, ParamProblem, RemoteError};
93pub use plexus_client::{Note, Progress};
96pub use crate::types::Handle;
97pub use schema::{
98 AuthPosture, Cardinality, ChildHashes, ChildSummary, DeprecationInfo, MethodExample, MethodRole,
99 MethodSchema, ParamSchema, PluginHashes, PluginSchema, RequiredCredential, Schema,
100 SchemaParams, SchemaProperty, SchemaResult, SchemaType, ViewKind, JSON_TYPES,
101 X_PLEXUS_VALUES,
102};
103pub use types::{PlexusStreamItem, StreamMetadata};
104pub use wire::Shared;
105pub use method_enum::MethodEnumSchema;
106pub use streaming::{PlexusStream, wrap_stream, wrap_stream_with_bidir, create_bidir_stream, error_stream, done_stream, progress_stream};
107pub use streaming::{wrap_one, wrap_one_result, wrap_result_stream, wrap_progress_stream, wrap_result_progress_stream};
109pub use dispatch::{HubDispatch, StreamItem, from_dispatch_stream};
111pub use crate::request::PlexusRequestField;
112pub use hub_context::{HubContext, ParentAware, NoParent};