@slates/proto 1.0.0-rc.1 → 1.0.0-rc.3

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.
Files changed (40) hide show
  1. package/dist/handler/index.d.ts +2 -0
  2. package/dist/handler/index.d.ts.map +1 -0
  3. package/dist/handler/provider.d.ts +46 -0
  4. package/dist/handler/provider.d.ts.map +1 -0
  5. package/dist/index.cjs +2 -0
  6. package/dist/index.cjs.map +1 -0
  7. package/dist/index.d.ts +4 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.module.js +2 -0
  10. package/dist/index.module.js.map +1 -0
  11. package/dist/index.umd.js +2 -0
  12. package/dist/index.umd.js.map +1 -0
  13. package/dist/messages/action.d.ts +474 -0
  14. package/dist/messages/action.d.ts.map +1 -0
  15. package/dist/messages/auth.d.ts +496 -0
  16. package/dist/messages/auth.d.ts.map +1 -0
  17. package/dist/messages/config.d.ts +140 -0
  18. package/dist/messages/config.d.ts.map +1 -0
  19. package/dist/messages/controlFlow.d.ts +64 -0
  20. package/dist/messages/controlFlow.d.ts.map +1 -0
  21. package/dist/messages/identify.d.ts +48 -0
  22. package/dist/messages/identify.d.ts.map +1 -0
  23. package/dist/messages/index.d.ts +557 -0
  24. package/dist/messages/index.d.ts.map +1 -0
  25. package/dist/messages/log.d.ts +27 -0
  26. package/dist/messages/log.d.ts.map +1 -0
  27. package/dist/types/action.d.ts +98 -0
  28. package/dist/types/action.d.ts.map +1 -0
  29. package/dist/types/authMethod.d.ts +29 -0
  30. package/dist/types/authMethod.d.ts.map +1 -0
  31. package/dist/types/index.d.ts +4 -0
  32. package/dist/types/index.d.ts.map +1 -0
  33. package/dist/types/participant.d.ts +10 -0
  34. package/dist/types/participant.d.ts.map +1 -0
  35. package/package.json +7 -1
  36. package/src/messages/config.ts +1 -0
  37. package/src/messages/identify.ts +0 -1
  38. package/src/messages/index.ts +2 -6
  39. package/src/messages/log.ts +0 -29
  40. package/tsconfig.json +0 -8
