zidane 3.0.1 → 3.0.2

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.
@@ -5,7 +5,7 @@ import {
5
5
  toAnthropic,
6
6
  toolResultsMessage,
7
7
  userMessage
8
- } from "./chunk-CYWF2U62.js";
8
+ } from "./chunk-VF4A7HAC.js";
9
9
  import {
10
10
  matchesContextExceeded
11
11
  } from "./chunk-LNN5UTS2.js";
@@ -433,6 +433,8 @@ function openaiCompat(params) {
433
433
  usage: {
434
434
  input: result.usage.input,
435
435
  output: result.usage.output,
436
+ ...result.usage.cacheRead !== void 0 ? { cacheRead: result.usage.cacheRead } : {},
437
+ ...result.usage.cacheCreation !== void 0 ? { cacheCreation: result.usage.cacheCreation } : {},
436
438
  ...result.usage.cost !== void 0 ? { cost: result.usage.cost } : {},
437
439
  ...finishReason ? { finishReason } : {},
438
440
  modelId
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  cerebras,
7
7
  openai,
8
8
  openrouter
9
- } from "./chunk-HQD5ICI6.js";
9
+ } from "./chunk-D45PXTY2.js";
10
10
  import {
11
11
  basicTools,
12
12
  basic_default,
@@ -76,7 +76,7 @@ import {
76
76
  openaiCompat,
77
77
  toAnthropic,
78
78
  toOpenAI
79
- } from "./chunk-CYWF2U62.js";
79
+ } from "./chunk-VF4A7HAC.js";
80
80
  import {
81
81
  AgentAbortedError,
82
82
  AgentContextExceededError,
package/dist/providers.js CHANGED
@@ -3,13 +3,13 @@ import {
3
3
  cerebras,
4
4
  openai,
5
5
  openrouter
6
- } from "./chunk-HQD5ICI6.js";
6
+ } from "./chunk-D45PXTY2.js";
7
7
  import {
8
8
  OpenAICompatHttpError,
9
9
  classifyOpenAICompatError,
10
10
  mapOAIFinishReason,
11
11
  openaiCompat
12
- } from "./chunk-CYWF2U62.js";
12
+ } from "./chunk-VF4A7HAC.js";
13
13
  import "./chunk-LNN5UTS2.js";
14
14
  export {
15
15
  OpenAICompatHttpError,
package/dist/session.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  fromOpenAI,
12
12
  toAnthropic,
13
13
  toOpenAI
14
- } from "./chunk-CYWF2U62.js";
14
+ } from "./chunk-VF4A7HAC.js";
15
15
  import "./chunk-LNN5UTS2.js";
16
16
  export {
17
17
  autoDetectAndConvert,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zidane",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "an agent that goes straight to the goal",
5
5
  "type": "module",
6
6
  "private": false,