@yanlinglabs/winter-conformance 0.0.16 → 0.0.20

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.
Files changed (31) hide show
  1. package/dist/official/web-tools-script.d.ts +118 -0
  2. package/goldens/advertised-set-round.trace.json +35 -1
  3. package/goldens/background-task-round.trace.json +35 -1
  4. package/goldens/bash-background-round.trace.json +35 -1
  5. package/goldens/canusetool-approved-round.trace.json +35 -1
  6. package/goldens/compaction-auto-round.trace.json +167 -5
  7. package/goldens/compaction-manual-round.trace.json +188 -5
  8. package/goldens/denied-tool-round.trace.json +35 -1
  9. package/goldens/hook-denied-round.trace.json +35 -1
  10. package/goldens/hooked-tool-round.trace.json +35 -1
  11. package/goldens/interrupt.trace.json +25 -0
  12. package/goldens/mcp-tool-round.trace.json +35 -1
  13. package/goldens/messaging-facet-round.trace.json +4 -0
  14. package/goldens/mode-switch-mid-session.trace.json +68 -2
  15. package/goldens/multi-turn.trace.json +68 -2
  16. package/goldens/p6-anthropic-fake.trace.json +27 -4
  17. package/goldens/p6-gemini-fake.trace.json +36 -1
  18. package/goldens/p6-openai-chat-fake.trace.json +37 -1
  19. package/goldens/p6-openai-responses-fake.trace.json +27 -4
  20. package/goldens/p6-resolution-failure.trace.json +23 -0
  21. package/goldens/plain-query.trace.json +35 -1
  22. package/goldens/resume.trace.json +70 -2
  23. package/goldens/sendmessage-child-round.trace.json +35 -1
  24. package/goldens/skill-invocation-round.trace.json +36 -2
  25. package/goldens/structured-exhaustion-round.trace.json +35 -1
  26. package/goldens/structured-output-round.trace.json +35 -1
  27. package/goldens/subagent-permission-round.trace.json +35 -1
  28. package/goldens/subagent-spawn-round.trace.json +35 -1
  29. package/goldens/tool-round.trace.json +35 -1
  30. package/goldens/toolsearch-select-round.trace.json +35 -1
  31. package/package.json +1 -1
