syllable-sdk 1.0.14-rc.1 → 1.0.14-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 (121) hide show
  1. package/bin/mcp-server.js +295 -269
  2. package/bin/mcp-server.js.map +26 -26
  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/encodings.d.ts +1 -0
  8. package/lib/encodings.d.ts.map +1 -1
  9. package/lib/encodings.js +9 -0
  10. package/lib/encodings.js.map +1 -1
  11. package/mcp-server/mcp-server.js +1 -1
  12. package/mcp-server/server.js +1 -1
  13. package/models/components/callaction.d.ts +7 -19
  14. package/models/components/callaction.d.ts.map +1 -1
  15. package/models/components/callaction.js +8 -8
  16. package/models/components/callaction.js.map +1 -1
  17. package/models/components/celexpression.d.ts +1 -1
  18. package/models/components/celexpression.d.ts.map +1 -1
  19. package/models/components/celexpression.js +2 -2
  20. package/models/components/celexpression.js.map +1 -1
  21. package/models/components/conditionaltext.d.ts +6 -18
  22. package/models/components/conditionaltext.d.ts.map +1 -1
  23. package/models/components/conditionaltext.js +6 -6
  24. package/models/components/conditionaltext.js.map +1 -1
  25. package/models/components/conditionalvalue.d.ts +12 -36
  26. package/models/components/conditionalvalue.d.ts.map +1 -1
  27. package/models/components/conditionalvalue.js +12 -12
  28. package/models/components/conditionalvalue.js.map +1 -1
  29. package/models/components/context.d.ts +8 -104
  30. package/models/components/context.d.ts.map +1 -1
  31. package/models/components/context.js +48 -48
  32. package/models/components/context.js.map +1 -1
  33. package/models/components/eventtask.d.ts +1 -1
  34. package/models/components/eventtask.d.ts.map +1 -1
  35. package/models/components/eventtask.js +2 -2
  36. package/models/components/eventtask.js.map +1 -1
  37. package/models/components/eventtaskevents.d.ts +4 -44
  38. package/models/components/eventtaskevents.d.ts.map +1 -1
  39. package/models/components/eventtaskevents.js +20 -20
  40. package/models/components/eventtaskevents.js.map +1 -1
  41. package/models/components/expressiontask.d.ts +7 -19
  42. package/models/components/expressiontask.d.ts.map +1 -1
  43. package/models/components/expressiontask.js +8 -8
  44. package/models/components/expressiontask.js.map +1 -1
  45. package/models/components/expressiontaskevents.d.ts +8 -88
  46. package/models/components/expressiontaskevents.d.ts.map +1 -1
  47. package/models/components/expressiontaskevents.js +40 -40
  48. package/models/components/expressiontaskevents.js.map +1 -1
  49. package/models/components/incrementaction.d.ts +7 -19
  50. package/models/components/incrementaction.d.ts.map +1 -1
  51. package/models/components/incrementaction.js +8 -8
  52. package/models/components/incrementaction.js.map +1 -1
  53. package/models/components/loadtoolfromfiletask.d.ts +1 -1
  54. package/models/components/loadtoolfromfiletask.d.ts.map +1 -1
  55. package/models/components/loadtoolfromfiletask.js +2 -2
  56. package/models/components/loadtoolfromfiletask.js.map +1 -1
  57. package/models/components/nextstep.d.ts +6 -18
  58. package/models/components/nextstep.d.ts.map +1 -1
  59. package/models/components/nextstep.js +6 -6
  60. package/models/components/nextstep.js.map +1 -1
  61. package/models/components/saveaction.d.ts +7 -19
  62. package/models/components/saveaction.d.ts.map +1 -1
  63. package/models/components/saveaction.js +8 -8
  64. package/models/components/saveaction.js.map +1 -1
  65. package/models/components/sayaction.d.ts +7 -19
  66. package/models/components/sayaction.d.ts.map +1 -1
  67. package/models/components/sayaction.js +8 -8
  68. package/models/components/sayaction.js.map +1 -1
  69. package/models/components/setvalueaction.d.ts +13 -37
  70. package/models/components/setvalueaction.d.ts.map +1 -1
  71. package/models/components/setvalueaction.js +14 -14
  72. package/models/components/setvalueaction.js.map +1 -1
  73. package/models/components/step.d.ts +1 -1
  74. package/models/components/stepeventactions.d.ts +27 -133
  75. package/models/components/stepeventactions.d.ts.map +1 -1
  76. package/models/components/stepeventactions.js +91 -61
  77. package/models/components/stepeventactions.js.map +1 -1
  78. package/models/components/stepstask.d.ts +1 -1
  79. package/models/components/stepstask.d.ts.map +1 -1
  80. package/models/components/stepstask.js +2 -2
  81. package/models/components/stepstask.js.map +1 -1
  82. package/models/components/toolparametertransformcondition.d.ts +1 -1
  83. package/models/components/toolparametertransformcondition.d.ts.map +1 -1
  84. package/models/components/toolparametertransformcondition.js +2 -2
  85. package/models/components/toolparametertransformcondition.js.map +1 -1
  86. package/models/components/variable.d.ts +6 -18
  87. package/models/components/variable.d.ts.map +1 -1
  88. package/models/components/variable.js +6 -6
  89. package/models/components/variable.js.map +1 -1
  90. package/openapi.json +67 -34
  91. package/package.json +1 -1
  92. package/src/lib/config.ts +3 -3
  93. package/src/lib/encodings.ts +13 -0
  94. package/src/mcp-server/mcp-server.ts +1 -1
  95. package/src/mcp-server/server.ts +1 -1
  96. package/src/models/components/callaction.ts +15 -15
  97. package/src/models/components/celexpression.ts +3 -3
  98. package/src/models/components/conditionaltext.ts +12 -12
  99. package/src/models/components/conditionalvalue.ts +24 -24
  100. package/src/models/components/context.ts +87 -149
  101. package/src/models/components/eventtask.ts +3 -3
  102. package/src/models/components/eventtaskevents.ts +36 -48
  103. package/src/models/components/expressiontask.ts +15 -15
  104. package/src/models/components/expressiontaskevents.ts +72 -96
  105. package/src/models/components/incrementaction.ts +15 -15
  106. package/src/models/components/loadtoolfromfiletask.ts +3 -3
  107. package/src/models/components/nextstep.ts +12 -12
  108. package/src/models/components/saveaction.ts +15 -15
  109. package/src/models/components/sayaction.ts +15 -15
  110. package/src/models/components/setvalueaction.ts +27 -27
  111. package/src/models/components/step.ts +1 -1
  112. package/src/models/components/stepeventactions.ts +182 -145
  113. package/src/models/components/stepstask.ts +3 -3
  114. package/src/models/components/toolparametertransformcondition.ts +3 -3
  115. package/src/models/components/variable.ts +12 -12
  116. package/src/types/unrecognized.ts +9 -1
  117. package/tsconfig.json +1 -2
  118. package/types/unrecognized.d.ts +7 -1
  119. package/types/unrecognized.d.ts.map +1 -1
  120. package/types/unrecognized.js +9 -1
  121. package/types/unrecognized.js.map +1 -1
package/bin/mcp-server.js CHANGED
@@ -34419,9 +34419,9 @@ var init_config = __esm(() => {
34419
34419
  SDK_METADATA = {
34420
34420
  language: "typescript",
34421
34421
  openapiDocVersion: "0.0.2",
34422
- sdkVersion: "1.0.14-rc.1",
34423
- genVersion: "2.763.3",
34424
- userAgent: "speakeasy-sdk/typescript 1.0.14-rc.1 2.763.3 0.0.2 syllable-sdk"
34422
+ sdkVersion: "1.0.14-rc.3",
34423
+ genVersion: "2.768.1",
34424
+ userAgent: "speakeasy-sdk/typescript 1.0.14-rc.3 2.768.1 0.0.2 syllable-sdk"
34425
34425
  };
34426
34426
  });
