choreo_client_core/
lib.rs1pub mod command_catalog;
2pub mod connection;
3pub mod credentials;
4pub mod diff;
5pub mod dispatch;
6pub mod error;
7pub mod history;
8pub mod known_servers;
9pub mod shell;
10
11#[cfg(feature = "test-support")]
15pub mod test_support;
16
17pub use choreo_transport::key::{fingerprint, read_server_pk};
18pub use command_catalog::{
19 CommandGroup, CommandMatch, CommandSpec, command_catalog, match_commands,
20};
21pub use connection::{
22 ConnectionMode, PreflightError, own_transport_pubkey, probe_server_key, run_daemon_connection,
23 run_daemon_connection_with_autostart, run_daemon_connection_with_mode, run_daemon_reader,
24 run_daemon_tcp_connection, run_daemon_tcp_connection_pinned,
25 run_daemon_tcp_connection_xx_first_contact, verify_daemon_authorization,
26};
27pub use credentials::{
28 AutoBindAttempt, KeystoreAutoBind, attempt_keystore_auto_bind, bind_fresh_daemon,
29 build_add_credential_from_credential, build_add_credential_message, record_unlock_key,
30 resolve_private_key, try_auto_unlock_key,
31};
32pub use diff::{DiffHunk, DiffLine, DiffLineKind, FileDiff};
33pub use dispatch::{SessionStateData, ToolCallEvent, TurnEventHandler, dispatch_daemon_message};
34pub use error::{ClientError, broken_pipe};
35pub use history::SessionView;
36pub use known_servers::{KnownServerEntry, KnownServers, known_servers_path};
37pub use shell::{Command, UnlockMethod, command_echo, is_valid_account_name, parse_input_line};
38
39#[cfg(test)]
40mod tests;