syllable-sdk 1.0.13-rc.6 → 1.0.13

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 (75) hide show
  1. package/bin/mcp-server.js +390 -966
  2. package/bin/mcp-server.js.map +20 -20
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/lib/config.js.map +1 -1
  8. package/lib/encodings.d.ts.map +1 -1
  9. package/lib/encodings.js +3 -1
  10. package/lib/encodings.js.map +1 -1
  11. package/mcp-server/mcp-server.js +1 -1
  12. package/mcp-server/mcp-server.js.map +1 -1
  13. package/mcp-server/server.js +1 -1
  14. package/mcp-server/server.js.map +1 -1
  15. package/models/components/callaction.d.ts.map +1 -1
  16. package/models/components/callaction.js +18 -38
  17. package/models/components/callaction.js.map +1 -1
  18. package/models/components/conditionaltext.d.ts.map +1 -1
  19. package/models/components/conditionaltext.js +18 -38
  20. package/models/components/conditionaltext.js.map +1 -1
  21. package/models/components/conditionalvalue.d.ts.map +1 -1
  22. package/models/components/conditionalvalue.js +36 -80
  23. package/models/components/conditionalvalue.js.map +1 -1
  24. package/models/components/context.d.ts.map +1 -1
  25. package/models/components/context.js +48 -140
  26. package/models/components/context.js.map +1 -1
  27. package/models/components/eventtaskevents.d.ts.map +1 -1
  28. package/models/components/eventtaskevents.js +20 -60
  29. package/models/components/eventtaskevents.js.map +1 -1
  30. package/models/components/expressiontask.d.ts.map +1 -1
  31. package/models/components/expressiontask.js +18 -38
  32. package/models/components/expressiontask.js.map +1 -1
  33. package/models/components/expressiontaskevents.d.ts.map +1 -1
  34. package/models/components/expressiontaskevents.js +40 -120
  35. package/models/components/expressiontaskevents.js.map +1 -1
  36. package/models/components/incrementaction.d.ts.map +1 -1
  37. package/models/components/incrementaction.js +18 -38
  38. package/models/components/incrementaction.js.map +1 -1
  39. package/models/components/nextstep.d.ts.map +1 -1
  40. package/models/components/nextstep.js +18 -38
  41. package/models/components/nextstep.js.map +1 -1
  42. package/models/components/saveaction.d.ts.map +1 -1
  43. package/models/components/saveaction.js +18 -38
  44. package/models/components/saveaction.js.map +1 -1
  45. package/models/components/sayaction.d.ts.map +1 -1
  46. package/models/components/sayaction.js +18 -38
  47. package/models/components/sayaction.js.map +1 -1
  48. package/models/components/setvalueaction.d.ts.map +1 -1
  49. package/models/components/setvalueaction.js +36 -76
  50. package/models/components/setvalueaction.js.map +1 -1
  51. package/models/components/stepeventactions.d.ts.map +1 -1
  52. package/models/components/stepeventactions.js +60 -180
  53. package/models/components/stepeventactions.js.map +1 -1
  54. package/models/components/variable.d.ts.map +1 -1
  55. package/models/components/variable.js +18 -38
  56. package/models/components/variable.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/lib/config.ts +3 -3
  59. package/src/lib/encodings.ts +4 -3
  60. package/src/mcp-server/mcp-server.ts +1 -1
  61. package/src/mcp-server/server.ts +1 -1
  62. package/src/models/components/callaction.ts +18 -58
  63. package/src/models/components/conditionaltext.ts +18 -58
  64. package/src/models/components/conditionalvalue.ts +36 -118
  65. package/src/models/components/context.ts +48 -188
  66. package/src/models/components/eventtaskevents.ts +20 -92
  67. package/src/models/components/expressiontask.ts +18 -58
  68. package/src/models/components/expressiontaskevents.ts +40 -184
  69. package/src/models/components/incrementaction.ts +18 -58
  70. package/src/models/components/nextstep.ts +18 -58
  71. package/src/models/components/saveaction.ts +18 -58
  72. package/src/models/components/sayaction.ts +18 -58
  73. package/src/models/components/setvalueaction.ts +36 -116
  74. package/src/models/components/stepeventactions.ts +60 -276
  75. package/src/models/components/variable.ts +18 -58
@@ -96,17 +96,11 @@ export const SetValueActionValueFrom1$inboundSchema: z.ZodType<
96
96
  z.ZodTypeDef,
