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

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,7 @@ __export(index_exports, {
52
52
  slatesConfigRequestsByMethod: () => slatesConfigRequestsByMethod,
53
53
  slatesConfigResponsesByMethod: () => slatesConfigResponsesByMethod,
54
54
  slatesControlFlowNotificationsByMethod: () => slatesControlFlowNotificationsByMethod,
55
+ slatesHubNotificationsByMethod: () => slatesHubNotificationsByMethod,
55
56
  slatesIdentifyRequestsByMethod: () => slatesIdentifyRequestsByMethod,
56
57
  slatesIdentifyResponsesByMethod: () => slatesIdentifyResponsesByMethod,
57
58
  slatesMessageActionGetRequest: () => slatesMessageActionGetRequest,
@@ -99,6 +100,8 @@ __export(index_exports, {
99
100
  slatesMessageConfigSchemaGetRequest: () => slatesMessageConfigSchemaGetRequest,
100
101
  slatesMessageConfigSchemaGetResponse: () => slatesMessageConfigSchemaGetResponse,
101
102
  slatesMessageHelloNotification: () => slatesMessageHelloNotification,
103
+ slatesMessageHubCapabilitiesSetNotification: () => slatesMessageHubCapabilitiesSetNotification,
104
+ slatesMessageHubLiveInvocationSetNotification: () => slatesMessageHubLiveInvocationSetNotification,
102
105
  slatesMessageProviderIdentifyRequest: () => slatesMessageProviderIdentifyRequest,
103
106
  slatesMessageProviderIdentifyResponse: () => slatesMessageProviderIdentifyResponse,
104
107
  slatesMessageSessionStartNotification: () => slatesMessageSessionStartNotification,
@@ -228,8 +231,7 @@ var slatesAuthenticationMethod = import_zod3.default.object({
228
231
  import_zod3.default.object({
229
232
  id: import_zod3.default.string(),
230
233
  title: import_zod3.default.string(),
231
- description: import_zod3.default.string().optional(),
232
- defaultChecked: import_zod3.default.boolean().optional()
234
+ description: import_zod3.default.string().optional()
233
235
  })
234
236
  ).optional(),
235
237
  inputSchema: import_zod3.default.record(import_zod3.default.string(), import_zod3.default.any()),
@@ -358,12 +360,18 @@ var slatesMessageActionInvokeResponse = import_zod6.default.object({
358
360
  content: import_zod6.default.union([
359
361
  import_zod6.default.object({
360
362
  type: import_zod6.default.literal("url"),
361
- url: import_zod6.default.string()
363
+ url: import_zod6.default.string(),
364
+ headers: import_zod6.default.record(import_zod6.default.string(), import_zod6.default.string()).optional(),
365
+ query: import_zod6.default.record(import_zod6.default.string(), import_zod6.default.string()).optional()
362
366
  }),
363
367
  import_zod6.default.object({
364
368
  type: import_zod6.default.literal("content"),
365
369
  encoding: import_zod6.default.union([import_zod6.default.literal("base64"), import_zod6.default.literal("utf-8")]),
366
370
  content: import_zod6.default.string()
371
+ }),
372
+ import_zod6.default.object({
373
+ type: import_zod6.default.literal("upload_reference"),
374
+ referenceId: import_zod6.default.string()
367
375
  })
368
376
  ])
369
377
  })
@@ -842,30 +850,59 @@ var slatesControlFlowNotificationsByMethod = {
842
850
  "slates/session.start": slatesMessageSessionStartNotification
843
851
  };
844
852
 
845
- // src/messages/identify.ts
853
+ // src/messages/hub.ts
846
854
  var import_zod11 = __toESM(require("zod"), 1);
847
- var slatesMessageProviderIdentifyRequest = import_zod11.default.object({
855
+ var slatesMessageHubCapabilitiesSetNotification = import_zod11.default.object({
848
856
  jsonrpc: import_zod11.default.literal("2.0"),
849
- method: import_zod11.default.literal("slates/provider.identify"),
850
- id: import_zod11.default.string(),
851
- params: import_zod11.default.object({})
857
+ method: import_zod11.default.literal("slates/hub.capabilities.set"),
858
+ params: import_zod11.default.object({
859
+ capabilities: import_zod11.default.object({
860
+ attachments: import_zod11.default.object({
861
+ directUpload: import_zod11.default.object({
862
+ enabled: import_zod11.default.boolean(),
863
+ maxAttachmentSizeBytes: import_zod11.default.number().optional()
864
+ })
865
+ }).optional()
866
+ })
867
+ })
852
868
  });
853
- var slatesMessageProviderIdentifyResponse = import_zod11.default.object({
869
+ var slatesMessageHubLiveInvocationSetNotification = import_zod11.default.object({
854
870
  jsonrpc: import_zod11.default.literal("2.0"),
855
- id: import_zod11.default.string(),
856
- 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()
871
+ method: import_zod11.default.literal("slates/hub.live_invocation.set"),
872
+ params: import_zod11.default.object({
873
+ token: import_zod11.default.string(),
874
+ baseUrl: import_zod11.default.string()
875
+ })
876
+ });
877
+ var slatesHubNotificationsByMethod = {
878
+ "slates/hub.capabilities.set": slatesMessageHubCapabilitiesSetNotification,
879
+ "slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification
880
+ };
881
+
882
+ // src/messages/identify.ts
883
+ var import_zod12 = __toESM(require("zod"), 1);
884
+ var slatesMessageProviderIdentifyRequest = import_zod12.default.object({
885
+ jsonrpc: import_zod12.default.literal("2.0"),
886
+ method: import_zod12.default.literal("slates/provider.identify"),
887
+ id: import_zod12.default.string(),
888
+ params: import_zod12.default.object({})
889
+ });
890
+ var slatesMessageProviderIdentifyResponse = import_zod12.default.object({
891
+ jsonrpc: import_zod12.default.literal("2.0"),
892
+ id: import_zod12.default.string(),
893
+ result: import_zod12.default.object({
894
+ protocol: import_zod12.default.literal(SLATES_PROTOCOL_VERSION),
895
+ provider: import_zod12.default.object({
896
+ type: import_zod12.default.literal("provider"),
897
+ id: import_zod12.default.string(),
898
+ name: import_zod12.default.string(),
899
+ description: import_zod12.default.string().optional(),
900
+ metadata: import_zod12.default.record(import_zod12.default.string(), import_zod12.default.any()).optional()
864
901
  }),
865
- docs: import_zod11.default.array(
866
- import_zod11.default.object({
867
- name: import_zod11.default.string(),
868
- url: import_zod11.default.string()
902
+ docs: import_zod12.default.array(
903
+ import_zod12.default.object({
904
+ name: import_zod12.default.string(),
905
+ url: import_zod12.default.string()
869
906
  })
870
907
  )
871
908
  })
@@ -895,7 +932,8 @@ var slatesRequestsByMethod = {
895
932
  var slatesNotificationsByMethod = {
896
933
  ...slatesAuthNotificationsByMethod,
897
934
  ...slatesConfigNotificationsByMethod,
898
- ...slatesControlFlowNotificationsByMethod
935
+ ...slatesControlFlowNotificationsByMethod,
936
+ ...slatesHubNotificationsByMethod
899
937
  };
900
938
 
901
939
  // src/handler/provider.ts
@@ -1178,6 +1216,7 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
1178
1216
  slatesConfigRequestsByMethod,
1179
1217
  slatesConfigResponsesByMethod,
1180
1218
  slatesControlFlowNotificationsByMethod,
1219
+ slatesHubNotificationsByMethod,
1181
1220
  slatesIdentifyRequestsByMethod,
1182
1221
  slatesIdentifyResponsesByMethod,
1183
1222
  slatesMessageActionGetRequest,
@@ -1225,6 +1264,8 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
1225
1264
  slatesMessageConfigSchemaGetRequest,
1226
1265
  slatesMessageConfigSchemaGetResponse,
1227
1266
  slatesMessageHelloNotification,
1267
+ slatesMessageHubCapabilitiesSetNotification,
1268
+ slatesMessageHubLiveInvocationSetNotification,
1228
1269
  slatesMessageProviderIdentifyRequest,
1229
1270
  slatesMessageProviderIdentifyResponse,
1230
1271
  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,56 @@ 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
+
2447
2503
  declare let slatesMessageProviderIdentifyRequest: z.ZodObject<{
2448
2504
  jsonrpc: z.ZodLiteral<"2.0">;
2449
2505
  method: z.ZodLiteral<"slates/provider.identify">;
@@ -2594,7 +2650,7 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
2594
2650
  }, z.core.$strip>>>;
2595
2651
  })[P]; } : never, z.core.$strip>;
2596
2652
 
2597
- type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications;
2653
+ type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications | SlatesHubNotifications;
2598
2654
  type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
2599
2655
  type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
2600
2656
  declare let slatesResponsesByMethod: {
@@ -2716,7 +2772,6 @@ declare let slatesResponsesByMethod: {
2716
2772
  id: z$1.ZodString;
2717
2773
  title: z$1.ZodString;
2718
2774
  description: z$1.ZodOptional<z$1.ZodString>;
2719
- defaultChecked: z$1.ZodOptional<z$1.ZodBoolean>;
2720
2775
  }, z$1.core.$strip>>>;
2721
2776
  inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2722
2777
  outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
@@ -2754,7 +2809,6 @@ declare let slatesResponsesByMethod: {
2754
2809
  id: z$1.ZodString;
2755
2810
  title: z$1.ZodString;
2756
2811
  description: z$1.ZodOptional<z$1.ZodString>;
2757
- defaultChecked: z$1.ZodOptional<z$1.ZodBoolean>;
2758
2812
  }, z$1.core.$strip>>>;
2759
2813
  inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2760
2814
  outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
@@ -3275,10 +3329,15 @@ declare let slatesResponsesByMethod: {
3275
3329
  content: z$1.ZodUnion<readonly [z$1.ZodObject<{
3276
3330
  type: z$1.ZodLiteral<"url">;
3277
3331
  url: z$1.ZodString;
3332
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
3333
+ query: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
3278
3334
  }, z$1.core.$strip>, z$1.ZodObject<{
3279
3335
  type: z$1.ZodLiteral<"content">;
3280
3336
  encoding: z$1.ZodUnion<readonly [z$1.ZodLiteral<"base64">, z$1.ZodLiteral<"utf-8">]>;
3281
3337
  content: z$1.ZodString;
3338
+ }, z$1.core.$strip>, z$1.ZodObject<{
3339
+ type: z$1.ZodLiteral<"upload_reference">;
3340
+ referenceId: z$1.ZodString;
3282
3341
  }, z$1.core.$strip>]>;
3283
3342
  }, z$1.core.$strip>>>;
3284
3343
  requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
@@ -3721,6 +3780,28 @@ declare let slatesRequestsByMethod: {
3721
3780
  }, z$1.core.$strip>;
3722
3781
  };
3723
3782
  declare let slatesNotificationsByMethod: {
3783
+ 'slates/hub.capabilities.set': z$1.ZodObject<{
3784
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3785
+ method: z$1.ZodLiteral<"slates/hub.capabilities.set">;
3786
+ params: z$1.ZodObject<{
3787
+ capabilities: z$1.ZodObject<{
3788
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
3789
+ directUpload: z$1.ZodObject<{
3790
+ enabled: z$1.ZodBoolean;
3791
+ maxAttachmentSizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
3792
+ }, z$1.core.$strip>;
3793
+ }, z$1.core.$strip>>;
3794
+ }, z$1.core.$strip>;
3795
+ }, z$1.core.$strip>;
3796
+ }, z$1.core.$strip>;
3797
+ 'slates/hub.live_invocation.set': z$1.ZodObject<{
3798
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3799
+ method: z$1.ZodLiteral<"slates/hub.live_invocation.set">;
3800
+ params: z$1.ZodObject<{
3801
+ token: z$1.ZodString;
3802
+ baseUrl: z$1.ZodString;
3803
+ }, z$1.core.$strip>;
3804
+ }, z$1.core.$strip>;
3724
3805
  'slates/hello': z$1.ZodObject<{
3725
3806
  jsonrpc: z$1.ZodLiteral<"2.0">;
3726
3807
  method: z$1.ZodLiteral<"slates/hello">;
@@ -4130,7 +4211,6 @@ declare let slatesAuthenticationMethod: z.ZodObject<{
4130
4211
  id: z.ZodString;
4131
4212
  title: z.ZodString;
4132
4213
  description: z.ZodOptional<z.ZodString>;
4133
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
4134
4214
  }, z.core.$strip>>>;
4135
4215
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
4136
4216
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -4168,4 +4248,4 @@ type SlatesParticipant = z.infer<typeof slatesParticipant>;
4168
4248
  declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
4169
4249
  type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
4170
4250
 
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 };
4251
+ 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 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 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, 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, 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,56 @@ 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
+
2447
2503
  declare let slatesMessageProviderIdentifyRequest: z.ZodObject<{
2448
2504
  jsonrpc: z.ZodLiteral<"2.0">;
2449
2505
  method: z.ZodLiteral<"slates/provider.identify">;
@@ -2594,7 +2650,7 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
2594
2650
  }, z.core.$strip>>>;
2595
2651
  })[P]; } : never, z.core.$strip>;
2596
2652
 
2597
- type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications;
2653
+ type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications | SlatesHubNotifications;
2598
2654
  type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
2599
2655
  type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
2600
2656
  declare let slatesResponsesByMethod: {
@@ -2716,7 +2772,6 @@ declare let slatesResponsesByMethod: {
2716
2772
  id: z$1.ZodString;
2717
2773
  title: z$1.ZodString;
2718
2774
  description: z$1.ZodOptional<z$1.ZodString>;
2719
- defaultChecked: z$1.ZodOptional<z$1.ZodBoolean>;
2720
2775
  }, z$1.core.$strip>>>;
2721
2776
  inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2722
2777
  outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
@@ -2754,7 +2809,6 @@ declare let slatesResponsesByMethod: {
2754
2809
  id: z$1.ZodString;
2755
2810
  title: z$1.ZodString;
2756
2811
  description: z$1.ZodOptional<z$1.ZodString>;
2757
- defaultChecked: z$1.ZodOptional<z$1.ZodBoolean>;
2758
2812
  }, z$1.core.$strip>>>;
2759
2813
  inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2760
2814
  outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
@@ -3275,10 +3329,15 @@ declare let slatesResponsesByMethod: {
3275
3329
  content: z$1.ZodUnion<readonly [z$1.ZodObject<{
3276
3330
  type: z$1.ZodLiteral<"url">;
3277
3331
  url: z$1.ZodString;
3332
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
3333
+ query: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
3278
3334
  }, z$1.core.$strip>, z$1.ZodObject<{
3279
3335
  type: z$1.ZodLiteral<"content">;
3280
3336
  encoding: z$1.ZodUnion<readonly [z$1.ZodLiteral<"base64">, z$1.ZodLiteral<"utf-8">]>;
3281
3337
  content: z$1.ZodString;
3338
+ }, z$1.core.$strip>, z$1.ZodObject<{
3339
+ type: z$1.ZodLiteral<"upload_reference">;
3340
+ referenceId: z$1.ZodString;
3282
3341
  }, z$1.core.$strip>]>;
3283
3342
  }, z$1.core.$strip>>>;
3284
3343
  requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
@@ -3721,6 +3780,28 @@ declare let slatesRequestsByMethod: {
3721
3780
  }, z$1.core.$strip>;
3722
3781
  };
3723
3782
  declare let slatesNotificationsByMethod: {
3783
+ 'slates/hub.capabilities.set': z$1.ZodObject<{
3784
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3785
+ method: z$1.ZodLiteral<"slates/hub.capabilities.set">;
3786
+ params: z$1.ZodObject<{
3787
+ capabilities: z$1.ZodObject<{
3788
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
3789
+ directUpload: z$1.ZodObject<{
3790
+ enabled: z$1.ZodBoolean;
3791
+ maxAttachmentSizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
3792
+ }, z$1.core.$strip>;
3793
+ }, z$1.core.$strip>>;
3794
+ }, z$1.core.$strip>;
3795
+ }, z$1.core.$strip>;
3796
+ }, z$1.core.$strip>;
3797
+ 'slates/hub.live_invocation.set': z$1.ZodObject<{
3798
+ jsonrpc: z$1.ZodLiteral<"2.0">;
3799
+ method: z$1.ZodLiteral<"slates/hub.live_invocation.set">;
3800
+ params: z$1.ZodObject<{
3801
+ token: z$1.ZodString;
3802
+ baseUrl: z$1.ZodString;
3803
+ }, z$1.core.$strip>;
3804
+ }, z$1.core.$strip>;
3724
3805
  'slates/hello': z$1.ZodObject<{
3725
3806
  jsonrpc: z$1.ZodLiteral<"2.0">;
3726
3807
  method: z$1.ZodLiteral<"slates/hello">;
@@ -4130,7 +4211,6 @@ declare let slatesAuthenticationMethod: z.ZodObject<{
4130
4211
  id: z.ZodString;
4131
4212
  title: z.ZodString;
4132
4213
  description: z.ZodOptional<z.ZodString>;
4133
- defaultChecked: z.ZodOptional<z.ZodBoolean>;
4134
4214
  }, z.core.$strip>>>;
4135
4215
  inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
4136
4216
  outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -4168,4 +4248,4 @@ type SlatesParticipant = z.infer<typeof slatesParticipant>;
4168
4248
  declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
4169
4249
  type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
4170
4250
 
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 };
4251
+ 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 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 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, 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, 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,59 @@ 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({
733
738
  jsonrpc: z11.literal("2.0"),
734
- method: z11.literal("slates/provider.identify"),
735
- id: z11.string(),
736
- params: z11.object({})
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
+ })
737
750
  });
738
- var slatesMessageProviderIdentifyResponse = z11.object({
751
+ var slatesMessageHubLiveInvocationSetNotification = z11.object({
739
752
  jsonrpc: z11.literal("2.0"),
740
- id: z11.string(),
741
- 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()
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
+
764
+ // src/messages/identify.ts
765
+ import z12 from "zod";
766
+ var slatesMessageProviderIdentifyRequest = z12.object({
767
+ jsonrpc: z12.literal("2.0"),
768
+ method: z12.literal("slates/provider.identify"),
769
+ id: z12.string(),
770
+ params: z12.object({})
771
+ });
772
+ var slatesMessageProviderIdentifyResponse = z12.object({
773
+ jsonrpc: z12.literal("2.0"),
774
+ id: z12.string(),
775
+ result: z12.object({
776
+ protocol: z12.literal(SLATES_PROTOCOL_VERSION),
777
+ provider: z12.object({
778
+ type: z12.literal("provider"),
779
+ id: z12.string(),
780
+ name: z12.string(),
781
+ description: z12.string().optional(),
782
+ metadata: z12.record(z12.string(), z12.any()).optional()
749
783
  }),
750
- docs: z11.array(
751
- z11.object({
752
- name: z11.string(),
753
- url: z11.string()
784
+ docs: z12.array(
785
+ z12.object({
786
+ name: z12.string(),
787
+ url: z12.string()
754
788
  })
755
789
  )
756
790
  })
@@ -780,7 +814,8 @@ var slatesRequestsByMethod = {
780
814
  var slatesNotificationsByMethod = {
781
815
  ...slatesAuthNotificationsByMethod,
782
816
  ...slatesConfigNotificationsByMethod,
783
- ...slatesControlFlowNotificationsByMethod
817
+ ...slatesControlFlowNotificationsByMethod,
818
+ ...slatesHubNotificationsByMethod
784
819
  };
785
820
 
786
821
  // src/handler/provider.ts
@@ -1062,6 +1097,7 @@ export {
1062
1097
  slatesConfigRequestsByMethod,
1063
1098
  slatesConfigResponsesByMethod,
1064
1099
  slatesControlFlowNotificationsByMethod,
1100
+ slatesHubNotificationsByMethod,
1065
1101
  slatesIdentifyRequestsByMethod,
1066
1102
  slatesIdentifyResponsesByMethod,
1067
1103
  slatesMessageActionGetRequest,
@@ -1109,6 +1145,8 @@ export {
1109
1145
  slatesMessageConfigSchemaGetRequest,
1110
1146
  slatesMessageConfigSchemaGetResponse,
1111
1147
  slatesMessageHelloNotification,
1148
+ slatesMessageHubCapabilitiesSetNotification,
1149
+ slatesMessageHubLiveInvocationSetNotification,
1112
1150
  slatesMessageProviderIdentifyRequest,
1113
1151
  slatesMessageProviderIdentifyResponse,
1114
1152
  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.16",
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,44 @@
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
+ };
@@ -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,7 @@ import {
39
40
  type SlatesControlFlowNotifications,
40
41
  slatesControlFlowNotificationsByMethod
41
42
  } from './controlFlow';
43
+ import { type SlatesHubNotifications, slatesHubNotificationsByMethod } from './hub';
42
44
  import {
43
45
  type SlatesIdentifyRequests,
44
46
  type SlatesIdentifyResponses,
@@ -49,7 +51,8 @@ import {
49
51
  export type SlatesNotifications =
50
52
  | SlatesAuthNotifications
51
53
  | SlatesConfigNotifications
52
- | SlatesControlFlowNotifications;
54
+ | SlatesControlFlowNotifications
55
+ | SlatesHubNotifications;
53
56
 
54
57
  export type SlatesRequests =
55
58
  | SlatesActionRequests
@@ -84,7 +87,8 @@ export let slatesRequestsByMethod = {
84
87
  export let slatesNotificationsByMethod = {
85
88
  ...slatesAuthNotificationsByMethod,
86
89
  ...slatesConfigNotificationsByMethod,
87
- ...slatesControlFlowNotificationsByMethod
90
+ ...slatesControlFlowNotificationsByMethod,
91
+ ...slatesHubNotificationsByMethod
88
92
  };
89
93
 
90
94
  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(),