@slates/proto 1.0.0-rc.15 → 1.0.0-rc.17

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/dist/index.cjs CHANGED
@@ -52,6 +52,9 @@ __export(index_exports, {
52
52
  slatesConfigRequestsByMethod: () => slatesConfigRequestsByMethod,
53
53
  slatesConfigResponsesByMethod: () => slatesConfigResponsesByMethod,
54
54
  slatesControlFlowNotificationsByMethod: () => slatesControlFlowNotificationsByMethod,
55
+ slatesHubNotificationsByMethod: () => slatesHubNotificationsByMethod,
56
+ slatesHubRequestsByMethod: () => slatesHubRequestsByMethod,
57
+ slatesHubResponsesByMethod: () => slatesHubResponsesByMethod,
55
58
  slatesIdentifyRequestsByMethod: () => slatesIdentifyRequestsByMethod,
56
59
  slatesIdentifyResponsesByMethod: () => slatesIdentifyResponsesByMethod,
57
60
  slatesMessageActionGetRequest: () => slatesMessageActionGetRequest,
@@ -99,6 +102,10 @@ __export(index_exports, {
99
102
  slatesMessageConfigSchemaGetRequest: () => slatesMessageConfigSchemaGetRequest,
100
103
  slatesMessageConfigSchemaGetResponse: () => slatesMessageConfigSchemaGetResponse,
101
104
  slatesMessageHelloNotification: () => slatesMessageHelloNotification,
105
+ slatesMessageHubCapabilitiesSetNotification: () => slatesMessageHubCapabilitiesSetNotification,
106
+ slatesMessageHubLiveInvocationSetNotification: () => slatesMessageHubLiveInvocationSetNotification,
107
+ slatesMessageProviderCapabilitiesGetRequest: () => slatesMessageProviderCapabilitiesGetRequest,
108
+ slatesMessageProviderCapabilitiesGetResponse: () => slatesMessageProviderCapabilitiesGetResponse,
102
109
  slatesMessageProviderIdentifyRequest: () => slatesMessageProviderIdentifyRequest,
103
110
  slatesMessageProviderIdentifyResponse: () => slatesMessageProviderIdentifyResponse,
104
111
  slatesMessageSessionStartNotification: () => slatesMessageSessionStartNotification,
@@ -228,8 +235,7 @@ var slatesAuthenticationMethod = import_zod3.default.object({
228
235
  import_zod3.default.object({
229
236
  id: import_zod3.default.string(),
230
237
  title: import_zod3.default.string(),
231
- description: import_zod3.default.string().optional(),
232
- defaultChecked: import_zod3.default.boolean().optional()
238
+ description: import_zod3.default.string().optional()
233
239
  })
234
240
  ).optional(),
235
241
  inputSchema: import_zod3.default.record(import_zod3.default.string(), import_zod3.default.any()),
@@ -358,12 +364,18 @@ var slatesMessageActionInvokeResponse = import_zod6.default.object({
358
364
  content: import_zod6.default.union([
359
365
  import_zod6.default.object({
360
366
  type: import_zod6.default.literal("url"),
361
- url: import_zod6.default.string()
367
+ url: import_zod6.default.string(),
368
+ headers: import_zod6.default.record(import_zod6.default.string(), import_zod6.default.string()).optional(),
369
+ query: import_zod6.default.record(import_zod6.default.string(), import_zod6.default.string()).optional()
362
370
  }),
363
371
  import_zod6.default.object({
364
372
  type: import_zod6.default.literal("content"),
365
373
  encoding: import_zod6.default.union([import_zod6.default.literal("base64"), import_zod6.default.literal("utf-8")]),
366
374
  content: import_zod6.default.string()
375
+ }),
376
+ import_zod6.default.object({
377
+ type: import_zod6.default.literal("upload_reference"),
378
+ referenceId: import_zod6.default.string()
367
379
  })
368
380
  ])
369
381
  })
@@ -842,30 +854,85 @@ var slatesControlFlowNotificationsByMethod = {
842
854
  "slates/session.start": slatesMessageSessionStartNotification
843
855
  };
844
856
 
845
- // src/messages/identify.ts
857
+ // src/messages/hub.ts
846
858
  var import_zod11 = __toESM(require("zod"), 1);
847
- var slatesMessageProviderIdentifyRequest = import_zod11.default.object({
859
+ var slatesMessageHubCapabilitiesSetNotification = import_zod11.default.object({
860
+ jsonrpc: import_zod11.default.literal("2.0"),
861
+ method: import_zod11.default.literal("slates/hub.capabilities.set"),
862
+ params: import_zod11.default.object({
863
+ capabilities: import_zod11.default.object({
864
+ attachments: import_zod11.default.object({
865
+ directUpload: import_zod11.default.object({
866
+ enabled: import_zod11.default.boolean(),
867
+ maxAttachmentSizeBytes: import_zod11.default.number().optional()
868
+ })
869
+ }).optional()
870
+ })
871
+ })
872
+ });
873
+ var slatesMessageHubLiveInvocationSetNotification = import_zod11.default.object({
848
874
  jsonrpc: import_zod11.default.literal("2.0"),
849
- method: import_zod11.default.literal("slates/provider.identify"),
875
+ method: import_zod11.default.literal("slates/hub.live_invocation.set"),
876
+ params: import_zod11.default.object({
877
+ token: import_zod11.default.string(),
878
+ baseUrl: import_zod11.default.string()
879
+ })
880
+ });
881
+ var slatesHubNotificationsByMethod = {
882
+ "slates/hub.capabilities.set": slatesMessageHubCapabilitiesSetNotification,
883
+ "slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification
884
+ };
885
+ var slatesMessageProviderCapabilitiesGetRequest = import_zod11.default.object({
886
+ jsonrpc: import_zod11.default.literal("2.0"),
887
+ method: import_zod11.default.literal("slates/provider.capabilities.get"),
850
888
  id: import_zod11.default.string(),
851
889
  params: import_zod11.default.object({})
852
890
  });
853
- var slatesMessageProviderIdentifyResponse = import_zod11.default.object({
891
+ var slatesMessageProviderCapabilitiesGetResponse = import_zod11.default.object({
854
892
  jsonrpc: import_zod11.default.literal("2.0"),
855
893
  id: import_zod11.default.string(),
856
894
  result: import_zod11.default.object({
857
- protocol: import_zod11.default.literal(SLATES_PROTOCOL_VERSION),
858
- provider: import_zod11.default.object({
859
- type: import_zod11.default.literal("provider"),
860
- id: import_zod11.default.string(),
861
- name: import_zod11.default.string(),
862
- description: import_zod11.default.string().optional(),
863
- metadata: import_zod11.default.record(import_zod11.default.string(), import_zod11.default.any()).optional()
895
+ capabilities: import_zod11.default.object({
896
+ hub: import_zod11.default.object({
897
+ // Understands slates/hub.capabilities.set
898
+ capabilitiesNotification: import_zod11.default.boolean().optional(),
899
+ // Understands slates/hub.live_invocation.set
900
+ liveInvocation: import_zod11.default.boolean().optional()
901
+ }).optional()
902
+ })
903
+ })
904
+ });
905
+ var slatesHubRequestsByMethod = {
906
+ "slates/provider.capabilities.get": slatesMessageProviderCapabilitiesGetRequest
907
+ };
908
+ var slatesHubResponsesByMethod = {
909
+ "slates/provider.capabilities.get": slatesMessageProviderCapabilitiesGetResponse
910
+ };
911
+
912
+ // src/messages/identify.ts
913
+ var import_zod12 = __toESM(require("zod"), 1);
914
+ var slatesMessageProviderIdentifyRequest = import_zod12.default.object({
915
+ jsonrpc: import_zod12.default.literal("2.0"),
916
+ method: import_zod12.default.literal("slates/provider.identify"),
917
+ id: import_zod12.default.string(),
918
+ params: import_zod12.default.object({})
919
+ });
920
+ var slatesMessageProviderIdentifyResponse = import_zod12.default.object({
921
+ jsonrpc: import_zod12.default.literal("2.0"),
922
+ id: import_zod12.default.string(),
923
+ result: import_zod12.default.object({
924
+ protocol: import_zod12.default.literal(SLATES_PROTOCOL_VERSION),
925
+ provider: import_zod12.default.object({
926
+ type: import_zod12.default.literal("provider"),
927
+ id: import_zod12.default.string(),
928
+ name: import_zod12.default.string(),
929
+ description: import_zod12.default.string().optional(),
930
+ metadata: import_zod12.default.record(import_zod12.default.string(), import_zod12.default.any()).optional()
864
931
  }),
865
- docs: import_zod11.default.array(
866
- import_zod11.default.object({
867
- name: import_zod11.default.string(),
868
- url: import_zod11.default.string()
932
+ docs: import_zod12.default.array(
933
+ import_zod12.default.object({
934
+ name: import_zod12.default.string(),
935
+ url: import_zod12.default.string()
869
936
  })
870
937
  )
871
938
  })
@@ -883,6 +950,7 @@ var slatesResponsesByMethod = {
883
950
  ...slatesAdapterResponsesByMethod,
884
951
  ...slatesAuthResponsesByMethod,
885
952
  ...slatesConfigResponsesByMethod,
953
+ ...slatesHubResponsesByMethod,
886
954
  ...slatesIdentifyResponsesByMethod
887
955
  };
888
956
  var slatesRequestsByMethod = {
@@ -890,12 +958,14 @@ var slatesRequestsByMethod = {
890
958
  ...slatesAdapterRequestsByMethod,
891
959
  ...slatesAuthRequestsByMethod,
892
960
  ...slatesConfigRequestsByMethod,
961
+ ...slatesHubRequestsByMethod,
893
962
  ...slatesIdentifyRequestsByMethod
894
963
  };
895
964
  var slatesNotificationsByMethod = {
896
965
  ...slatesAuthNotificationsByMethod,
897
966
  ...slatesConfigNotificationsByMethod,
898
- ...slatesControlFlowNotificationsByMethod
967
+ ...slatesControlFlowNotificationsByMethod,
968
+ ...slatesHubNotificationsByMethod
899
969
  };
900
970
 
901
971
  // src/handler/provider.ts
@@ -1178,6 +1248,9 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
1178
1248
  slatesConfigRequestsByMethod,
1179
1249
  slatesConfigResponsesByMethod,
1180
1250
  slatesControlFlowNotificationsByMethod,
1251
+ slatesHubNotificationsByMethod,
1252
+ slatesHubRequestsByMethod,
1253
+ slatesHubResponsesByMethod,
1181
1254
  slatesIdentifyRequestsByMethod,
1182
1255
  slatesIdentifyResponsesByMethod,
1183
1256
  slatesMessageActionGetRequest,
@@ -1225,6 +1298,10 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
1225
1298
  slatesMessageConfigSchemaGetRequest,
1226
1299
  slatesMessageConfigSchemaGetResponse,
1227
1300
  slatesMessageHelloNotification,
1301
+ slatesMessageHubCapabilitiesSetNotification,
1302
+ slatesMessageHubLiveInvocationSetNotification,
1303
+ slatesMessageProviderCapabilitiesGetRequest,
1304
+ slatesMessageProviderCapabilitiesGetResponse,
1228
1305
  slatesMessageProviderIdentifyRequest,
1229
1306
  slatesMessageProviderIdentifyResponse,
1230
1307
  slatesMessageSessionStartNotification,
package/dist/index.d.cts CHANGED
@@ -264,10 +264,15 @@ declare let slatesMessageActionInvokeResponse: z.ZodObject<{
264
264
  content: z.ZodUnion<readonly [z.ZodObject<{
265
265
  type: z.ZodLiteral<"url">;
266
266
  url: z.ZodString;
267
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
268
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
267
269
  }, z.core.$strip>, z.ZodObject<{
268
270
  type: z.ZodLiteral<"content">;
269
271
  encoding: z.ZodUnion<readonly [z.ZodLiteral<"base64">, z.ZodLiteral<"utf-8">]>;
270
272
  content: z.ZodString;
273
+ }, z.core.$strip>, z.ZodObject<{
274
+ type: z.ZodLiteral<"upload_reference">;
275
+ referenceId: z.ZodString;
271
276
  }, z.core.$strip>]>;
272
277
  }, z.core.$strip>>>;
273
278
  requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -787,10 +792,15 @@ declare let slatesActionResponsesByMethod: {
787
792
  content: z.ZodUnion<readonly [z.ZodObject<{
788
793
  type: z.ZodLiteral<"url">;
789
794
  url: z.ZodString;
795
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
796
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
790
797
  }, z.core.$strip>, z.ZodObject<{
791
798
  type: z.ZodLiteral<"content">;
792
799
  encoding: z.ZodUnion<readonly [z.ZodLiteral<"base64">, z.ZodLiteral<"utf-8">]>;
793
800
  content: z.ZodString;
801
+ }, z.core.$strip>, z.ZodObject<{
802
+ type: z.ZodLiteral<"upload_reference">;
803
+ referenceId: z.ZodString;
794
804
  }, z.core.$strip>]>;
795
805
  }, z.core.$strip>>>;
796
806
  requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1233,7 +1243,6 @@ declare let slatesMessageAuthMethodsListResponse: z.ZodObject<{
1233
1243
  id: z.ZodString;
1234
1244
  title: z.ZodString;
1235
1245
  description: z.ZodOptional<z.ZodString>;
1236
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
1237
1246
  }, z.core.$strip>>>;
1238
1247
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1239
1248
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -1284,7 +1293,6 @@ declare let slatesMessageAuthMethodGetResponse: z.ZodObject<{
1284
1293
  id: z.ZodString;
1285
1294
  title: z.ZodString;
1286
1295
  description: z.ZodOptional<z.ZodString>;
1287
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
1288
1296
  }, z.core.$strip>>>;
1289
1297
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1290
1298
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -1695,7 +1703,6 @@ declare let slatesAuthResponsesByMethod: {
1695
1703
  id: z.ZodString;
1696
1704
  title: z.ZodString;
1697
1705
  description: z.ZodOptional<z.ZodString>;
1698
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
1699
1706
  }, z.core.$strip>>>;
1700
1707
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1701
1708
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -1733,7 +1740,6 @@ declare let slatesAuthResponsesByMethod: {
1733
1740
  id: z.ZodString;
1734
1741
  title: z.ZodString;
1735
1742
  description: z.ZodOptional<z.ZodString>;
1736
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
1737
1743
  }, z.core.$strip>>>;
1738
1744
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1739
1745
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -2444,6 +2450,100 @@ declare let slatesControlFlowNotificationsByMethod: {
2444
2450
  }, z.core.$strip>;
2445
2451
  };
2446
2452
 
2453
+ declare let slatesMessageHubCapabilitiesSetNotification: z.ZodObject<{
2454
+ jsonrpc: z.ZodLiteral<"2.0">;
2455
+ method: z.ZodLiteral<"slates/hub.capabilities.set">;
2456
+ params: z.ZodObject<{
2457
+ capabilities: z.ZodObject<{
2458
+ attachments: z.ZodOptional<z.ZodObject<{
2459
+ directUpload: z.ZodObject<{
2460
+ enabled: z.ZodBoolean;
2461
+ maxAttachmentSizeBytes: z.ZodOptional<z.ZodNumber>;
2462
+ }, z.core.$strip>;
2463
+ }, z.core.$strip>>;
2464
+ }, z.core.$strip>;
2465
+ }, z.core.$strip>;
2466
+ }, z.core.$strip>;
2467
+ type SlatesMessageHubCapabilitiesSetNotification = z.infer<typeof slatesMessageHubCapabilitiesSetNotification>;
2468
+ declare let slatesMessageHubLiveInvocationSetNotification: z.ZodObject<{
2469
+ jsonrpc: z.ZodLiteral<"2.0">;
2470
+ method: z.ZodLiteral<"slates/hub.live_invocation.set">;
2471
+ params: z.ZodObject<{
2472
+ token: z.ZodString;
2473
+ baseUrl: z.ZodString;
2474
+ }, z.core.$strip>;
2475
+ }, z.core.$strip>;
2476
+ type SlatesMessageHubLiveInvocationSetNotification = z.infer<typeof slatesMessageHubLiveInvocationSetNotification>;
2477
+ type SlatesHubNotifications = SlatesMessageHubCapabilitiesSetNotification | SlatesMessageHubLiveInvocationSetNotification;
2478
+ declare let slatesHubNotificationsByMethod: {
2479
+ 'slates/hub.capabilities.set': z.ZodObject<{
2480
+ jsonrpc: z.ZodLiteral<"2.0">;
2481
+ method: z.ZodLiteral<"slates/hub.capabilities.set">;
2482
+ params: z.ZodObject<{
2483
+ capabilities: z.ZodObject<{
2484
+ attachments: z.ZodOptional<z.ZodObject<{
2485
+ directUpload: z.ZodObject<{
2486
+ enabled: z.ZodBoolean;
2487
+ maxAttachmentSizeBytes: z.ZodOptional<z.ZodNumber>;
2488
+ }, z.core.$strip>;
2489
+ }, z.core.$strip>>;
2490
+ }, z.core.$strip>;
2491
+ }, z.core.$strip>;
2492
+ }, z.core.$strip>;
2493
+ 'slates/hub.live_invocation.set': z.ZodObject<{
2494
+ jsonrpc: z.ZodLiteral<"2.0">;
2495
+ method: z.ZodLiteral<"slates/hub.live_invocation.set">;
2496
+ params: z.ZodObject<{
2497
+ token: z.ZodString;
2498
+ baseUrl: z.ZodString;
2499
+ }, z.core.$strip>;
2500
+ }, z.core.$strip>;
2501
+ };
2502
+ declare let slatesMessageProviderCapabilitiesGetRequest: z.ZodObject<{
2503
+ jsonrpc: z.ZodLiteral<"2.0">;
2504
+ method: z.ZodLiteral<"slates/provider.capabilities.get">;
2505
+ id: z.ZodString;
2506
+ params: z.ZodObject<{}, z.core.$strip>;
2507
+ }, z.core.$strip>;
2508
+ type SlatesMessageProviderCapabilitiesGetRequest = z.infer<typeof slatesMessageProviderCapabilitiesGetRequest>;
2509
+ declare let slatesMessageProviderCapabilitiesGetResponse: z.ZodObject<{
2510
+ jsonrpc: z.ZodLiteral<"2.0">;
2511
+ id: z.ZodString;
2512
+ result: z.ZodObject<{
2513
+ capabilities: z.ZodObject<{
2514
+ hub: z.ZodOptional<z.ZodObject<{
2515
+ capabilitiesNotification: z.ZodOptional<z.ZodBoolean>;
2516
+ liveInvocation: z.ZodOptional<z.ZodBoolean>;
2517
+ }, z.core.$strip>>;
2518
+ }, z.core.$strip>;
2519
+ }, z.core.$strip>;
2520
+ }, z.core.$strip>;
2521
+ type SlatesMessageProviderCapabilitiesGetResponse = z.infer<typeof slatesMessageProviderCapabilitiesGetResponse>;
2522
+ type SlatesHubRequests = SlatesMessageProviderCapabilitiesGetRequest;
2523
+ type SlatesHubResponses = SlatesMessageProviderCapabilitiesGetResponse;
2524
+ declare let slatesHubRequestsByMethod: {
2525
+ 'slates/provider.capabilities.get': z.ZodObject<{
2526
+ jsonrpc: z.ZodLiteral<"2.0">;
2527
+ method: z.ZodLiteral<"slates/provider.capabilities.get">;
2528
+ id: z.ZodString;
2529
+ params: z.ZodObject<{}, z.core.$strip>;
2530
+ }, z.core.$strip>;
2531
+ };
2532
+ declare let slatesHubResponsesByMethod: {
2533
+ 'slates/provider.capabilities.get': z.ZodObject<{
2534
+ jsonrpc: z.ZodLiteral<"2.0">;
2535
+ id: z.ZodString;
2536
+ result: z.ZodObject<{
2537
+ capabilities: z.ZodObject<{
2538
+ hub: z.ZodOptional<z.ZodObject<{
2539
+ capabilitiesNotification: z.ZodOptional<z.ZodBoolean>;
2540
+ liveInvocation: z.ZodOptional<z.ZodBoolean>;
2541
+ }, z.core.$strip>>;
2542
+ }, z.core.$strip>;
2543
+ }, z.core.$strip>;
2544
+ }, z.core.$strip>;
2545
+ };
2546
+
2447
2547
  declare let slatesMessageProviderIdentifyRequest: z.ZodObject<{
2448
2548
  jsonrpc: z.ZodLiteral<"2.0">;
2449
2549
  method: z.ZodLiteral<"slates/provider.identify">;
@@ -2594,9 +2694,9 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
2594
2694
  }, z.core.$strip>>>;
2595
2695
  })[P]; } : never, z.core.$strip>;
2596
2696
 
2597
- type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications;
2598
- type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
2599
- type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
2697
+ type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications | SlatesHubNotifications;
2698
+ type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesHubRequests | SlatesIdentifyRequests;
2699
+ type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesHubResponses | SlatesIdentifyResponses;
2600
2700
  declare let slatesResponsesByMethod: {
2601
2701
  'slates/provider.identify': z$1.ZodObject<{
2602
2702
  jsonrpc: z$1.ZodLiteral<"2.0">;
@@ -2616,6 +2716,18 @@ declare let slatesResponsesByMethod: {
2616
2716
  }, z$1.core.$strip>>;
2617
2717
  }, z$1.core.$strip>;
2618
2718
  }, z$1.core.$strip>;
2719
+ 'slates/provider.capabilities.get': z$1.ZodObject<{
2720
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2721
+ id: z$1.ZodString;
2722
+ result: z$1.ZodObject<{
2723
+ capabilities: z$1.ZodObject<{
2724
+ hub: z$1.ZodOptional<z$1.ZodObject<{
2725
+ capabilitiesNotification: z$1.ZodOptional<z$1.ZodBoolean>;
2726
+ liveInvocation: z$1.ZodOptional<z$1.ZodBoolean>;
2727
+ }, z$1.core.$strip>>;
2728
+ }, z$1.core.$strip>;
2729
+ }, z$1.core.$strip>;
2730
+ }, z$1.core.$strip>;
2619
2731
  'slates/config.schema.get': z$1.ZodObject<{
2620
2732
  jsonrpc: z$1.ZodLiteral<"2.0">;
2621
2733
  id: z$1.ZodString;
@@ -2716,7 +2828,6 @@ declare let slatesResponsesByMethod: {
2716
2828
  id: z$1.ZodString;
2717
2829
  title: z$1.ZodString;
2718
2830
  description: z$1.ZodOptional<z$1.ZodString>;
2719
- defaultChecked: z$1.ZodOptional<z$1.ZodBoolean>;
2720
2831
  }, z$1.core.$strip>>>;
2721
2832
  inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2722
2833
  outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
@@ -2754,7 +2865,6 @@ declare let slatesResponsesByMethod: {
2754
2865
  id: z$1.ZodString;
2755
2866
  title: z$1.ZodString;
2756
2867
  description: z$1.ZodOptional<z$1.ZodString>;
2757
- defaultChecked: z$1.ZodOptional<z$1.ZodBoolean>;
2758
2868
  }, z$1.core.$strip>>>;
2759
2869
  inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2760
2870
  outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
@@ -3275,10 +3385,15 @@ declare let slatesResponsesByMethod: {
3275
3385
  content: z$1.ZodUnion<readonly [z$1.ZodObject<{
3276
3386
  type: z$1.ZodLiteral<"url">;
3277
3387
  url: z$1.ZodString;
3388
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
3389
+ query: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
3278
3390
  }, z$1.core.$strip>, z$1.ZodObject<{
3279
3391
  type: z$1.ZodLiteral<"content">;
3280
3392
  encoding: z$1.ZodUnion<readonly [z$1.ZodLiteral<"base64">, z$1.ZodLiteral<"utf-8">]>;
3281
3393
  content: z$1.ZodString;
3394
+ }, z$1.core.$strip>, z$1.ZodObject<{
3395
+ type: z$1.ZodLiteral<"upload_reference">;
3396
+ referenceId: z$1.ZodString;
3282
3397
  }, z$1.core.$strip>]>;
3283
3398
  }, z$1.core.$strip>>>;
3284
3399
  requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
@@ -3506,6 +3621,12 @@ declare let slatesRequestsByMethod: {
3506
3621
  id: z$1.ZodString;
3507
3622
  params: z$1.ZodObject<{}, z$1.core.$strip>;
3508
3623
  }, z$1.core.$strip>;
3624
+ 'slates/provider.capabilities.get': z$1.ZodObject<{
3625
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3626
+ method: z$1.ZodLiteral<"slates/provider.capabilities.get">;
3627
+ id: z$1.ZodString;
3628
+ params: z$1.ZodObject<{}, z$1.core.$strip>;
3629
+ }, z$1.core.$strip>;
3509
3630
  'slates/config.schema.get': z$1.ZodObject<{
3510
3631
  jsonrpc: z$1.ZodLiteral<"2.0">;
3511
3632
  method: z$1.ZodLiteral<"slates/config.schema.get">;
@@ -3721,6 +3842,28 @@ declare let slatesRequestsByMethod: {
3721
3842
  }, z$1.core.$strip>;
3722
3843
  };
3723
3844
  declare let slatesNotificationsByMethod: {
3845
+ 'slates/hub.capabilities.set': z$1.ZodObject<{
3846
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3847
+ method: z$1.ZodLiteral<"slates/hub.capabilities.set">;
3848
+ params: z$1.ZodObject<{
3849
+ capabilities: z$1.ZodObject<{
3850
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
3851
+ directUpload: z$1.ZodObject<{
3852
+ enabled: z$1.ZodBoolean;
3853
+ maxAttachmentSizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
3854
+ }, z$1.core.$strip>;
3855
+ }, z$1.core.$strip>>;
3856
+ }, z$1.core.$strip>;
3857
+ }, z$1.core.$strip>;
3858
+ }, z$1.core.$strip>;
3859
+ 'slates/hub.live_invocation.set': z$1.ZodObject<{
3860
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3861
+ method: z$1.ZodLiteral<"slates/hub.live_invocation.set">;
3862
+ params: z$1.ZodObject<{
3863
+ token: z$1.ZodString;
3864
+ baseUrl: z$1.ZodString;
3865
+ }, z$1.core.$strip>;
3866
+ }, z$1.core.$strip>;
3724
3867
  'slates/hello': z$1.ZodObject<{
3725
3868
  jsonrpc: z$1.ZodLiteral<"2.0">;
3726
3869
  method: z$1.ZodLiteral<"slates/hello">;
@@ -4130,7 +4273,6 @@ declare let slatesAuthenticationMethod: z.ZodObject<{
4130
4273
  id: z.ZodString;
4131
4274
  title: z.ZodString;
4132
4275
  description: z.ZodOptional<z.ZodString>;
4133
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
4134
4276
  }, z.core.$strip>>>;
4135
4277
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
4136
4278
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -4168,4 +4310,4 @@ type SlatesParticipant = z.infer<typeof slatesParticipant>;
4168
4310
  declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
4169
4311
  type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
4170
4312
 
4171
- export { SLATES_PROTOCOL_VERSION, type SlateAdapter, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAdapterRequests, type SlatesAdapterResponses, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAdapterGetRequest, type SlatesMessageAdapterGetResponse, type SlatesMessageAdaptersListRequest, type SlatesMessageAdaptersListResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesWebhookHttp, type SlatesWebhookHttpResponse, type SlatesWebhookRequestMatcher, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesWebhookHttp, slatesWebhookHttpResponse, slatesWebhookRequestMatcher, withRequestTraces };
4313
+ export { SLATES_PROTOCOL_VERSION, type SlateAdapter, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAdapterRequests, type SlatesAdapterResponses, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesHubNotifications, type SlatesHubRequests, type SlatesHubResponses, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAdapterGetRequest, type SlatesMessageAdapterGetResponse, type SlatesMessageAdaptersListRequest, type SlatesMessageAdaptersListResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageHubCapabilitiesSetNotification, type SlatesMessageHubLiveInvocationSetNotification, type SlatesMessageProviderCapabilitiesGetRequest, type SlatesMessageProviderCapabilitiesGetResponse, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesWebhookHttp, type SlatesWebhookHttpResponse, type SlatesWebhookRequestMatcher, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesHubNotificationsByMethod, slatesHubRequestsByMethod, slatesHubResponsesByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageHubCapabilitiesSetNotification, slatesMessageHubLiveInvocationSetNotification, slatesMessageProviderCapabilitiesGetRequest, slatesMessageProviderCapabilitiesGetResponse, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesWebhookHttp, slatesWebhookHttpResponse, slatesWebhookRequestMatcher, withRequestTraces };
package/dist/index.d.ts CHANGED
@@ -264,10 +264,15 @@ declare let slatesMessageActionInvokeResponse: z.ZodObject<{
264
264
  content: z.ZodUnion<readonly [z.ZodObject<{
265
265
  type: z.ZodLiteral<"url">;
266
266
  url: z.ZodString;
267
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
268
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
267
269
  }, z.core.$strip>, z.ZodObject<{
268
270
  type: z.ZodLiteral<"content">;
269
271
  encoding: z.ZodUnion<readonly [z.ZodLiteral<"base64">, z.ZodLiteral<"utf-8">]>;
270
272
  content: z.ZodString;
273
+ }, z.core.$strip>, z.ZodObject<{
274
+ type: z.ZodLiteral<"upload_reference">;
275
+ referenceId: z.ZodString;
271
276
  }, z.core.$strip>]>;
272
277
  }, z.core.$strip>>>;
273
278
  requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -787,10 +792,15 @@ declare let slatesActionResponsesByMethod: {
787
792
  content: z.ZodUnion<readonly [z.ZodObject<{
788
793
  type: z.ZodLiteral<"url">;
789
794
  url: z.ZodString;
795
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
796
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
790
797
  }, z.core.$strip>, z.ZodObject<{
791
798
  type: z.ZodLiteral<"content">;
792
799
  encoding: z.ZodUnion<readonly [z.ZodLiteral<"base64">, z.ZodLiteral<"utf-8">]>;
793
800
  content: z.ZodString;
801
+ }, z.core.$strip>, z.ZodObject<{
802
+ type: z.ZodLiteral<"upload_reference">;
803
+ referenceId: z.ZodString;
794
804
  }, z.core.$strip>]>;
795
805
  }, z.core.$strip>>>;
796
806
  requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1233,7 +1243,6 @@ declare let slatesMessageAuthMethodsListResponse: z.ZodObject<{
1233
1243
  id: z.ZodString;
1234
1244
  title: z.ZodString;
1235
1245
  description: z.ZodOptional<z.ZodString>;
1236
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
1237
1246
  }, z.core.$strip>>>;
1238
1247
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1239
1248
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -1284,7 +1293,6 @@ declare let slatesMessageAuthMethodGetResponse: z.ZodObject<{
1284
1293
  id: z.ZodString;
1285
1294
  title: z.ZodString;
1286
1295
  description: z.ZodOptional<z.ZodString>;
1287
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
1288
1296
  }, z.core.$strip>>>;
1289
1297
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1290
1298
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -1695,7 +1703,6 @@ declare let slatesAuthResponsesByMethod: {
1695
1703
  id: z.ZodString;
1696
1704
  title: z.ZodString;
1697
1705
  description: z.ZodOptional<z.ZodString>;
1698
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
1699
1706
  }, z.core.$strip>>>;
1700
1707
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1701
1708
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -1733,7 +1740,6 @@ declare let slatesAuthResponsesByMethod: {
1733
1740
  id: z.ZodString;
1734
1741
  title: z.ZodString;
1735
1742
  description: z.ZodOptional<z.ZodString>;
1736
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
1737
1743
  }, z.core.$strip>>>;
1738
1744
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1739
1745
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -2444,6 +2450,100 @@ declare let slatesControlFlowNotificationsByMethod: {
2444
2450
  }, z.core.$strip>;
2445
2451
  };
2446
2452
 
2453
+ declare let slatesMessageHubCapabilitiesSetNotification: z.ZodObject<{
2454
+ jsonrpc: z.ZodLiteral<"2.0">;
2455
+ method: z.ZodLiteral<"slates/hub.capabilities.set">;
2456
+ params: z.ZodObject<{
2457
+ capabilities: z.ZodObject<{
2458
+ attachments: z.ZodOptional<z.ZodObject<{
2459
+ directUpload: z.ZodObject<{
2460
+ enabled: z.ZodBoolean;
2461
+ maxAttachmentSizeBytes: z.ZodOptional<z.ZodNumber>;
2462
+ }, z.core.$strip>;
2463
+ }, z.core.$strip>>;
2464
+ }, z.core.$strip>;
2465
+ }, z.core.$strip>;
2466
+ }, z.core.$strip>;
2467
+ type SlatesMessageHubCapabilitiesSetNotification = z.infer<typeof slatesMessageHubCapabilitiesSetNotification>;
2468
+ declare let slatesMessageHubLiveInvocationSetNotification: z.ZodObject<{
2469
+ jsonrpc: z.ZodLiteral<"2.0">;
2470
+ method: z.ZodLiteral<"slates/hub.live_invocation.set">;
2471
+ params: z.ZodObject<{
2472
+ token: z.ZodString;
2473
+ baseUrl: z.ZodString;
2474
+ }, z.core.$strip>;
2475
+ }, z.core.$strip>;
2476
+ type SlatesMessageHubLiveInvocationSetNotification = z.infer<typeof slatesMessageHubLiveInvocationSetNotification>;
2477
+ type SlatesHubNotifications = SlatesMessageHubCapabilitiesSetNotification | SlatesMessageHubLiveInvocationSetNotification;
2478
+ declare let slatesHubNotificationsByMethod: {
2479
+ 'slates/hub.capabilities.set': z.ZodObject<{
2480
+ jsonrpc: z.ZodLiteral<"2.0">;
2481
+ method: z.ZodLiteral<"slates/hub.capabilities.set">;
2482
+ params: z.ZodObject<{
2483
+ capabilities: z.ZodObject<{
2484
+ attachments: z.ZodOptional<z.ZodObject<{
2485
+ directUpload: z.ZodObject<{
2486
+ enabled: z.ZodBoolean;
2487
+ maxAttachmentSizeBytes: z.ZodOptional<z.ZodNumber>;
2488
+ }, z.core.$strip>;
2489
+ }, z.core.$strip>>;
2490
+ }, z.core.$strip>;
2491
+ }, z.core.$strip>;
2492
+ }, z.core.$strip>;
2493
+ 'slates/hub.live_invocation.set': z.ZodObject<{
2494
+ jsonrpc: z.ZodLiteral<"2.0">;
2495
+ method: z.ZodLiteral<"slates/hub.live_invocation.set">;
2496
+ params: z.ZodObject<{
2497
+ token: z.ZodString;
2498
+ baseUrl: z.ZodString;
2499
+ }, z.core.$strip>;
2500
+ }, z.core.$strip>;
2501
+ };
2502
+ declare let slatesMessageProviderCapabilitiesGetRequest: z.ZodObject<{
2503
+ jsonrpc: z.ZodLiteral<"2.0">;
2504
+ method: z.ZodLiteral<"slates/provider.capabilities.get">;
2505
+ id: z.ZodString;
2506
+ params: z.ZodObject<{}, z.core.$strip>;
2507
+ }, z.core.$strip>;
2508
+ type SlatesMessageProviderCapabilitiesGetRequest = z.infer<typeof slatesMessageProviderCapabilitiesGetRequest>;
2509
+ declare let slatesMessageProviderCapabilitiesGetResponse: z.ZodObject<{
2510
+ jsonrpc: z.ZodLiteral<"2.0">;
2511
+ id: z.ZodString;
2512
+ result: z.ZodObject<{
2513
+ capabilities: z.ZodObject<{
2514
+ hub: z.ZodOptional<z.ZodObject<{
2515
+ capabilitiesNotification: z.ZodOptional<z.ZodBoolean>;
2516
+ liveInvocation: z.ZodOptional<z.ZodBoolean>;
2517
+ }, z.core.$strip>>;
2518
+ }, z.core.$strip>;
2519
+ }, z.core.$strip>;
2520
+ }, z.core.$strip>;
2521
+ type SlatesMessageProviderCapabilitiesGetResponse = z.infer<typeof slatesMessageProviderCapabilitiesGetResponse>;
2522
+ type SlatesHubRequests = SlatesMessageProviderCapabilitiesGetRequest;
2523
+ type SlatesHubResponses = SlatesMessageProviderCapabilitiesGetResponse;
2524
+ declare let slatesHubRequestsByMethod: {
2525
+ 'slates/provider.capabilities.get': z.ZodObject<{
2526
+ jsonrpc: z.ZodLiteral<"2.0">;
2527
+ method: z.ZodLiteral<"slates/provider.capabilities.get">;
2528
+ id: z.ZodString;
2529
+ params: z.ZodObject<{}, z.core.$strip>;
2530
+ }, z.core.$strip>;
2531
+ };
2532
+ declare let slatesHubResponsesByMethod: {
2533
+ 'slates/provider.capabilities.get': z.ZodObject<{
2534
+ jsonrpc: z.ZodLiteral<"2.0">;
2535
+ id: z.ZodString;
2536
+ result: z.ZodObject<{
2537
+ capabilities: z.ZodObject<{
2538
+ hub: z.ZodOptional<z.ZodObject<{
2539
+ capabilitiesNotification: z.ZodOptional<z.ZodBoolean>;
2540
+ liveInvocation: z.ZodOptional<z.ZodBoolean>;
2541
+ }, z.core.$strip>>;
2542
+ }, z.core.$strip>;
2543
+ }, z.core.$strip>;
2544
+ }, z.core.$strip>;
2545
+ };
2546
+
2447
2547
  declare let slatesMessageProviderIdentifyRequest: z.ZodObject<{
2448
2548
  jsonrpc: z.ZodLiteral<"2.0">;
2449
2549
  method: z.ZodLiteral<"slates/provider.identify">;
@@ -2594,9 +2694,9 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
2594
2694
  }, z.core.$strip>>>;
2595
2695
  })[P]; } : never, z.core.$strip>;
2596
2696
 
2597
- type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications;
2598
- type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
2599
- type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
2697
+ type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications | SlatesHubNotifications;
2698
+ type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesHubRequests | SlatesIdentifyRequests;
2699
+ type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesHubResponses | SlatesIdentifyResponses;
2600
2700
  declare let slatesResponsesByMethod: {
2601
2701
  'slates/provider.identify': z$1.ZodObject<{
2602
2702
  jsonrpc: z$1.ZodLiteral<"2.0">;
@@ -2616,6 +2716,18 @@ declare let slatesResponsesByMethod: {
2616
2716
  }, z$1.core.$strip>>;
2617
2717
  }, z$1.core.$strip>;
2618
2718
  }, z$1.core.$strip>;
2719
+ 'slates/provider.capabilities.get': z$1.ZodObject<{
2720
+ jsonrpc: z$1.ZodLiteral<"2.0">;
2721
+ id: z$1.ZodString;
2722
+ result: z$1.ZodObject<{
2723
+ capabilities: z$1.ZodObject<{
2724
+ hub: z$1.ZodOptional<z$1.ZodObject<{
2725
+ capabilitiesNotification: z$1.ZodOptional<z$1.ZodBoolean>;
2726
+ liveInvocation: z$1.ZodOptional<z$1.ZodBoolean>;
2727
+ }, z$1.core.$strip>>;
2728
+ }, z$1.core.$strip>;
2729
+ }, z$1.core.$strip>;
2730
+ }, z$1.core.$strip>;
2619
2731
  'slates/config.schema.get': z$1.ZodObject<{
2620
2732
  jsonrpc: z$1.ZodLiteral<"2.0">;
2621
2733
  id: z$1.ZodString;
@@ -2716,7 +2828,6 @@ declare let slatesResponsesByMethod: {
2716
2828
  id: z$1.ZodString;
2717
2829
  title: z$1.ZodString;
2718
2830
  description: z$1.ZodOptional<z$1.ZodString>;
2719
- defaultChecked: z$1.ZodOptional<z$1.ZodBoolean>;
2720
2831
  }, z$1.core.$strip>>>;
2721
2832
  inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2722
2833
  outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
@@ -2754,7 +2865,6 @@ declare let slatesResponsesByMethod: {
2754
2865
  id: z$1.ZodString;
2755
2866
  title: z$1.ZodString;
2756
2867
  description: z$1.ZodOptional<z$1.ZodString>;
2757
- defaultChecked: z$1.ZodOptional<z$1.ZodBoolean>;
2758
2868
  }, z$1.core.$strip>>>;
2759
2869
  inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2760
2870
  outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
@@ -3275,10 +3385,15 @@ declare let slatesResponsesByMethod: {
3275
3385
  content: z$1.ZodUnion<readonly [z$1.ZodObject<{
3276
3386
  type: z$1.ZodLiteral<"url">;
3277
3387
  url: z$1.ZodString;
3388
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
3389
+ query: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
3278
3390
  }, z$1.core.$strip>, z$1.ZodObject<{
3279
3391
  type: z$1.ZodLiteral<"content">;
3280
3392
  encoding: z$1.ZodUnion<readonly [z$1.ZodLiteral<"base64">, z$1.ZodLiteral<"utf-8">]>;
3281
3393
  content: z$1.ZodString;
3394
+ }, z$1.core.$strip>, z$1.ZodObject<{
3395
+ type: z$1.ZodLiteral<"upload_reference">;
3396
+ referenceId: z$1.ZodString;
3282
3397
  }, z$1.core.$strip>]>;
3283
3398
  }, z$1.core.$strip>>>;
3284
3399
  requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
@@ -3506,6 +3621,12 @@ declare let slatesRequestsByMethod: {
3506
3621
  id: z$1.ZodString;
3507
3622
  params: z$1.ZodObject<{}, z$1.core.$strip>;
3508
3623
  }, z$1.core.$strip>;
3624
+ 'slates/provider.capabilities.get': z$1.ZodObject<{
3625
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3626
+ method: z$1.ZodLiteral<"slates/provider.capabilities.get">;
3627
+ id: z$1.ZodString;
3628
+ params: z$1.ZodObject<{}, z$1.core.$strip>;
3629
+ }, z$1.core.$strip>;
3509
3630
  'slates/config.schema.get': z$1.ZodObject<{
3510
3631
  jsonrpc: z$1.ZodLiteral<"2.0">;
3511
3632
  method: z$1.ZodLiteral<"slates/config.schema.get">;
@@ -3721,6 +3842,28 @@ declare let slatesRequestsByMethod: {
3721
3842
  }, z$1.core.$strip>;
3722
3843
  };
3723
3844
  declare let slatesNotificationsByMethod: {
3845
+ 'slates/hub.capabilities.set': z$1.ZodObject<{
3846
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3847
+ method: z$1.ZodLiteral<"slates/hub.capabilities.set">;
3848
+ params: z$1.ZodObject<{
3849
+ capabilities: z$1.ZodObject<{
3850
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
3851
+ directUpload: z$1.ZodObject<{
3852
+ enabled: z$1.ZodBoolean;
3853
+ maxAttachmentSizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
3854
+ }, z$1.core.$strip>;
3855
+ }, z$1.core.$strip>>;
3856
+ }, z$1.core.$strip>;
3857
+ }, z$1.core.$strip>;
3858
+ }, z$1.core.$strip>;
3859
+ 'slates/hub.live_invocation.set': z$1.ZodObject<{
3860
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3861
+ method: z$1.ZodLiteral<"slates/hub.live_invocation.set">;
3862
+ params: z$1.ZodObject<{
3863
+ token: z$1.ZodString;
3864
+ baseUrl: z$1.ZodString;
3865
+ }, z$1.core.$strip>;
3866
+ }, z$1.core.$strip>;
3724
3867
  'slates/hello': z$1.ZodObject<{
3725
3868
  jsonrpc: z$1.ZodLiteral<"2.0">;
3726
3869
  method: z$1.ZodLiteral<"slates/hello">;
@@ -4130,7 +4273,6 @@ declare let slatesAuthenticationMethod: z.ZodObject<{
4130
4273
  id: z.ZodString;
4131
4274
  title: z.ZodString;
4132
4275
  description: z.ZodOptional<z.ZodString>;
4133
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
4134
4276
  }, z.core.$strip>>>;
4135
4277
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
4136
4278
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -4168,4 +4310,4 @@ type SlatesParticipant = z.infer<typeof slatesParticipant>;
4168
4310
  declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
4169
4311
  type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
4170
4312
 
4171
- export { SLATES_PROTOCOL_VERSION, type SlateAdapter, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAdapterRequests, type SlatesAdapterResponses, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAdapterGetRequest, type SlatesMessageAdapterGetResponse, type SlatesMessageAdaptersListRequest, type SlatesMessageAdaptersListResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesWebhookHttp, type SlatesWebhookHttpResponse, type SlatesWebhookRequestMatcher, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesWebhookHttp, slatesWebhookHttpResponse, slatesWebhookRequestMatcher, withRequestTraces };
4313
+ export { SLATES_PROTOCOL_VERSION, type SlateAdapter, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAdapterRequests, type SlatesAdapterResponses, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesHubNotifications, type SlatesHubRequests, type SlatesHubResponses, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAdapterGetRequest, type SlatesMessageAdapterGetResponse, type SlatesMessageAdaptersListRequest, type SlatesMessageAdaptersListResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageHubCapabilitiesSetNotification, type SlatesMessageHubLiveInvocationSetNotification, type SlatesMessageProviderCapabilitiesGetRequest, type SlatesMessageProviderCapabilitiesGetResponse, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesWebhookHttp, type SlatesWebhookHttpResponse, type SlatesWebhookRequestMatcher, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesHubNotificationsByMethod, slatesHubRequestsByMethod, slatesHubResponsesByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageHubCapabilitiesSetNotification, slatesMessageHubLiveInvocationSetNotification, slatesMessageProviderCapabilitiesGetRequest, slatesMessageProviderCapabilitiesGetResponse, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesWebhookHttp, slatesWebhookHttpResponse, slatesWebhookRequestMatcher, withRequestTraces };
@@ -113,8 +113,7 @@ var slatesAuthenticationMethod = z3.object({
113
113
  z3.object({
114
114
  id: z3.string(),
115
115
  title: z3.string(),
116
- description: z3.string().optional(),
117
- defaultChecked: z3.boolean().optional()
116
+ description: z3.string().optional()
118
117
  })
119
118
  ).optional(),
120
119
  inputSchema: z3.record(z3.string(), z3.any()),
@@ -243,12 +242,18 @@ var slatesMessageActionInvokeResponse = z6.object({
243
242
  content: z6.union([
244
243
  z6.object({
245
244
  type: z6.literal("url"),
246
- url: z6.string()
245
+ url: z6.string(),
246
+ headers: z6.record(z6.string(), z6.string()).optional(),
247
+ query: z6.record(z6.string(), z6.string()).optional()
247
248
  }),
248
249
  z6.object({
249
250
  type: z6.literal("content"),
250
251
  encoding: z6.union([z6.literal("base64"), z6.literal("utf-8")]),
251
252
  content: z6.string()
253
+ }),
254
+ z6.object({
255
+ type: z6.literal("upload_reference"),
256
+ referenceId: z6.string()
252
257
  })
253
258
  ])
254
259
  })
@@ -727,30 +732,85 @@ var slatesControlFlowNotificationsByMethod = {
727
732
  "slates/session.start": slatesMessageSessionStartNotification
728
733
  };
729
734
 
730
- // src/messages/identify.ts
735
+ // src/messages/hub.ts
731
736
  import z11 from "zod";
732
- var slatesMessageProviderIdentifyRequest = z11.object({
737
+ var slatesMessageHubCapabilitiesSetNotification = z11.object({
738
+ jsonrpc: z11.literal("2.0"),
739
+ method: z11.literal("slates/hub.capabilities.set"),
740
+ params: z11.object({
741
+ capabilities: z11.object({
742
+ attachments: z11.object({
743
+ directUpload: z11.object({
744
+ enabled: z11.boolean(),
745
+ maxAttachmentSizeBytes: z11.number().optional()
746
+ })
747
+ }).optional()
748
+ })
749
+ })
750
+ });
751
+ var slatesMessageHubLiveInvocationSetNotification = z11.object({
733
752
  jsonrpc: z11.literal("2.0"),
734
- method: z11.literal("slates/provider.identify"),
753
+ method: z11.literal("slates/hub.live_invocation.set"),
754
+ params: z11.object({
755
+ token: z11.string(),
756
+ baseUrl: z11.string()
757
+ })
758
+ });
759
+ var slatesHubNotificationsByMethod = {
760
+ "slates/hub.capabilities.set": slatesMessageHubCapabilitiesSetNotification,
761
+ "slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification
762
+ };
763
+ var slatesMessageProviderCapabilitiesGetRequest = z11.object({
764
+ jsonrpc: z11.literal("2.0"),
765
+ method: z11.literal("slates/provider.capabilities.get"),
735
766
  id: z11.string(),
736
767
  params: z11.object({})
737
768
  });
738
- var slatesMessageProviderIdentifyResponse = z11.object({
769
+ var slatesMessageProviderCapabilitiesGetResponse = z11.object({
739
770
  jsonrpc: z11.literal("2.0"),
740
771
  id: z11.string(),
741
772
  result: z11.object({
742
- protocol: z11.literal(SLATES_PROTOCOL_VERSION),
743
- provider: z11.object({
744
- type: z11.literal("provider"),
745
- id: z11.string(),
746
- name: z11.string(),
747
- description: z11.string().optional(),
748
- metadata: z11.record(z11.string(), z11.any()).optional()
773
+ capabilities: z11.object({
774
+ hub: z11.object({
775
+ // Understands slates/hub.capabilities.set
776
+ capabilitiesNotification: z11.boolean().optional(),
777
+ // Understands slates/hub.live_invocation.set
778
+ liveInvocation: z11.boolean().optional()
779
+ }).optional()
780
+ })
781
+ })
782
+ });
783
+ var slatesHubRequestsByMethod = {
784
+ "slates/provider.capabilities.get": slatesMessageProviderCapabilitiesGetRequest
785
+ };
786
+ var slatesHubResponsesByMethod = {
787
+ "slates/provider.capabilities.get": slatesMessageProviderCapabilitiesGetResponse
788
+ };
789
+
790
+ // src/messages/identify.ts
791
+ import z12 from "zod";
792
+ var slatesMessageProviderIdentifyRequest = z12.object({
793
+ jsonrpc: z12.literal("2.0"),
794
+ method: z12.literal("slates/provider.identify"),
795
+ id: z12.string(),
796
+ params: z12.object({})
797
+ });
798
+ var slatesMessageProviderIdentifyResponse = z12.object({
799
+ jsonrpc: z12.literal("2.0"),
800
+ id: z12.string(),
801
+ result: z12.object({
802
+ protocol: z12.literal(SLATES_PROTOCOL_VERSION),
803
+ provider: z12.object({
804
+ type: z12.literal("provider"),
805
+ id: z12.string(),
806
+ name: z12.string(),
807
+ description: z12.string().optional(),
808
+ metadata: z12.record(z12.string(), z12.any()).optional()
749
809
  }),
750
- docs: z11.array(
751
- z11.object({
752
- name: z11.string(),
753
- url: z11.string()
810
+ docs: z12.array(
811
+ z12.object({
812
+ name: z12.string(),
813
+ url: z12.string()
754
814
  })
755
815
  )
756
816
  })
@@ -768,6 +828,7 @@ var slatesResponsesByMethod = {
768
828
  ...slatesAdapterResponsesByMethod,
769
829
  ...slatesAuthResponsesByMethod,
770
830
  ...slatesConfigResponsesByMethod,
831
+ ...slatesHubResponsesByMethod,
771
832
  ...slatesIdentifyResponsesByMethod
772
833
  };
773
834
  var slatesRequestsByMethod = {
@@ -775,12 +836,14 @@ var slatesRequestsByMethod = {
775
836
  ...slatesAdapterRequestsByMethod,
776
837
  ...slatesAuthRequestsByMethod,
777
838
  ...slatesConfigRequestsByMethod,
839
+ ...slatesHubRequestsByMethod,
778
840
  ...slatesIdentifyRequestsByMethod
779
841
  };
780
842
  var slatesNotificationsByMethod = {
781
843
  ...slatesAuthNotificationsByMethod,
782
844
  ...slatesConfigNotificationsByMethod,
783
- ...slatesControlFlowNotificationsByMethod
845
+ ...slatesControlFlowNotificationsByMethod,
846
+ ...slatesHubNotificationsByMethod
784
847
  };
785
848
 
786
849
  // src/handler/provider.ts
@@ -1062,6 +1125,9 @@ export {
1062
1125
  slatesConfigRequestsByMethod,
1063
1126
  slatesConfigResponsesByMethod,
1064
1127
  slatesControlFlowNotificationsByMethod,
1128
+ slatesHubNotificationsByMethod,
1129
+ slatesHubRequestsByMethod,
1130
+ slatesHubResponsesByMethod,
1065
1131
  slatesIdentifyRequestsByMethod,
1066
1132
  slatesIdentifyResponsesByMethod,
1067
1133
  slatesMessageActionGetRequest,
@@ -1109,6 +1175,10 @@ export {
1109
1175
  slatesMessageConfigSchemaGetRequest,
1110
1176
  slatesMessageConfigSchemaGetResponse,
1111
1177
  slatesMessageHelloNotification,
1178
+ slatesMessageHubCapabilitiesSetNotification,
1179
+ slatesMessageHubLiveInvocationSetNotification,
1180
+ slatesMessageProviderCapabilitiesGetRequest,
1181
+ slatesMessageProviderCapabilitiesGetResponse,
1112
1182
  slatesMessageProviderIdentifyRequest,
1113
1183
  slatesMessageProviderIdentifyResponse,
1114
1184
  slatesMessageSessionStartNotification,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slates/proto",
3
- "version": "1.0.0-rc.15",
3
+ "version": "1.0.0-rc.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -96,12 +96,18 @@ export let slatesMessageActionInvokeResponse = z.object({
96
96
  content: z.union([
97
97
  z.object({
98
98
  type: z.literal('url'),
99
- url: z.string()
99
+ url: z.string(),
100
+ headers: z.record(z.string(), z.string()).optional(),
101
+ query: z.record(z.string(), z.string()).optional()
100
102
  }),
101
103
  z.object({
102
104
  type: z.literal('content'),
103
105
  encoding: z.union([z.literal('base64'), z.literal('utf-8')]),
104
106
  content: z.string()
107
+ }),
108
+ z.object({
109
+ type: z.literal('upload_reference'),
110
+ referenceId: z.string()
105
111
  })
106
112
  ])
107
113
  })
@@ -0,0 +1,87 @@
1
+ import z from 'zod';
2
+
3
+ export let slatesMessageHubCapabilitiesSetNotification = z.object({
4
+ jsonrpc: z.literal('2.0'),
5
+ method: z.literal('slates/hub.capabilities.set'),
6
+ params: z.object({
7
+ capabilities: z.object({
8
+ attachments: z
9
+ .object({
10
+ directUpload: z.object({
11
+ enabled: z.boolean(),
12
+ maxAttachmentSizeBytes: z.number().optional()
13
+ })
14
+ })
15
+ .optional()
16
+ })
17
+ })
18
+ });
19
+
20
+ export type SlatesMessageHubCapabilitiesSetNotification = z.infer<
21
+ typeof slatesMessageHubCapabilitiesSetNotification
22
+ >;
23
+
24
+ export let slatesMessageHubLiveInvocationSetNotification = z.object({
25
+ jsonrpc: z.literal('2.0'),
26
+ method: z.literal('slates/hub.live_invocation.set'),
27
+ params: z.object({
28
+ token: z.string(),
29
+ baseUrl: z.string()
30
+ })
31
+ });
32
+
33
+ export type SlatesMessageHubLiveInvocationSetNotification = z.infer<
34
+ typeof slatesMessageHubLiveInvocationSetNotification
35
+ >;
36
+
37
+ export type SlatesHubNotifications =
38
+ | SlatesMessageHubCapabilitiesSetNotification
39
+ | SlatesMessageHubLiveInvocationSetNotification;
40
+
41
+ export let slatesHubNotificationsByMethod = {
42
+ 'slates/hub.capabilities.set': slatesMessageHubCapabilitiesSetNotification,
43
+ 'slates/hub.live_invocation.set': slatesMessageHubLiveInvocationSetNotification
44
+ };
45
+
46
+ export let slatesMessageProviderCapabilitiesGetRequest = z.object({
47
+ jsonrpc: z.literal('2.0'),
48
+ method: z.literal('slates/provider.capabilities.get'),
49
+ id: z.string(),
50
+ params: z.object({})
51
+ });
52
+
53
+ export type SlatesMessageProviderCapabilitiesGetRequest = z.infer<
54
+ typeof slatesMessageProviderCapabilitiesGetRequest
55
+ >;
56
+
57
+ export let slatesMessageProviderCapabilitiesGetResponse = z.object({
58
+ jsonrpc: z.literal('2.0'),
59
+ id: z.string(),
60
+ result: z.object({
61
+ capabilities: z.object({
62
+ hub: z
63
+ .object({
64
+ // Understands slates/hub.capabilities.set
65
+ capabilitiesNotification: z.boolean().optional(),
66
+ // Understands slates/hub.live_invocation.set
67
+ liveInvocation: z.boolean().optional()
68
+ })
69
+ .optional()
70
+ })
71
+ })
72
+ });
73
+
74
+ export type SlatesMessageProviderCapabilitiesGetResponse = z.infer<
75
+ typeof slatesMessageProviderCapabilitiesGetResponse
76
+ >;
77
+
78
+ export type SlatesHubRequests = SlatesMessageProviderCapabilitiesGetRequest;
79
+ export type SlatesHubResponses = SlatesMessageProviderCapabilitiesGetResponse;
80
+
81
+ export let slatesHubRequestsByMethod = {
82
+ 'slates/provider.capabilities.get': slatesMessageProviderCapabilitiesGetRequest
83
+ };
84
+
85
+ export let slatesHubResponsesByMethod = {
86
+ 'slates/provider.capabilities.get': slatesMessageProviderCapabilitiesGetResponse
87
+ };
@@ -3,6 +3,7 @@ export * from './adapter';
3
3
  export * from './auth';
4
4
  export * from './config';
5
5
  export * from './controlFlow';
6
+ export * from './hub';
6
7
  export * from './identify';
7
8
  export * from './tracing';
8
9
 
@@ -39,6 +40,14 @@ import {
39
40
  type SlatesControlFlowNotifications,
40
41
  slatesControlFlowNotificationsByMethod
41
42
  } from './controlFlow';
43
+ import {
44
+ type SlatesHubNotifications,
45
+ type SlatesHubRequests,
46
+ type SlatesHubResponses,
47
+ slatesHubNotificationsByMethod,
48
+ slatesHubRequestsByMethod,
49
+ slatesHubResponsesByMethod
50
+ } from './hub';
42
51
  import {
43
52
  type SlatesIdentifyRequests,
44
53
  type SlatesIdentifyResponses,
@@ -49,13 +58,15 @@ import {
49
58
  export type SlatesNotifications =
50
59
  | SlatesAuthNotifications
51
60
  | SlatesConfigNotifications
52
- | SlatesControlFlowNotifications;
61
+ | SlatesControlFlowNotifications
62
+ | SlatesHubNotifications;
53
63
 
54
64
  export type SlatesRequests =
55
65
  | SlatesActionRequests
56
66
  | SlatesAdapterRequests
57
67
  | SlatesAuthRequests
58
68
  | SlatesConfigRequests
69
+ | SlatesHubRequests
59
70
  | SlatesIdentifyRequests;
60
71
 
61
72
  export type SlatesResponses =
@@ -63,6 +74,7 @@ export type SlatesResponses =
63
74
  | SlatesAdapterResponses
64
75
  | SlatesAuthResponses
65
76
  | SlatesConfigResponses
77
+ | SlatesHubResponses
66
78
  | SlatesIdentifyResponses;
67
79
 
68
80
  export let slatesResponsesByMethod = {
@@ -70,6 +82,7 @@ export let slatesResponsesByMethod = {
70
82
  ...slatesAdapterResponsesByMethod,
71
83
  ...slatesAuthResponsesByMethod,
72
84
  ...slatesConfigResponsesByMethod,
85
+ ...slatesHubResponsesByMethod,
73
86
  ...slatesIdentifyResponsesByMethod
74
87
  };
75
88
 
@@ -78,13 +91,15 @@ export let slatesRequestsByMethod = {
78
91
  ...slatesAdapterRequestsByMethod,
79
92
  ...slatesAuthRequestsByMethod,
80
93
  ...slatesConfigRequestsByMethod,
94
+ ...slatesHubRequestsByMethod,
81
95
  ...slatesIdentifyRequestsByMethod
82
96
  };
83
97
 
84
98
  export let slatesNotificationsByMethod = {
85
99
  ...slatesAuthNotificationsByMethod,
86
100
  ...slatesConfigNotificationsByMethod,
87
- ...slatesControlFlowNotificationsByMethod
101
+ ...slatesControlFlowNotificationsByMethod,
102
+ ...slatesHubNotificationsByMethod
88
103
  };
89
104
 
90
105
  export type SlatesResponsesByMethod = {
@@ -16,8 +16,7 @@ export let slatesAuthenticationMethod = z.object({
16
16
  z.object({
17
17
  id: z.string(),
18
18
  title: z.string(),
19
- description: z.string().optional(),
20
- defaultChecked: z.boolean().optional()
19
+ description: z.string().optional()
21
20
  })
22
21
  )
23
22
  .optional(),