@wiro-ai/wiro-mcp 1.5.0 → 1.5.2

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 (68) hide show
  1. package/dist/playbooks.js +1 -1
  2. package/dist/tools/apply-agent-skills.d.ts.map +1 -1
  3. package/dist/tools/apply-agent-skills.js +120 -27
  4. package/dist/tools/apply-agent-skills.js.map +1 -1
  5. package/dist/tools/bind-agent-project.d.ts.map +1 -1
  6. package/dist/tools/bind-agent-project.js +8 -6
  7. package/dist/tools/bind-agent-project.js.map +1 -1
  8. package/dist/tools/connect-agent-oauth.d.ts.map +1 -1
  9. package/dist/tools/connect-agent-oauth.js +35 -14
  10. package/dist/tools/connect-agent-oauth.js.map +1 -1
  11. package/dist/tools/create-workflow.d.ts +11 -64
  12. package/dist/tools/create-workflow.d.ts.map +1 -1
  13. package/dist/tools/deploy-agent.d.ts.map +1 -1
  14. package/dist/tools/deploy-agent.js +51 -18
  15. package/dist/tools/deploy-agent.js.map +1 -1
  16. package/dist/tools/get-agent-template.d.ts.map +1 -1
  17. package/dist/tools/get-agent-template.js +3 -2
  18. package/dist/tools/get-agent-template.js.map +1 -1
  19. package/dist/tools/get-my-agent.d.ts.map +1 -1
  20. package/dist/tools/get-my-agent.js +4 -3
  21. package/dist/tools/get-my-agent.js.map +1 -1
  22. package/dist/tools/list-agent-skills.d.ts.map +1 -1
  23. package/dist/tools/list-agent-skills.js +6 -4
  24. package/dist/tools/list-agent-skills.js.map +1 -1
  25. package/dist/tools/manage-agent-custom-skill.d.ts.map +1 -1
  26. package/dist/tools/manage-agent-custom-skill.js +32 -4
  27. package/dist/tools/manage-agent-custom-skill.js.map +1 -1
  28. package/dist/tools/run-workflow.d.ts +1 -1
  29. package/dist/tools/run-workflow.d.ts.map +1 -1
  30. package/dist/tools/schemas.d.ts +187 -1582
  31. package/dist/tools/schemas.d.ts.map +1 -1
  32. package/dist/tools/schemas.js +15 -16
  33. package/dist/tools/schemas.js.map +1 -1
  34. package/dist/tools/send-agent-message.js +1 -1
  35. package/dist/tools/send-agent-message.js.map +1 -1
  36. package/dist/tools/set-agent-credentials.d.ts.map +1 -1
  37. package/dist/tools/set-agent-credentials.js +10 -6
  38. package/dist/tools/set-agent-credentials.js.map +1 -1
  39. package/dist/tools/update-agent.d.ts.map +1 -1
  40. package/dist/tools/update-agent.js +5 -3
  41. package/dist/tools/update-agent.js.map +1 -1
  42. package/dist/tools/update-workflow.d.ts +41 -324
  43. package/dist/tools/update-workflow.d.ts.map +1 -1
  44. package/dist/tools/upload-file.js +1 -1
  45. package/dist/tools/upload-file.js.map +1 -1
  46. package/dist/tools/wait-for-workflow-run.d.ts +18 -156
  47. package/dist/tools/wait-for-workflow-run.d.ts.map +1 -1
  48. package/dist/utils/agent-catalog.d.ts +80 -1066
  49. package/dist/utils/agent-catalog.d.ts.map +1 -1
  50. package/dist/utils/agent-config.d.ts +65 -3
  51. package/dist/utils/agent-config.d.ts.map +1 -1
  52. package/dist/utils/agent-config.js +136 -21
  53. package/dist/utils/agent-config.js.map +1 -1
  54. package/dist/utils/agent-message.d.ts +24 -65
  55. package/dist/utils/agent-message.d.ts.map +1 -1
  56. package/dist/utils/agent-turns.d.ts +45 -204
  57. package/dist/utils/agent-turns.d.ts.map +1 -1
  58. package/dist/utils/studio-runs.d.ts +8 -49
  59. package/dist/utils/studio-runs.d.ts.map +1 -1
  60. package/dist/utils/user-agent.d.ts +213 -902
  61. package/dist/utils/user-agent.d.ts.map +1 -1
  62. package/dist/utils/user-agent.js +156 -8
  63. package/dist/utils/user-agent.js.map +1 -1
  64. package/dist/utils/workflow-agent.d.ts +12 -73
  65. package/dist/utils/workflow-agent.d.ts.map +1 -1
  66. package/dist/utils/workflow.d.ts +31 -394
  67. package/dist/utils/workflow.d.ts.map +1 -1
  68. package/package.json +2 -2
@@ -5,86 +5,20 @@ export declare const templateSummarySchema: z.ZodObject<{
5
5
  slug: z.ZodString;
6
6
  title: z.ZodString;
7
7
  summary: z.ZodOptional<z.ZodString>;
8
- categories: z.ZodArray<z.ZodString, "many">;
8
+ categories: z.ZodArray<z.ZodString>;
9
9
  cover: z.ZodOptional<z.ZodString>;
10
10
  pricing: z.ZodNullable<z.ZodObject<{
11
11
  starter: z.ZodObject<{
12
12
  priceUsd: z.ZodNumber;
13
13
  monthlyCredits: z.ZodNumber;
14
- }, "strip", z.ZodTypeAny, {
15
- priceUsd: number;
16
- monthlyCredits: number;
17
- }, {
18
- priceUsd: number;
19
- monthlyCredits: number;
20
- }>;
14
+ }, z.core.$strip>;
21
15
  pro: z.ZodObject<{
22
16
  priceUsd: z.ZodNumber;
23
17
  monthlyCredits: z.ZodNumber;
24
- }, "strip", z.ZodTypeAny, {
25
- priceUsd: number;
26
- monthlyCredits: number;
27
- }, {
28
- priceUsd: number;
29
- monthlyCredits: number;
30
- }>;
31
- }, "strip", z.ZodTypeAny, {
32
- starter: {
33
- priceUsd: number;
34
- monthlyCredits: number;
35
- };
36
- pro: {
37
- priceUsd: number;
38
- monthlyCredits: number;
39
- };
40
- }, {
41
- starter: {
42
- priceUsd: number;
43
- monthlyCredits: number;
44
- };
45
- pro: {
46
- priceUsd: number;
47
- monthlyCredits: number;
48
- };
49
- }>>;
18
+ }, z.core.$strip>;
19
+ }, z.core.$strip>>;
50
20
  tierMultiplier: z.ZodOptional<z.ZodNumber>;