@@ -0,0 +1,64 @@
1
+ import z from 'zod';
2
+ export declare let slatesMessageHelloNotification: z.ZodObject<{
3
+ jsonrpc: z.ZodLiteral<"2.0">;
4
+ method: z.ZodLiteral<"slates/hello">;
5
+ params: z.ZodObject<{
6
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
7
+ }, z.core.$strip>;
8
+ }, z.core.$strip>;
9
+ export type SlatesMessageHelloNotification = z.infer<typeof slatesMessageHelloNotification>;
10
+ export declare let slatesMessageSetParticipantsNotification: z.ZodObject<{
11
+ jsonrpc: z.ZodLiteral<"2.0">;
12
+ method: z.ZodLiteral<"slates/participant.set">;
13
+ params: z.ZodObject<{
14
+ participants: z.ZodArray<z.ZodObject<{
15
+ type: z.ZodUnion<readonly [z.ZodLiteral<"consumer">, z.ZodLiteral<"hub">]>;
16
+ id: z.ZodString;
17
+ name: z.ZodString;
18
+ description: z.ZodOptional<z.ZodString>;
19
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
22
+ }, z.core.$strip>;
23
+ export type SlatesMessageSetParticipantsNotification = z.infer<typeof slatesMessageSetParticipantsNotification>;
24
+ export declare let slatesMessageSessionStartNotification: z.ZodObject<{
25
+ jsonrpc: z.ZodLiteral<"2.0">;
26
+ method: z.ZodLiteral<"slates/session.start">;
27
+ params: z.ZodObject<{
28
+ sessionId: z.ZodString;
29
+ state: z.ZodRecord<z.ZodString, z.ZodAny>;
30
+ }, z.core.$strip>;
31
+ }, z.core.$strip>;
32
+ export type SlatesMessageSessionStartNotification = z.infer<typeof slatesMessageSessionStartNotification>;
33
+ export type SlatesControlFlowNotifications = SlatesMessageHelloNotification | SlatesMessageSetParticipantsNotification | SlatesMessageSessionStartNotification;
34
+ export declare let slatesControlFlowNotificationsByMethod: {
35
+ 'slates/hello': z.ZodObject<{
36
+ jsonrpc: z.ZodLiteral<"2.0">;
37
+ method: z.ZodLiteral<"slates/hello">;
38
+ params: z.ZodObject<{
39
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
40
+ }, z.core.$strip>;
41
+ }, z.core.$strip>;
42
+ 'slates/participant.set': z.ZodObject<{
43
+ jsonrpc: z.ZodLiteral<"2.0">;
44
+ method: z.ZodLiteral<"slates/participant.set">;
45
+ params: z.ZodObject<{
46
+ participants: z.ZodArray<z.ZodObject<{
47
+ type: z.ZodUnion<readonly [z.ZodLiteral<"consumer">, z.ZodLiteral<"hub">]>;
48
+ id: z.ZodString;
49
+ name: z.ZodString;
50
+ description: z.ZodOptional<z.ZodString>;
51
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
52
+ }, z.core.$strip>>;
53
+ }, z.core.$strip>;
54
+ }, z.core.$strip>;
55
+ 'slates/session.start': z.ZodObject<{
56
+ jsonrpc: z.ZodLiteral<"2.0">;
57
+ method: z.ZodLiteral<"slates/session.start">;
58
+ params: z.ZodObject<{
59
+ sessionId: z.ZodString;
60
+ state: z.ZodRecord<z.ZodString, z.ZodAny>;
61
+ }, z.core.$strip>;
62
+ }, z.core.$strip>;
63
+ };
64
+ //# sourceMappingURL=controlFlow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controlFlow.d.ts","sourceRoot":"","sources":["../../src/messages/controlFlow.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,IAAI,8BAA8B;;;;;;iBAMvC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAE5F,eAAO,IAAI,wCAAwC;;;;;;;;;;;;iBAMjD,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,wCAAwC,CAChD,CAAC;AAEF,eAAO,IAAI,qCAAqC;;;;;;;iBAO9C,CAAC;AAEH,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAC;AAEF,MAAM,MAAM,8BAA8B,GACtC,8BAA8B,GAC9B,wCAAwC,GACxC,qCAAqC,CAAC;AAE1C,eAAO,IAAI,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhD,CAAC"}
@@ -0,0 +1,48 @@
1
+ import z from 'zod';
2
+ export declare let slatesMessageProviderIdentifyRequest: z.ZodObject<{
3
+ jsonrpc: z.ZodLiteral<"2.0">;
4
+ method: z.ZodLiteral<"slates/provider.identify">;
5
+ params: z.ZodObject<{}, z.core.$strip>;
6
+ }, z.core.$strip>;
7
+ export type SlatesMessageProviderIdentifyRequest = z.infer<typeof slatesMessageProviderIdentifyRequest>;
8
+ export declare let slatesMessageProviderIdentifyResponse: z.ZodObject<{
9
+ jsonrpc: z.ZodLiteral<"2.0">;
10
+ id: z.ZodString;
11
+ result: z.ZodObject<{
12
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
13
+ provider: z.ZodObject<{
14
+ type: z.ZodLiteral<"provider">;
15
+ id: z.ZodString;
16
+ name: z.ZodString;
17
+ description: z.ZodOptional<z.ZodString>;
18
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19
+ }, z.core.$strip>;
20
+ }, z.core.$strip>;
21
+ }, z.core.$strip>;
22
+ export type SlatesMessageProviderIdentifyResponse = z.infer<typeof slatesMessageProviderIdentifyResponse>;
23
+ export type SlatesIdentifyRequests = SlatesMessageProviderIdentifyRequest;
24
+ export type SlatesIdentifyResponses = SlatesMessageProviderIdentifyResponse;
25
+ export declare let slatesIdentifyResponsesByMethod: {
26
+ 'slates/provider.identify': z.ZodObject<{
27
+ jsonrpc: z.ZodLiteral<"2.0">;
28
+ id: z.ZodString;
29
+ result: z.ZodObject<{
30
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
31
+ provider: z.ZodObject<{
32
+ type: z.ZodLiteral<"provider">;
33
+ id: z.ZodString;
34
+ name: z.ZodString;
35
+ description: z.ZodOptional<z.ZodString>;
36
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
37
+ }, z.core.$strip>;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>;
40
+ };
41
+ export declare let slatesIdentifyRequestsByMethod: {
42
+ 'slates/provider.identify': z.ZodObject<{
43
+ jsonrpc: z.ZodLiteral<"2.0">;
44
+ method: z.ZodLiteral<"slates/provider.identify">;
45
+ params: z.ZodObject<{}, z.core.$strip>;
46
+ }, z.core.$strip>;
47
+ };
48
+ //# sourceMappingURL=identify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identify.d.ts","sourceRoot":"","sources":["../../src/messages/identify.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,IAAI,oCAAoC;;;;iBAI7C,CAAC;AAEH,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,oCAAoC,CAC5C,CAAC;AAEF,eAAO,IAAI,qCAAqC;;;;;;;;;;;;;iBAa9C,CAAC;AAEH,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,oCAAoC,CAAC;AAE1E,MAAM,MAAM,uBAAuB,GAAG,qCAAqC,CAAC;AAE5E,eAAO,IAAI,+BAA+B;;;;;;;;;;;;;;;CAEzC,CAAC;AAEF,eAAO,IAAI,8BAA8B;;;;;;CAExC,CAAC"}
@@ -0,0 +1,557 @@
1
+ export * from './action';
2
+ export * from './auth';
3
+ export * from './config';
4
+ export * from './controlFlow';
5
+ export * from './identify';
6
+ import { z } from 'zod';
7
+ import { SlatesActionRequests, SlatesActionResponses } from './action';
8
+ import { SlatesAuthNotifications, SlatesAuthRequests, SlatesAuthResponses } from './auth';
9
+ import { SlatesConfigNotifications, SlatesConfigRequests, SlatesConfigResponses } from './config';
10
+ import { SlatesControlFlowNotifications } from './controlFlow';
11
+ import { SlatesIdentifyRequests, SlatesIdentifyResponses } from './identify';
12
+ export type SlatesNotifications = SlatesAuthNotifications | SlatesConfigNotifications | SlatesControlFlowNotifications;
13
+ export type SlatesRequests = SlatesActionRequests | SlatesAuthRequests | SlatesConfigRequests | SlatesIdentifyRequests;
14
+ export type SlatesResponses = SlatesActionResponses | SlatesAuthResponses | SlatesConfigResponses | SlatesIdentifyResponses;
15
+ export declare let slatesResponsesByMethod: {
16
+ 'slates/provider.identify': z.ZodObject<{
17
+ jsonrpc: z.ZodLiteral<"2.0">;
18
+ id: z.ZodString;
19
+ result: z.ZodObject<{
20
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
21
+ provider: z.ZodObject<{
22
+ type: z.ZodLiteral<"provider">;
23
+ id: z.ZodString;
24
+ name: z.ZodString;
25
+ description: z.ZodOptional<z.ZodString>;
26
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27
+ }, z.core.$strip>;
28
+ }, z.core.$strip>;
29
+ }, z.core.$strip>;
30
+ 'slates/config.schema.get': z.ZodObject<{
31
+ jsonrpc: z.ZodLiteral<"2.0">;
32
+ id: z.ZodString;
33
+ result: z.ZodObject<{
34
+ schema: z.ZodRecord<z.ZodString, z.ZodAny>;
35
+ }, z.core.$strip>;
36
+ }, z.core.$strip>;
37
+ 'slates/config.get_default': z.ZodObject<{
38
+ jsonrpc: z.ZodLiteral<"2.0">;
39
+ id: z.ZodString;
40
+ result: z.ZodObject<{
41
+ config: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>;
44
+ 'slates/config.changed': z.ZodObject<{
45
+ jsonrpc: z.ZodLiteral<"2.0">;
46
+ id: z.ZodString;
47
+ result: z.ZodObject<{
48
+ success: z.ZodBoolean;
49
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
50
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
51
+ code: z.ZodString;
52
+ message: z.ZodString;
53
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
+ }, z.core.$strip>>>;
55
+ }, z.core.$strip>;
56
+ }, z.core.$strip>;
57
+ 'slates/auth.methods.list': z.ZodObject<{
58
+ jsonrpc: z.ZodLiteral<"2.0">;
59
+ id: z.ZodString;
60
+ result: z.ZodObject<{
61
+ authenticationMethods: z.ZodArray<z.ZodObject<{
62
+ id: z.ZodString;
63
+ name: z.ZodString;
64
+ type: z.ZodUnion<readonly [z.ZodLiteral<"auth.oauth">, z.ZodLiteral<"auth.token">, z.ZodLiteral<"auth.service_account">, z.ZodLiteral<"auth.custom">]>;
65
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
66
+ id: z.ZodString;
67
+ title: z.ZodString;
68
+ description: z.ZodOptional<z.ZodString>;
69
+ }, z.core.$strip>>>;
70
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
71
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
72
+ capabilities: z.ZodObject<{
73
+ getDefaultInput: z.ZodOptional<z.ZodObject<{
74
+ enabled: z.ZodBoolean;
75
+ }, z.core.$strip>>;
76
+ handleChangedInput: z.ZodOptional<z.ZodObject<{
77
+ enabled: z.ZodBoolean;
78
+ }, z.core.$strip>>;
79
+ handleTokenRefresh: z.ZodOptional<z.ZodObject<{
80
+ enabled: z.ZodBoolean;
81
+ }, z.core.$strip>>;
82
+ getProfile: z.ZodOptional<z.ZodObject<{
83
+ enabled: z.ZodBoolean;
84
+ }, z.core.$strip>>;
85
+ }, z.core.$strip>;
86
+ }, z.core.$strip>>;
87
+ }, z.core.$strip>;
88
+ }, z.core.$strip>;
89
+ 'slates/auth.method.get': z.ZodObject<{
90
+ jsonrpc: z.ZodLiteral<"2.0">;
91
+ id: z.ZodString;
92
+ result: z.ZodObject<{
93
+ authenticationMethod: z.ZodObject<{
94
+ id: z.ZodString;
95
+ name: z.ZodString;
96
+ type: z.ZodUnion<readonly [z.ZodLiteral<"auth.oauth">, z.ZodLiteral<"auth.token">, z.ZodLiteral<"auth.service_account">, z.ZodLiteral<"auth.custom">]>;
97
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
98
+ id: z.ZodString;
99
+ title: z.ZodString;
100
+ description: z.ZodOptional<z.ZodString>;
101
+ }, z.core.$strip>>>;
102
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
103
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
104
+ capabilities: z.ZodObject<{
105
+ getDefaultInput: z.ZodOptional<z.ZodObject<{
106
+ enabled: z.ZodBoolean;
107
+ }, z.core.$strip>>;
108
+ handleChangedInput: z.ZodOptional<z.ZodObject<{
109
+ enabled: z.ZodBoolean;
110
+ }, z.core.$strip>>;
111
+ handleTokenRefresh: z.ZodOptional<z.ZodObject<{
112
+ enabled: z.ZodBoolean;
113
+ }, z.core.$strip>>;
114
+ getProfile: z.ZodOptional<z.ZodObject<{
115
+ enabled: z.ZodBoolean;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>;
118
+ }, z.core.$strip>;
119
+ }, z.core.$strip>;
120
+ }, z.core.$strip>;
121
+ 'slates/auth.input.changed': z.ZodObject<{
122
+ jsonrpc: z.ZodLiteral<"2.0">;
123
+ id: z.ZodString;
124
+ result: z.ZodObject<{
125
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
126
+ }, z.core.$strip>;
127
+ }, z.core.$strip>;
128
+ 'slates/auth.input.get_default': z.ZodObject<{
129
+ jsonrpc: z.ZodLiteral<"2.0">;
130
+ id: z.ZodString;
131
+ result: z.ZodObject<{
132
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
133
+ }, z.core.$strip>;
134
+ }, z.core.$strip>;
135
+ 'slates/auth.authorization_url.get': z.ZodObject<{
136
+ jsonrpc: z.ZodLiteral<"2.0">;
137
+ id: z.ZodString;
138
+ result: z.ZodObject<{
139
+ authorizationUrl: z.ZodString;
140
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
141
+ }, z.core.$strip>;
142
+ }, z.core.$strip>;
143
+ 'slates/auth.authorization_callback.handle': z.ZodObject<{
144
+ jsonrpc: z.ZodLiteral<"2.0">;
145
+ id: z.ZodString;
146
+ result: z.ZodObject<{
147
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
148
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
149
+ }, z.core.$strip>;
150
+ }, z.core.$strip>;
151
+ 'slates/auth.token_refresh.handle': z.ZodObject<{
152
+ jsonrpc: z.ZodLiteral<"2.0">;
153
+ id: z.ZodString;
154
+ result: z.ZodObject<{
155
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
156
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
157
+ }, z.core.$strip>;
158
+ }, z.core.$strip>;
159
+ 'slates/auth.profile.get': z.ZodObject<{
160
+ jsonrpc: z.ZodLiteral<"2.0">;
161
+ id: z.ZodString;
162
+ result: z.ZodObject<{
163
+ profile: z.ZodRecord<z.ZodString, z.ZodAny>;
164
+ }, z.core.$strip>;
165
+ }, z.core.$strip>;
166
+ 'slates/auth.output.get': z.ZodObject<{
167
+ jsonrpc: z.ZodLiteral<"2.0">;
168
+ id: z.ZodString;
169
+ result: z.ZodObject<{
170
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
171
+ }, z.core.$strip>;
172
+ }, z.core.$strip>;
173
+ 'slates/actions.list': z.ZodObject<{
174
+ jsonrpc: z.ZodLiteral<"2.0">;
175
+ id: z.ZodString;
176
+ result: z.ZodObject<{
177
+ actions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
178
+ id: z.ZodString;
179
+ name: z.ZodString;
180
+ description: z.ZodOptional<z.ZodString>;
181
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
182
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ tags: z.ZodOptional<z.ZodObject<{
184
+ destructive: z.ZodOptional<z.ZodBoolean>;
185
+ readOnly: z.ZodOptional<z.ZodBoolean>;
186
+ }, z.core.$strip>>;
187
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
188
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
189
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
190
+ type: z.ZodLiteral<"action.tool">;
191
+ capabilities: z.ZodObject<{}, z.core.$strip>;
192
+ }, z.core.$strip>, z.ZodObject<{
193
+ id: z.ZodString;
194
+ name: z.ZodString;
195
+ description: z.ZodOptional<z.ZodString>;
196
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
197
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
198
+ tags: z.ZodOptional<z.ZodObject<{
199
+ destructive: z.ZodOptional<z.ZodBoolean>;
200
+ readOnly: z.ZodOptional<z.ZodBoolean>;
201
+ }, z.core.$strip>>;
202
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
203
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
204
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
205
+ type: z.ZodLiteral<"action.trigger">;
206
+ capabilities: z.ZodObject<{}, z.core.$strip>;
207
+ invocation: z.ZodUnion<readonly [z.ZodObject<{
208
+ type: z.ZodLiteral<"polling">;
209
+ intervalSeconds: z.ZodNumber;
210
+ }, z.core.$strip>, z.ZodObject<{
211
+ type: z.ZodLiteral<"webhook">;
212
+ autoRegistration: z.ZodBoolean;
213
+ autoUnregistration: z.ZodBoolean;
214
+ }, z.core.$strip>]>;
215
+ }, z.core.$strip>]>>;
216
+ }, z.core.$strip>;
217
+ }, z.core.$strip>;
218
+ 'slates/action.get': z.ZodObject<{
219
+ jsonrpc: z.ZodLiteral<"2.0">;
220
+ id: z.ZodString;
221
+ result: z.ZodObject<{
222
+ action: z.ZodUnion<readonly [z.ZodObject<{
223
+ id: z.ZodString;
224
+ name: z.ZodString;
225
+ description: z.ZodOptional<z.ZodString>;
226
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
227
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
+ tags: z.ZodOptional<z.ZodObject<{
229
+ destructive: z.ZodOptional<z.ZodBoolean>;
230
+ readOnly: z.ZodOptional<z.ZodBoolean>;
231
+ }, z.core.$strip>>;
232
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
233
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
234
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
235
+ type: z.ZodLiteral<"action.tool">;
236
+ capabilities: z.ZodObject<{}, z.core.$strip>;
237
+ }, z.core.$strip>, z.ZodObject<{
238
+ id: z.ZodString;
239
+ name: z.ZodString;
240
+ description: z.ZodOptional<z.ZodString>;
241
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
242
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
243
+ tags: z.ZodOptional<z.ZodObject<{
244
+ destructive: z.ZodOptional<z.ZodBoolean>;
245
+ readOnly: z.ZodOptional<z.ZodBoolean>;
246
+ }, z.core.$strip>>;
247
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
248
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
249
+ outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
250
+ type: z.ZodLiteral<"action.trigger">;
251
+ capabilities: z.ZodObject<{}, z.core.$strip>;
252
+ invocation: z.ZodUnion<readonly [z.ZodObject<{
253
+ type: z.ZodLiteral<"polling">;
254
+ intervalSeconds: z.ZodNumber;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ type: z.ZodLiteral<"webhook">;
257
+ autoRegistration: z.ZodBoolean;
258
+ autoUnregistration: z.ZodBoolean;
259
+ }, z.core.$strip>]>;
260
+ }, z.core.$strip>]>;
261
+ }, z.core.$strip>;
262
+ }, z.core.$strip>;
263
+ 'slates/action.tool.invoke': z.ZodObject<{
264
+ jsonrpc: z.ZodLiteral<"2.0">;
265
+ id: z.ZodString;
266
+ result: z.ZodObject<{
267
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
268
+ message: z.ZodOptional<z.ZodString>;
269
+ }, z.core.$strip>;
270
+ }, z.core.$strip>;
271
+ 'slates/action.trigger.map_event': z.ZodObject<{
272
+ jsonrpc: z.ZodLiteral<"2.0">;
273
+ id: z.ZodString;
274
+ result: z.ZodObject<{
275
+ type: z.ZodString;
276
+ id: z.ZodString;
277
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
278
+ }, z.core.$strip>;
279
+ }, z.core.$strip>;
280
+ 'slates/action.trigger.poll_events': z.ZodObject<{
281
+ jsonrpc: z.ZodLiteral<"2.0">;
282
+ id: z.ZodString;
283
+ result: z.ZodObject<{
284
+ inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
285
+ updatedState: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
286
+ }, z.core.$strip>;
287
+ }, z.core.$strip>;
288
+ 'slates/action.trigger.webhook_handle': z.ZodObject<{
289
+ jsonrpc: z.ZodLiteral<"2.0">;
290
+ id: z.ZodString;
291
+ result: z.ZodObject<{
292
+ inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
293
+ updatedState: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
294
+ }, z.core.$strip>;
295
+ }, z.core.$strip>;
296
+ 'slates/action.trigger.webhook_register': z.ZodObject<{
297
+ jsonrpc: z.ZodLiteral<"2.0">;
298
+ id: z.ZodString;
299
+ result: z.ZodObject<{
300
+ registrationDetails: z.ZodAny;
301
+ state: z.ZodOptional<z.ZodAny>;
302
+ }, z.core.$strip>;
303
+ }, z.core.$strip>;
304
+ 'slates/action.trigger.webhook_unregister': z.ZodObject<{
305
+ jsonrpc: z.ZodLiteral<"2.0">;
306
+ id: z.ZodString;
307
+ result: z.ZodObject<{}, z.core.$strip>;
308
+ }, z.core.$strip>;
309
+ };
310
+ export declare let slatesRequestsByMethod: {
311
+ 'slates/provider.identify': z.ZodObject<{
312
+ jsonrpc: z.ZodLiteral<"2.0">;
313
+ method: z.ZodLiteral<"slates/provider.identify">;
314
+ params: z.ZodObject<{}, z.core.$strip>;
315
+ }, z.core.$strip>;
316
+ 'slates/config.schema.get': z.ZodObject<{
317
+ jsonrpc: z.ZodLiteral<"2.0">;
318
+ method: z.ZodLiteral<"slates/config.schema.get">;
319
+ id: z.ZodString;
320
+ params: z.ZodObject<{}, z.core.$strip>;
321
+ }, z.core.$strip>;
322
+ 'slates/config.get_default': z.ZodObject<{
323
+ jsonrpc: z.ZodLiteral<"2.0">;
324
+ method: z.ZodLiteral<"slates/config.get_default">;
325
+ id: z.ZodString;
326
+ params: z.ZodObject<{}, z.core.$strip>;
327
+ }, z.core.$strip>;
328
+ 'slates/config.changed': z.ZodObject<{
329
+ jsonrpc: z.ZodLiteral<"2.0">;
330
+ method: z.ZodLiteral<"slates/config.changed">;
331
+ id: z.ZodString;
332
+ params: z.ZodObject<{
333
+ previousConfig: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
334
+ newConfig: z.ZodRecord<z.ZodString, z.ZodAny>;
335
+ }, z.core.$strip>;
336
+ }, z.core.$strip>;
337
+ 'slates/auth.methods.list': z.ZodObject<{
338
+ jsonrpc: z.ZodLiteral<"2.0">;
339
+ method: z.ZodLiteral<"slates/auth.methods.list">;
340
+ id: z.ZodString;
341
+ params: z.ZodObject<{}, z.core.$strip>;
342
+ }, z.core.$strip>;
343
+ 'slates/auth.method.get': z.ZodObject<{
344
+ jsonrpc: z.ZodLiteral<"2.0">;
345
+ method: z.ZodLiteral<"slates/auth.method.get">;
346
+ id: z.ZodString;
347
+ params: z.ZodObject<{
348
+ authenticationMethodId: z.ZodString;
349
+ }, z.core.$strip>;
350
+ }, z.core.$strip>;
351
+ 'slates/auth.input.changed': z.ZodObject<{
352
+ jsonrpc: z.ZodLiteral<"2.0">;
353
+ method: z.ZodLiteral<"slates/auth.input.changed">;
354
+ id: z.ZodString;
355
+ params: z.ZodObject<{
356
+ authenticationMethodId: z.ZodString;
357
+ previousInput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
358
+ newInput: z.ZodRecord<z.ZodString, z.ZodAny>;
359
+ }, z.core.$strip>;
360
+ }, z.core.$strip>;
361
+ 'slates/auth.input.get_default': z.ZodObject<{
362
+ jsonrpc: z.ZodLiteral<"2.0">;
363
+ method: z.ZodLiteral<"slates/auth.input.get_default">;
364
+ id: z.ZodString;
365
+ params: z.ZodObject<{
366
+ authenticationMethodId: z.ZodString;
367
+ }, z.core.$strip>;
368
+ }, z.core.$strip>;
369
+ 'slates/auth.authorization_url.get': z.ZodObject<{
370
+ jsonrpc: z.ZodLiteral<"2.0">;
371
+ method: z.ZodLiteral<"slates/auth.authorization_url.get">;
372
+ id: z.ZodString;
373
+ params: z.ZodObject<{
374
+ authenticationMethodId: z.ZodString;
375
+ redirectUri: z.ZodString;
376
+ state: z.ZodString;
377
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
378
+ clientId: z.ZodString;
379
+ clientSecret: z.ZodString;
380
+ scopes: z.ZodArray<z.ZodString>;
381
+ }, z.core.$strip>;
382
+ }, z.core.$strip>;
383
+ 'slates/auth.authorization_callback.handle': z.ZodObject<{
384
+ jsonrpc: z.ZodLiteral<"2.0">;
385
+ method: z.ZodLiteral<"slates/auth.authorization_callback.handle">;
386
+ id: z.ZodString;
387
+ params: z.ZodObject<{
388
+ authenticationMethodId: z.ZodString;
389
+ code: z.ZodString;
390
+ state: z.ZodString;
391
+ redirectUri: z.ZodString;
392
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
393
+ clientId: z.ZodString;
394
+ clientSecret: z.ZodString;
395
+ scopes: z.ZodArray<z.ZodString>;
396
+ }, z.core.$strip>;
397
+ }, z.core.$strip>;
398
+ 'slates/auth.token_refresh.handle': z.ZodObject<{
399
+ jsonrpc: z.ZodLiteral<"2.0">;
400
+ method: z.ZodLiteral<"slates/auth.token_refresh.handle">;
401
+ id: z.ZodString;
402
+ params: z.ZodObject<{
403
+ authenticationMethodId: z.ZodString;
404
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
405
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
406
+ clientId: z.ZodString;
407
+ clientSecret: z.ZodString;
408
+ scopes: z.ZodArray<z.ZodString>;
409
+ }, z.core.$strip>;
410
+ }, z.core.$strip>;
411
+ 'slates/auth.profile.get': z.ZodObject<{
412
+ jsonrpc: z.ZodLiteral<"2.0">;
413
+ method: z.ZodLiteral<"slates/auth.profile.get">;
414
+ id: z.ZodString;
415
+ params: z.ZodObject<{
416
+ authenticationMethodId: z.ZodString;
417
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
418
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
419
+ scopes: z.ZodArray<z.ZodString>;
420
+ }, z.core.$strip>;
421
+ }, z.core.$strip>;
422
+ 'slates/auth.output.get': z.ZodObject<{
423
+ jsonrpc: z.ZodLiteral<"2.0">;
424
+ method: z.ZodLiteral<"slates/auth.output.get">;
425
+ id: z.ZodString;
426
+ params: z.ZodObject<{
427
+ authenticationMethodId: z.ZodString;
428
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
429
+ }, z.core.$strip>;
430
+ }, z.core.$strip>;
431
+ 'slates/actions.list': z.ZodObject<{
432
+ jsonrpc: z.ZodLiteral<"2.0">;
433
+ method: z.ZodLiteral<"slates/actions.list">;
434
+ id: z.ZodString;
435
+ params: z.ZodObject<{}, z.core.$strip>;
436
+ }, z.core.$strip>;
437
+ 'slates/action.get': z.ZodObject<{
438
+ jsonrpc: z.ZodLiteral<"2.0">;
439
+ method: z.ZodLiteral<"slates/action.get">;
440
+ id: z.ZodString;
441
+ params: z.ZodObject<{
442
+ actionId: z.ZodString;
443
+ }, z.core.$strip>;
444
+ }, z.core.$strip>;
445
+ 'slates/action.tool.invoke': z.ZodObject<{
446
+ jsonrpc: z.ZodLiteral<"2.0">;
447
+ method: z.ZodLiteral<"slates/action.tool.invoke">;
448
+ id: z.ZodString;
449
+ params: z.ZodObject<{
450
+ actionId: z.ZodString;
451
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
452
+ }, z.core.$strip>;
453
+ }, z.core.$strip>;
454
+ 'slates/action.trigger.map_event': z.ZodObject<{
455
+ jsonrpc: z.ZodLiteral<"2.0">;
456
+ method: z.ZodLiteral<"slates/action.trigger.map_event">;
457
+ id: z.ZodString;
458
+ params: z.ZodObject<{
459
+ actionId: z.ZodString;
460
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
461
+ }, z.core.$strip>;
462
+ }, z.core.$strip>;
463
+ 'slates/action.trigger.poll_events': z.ZodObject<{
464
+ jsonrpc: z.ZodLiteral<"2.0">;
465
+ method: z.ZodLiteral<"slates/action.trigger.poll_events">;
466
+ id: z.ZodString;
467
+ params: z.ZodObject<{
468
+ actionId: z.ZodString;
469
+ state: z.ZodNullable<z.ZodAny>;
470
+ }, z.core.$strip>;
471
+ }, z.core.$strip>;
472
+ 'slates/action.trigger.webhook_handle': z.ZodObject<{
473
+ jsonrpc: z.ZodLiteral<"2.0">;
474
+ method: z.ZodLiteral<"slates/action.trigger.webhook_handle">;
475
+ id: z.ZodString;
476
+ params: z.ZodObject<{
477
+ actionId: z.ZodString;
478
+ url: z.ZodString;
479
+ method: z.ZodString;
480
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
481
+ body: z.ZodNullable<z.ZodObject<{
482
+ encoding: z.ZodLiteral<"base64">;
483
+ content: z.ZodString;
484
+ }, z.core.$strip>>;
485
+ state: z.ZodNullable<z.ZodAny>;
486
+ }, z.core.$strip>;
487
+ }, z.core.$strip>;
488
+ 'slates/action.trigger.webhook_register': z.ZodObject<{
489
+ jsonrpc: z.ZodLiteral<"2.0">;
490
+ method: z.ZodLiteral<"slates/action.trigger.webhook_register">;
491
+ id: z.ZodString;
492
+ params: z.ZodObject<{
493
+ actionId: z.ZodString;
494
+ webhookBaseUrl: z.ZodString;
495
+ }, z.core.$strip>;
496
+ }, z.core.$strip>;
497
+ 'slates/action.trigger.webhook_unregister': z.ZodObject<{
498
+ jsonrpc: z.ZodLiteral<"2.0">;
499
+ method: z.ZodLiteral<"slates/action.trigger.webhook_unregister">;
500
+ id: z.ZodString;
501
+ params: z.ZodObject<{
502
+ actionId: z.ZodString;
503
+ webhookBaseUrl: z.ZodString;
504
+ registrationDetails: z.ZodAny;
505
+ state: z.ZodOptional<z.ZodAny>;
506
+ }, z.core.$strip>;
507
+ }, z.core.$strip>;
508
+ };
509
+ export declare let slatesNotificationsByMethod: {
510
+ 'slates/hello': z.ZodObject<{
511
+ jsonrpc: z.ZodLiteral<"2.0">;
512
+ method: z.ZodLiteral<"slates/hello">;
513
+ params: z.ZodObject<{
514
+ protocol: z.ZodLiteral<"slates@2026-01-01">;
515
+ }, z.core.$strip>;
516
+ }, z.core.$strip>;
517
+ 'slates/participant.set': z.ZodObject<{
518
+ jsonrpc: z.ZodLiteral<"2.0">;
519
+ method: z.ZodLiteral<"slates/participant.set">;
520
+ params: z.ZodObject<{
521
+ participants: z.ZodArray<z.ZodObject<{
522
+ type: z.ZodUnion<readonly [z.ZodLiteral<"consumer">, z.ZodLiteral<"hub">]>;
523
+ id: z.ZodString;
524
+ name: z.ZodString;
525
+ description: z.ZodOptional<z.ZodString>;
526
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
527
+ }, z.core.$strip>>;
528
+ }, z.core.$strip>;
529
+ }, z.core.$strip>;
530
+ 'slates/session.start': z.ZodObject<{
531
+ jsonrpc: z.ZodLiteral<"2.0">;
532
+ method: z.ZodLiteral<"slates/session.start">;
533
+ params: z.ZodObject<{
534
+ sessionId: z.ZodString;
535
+ state: z.ZodRecord<z.ZodString, z.ZodAny>;
536
+ }, z.core.$strip>;
537
+ }, z.core.$strip>;
538
+ 'slates/config.set': z.ZodObject<{
539
+ jsonrpc: z.ZodLiteral<"2.0">;
540
+ method: z.ZodLiteral<"slates/config.set">;
541
+ params: z.ZodObject<{
542
+ config: z.ZodRecord<z.ZodString, z.ZodAny>;
543
+ }, z.core.$strip>;
544
+ }, z.core.$strip>;
545
+ 'slates/auth.set': z.ZodObject<{
546
+ jsonrpc: z.ZodLiteral<"2.0">;
547
+ method: z.ZodLiteral<"slates/auth.set">;
548
+ params: z.ZodObject<{
549
+ authenticationMethodId: z.ZodString;
550
+ output: z.ZodRecord<z.ZodString, z.ZodAny>;
551
+ }, z.core.$strip>;
552
+ }, z.core.$strip>;
553
+ };
554
+ export type SlatesResponsesByMethod = {
555
+ [key in keyof typeof slatesResponsesByMethod]: z.infer<(typeof slatesResponsesByMethod)[key]>;
556
+ };
557
+ //# sourceMappingURL=index.d.ts.map