theway-daemon 0.1.11

theway daemon — the single agent-runtime kernel (bin `thewayd`): harness assembly, local/sandbox tool policy, triggers/cron/session/DAG runtime, skills, MCP/LSP wiring, serving the gRPC/HTTP/MCP transports from theway-transport. Terminal UI lives in the theway-tui crate.
Documentation
//! Source adapters for the runtime `NotificationHook` trait. Each module here wraps a
//! transport (MCP push, cron, file-watch, ...) and pushes normalized
//! [`Trigger`](theway_core::Trigger) envelopes into a shared sink.
//!
//! The runtime side of the trait + envelope lives in `theway_core::runtime`. The
//! supervisor that owns hook registration (driver + pump task pair) shipped in
//! `AgentHarness::register_notification_hook`; `mcp_loader` constructs one
//! `McpNotificationHook` per configured MCP server and registers it with the harness
//! after the harness is built. Adapters are written without reference to the supervisor
//! so they can be unit-tested against a synthetic `TriggerSink` (a
//! `mpsc::unbounded_channel` receiver).

pub mod cron;
pub mod dynamic;
pub mod mcp_notification_hook;
pub mod tool_assembly;

#[cfg(test)]
pub use cron::global_cron_registry;
#[allow(unused_imports)]
pub use cron::{
    CronJob, CronNotificationHook, ListCronJobsTool, NewCronJobTool, RemoveCronJobTool,
    SetCronJobStateTool, cron_action_hook, cron_trigger_listener,
};
#[cfg(test)]
pub use dynamic::global_registry;
#[allow(unused_imports)]
pub use dynamic::{
    DynamicTriggerCheckHook, ListTriggersTool, NewTriggerTool, RemoveTriggerTool,
    SetTriggerStateTool, before_trigger_action_hook, direct_inject_action_hook,
    fire_once_trigger_listener,
};
#[allow(unused_imports)]
pub use mcp_notification_hook::McpNotificationHook;