@slates/proto 1.0.0-rc.16 → 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
@@ -53,6 +53,8 @@ __export(index_exports, {
53
53
  slatesConfigResponsesByMethod: () => slatesConfigResponsesByMethod,
54
54
  slatesControlFlowNotificationsByMethod: () => slatesControlFlowNotificationsByMethod,
55
55
  slatesHubNotificationsByMethod: () => slatesHubNotificationsByMethod,
56
+ slatesHubRequestsByMethod: () => slatesHubRequestsByMethod,
57
+ slatesHubResponsesByMethod: () => slatesHubResponsesByMethod,
56
58
  slatesIdentifyRequestsByMethod: () => slatesIdentifyRequestsByMethod,
57
59
  slatesIdentifyResponsesByMethod: () => slatesIdentifyResponsesByMethod,
58
60
  slatesMessageActionGetRequest: () => slatesMessageActionGetRequest,
@@ -102,6 +104,8 @@ __export(index_exports, {
102
104
  slatesMessageHelloNotification: () => slatesMessageHelloNotification,
103
105
  slatesMessageHubCapabilitiesSetNotification: () => slatesMessageHubCapabilitiesSetNotification,
104
106
  slatesMessageHubLiveInvocationSetNotification: () => slatesMessageHubLiveInvocationSetNotification,
107
+ slatesMessageProviderCapabilitiesGetRequest: () => slatesMessageProviderCapabilitiesGetRequest,
108
+ slatesMessageProviderCapabilitiesGetResponse: () => slatesMessageProviderCapabilitiesGetResponse,
105
109
  slatesMessageProviderIdentifyRequest: () => slatesMessageProviderIdentifyRequest,
106
110
  slatesMessageProviderIdentifyResponse: () => slatesMessageProviderIdentifyResponse,
107
111
  slatesMessageSessionStartNotification: () => slatesMessageSessionStartNotification,
@@ -878,6 +882,32 @@ var slatesHubNotificationsByMethod = {
878
882
  "slates/hub.capabilities.set": slatesMessageHubCapabilitiesSetNotification,
879
883
  "slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification
880
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"),
888
+ id: import_zod11.default.string(),
889
+ params: import_zod11.default.object({})
890
+ });
891
+ var slatesMessageProviderCapabilitiesGetResponse = import_zod11.default.object({
892
+ jsonrpc: import_zod11.default.literal("2.0"),
893
+ id: import_zod11.default.string(),
894
+ result: import_zod11.default.object({
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
+ };
881
911
 
882
912
  // src/messages/identify.ts
883
913
  var import_zod12 = __toESM(require("zod"), 1);
@@ -920,6 +950,7 @@ var slatesResponsesByMethod = {
920
950
  ...slatesAdapterResponsesByMethod,
921
951
  ...slatesAuthResponsesByMethod,
922
952
  ...slatesConfigResponsesByMethod,
953
+ ...slatesHubResponsesByMethod,
923
954
  ...slatesIdentifyResponsesByMethod
924
955
  };
925
956
  var slatesRequestsByMethod = {
@@ -927,6 +958,7 @@ var slatesRequestsByMethod = {
927
958
  ...slatesAdapterRequestsByMethod,
928
959
  ...slatesAuthRequestsByMethod,
929
960
  ...slatesConfigRequestsByMethod,
961
+ ...slatesHubRequestsByMethod,
930
962
  ...slatesIdentifyRequestsByMethod
931
963
  };
932
964
  var slatesNotificationsByMethod = {
@@ -1217,6 +1249,8 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
1217
1249
  slatesConfigResponsesByMethod,
1218
1250
  slatesControlFlowNotificationsByMethod,
1219
1251
  slatesHubNotificationsByMethod,
1252
+ slatesHubRequestsByMethod,
1253
+ slatesHubResponsesByMethod,
1220
1254
  slatesIdentifyRequestsByMethod,
1221
1255
  slatesIdentifyResponsesByMethod,
1222
1256
  slatesMessageActionGetRequest,
@@ -1266,6 +1300,8 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
1266
1300
  slatesMessageHelloNotification,
1267
1301
  slatesMessageHubCapabilitiesSetNotification,
1268
1302
  slatesMessageHubLiveInvocationSetNotification,
1303
+ slatesMessageProviderCapabilitiesGetRequest,
1304
+ slatesMessageProviderCapabilitiesGetResponse,
1269
1305
  slatesMessageProviderIdentifyRequest,
1270
1306
  slatesMessageProviderIdentifyResponse,
1271
1307
  slatesMessageSessionStartNotification,
package/dist/index.d.cts CHANGED
@@ -2499,6 +2499,50 @@ declare let slatesHubNotificationsByMethod: {
2499
2499
  }, z.core.$strip>;
2500
2500
  }, z.core.$strip>;
2501
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
+ };
2502
2546
 
2503
2547
  declare let slatesMessageProviderIdentifyRequest: z.ZodObject<{
2504
2548
  jsonrpc: z.ZodLiteral<"2.0">;
@@ -2651,8 +2695,8 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
2651
2695
  })[P]; } : never, z.core.$strip>;
2652
2696
 
2653
2697
  type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications | SlatesHubNotifications;
2654
- type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
2655
- type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
2698
+ type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesHubRequests | SlatesIdentifyRequests;
2699
+ type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesHubResponses | SlatesIdentifyResponses;
2656
2700
  declare let slatesResponsesByMethod: {
2657
2701
  'slates/provider.identify': z$1.ZodObject<{
2658
2702
  jsonrpc: z$1.ZodLiteral<"2.0">;
@@ -2672,6 +2716,18 @@ declare let slatesResponsesByMethod: {
2672
2716
  }, z$1.core.$strip>>;
2673
2717
  }, z$1.core.$strip>;
2674
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>;
2675
2731
  'slates/config.schema.get': z$1.ZodObject<{
2676
2732
  jsonrpc: z$1.ZodLiteral<"2.0">;
2677
2733
  id: z$1.ZodString;
@@ -3565,6 +3621,12 @@ declare let slatesRequestsByMethod: {
3565
3621
  id: z$1.ZodString;
3566
3622
  params: z$1.ZodObject<{}, z$1.core.$strip>;
3567
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>;
3568
3630
  'slates/config.schema.get': z$1.ZodObject<{
3569
3631
  jsonrpc: z$1.ZodLiteral<"2.0">;
3570
3632
  method: z$1.ZodLiteral<"slates/config.schema.get">;
@@ -4248,4 +4310,4 @@ type SlatesParticipant = z.infer<typeof slatesParticipant>;
4248
4310
  declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
4249
4311
  type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
4250
4312
 
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 };
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
@@ -2499,6 +2499,50 @@ declare let slatesHubNotificationsByMethod: {
2499
2499
  }, z.core.$strip>;
2500
2500
  }, z.core.$strip>;
2501
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
+ };
2502
2546
 
2503
2547
  declare let slatesMessageProviderIdentifyRequest: z.ZodObject<{
2504
2548
  jsonrpc: z.ZodLiteral<"2.0">;
@@ -2651,8 +2695,8 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
2651
2695
  })[P]; } : never, z.core.$strip>;
2652
2696
 
2653
2697
  type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications | SlatesHubNotifications;
2654
- type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
2655
- type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
2698
+ type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesHubRequests | SlatesIdentifyRequests;
2699
+ type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesHubResponses | SlatesIdentifyResponses;
2656
2700
  declare let slatesResponsesByMethod: {
2657
2701
  'slates/provider.identify': z$1.ZodObject<{
2658
2702
  jsonrpc: z$1.ZodLiteral<"2.0">;
@@ -2672,6 +2716,18 @@ declare let slatesResponsesByMethod: {
2672
2716
  }, z$1.core.$strip>>;
2673
2717
  }, z$1.core.$strip>;
2674
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>;
2675
2731
  'slates/config.schema.get': z$1.ZodObject<{
2676
2732
  jsonrpc: z$1.ZodLiteral<"2.0">;
2677
2733
  id: z$1.ZodString;
@@ -3565,6 +3621,12 @@ declare let slatesRequestsByMethod: {
3565
3621
  id: z$1.ZodString;
3566
3622
  params: z$1.ZodObject<{}, z$1.core.$strip>;
3567
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>;
3568
3630
  'slates/config.schema.get': z$1.ZodObject<{
3569
3631
  jsonrpc: z$1.ZodLiteral<"2.0">;
3570
3632
  method: z$1.ZodLiteral<"slates/config.schema.get">;
@@ -4248,4 +4310,4 @@ type SlatesParticipant = z.infer<typeof slatesParticipant>;
4248
4310
  declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
4249
4311
  type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
4250
4312
 
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 };
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 };
@@ -760,6 +760,32 @@ var slatesHubNotificationsByMethod = {
760
760
  "slates/hub.capabilities.set": slatesMessageHubCapabilitiesSetNotification,
761
761
  "slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification
762
762
  };
763
+ var slatesMessageProviderCapabilitiesGetRequest = z11.object({
764
+ jsonrpc: z11.literal("2.0"),
765
+ method: z11.literal("slates/provider.capabilities.get"),
766
+ id: z11.string(),
767
+ params: z11.object({})
768
+ });
769
+ var slatesMessageProviderCapabilitiesGetResponse = z11.object({
770
+ jsonrpc: z11.literal("2.0"),
771
+ id: z11.string(),
772
+ result: z11.object({
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
+ };
763
789
 
764
790
  // src/messages/identify.ts
765
791
  import z12 from "zod";
@@ -802,6 +828,7 @@ var slatesResponsesByMethod = {
802
828
  ...slatesAdapterResponsesByMethod,
803
829
  ...slatesAuthResponsesByMethod,
804
830
  ...slatesConfigResponsesByMethod,
831
+ ...slatesHubResponsesByMethod,
805
832
  ...slatesIdentifyResponsesByMethod
806
833
  };
807
834
  var slatesRequestsByMethod = {
@@ -809,6 +836,7 @@ var slatesRequestsByMethod = {
809
836
  ...slatesAdapterRequestsByMethod,
810
837
  ...slatesAuthRequestsByMethod,
811
838
  ...slatesConfigRequestsByMethod,
839
+ ...slatesHubRequestsByMethod,
812
840
  ...slatesIdentifyRequestsByMethod
813
841
  };
814
842
  var slatesNotificationsByMethod = {
@@ -1098,6 +1126,8 @@ export {
1098
1126
  slatesConfigResponsesByMethod,
1099
1127
  slatesControlFlowNotificationsByMethod,
1100
1128
  slatesHubNotificationsByMethod,
1129
+ slatesHubRequestsByMethod,
1130
+ slatesHubResponsesByMethod,
1101
1131
  slatesIdentifyRequestsByMethod,
1102
1132
  slatesIdentifyResponsesByMethod,
1103
1133
  slatesMessageActionGetRequest,
@@ -1147,6 +1177,8 @@ export {
1147
1177
  slatesMessageHelloNotification,
1148
1178
  slatesMessageHubCapabilitiesSetNotification,
1149
1179
  slatesMessageHubLiveInvocationSetNotification,
1180
+ slatesMessageProviderCapabilitiesGetRequest,
1181
+ slatesMessageProviderCapabilitiesGetResponse,
1150
1182
  slatesMessageProviderIdentifyRequest,
1151
1183
  slatesMessageProviderIdentifyResponse,
1152
1184
  slatesMessageSessionStartNotification,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slates/proto",
3
- "version": "1.0.0-rc.16",
3
+ "version": "1.0.0-rc.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,3 +42,46 @@ export let slatesHubNotificationsByMethod = {
42
42
  'slates/hub.capabilities.set': slatesMessageHubCapabilitiesSetNotification,
43
43
  'slates/hub.live_invocation.set': slatesMessageHubLiveInvocationSetNotification
44
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
+ };
@@ -40,7 +40,14 @@ import {
40
40
  type SlatesControlFlowNotifications,
41
41
  slatesControlFlowNotificationsByMethod
42
42
  } from './controlFlow';
43
- import { type SlatesHubNotifications, slatesHubNotificationsByMethod } from './hub';
43
+ import {
44
+ type SlatesHubNotifications,
45
+ type SlatesHubRequests,
46
+ type SlatesHubResponses,
47
+ slatesHubNotificationsByMethod,
48
+ slatesHubRequestsByMethod,
49
+ slatesHubResponsesByMethod
50
+ } from './hub';
44
51
  import {
45
52
  type SlatesIdentifyRequests,
46
53
  type SlatesIdentifyResponses,
@@ -59,6 +66,7 @@ export type SlatesRequests =
59
66
  | SlatesAdapterRequests
60
67
  | SlatesAuthRequests
61
68
  | SlatesConfigRequests
69
+ | SlatesHubRequests
62
70
  | SlatesIdentifyRequests;
63
71
 
64
72
  export type SlatesResponses =
@@ -66,6 +74,7 @@ export type SlatesResponses =
66
74
  | SlatesAdapterResponses
67
75
  | SlatesAuthResponses
68
76
  | SlatesConfigResponses
77
+ | SlatesHubResponses
69
78
  | SlatesIdentifyResponses;
70
79
 
71
80
  export let slatesResponsesByMethod = {
@@ -73,6 +82,7 @@ export let slatesResponsesByMethod = {
73
82
  ...slatesAdapterResponsesByMethod,
74
83
  ...slatesAuthResponsesByMethod,
75
84
  ...slatesConfigResponsesByMethod,
85
+ ...slatesHubResponsesByMethod,
76
86
  ...slatesIdentifyResponsesByMethod
77
87
  };
78
88
 
@@ -81,6 +91,7 @@ export let slatesRequestsByMethod = {
81
91
  ...slatesAdapterRequestsByMethod,
82
92
  ...slatesAuthRequestsByMethod,
83
93
  ...slatesConfigRequestsByMethod,
94
+ ...slatesHubRequestsByMethod,
84
95
  ...slatesIdentifyRequestsByMethod
85
96
  };
86
97