@slates/proto 1.0.0-rc.27 → 1.0.0-rc.28
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 +22 -2
- package/dist/index.d.cts +53 -2
- package/dist/index.d.ts +53 -2
- package/dist/index.module.js +20 -2
- package/package.json +1 -1
- package/src/messages/hub.ts +30 -3
package/dist/index.cjs
CHANGED
|
@@ -113,6 +113,7 @@ __export(index_exports, {
|
|
|
113
113
|
slatesMessageHelloNotification: () => slatesMessageHelloNotification,
|
|
114
114
|
slatesMessageHubCapabilitiesSetNotification: () => slatesMessageHubCapabilitiesSetNotification,
|
|
115
115
|
slatesMessageHubLiveInvocationSetNotification: () => slatesMessageHubLiveInvocationSetNotification,
|
|
116
|
+
slatesMessageHubRuntimeInfoSetNotification: () => slatesMessageHubRuntimeInfoSetNotification,
|
|
116
117
|
slatesMessageProviderCapabilitiesGetRequest: () => slatesMessageProviderCapabilitiesGetRequest,
|
|
117
118
|
slatesMessageProviderCapabilitiesGetResponse: () => slatesMessageProviderCapabilitiesGetResponse,
|
|
118
119
|
slatesMessageProviderIdentifyRequest: () => slatesMessageProviderIdentifyRequest,
|
|
@@ -153,6 +154,7 @@ __export(index_exports, {
|
|
|
153
154
|
slatesRequestTraceTextBody: () => slatesRequestTraceTextBody,
|
|
154
155
|
slatesRequestsByMethod: () => slatesRequestsByMethod,
|
|
155
156
|
slatesResponsesByMethod: () => slatesResponsesByMethod,
|
|
157
|
+
slatesRuntimeInfo: () => slatesRuntimeInfo,
|
|
156
158
|
slatesToolCategory: () => slatesToolCategory,
|
|
157
159
|
slatesToolCategoryRequestsByMethod: () => slatesToolCategoryRequestsByMethod,
|
|
158
160
|
slatesToolCategoryResponsesByMethod: () => slatesToolCategoryResponsesByMethod,
|
|
@@ -946,9 +948,24 @@ var slatesMessageHubLiveInvocationSetNotification = import_zod14.default.object(
|
|
|
946
948
|
baseUrl: import_zod14.default.string()
|
|
947
949
|
})
|
|
948
950
|
});
|
|
951
|
+
var slatesRuntimeInfo = import_zod14.default.object({
|
|
952
|
+
metorial: import_zod14.default.object({
|
|
953
|
+
apiUrl: import_zod14.default.string().url().max(2048),
|
|
954
|
+
region: import_zod14.default.string().max(64).nullish(),
|
|
955
|
+
environment: import_zod14.default.string().max(64).nullish()
|
|
956
|
+
}).optional()
|
|
957
|
+
});
|
|
958
|
+
var slatesMessageHubRuntimeInfoSetNotification = import_zod14.default.object({
|
|
959
|
+
jsonrpc: import_zod14.default.literal("2.0"),
|
|
960
|
+
method: import_zod14.default.literal("slates/hub.runtime_info.set"),
|
|
961
|
+
params: import_zod14.default.object({
|
|
962
|
+
runtimeInfo: slatesRuntimeInfo
|
|
963
|
+
})
|
|
964
|
+
});
|
|
949
965
|
var slatesHubNotificationsByMethod = {
|
|
950
966
|
"slates/hub.capabilities.set": slatesMessageHubCapabilitiesSetNotification,
|
|
951
|
-
"slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification
|
|
967
|
+
"slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification,
|
|
968
|
+
"slates/hub.runtime_info.set": slatesMessageHubRuntimeInfoSetNotification
|
|
952
969
|
};
|
|
953
970
|
var slatesMessageProviderCapabilitiesGetRequest = import_zod14.default.object({
|
|
954
971
|
jsonrpc: import_zod14.default.literal("2.0"),
|
|
@@ -963,7 +980,8 @@ var slatesMessageProviderCapabilitiesGetResponse = import_zod14.default.object({
|
|
|
963
980
|
capabilities: import_zod14.default.object({
|
|
964
981
|
hub: import_zod14.default.object({
|
|
965
982
|
capabilitiesNotification: import_zod14.default.boolean().optional(),
|
|
966
|
-
liveInvocation: import_zod14.default.boolean().optional()
|
|
983
|
+
liveInvocation: import_zod14.default.boolean().optional(),
|
|
984
|
+
runtimeInfo: import_zod14.default.boolean().optional()
|
|
967
985
|
}).optional(),
|
|
968
986
|
provider: import_zod14.default.object({
|
|
969
987
|
triggerGroups: import_zod14.default.boolean().optional(),
|
|
@@ -1788,6 +1806,7 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
|
|
|
1788
1806
|
slatesMessageHelloNotification,
|
|
1789
1807
|
slatesMessageHubCapabilitiesSetNotification,
|
|
1790
1808
|
slatesMessageHubLiveInvocationSetNotification,
|
|
1809
|
+
slatesMessageHubRuntimeInfoSetNotification,
|
|
1791
1810
|
slatesMessageProviderCapabilitiesGetRequest,
|
|
1792
1811
|
slatesMessageProviderCapabilitiesGetResponse,
|
|
1793
1812
|
slatesMessageProviderIdentifyRequest,
|
|
@@ -1828,6 +1847,7 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
|
|
|
1828
1847
|
slatesRequestTraceTextBody,
|
|
1829
1848
|
slatesRequestsByMethod,
|
|
1830
1849
|
slatesResponsesByMethod,
|
|
1850
|
+
slatesRuntimeInfo,
|
|
1831
1851
|
slatesToolCategory,
|
|
1832
1852
|
slatesToolCategoryRequestsByMethod,
|
|
1833
1853
|
slatesToolCategoryResponsesByMethod,
|
package/dist/index.d.cts
CHANGED
|
@@ -2160,7 +2160,29 @@ declare let slatesMessageHubLiveInvocationSetNotification: z.ZodObject<{
|
|
|
2160
2160
|
}, z.core.$strip>;
|
|
2161
2161
|
}, z.core.$strip>;
|
|
2162
2162
|
type SlatesMessageHubLiveInvocationSetNotification = z.infer<typeof slatesMessageHubLiveInvocationSetNotification>;
|
|
2163
|
-
|
|
2163
|
+
declare let slatesRuntimeInfo: z.ZodObject<{
|
|
2164
|
+
metorial: z.ZodOptional<z.ZodObject<{
|
|
2165
|
+
apiUrl: z.ZodString;
|
|
2166
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2167
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2168
|
+
}, z.core.$strip>>;
|
|
2169
|
+
}, z.core.$strip>;
|
|
2170
|
+
type SlatesRuntimeInfo = z.infer<typeof slatesRuntimeInfo>;
|
|
2171
|
+
declare let slatesMessageHubRuntimeInfoSetNotification: z.ZodObject<{
|
|
2172
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
2173
|
+
method: z.ZodLiteral<"slates/hub.runtime_info.set">;
|
|
2174
|
+
params: z.ZodObject<{
|
|
2175
|
+
runtimeInfo: z.ZodObject<{
|
|
2176
|
+
metorial: z.ZodOptional<z.ZodObject<{
|
|
2177
|
+
apiUrl: z.ZodString;
|
|
2178
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2179
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2180
|
+
}, z.core.$strip>>;
|
|
2181
|
+
}, z.core.$strip>;
|
|
2182
|
+
}, z.core.$strip>;
|
|
2183
|
+
}, z.core.$strip>;
|
|
2184
|
+
type SlatesMessageHubRuntimeInfoSetNotification = z.infer<typeof slatesMessageHubRuntimeInfoSetNotification>;
|
|
2185
|
+
type SlatesHubNotifications = SlatesMessageHubCapabilitiesSetNotification | SlatesMessageHubLiveInvocationSetNotification | SlatesMessageHubRuntimeInfoSetNotification;
|
|
2164
2186
|
declare let slatesHubNotificationsByMethod: {
|
|
2165
2187
|
'slates/hub.capabilities.set': z.ZodObject<{
|
|
2166
2188
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
@@ -2186,6 +2208,19 @@ declare let slatesHubNotificationsByMethod: {
|
|
|
2186
2208
|
baseUrl: z.ZodString;
|
|
2187
2209
|
}, z.core.$strip>;
|
|
2188
2210
|
}, z.core.$strip>;
|
|
2211
|
+
'slates/hub.runtime_info.set': z.ZodObject<{
|
|
2212
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
2213
|
+
method: z.ZodLiteral<"slates/hub.runtime_info.set">;
|
|
2214
|
+
params: z.ZodObject<{
|
|
2215
|
+
runtimeInfo: z.ZodObject<{
|
|
2216
|
+
metorial: z.ZodOptional<z.ZodObject<{
|
|
2217
|
+
apiUrl: z.ZodString;
|
|
2218
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2219
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2220
|
+
}, z.core.$strip>>;
|
|
2221
|
+
}, z.core.$strip>;
|
|
2222
|
+
}, z.core.$strip>;
|
|
2223
|
+
}, z.core.$strip>;
|
|
2189
2224
|
};
|
|
2190
2225
|
declare let slatesMessageProviderCapabilitiesGetRequest: z.ZodObject<{
|
|
2191
2226
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
@@ -2202,6 +2237,7 @@ declare let slatesMessageProviderCapabilitiesGetResponse: z.ZodObject<{
|
|
|
2202
2237
|
hub: z.ZodOptional<z.ZodObject<{
|
|
2203
2238
|
capabilitiesNotification: z.ZodOptional<z.ZodBoolean>;
|
|
2204
2239
|
liveInvocation: z.ZodOptional<z.ZodBoolean>;
|
|
2240
|
+
runtimeInfo: z.ZodOptional<z.ZodBoolean>;
|
|
2205
2241
|
}, z.core.$strip>>;
|
|
2206
2242
|
provider: z.ZodOptional<z.ZodObject<{
|
|
2207
2243
|
triggerGroups: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2230,6 +2266,7 @@ declare let slatesHubResponsesByMethod: {
|
|
|
2230
2266
|
hub: z.ZodOptional<z.ZodObject<{
|
|
2231
2267
|
capabilitiesNotification: z.ZodOptional<z.ZodBoolean>;
|
|
2232
2268
|
liveInvocation: z.ZodOptional<z.ZodBoolean>;
|
|
2269
|
+
runtimeInfo: z.ZodOptional<z.ZodBoolean>;
|
|
2233
2270
|
}, z.core.$strip>>;
|
|
2234
2271
|
provider: z.ZodOptional<z.ZodObject<{
|
|
2235
2272
|
triggerGroups: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4050,6 +4087,7 @@ declare let slatesResponsesByMethod: {
|
|
|
4050
4087
|
hub: z$1.ZodOptional<z$1.ZodObject<{
|
|
4051
4088
|
capabilitiesNotification: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4052
4089
|
liveInvocation: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4090
|
+
runtimeInfo: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4053
4091
|
}, z$1.core.$strip>>;
|
|
4054
4092
|
provider: z$1.ZodOptional<z$1.ZodObject<{
|
|
4055
4093
|
triggerGroups: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -5804,6 +5842,19 @@ declare let slatesNotificationsByMethod: {
|
|
|
5804
5842
|
baseUrl: z$1.ZodString;
|
|
5805
5843
|
}, z$1.core.$strip>;
|
|
5806
5844
|
}, z$1.core.$strip>;
|
|
5845
|
+
'slates/hub.runtime_info.set': z$1.ZodObject<{
|
|
5846
|
+
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
5847
|
+
method: z$1.ZodLiteral<"slates/hub.runtime_info.set">;
|
|
5848
|
+
params: z$1.ZodObject<{
|
|
5849
|
+
runtimeInfo: z$1.ZodObject<{
|
|
5850
|
+
metorial: z$1.ZodOptional<z$1.ZodObject<{
|
|
5851
|
+
apiUrl: z$1.ZodString;
|
|
5852
|
+
region: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
5853
|
+
environment: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
5854
|
+
}, z$1.core.$strip>>;
|
|
5855
|
+
}, z$1.core.$strip>;
|
|
5856
|
+
}, z$1.core.$strip>;
|
|
5857
|
+
}, z$1.core.$strip>;
|
|
5807
5858
|
'slates/hello': z$1.ZodObject<{
|
|
5808
5859
|
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
5809
5860
|
method: z$1.ZodLiteral<"slates/hello">;
|
|
@@ -6275,4 +6326,4 @@ type SlatesWebhookTarget = z.infer<typeof slatesWebhookTarget>;
|
|
|
6275
6326
|
declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
|
|
6276
6327
|
type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
|
|
6277
6328
|
|
|
6278
|
-
export { SLATES_PROTOCOL_VERSION, SLATES_WEBHOOK_ERROR_CODES, SLATES_WEBHOOK_ERROR_DEFAULTS, 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 SlatesErrorResponse, type SlatesHubNotifications, type SlatesHubRequests, type SlatesHubResponses, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesLegacyTriggerRequests, type SlatesLegacyTriggerResponses, 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 SlatesMessageAuthAdminAuthorizationUrlGetRequest, type SlatesMessageAuthAdminAuthorizationUrlGetResponse, type SlatesMessageAuthAdminCallbackHandleRequest, type SlatesMessageAuthAdminCallbackHandleResponse, 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 SlatesMessageToolCategoriesListRequest, type SlatesMessageToolCategoriesListResponse, type SlatesMessageTriggerGroupGatewayConnectRequest, type SlatesMessageTriggerGroupGatewayConnectResponse, type SlatesMessageTriggerGroupGatewayReceiveRequest, type SlatesMessageTriggerGroupGatewayReceiveResponse, type SlatesMessageTriggerGroupGetRequest, type SlatesMessageTriggerGroupGetResponse, type SlatesMessageTriggerGroupPollingPollRequest, type SlatesMessageTriggerGroupPollingPollResponse, type SlatesMessageTriggerGroupRoutingMatchersGetRequest, type SlatesMessageTriggerGroupRoutingMatchersGetResponse, type SlatesMessageTriggerGroupWebhookManualFinishRequest, type SlatesMessageTriggerGroupWebhookManualFinishResponse, type SlatesMessageTriggerGroupWebhookManualSetupRequest, type SlatesMessageTriggerGroupWebhookManualSetupResponse, type SlatesMessageTriggerGroupWebhookProcessRequest, type SlatesMessageTriggerGroupWebhookProcessResponse, type SlatesMessageTriggerGroupWebhookRegisterRequest, type SlatesMessageTriggerGroupWebhookRegisterResponse, type SlatesMessageTriggerGroupWebhookTargetsListRequest, type SlatesMessageTriggerGroupWebhookTargetsListResponse, type SlatesMessageTriggerGroupWebhookUnregisterRequest, type SlatesMessageTriggerGroupWebhookUnregisterResponse, type SlatesMessageTriggerGroupsListRequest, type SlatesMessageTriggerGroupsListResponse, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesToolCategory, type SlatesToolCategoryRequests, type SlatesToolCategoryResponses, type SlatesTriggerGroup, type SlatesTriggerGroupInvocation, type SlatesTriggerGroupRequests, type SlatesTriggerGroupResponses, type SlatesTriggerGroupWebhookSkipped, type SlatesTriggerRoutingMatcher, type SlatesWebhookErrorCode, type SlatesWebhookHttpResponse, type SlatesWebhookTarget, type SlatesWebhookTargetOwnership, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesErrorResponse, slatesHubNotificationsByMethod, slatesHubRequestsByMethod, slatesHubResponsesByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesLegacyTriggerRequestsByMethod, slatesLegacyTriggerResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAdminAuthorizationUrlGetRequest, slatesMessageAuthAdminAuthorizationUrlGetResponse, slatesMessageAuthAdminCallbackHandleRequest, slatesMessageAuthAdminCallbackHandleResponse, 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, slatesMessageToolCategoriesListRequest, slatesMessageToolCategoriesListResponse, slatesMessageTriggerGroupGatewayConnectRequest, slatesMessageTriggerGroupGatewayConnectResponse, slatesMessageTriggerGroupGatewayReceiveRequest, slatesMessageTriggerGroupGatewayReceiveResponse, slatesMessageTriggerGroupGetRequest, slatesMessageTriggerGroupGetResponse, slatesMessageTriggerGroupPollingPollRequest, slatesMessageTriggerGroupPollingPollResponse, slatesMessageTriggerGroupRoutingMatchersGetRequest, slatesMessageTriggerGroupRoutingMatchersGetResponse, slatesMessageTriggerGroupWebhookManualFinishRequest, slatesMessageTriggerGroupWebhookManualFinishResponse, slatesMessageTriggerGroupWebhookManualSetupRequest, slatesMessageTriggerGroupWebhookManualSetupResponse, slatesMessageTriggerGroupWebhookProcessRequest, slatesMessageTriggerGroupWebhookProcessResponse, slatesMessageTriggerGroupWebhookRegisterRequest, slatesMessageTriggerGroupWebhookRegisterResponse, slatesMessageTriggerGroupWebhookTargetsListRequest, slatesMessageTriggerGroupWebhookTargetsListResponse, slatesMessageTriggerGroupWebhookUnregisterRequest, slatesMessageTriggerGroupWebhookUnregisterResponse, slatesMessageTriggerGroupsListRequest, slatesMessageTriggerGroupsListResponse, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesToolCategory, slatesToolCategoryRequestsByMethod, slatesToolCategoryResponsesByMethod, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerGroupWebhookSkipped, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
|
|
6329
|
+
export { SLATES_PROTOCOL_VERSION, SLATES_WEBHOOK_ERROR_CODES, SLATES_WEBHOOK_ERROR_DEFAULTS, 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 SlatesErrorResponse, type SlatesHubNotifications, type SlatesHubRequests, type SlatesHubResponses, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesLegacyTriggerRequests, type SlatesLegacyTriggerResponses, 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 SlatesMessageAuthAdminAuthorizationUrlGetRequest, type SlatesMessageAuthAdminAuthorizationUrlGetResponse, type SlatesMessageAuthAdminCallbackHandleRequest, type SlatesMessageAuthAdminCallbackHandleResponse, 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 SlatesMessageHubRuntimeInfoSetNotification, type SlatesMessageProviderCapabilitiesGetRequest, type SlatesMessageProviderCapabilitiesGetResponse, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesMessageToolCategoriesListRequest, type SlatesMessageToolCategoriesListResponse, type SlatesMessageTriggerGroupGatewayConnectRequest, type SlatesMessageTriggerGroupGatewayConnectResponse, type SlatesMessageTriggerGroupGatewayReceiveRequest, type SlatesMessageTriggerGroupGatewayReceiveResponse, type SlatesMessageTriggerGroupGetRequest, type SlatesMessageTriggerGroupGetResponse, type SlatesMessageTriggerGroupPollingPollRequest, type SlatesMessageTriggerGroupPollingPollResponse, type SlatesMessageTriggerGroupRoutingMatchersGetRequest, type SlatesMessageTriggerGroupRoutingMatchersGetResponse, type SlatesMessageTriggerGroupWebhookManualFinishRequest, type SlatesMessageTriggerGroupWebhookManualFinishResponse, type SlatesMessageTriggerGroupWebhookManualSetupRequest, type SlatesMessageTriggerGroupWebhookManualSetupResponse, type SlatesMessageTriggerGroupWebhookProcessRequest, type SlatesMessageTriggerGroupWebhookProcessResponse, type SlatesMessageTriggerGroupWebhookRegisterRequest, type SlatesMessageTriggerGroupWebhookRegisterResponse, type SlatesMessageTriggerGroupWebhookTargetsListRequest, type SlatesMessageTriggerGroupWebhookTargetsListResponse, type SlatesMessageTriggerGroupWebhookUnregisterRequest, type SlatesMessageTriggerGroupWebhookUnregisterResponse, type SlatesMessageTriggerGroupsListRequest, type SlatesMessageTriggerGroupsListResponse, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesRuntimeInfo, type SlatesToolCategory, type SlatesToolCategoryRequests, type SlatesToolCategoryResponses, type SlatesTriggerGroup, type SlatesTriggerGroupInvocation, type SlatesTriggerGroupRequests, type SlatesTriggerGroupResponses, type SlatesTriggerGroupWebhookSkipped, type SlatesTriggerRoutingMatcher, type SlatesWebhookErrorCode, type SlatesWebhookHttpResponse, type SlatesWebhookTarget, type SlatesWebhookTargetOwnership, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesErrorResponse, slatesHubNotificationsByMethod, slatesHubRequestsByMethod, slatesHubResponsesByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesLegacyTriggerRequestsByMethod, slatesLegacyTriggerResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAdminAuthorizationUrlGetRequest, slatesMessageAuthAdminAuthorizationUrlGetResponse, slatesMessageAuthAdminCallbackHandleRequest, slatesMessageAuthAdminCallbackHandleResponse, 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, slatesMessageHubRuntimeInfoSetNotification, slatesMessageProviderCapabilitiesGetRequest, slatesMessageProviderCapabilitiesGetResponse, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesMessageToolCategoriesListRequest, slatesMessageToolCategoriesListResponse, slatesMessageTriggerGroupGatewayConnectRequest, slatesMessageTriggerGroupGatewayConnectResponse, slatesMessageTriggerGroupGatewayReceiveRequest, slatesMessageTriggerGroupGatewayReceiveResponse, slatesMessageTriggerGroupGetRequest, slatesMessageTriggerGroupGetResponse, slatesMessageTriggerGroupPollingPollRequest, slatesMessageTriggerGroupPollingPollResponse, slatesMessageTriggerGroupRoutingMatchersGetRequest, slatesMessageTriggerGroupRoutingMatchersGetResponse, slatesMessageTriggerGroupWebhookManualFinishRequest, slatesMessageTriggerGroupWebhookManualFinishResponse, slatesMessageTriggerGroupWebhookManualSetupRequest, slatesMessageTriggerGroupWebhookManualSetupResponse, slatesMessageTriggerGroupWebhookProcessRequest, slatesMessageTriggerGroupWebhookProcessResponse, slatesMessageTriggerGroupWebhookRegisterRequest, slatesMessageTriggerGroupWebhookRegisterResponse, slatesMessageTriggerGroupWebhookTargetsListRequest, slatesMessageTriggerGroupWebhookTargetsListResponse, slatesMessageTriggerGroupWebhookUnregisterRequest, slatesMessageTriggerGroupWebhookUnregisterResponse, slatesMessageTriggerGroupsListRequest, slatesMessageTriggerGroupsListResponse, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesRuntimeInfo, slatesToolCategory, slatesToolCategoryRequestsByMethod, slatesToolCategoryResponsesByMethod, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerGroupWebhookSkipped, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
|
package/dist/index.d.ts
CHANGED
|
@@ -2160,7 +2160,29 @@ declare let slatesMessageHubLiveInvocationSetNotification: z.ZodObject<{
|
|
|
2160
2160
|
}, z.core.$strip>;
|
|
2161
2161
|
}, z.core.$strip>;
|
|
2162
2162
|
type SlatesMessageHubLiveInvocationSetNotification = z.infer<typeof slatesMessageHubLiveInvocationSetNotification>;
|
|
2163
|
-
|
|
2163
|
+
declare let slatesRuntimeInfo: z.ZodObject<{
|
|
2164
|
+
metorial: z.ZodOptional<z.ZodObject<{
|
|
2165
|
+
apiUrl: z.ZodString;
|
|
2166
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2167
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2168
|
+
}, z.core.$strip>>;
|
|
2169
|
+
}, z.core.$strip>;
|
|
2170
|
+
type SlatesRuntimeInfo = z.infer<typeof slatesRuntimeInfo>;
|
|
2171
|
+
declare let slatesMessageHubRuntimeInfoSetNotification: z.ZodObject<{
|
|
2172
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
2173
|
+
method: z.ZodLiteral<"slates/hub.runtime_info.set">;
|
|
2174
|
+
params: z.ZodObject<{
|
|
2175
|
+
runtimeInfo: z.ZodObject<{
|
|
2176
|
+
metorial: z.ZodOptional<z.ZodObject<{
|
|
2177
|
+
apiUrl: z.ZodString;
|
|
2178
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2179
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2180
|
+
}, z.core.$strip>>;
|
|
2181
|
+
}, z.core.$strip>;
|
|
2182
|
+
}, z.core.$strip>;
|
|
2183
|
+
}, z.core.$strip>;
|
|
2184
|
+
type SlatesMessageHubRuntimeInfoSetNotification = z.infer<typeof slatesMessageHubRuntimeInfoSetNotification>;
|
|
2185
|
+
type SlatesHubNotifications = SlatesMessageHubCapabilitiesSetNotification | SlatesMessageHubLiveInvocationSetNotification | SlatesMessageHubRuntimeInfoSetNotification;
|
|
2164
2186
|
declare let slatesHubNotificationsByMethod: {
|
|
2165
2187
|
'slates/hub.capabilities.set': z.ZodObject<{
|
|
2166
2188
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
@@ -2186,6 +2208,19 @@ declare let slatesHubNotificationsByMethod: {
|
|
|
2186
2208
|
baseUrl: z.ZodString;
|
|
2187
2209
|
}, z.core.$strip>;
|
|
2188
2210
|
}, z.core.$strip>;
|
|
2211
|
+
'slates/hub.runtime_info.set': z.ZodObject<{
|
|
2212
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
2213
|
+
method: z.ZodLiteral<"slates/hub.runtime_info.set">;
|
|
2214
|
+
params: z.ZodObject<{
|
|
2215
|
+
runtimeInfo: z.ZodObject<{
|
|
2216
|
+
metorial: z.ZodOptional<z.ZodObject<{
|
|
2217
|
+
apiUrl: z.ZodString;
|
|
2218
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2219
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2220
|
+
}, z.core.$strip>>;
|
|
2221
|
+
}, z.core.$strip>;
|
|
2222
|
+
}, z.core.$strip>;
|
|
2223
|
+
}, z.core.$strip>;
|
|
2189
2224
|
};
|
|
2190
2225
|
declare let slatesMessageProviderCapabilitiesGetRequest: z.ZodObject<{
|
|
2191
2226
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
@@ -2202,6 +2237,7 @@ declare let slatesMessageProviderCapabilitiesGetResponse: z.ZodObject<{
|
|
|
2202
2237
|
hub: z.ZodOptional<z.ZodObject<{
|
|
2203
2238
|
capabilitiesNotification: z.ZodOptional<z.ZodBoolean>;
|
|
2204
2239
|
liveInvocation: z.ZodOptional<z.ZodBoolean>;
|
|
2240
|
+
runtimeInfo: z.ZodOptional<z.ZodBoolean>;
|
|
2205
2241
|
}, z.core.$strip>>;
|
|
2206
2242
|
provider: z.ZodOptional<z.ZodObject<{
|
|
2207
2243
|
triggerGroups: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2230,6 +2266,7 @@ declare let slatesHubResponsesByMethod: {
|
|
|
2230
2266
|
hub: z.ZodOptional<z.ZodObject<{
|
|
2231
2267
|
capabilitiesNotification: z.ZodOptional<z.ZodBoolean>;
|
|
2232
2268
|
liveInvocation: z.ZodOptional<z.ZodBoolean>;
|
|
2269
|
+
runtimeInfo: z.ZodOptional<z.ZodBoolean>;
|
|
2233
2270
|
}, z.core.$strip>>;
|
|
2234
2271
|
provider: z.ZodOptional<z.ZodObject<{
|
|
2235
2272
|
triggerGroups: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4050,6 +4087,7 @@ declare let slatesResponsesByMethod: {
|
|
|
4050
4087
|
hub: z$1.ZodOptional<z$1.ZodObject<{
|
|
4051
4088
|
capabilitiesNotification: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4052
4089
|
liveInvocation: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4090
|
+
runtimeInfo: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4053
4091
|
}, z$1.core.$strip>>;
|
|
4054
4092
|
provider: z$1.ZodOptional<z$1.ZodObject<{
|
|
4055
4093
|
triggerGroups: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -5804,6 +5842,19 @@ declare let slatesNotificationsByMethod: {
|
|
|
5804
5842
|
baseUrl: z$1.ZodString;
|
|
5805
5843
|
}, z$1.core.$strip>;
|
|
5806
5844
|
}, z$1.core.$strip>;
|
|
5845
|
+
'slates/hub.runtime_info.set': z$1.ZodObject<{
|
|
5846
|
+
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
5847
|
+
method: z$1.ZodLiteral<"slates/hub.runtime_info.set">;
|
|
5848
|
+
params: z$1.ZodObject<{
|
|
5849
|
+
runtimeInfo: z$1.ZodObject<{
|
|
5850
|
+
metorial: z$1.ZodOptional<z$1.ZodObject<{
|
|
5851
|
+
apiUrl: z$1.ZodString;
|
|
5852
|
+
region: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
5853
|
+
environment: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
5854
|
+
}, z$1.core.$strip>>;
|
|
5855
|
+
}, z$1.core.$strip>;
|
|
5856
|
+
}, z$1.core.$strip>;
|
|
5857
|
+
}, z$1.core.$strip>;
|
|
5807
5858
|
'slates/hello': z$1.ZodObject<{
|
|
5808
5859
|
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
5809
5860
|
method: z$1.ZodLiteral<"slates/hello">;
|
|
@@ -6275,4 +6326,4 @@ type SlatesWebhookTarget = z.infer<typeof slatesWebhookTarget>;
|
|
|
6275
6326
|
declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
|
|
6276
6327
|
type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
|
|
6277
6328
|
|
|
6278
|
-
export { SLATES_PROTOCOL_VERSION, SLATES_WEBHOOK_ERROR_CODES, SLATES_WEBHOOK_ERROR_DEFAULTS, 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 SlatesErrorResponse, type SlatesHubNotifications, type SlatesHubRequests, type SlatesHubResponses, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesLegacyTriggerRequests, type SlatesLegacyTriggerResponses, 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 SlatesMessageAuthAdminAuthorizationUrlGetRequest, type SlatesMessageAuthAdminAuthorizationUrlGetResponse, type SlatesMessageAuthAdminCallbackHandleRequest, type SlatesMessageAuthAdminCallbackHandleResponse, 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 SlatesMessageToolCategoriesListRequest, type SlatesMessageToolCategoriesListResponse, type SlatesMessageTriggerGroupGatewayConnectRequest, type SlatesMessageTriggerGroupGatewayConnectResponse, type SlatesMessageTriggerGroupGatewayReceiveRequest, type SlatesMessageTriggerGroupGatewayReceiveResponse, type SlatesMessageTriggerGroupGetRequest, type SlatesMessageTriggerGroupGetResponse, type SlatesMessageTriggerGroupPollingPollRequest, type SlatesMessageTriggerGroupPollingPollResponse, type SlatesMessageTriggerGroupRoutingMatchersGetRequest, type SlatesMessageTriggerGroupRoutingMatchersGetResponse, type SlatesMessageTriggerGroupWebhookManualFinishRequest, type SlatesMessageTriggerGroupWebhookManualFinishResponse, type SlatesMessageTriggerGroupWebhookManualSetupRequest, type SlatesMessageTriggerGroupWebhookManualSetupResponse, type SlatesMessageTriggerGroupWebhookProcessRequest, type SlatesMessageTriggerGroupWebhookProcessResponse, type SlatesMessageTriggerGroupWebhookRegisterRequest, type SlatesMessageTriggerGroupWebhookRegisterResponse, type SlatesMessageTriggerGroupWebhookTargetsListRequest, type SlatesMessageTriggerGroupWebhookTargetsListResponse, type SlatesMessageTriggerGroupWebhookUnregisterRequest, type SlatesMessageTriggerGroupWebhookUnregisterResponse, type SlatesMessageTriggerGroupsListRequest, type SlatesMessageTriggerGroupsListResponse, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesToolCategory, type SlatesToolCategoryRequests, type SlatesToolCategoryResponses, type SlatesTriggerGroup, type SlatesTriggerGroupInvocation, type SlatesTriggerGroupRequests, type SlatesTriggerGroupResponses, type SlatesTriggerGroupWebhookSkipped, type SlatesTriggerRoutingMatcher, type SlatesWebhookErrorCode, type SlatesWebhookHttpResponse, type SlatesWebhookTarget, type SlatesWebhookTargetOwnership, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesErrorResponse, slatesHubNotificationsByMethod, slatesHubRequestsByMethod, slatesHubResponsesByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesLegacyTriggerRequestsByMethod, slatesLegacyTriggerResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAdminAuthorizationUrlGetRequest, slatesMessageAuthAdminAuthorizationUrlGetResponse, slatesMessageAuthAdminCallbackHandleRequest, slatesMessageAuthAdminCallbackHandleResponse, 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, slatesMessageToolCategoriesListRequest, slatesMessageToolCategoriesListResponse, slatesMessageTriggerGroupGatewayConnectRequest, slatesMessageTriggerGroupGatewayConnectResponse, slatesMessageTriggerGroupGatewayReceiveRequest, slatesMessageTriggerGroupGatewayReceiveResponse, slatesMessageTriggerGroupGetRequest, slatesMessageTriggerGroupGetResponse, slatesMessageTriggerGroupPollingPollRequest, slatesMessageTriggerGroupPollingPollResponse, slatesMessageTriggerGroupRoutingMatchersGetRequest, slatesMessageTriggerGroupRoutingMatchersGetResponse, slatesMessageTriggerGroupWebhookManualFinishRequest, slatesMessageTriggerGroupWebhookManualFinishResponse, slatesMessageTriggerGroupWebhookManualSetupRequest, slatesMessageTriggerGroupWebhookManualSetupResponse, slatesMessageTriggerGroupWebhookProcessRequest, slatesMessageTriggerGroupWebhookProcessResponse, slatesMessageTriggerGroupWebhookRegisterRequest, slatesMessageTriggerGroupWebhookRegisterResponse, slatesMessageTriggerGroupWebhookTargetsListRequest, slatesMessageTriggerGroupWebhookTargetsListResponse, slatesMessageTriggerGroupWebhookUnregisterRequest, slatesMessageTriggerGroupWebhookUnregisterResponse, slatesMessageTriggerGroupsListRequest, slatesMessageTriggerGroupsListResponse, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesToolCategory, slatesToolCategoryRequestsByMethod, slatesToolCategoryResponsesByMethod, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerGroupWebhookSkipped, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
|
|
6329
|
+
export { SLATES_PROTOCOL_VERSION, SLATES_WEBHOOK_ERROR_CODES, SLATES_WEBHOOK_ERROR_DEFAULTS, 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 SlatesErrorResponse, type SlatesHubNotifications, type SlatesHubRequests, type SlatesHubResponses, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesLegacyTriggerRequests, type SlatesLegacyTriggerResponses, 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 SlatesMessageAuthAdminAuthorizationUrlGetRequest, type SlatesMessageAuthAdminAuthorizationUrlGetResponse, type SlatesMessageAuthAdminCallbackHandleRequest, type SlatesMessageAuthAdminCallbackHandleResponse, 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 SlatesMessageHubRuntimeInfoSetNotification, type SlatesMessageProviderCapabilitiesGetRequest, type SlatesMessageProviderCapabilitiesGetResponse, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesMessageToolCategoriesListRequest, type SlatesMessageToolCategoriesListResponse, type SlatesMessageTriggerGroupGatewayConnectRequest, type SlatesMessageTriggerGroupGatewayConnectResponse, type SlatesMessageTriggerGroupGatewayReceiveRequest, type SlatesMessageTriggerGroupGatewayReceiveResponse, type SlatesMessageTriggerGroupGetRequest, type SlatesMessageTriggerGroupGetResponse, type SlatesMessageTriggerGroupPollingPollRequest, type SlatesMessageTriggerGroupPollingPollResponse, type SlatesMessageTriggerGroupRoutingMatchersGetRequest, type SlatesMessageTriggerGroupRoutingMatchersGetResponse, type SlatesMessageTriggerGroupWebhookManualFinishRequest, type SlatesMessageTriggerGroupWebhookManualFinishResponse, type SlatesMessageTriggerGroupWebhookManualSetupRequest, type SlatesMessageTriggerGroupWebhookManualSetupResponse, type SlatesMessageTriggerGroupWebhookProcessRequest, type SlatesMessageTriggerGroupWebhookProcessResponse, type SlatesMessageTriggerGroupWebhookRegisterRequest, type SlatesMessageTriggerGroupWebhookRegisterResponse, type SlatesMessageTriggerGroupWebhookTargetsListRequest, type SlatesMessageTriggerGroupWebhookTargetsListResponse, type SlatesMessageTriggerGroupWebhookUnregisterRequest, type SlatesMessageTriggerGroupWebhookUnregisterResponse, type SlatesMessageTriggerGroupsListRequest, type SlatesMessageTriggerGroupsListResponse, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesRuntimeInfo, type SlatesToolCategory, type SlatesToolCategoryRequests, type SlatesToolCategoryResponses, type SlatesTriggerGroup, type SlatesTriggerGroupInvocation, type SlatesTriggerGroupRequests, type SlatesTriggerGroupResponses, type SlatesTriggerGroupWebhookSkipped, type SlatesTriggerRoutingMatcher, type SlatesWebhookErrorCode, type SlatesWebhookHttpResponse, type SlatesWebhookTarget, type SlatesWebhookTargetOwnership, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesErrorResponse, slatesHubNotificationsByMethod, slatesHubRequestsByMethod, slatesHubResponsesByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesLegacyTriggerRequestsByMethod, slatesLegacyTriggerResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAdminAuthorizationUrlGetRequest, slatesMessageAuthAdminAuthorizationUrlGetResponse, slatesMessageAuthAdminCallbackHandleRequest, slatesMessageAuthAdminCallbackHandleResponse, 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, slatesMessageHubRuntimeInfoSetNotification, slatesMessageProviderCapabilitiesGetRequest, slatesMessageProviderCapabilitiesGetResponse, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesMessageToolCategoriesListRequest, slatesMessageToolCategoriesListResponse, slatesMessageTriggerGroupGatewayConnectRequest, slatesMessageTriggerGroupGatewayConnectResponse, slatesMessageTriggerGroupGatewayReceiveRequest, slatesMessageTriggerGroupGatewayReceiveResponse, slatesMessageTriggerGroupGetRequest, slatesMessageTriggerGroupGetResponse, slatesMessageTriggerGroupPollingPollRequest, slatesMessageTriggerGroupPollingPollResponse, slatesMessageTriggerGroupRoutingMatchersGetRequest, slatesMessageTriggerGroupRoutingMatchersGetResponse, slatesMessageTriggerGroupWebhookManualFinishRequest, slatesMessageTriggerGroupWebhookManualFinishResponse, slatesMessageTriggerGroupWebhookManualSetupRequest, slatesMessageTriggerGroupWebhookManualSetupResponse, slatesMessageTriggerGroupWebhookProcessRequest, slatesMessageTriggerGroupWebhookProcessResponse, slatesMessageTriggerGroupWebhookRegisterRequest, slatesMessageTriggerGroupWebhookRegisterResponse, slatesMessageTriggerGroupWebhookTargetsListRequest, slatesMessageTriggerGroupWebhookTargetsListResponse, slatesMessageTriggerGroupWebhookUnregisterRequest, slatesMessageTriggerGroupWebhookUnregisterResponse, slatesMessageTriggerGroupsListRequest, slatesMessageTriggerGroupsListResponse, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesRuntimeInfo, slatesToolCategory, slatesToolCategoryRequestsByMethod, slatesToolCategoryResponsesByMethod, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerGroupWebhookSkipped, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
|
package/dist/index.module.js
CHANGED
|
@@ -780,9 +780,24 @@ var slatesMessageHubLiveInvocationSetNotification = z14.object({
|
|
|
780
780
|
baseUrl: z14.string()
|
|
781
781
|
})
|
|
782
782
|
});
|
|
783
|
+
var slatesRuntimeInfo = z14.object({
|
|
784
|
+
metorial: z14.object({
|
|
785
|
+
apiUrl: z14.string().url().max(2048),
|
|
786
|
+
region: z14.string().max(64).nullish(),
|
|
787
|
+
environment: z14.string().max(64).nullish()
|
|
788
|
+
}).optional()
|
|
789
|
+
});
|
|
790
|
+
var slatesMessageHubRuntimeInfoSetNotification = z14.object({
|
|
791
|
+
jsonrpc: z14.literal("2.0"),
|
|
792
|
+
method: z14.literal("slates/hub.runtime_info.set"),
|
|
793
|
+
params: z14.object({
|
|
794
|
+
runtimeInfo: slatesRuntimeInfo
|
|
795
|
+
})
|
|
796
|
+
});
|
|
783
797
|
var slatesHubNotificationsByMethod = {
|
|
784
798
|
"slates/hub.capabilities.set": slatesMessageHubCapabilitiesSetNotification,
|
|
785
|
-
"slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification
|
|
799
|
+
"slates/hub.live_invocation.set": slatesMessageHubLiveInvocationSetNotification,
|
|
800
|
+
"slates/hub.runtime_info.set": slatesMessageHubRuntimeInfoSetNotification
|
|
786
801
|
};
|
|
787
802
|
var slatesMessageProviderCapabilitiesGetRequest = z14.object({
|
|
788
803
|
jsonrpc: z14.literal("2.0"),
|
|
@@ -797,7 +812,8 @@ var slatesMessageProviderCapabilitiesGetResponse = z14.object({
|
|
|
797
812
|
capabilities: z14.object({
|
|
798
813
|
hub: z14.object({
|
|
799
814
|
capabilitiesNotification: z14.boolean().optional(),
|
|
800
|
-
liveInvocation: z14.boolean().optional()
|
|
815
|
+
liveInvocation: z14.boolean().optional(),
|
|
816
|
+
runtimeInfo: z14.boolean().optional()
|
|
801
817
|
}).optional(),
|
|
802
818
|
provider: z14.object({
|
|
803
819
|
triggerGroups: z14.boolean().optional(),
|
|
@@ -1621,6 +1637,7 @@ export {
|
|
|
1621
1637
|
slatesMessageHelloNotification,
|
|
1622
1638
|
slatesMessageHubCapabilitiesSetNotification,
|
|
1623
1639
|
slatesMessageHubLiveInvocationSetNotification,
|
|
1640
|
+
slatesMessageHubRuntimeInfoSetNotification,
|
|
1624
1641
|
slatesMessageProviderCapabilitiesGetRequest,
|
|
1625
1642
|
slatesMessageProviderCapabilitiesGetResponse,
|
|
1626
1643
|
slatesMessageProviderIdentifyRequest,
|
|
@@ -1661,6 +1678,7 @@ export {
|
|
|
1661
1678
|
slatesRequestTraceTextBody,
|
|
1662
1679
|
slatesRequestsByMethod,
|
|
1663
1680
|
slatesResponsesByMethod,
|
|
1681
|
+
slatesRuntimeInfo,
|
|
1664
1682
|
slatesToolCategory,
|
|
1665
1683
|
slatesToolCategoryRequestsByMethod,
|
|
1666
1684
|
slatesToolCategoryResponsesByMethod,
|
package/package.json
CHANGED
package/src/messages/hub.ts
CHANGED
|
@@ -36,13 +36,39 @@ export type SlatesMessageHubLiveInvocationSetNotification = z.infer<
|
|
|
36
36
|
typeof slatesMessageHubLiveInvocationSetNotification
|
|
37
37
|
>;
|
|
38
38
|
|
|
39
|
+
export let slatesRuntimeInfo = z.object({
|
|
40
|
+
metorial: z
|
|
41
|
+
.object({
|
|
42
|
+
apiUrl: z.string().url().max(2048),
|
|
43
|
+
region: z.string().max(64).nullish(),
|
|
44
|
+
environment: z.string().max(64).nullish()
|
|
45
|
+
})
|
|
46
|
+
.optional()
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export type SlatesRuntimeInfo = z.infer<typeof slatesRuntimeInfo>;
|
|
50
|
+
|
|
51
|
+
export let slatesMessageHubRuntimeInfoSetNotification = z.object({
|
|
52
|
+
jsonrpc: z.literal('2.0'),
|
|
53
|
+
method: z.literal('slates/hub.runtime_info.set'),
|
|
54
|
+
params: z.object({
|
|
55
|
+
runtimeInfo: slatesRuntimeInfo
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export type SlatesMessageHubRuntimeInfoSetNotification = z.infer<
|
|
60
|
+
typeof slatesMessageHubRuntimeInfoSetNotification
|
|
61
|
+
>;
|
|
62
|
+
|
|
39
63
|
export type SlatesHubNotifications =
|
|
40
64
|
| SlatesMessageHubCapabilitiesSetNotification
|
|
41
|
-
| SlatesMessageHubLiveInvocationSetNotification
|
|
65
|
+
| SlatesMessageHubLiveInvocationSetNotification
|
|
66
|
+
| SlatesMessageHubRuntimeInfoSetNotification;
|
|
42
67
|
|
|
43
68
|
export let slatesHubNotificationsByMethod = {
|
|
44
69
|
'slates/hub.capabilities.set': slatesMessageHubCapabilitiesSetNotification,
|
|
45
|
-
'slates/hub.live_invocation.set': slatesMessageHubLiveInvocationSetNotification
|
|
70
|
+
'slates/hub.live_invocation.set': slatesMessageHubLiveInvocationSetNotification,
|
|
71
|
+
'slates/hub.runtime_info.set': slatesMessageHubRuntimeInfoSetNotification
|
|
46
72
|
};
|
|
47
73
|
|
|
48
74
|
export let slatesMessageProviderCapabilitiesGetRequest = z.object({
|
|
@@ -64,7 +90,8 @@ export let slatesMessageProviderCapabilitiesGetResponse = z.object({
|
|
|
64
90
|
hub: z
|
|
65
91
|
.object({
|
|
66
92
|
capabilitiesNotification: z.boolean().optional(),
|
|
67
|
-
liveInvocation: z.boolean().optional()
|
|
93
|
+
liveInvocation: z.boolean().optional(),
|
|
94
|
+
runtimeInfo: z.boolean().optional()
|
|
68
95
|
})
|
|
69
96
|
.optional(),
|
|
70
97
|
provider: z
|