@byok-sdk/protocol 0.22.0 → 0.24.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.
package/README.md CHANGED
@@ -20,4 +20,4 @@ the additive field and silently executing a runtime-only offer.
20
20
  import { encodeEnvelope, decodeEnvelope } from '@byok-sdk/protocol';
21
21
  ```
22
22
 
23
- MIT licensed. Node.js 22.22.0 or newer.
23
+ MIT licensed. Node.js 24.15.0 or newer.
@@ -129,6 +129,12 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
129
129
  outputTokens: z.ZodOptional<z.ZodNumber>;
130
130
  reasoningTokens: z.ZodOptional<z.ZodNumber>;
131
131
  totalTokens: z.ZodOptional<z.ZodNumber>;
132
+ contextTokens: z.ZodOptional<z.ZodNumber>;
133
+ contextWindow: z.ZodOptional<z.ZodNumber>;
134
+ contextSource: z.ZodOptional<z.ZodEnum<{
135
+ estimate: "estimate";
136
+ provider: "provider";
137
+ }>>;
132
138
  }, z.core.$strip>], "type">;
133
139
  export type AgentEvent = z.infer<typeof AgentEventSchema>;
134
140
  /**
@@ -257,6 +263,12 @@ export declare const AgentEventOrUnknownSchema: z.ZodUnion<readonly [z.ZodDiscri
257
263
  outputTokens: z.ZodOptional<z.ZodNumber>;
258
264
  reasoningTokens: z.ZodOptional<z.ZodNumber>;
259
265
  totalTokens: z.ZodOptional<z.ZodNumber>;
266
+ contextTokens: z.ZodOptional<z.ZodNumber>;
267
+ contextWindow: z.ZodOptional<z.ZodNumber>;
268
+ contextSource: z.ZodOptional<z.ZodEnum<{
269
+ estimate: "estimate";
270
+ provider: "provider";
271
+ }>>;
260
272
  }, z.core.$strip>], "type">, z.ZodObject<{
261
273
  type: z.ZodString;
262
274
  }, z.core.$loose>]>;