@@ -0,0 +1,118 @@
1
+ import { type OfficialRoots, type RawFrame, type SseEvent } from "./differential-harness.js";
2
+ /** One scripted search hit. `extra` rides along on the WIRE only (page_age, encrypted_content, ...) to prove it never survives. */
3
+ export interface ScriptedHit {
4
+ title: string;
5
+ url: string;
6
+ extra?: Record<string, unknown>;
7
+ }
8
+ /**
9
+ * The claude-side block sequence an inner `web_search_20250305` response carries. A `search` is a
10
+ * `server_tool_use` block immediately followed by its `web_search_tool_result` block (hits, or a
11
+ * result-block error).
12
+ */
13
+ export type ScriptedSearchBlock = {
14
+ kind: "text";
15
+ text: string;
16
+ } | {
17
+ kind: "search";
18
+ query: string;
19
+ hits: ScriptedHit[];
20
+ } | {
21
+ kind: "search_error";
22
+ query: string;
23
+ errorCode: string;
24
+ };
25
+ /** Structurally identical to the runtime's own `WebSearchStreamEvent` (declared here rather than imported so this module stays free of cross-package imports; each test file passes the result straight to the real assembler, so a drift in that type is a compile error THERE). */
26
+ export type WinterSearchEvent = {
27
+ type: "text";
28
+ text: string;
29
+ } | {
30
+ type: "search_result";
31
+ hits: Array<{
32
+ title: string;
33
+ url: string;
34
+ }>;
35
+ } | {
36
+ type: "search_error";
37
+ code: string;
38
+ };
39
+ /**
40
+ * The SAME scripted sequence in Winter's event shape. Deliberately passes every `extra` field
41
+ * through on the hit objects (as untyped excess properties), so "only title and url survive" is
42
+ * proven on Winter's side by the assembler dropping them, not by this mapper never offering them.
43
+ */
44
+ export declare function toWinterEvents(blocks: readonly ScriptedSearchBlock[]): WinterSearchEvent[];
45
+ /** The inner response as an SSE stream: one content block per text, two per search. */
46
+ export declare function sseInnerSearchTurn(blocks: readonly ScriptedSearchBlock[], model?: string): SseEvent[];
47
+ export declare const INNER_SEARCH_USER_PREFIX = "Perform a web search for the query: ";
48
+ export declare const INNER_FETCH_USER_PREFIX = "\nWeb page content:\n";
49
+ export declare function toolsOf(body: RawFrame): RawFrame[];
50
+ /** The inner search call: recognised by the server tool in its tool list, never by position. */
51
+ export declare function isInnerSearchRequest(body: RawFrame): boolean;
52
+ /** The first user message's text, whether the wire carries it as a string or as a one-block array. */
53
+ export declare function firstUserText(body: RawFrame): string;
54
+ /** The inner digest call: no tools at all, and the page-content template opening the user text. */
55
+ export declare function isInnerFetchRequest(body: RawFrame): boolean;
56
+ export declare function hasToolResult(messages: readonly RawFrame[]): boolean;
57
+ export interface OfficialToolResult {
58
+ /** The tool_result `content` as the binary's own stdout `user` frame carries it -- the tool's PURE output. */
59
+ content: string;
60
+ isError: boolean;
61
+ /** The binary's structured result for the call (`tool_use_result` on the same frame), when it has one. */
62
+ structured: unknown;
63
+ }
64
+ /** Every tool_result the binary emitted on stdout, keyed by `tool_use_id` (never by position -- batched calls finish in any order). */
65
+ export declare function toolResultsFromFrames(frames: readonly RawFrame[]): Map<string, OfficialToolResult>;
66
+ /** Every tool_result in a captured main-loop REQUEST, keyed by `tool_use_id` -- what actually went back to the API. */
67
+ export declare function toolResultsFromRequest(body: RawFrame): Map<string, string>;
68
+ /**
69
+ * The binary's MAIN LOOP appends a token-budget note to a tool_result on the wire (observed on the
70
+ * last tool_result of a request). It is loop decoration, not part of any tool's own output -- the
71
+ * stdout frame for the same call does not carry it -- so the wire comparison allows exactly this
72
+ * suffix and nothing else.
73
+ */
74
+ export declare const MAIN_LOOP_WIRE_SUFFIX: RegExp;
75
+ /** True when `wire` is `pure` exactly, or `pure` plus the one known main-loop suffix. */
76
+ export declare function wireMatchesPure(wire: string, pure: string): boolean;
77
+ export interface ProxyTrap {
78
+ url: string;
79
+ /** The first line of every request that reached the trap -- must stay EMPTY for a hermetic run. */
80
+ hits: string[];
81
+ stop(): void;
82
+ }
83
+ export declare function startProxyTrap(): ProxyTrap;
84
+ export interface LoopbackTls {
85
+ key: string;
86
+ cert: string;
87
+ certPath: string;
88
+ }
89
+ /** A self-signed cert for 127.0.0.1, written under `dir` (a mkdtemp root the caller owns). Returns `{reason}` when openssl is unavailable, so the caller can skip plainly rather than fail obscurely. */
90
+ export declare function makeLoopbackTls(dir: string): LoopbackTls | {
91
+ reason: string;
92
+ };
93
+ export interface OfficialRun {
94
+ /** Every POST body the loopback received, in arrival order. */
95
+ requests: RawFrame[];
96
+ /** Every stdout frame the binary emitted. */
97
+ frames: RawFrame[];
98
+ /** First lines of anything that tried to leave the box (see the header) -- asserted empty by every caller. */
99
+ trapHits: string[];
100
+ }
101
+ export interface OfficialRunOptions {
102
+ binaryPath: string;
103
+ model?: string;
104
+ prompt: string;
105
+ route: (messages: RawFrame[], body: RawFrame, count: number) => Response;
106
+ logPrefix: string;
107
+ /** Extra `--settings` JSON (always merged over `skipWebFetchPreflight: true`). */
108
+ settings?: Record<string, unknown>;
109
+ extraEnv?: Record<string, string>;
110
+ /** Called with the roots before the spawn -- for a caller that needs files under them (a TLS cert). */
111
+ roots?: OfficialRoots;
112
+ }
113
+ /**
114
+ * One headless `-p` invocation of the pinned binary against a scripted loopback, permission mode
115
+ * `bypassPermissions` -- the SAME way every other file in this family lets a tool run (WebSearch and
116
+ * WebFetch both prompt otherwise); no allow rule, no hook, nothing more invasive than that.
117
+ */
118
+ export declare function runOfficialOnce(opts: OfficialRunOptions): Promise<OfficialRun>;
@@ -38,6 +38,8 @@
38
38
  "TaskOutput",
