refactor: remove remote sequence CLI command

Collapse remote input to `tvctl remote key` so single-key and multi-key
usage share one public command while keeping the paced daemon path
underneath.
This commit is contained in:
44r0n7
2026-04-15 13:46:25 -04:00
parent 348c2bc9bc
commit 0095462216
5 changed files with 56 additions and 43 deletions
+7
View File
@@ -169,8 +169,15 @@ pub struct DaemonStatus {
pub socket: String,
/// Whether the HTTP API is enabled.
pub http_enabled: bool,
/// The HTTP bind host.
pub http_host: String,
/// The HTTP bind port.
pub http_port: u16,
/// The number of known devices.
pub device_count: usize,
/// The current default device, if configured.
#[serde(skip_serializing_if = "Option::is_none")]
pub default_device: Option<String>,
}
/// Discovery results returned by the daemon.
+6
View File
@@ -218,7 +218,13 @@ async fn handle_request(
pid: std::process::id(),
socket: guard.paths.socket_file.display().to_string(),
http_enabled: guard.config.daemon.http_enabled,
http_host: guard.config.daemon.http_host.clone(),
http_port: guard.config.daemon.http_port,
device_count: guard.registry.devices.len(),
default_device: guard
.registry
.default_device()
.map(|device| device.name.clone()),
}),
false,
)