@slates/proto 1.0.0-rc.13 → 1.0.0-rc.14
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 +468 -394
- package/dist/index.d.cts +196 -6
- package/dist/index.d.ts +196 -6
- package/dist/index.module.js +460 -393
- package/package.json +2 -2
- package/src/messages/action.ts +3 -1
- package/src/messages/adapter.ts +72 -0
- package/src/messages/index.ts +11 -0
- package/src/types/action.ts +5 -2
- package/src/types/adapter.ts +15 -0
- package/src/types/index.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,9 @@ declare let slatesMessageActionsListRequest: z.ZodObject<{
|
|
|
16
16
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
17
17
|
method: z.ZodLiteral<"slates/actions.list">;
|
|
18
18
|
id: z.ZodString;
|
|
19
|
-
params: z.ZodObject<{
|
|
19
|
+
params: z.ZodObject<{
|
|
20
|
+
includeAdapterActions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
20
22
|
}, z.core.$strip>;
|
|
21
23
|
type SlatesMessageActionsListRequest = z.infer<typeof slatesMessageActionsListRequest>;
|
|
22
24
|
declare let slatesMessageActionsListResponse: z.ZodObject<{
|
|
@@ -47,8 +49,10 @@ declare let slatesMessageActionsListResponse: z.ZodObject<{
|
|
|
47
49
|
name: z.ZodString;
|
|
48
50
|
url: z.ZodString;
|
|
49
51
|
}, z.core.$strip>>;
|
|
52
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
53
|
type: z.ZodLiteral<"action.tool">;
|
|
51
54
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
55
|
+
isPublic: z.ZodBoolean;
|
|
52
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
53
57
|
id: z.ZodString;
|
|
54
58
|
name: z.ZodString;
|
|
@@ -73,6 +77,7 @@ declare let slatesMessageActionsListResponse: z.ZodObject<{
|
|
|
73
77
|
name: z.ZodString;
|
|
74
78
|
url: z.ZodString;
|
|
75
79
|
}, z.core.$strip>>;
|
|
80
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
81
|
type: z.ZodLiteral<"action.trigger">;
|
|
77
82
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
78
83
|
invocation: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -159,8 +164,10 @@ declare let slatesMessageActionGetResponse: z.ZodObject<{
|
|
|
159
164
|
name: z.ZodString;
|
|
160
165
|
url: z.ZodString;
|
|
161
166
|
}, z.core.$strip>>;
|
|
167
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
168
|
type: z.ZodLiteral<"action.tool">;
|
|
163
169
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
170
|
+
isPublic: z.ZodBoolean;
|
|
164
171
|
}, z.core.$strip>, z.ZodObject<{
|
|
165
172
|
id: z.ZodString;
|
|
166
173
|
name: z.ZodString;
|
|
@@ -185,6 +192,7 @@ declare let slatesMessageActionGetResponse: z.ZodObject<{
|
|
|
185
192
|
name: z.ZodString;
|
|
186
193
|
url: z.ZodString;
|
|
187
194
|
}, z.core.$strip>>;
|
|
195
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
188
196
|
type: z.ZodLiteral<"action.trigger">;
|
|
189
197
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
190
198
|
invocation: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -590,8 +598,10 @@ declare let slatesActionResponsesByMethod: {
|
|
|
590
598
|
name: z.ZodString;
|
|
591
599
|
url: z.ZodString;
|
|
592
600
|
}, z.core.$strip>>;
|
|
601
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
593
602
|
type: z.ZodLiteral<"action.tool">;
|
|
594
603
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
604
|
+
isPublic: z.ZodBoolean;
|
|
595
605
|
}, z.core.$strip>, z.ZodObject<{
|
|
596
606
|
id: z.ZodString;
|
|
597
607
|
name: z.ZodString;
|
|
@@ -616,6 +626,7 @@ declare let slatesActionResponsesByMethod: {
|
|
|
616
626
|
name: z.ZodString;
|
|
617
627
|
url: z.ZodString;
|
|
618
628
|
}, z.core.$strip>>;
|
|
629
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
619
630
|
type: z.ZodLiteral<"action.trigger">;
|
|
620
631
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
621
632
|
invocation: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -689,8 +700,10 @@ declare let slatesActionResponsesByMethod: {
|
|
|
689
700
|
name: z.ZodString;
|
|
690
701
|
url: z.ZodString;
|
|
691
702
|
}, z.core.$strip>>;
|
|
703
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
692
704
|
type: z.ZodLiteral<"action.tool">;
|
|
693
705
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
706
|
+
isPublic: z.ZodBoolean;
|
|
694
707
|
}, z.core.$strip>, z.ZodObject<{
|
|
695
708
|
id: z.ZodString;
|
|
696
709
|
name: z.ZodString;
|
|
@@ -715,6 +728,7 @@ declare let slatesActionResponsesByMethod: {
|
|
|
715
728
|
name: z.ZodString;
|
|
716
729
|
url: z.ZodString;
|
|
717
730
|
}, z.core.$strip>>;
|
|
731
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
718
732
|
type: z.ZodLiteral<"action.trigger">;
|
|
719
733
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
720
734
|
invocation: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1000,7 +1014,9 @@ declare let slatesActionRequestsByMethod: {
|
|
|
1000
1014
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1001
1015
|
method: z.ZodLiteral<"slates/actions.list">;
|
|
1002
1016
|
id: z.ZodString;
|
|
1003
|
-
params: z.ZodObject<{
|
|
1017
|
+
params: z.ZodObject<{
|
|
1018
|
+
includeAdapterActions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1019
|
+
}, z.core.$strip>;
|
|
1004
1020
|
}, z.core.$strip>;
|
|
1005
1021
|
'slates/action.get': z.ZodObject<{
|
|
1006
1022
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
@@ -1076,6 +1092,111 @@ declare let slatesActionRequestsByMethod: {
|
|
|
1076
1092
|
}, z.core.$strip>;
|
|
1077
1093
|
};
|
|
1078
1094
|
|
|
1095
|
+
/**
|
|
1096
|
+
* List Adapters
|
|
1097
|
+
*/
|
|
1098
|
+
declare let slatesMessageAdaptersListRequest: z.ZodObject<{
|
|
1099
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1100
|
+
method: z.ZodLiteral<"slates/adapters.list">;
|
|
1101
|
+
id: z.ZodString;
|
|
1102
|
+
params: z.ZodObject<{
|
|
1103
|
+
includeAdapters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1104
|
+
}, z.core.$strip>;
|
|
1105
|
+
}, z.core.$strip>;
|
|
1106
|
+
type SlatesMessageAdaptersListRequest = z.infer<typeof slatesMessageAdaptersListRequest>;
|
|
1107
|
+
declare let slatesMessageAdaptersListResponse: z.ZodObject<{
|
|
1108
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1109
|
+
id: z.ZodString;
|
|
1110
|
+
result: z.ZodObject<{
|
|
1111
|
+
adapters: z.ZodArray<z.ZodObject<{
|
|
1112
|
+
id: z.ZodString;
|
|
1113
|
+
name: z.ZodString;
|
|
1114
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
1115
|
+
id: z.ZodString;
|
|
1116
|
+
value: z.ZodAny;
|
|
1117
|
+
}, z.core.$strip>>;
|
|
1118
|
+
}, z.core.$strip>>;
|
|
1119
|
+
}, z.core.$strip>;
|
|
1120
|
+
}, z.core.$strip>;
|
|
1121
|
+
type SlatesMessageAdaptersListResponse = z.infer<typeof slatesMessageAdaptersListResponse>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Get Adapter
|
|
1124
|
+
*/
|
|
1125
|
+
declare let slatesMessageAdapterGetRequest: z.ZodObject<{
|
|
1126
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1127
|
+
method: z.ZodLiteral<"slates/adapter.get">;
|
|
1128
|
+
id: z.ZodString;
|
|
1129
|
+
params: z.ZodObject<{
|
|
1130
|
+
adapterId: z.ZodString;
|
|
1131
|
+
}, z.core.$strip>;
|
|
1132
|
+
}, z.core.$strip>;
|
|
1133
|
+
type SlatesMessageAdapterGetRequest = z.infer<typeof slatesMessageAdapterGetRequest>;
|
|
1134
|
+
declare let slatesMessageAdapterGetResponse: z.ZodObject<{
|
|
1135
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1136
|
+
id: z.ZodString;
|
|
1137
|
+
result: z.ZodObject<{
|
|
1138
|
+
adapter: z.ZodObject<{
|
|
1139
|
+
id: z.ZodString;
|
|
1140
|
+
name: z.ZodString;
|
|
1141
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
1142
|
+
id: z.ZodString;
|
|
1143
|
+
value: z.ZodAny;
|
|
1144
|
+
}, z.core.$strip>>;
|
|
1145
|
+
}, z.core.$strip>;
|
|
1146
|
+
}, z.core.$strip>;
|
|
1147
|
+
}, z.core.$strip>;
|
|
1148
|
+
type SlatesMessageAdapterGetResponse = z.infer<typeof slatesMessageAdapterGetResponse>;
|
|
1149
|
+
type SlatesAdapterRequests = SlatesMessageAdaptersListRequest | SlatesMessageAdapterGetRequest;
|
|
1150
|
+
type SlatesAdapterResponses = SlatesMessageAdaptersListResponse | SlatesMessageAdapterGetResponse;
|
|
1151
|
+
declare let slatesAdapterResponsesByMethod: {
|
|
1152
|
+
'slates/adapters.list': z.ZodObject<{
|
|
1153
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1154
|
+
id: z.ZodString;
|
|
1155
|
+
result: z.ZodObject<{
|
|
1156
|
+
adapters: z.ZodArray<z.ZodObject<{
|
|
1157
|
+
id: z.ZodString;
|
|
1158
|
+
name: z.ZodString;
|
|
1159
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
1160
|
+
id: z.ZodString;
|
|
1161
|
+
value: z.ZodAny;
|
|
1162
|
+
}, z.core.$strip>>;
|
|
1163
|
+
}, z.core.$strip>>;
|
|
1164
|
+
}, z.core.$strip>;
|
|
1165
|
+
}, z.core.$strip>;
|
|
1166
|
+
'slates/adapter.get': z.ZodObject<{
|
|
1167
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1168
|
+
id: z.ZodString;
|
|
1169
|
+
result: z.ZodObject<{
|
|
1170
|
+
adapter: z.ZodObject<{
|
|
1171
|
+
id: z.ZodString;
|
|
1172
|
+
name: z.ZodString;
|
|
1173
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
value: z.ZodAny;
|
|
1176
|
+
}, z.core.$strip>>;
|
|
1177
|
+
}, z.core.$strip>;
|
|
1178
|
+
}, z.core.$strip>;
|
|
1179
|
+
}, z.core.$strip>;
|
|
1180
|
+
};
|
|
1181
|
+
declare let slatesAdapterRequestsByMethod: {
|
|
1182
|
+
'slates/adapters.list': z.ZodObject<{
|
|
1183
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1184
|
+
method: z.ZodLiteral<"slates/adapters.list">;
|
|
1185
|
+
id: z.ZodString;
|
|
1186
|
+
params: z.ZodObject<{
|
|
1187
|
+
includeAdapters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1188
|
+
}, z.core.$strip>;
|
|
1189
|
+
}, z.core.$strip>;
|
|
1190
|
+
'slates/adapter.get': z.ZodObject<{
|
|
1191
|
+
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1192
|
+
method: z.ZodLiteral<"slates/adapter.get">;
|
|
1193
|
+
id: z.ZodString;
|
|
1194
|
+
params: z.ZodObject<{
|
|
1195
|
+
adapterId: z.ZodString;
|
|
1196
|
+
}, z.core.$strip>;
|
|
1197
|
+
}, z.core.$strip>;
|
|
1198
|
+
};
|
|
1199
|
+
|
|
1079
1200
|
/**
|
|
1080
1201
|
* Set Authentication
|
|
1081
1202
|
*/
|
|
@@ -2472,8 +2593,8 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
|
|
|
2472
2593
|
})[P]; } : never, z.core.$strip>;
|
|
2473
2594
|
|
|
2474
2595
|
type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications;
|
|
2475
|
-
type SlatesRequests = SlatesActionRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
|
|
2476
|
-
type SlatesResponses = SlatesActionResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
|
|
2596
|
+
type SlatesRequests = SlatesActionRequests | SlatesAdapterRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
|
|
2597
|
+
type SlatesResponses = SlatesActionResponses | SlatesAdapterResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
|
|
2477
2598
|
declare let slatesResponsesByMethod: {
|
|
2478
2599
|
'slates/provider.identify': z$1.ZodObject<{
|
|
2479
2600
|
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
@@ -2908,6 +3029,34 @@ declare let slatesResponsesByMethod: {
|
|
|
2908
3029
|
}, z$1.core.$strip>>>;
|
|
2909
3030
|
}, z$1.core.$strip>;
|
|
2910
3031
|
}, z$1.core.$strip>;
|
|
3032
|
+
'slates/adapters.list': z$1.ZodObject<{
|
|
3033
|
+
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
3034
|
+
id: z$1.ZodString;
|
|
3035
|
+
result: z$1.ZodObject<{
|
|
3036
|
+
adapters: z$1.ZodArray<z$1.ZodObject<{
|
|
3037
|
+
id: z$1.ZodString;
|
|
3038
|
+
name: z$1.ZodString;
|
|
3039
|
+
capabilities: z$1.ZodArray<z$1.ZodObject<{
|
|
3040
|
+
id: z$1.ZodString;
|
|
3041
|
+
value: z$1.ZodAny;
|
|
3042
|
+
}, z$1.core.$strip>>;
|
|
3043
|
+
}, z$1.core.$strip>>;
|
|
3044
|
+
}, z$1.core.$strip>;
|
|
3045
|
+
}, z$1.core.$strip>;
|
|
3046
|
+
'slates/adapter.get': z$1.ZodObject<{
|
|
3047
|
+
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
3048
|
+
id: z$1.ZodString;
|
|
3049
|
+
result: z$1.ZodObject<{
|
|
3050
|
+
adapter: z$1.ZodObject<{
|
|
3051
|
+
id: z$1.ZodString;
|
|
3052
|
+
name: z$1.ZodString;
|
|
3053
|
+
capabilities: z$1.ZodArray<z$1.ZodObject<{
|
|
3054
|
+
id: z$1.ZodString;
|
|
3055
|
+
value: z$1.ZodAny;
|
|
3056
|
+
}, z$1.core.$strip>>;
|
|
3057
|
+
}, z$1.core.$strip>;
|
|
3058
|
+
}, z$1.core.$strip>;
|
|
3059
|
+
}, z$1.core.$strip>;
|
|
2911
3060
|
'slates/actions.list': z$1.ZodObject<{
|
|
2912
3061
|
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
2913
3062
|
id: z$1.ZodString;
|
|
@@ -2936,8 +3085,10 @@ declare let slatesResponsesByMethod: {
|
|
|
2936
3085
|
name: z$1.ZodString;
|
|
2937
3086
|
url: z$1.ZodString;
|
|
2938
3087
|
}, z$1.core.$strip>>;
|
|
3088
|
+
adapter: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
2939
3089
|
type: z$1.ZodLiteral<"action.tool">;
|
|
2940
3090
|
capabilities: z$1.ZodObject<{}, z$1.core.$strip>;
|
|
3091
|
+
isPublic: z$1.ZodBoolean;
|
|
2941
3092
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2942
3093
|
id: z$1.ZodString;
|
|
2943
3094
|
name: z$1.ZodString;
|
|
@@ -2962,6 +3113,7 @@ declare let slatesResponsesByMethod: {
|
|
|
2962
3113
|
name: z$1.ZodString;
|
|
2963
3114
|
url: z$1.ZodString;
|
|
2964
3115
|
}, z$1.core.$strip>>;
|
|
3116
|
+
adapter: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
2965
3117
|
type: z$1.ZodLiteral<"action.trigger">;
|
|
2966
3118
|
capabilities: z$1.ZodObject<{}, z$1.core.$strip>;
|
|
2967
3119
|
invocation: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
@@ -3035,8 +3187,10 @@ declare let slatesResponsesByMethod: {
|
|
|
3035
3187
|
name: z$1.ZodString;
|
|
3036
3188
|
url: z$1.ZodString;
|
|
3037
3189
|
}, z$1.core.$strip>>;
|
|
3190
|
+
adapter: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
3038
3191
|
type: z$1.ZodLiteral<"action.tool">;
|
|
3039
3192
|
capabilities: z$1.ZodObject<{}, z$1.core.$strip>;
|
|
3193
|
+
isPublic: z$1.ZodBoolean;
|
|
3040
3194
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3041
3195
|
id: z$1.ZodString;
|
|
3042
3196
|
name: z$1.ZodString;
|
|
@@ -3061,6 +3215,7 @@ declare let slatesResponsesByMethod: {
|
|
|
3061
3215
|
name: z$1.ZodString;
|
|
3062
3216
|
url: z$1.ZodString;
|
|
3063
3217
|
}, z$1.core.$strip>>;
|
|
3218
|
+
adapter: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
3064
3219
|
type: z$1.ZodLiteral<"action.trigger">;
|
|
3065
3220
|
capabilities: z$1.ZodObject<{}, z$1.core.$strip>;
|
|
3066
3221
|
invocation: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
@@ -3465,11 +3620,29 @@ declare let slatesRequestsByMethod: {
|
|
|
3465
3620
|
input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
3466
3621
|
}, z$1.core.$strip>;
|
|
3467
3622
|
}, z$1.core.$strip>;
|
|
3623
|
+
'slates/adapters.list': z$1.ZodObject<{
|
|
3624
|
+
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
3625
|
+
method: z$1.ZodLiteral<"slates/adapters.list">;
|
|
3626
|
+
id: z$1.ZodString;
|
|
3627
|
+
params: z$1.ZodObject<{
|
|
3628
|
+
includeAdapters: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
|
|
3629
|
+
}, z$1.core.$strip>;
|
|
3630
|
+
}, z$1.core.$strip>;
|
|
3631
|
+
'slates/adapter.get': z$1.ZodObject<{
|
|
3632
|
+
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
3633
|
+
method: z$1.ZodLiteral<"slates/adapter.get">;
|
|
3634
|
+
id: z$1.ZodString;
|
|
3635
|
+
params: z$1.ZodObject<{
|
|
3636
|
+
adapterId: z$1.ZodString;
|
|
3637
|
+
}, z$1.core.$strip>;
|
|
3638
|
+
}, z$1.core.$strip>;
|
|
3468
3639
|
'slates/actions.list': z$1.ZodObject<{
|
|
3469
3640
|
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
3470
3641
|
method: z$1.ZodLiteral<"slates/actions.list">;
|
|
3471
3642
|
id: z$1.ZodString;
|
|
3472
|
-
params: z$1.ZodObject<{
|
|
3643
|
+
params: z$1.ZodObject<{
|
|
3644
|
+
includeAdapterActions: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
|
|
3645
|
+
}, z$1.core.$strip>;
|
|
3473
3646
|
}, z$1.core.$strip>;
|
|
3474
3647
|
'slates/action.get': z$1.ZodObject<{
|
|
3475
3648
|
jsonrpc: z$1.ZodLiteral<"2.0">;
|
|
@@ -3689,6 +3862,7 @@ declare let slatesActionBase: z.ZodObject<{
|
|
|
3689
3862
|
name: z.ZodString;
|
|
3690
3863
|
url: z.ZodString;
|
|
3691
3864
|
}, z.core.$strip>>;
|
|
3865
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3692
3866
|
}, z.core.$strip>;
|
|
3693
3867
|
declare let slatesActionTool: z.ZodObject<{
|
|
3694
3868
|
id: z.ZodString;
|
|
@@ -3714,8 +3888,10 @@ declare let slatesActionTool: z.ZodObject<{
|
|
|
3714
3888
|
name: z.ZodString;
|
|
3715
3889
|
url: z.ZodString;
|
|
3716
3890
|
}, z.core.$strip>>;
|
|
3891
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3717
3892
|
type: z.ZodLiteral<"action.tool">;
|
|
3718
3893
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
3894
|
+
isPublic: z.ZodBoolean;
|
|
3719
3895
|
}, z.core.$strip>;
|
|
3720
3896
|
declare let slatesWebhookRequestMatcher: z.ZodObject<{
|
|
3721
3897
|
method: z.ZodOptional<z.ZodString>;
|
|
@@ -3786,6 +3962,7 @@ declare let slatesActionTrigger: z.ZodObject<{
|
|
|
3786
3962
|
name: z.ZodString;
|
|
3787
3963
|
url: z.ZodString;
|
|
3788
3964
|
}, z.core.$strip>>;
|
|
3965
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3789
3966
|
type: z.ZodLiteral<"action.trigger">;
|
|
3790
3967
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
3791
3968
|
invocation: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -3853,8 +4030,10 @@ declare let slatesAction: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3853
4030
|
name: z.ZodString;
|
|
3854
4031
|
url: z.ZodString;
|
|
3855
4032
|
}, z.core.$strip>>;
|
|
4033
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3856
4034
|
type: z.ZodLiteral<"action.tool">;
|
|
3857
4035
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
4036
|
+
isPublic: z.ZodBoolean;
|
|
3858
4037
|
}, z.core.$strip>, z.ZodObject<{
|
|
3859
4038
|
id: z.ZodString;
|
|
3860
4039
|
name: z.ZodString;
|
|
@@ -3879,6 +4058,7 @@ declare let slatesAction: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3879
4058
|
name: z.ZodString;
|
|
3880
4059
|
url: z.ZodString;
|
|
3881
4060
|
}, z.core.$strip>>;
|
|
4061
|
+
adapter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3882
4062
|
type: z.ZodLiteral<"action.trigger">;
|
|
3883
4063
|
capabilities: z.ZodObject<{}, z.core.$strip>;
|
|
3884
4064
|
invocation: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -3929,6 +4109,16 @@ type SlatesActionScopes = z.infer<typeof slatesActionScopes>;
|
|
|
3929
4109
|
type SlatesWebhookRequestMatcher = z.infer<typeof slatesWebhookRequestMatcher>;
|
|
3930
4110
|
type SlatesWebhookHttp = z.infer<typeof slatesWebhookHttp>;
|
|
3931
4111
|
|
|
4112
|
+
declare let slatesAdapter: z.ZodObject<{
|
|
4113
|
+
id: z.ZodString;
|
|
4114
|
+
name: z.ZodString;
|
|
4115
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
4116
|
+
id: z.ZodString;
|
|
4117
|
+
value: z.ZodAny;
|
|
4118
|
+
}, z.core.$strip>>;
|
|
4119
|
+
}, z.core.$strip>;
|
|
4120
|
+
type SlateAdapter = z.infer<typeof slatesAdapter>;
|
|
4121
|
+
|
|
3932
4122
|
declare let slatesAuthenticationMethod: z.ZodObject<{
|
|
3933
4123
|
id: z.ZodString;
|
|
3934
4124
|
name: z.ZodString;
|
|
@@ -3975,4 +4165,4 @@ type SlatesParticipant = z.infer<typeof slatesParticipant>;
|
|
|
3975
4165
|
declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
|
|
3976
4166
|
type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
|
|
3977
4167
|
|
|
3978
|
-
export { SLATES_PROTOCOL_VERSION, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesWebhookHttp, type SlatesWebhookHttpResponse, type SlatesWebhookRequestMatcher, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesWebhookHttp, slatesWebhookHttpResponse, slatesWebhookRequestMatcher, withRequestTraces };
|
|
4168
|
+
export { SLATES_PROTOCOL_VERSION, type SlateAdapter, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAdapterRequests, type SlatesAdapterResponses, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAdapterGetRequest, type SlatesMessageAdapterGetResponse, type SlatesMessageAdaptersListRequest, type SlatesMessageAdaptersListResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesWebhookHttp, type SlatesWebhookHttpResponse, type SlatesWebhookRequestMatcher, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesWebhookHttp, slatesWebhookHttpResponse, slatesWebhookRequestMatcher, withRequestTraces };
|