51
- }, "strip", z.ZodTypeAny, {
52
- categories: string[];
53
- guid: string;
54
- title: string;
55
- slug: string;
56
- pricing: {
57
- starter: {
58
- priceUsd: number;
59
- monthlyCredits: number;
60
- };
61
- pro: {
62
- priceUsd: number;
63
- monthlyCredits: number;
64
- };
65
- } | null;
66
- summary?: string | undefined;
67
- cover?: string | undefined;
68
- tierMultiplier?: number | undefined;
69
- }, {
70
- categories: string[];
71
- guid: string;
72
- title: string;
73
- slug: string;
74
- pricing: {
75
- starter: {
76
- priceUsd: number;
77
- monthlyCredits: number;
78
- };
79
- pro: {
80
- priceUsd: number;
81
- monthlyCredits: number;
82
- };
83
- } | null;
84
- summary?: string | undefined;
85
- cover?: string | undefined;
86
- tierMultiplier?: number | undefined;
87
- }>;
21
+ }, z.core.$strip>;
88
22
  export type TemplateSummary = z.infer<typeof templateSummarySchema>;
89
23
  export declare function toTemplateSummary(row: Record<string, unknown>): TemplateSummary;
90
24
  export declare const credentialFieldSchema: z.ZodObject<{
@@ -92,271 +26,86 @@ export declare const credentialFieldSchema: z.ZodObject<{
92
26
  label: z.ZodString;
93
27
  type: z.ZodOptional<z.ZodString>;
94
28
  required: z.ZodBoolean;
95
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
96
- }, "strip", z.ZodTypeAny, {
97
- required: boolean;
98
- key: string;
99
- label: string;
100
- type?: string | undefined;
101
- onlyInModes?: string[] | undefined;
102
- }, {
103
- required: boolean;
104
- key: string;
105
- label: string;
106
- type?: string | undefined;
107
- onlyInModes?: string[] | undefined;
108
- }>;
29
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
+ }, z.core.$strip>;
109
31
  export declare const credentialRequirementSchema: z.ZodObject<{
110
32
  key: z.ZodString;
111
33
  title: z.ZodString;
112
34
  mode: z.ZodOptional<z.ZodString>;
113
35
  oauth: z.ZodBoolean;
114
- connectionModes: z.ZodArray<z.ZodString, "many">;
36
+ connectionModes: z.ZodArray<z.ZodString>;
115
37
  note: z.ZodOptional<z.ZodString>;
116
38
  fields: z.ZodArray<z.ZodObject<{
117
39
  key: z.ZodString;
118
40
  label: z.ZodString;
119
41
  type: z.ZodOptional<z.ZodString>;
120
42
  required: z.ZodBoolean;
121
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
122
- }, "strip", z.ZodTypeAny, {
123
- required: boolean;
124
- key: string;
125
- label: string;
126
- type?: string | undefined;
127
- onlyInModes?: string[] | undefined;
128
- }, {
129
- required: boolean;
130
- key: string;
131
- label: string;
132
- type?: string | undefined;
133
- onlyInModes?: string[] | undefined;
134
- }>, "many">;
135
- }, "strip", z.ZodTypeAny, {
136
- key: string;
137
- title: string;
138
- fields: {
139
- required: boolean;
140
- key: string;
141
- label: string;
142
- type?: string | undefined;
143
- onlyInModes?: string[] | undefined;
144
- }[];
145
- oauth: boolean;
146
- connectionModes: string[];
147
- note?: string | undefined;
148
- mode?: string | undefined;
149
- }, {
150
- key: string;
151
- title: string;
152
- fields: {
153
- required: boolean;
154
- key: string;
155
- label: string;
156
- type?: string | undefined;
157
- onlyInModes?: string[] | undefined;
158
- }[];
159
- oauth: boolean;
160
- connectionModes: string[];
161
- note?: string | undefined;
162
- mode?: string | undefined;
163
- }>;
43
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
+ }, z.core.$strip>>;
45
+ }, z.core.$strip>;
164
46
  export type CredentialRequirement = z.infer<typeof credentialRequirementSchema>;
165
47
  export declare const templateDetailSchema: z.ZodObject<{
166
48
  guid: z.ZodString;
167
49
  slug: z.ZodString;
168
50
  title: z.ZodString;
169
51
  summary: z.ZodOptional<z.ZodString>;
170
- categories: z.ZodArray<z.ZodString, "many">;
52
+ categories: z.ZodArray<z.ZodString>;
171
53
  cover: z.ZodOptional<z.ZodString>;
172
54
  pricing: z.ZodNullable<z.ZodObject<{
173
55
  starter: z.ZodObject<{
174
56
  priceUsd: z.ZodNumber;
175
57
  monthlyCredits: z.ZodNumber;
176
- }, "strip", z.ZodTypeAny, {
177
- priceUsd: number;
178
- monthlyCredits: number;
179
- }, {
180
- priceUsd: number;
181
- monthlyCredits: number;
182
- }>;
58
+ }, z.core.$strip>;
183
59
  pro: z.ZodObject<{
184
60
  priceUsd: z.ZodNumber;
185
61
  monthlyCredits: z.ZodNumber;
186
- }, "strip", z.ZodTypeAny, {
187
- priceUsd: number;
188
- monthlyCredits: number;
189
- }, {
190
- priceUsd: number;
191
- monthlyCredits: number;
192
- }>;
193
- }, "strip", z.ZodTypeAny, {
194
- starter: {
195
- priceUsd: number;
196
- monthlyCredits: number;
197
- };
198
- pro: {
199
- priceUsd: number;
200
- monthlyCredits: number;
201
- };
202
- }, {
203
- starter: {
204
- priceUsd: number;
205
- monthlyCredits: number;
206
- };
207
- pro: {
208
- priceUsd: number;
209
- monthlyCredits: number;
210
- };
211
- }>>;
62
+ }, z.core.$strip>;
63
+ }, z.core.$strip>>;
212
64
  tierMultiplier: z.ZodOptional<z.ZodNumber>;