39
39
  "TaskStop",
40
40
  "TaskUpdate",
41
+ "WebFetch",
42
+ "WebSearch",
41
43
  "Workflow",
42
44
  "Write"
43
45
  ],
@@ -81,7 +83,39 @@
81
83
  "subtype": "success",
82
84
  "is_error": false,
83
85
  "result": "echo: <system-reminder>\nAvailable agent types for the Agent tool:\n- claude: Catch-all for any task that doesn't fit a more specific agent. (Tools: *)\n- Explore: Fast read-only search agent for locating code. Use it to find files by pattern (eg. \"src/components/**/*.tsx\"), grep for symbols or keywords (eg. \"API endpoints\"), or answer \"where is X defined / which files reference Y.\" Do NOT use it for code review, design-doc auditing, cross-file consistency checks, or open-ended analysis — it reads excerpts rather than whole files and will miss content past its read window. When calling, specify search breadth: \"quick\" for a single targeted lookup, \"medium\" for moderate exploration, or \"very thorough\" to search across multiple locations and naming conventions. (Tools: All tools except Agent, Artifact, ExitPlanMode, Edit, Write, NotebookEdit)\n- general-purpose: General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you. (Tools: *)\n- Plan: Software architect agent for designing implementation plans. Use this when you need to plan the implementation strategy for a task. Returns step-by-step plans, identifies critical files, and considers architectural trade-offs. (Tools: All tools except Agent, Artifact, ExitPlanMode, Edit, Write, NotebookEdit)\n\nWhen you launch multiple agents for independent work, send them in a single message with multiple tool uses so they run concurrently.\n</system-reminder>\n\n<system-reminder>\nAs you answer the user's questions, you can use the following context:\n# currentDate\nToday's date is <FIXTURE-DATE>.\n\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\n</system-reminder>\n\n\nhi",
84
- "permission_denials": []
86
+ "usage": {
87
+ "output_tokens_details": {
88
+ "thinking_tokens": 0
89
+ },
90
+ "input_tokens": "<input_tokens>",
91
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
92
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
93
+ "output_tokens": "<output_tokens>",
94
+ "server_tool_use": {
95
+ "web_search_requests": 0,
96
+ "web_fetch_requests": 0
97
+ },
98
+ "service_tier": "standard",
99
+ "cache_creation": {
100
+ "ephemeral_1h_input_tokens": 0,
101
+ "ephemeral_5m_input_tokens": 0
102
+ },
103
+ "inference_geo": "",
104
+ "iterations": [],
105
+ "speed": "standard"
106
+ },
107
+ "permission_denials": [],
108
+ "modelUsage": {
109
+ "winter-test/echo": {
110
+ "inputTokens": "<inputTokens>",
111
+ "outputTokens": "<outputTokens>",
112
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
113
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
114
+ "webSearchRequests": 0,
115
+ "costUSD": 0,
116
+ "canonicalModel": "winter-test/echo"
117
+ }
118
+ }
85
119
  }
86
120
  }
87
121
  ]
