Skip to main content

auths_sdk/
agent_core.rs

1//! Re-exports of agent types from `auths-core`.
2//!
3//! NOTE: SSH agent IPC uses Unix domain sockets — the underlying `auths-core::agent::client`
4//! module is `#[cfg(unix)]`-gated. The re-exports below mirror that gate so the SDK
5//! compiles on Windows. `AgentHandle` is cross-platform (no socket dependency) and
6//! stays unconditionally exported.
7
8pub use auths_core::AgentHandle;
9
10#[cfg(unix)]
11pub use auths_core::agent::{
12    AgentStatus, add_identity, agent_sign, check_agent_status, remove_all_identities,
13};
14#[cfg(unix)]
15pub use auths_core::api::start_agent_listener_with_handle;