-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexternal_control.rs
More file actions
19 lines (17 loc) · 799 Bytes
/
Copy pathexternal_control.rs
File metadata and controls
19 lines (17 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! External automation surfaces for triggering recording without a human hotkey.
//!
//! Two transports converge on the same [`ExternalControlAction`] vocabulary:
//! a macOS `muninn://` custom URL scheme and a localhost streamable-HTTP MCP
//! server. Both forward actions into the tao event loop as
//! [`UserEvent::ExternalControl`], which the runtime worker maps to the same
//! [`AppEvent`] transitions used by the tray and hotkeys.
mod action;
mod mcp;
mod status;
#[cfg(target_os = "macos")]
mod url_scheme;
pub(crate) use action::{parse_url_action, ExternalControlAction, ExternalControlOutcome};
pub(crate) use mcp::spawn_mcp_server;
pub(crate) use status::RuntimeStatusHandle;
#[cfg(target_os = "macos")]
pub(crate) use url_scheme::{install_url_scheme_handler, set_url_scheme_enabled};