Skip to main content

Module client

Module client 

Source
Expand description

Heddle protocol client.

Connects to Heddle servers for push, pull, and other operations.

Re-exports§

pub use human_signature::cli_human_signature_callback;
pub use local_daemon::LocalDaemonChannel;
pub use local_daemon::connect_local_daemon_channel;
pub use local_daemon::detect_local_daemon_with_connect_probe;
pub use local_daemon::UdsTarget;
pub use local_daemon::detect_local_daemon;
pub use local_sync::LocalSync;

Modules§

context_sync
Hosted context (annotation) sync bridge.
discussion_sync
Hosted discussion sync bridge.
human_signature
CLI default human-signature (WebAuthn) callback for destructive hosted RPCs.
local_daemon
Local-daemon auto-detection.
local_sync
Local repository synchronization.
review_sync
Hosted review-signature sync bridge.

Structs§

ClientConfig
Client configuration.
HostedGrpcClient
HostedSession
A validated, connectable hosted-session configuration.
ResolvedHostedCredential
A credential resolved by the single hosted-auth precedence. Fully describes the selected bearer so callers never re-read env/keystore themselves.

Enums§

CredentialSource
Where a resolved hosted credential originated. Reported by auth status.

Functions§

resolve_active_bearer
Resolve the locally active bearer token, if any, using the default server for keystore lookup. For read/display paths that need the active token without a specific target remote. Still honors HEDDLE_CREDENTIAL first.
resolve_hosted_credential
Resolve the hosted credential for server_key following the single precedence order documented on this module.