213
- } & {
214
65
  description: z.ZodOptional<z.ZodString>;
215
66
  skills: z.ZodArray<z.ZodObject<{
216
67
  name: z.ZodString;
217
68
  title: z.ZodOptional<z.ZodString>;
218
69
  description: z.ZodOptional<z.ZodString>;
219
70
  credentialKey: z.ZodOptional<z.ZodString>;
220
- additionalCredentialKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
221
- }, "strip", z.ZodTypeAny, {
222
- name: string;
223
- description?: string | undefined;
224
- title?: string | undefined;
225
- credentialKey?: string | undefined;
226
- additionalCredentialKeys?: string[] | undefined;
227
- }, {
228
- name: string;
229
- description?: string | undefined;
230
- title?: string | undefined;
231
- credentialKey?: string | undefined;
232
- additionalCredentialKeys?: string[] | undefined;
233
- }>, "many">;
71
+ additionalCredentialKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ }, z.core.$strip>>;
234
73
  requiredCredentials: z.ZodArray<z.ZodObject<{
235
74
  key: z.ZodString;
236
75
  title: z.ZodString;
237
76
  mode: z.ZodOptional<z.ZodString>;
238
77
  oauth: z.ZodBoolean;
239
- connectionModes: z.ZodArray<z.ZodString, "many">;
78
+ connectionModes: z.ZodArray<z.ZodString>;
240
79
  note: z.ZodOptional<z.ZodString>;
241
80
  fields: z.ZodArray<z.ZodObject<{
242
81
  key: z.ZodString;
243
82
  label: z.ZodString;
244
83
  type: z.ZodOptional<z.ZodString>;
245
84
  required: z.ZodBoolean;
246
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
247
- }, "strip", z.ZodTypeAny, {
248
- required: boolean;
249
- key: string;
250
- label: string;
251
- type?: string | undefined;
252
- onlyInModes?: string[] | undefined;
253
- }, {
254
- required: boolean;
255
- key: string;
256
- label: string;
257
- type?: string | undefined;
258
- onlyInModes?: string[] | undefined;
259
- }>, "many">;
260
- }, "strip", z.ZodTypeAny, {
261
- key: string;
262
- title: string;
263
- fields: {
264
- required: boolean;
265
- key: string;
266
- label: string;
267
- type?: string | undefined;
268
- onlyInModes?: string[] | undefined;
269
- }[];
270
- oauth: boolean;
271
- connectionModes: string[];
272
- note?: string | undefined;
273
- mode?: string | undefined;
274
- }, {
275
- key: string;
276
- title: string;
277
- fields: {
278
- required: boolean;
279
- key: string;
280
- label: string;
281
- type?: string | undefined;
282
- onlyInModes?: string[] | undefined;
283
- }[];
284
- oauth: boolean;
285
- connectionModes: string[];
286
- note?: string | undefined;
287
- mode?: string | undefined;
288
- }>, "many">;
85
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
86
+ }, z.core.$strip>>;
87
+ }, z.core.$strip>>;
289
88
  optionalCredentials: z.ZodArray<z.ZodObject<{
290
89
  key: z.ZodString;
291
90
  title: z.ZodString;
292
91
  mode: z.ZodOptional<z.ZodString>;
293
92
  oauth: z.ZodBoolean;
294
- connectionModes: z.ZodArray<z.ZodString, "many">;
93
+ connectionModes: z.ZodArray<z.ZodString>;
295
94
  note: z.ZodOptional<z.ZodString>;
296
95
  fields: z.ZodArray<z.ZodObject<{
297
96
  key: z.ZodString;
298
97
  label: z.ZodString;
299
98
  type: z.ZodOptional<z.ZodString>;
300
99
  required: z.ZodBoolean;
301
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
302
- }, "strip", z.ZodTypeAny, {
303
- required: boolean;
304
- key: string;
305
- label: string;
306
- type?: string | undefined;
307
- onlyInModes?: string[] | undefined;
308
- }, {
309
- required: boolean;
310
- key: string;
311
- label: string;
312
- type?: string | undefined;
313
- onlyInModes?: string[] | undefined;
314
- }>, "many">;
315
- }, "strip", z.ZodTypeAny, {
316
- key: string;
317
- title: string;
318
- fields: {
319
- required: boolean;
320
- key: string;
321
- label: string;
322
- type?: string | undefined;
323
- onlyInModes?: string[] | undefined;
324
- }[];
325
- oauth: boolean;
326
- connectionModes: string[];
327
- note?: string | undefined;
328
- mode?: string | undefined;
329
- }, {
330
- key: string;
331
- title: string;
332
- fields: {
333
- required: boolean;
334
- key: string;
335
- label: string;
336
- type?: string | undefined;
337
- onlyInModes?: string[] | undefined;
338
- }[];
339
- oauth: boolean;
340
- connectionModes: string[];
341
- note?: string | undefined;
342
- mode?: string | undefined;
343
- }>, "many">;
100
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
+ }, z.core.$strip>>;
102
+ }, z.core.$strip>>;
344
103
  channels: z.ZodArray<z.ZodObject<{
345
104
  id: z.ZodString;
346
105
  title: z.ZodString;
347
106
  credentialKey: z.ZodString;
348
- requiredFields: z.ZodArray<z.ZodString, "many">;
349
- }, "strip", z.ZodTypeAny, {
350
- id: string;
351
- title: string;
352
- credentialKey: string;
353
- requiredFields: string[];
354
- }, {
355
- id: string;
356
- title: string;
357
- credentialKey: string;
358
- requiredFields: string[];
359
- }>, "many">;
107
+ requiredFields: z.ZodArray<z.ZodString>;
108
+ }, z.core.$strip>>;
360
109
  models: z.ZodObject<{
361
110
  default: z.ZodOptional<z.ZodString>;
362
111
  selectable: z.ZodArray<z.ZodObject<{
@@ -366,285 +115,43 @@ export declare const templateDetailSchema: z.ZodObject<{
366
115
  inputCreditsPer1M: z.ZodOptional<z.ZodNumber>;
367
116
  outputCreditsPer1M: z.ZodOptional<z.ZodNumber>;
368
117
  cachedInputCreditsPer1M: z.ZodOptional<z.ZodNumber>;
369
- }, "strip", z.ZodTypeAny, {
370
- slug: string;
371
- label?: string | undefined;
372
- inputCreditsPer1M?: number | undefined;
373
- outputCreditsPer1M?: number | undefined;
374
- tier?: string | undefined;
375
- cachedInputCreditsPer1M?: number | undefined;
376
- }, {
377
- slug: string;
378
- label?: string | undefined;
379
- inputCreditsPer1M?: number | undefined;
380
- outputCreditsPer1M?: number | undefined;
381
- tier?: string | undefined;
382
- cachedInputCreditsPer1M?: number | undefined;
383
- }>, "many">;
384
- }, "strip", z.ZodTypeAny, {
385
- selectable: {
386
- slug: string;
387
- label?: string | undefined;
388
- inputCreditsPer1M?: number | undefined;
389
- outputCreditsPer1M?: number | undefined;
390
- tier?: string | undefined;
391
- cachedInputCreditsPer1M?: number | undefined;
392
- }[];
393
- default?: string | undefined;
394
- }, {
395
- selectable: {
396
- slug: string;
397
- label?: string | undefined;
398
- inputCreditsPer1M?: number | undefined;
399
- outputCreditsPer1M?: number | undefined;
400
- tier?: string | undefined;
401
- cachedInputCreditsPer1M?: number | undefined;
402
- }[];
403
- default?: string | undefined;
404
- }>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>;
405
120
  scheduledTasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
406
121
  key: z.ZodString;
407
122
  description: z.ZodOptional<z.ZodString>;
408
123
  enabled: z.ZodBoolean;
409
124
  notWritten: z.ZodOptional<z.ZodBoolean>;
125
+ ownerSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
+ skillOff: z.ZodOptional<z.ZodBoolean>;
127
+ offSkills: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
410
128
  interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
- source: z.ZodOptional<z.ZodEnum<["template", "skill", "user"]>>;
129
+ source: z.ZodOptional<z.ZodEnum<{
130
+ user: "user";
131
+ template: "template";
132
+ skill: "skill";
133
+ }>>;
412
134
  instructions: z.ZodOptional<z.ZodString>;
413
135
  instructionsTruncated: z.ZodOptional<z.ZodBoolean>;
414
- }, "strip", z.ZodTypeAny, {
415
- key: string;
416
- enabled: boolean;
417
- instructions?: string | undefined;
418
- description?: string | undefined;
419
- notWritten?: boolean | undefined;
420
- interval?: string | null | undefined;
421
- source?: "user" | "template" | "skill" | undefined;
422
- instructionsTruncated?: boolean | undefined;
423
- }, {
424
- key: string;
425
- enabled: boolean;
426
- instructions?: string | undefined;
427
- description?: string | undefined;
428
- notWritten?: boolean | undefined;
429
- interval?: string | null | undefined;
430
- source?: "user" | "template" | "skill" | undefined;
431
- instructionsTruncated?: boolean | undefined;
432
- }>, "many">>;
136
+ }, z.core.$strip>>>;
433
137
  customInstructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
