syllable-sdk 1.0.15 → 1.0.16-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -38
- package/bin/mcp-server.js +223 -94
- package/bin/mcp-server.js.map +14 -13
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.js.map +1 -1
- package/models/components/eventtaskevents.d.ts +4 -5
- package/models/components/eventtaskevents.d.ts.map +1 -1
- package/models/components/eventtaskevents.js +0 -5
- package/models/components/eventtaskevents.js.map +1 -1
- package/models/components/expressiontask.d.ts +1 -1
- package/models/components/expressiontaskevents.d.ts +5 -5
- package/models/components/expressiontaskevents.d.ts.map +1 -1
- package/models/components/expressiontaskevents.js +0 -4
- package/models/components/expressiontaskevents.js.map +1 -1
- package/models/components/getvalueaction.d.ts +154 -0
- package/models/components/getvalueaction.d.ts.map +1 -0
- package/models/components/getvalueaction.js +220 -0
- package/models/components/getvalueaction.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/stepeventactions.d.ts +45 -12
- package/models/components/stepeventactions.d.ts.map +1 -1
- package/models/components/stepeventactions.js +17 -8
- package/models/components/stepeventactions.js.map +1 -1
- package/models/components/toolparametertransform.d.ts +5 -5
- package/models/components/toolparametertransform.d.ts.map +1 -1
- package/models/components/toolparametertransform.js +6 -7
- package/models/components/toolparametertransform.js.map +1 -1
- package/openapi.json +175 -67
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/eventtaskevents.ts +1 -16
- package/src/models/components/expressiontask.ts +1 -1
- package/src/models/components/expressiontaskevents.ts +3 -16
- package/src/models/components/getvalueaction.ts +458 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/stepeventactions.ts +71 -21
- package/src/models/components/toolparametertransform.ts +13 -9
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.
|
|
34423
|
-
genVersion: "2.
|
|
34424
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
34422
|
+
sdkVersion: "1.0.16-rc.2",
|
|
34423
|
+
genVersion: "2.774.0",
|
|
34424
|
+
userAgent: "speakeasy-sdk/typescript 1.0.16-rc.2 2.774.0 0.0.2 syllable-sdk"
|
|
34425
34425
|
};
|
|
34426
34426
|
});
|
|
34427
34427
|
|
|
@@ -36955,71 +36955,6 @@ var init_incrementaction = __esm(() => {
|
|
|
36955
36955
|
});
|
|
36956
36956
|
});
|
|
36957
36957
|
|
|
36958
|
-
// src/models/components/saveaction.ts
|
|
36959
|
-
var SaveActionIf1$inboundSchema, SaveActionIf1$outboundSchema, SaveActionIf$inboundSchema, SaveActionIf$outboundSchema, SaveAction$inboundSchema, SaveAction$outboundSchema;
|
|
36960
|
-
var init_saveaction = __esm(() => {
|
|
36961
|
-
init_v3();
|
|
36962
|
-
init_caseexpression();
|
|
36963
|
-
init_celexpression();
|
|
36964
|
-
init_jmespathexpression();
|
|
36965
|
-
SaveActionIf1$inboundSchema = unionType([
|
|
36966
|
-
CelExpression$inboundSchema,
|
|
36967
|
-
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
36968
|
-
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
36969
|
-
]);
|
|
36970
|
-
SaveActionIf1$outboundSchema = unionType([
|
|
36971
|
-
CelExpression$outboundSchema,
|
|
36972
|
-
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
36973
|
-
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
36974
|
-
]);
|
|
36975
|
-
SaveActionIf$inboundSchema = unionType([
|
|
36976
|
-
CaseExpression$inboundSchema,
|
|
36977
|
-
unionType([
|
|
36978
|
-
CelExpression$inboundSchema,
|
|
36979
|
-
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
36980
|
-
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
36981
|
-
]),
|
|
36982
|
-
stringType()
|
|
36983
|
-
]);
|
|
36984
|
-
SaveActionIf$outboundSchema = unionType([
|
|
36985
|
-
CaseExpression$outboundSchema,
|
|
36986
|
-
unionType([
|
|
36987
|
-
CelExpression$outboundSchema,
|
|
36988
|
-
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
36989
|
-
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
36990
|
-
]),
|
|
36991
|
-
stringType()
|
|
36992
|
-
]);
|
|
36993
|
-
SaveAction$inboundSchema = objectType({
|
|
36994
|
-
if: nullableType(unionType([
|
|
36995
|
-
CaseExpression$inboundSchema,
|
|
36996
|
-
unionType([
|
|
36997
|
-
CelExpression$inboundSchema,
|
|
36998
|
-
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
36999
|
-
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37000
|
-
]),
|
|
37001
|
-
stringType()
|
|
37002
|
-
])).optional(),
|
|
37003
|
-
action: literalType("save"),
|
|
37004
|
-
name: nullableType(stringType()).optional(),
|
|
37005
|
-
inputs: nullableType(arrayType(stringType())).optional()
|
|
37006
|
-
});
|
|
37007
|
-
SaveAction$outboundSchema = objectType({
|
|
37008
|
-
if: nullableType(unionType([
|
|
37009
|
-
CaseExpression$outboundSchema,
|
|
37010
|
-
unionType([
|
|
37011
|
-
CelExpression$outboundSchema,
|
|
37012
|
-
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37013
|
-
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37014
|
-
]),
|
|
37015
|
-
stringType()
|
|
37016
|
-
])).optional(),
|
|
37017
|
-
action: literalType("save"),
|
|
37018
|
-
name: nullableType(stringType()).optional(),
|
|
37019
|
-
inputs: nullableType(arrayType(stringType())).optional()
|
|
37020
|
-
});
|
|
37021
|
-
});
|
|
37022
|
-
|
|
37023
36958
|
// src/models/components/sayaction.ts
|
|
37024
36959
|
var Role, SayActionIf1$inboundSchema, SayActionIf1$outboundSchema, SayActionIf$inboundSchema, SayActionIf$outboundSchema, Role$inboundSchema, Role$outboundSchema, SayAction$inboundSchema, SayAction$outboundSchema;
|
|
37025
36960
|
var init_sayaction = __esm(() => {
|
|
@@ -37217,20 +37152,17 @@ var init_eventtaskevents = __esm(() => {
|
|
|
37217
37152
|
init_v3();
|
|
37218
37153
|
init_callaction();
|
|
37219
37154
|
init_incrementaction();
|
|
37220
|
-
init_saveaction();
|
|
37221
37155
|
init_sayaction();
|
|
37222
37156
|
init_setvalueaction();
|
|
37223
37157
|
EventTaskEventsStart$inboundSchema = unionType([
|
|
37224
37158
|
CallAction$inboundSchema,
|
|
37225
37159
|
IncrementAction$inboundSchema,
|
|
37226
|
-
SaveAction$inboundSchema,
|
|
37227
37160
|
SayAction$inboundSchema,
|
|
37228
37161
|
SetValueAction$inboundSchema
|
|
37229
37162
|
]);
|
|
37230
37163
|
EventTaskEventsStart$outboundSchema = unionType([
|
|
37231
37164
|
CallAction$outboundSchema,
|
|
37232
37165
|
IncrementAction$outboundSchema,
|
|
37233
|
-
SaveAction$outboundSchema,
|
|
37234
37166
|
SayAction$outboundSchema,
|
|
37235
37167
|
SetValueAction$outboundSchema
|
|
37236
37168
|
]);
|
|
@@ -37238,7 +37170,6 @@ var init_eventtaskevents = __esm(() => {
|
|
|
37238
37170
|
start: nullableType(arrayType(unionType([
|
|
37239
37171
|
CallAction$inboundSchema,
|
|
37240
37172
|
IncrementAction$inboundSchema,
|
|
37241
|
-
SaveAction$inboundSchema,
|
|
37242
37173
|
SayAction$inboundSchema,
|
|
37243
37174
|
SetValueAction$inboundSchema
|
|
37244
37175
|
]))).optional()
|
|
@@ -37247,7 +37178,6 @@ var init_eventtaskevents = __esm(() => {
|
|
|
37247
37178
|
start: nullableType(arrayType(unionType([
|
|
37248
37179
|
CallAction$outboundSchema,
|
|
37249
37180
|
IncrementAction$outboundSchema,
|
|
37250
|
-
SaveAction$outboundSchema,
|
|
37251
37181
|
SayAction$outboundSchema,
|
|
37252
37182
|
SetValueAction$outboundSchema
|
|
37253
37183
|
]))).optional()
|
|
@@ -37381,6 +37311,71 @@ var init_eventtask = __esm(() => {
|
|
|
37381
37311
|
});
|
|
37382
37312
|
});
|
|
37383
37313
|
|
|
37314
|
+
// src/models/components/saveaction.ts
|
|
37315
|
+
var SaveActionIf1$inboundSchema, SaveActionIf1$outboundSchema, SaveActionIf$inboundSchema, SaveActionIf$outboundSchema, SaveAction$inboundSchema, SaveAction$outboundSchema;
|
|
37316
|
+
var init_saveaction = __esm(() => {
|
|
37317
|
+
init_v3();
|
|
37318
|
+
init_caseexpression();
|
|
37319
|
+
init_celexpression();
|
|
37320
|
+
init_jmespathexpression();
|
|
37321
|
+
SaveActionIf1$inboundSchema = unionType([
|
|
37322
|
+
CelExpression$inboundSchema,
|
|
37323
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37324
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37325
|
+
]);
|
|
37326
|
+
SaveActionIf1$outboundSchema = unionType([
|
|
37327
|
+
CelExpression$outboundSchema,
|
|
37328
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37329
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37330
|
+
]);
|
|
37331
|
+
SaveActionIf$inboundSchema = unionType([
|
|
37332
|
+
CaseExpression$inboundSchema,
|
|
37333
|
+
unionType([
|
|
37334
|
+
CelExpression$inboundSchema,
|
|
37335
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37336
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37337
|
+
]),
|
|
37338
|
+
stringType()
|
|
37339
|
+
]);
|
|
37340
|
+
SaveActionIf$outboundSchema = unionType([
|
|
37341
|
+
CaseExpression$outboundSchema,
|
|
37342
|
+
unionType([
|
|
37343
|
+
CelExpression$outboundSchema,
|
|
37344
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37345
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37346
|
+
]),
|
|
37347
|
+
stringType()
|
|
37348
|
+
]);
|
|
37349
|
+
SaveAction$inboundSchema = objectType({
|
|
37350
|
+
if: nullableType(unionType([
|
|
37351
|
+
CaseExpression$inboundSchema,
|
|
37352
|
+
unionType([
|
|
37353
|
+
CelExpression$inboundSchema,
|
|
37354
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37355
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37356
|
+
]),
|
|
37357
|
+
stringType()
|
|
37358
|
+
])).optional(),
|
|
37359
|
+
action: literalType("save"),
|
|
37360
|
+
name: nullableType(stringType()).optional(),
|
|
37361
|
+
inputs: nullableType(arrayType(stringType())).optional()
|
|
37362
|
+
});
|
|
37363
|
+
SaveAction$outboundSchema = objectType({
|
|
37364
|
+
if: nullableType(unionType([
|
|
37365
|
+
CaseExpression$outboundSchema,
|
|
37366
|
+
unionType([
|
|
37367
|
+
CelExpression$outboundSchema,
|
|
37368
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37369
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37370
|
+
]),
|
|
37371
|
+
stringType()
|
|
37372
|
+
])).optional(),
|
|
37373
|
+
action: literalType("save"),
|
|
37374
|
+
name: nullableType(stringType()).optional(),
|
|
37375
|
+
inputs: nullableType(arrayType(stringType())).optional()
|
|
37376
|
+
});
|
|
37377
|
+
});
|
|
37378
|
+
|
|
37384
37379
|
// src/models/components/expressiontaskevents.ts
|
|
37385
37380
|
var Start$inboundSchema, Start$outboundSchema, Submit$inboundSchema, Submit$outboundSchema, ExpressionTaskEvents$inboundSchema, ExpressionTaskEvents$outboundSchema;
|
|
37386
37381
|
var init_expressiontaskevents = __esm(() => {
|
|
@@ -37393,14 +37388,12 @@ var init_expressiontaskevents = __esm(() => {
|
|
|
37393
37388
|
Start$inboundSchema = unionType([
|
|
37394
37389
|
CallAction$inboundSchema,
|
|
37395
37390
|
IncrementAction$inboundSchema,
|
|
37396
|
-
SaveAction$inboundSchema,
|
|
37397
37391
|
SayAction$inboundSchema,
|
|
37398
37392
|
SetValueAction$inboundSchema
|
|
37399
37393
|
]);
|
|
37400
37394
|
Start$outboundSchema = unionType([
|
|
37401
37395
|
CallAction$outboundSchema,
|
|
37402
37396
|
IncrementAction$outboundSchema,
|
|
37403
|
-
SaveAction$outboundSchema,
|
|
37404
37397
|
SayAction$outboundSchema,
|
|
37405
37398
|
SetValueAction$outboundSchema
|
|
37406
37399
|
]);
|
|
@@ -37422,7 +37415,6 @@ var init_expressiontaskevents = __esm(() => {
|
|
|
37422
37415
|
start: nullableType(arrayType(unionType([
|
|
37423
37416
|
CallAction$inboundSchema,
|
|
37424
37417
|
IncrementAction$inboundSchema,
|
|
37425
|
-
SaveAction$inboundSchema,
|
|
37426
37418
|
SayAction$inboundSchema,
|
|
37427
37419
|
SetValueAction$inboundSchema
|
|
37428
37420
|
]))).optional(),
|
|
@@ -37438,7 +37430,6 @@ var init_expressiontaskevents = __esm(() => {
|
|
|
37438
37430
|
start: nullableType(arrayType(unionType([
|
|
37439
37431
|
CallAction$outboundSchema,
|
|
37440
37432
|
IncrementAction$outboundSchema,
|
|
37441
|
-
SaveAction$outboundSchema,
|
|
37442
37433
|
SayAction$outboundSchema,
|
|
37443
37434
|
SetValueAction$outboundSchema
|
|
37444
37435
|
]))).optional(),
|
|
@@ -37730,11 +37721,140 @@ var init_nextstep = __esm(() => {
|
|
|
37730
37721
|
});
|
|
37731
37722
|
});
|
|
37732
37723
|
|
|
37724
|
+
// src/models/components/getvalueaction.ts
|
|
37725
|
+
var Action, GetValueActionValueFrom1$inboundSchema, GetValueActionValueFrom1$outboundSchema, GetValueActionValueFrom$inboundSchema, GetValueActionValueFrom$outboundSchema, GetValueActionIf1$inboundSchema, GetValueActionIf1$outboundSchema, GetValueActionIf$inboundSchema, GetValueActionIf$outboundSchema, Action$inboundSchema, Action$outboundSchema, GetValueAction$inboundSchema, GetValueAction$outboundSchema;
|
|
37726
|
+
var init_getvalueaction = __esm(() => {
|
|
37727
|
+
init_v3();
|
|
37728
|
+
init_primitives();
|
|
37729
|
+
init_caseexpression();
|
|
37730
|
+
init_celexpression();
|
|
37731
|
+
init_jmespathexpression();
|
|
37732
|
+
Action = {
|
|
37733
|
+
Get: "get",
|
|
37734
|
+
Load: "load"
|
|
37735
|
+
};
|
|
37736
|
+
GetValueActionValueFrom1$inboundSchema = unionType([
|
|
37737
|
+
CelExpression$inboundSchema,
|
|
37738
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37739
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37740
|
+
]);
|
|
37741
|
+
GetValueActionValueFrom1$outboundSchema = unionType([
|
|
37742
|
+
CelExpression$outboundSchema,
|
|
37743
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37744
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37745
|
+
]);
|
|
37746
|
+
GetValueActionValueFrom$inboundSchema = unionType([
|
|
37747
|
+
CaseExpression$inboundSchema,
|
|
37748
|
+
unionType([
|
|
37749
|
+
CelExpression$inboundSchema,
|
|
37750
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37751
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37752
|
+
]),
|
|
37753
|
+
stringType()
|
|
37754
|
+
]);
|
|
37755
|
+
GetValueActionValueFrom$outboundSchema = unionType([
|
|
37756
|
+
CaseExpression$outboundSchema,
|
|
37757
|
+
unionType([
|
|
37758
|
+
CelExpression$outboundSchema,
|
|
37759
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37760
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37761
|
+
]),
|
|
37762
|
+
stringType()
|
|
37763
|
+
]);
|
|
37764
|
+
GetValueActionIf1$inboundSchema = unionType([
|
|
37765
|
+
CelExpression$inboundSchema,
|
|
37766
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37767
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37768
|
+
]);
|
|
37769
|
+
GetValueActionIf1$outboundSchema = unionType([
|
|
37770
|
+
CelExpression$outboundSchema,
|
|
37771
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37772
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37773
|
+
]);
|
|
37774
|
+
GetValueActionIf$inboundSchema = unionType([
|
|
37775
|
+
CaseExpression$inboundSchema,
|
|
37776
|
+
unionType([
|
|
37777
|
+
CelExpression$inboundSchema,
|
|
37778
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37779
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37780
|
+
]),
|
|
37781
|
+
stringType()
|
|
37782
|
+
]);
|
|
37783
|
+
GetValueActionIf$outboundSchema = unionType([
|
|
37784
|
+
CaseExpression$outboundSchema,
|
|
37785
|
+
unionType([
|
|
37786
|
+
CelExpression$outboundSchema,
|
|
37787
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37788
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37789
|
+
]),
|
|
37790
|
+
stringType()
|
|
37791
|
+
]);
|
|
37792
|
+
Action$inboundSchema = nativeEnumType(Action);
|
|
37793
|
+
Action$outboundSchema = Action$inboundSchema;
|
|
37794
|
+
GetValueAction$inboundSchema = objectType({
|
|
37795
|
+
value: nullableType(anyType()).optional(),
|
|
37796
|
+
value_from: nullableType(unionType([
|
|
37797
|
+
CaseExpression$inboundSchema,
|
|
37798
|
+
unionType([
|
|
37799
|
+
CelExpression$inboundSchema,
|
|
37800
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37801
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37802
|
+
]),
|
|
37803
|
+
stringType()
|
|
37804
|
+
])).optional(),
|
|
37805
|
+
if: nullableType(unionType([
|
|
37806
|
+
CaseExpression$inboundSchema,
|
|
37807
|
+
unionType([
|
|
37808
|
+
CelExpression$inboundSchema,
|
|
37809
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37810
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37811
|
+
]),
|
|
37812
|
+
stringType()
|
|
37813
|
+
])).optional(),
|
|
37814
|
+
action: Action$inboundSchema.default("get"),
|
|
37815
|
+
inputs: nullableType(arrayType(stringType())).optional(),
|
|
37816
|
+
overwrite: booleanType().default(false)
|
|
37817
|
+
}).transform((v2) => {
|
|
37818
|
+
return remap(v2, {
|
|
37819
|
+
value_from: "valueFrom"
|
|
37820
|
+
});
|
|
37821
|
+
});
|
|
37822
|
+
GetValueAction$outboundSchema = objectType({
|
|
37823
|
+
value: nullableType(anyType()).optional(),
|
|
37824
|
+
valueFrom: nullableType(unionType([
|
|
37825
|
+
CaseExpression$outboundSchema,
|
|
37826
|
+
unionType([
|
|
37827
|
+
CelExpression$outboundSchema,
|
|
37828
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37829
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37830
|
+
]),
|
|
37831
|
+
stringType()
|
|
37832
|
+
])).optional(),
|
|
37833
|
+
if: nullableType(unionType([
|
|
37834
|
+
CaseExpression$outboundSchema,
|
|
37835
|
+
unionType([
|
|
37836
|
+
CelExpression$outboundSchema,
|
|
37837
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
37838
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
37839
|
+
]),
|
|
37840
|
+
stringType()
|
|
37841
|
+
])).optional(),
|
|
37842
|
+
action: Action$outboundSchema.default("get"),
|
|
37843
|
+
inputs: nullableType(arrayType(stringType())).optional(),
|
|
37844
|
+
overwrite: booleanType().default(false)
|
|
37845
|
+
}).transform((v2) => {
|
|
37846
|
+
return remap(v2, {
|
|
37847
|
+
valueFrom: "value_from"
|
|
37848
|
+
});
|
|
37849
|
+
});
|
|
37850
|
+
});
|
|
37851
|
+
|
|
37733
37852
|
// src/models/components/stepeventactions.ts
|
|
37734
37853
|
var StepEventActionsStart$inboundSchema, StepEventActionsStart$outboundSchema, Enter$inboundSchema, Enter$outboundSchema, Presubmit$inboundSchema, Presubmit$outboundSchema, StepEventActionsSubmit$inboundSchema, StepEventActionsSubmit$outboundSchema, StepEventActions$inboundSchema, StepEventActions$outboundSchema;
|
|
37735
37854
|
var init_stepeventactions = __esm(() => {
|
|
37736
37855
|
init_v3();
|
|
37737
37856
|
init_callaction();
|
|
37857
|
+
init_getvalueaction();
|
|
37738
37858
|
init_incrementaction();
|
|
37739
37859
|
init_saveaction();
|
|
37740
37860
|
init_sayaction();
|
|
@@ -37742,38 +37862,42 @@ var init_stepeventactions = __esm(() => {
|
|
|
37742
37862
|
StepEventActionsStart$inboundSchema = unionType([
|
|
37743
37863
|
CallAction$inboundSchema,
|
|
37744
37864
|
IncrementAction$inboundSchema,
|
|
37745
|
-
SaveAction$inboundSchema,
|
|
37746
37865
|
SayAction$inboundSchema,
|
|
37747
37866
|
SetValueAction$inboundSchema
|
|
37748
37867
|
]);
|
|
37749
37868
|
StepEventActionsStart$outboundSchema = unionType([
|
|
37750
37869
|
CallAction$outboundSchema,
|
|
37751
37870
|
IncrementAction$outboundSchema,
|
|
37752
|
-
SaveAction$outboundSchema,
|
|
37753
37871
|
SayAction$outboundSchema,
|
|
37754
37872
|
SetValueAction$outboundSchema
|
|
37755
37873
|
]);
|
|
37756
37874
|
Enter$inboundSchema = unionType([
|
|
37757
37875
|
CallAction$inboundSchema,
|
|
37876
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("get") })),
|
|
37758
37877
|
IncrementAction$inboundSchema,
|
|
37759
|
-
|
|
37878
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("load") })),
|
|
37760
37879
|
SayAction$inboundSchema,
|
|
37761
37880
|
SetValueAction$inboundSchema
|
|
37762
37881
|
]);
|
|
37763
37882
|
Enter$outboundSchema = unionType([
|
|
37764
37883
|
CallAction$outboundSchema,
|
|
37884
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("get") })),
|
|
37765
37885
|
IncrementAction$outboundSchema,
|
|
37766
|
-
|
|
37886
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("load") })),
|
|
37767
37887
|
SayAction$outboundSchema,
|
|
37768
37888
|
SetValueAction$outboundSchema
|
|
37769
37889
|
]);
|
|
37770
37890
|
Presubmit$inboundSchema = unionType([
|
|
37891
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("get") })),
|
|
37771
37892
|
IncrementAction$inboundSchema,
|
|
37893
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("load") })),
|
|
37772
37894
|
SaveAction$inboundSchema,
|
|
37773
37895
|
SetValueAction$inboundSchema
|
|
37774
37896
|
]);
|
|
37775
37897
|
Presubmit$outboundSchema = unionType([
|
|
37898
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("get") })),
|
|
37776
37899
|
IncrementAction$outboundSchema,
|
|
37900
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("load") })),
|
|
37777
37901
|
SaveAction$outboundSchema,
|
|
37778
37902
|
SetValueAction$outboundSchema
|
|
37779
37903
|
]);
|
|
@@ -37795,19 +37919,21 @@ var init_stepeventactions = __esm(() => {
|
|
|
37795
37919
|
start: nullableType(arrayType(unionType([
|
|
37796
37920
|
CallAction$inboundSchema,
|
|
37797
37921
|
IncrementAction$inboundSchema,
|
|
37798
|
-
SaveAction$inboundSchema,
|
|
37799
37922
|
SayAction$inboundSchema,
|
|
37800
37923
|
SetValueAction$inboundSchema
|
|
37801
37924
|
]))).optional(),
|
|
37802
37925
|
enter: nullableType(arrayType(unionType([
|
|
37803
37926
|
CallAction$inboundSchema,
|
|
37927
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("get") })),
|
|
37804
37928
|
IncrementAction$inboundSchema,
|
|
37805
|
-
|
|
37929
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("load") })),
|
|
37806
37930
|
SayAction$inboundSchema,
|
|
37807
37931
|
SetValueAction$inboundSchema
|
|
37808
37932
|
]))).optional(),
|
|
37809
37933
|
presubmit: nullableType(arrayType(unionType([
|
|
37934
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("get") })),
|
|
37810
37935
|
IncrementAction$inboundSchema,
|
|
37936
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("load") })),
|
|
37811
37937
|
SaveAction$inboundSchema,
|
|
37812
37938
|
SetValueAction$inboundSchema
|
|
37813
37939
|
]))).optional(),
|
|
@@ -37823,19 +37949,21 @@ var init_stepeventactions = __esm(() => {
|
|
|
37823
37949
|
start: nullableType(arrayType(unionType([
|
|
37824
37950
|
CallAction$outboundSchema,
|
|
37825
37951
|
IncrementAction$outboundSchema,
|
|
37826
|
-
SaveAction$outboundSchema,
|
|
37827
37952
|
SayAction$outboundSchema,
|
|
37828
37953
|
SetValueAction$outboundSchema
|
|
37829
37954
|
]))).optional(),
|
|
37830
37955
|
enter: nullableType(arrayType(unionType([
|
|
37831
37956
|
CallAction$outboundSchema,
|
|
37957
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("get") })),
|
|
37832
37958
|
IncrementAction$outboundSchema,
|
|
37833
|
-
|
|
37959
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("load") })),
|
|
37834
37960
|
SayAction$outboundSchema,
|
|
37835
37961
|
SetValueAction$outboundSchema
|
|
37836
37962
|
]))).optional(),
|
|
37837
37963
|
presubmit: nullableType(arrayType(unionType([
|
|
37964
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("get") })),
|
|
37838
37965
|
IncrementAction$outboundSchema,
|
|
37966
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("load") })),
|
|
37839
37967
|
SaveAction$outboundSchema,
|
|
37840
37968
|
SetValueAction$outboundSchema
|
|
37841
37969
|
]))).optional(),
|
|
@@ -38190,25 +38318,25 @@ var init_toolparametertransformcondition = __esm(() => {
|
|
|
38190
38318
|
});
|
|
38191
38319
|
|
|
38192
38320
|
// src/models/components/toolparametertransform.ts
|
|
38193
|
-
var
|
|
38321
|
+
var ToolParameterTransformAction, ToolParameterTransformAction$inboundSchema, ToolParameterTransformAction$outboundSchema, ToolParameterTransform$inboundSchema, ToolParameterTransform$outboundSchema;
|
|
38194
38322
|
var init_toolparametertransform = __esm(() => {
|
|
38195
38323
|
init_v3();
|
|
38196
38324
|
init_toolparametertransformcondition();
|
|
38197
|
-
|
|
38325
|
+
ToolParameterTransformAction = {
|
|
38198
38326
|
Default: "default",
|
|
38199
38327
|
Override: "override",
|
|
38200
38328
|
Remove: "remove"
|
|
38201
38329
|
};
|
|
38202
|
-
|
|
38203
|
-
|
|
38330
|
+
ToolParameterTransformAction$inboundSchema = nativeEnumType(ToolParameterTransformAction);
|
|
38331
|
+
ToolParameterTransformAction$outboundSchema = ToolParameterTransformAction$inboundSchema;
|
|
38204
38332
|
ToolParameterTransform$inboundSchema = objectType({
|
|
38205
|
-
action:
|
|
38333
|
+
action: ToolParameterTransformAction$inboundSchema.default("default"),
|
|
38206
38334
|
when: nullableType(ToolParameterTransformCondition$inboundSchema).optional(),
|
|
38207
38335
|
value: nullableType(anyType()).optional(),
|
|
38208
38336
|
format: nullableType(stringType()).optional()
|
|
38209
38337
|
});
|
|
38210
38338
|
ToolParameterTransform$outboundSchema = objectType({
|
|
38211
|
-
action:
|
|
38339
|
+
action: ToolParameterTransformAction$outboundSchema.default("default"),
|
|
38212
38340
|
when: nullableType(ToolParameterTransformCondition$outboundSchema).optional(),
|
|
38213
38341
|
value: nullableType(anyType()).optional(),
|
|
38214
38342
|
format: nullableType(stringType()).optional()
|
|
@@ -45160,6 +45288,7 @@ var init_components = __esm(() => {
|
|
|
45160
45288
|
init_expressiontask();
|
|
45161
45289
|
init_expressiontaskevents();
|
|
45162
45290
|
init_folderdetails();
|
|
45291
|
+
init_getvalueaction();
|
|
45163
45292
|
init_incidentcreaterequest();
|
|
45164
45293
|
init_incidentorganizationresponse();
|
|
45165
45294
|
init_incidentproperties();
|
|
@@ -65775,7 +65904,7 @@ Generate voice sample.`,
|
|
|
65775
65904
|
function createMCPServer(deps) {
|
|
65776
65905
|
const server = new McpServer({
|
|
65777
65906
|
name: "SyllableSDK",
|
|
65778
|
-
version: "1.0.
|
|
65907
|
+
version: "1.0.16-rc.2"
|
|
65779
65908
|
});
|
|
65780
65909
|
const client = new SyllableSDKCore({
|
|
65781
65910
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -67313,7 +67442,7 @@ var routes = ln({
|
|
|
67313
67442
|
var app = _e(routes, {
|
|
67314
67443
|
name: "mcp",
|
|
67315
67444
|
versionInfo: {
|
|
67316
|
-
currentVersion: "1.0.
|
|
67445
|
+
currentVersion: "1.0.16-rc.2"
|
|
67317
67446
|
}
|
|
67318
67447
|
});
|
|
67319
67448
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -67321,5 +67450,5 @@ export {
|
|
|
67321
67450
|
app
|
|
67322
67451
|
};
|
|
67323
67452
|
|
|
67324
|
-
//# debugId=
|
|
67453
|
+
//# debugId=6DEED9C60EA55A2964756E2164756E21
|
|
67325
67454
|
//# sourceMappingURL=mcp-server.js.map
|