34427
34427
 
@@ -34615,7 +34615,13 @@ function queryEncoder(f) {
34615
34615
  explode: options?.explode ?? true,
34616
34616
  charEncoding: options?.charEncoding ?? "percent"
34617
34617
  };
34618
+ const allowEmptySet = new Set(options?.allowEmptyValue ?? []);
34618
34619
  const encoded = Object.entries(values).map(([key, value]) => {
34620
+ if (allowEmptySet.has(key)) {
34621
+ if (value === undefined || value === null || value === "" || Array.isArray(value) && value.length === 0) {
34622
+ return `${encodeURIComponent(key)}=`;
34623
+ }
34624
+ }
34619
34625
  return f(key, value, opts);
34620
34626
  });
34621
34627
  return queryJoin(...encoded);
@@ -36649,11 +36655,11 @@ var init_celexpression = __esm(() => {
36649
36655
  init_v3();
36650
36656
  CelExpression$inboundSchema = objectType({
36651
36657
  expression: stringType(),
36652
- type: literalType("cel").default("cel")
36658
+ type: literalType("cel")
36653
36659
  });
36654
36660
  CelExpression$outboundSchema = objectType({
36655
36661
  expression: stringType(),
36656
- type: literalType("cel").default("cel")
36662
+ type: literalType("cel")
36657
36663
  });
36658
36664
  });
36659
36665
 
