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 content_hash;
16pub mod credential_envelope;
17pub mod dispatch;
18pub mod duplex_gate;
21pub mod errors;
22pub mod forward_registry;
23pub mod grant_gate;
25pub mod hub_context;
26pub mod ir;
28pub mod in_process;
30pub mod input;
32pub mod hub_transport;
34pub mod method_enum;
35pub mod middleware;
36pub mod path;
37pub mod plexus;
38#[cfg(not(target_arch = "wasm32"))]
43pub mod remote_child;
44pub mod schema;
45pub mod service_scope;
47pub mod slots;
49pub mod peer;
51mod schema_sites;
52pub(crate) mod scope_gate;
53pub mod streaming;
54pub mod types;
55pub mod view;
57pub mod wire;
60
61pub use auth::{AuthContext, Principal, ServiceIdentity, SessionValidator, VerifiedUser, Anonymous, CallSite, ForwardDerivation, ForwardPolicy, ForwardPolicyName, IdentityOnly, MethodPath, MethodPathError, PassThrough, ANONYMOUS_NAME, IDENTITY_ONLY_NAME, PASS_THROUGH_NAME};
65pub use test_validator::TestSessionValidator;
66pub use context::PlexusContext;
67pub use in_process::InProcessTransport;
68pub use input::{Delivered, Input, InputTable};
69pub use hub_transport::HubTransport;
70#[cfg(not(target_arch = "wasm32"))]
71pub use remote_child::{Backoff, ChildError, ChildMethods, ChildOptions, ChildSpec, ChildStats, MountTimings, RemoteChild};
72#[cfg(all(feature = "clap", not(target_arch = "wasm32")))]
73pub use remote_child::ChildArgs;
74#[deprecated(note = "Use GuidanceErrorType and GuidanceSuggestion from stream events instead")]
75pub use errors::{GuidedError, GuidedErrorData, TryRequest};
76pub use forward_registry::{ForwardPolicyRegistry, SameService, SAME_SERVICE_NAME};
77pub use grant_gate::{current_reach, with_reach, ForbiddenItem};
78pub use view::View;
79pub use service_scope::WeakService;
80pub use peer::{Contract, FindPeer, Interface, ListPeers, Peer, PeerError, PeerRouter, PeerSlot, PeerTransport, RouterPeer, Stamp};
81pub use auth_activation::{
82 AuthActivation, AuthBackend, AuthClient, AuthEvent, AuthFailure, AuthSetup, LoginAnswer, LoginFlow, MembershipEntry, MembershipStore,
83 Provider, ProviderKind, Requirement, RoleStore, Session, SignupAnswer, StoreError, Waiting, SIGNED_IN_GRANTS,
84};
85pub use auth_memory::{MemoryAuthBackend, MemoryMemberships, MemoryRoles};
86pub use plexus_auth_core::grants::{
88 Ceiling, Gate, Grant, GrantSet, Membership, Memberships, Reach, Refusal, Resolve, RoleOrGrant,
89 RoleTable, Roles, ScopeRef, ADMIN, CEILING_KEY,
90};
91#[deprecated(note = "Middleware removed - guidance provided via PlexusStreamEvent::Guidance")]
92pub use middleware::{ActivationRegistry, GuidedErrorMiddleware};
93pub use path::Provenance;
94#[allow(deprecated)]
95pub use plexus::{error_item, Activation, ActivationInfo, AuthzDenyReason, ChildCapabilities, ChildRouter, DynamicHub, PlexusError, TransportErrorKind, plexus_error_to_jsonrpc, route_to_child, PLEXUS_NOTIF_METHOD};
96pub use plexus_client::{DenyReason, ParamProblem, RemoteError};
99pub use plexus_client::{Note, Progress};
102pub use crate::types::Handle;
103pub use schema::{
104 AuthPosture, Cardinality, ChildHashes, ChildSummary, DeprecationInfo, MethodExample, MethodRole,
105 MethodSchema, ParamSchema, PluginHashes, PluginSchema, RequiredCredential, Schema,
106 SchemaParams, SchemaProperty, SchemaResult, SchemaType, ViewKind, JSON_TYPES,
107 X_PLEXUS_VALUES,
108};
109pub use types::{PlexusStreamItem, StreamMetadata};
110pub use wire::Shared;
111pub use method_enum::MethodEnumSchema;
112pub use streaming::{PlexusStream, wrap_stream, error_stream, done_stream, progress_stream};
113pub use streaming::{wrap_one, wrap_one_result, wrap_result_stream, wrap_progress_stream, wrap_result_progress_stream};
115pub use dispatch::{HubDispatch, StreamItem, from_dispatch_stream};
117pub use crate::request::PlexusRequestField;
118pub use hub_context::{HubContext, ParentAware, NoParent};