97
97
  unknown
98
98
  > = z.union([
99
- CelExpression$inboundSchema.and(
100
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
101
- ),
102
- JMESPathExpression$inboundSchema.and(
103
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
104
- type: v.type,
105
- })),
106
- ),
99
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
107
100
  JMESPathExpression$inboundSchema.and(
108
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
101
+ z.object({ type: z.literal("jmespath") }),
109
102
  ),
103
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
110
104
  ]);
111
105
  /** @internal */
112
106
  export type SetValueActionValueFrom1$Outbound =
@@ -120,17 +114,11 @@ export const SetValueActionValueFrom1$outboundSchema: z.ZodType<
120
114
  z.ZodTypeDef,
121
115
  SetValueActionValueFrom1
122
116
  > = z.union([
123
- CelExpression$outboundSchema.and(
124
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
125
- ),
117
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
126
118
  JMESPathExpression$outboundSchema.and(
127
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
128
- type: v.type,
129
- })),
130
- ),
131
- JMESPathExpression$outboundSchema.and(
132
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
119
+ z.object({ type: z.literal("jmespath") }),
133
120
  ),
121
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
134
122
  ]);
135
123
 
136
124
  export function setValueActionValueFrom1ToJSON(
@@ -158,17 +146,11 @@ export const SetValueActionValueFrom$inboundSchema: z.ZodType<
158
146
  > = z.union([
159
147
  CaseExpression$inboundSchema,
160
148
  z.union([
161
- CelExpression$inboundSchema.and(
162
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
163
- ),
149
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
164
150
  JMESPathExpression$inboundSchema.and(
165
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
166
- type: v.type,
167
- })),
168
- ),
169
- JMESPathExpression$inboundSchema.and(
170
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
151
+ z.object({ type: z.literal("jmespath") }),
171
152
  ),
153
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
172
154
  ]),
173
155
  z.string(),
174
156
  ]);
@@ -188,17 +170,11 @@ export const SetValueActionValueFrom$outboundSchema: z.ZodType<
188
170
  > = z.union([
189
171
  CaseExpression$outboundSchema,
190
172
  z.union([
191
- CelExpression$outboundSchema.and(
192
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
193
- ),
173
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
194
174
  JMESPathExpression$outboundSchema.and(
195
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
196
- type: v.type,
197
- })),
198
- ),
199
- JMESPathExpression$outboundSchema.and(
200
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
175
+ z.object({ type: z.literal("jmespath") }),
201
176
  ),
177
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
202
178
  ]),
203
179
  z.string(),
204
180
  ]);
@@ -226,17 +202,11 @@ export const SetValueActionIf1$inboundSchema: z.ZodType<
226
202
  z.ZodTypeDef,
227
203
  unknown
228
204
  > = z.union([
229
- CelExpression$inboundSchema.and(
230
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
231
- ),
232
- JMESPathExpression$inboundSchema.and(
233
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
234
- type: v.type,
235
- })),
236
- ),
205
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
237
206
  JMESPathExpression$inboundSchema.and(
238
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
207
+ z.object({ type: z.literal("jmespath") }),
239
208
  ),
209
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
240
210
  ]);
241
211
  /** @internal */
242
212
  export type SetValueActionIf1$Outbound =
@@ -250,17 +220,11 @@ export const SetValueActionIf1$outboundSchema: z.ZodType<
250
220
  z.ZodTypeDef,
251
221
  SetValueActionIf1
252
222
  > = z.union([
253
- CelExpression$outboundSchema.and(
254
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
255
- ),
256
- JMESPathExpression$outboundSchema.and(
257
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
258
- type: v.type,
259
- })),
260
- ),
223
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
261
224
  JMESPathExpression$outboundSchema.and(
262
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
225
+ z.object({ type: z.literal("jmespath") }),
263
226
  ),
227
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
264
228
  ]);
265
229
 
266
230
  export function setValueActionIf1ToJSON(
@@ -288,17 +252,11 @@ export const SetValueActionIf$inboundSchema: z.ZodType<
288
252
  > = z.union([
289
253
  CaseExpression$inboundSchema,
290
254
  z.union([
291
- CelExpression$inboundSchema.and(
292
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
293
- ),
294
- JMESPathExpression$inboundSchema.and(
295
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
296
- type: v.type,
297
- })),
298
- ),
255
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
299
256
  JMESPathExpression$inboundSchema.and(
300
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
257
+ z.object({ type: z.literal("jmespath") }),
301
258
  ),
259
+ JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
302
260
  ]),
