1pub mod auth;
5pub mod auth_activation;
7pub mod auth_params;
8pub mod auth_memory;
10pub mod test_validator;
11pub mod children;
13pub mod context;
14pub mod config;
17pub mod content_hash;
19pub mod credential_envelope;
20pub mod dispatch;
21pub mod duplex_gate;
24pub(crate) mod held;
25pub mod errors;
26pub mod forward_registry;
27pub mod grant_gate;
29pub mod hub_context;
30pub mod ir;
32pub mod in_process;
34pub mod input;
36pub mod hub_transport;
38pub mod method_enum;
39pub mod middleware;
40pub mod parent;
41pub mod path;
42pub mod plexus;
43pub mod redact;
45#[cfg(not(target_arch = "wasm32"))]
47pub mod peer_token;
48#[cfg(not(target_arch = "wasm32"))]
53pub mod remote_child;
54pub mod schema;
55pub mod service_scope;
57pub mod service_root;
59pub mod slots;
61pub mod peer;
63mod schema_sites;
64pub(crate) mod scope_gate;
65pub mod streaming;
66pub mod types;
67pub mod view;
69pub mod wire;
72
73pub use auth::{AuthContext, Principal, ServiceIdentity, SessionValidator, VerifiedUser, Anonymous, CallSite, ForwardDerivation, ForwardPolicy, ForwardPolicyName, IdentityOnly, MethodPath, MethodPathError, PassThrough, ANONYMOUS_NAME, IDENTITY_ONLY_NAME, PASS_THROUGH_NAME};
77pub use test_validator::TestSessionValidator;
78pub use context::PlexusContext;
79pub use in_process::InProcessTransport;
80pub use input::{Delivered, Input, InputTable};
81pub use hub_transport::HubTransport;
82#[cfg(not(target_arch = "wasm32"))]
83pub use remote_child::{check_ws_url, is_loopback_host, Backoff, ChildError, ChildMethods, ChildOptions, ChildSpec, ChildStats, Consented, MountTimings, PeerIdentity, RemoteChild};
84#[cfg(all(feature = "clap", not(target_arch = "wasm32")))]
85pub use remote_child::ChildArgs;
86#[deprecated(note = "Use GuidanceErrorType and GuidanceSuggestion from stream events instead")]
87pub use errors::{GuidedError, GuidedErrorData, TryRequest};
88pub use forward_registry::{ForwardPolicyRegistry, SameService, SAME_SERVICE_NAME};
89pub use grant_gate::{current_reach, require_everywhere, with_reach, ForbiddenItem};
90pub use view::View;
91pub use service_scope::WeakService;
92pub use service_root::{RootError, ServiceRoot};
93pub use peer::{Contract, FindPeer, Interface, ListPeers, Peer, PeerError, PeerRouter, PeerSlot, PeerTransport, RouterPeer, Stamp};
94pub use auth_activation::{
95 AuthActivation, AuthBackend, AuthClient, AuthEvent, AuthFailure, AuthSetup, LoginAnswer, LoginFlow, MembershipEntry, MembershipStore,
96 Provider, ProviderKind, Requirement, RoleStore, Session, SignupAnswer, StoreError, Waiting, SIGNED_IN_GRANTS,
97};
98pub use auth_memory::{MemoryAuthBackend, MemoryMemberships, MemoryRoles};
99pub use plexus_auth_core::grants::{
101 Ceiling, Gate, Grant, GrantSet, Membership, Memberships, Reach, Refusal, Resolve, RoleOrGrant,
102 RoleTable, Roles, ScopeRef, ADMIN, CEILING_KEY,
103};
104#[deprecated(note = "Middleware removed - guidance provided via PlexusStreamEvent::Guidance")]
105pub use middleware::{ActivationRegistry, GuidedErrorMiddleware};
106pub use path::Provenance;
107#[allow(deprecated)]
108pub use plexus::{error_item, Activation, ActivationInfo, AuthzDenyReason, ChildCapabilities, ChildRouter, DynamicHub, PlexusError, TransportErrorKind, plexus_error_to_jsonrpc, route_to_child, PLEXUS_NOTIF_METHOD};
109pub use plexus_client::{DenyReason, ParamProblem, RemoteError};
112pub use plexus_client::{Note, Progress};
115pub use crate::types::Handle;
116pub use schema::{
117 AuthPosture, Cardinality, ChildHashes, ChildSummary, DeprecationInfo, MethodExample, MethodRole,
118 MethodSchema, ParamSchema, PluginHashes, PluginSchema, RequiredCredential, Schema,
119 Need, SchemaParams, SchemaProperty, SchemaResult, SchemaType, ViewKind, JSON_TYPES,
120 X_PLEXUS_VALUES,
121};
122pub use types::{PlexusStreamItem, StreamMetadata};
123pub use wire::Shared;
124pub use method_enum::MethodEnumSchema;
125pub use streaming::{PlexusStream, wrap_stream, error_stream, done_stream, progress_stream};
126pub use streaming::{wrap_one, wrap_one_result, wrap_result_stream, wrap_progress_stream, wrap_result_progress_stream};
128pub use dispatch::{HubDispatch, StreamItem, from_dispatch_stream};
130pub use crate::request::PlexusRequestField;
131pub use hub_context::{HubContext, ParentAware, NoParent};
132pub use parent::{NeedsMiss, Notice, Parent, ParentTransport, Upward, UpwardError};