dialai 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -121,6 +121,7 @@ interface ProposerStrategyResult {
121
121
  transitionName: string;
122
122
  toState: string;
123
123
  reasoning: string;
124
+ metaJson?: Record<string, unknown>; // Structured metadata (e.g., tool arguments)
124
125
  costUSD?: number; // Cost in USD to generate this result
125
126
  latencyMsec?: number; // Time in milliseconds to generate
126
127
  numInputTokens?: number; // Input tokens used
@@ -128,7 +129,7 @@ interface ProposerStrategyResult {
128
129
  }
129
130
  ```
130
131
 
131
- When returned from a strategy function, these optional metrics are merged into the resulting `Proposal`. Metrics passed via `SubmitProposalOptions` take precedence over strategy-returned values.
132
+ When returned from a strategy function, these optional metric and metadata fields are merged into the resulting `Proposal`. Values passed via `SubmitProposalOptions` take precedence over strategy-returned values.
132
133
 
133
134
  ### `ArbiterStrategyResult`
134
135