@@ -36686,29 +36692,29 @@ var init_conditionalvalue = __esm(() => {
36686
36692
  init_celexpression();
36687
36693
  init_jmespathexpression();
36688
36694
  ValueFrom1$inboundSchema = unionType([
36689
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36695
+ CelExpression$inboundSchema,
36690
36696
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36691
36697
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36692
36698
  ]);
36693
36699
  ValueFrom1$outboundSchema = unionType([
36694
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36700
+ CelExpression$outboundSchema,
36695
36701
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36696
36702
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36697
36703
  ]);
36698
36704
  If1$inboundSchema = unionType([
36699
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36705
+ CelExpression$inboundSchema,
36700
36706
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36701
36707
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36702
36708
  ]);
36703
36709
  If1$outboundSchema = unionType([
36704
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36710
+ CelExpression$outboundSchema,
36705
36711
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36706
36712
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36707
36713
  ]);
36708
36714
  If$inboundSchema = unionType([
36709
36715
  lazyType(() => CaseExpression$inboundSchema),
36710
36716
  unionType([
36711
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36717
+ CelExpression$inboundSchema,
36712
36718
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36713
36719
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36714
36720
  ]),
@@ -36717,7 +36723,7 @@ var init_conditionalvalue = __esm(() => {
36717
36723
  If$outboundSchema = unionType([
36718
36724
  lazyType(() => CaseExpression$outboundSchema),
36719
36725
  unionType([
36720
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36726
+ CelExpression$outboundSchema,
36721
36727
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36722
36728
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36723
36729
  ]),
@@ -36728,7 +36734,7 @@ var init_conditionalvalue = __esm(() => {
36728
36734
  value_from: nullableType(unionType([
36729
36735
  lazyType(() => CaseExpression$inboundSchema),
36730
36736
  unionType([
36731
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36737
+ CelExpression$inboundSchema,
36732
36738
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36733
36739
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36734
36740
  ]),
@@ -36737,7 +36743,7 @@ var init_conditionalvalue = __esm(() => {
36737
36743
  if: nullableType(unionType([
36738
36744
  lazyType(() => CaseExpression$inboundSchema),
36739
36745
  unionType([
36740
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36746
+ CelExpression$inboundSchema,
36741
36747
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36742
36748
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36743
36749
  ]),
@@ -36753,7 +36759,7 @@ var init_conditionalvalue = __esm(() => {
36753
36759
  valueFrom: nullableType(unionType([
36754
36760
  lazyType(() => CaseExpression$outboundSchema),
36755
36761
  unionType([
36756
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36762
+ CelExpression$outboundSchema,
36757
36763
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36758
36764
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36759
36765
  ]),
@@ -36762,7 +36768,7 @@ var init_conditionalvalue = __esm(() => {
36762
36768
  if: nullableType(unionType([
36763
36769
  lazyType(() => CaseExpression$outboundSchema),
36764
36770
  unionType([
36765
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36771
+ CelExpression$outboundSchema,
36766
36772
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36767
36773
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36768
36774
  ]),
@@ -36776,7 +36782,7 @@ var init_conditionalvalue = __esm(() => {
36776
36782
  ValueFrom$inboundSchema = unionType([
36777
36783
  lazyType(() => CaseExpression$inboundSchema),
36778
36784
  unionType([
36779
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36785
+ CelExpression$inboundSchema,
36780
36786
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36781
36787
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36782
36788
  ]),
@@ -36785,7 +36791,7 @@ var init_conditionalvalue = __esm(() => {
36785
36791
  ValueFrom$outboundSchema = unionType([
36786
36792
  lazyType(() => CaseExpression$outboundSchema),
36787
36793
  unionType([
36788
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36794
+ CelExpression$outboundSchema,
36789
36795
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36790
36796
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36791
36797
  ]),
@@ -36815,19 +36821,19 @@ var init_callaction = __esm(() => {
36815
36821
  init_celexpression();
36816
36822
  init_jmespathexpression();
36817
36823
  CallActionIf1$inboundSchema = unionType([
36818
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36824
+ CelExpression$inboundSchema,
36819
36825
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36820
36826
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36821
36827
  ]);
36822
36828
  CallActionIf1$outboundSchema = unionType([
36823
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36829
+ CelExpression$outboundSchema,
36824
36830
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36825
36831
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36826
36832
  ]);
36827
36833
  CallActionIf$inboundSchema = unionType([
36828
36834
  CaseExpression$inboundSchema,
36829
36835
  unionType([
36830
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36836
+ CelExpression$inboundSchema,
36831
36837
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36832
36838
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36833
36839
  ]),
@@ -36836,7 +36842,7 @@ var init_callaction = __esm(() => {
36836
36842
  CallActionIf$outboundSchema = unionType([
36837
36843
  CaseExpression$outboundSchema,
36838
36844
  unionType([
36839
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36845
+ CelExpression$outboundSchema,
36840
36846
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36841
36847
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36842
36848
  ]),
@@ -36848,13 +36854,13 @@ var init_callaction = __esm(() => {
36848
36854
  if: nullableType(unionType([
36849
36855
  CaseExpression$inboundSchema,
36850
36856
  unionType([
36851
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36857
+ CelExpression$inboundSchema,
36852
36858
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36853
36859
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36854
36860
  ]),
36855
36861
  stringType()
36856
36862
  ])).optional(),
36857
- action: literalType("call").default("call"),
36863
+ action: literalType("call"),
36858
36864
  name: stringType(),
36859
36865
  arguments: nullableType(recordType(anyType())).optional(),
36860
36866
  auto_populate: unionType([booleanType(), stringType()]).optional()
@@ -36867,13 +36873,13 @@ var init_callaction = __esm(() => {
36867
36873
  if: nullableType(unionType([
36868
36874
  CaseExpression$outboundSchema,
36869
36875
  unionType([
36870
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36876
+ CelExpression$outboundSchema,
36871
36877
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36872
36878
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36873
36879
  ]),
36874
36880
  stringType()
36875
36881
  ])).optional(),
36876
- action: literalType("call").default("call"),
36882
+ action: literalType("call"),
36877
36883
  name: stringType(),
36878
36884
  arguments: nullableType(recordType(anyType())).optional(),
36879
36885
  autoPopulate: unionType([booleanType(), stringType()]).optional()
@@ -36892,19 +36898,19 @@ var init_incrementaction = __esm(() => {
36892
36898
  init_celexpression();
36893
36899
  init_jmespathexpression();
36894
36900
  IncrementActionIf1$inboundSchema = unionType([
36895
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36901
+ CelExpression$inboundSchema,
36896
36902
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36897
36903
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36898
36904
  ]);
36899
36905
  IncrementActionIf1$outboundSchema = unionType([
36900
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36906
+ CelExpression$outboundSchema,
36901
36907
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36902
36908
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36903
36909
  ]);
36904
36910
  IncrementActionIf$inboundSchema = unionType([
36905
36911
  CaseExpression$inboundSchema,
36906
36912
  unionType([
36907
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36913
+ CelExpression$inboundSchema,
36908
36914
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36909
36915
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36910
36916
  ]),
@@ -36913,7 +36919,7 @@ var init_incrementaction = __esm(() => {
36913
36919
  IncrementActionIf$outboundSchema = unionType([
36914
36920
  CaseExpression$outboundSchema,
36915
36921
  unionType([
36916
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36922
+ CelExpression$outboundSchema,
36917
36923
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36918
36924
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36919
36925
  ]),
@@ -36923,13 +36929,13 @@ var init_incrementaction = __esm(() => {
36923
36929
  if: nullableType(unionType([
36924
36930
  CaseExpression$inboundSchema,
36925
36931
  unionType([
36926
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36932
+ CelExpression$inboundSchema,
36927
36933
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36928
36934
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36929
36935
  ]),
36930
36936
  stringType()
36931
36937
  ])).optional(),
36932
- action: literalType("inc").default("inc"),
36938
+ action: literalType("inc"),
36933
36939
  name: stringType(),
36934
36940
  by: numberType().int().default(1)
36935
36941
  });
@@ -36937,13 +36943,13 @@ var init_incrementaction = __esm(() => {
36937
36943
  if: nullableType(unionType([
36938
36944
  CaseExpression$outboundSchema,
36939
36945
  unionType([
36940
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36946
+ CelExpression$outboundSchema,
36941
36947
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36942
36948
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36943
36949
  ]),
36944
36950
  stringType()
36945
36951
  ])).optional(),
36946
- action: literalType("inc").default("inc"),
36952
+ action: literalType("inc"),
36947
36953
  name: stringType(),
36948
36954
  by: numberType().int().default(1)
36949
36955
  });
@@ -36957,19 +36963,19 @@ var init_saveaction = __esm(() => {
36957
36963
  init_celexpression();
36958
36964
  init_jmespathexpression();
36959
36965
  SaveActionIf1$inboundSchema = unionType([
36960
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36966
+ CelExpression$inboundSchema,
36961
36967
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36962
36968
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36963
36969
  ]);
36964
36970
  SaveActionIf1$outboundSchema = unionType([
36965
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36971
+ CelExpression$outboundSchema,
36966
36972
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36967
36973
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36968
36974
  ]);
36969
36975
  SaveActionIf$inboundSchema = unionType([
36970
36976
  CaseExpression$inboundSchema,
36971
36977
  unionType([
36972
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36978
+ CelExpression$inboundSchema,
36973
36979
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36974
36980
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36975
36981
  ]),
@@ -36978,7 +36984,7 @@ var init_saveaction = __esm(() => {
36978
36984
  SaveActionIf$outboundSchema = unionType([
36979
36985
  CaseExpression$outboundSchema,
36980
36986
  unionType([
36981
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
36987
+ CelExpression$outboundSchema,
36982
36988
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
36983
36989
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
36984
36990
  ]),
@@ -36988,13 +36994,13 @@ var init_saveaction = __esm(() => {
36988
36994
  if: nullableType(unionType([
36989
36995
  CaseExpression$inboundSchema,
36990
36996
  unionType([
36991
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
36997
+ CelExpression$inboundSchema,
36992
36998
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
36993
36999
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
36994
37000
  ]),
36995
37001
  stringType()
36996
37002
  ])).optional(),
36997
- action: literalType("save").default("save"),
37003
+ action: literalType("save"),
36998
37004
  name: nullableType(stringType()).optional(),
36999
37005
  inputs: nullableType(arrayType(stringType())).optional()
37000
37006
  });
@@ -37002,13 +37008,13 @@ var init_saveaction = __esm(() => {
37002
37008
  if: nullableType(unionType([
37003
37009
  CaseExpression$outboundSchema,
37004
37010
  unionType([
37005
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37011
+ CelExpression$outboundSchema,
37006
37012
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37007
37013
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37008
37014
  ]),
37009
37015
  stringType()
37010
37016
  ])).optional(),
37011
- action: literalType("save").default("save"),
37017
+ action: literalType("save"),
37012
37018
  name: nullableType(stringType()).optional(),
37013
37019
  inputs: nullableType(arrayType(stringType())).optional()
37014
37020
  });
@@ -37026,19 +37032,19 @@ var init_sayaction = __esm(() => {
37026
37032
  Assistant: "assistant"
37027
37033
  };
37028
37034
  SayActionIf1$inboundSchema = unionType([
37029
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37035
+ CelExpression$inboundSchema,
37030
37036
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37031
37037
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37032
37038
  ]);
37033
37039
  SayActionIf1$outboundSchema = unionType([
37034
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37040
+ CelExpression$outboundSchema,
37035
37041
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37036
37042
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37037
37043
  ]);
37038
37044
  SayActionIf$inboundSchema = unionType([
37039
37045
  CaseExpression$inboundSchema,
37040
37046
  unionType([
37041
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37047
+ CelExpression$inboundSchema,
37042
37048
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37043
37049
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37044
37050
  ]),
@@ -37047,7 +37053,7 @@ var init_sayaction = __esm(() => {
37047
37053
  SayActionIf$outboundSchema = unionType([
37048
37054
  CaseExpression$outboundSchema,
37049
37055
  unionType([
37050
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37056
+ CelExpression$outboundSchema,
37051
37057
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37052
37058
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37053
37059
  ]),
@@ -37059,28 +37065,28 @@ var init_sayaction = __esm(() => {
37059
37065
  if: nullableType(unionType([
37060
37066
  CaseExpression$inboundSchema,
37061
37067
  unionType([
37062
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37068
+ CelExpression$inboundSchema,
37063
37069
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37064
37070
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37065
37071
  ]),
37066
37072
  stringType()
37067
37073
  ])).optional(),
37068
37074
  text: stringType(),
37069
- action: literalType("say").default("say"),
37075
+ action: literalType("say"),
37070
37076
  role: Role$inboundSchema.default("assistant")
37071
37077
  });
37072
37078
  SayAction$outboundSchema = objectType({
37073
37079
  if: nullableType(unionType([
37074
37080
  CaseExpression$outboundSchema,
37075
37081
  unionType([
37076
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37082
+ CelExpression$outboundSchema,
37077
37083
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37078
37084
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37079
37085
  ]),
37080
37086
  stringType()
37081
37087
  ])).optional(),
37082
37088
  text: stringType(),
37083
- action: literalType("say").default("say"),
37089
+ action: literalType("say"),
37084
37090
  role: Role$outboundSchema.default("assistant")
37085
37091
  });
37086
37092
  });
@@ -37094,19 +37100,19 @@ var init_setvalueaction = __esm(() => {
37094
37100
  init_celexpression();
37095
37101
  init_jmespathexpression();
37096
37102
  SetValueActionValueFrom1$inboundSchema = unionType([
37097
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37103
+ CelExpression$inboundSchema,
37098
37104
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37099
37105
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37100
37106
  ]);
37101
37107
  SetValueActionValueFrom1$outboundSchema = unionType([
37102
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37108
+ CelExpression$outboundSchema,
37103
37109
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37104
37110
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37105
37111
  ]);
37106
37112
  SetValueActionValueFrom$inboundSchema = unionType([
37107
37113
  CaseExpression$inboundSchema,
37108
37114
  unionType([
37109
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37115
+ CelExpression$inboundSchema,
37110
37116
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37111
37117
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37112
37118
  ]),
@@ -37115,26 +37121,26 @@ var init_setvalueaction = __esm(() => {
37115
37121
  SetValueActionValueFrom$outboundSchema = unionType([
37116
37122
  CaseExpression$outboundSchema,
37117
37123
  unionType([
37118
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37124
+ CelExpression$outboundSchema,
37119
37125
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37120
37126
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37121
37127
  ]),
37122
37128
  stringType()
37123
37129
  ]);
37124
37130
  SetValueActionIf1$inboundSchema = unionType([
37125
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37131
+ CelExpression$inboundSchema,
37126
37132
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37127
37133
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37128
37134
  ]);
37129
37135
  SetValueActionIf1$outboundSchema = unionType([
37130
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37136
+ CelExpression$outboundSchema,
37131
37137
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37132
37138
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37133
37139
  ]);
37134
37140
  SetValueActionIf$inboundSchema = unionType([
37135
37141
  CaseExpression$inboundSchema,
37136
37142
  unionType([
37137
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37143
+ CelExpression$inboundSchema,
37138
37144
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37139
37145
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37140
37146
  ]),
@@ -37143,7 +37149,7 @@ var init_setvalueaction = __esm(() => {
37143
37149
  SetValueActionIf$outboundSchema = unionType([
37144
37150
  CaseExpression$outboundSchema,
37145
37151
  unionType([
37146
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37152
+ CelExpression$outboundSchema,
37147
37153
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37148
37154
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37149
37155
  ]),
@@ -37154,7 +37160,7 @@ var init_setvalueaction = __esm(() => {
37154
37160
  value_from: nullableType(unionType([
37155
37161
  CaseExpression$inboundSchema,
37156
37162
  unionType([
37157
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37163
+ CelExpression$inboundSchema,
37158
37164
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37159
37165
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37160
37166
  ]),
@@ -37163,13 +37169,13 @@ var init_setvalueaction = __esm(() => {
37163
37169
  if: nullableType(unionType([
37164
37170
  CaseExpression$inboundSchema,
37165
37171
  unionType([
37166
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37172
+ CelExpression$inboundSchema,
37167
37173
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37168
37174
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37169
37175
  ]),
37170
37176
  stringType()
37171
37177
  ])).optional(),
37172
- action: literalType("set").default("set"),
37178
+ action: literalType("set"),
37173
37179
  name: stringType()
37174
37180
  }).transform((v2) => {
37175
37181
  return remap(v2, {
@@ -37181,7 +37187,7 @@ var init_setvalueaction = __esm(() => {
37181
37187
  valueFrom: nullableType(unionType([
37182
37188
  CaseExpression$outboundSchema,
37183
37189
  unionType([
37184
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37190
+ CelExpression$outboundSchema,
37185
37191
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37186
37192
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37187
37193
  ]),
@@ -37190,13 +37196,13 @@ var init_setvalueaction = __esm(() => {
37190
37196
  if: nullableType(unionType([
37191
37197
  CaseExpression$outboundSchema,
37192
37198
  unionType([
37193
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37199
+ CelExpression$outboundSchema,
37194
37200
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37195
37201
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37196
37202
  ]),
37197
37203
  stringType()
37198
37204
  ])).optional(),
37199
- action: literalType("set").default("set"),
37205
+ action: literalType("set"),
37200
37206
  name: stringType()
37201
37207
  }).transform((v2) => {
37202
37208
  return remap(v2, {
@@ -37215,35 +37221,35 @@ var init_eventtaskevents = __esm(() => {
37215
37221
  init_sayaction();
37216
37222
  init_setvalueaction();
37217
37223
  EventTaskEventsStart$inboundSchema = unionType([
37218
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37219
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37220
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37221
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37222
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37224
+ CallAction$inboundSchema,
37225
+ IncrementAction$inboundSchema,
37226
+ SaveAction$inboundSchema,
37227
+ SayAction$inboundSchema,
37228
+ SetValueAction$inboundSchema
37223
37229
  ]);
37224
37230
  EventTaskEventsStart$outboundSchema = unionType([
37225
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37226
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37227
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37228
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37229
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37231
+ CallAction$outboundSchema,
37232
+ IncrementAction$outboundSchema,
37233
+ SaveAction$outboundSchema,
37234
+ SayAction$outboundSchema,
37235
+ SetValueAction$outboundSchema
37230
37236
  ]);
37231
37237
  EventTaskEvents$inboundSchema = objectType({
37232
37238
  start: nullableType(arrayType(unionType([
37233
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37234
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37235
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37236
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37237
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37239
+ CallAction$inboundSchema,
37240
+ IncrementAction$inboundSchema,
37241
+ SaveAction$inboundSchema,
37242
+ SayAction$inboundSchema,
37243
+ SetValueAction$inboundSchema
37238
37244
  ]))).optional()
37239
37245
  });
37240
37246
  EventTaskEvents$outboundSchema = objectType({
37241
37247
  start: nullableType(arrayType(unionType([
37242
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37243
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37244
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37245
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37246
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37248
+ CallAction$outboundSchema,
37249
+ IncrementAction$outboundSchema,
37250
+ SaveAction$outboundSchema,
37251
+ SayAction$outboundSchema,
37252
+ SetValueAction$outboundSchema
37247
37253
  ]))).optional()
37248
37254
  });
37249
37255
  });
@@ -37266,19 +37272,19 @@ var init_variable = __esm(() => {
37266
37272
  Null: "null"
37267
37273
  };
37268
37274
  One$inboundSchema = unionType([
37269
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37275
+ CelExpression$inboundSchema,
37270
37276
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37271
37277
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37272
37278
  ]);
37273
37279
  One$outboundSchema = unionType([
37274
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37280
+ CelExpression$outboundSchema,
37275
37281
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37276
37282
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37277
37283
  ]);
37278
37284
  VariableValueFrom$inboundSchema = unionType([
37279
37285
  CaseExpression$inboundSchema,
37280
37286
  unionType([
37281
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37287
+ CelExpression$inboundSchema,
37282
37288
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37283
37289
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37284
37290
  ]),
@@ -37287,7 +37293,7 @@ var init_variable = __esm(() => {
37287
37293
  VariableValueFrom$outboundSchema = unionType([
37288
37294
  CaseExpression$outboundSchema,
37289
37295
  unionType([
37290
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37296
+ CelExpression$outboundSchema,
37291
37297
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37292
37298
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37293
37299
  ]),
@@ -37300,7 +37306,7 @@ var init_variable = __esm(() => {
37300
37306
  value_from: nullableType(unionType([
37301
37307
  CaseExpression$inboundSchema,
37302
37308
  unionType([
37303
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37309
+ CelExpression$inboundSchema,
37304
37310
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37305
37311
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37306
37312
  ]),
@@ -37324,7 +37330,7 @@ var init_variable = __esm(() => {
37324
37330
  valueFrom: nullableType(unionType([
37325
37331
  CaseExpression$outboundSchema,
37326
37332
  unionType([
37327
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37333
+ CelExpression$outboundSchema,
37328
37334
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37329
37335
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37330
37336
  ]),
@@ -37359,7 +37365,7 @@ var init_eventtask = __esm(() => {
37359
37365
  variables: nullableType(arrayType(Variable$inboundSchema)).optional(),
37360
37366
  metadata: nullableType(ContextTaskMetadata$inboundSchema).optional(),
37361
37367
  tool: nullableType(ContextToolInfo$inboundSchema).optional(),
37362
- type: literalType("event").default("event"),
37368
+ type: literalType("event"),
37363
37369
  version: literalType("v1alpha").default("v1alpha"),
37364
37370
  on: EventTaskEvents$inboundSchema.optional()
37365
37371
  });
@@ -37369,7 +37375,7 @@ var init_eventtask = __esm(() => {
37369
37375
  variables: nullableType(arrayType(Variable$outboundSchema)).optional(),
37370
37376
  metadata: nullableType(ContextTaskMetadata$outboundSchema).optional(),
37371
37377
  tool: nullableType(ContextToolInfo$outboundSchema).optional(),
37372
- type: literalType("event").default("event"),
37378
+ type: literalType("event"),
37373
37379
  version: literalType("v1alpha").default("v1alpha"),
37374
37380
  on: EventTaskEvents$outboundSchema.optional()
37375
37381
  });
@@ -37385,63 +37391,63 @@ var init_expressiontaskevents = __esm(() => {
37385
37391
  init_sayaction();
37386
37392
  init_setvalueaction();
37387
37393
  Start$inboundSchema = unionType([
37388
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37389
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37390
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37391
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37392
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37394
+ CallAction$inboundSchema,
37395
+ IncrementAction$inboundSchema,
37396
+ SaveAction$inboundSchema,
37397
+ SayAction$inboundSchema,
37398
+ SetValueAction$inboundSchema
37393
37399
  ]);
37394
37400
  Start$outboundSchema = unionType([
37395
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37396
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37397
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37398
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37399
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37401
+ CallAction$outboundSchema,
37402
+ IncrementAction$outboundSchema,
37403
+ SaveAction$outboundSchema,
37404
+ SayAction$outboundSchema,
37405
+ SetValueAction$outboundSchema
37400
37406
  ]);
37401
37407
  Submit$inboundSchema = unionType([
37402
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37403
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37404
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37405
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37406
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37408
+ CallAction$inboundSchema,
37409
+ IncrementAction$inboundSchema,
37410
+ SaveAction$inboundSchema,
37411
+ SayAction$inboundSchema,
37412
+ SetValueAction$inboundSchema
37407
37413
  ]);
37408
37414
  Submit$outboundSchema = unionType([
37409
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37410
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37411
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37412
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37413
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37415
+ CallAction$outboundSchema,
37416
+ IncrementAction$outboundSchema,
37417
+ SaveAction$outboundSchema,
37418
+ SayAction$outboundSchema,
37419
+ SetValueAction$outboundSchema
37414
37420
  ]);
37415
37421
  ExpressionTaskEvents$inboundSchema = objectType({
37416
37422
  start: nullableType(arrayType(unionType([
37417
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37418
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37419
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37420
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37421
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37423
+ CallAction$inboundSchema,
37424
+ IncrementAction$inboundSchema,
37425
+ SaveAction$inboundSchema,
37426
+ SayAction$inboundSchema,
37427
+ SetValueAction$inboundSchema
37422
37428
  ]))).optional(),
37423
37429
  submit: nullableType(arrayType(unionType([
37424
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37425
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37426
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37427
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37428
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37430
+ CallAction$inboundSchema,
37431
+ IncrementAction$inboundSchema,
37432
+ SaveAction$inboundSchema,
37433
+ SayAction$inboundSchema,
37434
+ SetValueAction$inboundSchema
37429
37435
  ]))).optional()
37430
37436
  });
37431
37437
  ExpressionTaskEvents$outboundSchema = objectType({
37432
37438
  start: nullableType(arrayType(unionType([
37433
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37434
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37435
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37436
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37437
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37439
+ CallAction$outboundSchema,
37440
+ IncrementAction$outboundSchema,
37441
+ SaveAction$outboundSchema,
37442
+ SayAction$outboundSchema,
37443
+ SetValueAction$outboundSchema
37438
37444
  ]))).optional(),
37439
37445
  submit: nullableType(arrayType(unionType([
37440
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37441
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37442
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37443
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37444
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37446
+ CallAction$outboundSchema,
37447
+ IncrementAction$outboundSchema,
37448
+ SaveAction$outboundSchema,
37449
+ SayAction$outboundSchema,
37450
+ SetValueAction$outboundSchema
37445
37451
  ]))).optional()
37446
37452
  });
37447
37453
  });
@@ -37498,19 +37504,19 @@ var init_expressiontask = __esm(() => {
37498
37504
  init_jmespathexpression();
37499
37505
  init_variable();
37500
37506
  Expression1$inboundSchema = unionType([
37501
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37507
+ CelExpression$inboundSchema,
37502
37508
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37503
37509
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37504
37510
  ]);
37505
37511
  Expression1$outboundSchema = unionType([
37506
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37512
+ CelExpression$outboundSchema,
37507
37513
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37508
37514
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37509
37515
  ]);
37510
37516
  Expression$inboundSchema = unionType([
37511
37517
  CaseExpression$inboundSchema,
37512
37518
  unionType([
37513
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37519
+ CelExpression$inboundSchema,
37514
37520
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37515
37521
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37516
37522
  ]),
@@ -37519,7 +37525,7 @@ var init_expressiontask = __esm(() => {
37519
37525
  Expression$outboundSchema = unionType([
37520
37526
  CaseExpression$outboundSchema,
37521
37527
  unionType([
37522
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37528
+ CelExpression$outboundSchema,
37523
37529
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37524
37530
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37525
37531
  ]),
@@ -37531,13 +37537,13 @@ var init_expressiontask = __esm(() => {
37531
37537
  variables: nullableType(arrayType(Variable$inboundSchema)).optional(),
37532
37538
  metadata: nullableType(ContextTaskMetadata$inboundSchema).optional(),
37533
37539
  tool: nullableType(ContextToolInfo$inboundSchema).optional(),
37534
- type: literalType("expression").default("expression"),
37540
+ type: literalType("expression"),
37535
37541
  version: literalType("v1alpha").default("v1alpha"),
37536
37542
  inputs: arrayType(InputParameter$inboundSchema).optional(),
37537
37543
  expression: nullableType(unionType([
37538
37544
  CaseExpression$inboundSchema,
37539
37545
  unionType([
37540
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37546
+ CelExpression$inboundSchema,
37541
37547
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37542
37548
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37543
37549
  ]),
@@ -37552,13 +37558,13 @@ var init_expressiontask = __esm(() => {
37552
37558
  variables: nullableType(arrayType(Variable$outboundSchema)).optional(),
37553
37559
  metadata: nullableType(ContextTaskMetadata$outboundSchema).optional(),
37554
37560
  tool: nullableType(ContextToolInfo$outboundSchema).optional(),
37555
- type: literalType("expression").default("expression"),
37561
+ type: literalType("expression"),
37556
37562
  version: literalType("v1alpha").default("v1alpha"),
37557
37563
  inputs: arrayType(InputParameter$outboundSchema).optional(),
37558
37564
  expression: nullableType(unionType([
37559
37565
  CaseExpression$outboundSchema,
37560
37566
  unionType([
37561
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37567
+ CelExpression$outboundSchema,
37562
37568
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37563
37569
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37564
37570
  ]),
@@ -37584,7 +37590,7 @@ var init_loadtoolfromfiletask = __esm(() => {
37584
37590
  variables: nullableType(arrayType(Variable$inboundSchema)).optional(),
37585
37591
  metadata: nullableType(ContextTaskMetadata$inboundSchema).optional(),
37586
37592
  tool: nullableType(ContextToolInfo$inboundSchema).optional(),
37587
- type: literalType("import").default("import"),
37593
+ type: literalType("import"),
37588
37594
  version: literalType("v1alpha").default("v1alpha"),
37589
37595
  file: unionType([stringType(), arrayType(stringType())])
37590
37596
  });
@@ -37594,7 +37600,7 @@ var init_loadtoolfromfiletask = __esm(() => {
37594
37600
  variables: nullableType(arrayType(Variable$outboundSchema)).optional(),
37595
37601
  metadata: nullableType(ContextTaskMetadata$outboundSchema).optional(),
37596
37602
  tool: nullableType(ContextToolInfo$outboundSchema).optional(),
37597
- type: literalType("import").default("import"),
37603
+ type: literalType("import"),
37598
37604
  version: literalType("v1alpha").default("v1alpha"),
37599
37605
  file: unionType([stringType(), arrayType(stringType())])
37600
37606
  });
@@ -37608,19 +37614,19 @@ var init_conditionaltext = __esm(() => {
37608
37614
  init_celexpression();
37609
37615
  init_jmespathexpression();
37610
37616
  ConditionalTextIf1$inboundSchema = unionType([
37611
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37617
+ CelExpression$inboundSchema,
37612
37618
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37613
37619
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37614
37620
  ]);
37615
37621
  ConditionalTextIf1$outboundSchema = unionType([
37616
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37622
+ CelExpression$outboundSchema,
37617
37623
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37618
37624
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37619
37625
  ]);
37620
37626
  ConditionalTextIf$inboundSchema = unionType([
37621
37627
  CaseExpression$inboundSchema,
37622
37628
  unionType([
37623
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37629
+ CelExpression$inboundSchema,
37624
37630
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37625
37631
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37626
37632
  ]),
@@ -37629,7 +37635,7 @@ var init_conditionaltext = __esm(() => {
37629
37635
  ConditionalTextIf$outboundSchema = unionType([
37630
37636
  CaseExpression$outboundSchema,
37631
37637
  unionType([
37632
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37638
+ CelExpression$outboundSchema,
37633
37639
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37634
37640
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37635
37641
  ]),
@@ -37639,7 +37645,7 @@ var init_conditionaltext = __esm(() => {
37639
37645
  if: nullableType(unionType([
37640
37646
  CaseExpression$inboundSchema,
37641
37647
  unionType([
37642
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37648
+ CelExpression$inboundSchema,
37643
37649
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37644
37650
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37645
37651
  ]),
@@ -37651,7 +37657,7 @@ var init_conditionaltext = __esm(() => {
37651
37657
  if: nullableType(unionType([
37652
37658
  CaseExpression$outboundSchema,
37653
37659
  unionType([
37654
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37660
+ CelExpression$outboundSchema,
37655
37661
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37656
37662
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37657
37663
  ]),
@@ -37669,19 +37675,19 @@ var init_nextstep = __esm(() => {
37669
37675
  init_celexpression();
37670
37676
  init_jmespathexpression();
37671
37677
  NextStepIf1$inboundSchema = unionType([
37672
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37678
+ CelExpression$inboundSchema,
37673
37679
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37674
37680
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37675
37681
  ]);
37676
37682
  NextStepIf1$outboundSchema = unionType([
37677
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37683
+ CelExpression$outboundSchema,
37678
37684
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37679
37685
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37680
37686
  ]);
37681
37687
  NextStepIf$inboundSchema = unionType([
37682
37688
  CaseExpression$inboundSchema,
37683
37689
  unionType([
37684
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37690
+ CelExpression$inboundSchema,
37685
37691
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37686
37692
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37687
37693
  ]),
@@ -37690,7 +37696,7 @@ var init_nextstep = __esm(() => {
37690
37696
  NextStepIf$outboundSchema = unionType([
37691
37697
  CaseExpression$outboundSchema,
37692
37698
  unionType([
37693
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37699
+ CelExpression$outboundSchema,
37694
37700
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37695
37701
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37696
37702
  ]),
@@ -37700,7 +37706,7 @@ var init_nextstep = __esm(() => {
37700
37706
  if: nullableType(unionType([
37701
37707
  CaseExpression$inboundSchema,
37702
37708
  unionType([
37703
- CelExpression$inboundSchema.and(objectType({ type: literalType("cel") })),
37709
+ CelExpression$inboundSchema,
37704
37710
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
37705
37711
  JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
37706
37712
  ]),
@@ -37713,7 +37719,7 @@ var init_nextstep = __esm(() => {
37713
37719
  if: nullableType(unionType([
37714
37720
  CaseExpression$outboundSchema,
37715
37721
  unionType([
37716
- CelExpression$outboundSchema.and(objectType({ type: literalType("cel") })),
37722
+ CelExpression$outboundSchema,
37717
37723
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
37718
37724
  JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
37719
37725
  ]),
@@ -37725,7 +37731,7 @@ var init_nextstep = __esm(() => {
37725
37731
  });
37726
37732
 
37727
37733
  // src/models/components/stepeventactions.ts
37728
- var StepEventActionsStart$inboundSchema, StepEventActionsStart$outboundSchema, Enter$inboundSchema, Enter$outboundSchema, StepEventActionsSubmit$inboundSchema, StepEventActionsSubmit$outboundSchema, StepEventActions$inboundSchema, StepEventActions$outboundSchema;
37734
+ var StepEventActionsStart$inboundSchema, StepEventActionsStart$outboundSchema, Enter$inboundSchema, Enter$outboundSchema, Presubmit$inboundSchema, Presubmit$outboundSchema, StepEventActionsSubmit$inboundSchema, StepEventActionsSubmit$outboundSchema, StepEventActions$inboundSchema, StepEventActions$outboundSchema;
37729
37735
  var init_stepeventactions = __esm(() => {
37730
37736
  init_v3();
37731
37737
  init_callaction();
@@ -37734,91 +37740,111 @@ var init_stepeventactions = __esm(() => {
37734
37740
  init_sayaction();
37735
37741
  init_setvalueaction();
37736
37742
  StepEventActionsStart$inboundSchema = unionType([
37737
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37738
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37739
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37740
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37741
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37743
+ CallAction$inboundSchema,
37744
+ IncrementAction$inboundSchema,
37745
+ SaveAction$inboundSchema,
37746
+ SayAction$inboundSchema,
37747
+ SetValueAction$inboundSchema
37742
37748
  ]);
37743
37749
  StepEventActionsStart$outboundSchema = unionType([
37744
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37745
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37746
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37747
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37748
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37750
+ CallAction$outboundSchema,
37751
+ IncrementAction$outboundSchema,
37752
+ SaveAction$outboundSchema,
37753
+ SayAction$outboundSchema,
37754
+ SetValueAction$outboundSchema
37749
37755
  ]);
37750
37756
  Enter$inboundSchema = unionType([
37751
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37752
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37753
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37754
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37755
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37757
+ CallAction$inboundSchema,
37758
+ IncrementAction$inboundSchema,
37759
+ SaveAction$inboundSchema,
37760
+ SayAction$inboundSchema,
37761
+ SetValueAction$inboundSchema
37756
37762
  ]);
37757
37763
  Enter$outboundSchema = unionType([
37758
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37759
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37760
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37761
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37762
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37764
+ CallAction$outboundSchema,
37765
+ IncrementAction$outboundSchema,
37766
+ SaveAction$outboundSchema,
37767
+ SayAction$outboundSchema,
37768
+ SetValueAction$outboundSchema
37769
+ ]);
37770
+ Presubmit$inboundSchema = unionType([
37771
+ IncrementAction$inboundSchema,
37772
+ SaveAction$inboundSchema,
37773
+ SetValueAction$inboundSchema
37774
+ ]);
37775
+ Presubmit$outboundSchema = unionType([
37776
+ IncrementAction$outboundSchema,
37777
+ SaveAction$outboundSchema,
37778
+ SetValueAction$outboundSchema
37763
37779
  ]);
37764
37780
  StepEventActionsSubmit$inboundSchema = unionType([
37765
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37766
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37767
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37768
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37769
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37781
+ CallAction$inboundSchema,
37782
+ IncrementAction$inboundSchema,
37783
+ SaveAction$inboundSchema,
37784
+ SayAction$inboundSchema,
37785
+ SetValueAction$inboundSchema
37770
37786
  ]);
37771
37787
  StepEventActionsSubmit$outboundSchema = unionType([
37772
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37773
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37774
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37775
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37776
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37788
+ CallAction$outboundSchema,
37789
+ IncrementAction$outboundSchema,
37790
+ SaveAction$outboundSchema,
37791
+ SayAction$outboundSchema,
37792
+ SetValueAction$outboundSchema
37777
37793
  ]);
37778
37794
  StepEventActions$inboundSchema = objectType({
37779
37795
  start: nullableType(arrayType(unionType([
37780
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37781
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37782
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37783
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37784
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37796
+ CallAction$inboundSchema,
37797
+ IncrementAction$inboundSchema,
37798
+ SaveAction$inboundSchema,
37799
+ SayAction$inboundSchema,
37800
+ SetValueAction$inboundSchema
37785
37801
  ]))).optional(),
37786
37802
  enter: nullableType(arrayType(unionType([
37787
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37788
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37789
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37790
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37791
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37803
+ CallAction$inboundSchema,
37804
+ IncrementAction$inboundSchema,
37805
+ SaveAction$inboundSchema,
37806
+ SayAction$inboundSchema,
37807
+ SetValueAction$inboundSchema
37808
+ ]))).optional(),
37809
+ presubmit: nullableType(arrayType(unionType([
37810
+ IncrementAction$inboundSchema,
37811
+ SaveAction$inboundSchema,
37812
+ SetValueAction$inboundSchema
37792
37813
  ]))).optional(),
37793
37814
  submit: nullableType(arrayType(unionType([
37794
- CallAction$inboundSchema.and(objectType({ action: literalType("call") })),
37795
- IncrementAction$inboundSchema.and(objectType({ action: literalType("inc") })),
37796
- SayAction$inboundSchema.and(objectType({ action: literalType("say") })),
37797
- SetValueAction$inboundSchema.and(objectType({ action: literalType("set") })),
37798
- SaveAction$inboundSchema.and(objectType({ action: literalType("save") }))
37815
+ CallAction$inboundSchema,
37816
+ IncrementAction$inboundSchema,
37817
+ SaveAction$inboundSchema,
37818
+ SayAction$inboundSchema,
37819
+ SetValueAction$inboundSchema
37799
37820
  ]))).optional()
37800
37821
  });
37801
37822
  StepEventActions$outboundSchema = objectType({
37802
37823
  start: nullableType(arrayType(unionType([
37803
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37804
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37805
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37806
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37807
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37824
+ CallAction$outboundSchema,
37825
+ IncrementAction$outboundSchema,
37826
+ SaveAction$outboundSchema,
37827
+ SayAction$outboundSchema,
37828
+ SetValueAction$outboundSchema
37808
37829
  ]))).optional(),
37809
37830
  enter: nullableType(arrayType(unionType([
37810
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37811
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37812
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37813
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37814
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37831
+ CallAction$outboundSchema,
37832
+ IncrementAction$outboundSchema,
37833
+ SaveAction$outboundSchema,
37834
+ SayAction$outboundSchema,
37835
+ SetValueAction$outboundSchema
37836
+ ]))).optional(),
37837
+ presubmit: nullableType(arrayType(unionType([
37838
+ IncrementAction$outboundSchema,
37839
+ SaveAction$outboundSchema,
37840
+ SetValueAction$outboundSchema
37815
37841
  ]))).optional(),
37816
37842
  submit: nullableType(arrayType(unionType([
37817
- CallAction$outboundSchema.and(objectType({ action: literalType("call") })),
37818
- IncrementAction$outboundSchema.and(objectType({ action: literalType("inc") })),
37819
- SayAction$outboundSchema.and(objectType({ action: literalType("say") })),
37820
- SetValueAction$outboundSchema.and(objectType({ action: literalType("set") })),
37821
- SaveAction$outboundSchema.and(objectType({ action: literalType("save") }))
37843
+ CallAction$outboundSchema,
37844
+ IncrementAction$outboundSchema,
37845
+ SaveAction$outboundSchema,
37846
+ SayAction$outboundSchema,
37847
+ SetValueAction$outboundSchema
37822
37848
  ]))).optional()
37823
37849
  });
37824
37850
  });
@@ -37895,7 +37921,7 @@ var init_stepstask = __esm(() => {
37895
37921
  variables: nullableType(arrayType(Variable$inboundSchema)).optional(),
37896
37922
  metadata: nullableType(ContextTaskMetadata$inboundSchema).optional(),
37897
37923
  tool: nullableType(ContextToolInfo$inboundSchema).optional(),
37898
- type: literalType("steps").default("steps"),
37924
+ type: literalType("steps"),
37899
37925
  version: literalType("v1alpha").default("v1alpha"),
37900
37926
  steps: arrayType(Step$inboundSchema).optional()
37901
37927
  });
@@ -37905,7 +37931,7 @@ var init_stepstask = __esm(() => {
37905
37931
  variables: nullableType(arrayType(Variable$outboundSchema)).optional(),
37906
37932
  metadata: nullableType(ContextTaskMetadata$outboundSchema).optional(),
37907
37933
  tool: nullableType(ContextToolInfo$outboundSchema).optional(),
37908
- type: literalType("steps").default("steps"),
37934
+ type: literalType("steps"),
37909
37935
  version: literalType("v1alpha").default("v1alpha"),
37910
37936
  steps: arrayType(Step$outboundSchema).optional()
37911
37937
  });
@@ -37920,86 +37946,86 @@ var init_context = __esm(() => {
37920
37946
  init_loadtoolfromfiletask();
37921
37947
  init_stepstask();
37922
37948
  Two$inboundSchema = unionType([
37923
- LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") })),
37924
- EventTask$inboundSchema.and(objectType({ type: literalType("event") })),
37925
- ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") })),
37926
- StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }))
37949
+ EventTask$inboundSchema,
37950
+ ExpressionTask$inboundSchema,
37951
+ LoadToolFromFileTask$inboundSchema,
37952
+ StepsTask$inboundSchema
37927
37953
  ]);
37928
37954
  Two$outboundSchema = unionType([
37929
- LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") })),
37930
- EventTask$outboundSchema.and(objectType({ type: literalType("event") })),
37931
- ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") })),
37932
- StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }))
37955
+ EventTask$outboundSchema,
37956
+ ExpressionTask$outboundSchema,
37957
+ LoadToolFromFileTask$outboundSchema,
37958
+ StepsTask$outboundSchema
37933
37959
  ]);
37934
37960
  Task1$inboundSchema = unionType([
37935
- LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") })),
37936
- EventTask$inboundSchema.and(objectType({ type: literalType("event") })),
37937
- ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") })),
37938
- StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }))
37961
+ EventTask$inboundSchema,
37962
+ ExpressionTask$inboundSchema,
37963
+ LoadToolFromFileTask$inboundSchema,
37964
+ StepsTask$inboundSchema
37939
37965
  ]);
37940
37966
  Task1$outboundSchema = unionType([
37941
- LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") })),
37942
- EventTask$outboundSchema.and(objectType({ type: literalType("event") })),
37943
- ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") })),
37944
- StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }))
37967
+ EventTask$outboundSchema,
37968
+ ExpressionTask$outboundSchema,
37969
+ LoadToolFromFileTask$outboundSchema,
37970
+ StepsTask$outboundSchema
37945
37971
  ]);
37946
37972
  Task$inboundSchema = unionType([
37947
37973
  unionType([
37948
- LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") })),
37949
- EventTask$inboundSchema.and(objectType({ type: literalType("event") })),
37950
- ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") })),
37951
- StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }))
37974
+ EventTask$inboundSchema,
37975
+ ExpressionTask$inboundSchema,
37976
+ LoadToolFromFileTask$inboundSchema,
37977
+ StepsTask$inboundSchema
37952
37978
  ]),
37953
37979
  arrayType(unionType([
37954
- LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") })),
37955
- EventTask$inboundSchema.and(objectType({ type: literalType("event") })),
37956
- ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") })),
37957
- StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }))
37980
+ EventTask$inboundSchema,
37981
+ ExpressionTask$inboundSchema,
37982
+ LoadToolFromFileTask$inboundSchema,
37983
+ StepsTask$inboundSchema
37958
37984
  ]))
37959
37985
  ]);
37960
37986
  Task$outboundSchema = unionType([
37961
37987
  unionType([
37962
- LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") })),
37963
- EventTask$outboundSchema.and(objectType({ type: literalType("event") })),
37964
- ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") })),
37965
- StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }))
37988
+ EventTask$outboundSchema,
37989
+ ExpressionTask$outboundSchema,
37990
+ LoadToolFromFileTask$outboundSchema,
37991
+ StepsTask$outboundSchema
37966
37992
  ]),
37967
37993
  arrayType(unionType([
37968
- LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") })),
37969
- EventTask$outboundSchema.and(objectType({ type: literalType("event") })),
37970
- ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") })),
37971
- StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }))
37994
+ EventTask$outboundSchema,
37995
+ ExpressionTask$outboundSchema,
37996
+ LoadToolFromFileTask$outboundSchema,
37997
+ StepsTask$outboundSchema
37972
37998
  ]))
37973
37999
  ]);
37974
38000
  Context$inboundSchema = objectType({
37975
38001
  task: nullableType(unionType([
37976
38002
  unionType([
37977
- LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") })),
37978
- EventTask$inboundSchema.and(objectType({ type: literalType("event") })),
37979
- ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") })),
37980
- StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }))
38003
+ EventTask$inboundSchema,
38004
+ ExpressionTask$inboundSchema,
38005
+ LoadToolFromFileTask$inboundSchema,
38006
+ StepsTask$inboundSchema
37981
38007
  ]),
37982
38008
  arrayType(unionType([
37983
- LoadToolFromFileTask$inboundSchema.and(objectType({ type: literalType("import") })),
37984
- EventTask$inboundSchema.and(objectType({ type: literalType("event") })),
37985
- ExpressionTask$inboundSchema.and(objectType({ type: literalType("expression") })),
37986
- StepsTask$inboundSchema.and(objectType({ type: literalType("steps") }))
38009
+ EventTask$inboundSchema,
38010
+ ExpressionTask$inboundSchema,
38011
+ LoadToolFromFileTask$inboundSchema,
38012
+ StepsTask$inboundSchema
37987
38013
  ]))
37988
38014
  ])).optional()
37989
38015
  });
37990
38016
  Context$outboundSchema = objectType({
37991
38017
  task: nullableType(unionType([
37992
38018
  unionType([
37993
- LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") })),
37994
- EventTask$outboundSchema.and(objectType({ type: literalType("event") })),
37995
- ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") })),
37996
- StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }))
38019
+ EventTask$outboundSchema,
38020
+ ExpressionTask$outboundSchema,
38021
+ LoadToolFromFileTask$outboundSchema,
38022
+ StepsTask$outboundSchema
37997
38023
  ]),
37998
38024
  arrayType(unionType([
37999
- LoadToolFromFileTask$outboundSchema.and(objectType({ type: literalType("import") })),
38000
- EventTask$outboundSchema.and(objectType({ type: literalType("event") })),
38001
- ExpressionTask$outboundSchema.and(objectType({ type: literalType("expression") })),
38002
- StepsTask$outboundSchema.and(objectType({ type: literalType("steps") }))
38025
+ EventTask$outboundSchema,
38026
+ ExpressionTask$outboundSchema,
38027
+ LoadToolFromFileTask$outboundSchema,
38028
+ StepsTask$outboundSchema
38003
38029
  ]))
38004
38030
  ])).optional()
38005
38031
  });
@@ -38154,12 +38180,12 @@ var init_toolparametertransformcondition = __esm(() => {
38154
38180
  ToolParameterTransformCondition$inboundSchema = objectType({
38155
38181
  key: stringType(),
38156
38182
  value: stringType(),
38157
- operator: nullableType(literalType("eq").default("eq")).optional()
38183
+ operator: nullableType(literalType("eq")).optional()
38158
38184
  });
38159
38185
  ToolParameterTransformCondition$outboundSchema = objectType({
38160
38186
  key: stringType(),
38161
38187
  value: stringType(),
38162
- operator: nullableType(literalType("eq"))
38188
+ operator: nullableType(literalType("eq")).optional()
38163
38189
  });
38164
38190
  });
38165
38191
 
@@ -65747,7 +65773,7 @@ Generate voice sample.`,
65747
65773
  function createMCPServer(deps) {
65748
65774
  const server = new McpServer({
65749
65775
  name: "SyllableSDK",
65750
- version: "1.0.14-rc.1"
65776
+ version: "1.0.14-rc.3"
65751
65777
  });
65752
65778
  const client = new SyllableSDKCore({
65753
65779
  apiKeyHeader: deps.apiKeyHeader,
@@ -67285,7 +67311,7 @@ var routes = ln({
67285
67311
  var app = _e(routes, {
67286
67312
  name: "mcp",
67287
67313
  versionInfo: {
67288
- currentVersion: "1.0.14-rc.1"
67314
+ currentVersion: "1.0.14-rc.3"
67289
67315
  }
67290
67316
  });
67291
67317
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -67293,5 +67319,5 @@ export {
67293
67319
  app
67294
67320
  };
67295
67321
 
67296
- //# debugId=4B3DD770098FB5AC64756E2164756E21
67322
+ //# debugId=EBFDB36389F6ABDC64756E2164756E21
67297
67323
  //# sourceMappingURL=mcp-server.js.map