From eafcd862be11e21467b701b4f4d87b1c8174daea Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 27 Dec 2025 01:45:58 +0100 Subject: [PATCH] chore: update protocol models --- .../Sources/ClawdisProtocol/GatewayModels.swift | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/apps/macos/Sources/ClawdisProtocol/GatewayModels.swift b/apps/macos/Sources/ClawdisProtocol/GatewayModels.swift index 510fcd799..4313c97ef 100644 --- a/apps/macos/Sources/ClawdisProtocol/GatewayModels.swift +++ b/apps/macos/Sources/ClawdisProtocol/GatewayModels.swift @@ -514,6 +514,23 @@ public struct NodePairVerifyParams: Codable { } } +public struct NodeRenameParams: Codable { + public let nodeid: String + public let displayname: String + + public init( + nodeid: String, + displayname: String + ) { + self.nodeid = nodeid + self.displayname = displayname + } + private enum CodingKeys: String, CodingKey { + case nodeid = "nodeId" + case displayname = "displayName" + } +} + public struct NodeListParams: Codable { }