@robota-sdk/agent-core 3.0.0-beta.77 → 3.0.0-beta.79

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @robota-sdk/agent-core
2
2
 
3
+ ## 3.0.0-beta.79
4
+
5
+ ## 3.0.0-beta.78
6
+
7
+ ### Patch Changes
8
+
9
+ - 6f308d1: fix(streaming): expose token usage on the streaming execution path (BEHAVIOR-005)
10
+
11
+ Token usage was silently dropped on streaming turns, so `readTokenUsageFromMessage` and robota's usage analytics returned empty/0 for every `run()`/`runStream()` (which always stream). OpenAI-compatible streaming requests now send `stream_options: { include_usage: true }`, the stream assembler and the `runStream` commit path attach the same top-level `usage` shape the non-streaming path already emits, and both `run()` and `runStream()` now expose usage. New opt-out `IOpenAIProviderOptions.includeStreamUsage` (default `true`) for OpenAI-compatible servers that reject `stream_options`.
12
+
3
13
  ## 3.0.0-beta.77
4
14
 
5
15
  ### Patch Changes