@byok-sdk/protocol 0.28.1 → 0.28.3

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.
@@ -1284,6 +1284,10 @@ export declare const TaskProgressPayloadSchema: z.ZodObject<{
1284
1284
  }, z.core.$strip>, z.ZodObject<{
1285
1285
  type: z.ZodLiteral<"tool_use">;
1286
1286
  tool: z.ZodString;
1287
+ mcp: z.ZodOptional<z.ZodObject<{
1288
+ server: z.ZodString;
1289
+ tool: z.ZodString;
1290
+ }, z.core.$strict>>;
1287
1291
  input: z.ZodOptional<z.ZodUnknown>;
1288
1292
  toolCallId: z.ZodOptional<z.ZodString>;
1289
1293
  spill: z.ZodOptional<z.ZodObject<{
@@ -1306,6 +1310,10 @@ export declare const TaskProgressPayloadSchema: z.ZodObject<{
1306
1310
  }, z.core.$strip>, z.ZodObject<{
1307
1311
  type: z.ZodLiteral<"tool_result">;
1308
1312
  tool: z.ZodString;
1313
+ mcp: z.ZodOptional<z.ZodObject<{
1314
+ server: z.ZodString;
1315
+ tool: z.ZodString;
1316
+ }, z.core.$strict>>;
1309
1317
  output: z.ZodOptional<z.ZodUnknown>;
1310
1318
  toolCallId: z.ZodOptional<z.ZodString>;
1311
1319
  isError: z.ZodOptional<z.ZodBoolean>;
@@ -3159,6 +3167,10 @@ export declare const MESSAGE_PAYLOAD_SCHEMAS: {
3159
3167
  }, z.core.$strip>, z.ZodObject<{
3160
3168
  type: z.ZodLiteral<"tool_use">;
3161
3169
  tool: z.ZodString;
3170
+ mcp: z.ZodOptional<z.ZodObject<{
3171
+ server: z.ZodString;
3172
+ tool: z.ZodString;
3173
+ }, z.core.$strict>>;
3162
3174
  input: z.ZodOptional<z.ZodUnknown>;
3163
3175
  toolCallId: z.ZodOptional<z.ZodString>;
3164
3176
  spill: z.ZodOptional<z.ZodObject<{
@@ -3181,6 +3193,10 @@ export declare const MESSAGE_PAYLOAD_SCHEMAS: {
3181
3193
  }, z.core.$strip>, z.ZodObject<{
3182
3194
  type: z.ZodLiteral<"tool_result">;
3183
3195
  tool: z.ZodString;
3196
+ mcp: z.ZodOptional<z.ZodObject<{
3197
+ server: z.ZodString;
3198
+ tool: z.ZodString;
3199
+ }, z.core.$strict>>;
3184
3200
  output: z.ZodOptional<z.ZodUnknown>;
3185
3201
  toolCallId: z.ZodOptional<z.ZodString>;
3186
3202
  isError: z.ZodOptional<z.ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byok-sdk/protocol",
3
- "version": "0.28.1",
3
+ "version": "0.28.3",
4
4
  "description": "BYOK SDK wire protocol: envelope schema, message types, and codec helpers",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "homepage": "https://github.com/Ancienttwo/byok-sdk#readme",
16
16
  "engines": {
17
- "node": ">=24.15.0"
17
+ "node": ">=24.22.1"
18
18
  },
19
19
  "sideEffects": false,
20
20
  "main": "./dist/index.js",