From 17e183f5cf98d8101f30a2752c58fe6d32b63755 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 13 Dec 2025 23:49:34 +0000 Subject: [PATCH] chore(protocol): regen swift models --- .../ClawdisProtocol/GatewayModels.swift | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/apps/macos/Sources/ClawdisProtocol/GatewayModels.swift b/apps/macos/Sources/ClawdisProtocol/GatewayModels.swift index c4b4def2b..e9cfcdfb6 100644 --- a/apps/macos/Sources/ClawdisProtocol/GatewayModels.swift +++ b/apps/macos/Sources/ClawdisProtocol/GatewayModels.swift @@ -482,6 +482,31 @@ public struct NodePairVerifyParams: Codable { } } +public struct NodeInvokeParams: Codable { + public let nodeid: String + public let command: String + public let params: AnyCodable? + public let timeoutms: Int? + + public init( + nodeid: String, + command: String, + params: AnyCodable?, + timeoutms: Int? + ) { + self.nodeid = nodeid + self.command = command + self.params = params + self.timeoutms = timeoutms + } + private enum CodingKeys: String, CodingKey { + case nodeid = "nodeId" + case command + case params + case timeoutms = "timeoutMs" + } +} + public struct SessionsListParams: Codable { public let limit: Int? public let activeminutes: Int?