434
138
  key: z.ZodString;
435
139
  description: z.ZodOptional<z.ZodString>;
436
140
  enabled: z.ZodBoolean;
437
141
  notWritten: z.ZodOptional<z.ZodBoolean>;
142
+ ownerSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
143
+ skillOff: z.ZodOptional<z.ZodBoolean>;
144
+ offSkills: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
438
145
  interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
439
- source: z.ZodOptional<z.ZodEnum<["template", "skill", "user"]>>;
146
+ source: z.ZodOptional<z.ZodEnum<{
147
+ user: "user";
148
+ template: "template";
149
+ skill: "skill";
150
+ }>>;
440
151
  instructions: z.ZodOptional<z.ZodString>;
441
152
  instructionsTruncated: z.ZodOptional<z.ZodBoolean>;
442
- }, "strip", z.ZodTypeAny, {
443
- key: string;
444
- enabled: boolean;
445
- instructions?: string | undefined;
446
- description?: string | undefined;
447
- notWritten?: boolean | undefined;
448
- interval?: string | null | undefined;
449
- source?: "user" | "template" | "skill" | undefined;
450
- instructionsTruncated?: boolean | undefined;
451
- }, {
452
- key: string;
453
- enabled: boolean;
454
- instructions?: string | undefined;
455
- description?: string | undefined;
456
- notWritten?: boolean | undefined;
457
- interval?: string | null | undefined;
458
- source?: "user" | "template" | "skill" | undefined;
459
- instructionsTruncated?: boolean | undefined;
460
- }>, "many">>;
461
- }, "strip", z.ZodTypeAny, {
462
- categories: string[];
463
- guid: string;
464
- title: string;
465
- slug: string;
466
- pricing: {
467
- starter: {
468
- priceUsd: number;
469
- monthlyCredits: number;
470
- };
471
- pro: {
472
- priceUsd: number;
473
- monthlyCredits: number;
474
- };
475
- } | null;
476
- models: {
477
- selectable: {
478
- slug: string;
479
- label?: string | undefined;
480
- inputCreditsPer1M?: number | undefined;
481
- outputCreditsPer1M?: number | undefined;
482
- tier?: string | undefined;
483
- cachedInputCreditsPer1M?: number | undefined;
484
- }[];
485
- default?: string | undefined;
486
- };
487
- skills: {
488
- name: string;
489
- description?: string | undefined;
490
- title?: string | undefined;
491
- credentialKey?: string | undefined;
492
- additionalCredentialKeys?: string[] | undefined;
493
- }[];
494
- channels: {
495
- id: string;
496
- title: string;
497
- credentialKey: string;
498
- requiredFields: string[];
499
- }[];
500
- requiredCredentials: {
501
- key: string;
502
- title: string;
503
- fields: {
504
- required: boolean;
505
- key: string;
506
- label: string;
507
- type?: string | undefined;
508
- onlyInModes?: string[] | undefined;
509
- }[];
510
- oauth: boolean;
511
- connectionModes: string[];
512
- note?: string | undefined;
513
- mode?: string | undefined;
514
- }[];
515
- optionalCredentials: {
516
- key: string;
517
- title: string;
518
- fields: {
519
- required: boolean;
520
- key: string;
521
- label: string;
522
- type?: string | undefined;
523
- onlyInModes?: string[] | undefined;
524
- }[];
525
- oauth: boolean;
526
- connectionModes: string[];
527
- note?: string | undefined;
528
- mode?: string | undefined;
529
- }[];
530
- summary?: string | undefined;
531
- description?: string | undefined;
532
- cover?: string | undefined;
533
- scheduledTasks?: {
534
- key: string;
535
- enabled: boolean;
536
- instructions?: string | undefined;
537
- description?: string | undefined;
538
- notWritten?: boolean | undefined;
539
- interval?: string | null | undefined;
540
- source?: "user" | "template" | "skill" | undefined;
541
- instructionsTruncated?: boolean | undefined;
542
- }[] | undefined;
543
- customInstructions?: {
544
- key: string;
545
- enabled: boolean;
546
- instructions?: string | undefined;
547
- description?: string | undefined;
548
- notWritten?: boolean | undefined;
549
- interval?: string | null | undefined;
550
- source?: "user" | "template" | "skill" | undefined;
551
- instructionsTruncated?: boolean | undefined;
552
- }[] | undefined;
553
- tierMultiplier?: number | undefined;
554
- }, {
555
- categories: string[];
556
- guid: string;
557
- title: string;
558
- slug: string;
559
- pricing: {
560
- starter: {
561
- priceUsd: number;
562
- monthlyCredits: number;
563
- };
564
- pro: {
565
- priceUsd: number;
566
- monthlyCredits: number;
567
- };
568
- } | null;
569
- models: {
570
- selectable: {
571
- slug: string;
572
- label?: string | undefined;
573
- inputCreditsPer1M?: number | undefined;
574
- outputCreditsPer1M?: number | undefined;
575
- tier?: string | undefined;
576
- cachedInputCreditsPer1M?: number | undefined;
577
- }[];
578
- default?: string | undefined;
579
- };
580
- skills: {
581
- name: string;
582
- description?: string | undefined;
583
- title?: string | undefined;
584
- credentialKey?: string | undefined;
585
- additionalCredentialKeys?: string[] | undefined;
586
- }[];
587
- channels: {
588
- id: string;
589
- title: string;
590
- credentialKey: string;
591
- requiredFields: string[];
592
- }[];
593
- requiredCredentials: {
594
- key: string;
595
- title: string;
596
- fields: {
597
- required: boolean;
598
- key: string;
599
- label: string;
600
- type?: string | undefined;
601
- onlyInModes?: string[] | undefined;
602
- }[];
603
- oauth: boolean;
604
- connectionModes: string[];
605
- note?: string | undefined;
606
- mode?: string | undefined;
607
- }[];
608
- optionalCredentials: {
609
- key: string;
610
- title: string;
611
- fields: {
612
- required: boolean;
613
- key: string;
614
- label: string;
615
- type?: string | undefined;
616
- onlyInModes?: string[] | undefined;
617
- }[];
618
- oauth: boolean;
619
- connectionModes: string[];
620
- note?: string | undefined;
621
- mode?: string | undefined;
622
- }[];
623
- summary?: string | undefined;
624
- description?: string | undefined;
625
- cover?: string | undefined;
626
- scheduledTasks?: {
627
- key: string;
628
- enabled: boolean;
629
- instructions?: string | undefined;
630
- description?: string | undefined;
631
- notWritten?: boolean | undefined;
632
- interval?: string | null | undefined;
633
- source?: "user" | "template" | "skill" | undefined;
634
- instructionsTruncated?: boolean | undefined;
635
- }[] | undefined;
636
- customInstructions?: {
637
- key: string;
638
- enabled: boolean;
639
- instructions?: string | undefined;
640
- description?: string | undefined;
641
- notWritten?: boolean | undefined;
642
- interval?: string | null | undefined;
643
- source?: "user" | "template" | "skill" | undefined;
644
- instructionsTruncated?: boolean | undefined;
645
- }[] | undefined;
646
- tierMultiplier?: number | undefined;
647
- }>;
153
+ }, z.core.$strip>>>;
154
+ }, z.core.$strip>;
648
155
  export type TemplateDetail = z.infer<typeof templateDetailSchema>;
