From eb2afaea48f50f36b6bd1782740e619f5a0bcc5b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 15 Jun 2026 19:04:11 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Dust.JsonSerializerContext.g.cs | 2 +- .../Dust.JsonSerializerContextTypes.g.cs | 54 +++++++++---------- .../Dust.Models.PrivateAgentMessage.g.cs | 13 ++++- .../Dust.Models.PrivateLightAgentMessage.g.cs | 11 ++++ src/libs/Dust/openapi.yaml | 10 ++++ 5 files changed, 61 insertions(+), 29 deletions(-) diff --git a/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs b/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs index c0807b1..eee7045 100644 --- a/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs +++ b/src/libs/Dust/Generated/Dust.JsonSerializerContext.g.cs @@ -593,6 +593,7 @@ namespace Dust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateAgentMessageContent))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentMessage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentMessageType), TypeInfoPropertyName = "PrivateLightAgentMessageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentMessageVisibility), TypeInfoPropertyName = "PrivateLightAgentMessageVisibility2")] @@ -619,7 +620,6 @@ namespace Dust [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentConfigurationStatus), TypeInfoPropertyName = "PrivateLightAgentConfigurationStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentConfigurationScope), TypeInfoPropertyName = "PrivateLightAgentConfigurationScope2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentConfigurationModel))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentConfigurationModelReasoningEffort), TypeInfoPropertyName = "PrivateLightAgentConfigurationModelReasoningEffort2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Dust.PrivateLightAgentConfigurationTag))] diff --git a/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs b/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs index a26bcb3..0b855af 100644 --- a/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs +++ b/src/libs/Dust/Generated/Dust.JsonSerializerContextTypes.g.cs @@ -216,111 +216,111 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Dust.PrivateLightAgentMessage? Type47 { get; set; } + public double? Type47 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentMessageType? Type48 { get; set; } + public global::Dust.PrivateLightAgentMessage? Type48 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentMessageVisibility? Type49 { get; set; } + public global::Dust.PrivateLightAgentMessageType? Type49 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentMessageStatus? Type50 { get; set; } + public global::Dust.PrivateLightAgentMessageVisibility? Type50 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentMessageError? Type51 { get; set; } + public global::Dust.PrivateLightAgentMessageStatus? Type51 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentMessageConfiguration? Type52 { get; set; } + public global::Dust.PrivateLightAgentMessageError? Type52 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type53 { get; set; } + public global::Dust.PrivateLightAgentMessageConfiguration? Type53 { get; set; } /// /// /// - public global::Dust.PrivateCitation? Type54 { get; set; } + public global::System.Collections.Generic.Dictionary? Type54 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type55 { get; set; } + public global::Dust.PrivateCitation? Type55 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentMessageGeneratedFile? Type56 { get; set; } + public global::System.Collections.Generic.IList? Type56 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type57 { get; set; } + public global::Dust.PrivateLightAgentMessageGeneratedFile? Type57 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentMessageActivityStep? Type58 { get; set; } + public global::System.Collections.Generic.IList? Type58 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentMessageActivityStepType? Type59 { get; set; } + public global::Dust.PrivateLightAgentMessageActivityStep? Type59 { get; set; } /// /// /// - public global::Dust.PrivateContentFragmentType? Type60 { get; set; } + public global::Dust.PrivateLightAgentMessageActivityStepType? Type60 { get; set; } /// /// /// - public global::Dust.PrivateContentFragmentVisibility? Type61 { get; set; } + public global::Dust.PrivateContentFragmentType? Type61 { get; set; } /// /// /// - public global::Dust.PrivateContentFragmentContext? Type62 { get; set; } + public global::Dust.PrivateContentFragmentVisibility? Type62 { get; set; } /// /// /// - public global::Dust.PrivateContentFragmentContentFragmentVersion? Type63 { get; set; } + public global::Dust.PrivateContentFragmentContext? Type63 { get; set; } /// /// /// - public global::Dust.PrivateContentFragmentContentFragmentType? Type64 { get; set; } + public global::Dust.PrivateContentFragmentContentFragmentVersion? Type64 { get; set; } /// /// /// - public global::Dust.PrivateContentFragmentExpiredReason? Type65 { get; set; } + public global::Dust.PrivateContentFragmentContentFragmentType? Type65 { get; set; } /// /// /// - public long? Type66 { get; set; } + public global::Dust.PrivateContentFragmentExpiredReason? Type66 { get; set; } /// /// /// - public global::Dust.PrivateCompactionMessageType? Type67 { get; set; } + public long? Type67 { get; set; } /// /// /// - public global::Dust.PrivateCompactionMessageVisibility? Type68 { get; set; } + public global::Dust.PrivateCompactionMessageType? Type68 { get; set; } /// /// /// - public global::Dust.PrivateCompactionMessageStatus? Type69 { get; set; } + public global::Dust.PrivateCompactionMessageVisibility? Type69 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentConfigurationStatus? Type70 { get; set; } + public global::Dust.PrivateCompactionMessageStatus? Type70 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentConfigurationScope? Type71 { get; set; } + public global::Dust.PrivateLightAgentConfigurationStatus? Type71 { get; set; } /// /// /// - public global::Dust.PrivateLightAgentConfigurationModel? Type72 { get; set; } + public global::Dust.PrivateLightAgentConfigurationScope? Type72 { get; set; } /// /// /// - public double? Type73 { get; set; } + public global::Dust.PrivateLightAgentConfigurationModel? Type73 { get; set; } /// /// /// diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateAgentMessage.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateAgentMessage.g.cs index 12cde45..124e8ba 100644 --- a/src/libs/Dust/Generated/Dust.Models.PrivateAgentMessage.g.cs +++ b/src/libs/Dust/Generated/Dust.Models.PrivateAgentMessage.g.cs @@ -154,6 +154,12 @@ public sealed partial class PrivateAgentMessage [global::System.Text.Json.Serialization.JsonPropertyName("costCredits")] public int? CostCredits { get; set; } + /// + /// Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subAgentCostCredits")] + public double? SubAgentCostCredits { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -194,6 +200,9 @@ public sealed partial class PrivateAgentMessage /// /// Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message. /// + /// + /// Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -220,7 +229,8 @@ public PrivateAgentMessage( global::System.Collections.Generic.IList? richMentions, int? completionDurationMs, global::System.Collections.Generic.IList? reactions, - int? costCredits) + int? costCredits, + double? subAgentCostCredits) { this.Id = id; this.AgentMessageId = agentMessageId; @@ -245,6 +255,7 @@ public PrivateAgentMessage( this.CompletionDurationMs = completionDurationMs; this.Reactions = reactions; this.CostCredits = costCredits; + this.SubAgentCostCredits = subAgentCostCredits; } /// diff --git a/src/libs/Dust/Generated/Dust.Models.PrivateLightAgentMessage.g.cs b/src/libs/Dust/Generated/Dust.Models.PrivateLightAgentMessage.g.cs index 8c280be..6f0922c 100644 --- a/src/libs/Dust/Generated/Dust.Models.PrivateLightAgentMessage.g.cs +++ b/src/libs/Dust/Generated/Dust.Models.PrivateLightAgentMessage.g.cs @@ -131,6 +131,12 @@ public sealed partial class PrivateLightAgentMessage [global::System.Text.Json.Serialization.JsonPropertyName("costCredits")] public int? CostCredits { get; set; } + /// + /// Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subAgentCostCredits")] + public double? SubAgentCostCredits { get; set; } + /// /// /// @@ -175,6 +181,9 @@ public sealed partial class PrivateLightAgentMessage /// /// Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message. /// + /// + /// Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise. + /// /// /// #if NET7_0_OR_GREATER @@ -200,6 +209,7 @@ public PrivateLightAgentMessage( global::System.Collections.Generic.IList? richMentions, int? completionDurationMs, int? costCredits, + double? subAgentCostCredits, global::System.Collections.Generic.IList? activitySteps, global::System.Collections.Generic.IList? reactions) { @@ -222,6 +232,7 @@ public PrivateLightAgentMessage( this.RichMentions = richMentions; this.CompletionDurationMs = completionDurationMs; this.CostCredits = costCredits; + this.SubAgentCostCredits = subAgentCostCredits; this.ActivitySteps = activitySteps; this.Reactions = reactions; } diff --git a/src/libs/Dust/openapi.yaml b/src/libs/Dust/openapi.yaml index b492d4f..8668b33 100644 --- a/src/libs/Dust/openapi.yaml +++ b/src/libs/Dust/openapi.yaml @@ -10404,6 +10404,11 @@ "type": "integer", "nullable": true, "description": "Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message." + }, + "subAgentCostCredits": { + "type": "number", + "nullable": true, + "description": "Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise." } } }, @@ -10551,6 +10556,11 @@ "nullable": true, "description": "Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message." }, + "subAgentCostCredits": { + "type": "number", + "nullable": true, + "description": "Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise." + }, "activitySteps": { "type": "array", "items": {