@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 +1 -1
- package/dist/agent-event.d.ts +12 -0
- package/dist/agent-memory-intent.d.ts +717 -0
- package/dist/codec.d.ts +8 -0
- package/dist/envelope.d.ts +42 -0
- package/dist/http-api.d.ts +94 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.js +358 -36
- package/dist/index.js.map +1 -1
- package/dist/input-preparation.d.ts +19 -2
- package/dist/messages.d.ts +66 -1
- package/dist/provider-provisioning.d.ts +372 -0
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/agent-event.d.ts
CHANGED
|
@@ -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>]>;
|