From 9616aa6e5a857ce2e2ec77808ead5d7dfc018559 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 17 May 2026 10:07:52 +0100 Subject: [PATCH] build(protocol): refresh gateway secrets models --- .../Sources/OpenClawProtocol/GatewayModels.swift | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index b564fc9786d..a26e7814b93 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -1501,21 +1501,33 @@ public struct SecretsReloadParams: Codable, Sendable {} public struct SecretsResolveParams: Codable, Sendable { public let commandname: String public let targetids: [String] + public let allowedpaths: [String]? + public let forcedactivepaths: [String]? + public let optionalactivepaths: [String]? public let provideroverrides: [String: AnyCodable]? public init( commandname: String, targetids: [String], + allowedpaths: [String]?, + forcedactivepaths: [String]?, + optionalactivepaths: [String]?, provideroverrides: [String: AnyCodable]?) { self.commandname = commandname self.targetids = targetids + self.allowedpaths = allowedpaths + self.forcedactivepaths = forcedactivepaths + self.optionalactivepaths = optionalactivepaths self.provideroverrides = provideroverrides } private enum CodingKeys: String, CodingKey { case commandname = "commandName" case targetids = "targetIds" + case allowedpaths = "allowedPaths" + case forcedactivepaths = "forcedActivePaths" + case optionalactivepaths = "optionalActivePaths" case provideroverrides = "providerOverrides" } }