diff --git a/apps/macos/Sources/Clawdis/ControlChannel.swift b/apps/macos/Sources/Clawdis/ControlChannel.swift index cb58e7d96..f363bbc0f 100644 --- a/apps/macos/Sources/Clawdis/ControlChannel.swift +++ b/apps/macos/Sources/Clawdis/ControlChannel.swift @@ -121,7 +121,9 @@ final class ControlChannel: ObservableObject { timeoutMs: Double? = nil) async throws -> Data { do { - let rawParams = params?.reduce(into: [String: AnyCodable]()) { $0[$1.key] = AnyCodable($1.value) } + let rawParams = params?.reduce(into: [String: AnyCodable]()) { + $0[$1.key] = AnyCodable($1.value.base) + } let data = try await GatewayConnection.shared.request( method: method, params: rawParams,