[feat](trx-protocol): add display_name to RigEntry

Include optional display_name field in GetRigs response to allow clients
to show friendly rig names instead of just identifiers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 23:46:05 +01:00
parent 8297af8302
commit 283c9b049e
+3
View File
@@ -54,6 +54,9 @@ pub struct ClientEnvelope {
#[derive(Debug, Serialize, Deserialize)]
pub struct RigEntry {
pub rig_id: String,
/// Display name for the rig (long name from config, or rig_id if not set).
#[serde(default, skip_serializing_if = "Option::is_none")]
pub display_name: Option<String>,
pub state: RigSnapshot,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub audio_port: Option<u16>,