11 lines
253 B
Swift
11 lines
253 B
Swift
// SPDX-FileCopyrightText: 2026 Kaede Akino
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
import AgentKit
|
|
import Foundation
|
|
|
|
func agentSecret(_ value: String) -> AgentSecret {
|
|
var bytes = Data(value.utf8)
|
|
return AgentSecret(consumingUTF8: &bytes)
|
|
}
|