@tbox.cn/app-agent-sdk-server 0.1.3 → 0.1.4

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.
@@ -1078,6 +1078,11 @@ interface EngineModelStepInput extends EngineRunInput {
1078
1078
  availableToolIds: readonly string[];
1079
1079
  maxSteps: number;
1080
1080
  remainingSteps: number;
1081
+ /** Observed usage of the preceding model request, when the provider reported valid totals. */
1082
+ previousStepUsage?: Readonly<{
1083
+ inputTokens?: number;
1084
+ outputTokens?: number;
1085
+ }>;
1081
1086
  }
1082
1087
  interface EngineToolCallInput extends EngineRunInput {
1083
1088
  stepNumber: number;