fix: expose agent runtime status metadata

This commit is contained in:
Peter Steinberger
2026-04-29 05:01:45 +01:00
parent 0015d34fda
commit e5dc0e6d15
23 changed files with 451 additions and 64 deletions

View File

@@ -2866,19 +2866,22 @@ public struct AgentSummary: Codable, Sendable {
public let identity: [String: AnyCodable]?
public let workspace: String?
public let model: [String: AnyCodable]?
public let agentruntime: [String: AnyCodable]?
public init(
id: String,
name: String?,
identity: [String: AnyCodable]?,
workspace: String?,
model: [String: AnyCodable]?)
model: [String: AnyCodable]?,
agentruntime: [String: AnyCodable]?)
{
self.id = id
self.name = name
self.identity = identity
self.workspace = workspace
self.model = model
self.agentruntime = agentruntime
}
private enum CodingKeys: String, CodingKey {
@@ -2887,6 +2890,7 @@ public struct AgentSummary: Codable, Sendable {
case identity
case workspace
case model
case agentruntime = "agentRuntime"
}
}