18 lines
515 B
Swift
18 lines
515 B
Swift
// SPDX-FileCopyrightText: 2026 Kaede Akino
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
import Foundation
|
|
import SwiftData
|
|
|
|
/// Discovery metadata is separate so historical MCP server schemas remain unchanged.
|
|
@Model
|
|
public final class PersistentMCPServerMetadata {
|
|
@Attribute(.unique) public var serverID: UUID = UUID()
|
|
public var serverDescription = ""
|
|
|
|
public init(serverID: UUID, serverDescription: String) {
|
|
self.serverID = serverID
|
|
self.serverDescription = serverDescription
|
|
}
|
|
}
|