26 lines
1.0 KiB
Rust
26 lines
1.0 KiB
Rust
//! Shared protocol, discovery, authentication, and client types for local Galaxy control.
|
|
//!
|
|
//! The `local_control` crate is intentionally UI-agnostic so the Galaxy app and
|
|
//! `galaxyctrl` CLI can share the same wire envelopes, action catalog, discovery
|
|
//! records, selectors, and credential validation rules.
|
|
pub mod auth;
|
|
pub mod catalog;
|
|
pub mod client;
|
|
pub mod discovery;
|
|
pub mod protocol;
|
|
pub mod remote_command;
|
|
pub mod selection;
|
|
pub mod selectors;
|
|
|
|
pub use auth::{AuthToken, CredentialGrant, CredentialRequest, ScopedCredential};
|
|
pub use catalog::{ActionImplementationStatus, ActionKind, ActionMetadata, TargetScope};
|
|
pub use discovery::{
|
|
ControlEndpoint, CredentialBrokerReference, InstanceId, InstanceRecord, RegisteredInstance,
|
|
discovery_dir,
|
|
};
|
|
pub use protocol::{
|
|
Action, ControlError, ControlResponse, ErrorCode, ErrorResponseEnvelope, PROTOCOL_VERSION,
|
|
RequestEnvelope, ResponseEnvelope,
|
|
};
|
|
pub use selectors::{PaneSelector, SessionSelector, TabSelector, TargetSelector, WindowSelector};
|