@@ -39,6 +39,8 @@
39
39
  "TaskOutput",
40
40
  "TaskStop",
41
41
  "TaskUpdate",
42
+ "WebFetch",
43
+ "WebSearch",
42
44
  "Workflow",
43
45
  "Write"
44
46
  ],
@@ -210,7 +212,39 @@
210
212
  "subtype": "success",
211
213
  "is_error": false,
212
214
  "result": "backgrounded",
213
- "permission_denials": []
215
+ "usage": {
216
+ "output_tokens_details": {
217
+ "thinking_tokens": 0
218
+ },
219
+ "input_tokens": "<input_tokens>",
220
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
221
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
222
+ "output_tokens": "<output_tokens>",
223
+ "server_tool_use": {
224
+ "web_search_requests": 0,
225
+ "web_fetch_requests": 0
226
+ },
227
+ "service_tier": "standard",
228
+ "cache_creation": {
229
+ "ephemeral_1h_input_tokens": 0,
230
+ "ephemeral_5m_input_tokens": 0
231
+ },
232
+ "inference_geo": "",
233
+ "iterations": [],
234
+ "speed": "standard"
235
+ },
236
+ "permission_denials": [],
237
+ "modelUsage": {
238
+ "winter-test/echo": {
239
+ "inputTokens": "<inputTokens>",
240
+ "outputTokens": "<outputTokens>",
241
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
242
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
243
+ "webSearchRequests": 0,
244
+ "costUSD": 0,
245
+ "canonicalModel": "winter-test/echo"
246
+ }
247
+ }
214
248
  }
215
249
  }
216
250
  ]
@@ -39,6 +39,8 @@
39
39
  "TaskOutput",
40
40
  "TaskStop",
41
41
  "TaskUpdate",
42
+ "WebFetch",
43
+ "WebSearch",
42
44
  "Workflow",
43
45
  "Write"
44
46
  ],
@@ -150,7 +152,39 @@
150
152
  "subtype": "success",
151
153
  "is_error": false,
152
154
  "result": "backgrounded",
153
- "permission_denials": []
155
+ "usage": {
156
+ "output_tokens_details": {
157
+ "thinking_tokens": 0
158
+ },
159
+ "input_tokens": "<input_tokens>",
160
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
161
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
162
+ "output_tokens": "<output_tokens>",
163
+ "server_tool_use": {
164
+ "web_search_requests": 0,
165
+ "web_fetch_requests": 0
166
+ },
167
+ "service_tier": "standard",
168
+ "cache_creation": {
169
+ "ephemeral_1h_input_tokens": 0,
170
+ "ephemeral_5m_input_tokens": 0
171
+ },
172
+ "inference_geo": "",
173
+ "iterations": [],
174
+ "speed": "standard"
175
+ },
176
+ "permission_denials": [],
177
+ "modelUsage": {
178
+ "winter-test/echo": {
179
+ "inputTokens": "<inputTokens>",
180
+ "outputTokens": "<outputTokens>",
181
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
182
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
183
+ "webSearchRequests": 0,
184
+ "costUSD": 0,
185
+ "canonicalModel": "winter-test/echo"
186
+ }
187
+ }
154
188
  }
155
189
  }
156
190
  ]
@@ -39,6 +39,8 @@
39
39
  "TaskOutput",
40
40
  "TaskStop",
41
41
  "TaskUpdate",
42
+ "WebFetch",
43
+ "WebSearch",
42
44
  "Workflow",
43
45
  "Write"
44
46
  ],
@@ -119,7 +121,39 @@
119
121
  "subtype": "success",
120
122
  "is_error": false,
121
123
  "result": "tool round done",