649
156
  /**
650
157
  * Reads one template by slug or guid. Wiro says "Agent not found" for a template
@@ -657,50 +164,18 @@ export declare const skillSummarySchema: z.ZodObject<{
657
164
  title: z.ZodString;
658
165
  description: z.ZodOptional<z.ZodString>;
659
166
  category: z.ZodOptional<z.ZodString>;
660
- capabilities: z.ZodArray<z.ZodString, "many">;
167
+ capabilities: z.ZodArray<z.ZodString>;
661
168
  requiresCredentials: z.ZodBoolean;
662
169
  credentialKey: z.ZodOptional<z.ZodString>;
663
- additionalCredentialKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
664
- dependsOn: z.ZodArray<z.ZodString, "many">;
665
- conflictsWith: z.ZodArray<z.ZodString, "many">;
170
+ additionalCredentialKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
+ dependsOn: z.ZodArray<z.ZodString>;
172
+ conflictsWith: z.ZodArray<z.ZodString>;
666
173
  userInvocable: z.ZodOptional<z.ZodBoolean>;
667
174
  deprecated: z.ZodBoolean;
668
175
  replacement: z.ZodOptional<z.ZodString>;
669
176
  monthlyPriceUsd: z.ZodNumber;
670
177
  monthlyCredits: z.ZodNumber;
671
- }, "strip", z.ZodTypeAny, {
672
- name: string;
673
- capabilities: string[];
674
- title: string;
675
- monthlyCredits: number;
676
- monthlyPriceUsd: number;
677
- deprecated: boolean;
678
- requiresCredentials: boolean;
679
- dependsOn: string[];
680
- conflictsWith: string[];
681
- description?: string | undefined;
682
- credentialKey?: string | undefined;
683
- replacement?: string | undefined;
684
- additionalCredentialKeys?: string[] | undefined;
685
- category?: string | undefined;
686
- userInvocable?: boolean | undefined;
687
- }, {
688
- name: string;
689
- capabilities: string[];
690
- title: string;
691
- monthlyCredits: number;
692
- monthlyPriceUsd: number;
693
- deprecated: boolean;
694
- requiresCredentials: boolean;
695
- dependsOn: string[];
696
- conflictsWith: string[];
697
- description?: string | undefined;
698
- credentialKey?: string | undefined;
699
- replacement?: string | undefined;
700
- additionalCredentialKeys?: string[] | undefined;
701
- category?: string | undefined;
702
- userInvocable?: boolean | undefined;
703
- }>;
178
+ }, z.core.$strip>;
704
179
  export type SkillSummary = z.infer<typeof skillSummarySchema>;
705
180
  export declare function toSkillSummary(skill: Record<string, unknown>): SkillSummary;
706
181
  declare const setupItemFieldSchema: z.ZodObject<{
@@ -712,37 +187,9 @@ declare const setupItemFieldSchema: z.ZodObject<{
712
187
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
713
188
  value: z.ZodString;
714
189
  label: z.ZodOptional<z.ZodString>;
715
- }, "strip", z.ZodTypeAny, {
716
- value: string;
717
- label?: string | undefined;
718
- }, {
719
- value: string;
720
- label?: string | undefined;
721
- }>, "many">>;
190
+ }, z.core.$strip>>>;
722
191
  help: z.ZodOptional<z.ZodString>;
723
- }, "strip", z.ZodTypeAny, {
724
- key: string;
725
- type?: string | undefined;
726
- required?: boolean | undefined;
727
- pattern?: string | undefined;
728
- label?: string | undefined;
729
- options?: {
730
- value: string;
731
- label?: string | undefined;
732
- }[] | undefined;
733
- help?: string | undefined;
734
- }, {
735
- key: string;
736
- type?: string | undefined;
737
- required?: boolean | undefined;
738
- pattern?: string | undefined;
739
- label?: string | undefined;
740
- options?: {
741
- value: string;
742
- label?: string | undefined;
743
- }[] | undefined;
744
- help?: string | undefined;
745
- }>;
192
+ }, z.core.$strip>;
746
193
  export declare const credentialSetupFieldSchema: z.ZodObject<{
747
194
  key: z.ZodString;
748
195
  label: z.ZodString;
@@ -750,18 +197,12 @@ export declare const credentialSetupFieldSchema: z.ZodObject<{
750
197
  required: z.ZodBoolean;
751
198
  writable: z.ZodBoolean;
752
199
  secret: z.ZodBoolean;
753
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
200
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
754
201
  pattern: z.ZodOptional<z.ZodString>;
755
202
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
756
203
  value: z.ZodString;
757
204
  label: z.ZodOptional<z.ZodString>;
758
- }, "strip", z.ZodTypeAny, {
759
- value: string;
760
- label?: string | undefined;
761
- }, {
762
- value: string;
763
- label?: string | undefined;
764
- }>, "many">>;
205
+ }, z.core.$strip>>>;
765
206
  help: z.ZodOptional<z.ZodString>;
766
207
  itemFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
767
208
  key: z.ZodString;
@@ -772,15 +213,8 @@ export declare const credentialSetupFieldSchema: z.ZodObject<{
772
213
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
773
214
  value: z.ZodString;
774
215
  label: z.ZodOptional<z.ZodString>;
775
- }, "strip", z.ZodTypeAny, {
776
- value: string;
777
- label?: string | undefined;
778
- }, {
779
- value: string;
780
- label?: string | undefined;
781
- }>, "many">>;
216
+ }, z.core.$strip>>>;
782
217
  help: z.ZodOptional<z.ZodString>;
783
- } & {
784
218
  itemFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
785
219
  key: z.ZodString;
786
220
  label: z.ZodOptional<z.ZodString>;
@@ -790,183 +224,32 @@ export declare const credentialSetupFieldSchema: z.ZodObject<{
790
224
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
791
225
  value: z.ZodString;
792
226
  label: z.ZodOptional<z.ZodString>;
793
- }, "strip", z.ZodTypeAny, {
794
- value: string;
795
- label?: string | undefined;
796
- }, {
797
- value: string;
798
- label?: string | undefined;
799
- }>, "many">>;
227
+ }, z.core.$strip>>>;
800
228
  help: z.ZodOptional<z.ZodString>;
801
- }, "strip", z.ZodTypeAny, {
802
- key: string;
803
- type?: string | undefined;
804
- required?: boolean | undefined;
805
- pattern?: string | undefined;
806
- label?: string | undefined;
807
- options?: {
808
- value: string;
809
- label?: string | undefined;
810
- }[] | undefined;
811
- help?: string | undefined;
812
- }, {
813
- key: string;
814
- type?: string | undefined;
815
- required?: boolean | undefined;
816
- pattern?: string | undefined;
817
- label?: string | undefined;
818
- options?: {
819
- value: string;
820
- label?: string | undefined;
821
- }[] | undefined;
822
- help?: string | undefined;
823
- }>, "many">>;
824
- }, "strip", z.ZodTypeAny, {
825
- key: string;
826
- type?: string | undefined;
827
- required?: boolean | undefined;
828
- pattern?: string | undefined;
829
- label?: string | undefined;
830
- options?: {
831
- value: string;
832
- label?: string | undefined;
833
- }[] | undefined;
834
- help?: string | undefined;
835
- itemFields?: {
836
- key: string;
837
- type?: string | undefined;
838
- required?: boolean | undefined;
839
- pattern?: string | undefined;
840
- label?: string | undefined;
841
- options?: {
842
- value: string;
843
- label?: string | undefined;
844
- }[] | undefined;
845
- help?: string | undefined;
846
- }[] | undefined;
847
- }, {
848
- key: string;
849
- type?: string | undefined;
850
- required?: boolean | undefined;
851
- pattern?: string | undefined;
852
- label?: string | undefined;
853
- options?: {
854
- value: string;
855
- label?: string | undefined;
856
- }[] | undefined;
857
- help?: string | undefined;
858
- itemFields?: {
859
- key: string;
860
- type?: string | undefined;
861
- required?: boolean | undefined;
862
- pattern?: string | undefined;
863
- label?: string | undefined;
864
- options?: {
865
- value: string;
866
- label?: string | undefined;
867
- }[] | undefined;
868
- help?: string | undefined;
869
- }[] | undefined;
870
- }>, "many">>;
871
- }, "strip", z.ZodTypeAny, {
872
- required: boolean;
873
- key: string;
874
- label: string;
875
- writable: boolean;
876
- secret: boolean;
877
- type?: string | undefined;
878
- pattern?: string | undefined;
879
- options?: {
880
- value: string;
881
- label?: string | undefined;
882
- }[] | undefined;
883
- help?: string | undefined;
884
- onlyInModes?: string[] | undefined;
885
- itemFields?: {
886
- key: string;
887
- type?: string | undefined;
888
- required?: boolean | undefined;
889
- pattern?: string | undefined;
890
- label?: string | undefined;
891
- options?: {
892
- value: string;
893
- label?: string | undefined;
894
- }[] | undefined;
895
- help?: string | undefined;
896
- itemFields?: {
897
- key: string;
898
- type?: string | undefined;
899
- required?: boolean | undefined;
900
- pattern?: string | undefined;
901
- label?: string | undefined;
902
- options?: {
903
- value: string;
904
- label?: string | undefined;
905
- }[] | undefined;
906
- help?: string | undefined;
907
- }[] | undefined;
908
- }[] | undefined;
909
- }, {
910
- required: boolean;
911
- key: string;
912
- label: string;
913
- writable: boolean;
914
- secret: boolean;
915
- type?: string | undefined;
916
- pattern?: string | undefined;
917
- options?: {
918
- value: string;
919
- label?: string | undefined;
920
- }[] | undefined;
921
- help?: string | undefined;
922
- onlyInModes?: string[] | undefined;
923
- itemFields?: {
924
- key: string;
925
- type?: string | undefined;
926
- required?: boolean | undefined;
927
- pattern?: string | undefined;
928
- label?: string | undefined;
929
- options?: {
930
- value: string;
931
- label?: string | undefined;
932
- }[] | undefined;
933
- help?: string | undefined;
934
- itemFields?: {
935
- key: string;
936
- type?: string | undefined;
937
- required?: boolean | undefined;
938
- pattern?: string | undefined;
939
- label?: string | undefined;
940
- options?: {
941
- value: string;
942
- label?: string | undefined;
943
- }[] | undefined;
944
- help?: string | undefined;
945
- }[] | undefined;
946
- }[] | undefined;
947
- }>;
229
+ }, z.core.$strip>>>;
230
+ }, z.core.$strip>>>;
231
+ }, z.core.$strip>;
948
232
  export type CredentialSetupItem = z.infer<typeof setupItemFieldSchema> & {
949
233
  itemFields?: Array<z.infer<typeof setupItemFieldSchema>>;
950
234
  };
951
235
  export declare const credentialSetupSchema: z.ZodObject<{
952
236
  key: z.ZodString;
953
237
  title: z.ZodString;
954
- role: z.ZodEnum<["primary", "additional", "channel", "credential"]>;
238
+ role: z.ZodEnum<{
239
+ credential: "credential";
240
+ channel: "channel";
241
+ primary: "primary";
242
+ additional: "additional";
243
+ }>;
955
244
  mode: z.ZodOptional<z.ZodString>;
956
- connectionModes: z.ZodArray<z.ZodString, "many">;
245
+ connectionModes: z.ZodArray<z.ZodString>;
957
246
  oauth: z.ZodBoolean;
958
247
  wiroConnectAvailable: z.ZodBoolean;
959
248
  channel: z.ZodOptional<z.ZodObject<{
960
249
  id: z.ZodString;
961
- requiredFields: z.ZodArray<z.ZodString, "many">;
962
- }, "strip", z.ZodTypeAny, {
963
- id: string;
964
- requiredFields: string[];
965
- }, {
966
- id: string;
967
- requiredFields: string[];
968
- }>>;
969
- usedBySkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
250
+ requiredFields: z.ZodArray<z.ZodString>;
251
+ }, z.core.$strip>>;
252
+ usedBySkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
970
253
  note: z.ZodOptional<z.ZodString>;
971
254
  fields: z.ZodArray<z.ZodObject<{
972
255
  key: z.ZodString;
@@ -975,18 +258,12 @@ export declare const credentialSetupSchema: z.ZodObject<{
975
258
  required: z.ZodBoolean;
976
259
  writable: z.ZodBoolean;
977
260
  secret: z.ZodBoolean;
978
- onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
261
+ onlyInModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
979
262
  pattern: z.ZodOptional<z.ZodString>;
980
263
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
981
264
  value: z.ZodString;
982
265
  label: z.ZodOptional<z.ZodString>;
983
- }, "strip", z.ZodTypeAny, {
984
- value: string;
985
- label?: string | undefined;
986
- }, {
987
- value: string;
988
- label?: string | undefined;
989
- }>, "many">>;
266
+ }, z.core.$strip>>>;
990
267
  help: z.ZodOptional<z.ZodString>;
991
268
  itemFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
992
269
  key: z.ZodString;
@@ -997,15 +274,8 @@ export declare const credentialSetupSchema: z.ZodObject<{
997
274
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
998
275
  value: z.ZodString;
999
276
  label: z.ZodOptional<z.ZodString>;
1000
- }, "strip", z.ZodTypeAny, {
1001
- value: string;
1002
- label?: string | undefined;
1003
- }, {
1004
- value: string;
1005
- label?: string | undefined;
1006
- }>, "many">>;
277
+ }, z.core.$strip>>>;
1007
278
  help: z.ZodOptional<z.ZodString>;
1008
- } & {
1009
279
  itemFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1010
280
  key: z.ZodString;
1011
281
  label: z.ZodOptional<z.ZodString>;
@@ -1015,268 +285,12 @@ export declare const credentialSetupSchema: z.ZodObject<{
1015
285
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1016
286
  value: z.ZodString;
1017
287
  label: z.ZodOptional<z.ZodString>;
1018
- }, "strip", z.ZodTypeAny, {
1019
- value: string;
1020
- label?: string | undefined;
1021
- }, {
1022
- value: string;
1023
- label?: string | undefined;
1024
- }>, "many">>;
288
+ }, z.core.$strip>>>;
1025
289
  help: z.ZodOptional<z.ZodString>;
1026
- }, "strip", z.ZodTypeAny, {
1027
- key: string;
1028
- type?: string | undefined;
1029
- required?: boolean | undefined;
1030
- pattern?: string | undefined;
1031
- label?: string | undefined;
1032
- options?: {
1033
- value: string;
1034
- label?: string | undefined;
1035
- }[] | undefined;
1036
- help?: string | undefined;
1037
- }, {
1038
- key: string;
1039
- type?: string | undefined;
1040
- required?: boolean | undefined;
1041
- pattern?: string | undefined;
1042
- label?: string | undefined;
1043
- options?: {
1044
- value: string;
1045
- label?: string | undefined;
1046
- }[] | undefined;
1047
- help?: string | undefined;
1048
- }>, "many">>;
1049
- }, "strip", z.ZodTypeAny, {
1050
- key: string;
1051
- type?: string | undefined;
1052
- required?: boolean | undefined;
1053
- pattern?: string | undefined;
1054
- label?: string | undefined;
1055
- options?: {
1056
- value: string;
1057
- label?: string | undefined;
1058
- }[] | undefined;
1059
- help?: string | undefined;
1060
- itemFields?: {
1061
- key: string;
1062
- type?: string | undefined;
1063
- required?: boolean | undefined;
1064
- pattern?: string | undefined;
1065
- label?: string | undefined;
1066
- options?: {
1067
- value: string;
1068
- label?: string | undefined;
1069
- }[] | undefined;
1070
- help?: string | undefined;
1071
- }[] | undefined;
1072
- }, {
1073
- key: string;
1074
- type?: string | undefined;
1075
- required?: boolean | undefined;
1076
- pattern?: string | undefined;
1077
- label?: string | undefined;
1078
- options?: {
1079
- value: string;
1080
- label?: string | undefined;
1081
- }[] | undefined;
1082
- help?: string | undefined;
1083
- itemFields?: {
1084
- key: string;
1085
- type?: string | undefined;
1086
- required?: boolean | undefined;
1087
- pattern?: string | undefined;
1088
- label?: string | undefined;
1089
- options?: {
1090
- value: string;
1091
- label?: string | undefined;
1092
- }[] | undefined;
1093
- help?: string | undefined;
1094
- }[] | undefined;
1095
- }>, "many">>;
1096
- }, "strip", z.ZodTypeAny, {
1097
- required: boolean;
1098
- key: string;
1099
- label: string;
1100
- writable: boolean;
1101
- secret: boolean;
1102
- type?: string | undefined;
1103
- pattern?: string | undefined;
1104
- options?: {
1105
- value: string;
1106
- label?: string | undefined;
1107
- }[] | undefined;
1108
- help?: string | undefined;
1109
- onlyInModes?: string[] | undefined;
1110
- itemFields?: {
1111
- key: string;
1112
- type?: string | undefined;
1113
- required?: boolean | undefined;
1114
- pattern?: string | undefined;
1115
- label?: string | undefined;
1116
- options?: {
1117
- value: string;
1118
- label?: string | undefined;
1119
- }[] | undefined;
1120
- help?: string | undefined;
1121
- itemFields?: {
1122
- key: string;
1123
- type?: string | undefined;
1124
- required?: boolean | undefined;
1125
- pattern?: string | undefined;
1126
- label?: string | undefined;
1127
- options?: {
1128
- value: string;
1129
- label?: string | undefined;
1130
- }[] | undefined;
1131
- help?: string | undefined;
1132
- }[] | undefined;
1133
- }[] | undefined;
1134
- }, {
1135
- required: boolean;
1136
- key: string;
1137
- label: string;
1138
- writable: boolean;
1139
- secret: boolean;
1140
- type?: string | undefined;
1141
- pattern?: string | undefined;
1142
- options?: {
1143
- value: string;
1144
- label?: string | undefined;
1145
- }[] | undefined;
1146
- help?: string | undefined;
1147
- onlyInModes?: string[] | undefined;
1148
- itemFields?: {
1149
- key: string;
1150
- type?: string | undefined;
1151
- required?: boolean | undefined;
1152
- pattern?: string | undefined;
1153
- label?: string | undefined;
1154
- options?: {
1155
- value: string;
1156
- label?: string | undefined;
1157
- }[] | undefined;
1158
- help?: string | undefined;
1159
- itemFields?: {
1160
- key: string;
1161
- type?: string | undefined;
1162
- required?: boolean | undefined;
1163
- pattern?: string | undefined;
1164
- label?: string | undefined;
1165
- options?: {
1166
- value: string;
1167
- label?: string | undefined;
1168
- }[] | undefined;
1169
- help?: string | undefined;
1170
- }[] | undefined;
1171
- }[] | undefined;
1172
- }>, "many">;
1173
- }, "strip", z.ZodTypeAny, {
1174
- key: string;
1175
- title: string;
1176
- role: "credential" | "channel" | "primary" | "additional";
1177
- fields: {
1178
- required: boolean;
1179
- key: string;
1180
- label: string;
1181
- writable: boolean;
1182
- secret: boolean;
1183
- type?: string | undefined;
1184
- pattern?: string | undefined;
1185
- options?: {
1186
- value: string;
1187
- label?: string | undefined;
1188
- }[] | undefined;
1189
- help?: string | undefined;
1190
- onlyInModes?: string[] | undefined;
1191
- itemFields?: {
1192
- key: string;
1193
- type?: string | undefined;
1194
- required?: boolean | undefined;
1195
- pattern?: string | undefined;
1196
- label?: string | undefined;
1197
- options?: {
1198
- value: string;
1199
- label?: string | undefined;
1200
- }[] | undefined;
1201
- help?: string | undefined;
1202
- itemFields?: {
1203
- key: string;
1204
- type?: string | undefined;
1205
- required?: boolean | undefined;
1206
- pattern?: string | undefined;
1207
- label?: string | undefined;
1208
- options?: {
1209
- value: string;
1210
- label?: string | undefined;
1211
- }[] | undefined;
1212
- help?: string | undefined;
1213
- }[] | undefined;
1214
- }[] | undefined;
1215
- }[];
1216
- oauth: boolean;
1217
- connectionModes: string[];
1218
- wiroConnectAvailable: boolean;
1219
- note?: string | undefined;
1220
- mode?: string | undefined;
1221
- channel?: {
1222
- id: string;
1223
- requiredFields: string[];
1224
- } | undefined;
1225
- usedBySkills?: string[] | undefined;
1226
- }, {
1227
- key: string;
1228
- title: string;
1229
- role: "credential" | "channel" | "primary" | "additional";
1230
- fields: {
1231
- required: boolean;
1232
- key: string;
1233
- label: string;
1234
- writable: boolean;
1235
- secret: boolean;
1236
- type?: string | undefined;
1237
- pattern?: string | undefined;
1238
- options?: {
1239
- value: string;
1240
- label?: string | undefined;
1241
- }[] | undefined;
1242
- help?: string | undefined;
1243
- onlyInModes?: string[] | undefined;
1244
- itemFields?: {
1245
- key: string;
1246
- type?: string | undefined;
1247
- required?: boolean | undefined;
1248
- pattern?: string | undefined;
1249
- label?: string | undefined;
1250
- options?: {
1251
- value: string;
1252
- label?: string | undefined;
1253
- }[] | undefined;
1254
- help?: string | undefined;
1255
- itemFields?: {
1256
- key: string;
1257
- type?: string | undefined;
1258
- required?: boolean | undefined;
1259
- pattern?: string | undefined;
1260
- label?: string | undefined;
1261
- options?: {
1262
- value: string;
1263
- label?: string | undefined;
1264
- }[] | undefined;
1265
- help?: string | undefined;
1266
- }[] | undefined;
1267
- }[] | undefined;
1268
- }[];
1269
- oauth: boolean;
1270
- connectionModes: string[];
1271
- wiroConnectAvailable: boolean;
1272
- note?: string | undefined;
1273
- mode?: string | undefined;
1274
- channel?: {
1275
- id: string;
1276
- requiredFields: string[];
1277
- } | undefined;
1278
- usedBySkills?: string[] | undefined;
1279
- }>;
290
+ }, z.core.$strip>>>;
291
+ }, z.core.$strip>>>;
292
+ }, z.core.$strip>>;
293
+ }, z.core.$strip>;
1280
294
  export type CredentialSetup = z.infer<typeof credentialSetupSchema>;
1281
295
  /** A credential registry entry reduced to what a user is asked for. */
1282
296
  export declare function toCredentialSetup(credential: Record<string, unknown>, role: CredentialSetup['role']): CredentialSetup;