303
261
  z.string(),
304
262
  ]);
@@ -318,17 +276,11 @@ export const SetValueActionIf$outboundSchema: z.ZodType<
318
276
  > = z.union([
319
277
  CaseExpression$outboundSchema,
320
278
  z.union([
321
- CelExpression$outboundSchema.and(
322
- z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type })),
323
- ),
324
- JMESPathExpression$outboundSchema.and(
325
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
326
- type: v.type,
327
- })),
328
- ),
279
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
329
280
  JMESPathExpression$outboundSchema.and(
330
- z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type })),
281
+ z.object({ type: z.literal("jmespath") }),
331
282
  ),
283
+ JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
332
284
  ]),
333
285
  z.string(),
334
286
  ]);
@@ -361,20 +313,12 @@ export const SetValueAction$inboundSchema: z.ZodType<
361
313
  z.union([
362
314
  CaseExpression$inboundSchema,
363
315
  z.union([
364
- CelExpression$inboundSchema.and(
365
- z.object({ type: z.literal("cel") }).transform((v) => ({
366
- type: v.type,
367
- })),
368
- ),
316
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
369
317
  JMESPathExpression$inboundSchema.and(
370
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
371
- type: v.type,
372
- })),
318
+ z.object({ type: z.literal("jmespath") }),
373
319
  ),
374
320
  JMESPathExpression$inboundSchema.and(
375
- z.object({ type: z.literal("jp") }).transform((v) => ({
376
- type: v.type,
377
- })),
321
+ z.object({ type: z.literal("jp") }),
378
322
  ),
379
323
  ]),
380
324
  z.string(),
@@ -384,20 +328,12 @@ export const SetValueAction$inboundSchema: z.ZodType<
384
328
  z.union([
385
329
  CaseExpression$inboundSchema,
386
330
  z.union([
387
- CelExpression$inboundSchema.and(
388
- z.object({ type: z.literal("cel") }).transform((v) => ({
389
- type: v.type,
390
- })),
391
- ),
331
+ CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") })),
392
332
  JMESPathExpression$inboundSchema.and(
393
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
394
- type: v.type,
395
- })),
333
+ z.object({ type: z.literal("jmespath") }),
396
334
  ),
397
335
  JMESPathExpression$inboundSchema.and(
398
- z.object({ type: z.literal("jp") }).transform((v) => ({
399
- type: v.type,
400
- })),
336
+ z.object({ type: z.literal("jp") }),
401
337
  ),
402
338
  ]),
403
339
  z.string(),
@@ -444,20 +380,12 @@ export const SetValueAction$outboundSchema: z.ZodType<
444
380
  z.union([
445
381
  CaseExpression$outboundSchema,
446
382
  z.union([
447
- CelExpression$outboundSchema.and(
448
- z.object({ type: z.literal("cel") }).transform((v) => ({
449
- type: v.type,
450
- })),
451
- ),
383
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
452
384
  JMESPathExpression$outboundSchema.and(
453
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
454
- type: v.type,
455
- })),
385
+ z.object({ type: z.literal("jmespath") }),
456
386
  ),
457
387
  JMESPathExpression$outboundSchema.and(
458
- z.object({ type: z.literal("jp") }).transform((v) => ({
459
- type: v.type,
460
- })),
388
+ z.object({ type: z.literal("jp") }),
461
389
  ),
462
390
  ]),
463
391
  z.string(),
@@ -467,20 +395,12 @@ export const SetValueAction$outboundSchema: z.ZodType<
467
395
  z.union([
468
396
  CaseExpression$outboundSchema,
469
397
  z.union([
470
- CelExpression$outboundSchema.and(
471
- z.object({ type: z.literal("cel") }).transform((v) => ({
472
- type: v.type,
473
- })),
474
- ),
398
+ CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") })),
475
399
  JMESPathExpression$outboundSchema.and(
476
- z.object({ type: z.literal("jmespath") }).transform((v) => ({
477
- type: v.type,
478
- })),
400
+ z.object({ type: z.literal("jmespath") }),
479
401
  ),
480
402
  JMESPathExpression$outboundSchema.and(
481
- z.object({ type: z.literal("jp") }).transform((v) => ({
482
- type: v.type,
483
- })),
403
+ z.object({ type: z.literal("jp") }),
484
404
  ),
485
405
  ]),
486
406
  z.string(),