122
- "permission_denials": []
124
+ "usage": {
125
+ "output_tokens_details": {
126
+ "thinking_tokens": 0
127
+ },
128
+ "input_tokens": "<input_tokens>",
129
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
130
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
131
+ "output_tokens": "<output_tokens>",
132
+ "server_tool_use": {
133
+ "web_search_requests": 0,
134
+ "web_fetch_requests": 0
135
+ },
136
+ "service_tier": "standard",
137
+ "cache_creation": {
138
+ "ephemeral_1h_input_tokens": 0,
139
+ "ephemeral_5m_input_tokens": 0
140
+ },
141
+ "inference_geo": "",
142
+ "iterations": [],
143
+ "speed": "standard"
144
+ },
145
+ "permission_denials": [],
146
+ "modelUsage": {
147
+ "winter-test/echo": {
148
+ "inputTokens": "<inputTokens>",
149
+ "outputTokens": "<outputTokens>",
150
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
151
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
152
+ "webSearchRequests": 0,
153
+ "costUSD": 0,
154
+ "canonicalModel": "winter-test/echo"
155
+ }
156
+ }
123
157
  }
124
158
  }
125
159
  ]
@@ -39,6 +39,8 @@
39
39
  "TaskOutput",
40
40
  "TaskStop",
41
41
  "TaskUpdate",
42
+ "WebFetch",
43
+ "WebSearch",
42
44
  "Workflow",
43
45
  "Write"
44
46
  ],
@@ -82,7 +84,39 @@
82
84
  "subtype": "success",
83
85
  "is_error": false,
84
86
  "result": "reply 1",
85
- "permission_denials": []
87
+ "usage": {
88
+ "output_tokens_details": {
89
+ "thinking_tokens": 0
90
+ },
91
+ "input_tokens": "<input_tokens>",
92
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
93
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
94
+ "output_tokens": "<output_tokens>",
95
+ "server_tool_use": {
96
+ "web_search_requests": 0,
97
+ "web_fetch_requests": 0
98
+ },
99
+ "service_tier": "standard",
100
+ "cache_creation": {
101
+ "ephemeral_1h_input_tokens": 0,
102
+ "ephemeral_5m_input_tokens": 0
103
+ },
104
+ "inference_geo": "",
105
+ "iterations": [],
106
+ "speed": "standard"
107
+ },
108
+ "permission_denials": [],
109
+ "modelUsage": {
110
+ "winter-test/echo": {
111
+ "inputTokens": "<inputTokens>",
112
+ "outputTokens": "<outputTokens>",
113
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
114
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
115
+ "webSearchRequests": 0,
116
+ "costUSD": 0,
117
+ "canonicalModel": "winter-test/echo"
118
+ }
119
+ }
86
120
  }
87
121
  },
88
122
  {
@@ -110,7 +144,39 @@
110
144
  "subtype": "success",
111
145
  "is_error": false,
112
146
  "result": "reply 2",
113
- "permission_denials": []
147
+ "usage": {
148
+ "output_tokens_details": {
149
+ "thinking_tokens": 0
150
+ },
151
+ "input_tokens": "<input_tokens>",
152
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
153
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
154
+ "output_tokens": "<output_tokens>",
155
+ "server_tool_use": {
156
+ "web_search_requests": 0,
157
+ "web_fetch_requests": 0
158
+ },
159
+ "service_tier": "standard",
160
+ "cache_creation": {
161
+ "ephemeral_1h_input_tokens": 0,
162
+ "ephemeral_5m_input_tokens": 0
163
+ },
164
+ "inference_geo": "",
165
+ "iterations": [],
166
+ "speed": "standard"
167
+ },
168
+ "permission_denials": [],
169
+ "modelUsage": {
170
+ "winter-test/echo": {
171
+ "inputTokens": "<inputTokens>",
172
+ "outputTokens": "<outputTokens>",
173
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
174
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
175
+ "webSearchRequests": 0,
176
+ "costUSD": 0,
177
+ "canonicalModel": "winter-test/echo"
178
+ }
179
+ }
114
180
  }
115
181
  },
