Expand description
Crabtalk daemon — message central composing runtime, channels, and cron scheduling. Personal agent, local-first.
Re-exports§
pub use config::DaemonConfig;pub use daemon::setup_socket;pub use daemon::Daemon;pub use daemon::DaemonHandle;pub use daemon::bridge_shutdown;pub use daemon::event::DaemonEvent;pub use daemon::event::DaemonEventSender;pub use daemon::setup_tcp;pub use hook::DaemonEnv;
Modules§
- config
- Daemon configuration loaded from TOML.
- cron
- Daemon-level cron scheduler.
- daemon
- Daemon — the core struct composing runtime, transports, and lifecycle.
- event_
bus - Daemon-level event bus — subscription-based routing.
- hook
- Hook module — re-exports Env
as DaemonEnv. - provider
Retrying<P>— aProviderwrapper that adds exponential-backoff retry and per-call timeout on top of any inner provider.
Functions§
- build_
default_ provider - Construct the default
Model<DefaultProvider>from a config.
Type Aliases§
- Build
Provider - Closure that builds a
Model<P>from aDaemonConfig. Stored onDaemonsoreload()can call it with the freshly-loaded config.Arc<dyn Fn>soDaemonremainsCloneregardless of concrete P. - Default
Provider - The concrete provider type the default daemon uses: a
crabllmProviderRegistry<RemoteProvider>wrapped in aRetryinglayer. The registry implementscrabllm_core::Providervia model-name routing;Retryingadds the exponential-backoff loop and per-call timeout that the daemon expects from a production deployment.