116
182
  {
@@ -138,7 +204,39 @@
138
204
  "subtype": "success",
139
205
  "is_error": false,
140
206
  "result": "reply 3",
141
- "permission_denials": []
207
+ "usage": {
208
+ "output_tokens_details": {
209
+ "thinking_tokens": 0
210
+ },
211
+ "input_tokens": "<input_tokens>",
212
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
213
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
214
+ "output_tokens": "<output_tokens>",
215
+ "server_tool_use": {
216
+ "web_search_requests": 0,
217
+ "web_fetch_requests": 0
218
+ },
219
+ "service_tier": "standard",
220
+ "cache_creation": {
221
+ "ephemeral_1h_input_tokens": 0,
222
+ "ephemeral_5m_input_tokens": 0
223
+ },
224
+ "inference_geo": "",
225
+ "iterations": [],
226
+ "speed": "standard"
227
+ },
228
+ "permission_denials": [],
229
+ "modelUsage": {
230
+ "winter-test/echo": {
231
+ "inputTokens": "<inputTokens>",
232
+ "outputTokens": "<outputTokens>",
233
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
234
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
235
+ "webSearchRequests": 0,
236
+ "costUSD": 0,
237
+ "canonicalModel": "winter-test/echo"
238
+ }
239
+ }
142
240
  }
143
241
  },
144
242
  {
@@ -166,7 +264,39 @@
166
264
  "subtype": "success",
167
265
  "is_error": false,
168
266
  "result": "reply 4",
169
- "permission_denials": []
267
+ "usage": {
268
+ "output_tokens_details": {
269
+ "thinking_tokens": 0
270
+ },
271
+ "input_tokens": "<input_tokens>",
272
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
273
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
274
+ "output_tokens": "<output_tokens>",
275
+ "server_tool_use": {
276
+ "web_search_requests": 0,
277
+ "web_fetch_requests": 0
278
+ },
279
+ "service_tier": "standard",
280
+ "cache_creation": {
281
+ "ephemeral_1h_input_tokens": 0,
282
+ "ephemeral_5m_input_tokens": 0
283
+ },
284
+ "inference_geo": "",
285
+ "iterations": [],
286
+ "speed": "standard"
287
+ },
288
+ "permission_denials": [],
289
+ "modelUsage": {
290
+ "winter-test/echo": {
291
+ "inputTokens": "<inputTokens>",
292
+ "outputTokens": "<outputTokens>",
293
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
294
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
295
+ "webSearchRequests": 0,
296
+ "costUSD": 0,
297
+ "canonicalModel": "winter-test/echo"
298
+ }
299
+ }
170
300
  }
171
301
  },
172
302
  {
@@ -219,7 +349,39 @@
219
349
  "subtype": "success",
220
350
  "is_error": false,
221
351
  "result": "reply 5",
222
- "permission_denials": []
352
+ "usage": {
353
+ "output_tokens_details": {
354
+ "thinking_tokens": 0
355
+ },
356
+ "input_tokens": "<input_tokens>",
357
+ "cache_creation_input_tokens": "<cache_creation_input_tokens>",
358
+ "cache_read_input_tokens": "<cache_read_input_tokens>",
359
+ "output_tokens": "<output_tokens>",
360
+ "server_tool_use": {
361
+ "web_search_requests": 0,
362
+ "web_fetch_requests": 0
363
+ },
364
+ "service_tier": "standard",
365
+ "cache_creation": {
366
+ "ephemeral_1h_input_tokens": 0,
367
+ "ephemeral_5m_input_tokens": 0
368
+ },
369
+ "inference_geo": "",
370
+ "iterations": [],
371
+ "speed": "standard"
372
+ },
373
+ "permission_denials": [],
374
+ "modelUsage": {
375
+ "winter-test/echo": {
376
+ "inputTokens": "<inputTokens>",
377
+ "outputTokens": "<outputTokens>",
378
+ "cacheReadInputTokens": "<cacheReadInputTokens>",
379
+ "cacheCreationInputTokens": "<cacheCreationInputTokens>",
380
+ "webSearchRequests": 0,
381
+ "costUSD": 0,
382
+ "canonicalModel": "winter-test/echo"
383
+ }
384
+ }
223
385
  }
224
386
  }
225
387
  ]