syllable-sdk 1.0.16-rc.1 → 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/bin/mcp-server.js +37 -23
- package/bin/mcp-server.js.map +8 -8
- 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/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/getvalueaction.d.ts +21 -2
- package/models/components/getvalueaction.d.ts.map +1 -1
- package/models/components/getvalueaction.js +15 -3
- package/models/components/getvalueaction.js.map +1 -1
- package/models/components/stepeventactions.d.ts +40 -8
- package/models/components/stepeventactions.d.ts.map +1 -1
- package/models/components/stepeventactions.js +16 -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 +40 -34
- 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/getvalueaction.ts +27 -4
- package/src/models/components/stepeventactions.ts +57 -16
- 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.16-rc.
|
|
34423
|
-
genVersion: "2.
|
|
34424
|
-
userAgent: "speakeasy-sdk/typescript 1.0.16-rc.
|
|
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
|
|
|
@@ -37722,13 +37722,17 @@ var init_nextstep = __esm(() => {
|
|
|
37722
37722
|
});
|
|
37723
37723
|
|
|
37724
37724
|
// src/models/components/getvalueaction.ts
|
|
37725
|
-
var GetValueActionValueFrom1$inboundSchema, GetValueActionValueFrom1$outboundSchema, GetValueActionValueFrom$inboundSchema, GetValueActionValueFrom$outboundSchema, GetValueActionIf1$inboundSchema, GetValueActionIf1$outboundSchema, GetValueActionIf$inboundSchema, GetValueActionIf$outboundSchema, GetValueAction$inboundSchema, GetValueAction$outboundSchema;
|
|
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
37726
|
var init_getvalueaction = __esm(() => {
|
|
37727
37727
|
init_v3();
|
|
37728
37728
|
init_primitives();
|
|
37729
37729
|
init_caseexpression();
|
|
37730
37730
|
init_celexpression();
|
|
37731
37731
|
init_jmespathexpression();
|
|
37732
|
+
Action = {
|
|
37733
|
+
Get: "get",
|
|
37734
|
+
Load: "load"
|
|
37735
|
+
};
|
|
37732
37736
|
GetValueActionValueFrom1$inboundSchema = unionType([
|
|
37733
37737
|
CelExpression$inboundSchema,
|
|
37734
37738
|
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
@@ -37785,6 +37789,8 @@ var init_getvalueaction = __esm(() => {
|
|
|
37785
37789
|
]),
|
|
37786
37790
|
stringType()
|
|
37787
37791
|
]);
|
|
37792
|
+
Action$inboundSchema = nativeEnumType(Action);
|
|
37793
|
+
Action$outboundSchema = Action$inboundSchema;
|
|
37788
37794
|
GetValueAction$inboundSchema = objectType({
|
|
37789
37795
|
value: nullableType(anyType()).optional(),
|
|
37790
37796
|
value_from: nullableType(unionType([
|
|
@@ -37805,7 +37811,7 @@ var init_getvalueaction = __esm(() => {
|
|
|
37805
37811
|
]),
|
|
37806
37812
|
stringType()
|
|
37807
37813
|
])).optional(),
|
|
37808
|
-
action:
|
|
37814
|
+
action: Action$inboundSchema.default("get"),
|
|
37809
37815
|
inputs: nullableType(arrayType(stringType())).optional(),
|
|
37810
37816
|
overwrite: booleanType().default(false)
|
|
37811
37817
|
}).transform((v2) => {
|
|
@@ -37833,7 +37839,7 @@ var init_getvalueaction = __esm(() => {
|
|
|
37833
37839
|
]),
|
|
37834
37840
|
stringType()
|
|
37835
37841
|
])).optional(),
|
|
37836
|
-
action:
|
|
37842
|
+
action: Action$outboundSchema.default("get"),
|
|
37837
37843
|
inputs: nullableType(arrayType(stringType())).optional(),
|
|
37838
37844
|
overwrite: booleanType().default(false)
|
|
37839
37845
|
}).transform((v2) => {
|
|
@@ -37867,27 +37873,31 @@ var init_stepeventactions = __esm(() => {
|
|
|
37867
37873
|
]);
|
|
37868
37874
|
Enter$inboundSchema = unionType([
|
|
37869
37875
|
CallAction$inboundSchema,
|
|
37870
|
-
GetValueAction$inboundSchema,
|
|
37876
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("get") })),
|
|
37871
37877
|
IncrementAction$inboundSchema,
|
|
37878
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("load") })),
|
|
37872
37879
|
SayAction$inboundSchema,
|
|
37873
37880
|
SetValueAction$inboundSchema
|
|
37874
37881
|
]);
|
|
37875
37882
|
Enter$outboundSchema = unionType([
|
|
37876
37883
|
CallAction$outboundSchema,
|
|
37877
|
-
GetValueAction$outboundSchema,
|
|
37884
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("get") })),
|
|
37878
37885
|
IncrementAction$outboundSchema,
|
|
37886
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("load") })),
|
|
37879
37887
|
SayAction$outboundSchema,
|
|
37880
37888
|
SetValueAction$outboundSchema
|
|
37881
37889
|
]);
|
|
37882
37890
|
Presubmit$inboundSchema = unionType([
|
|
37883
|
-
GetValueAction$inboundSchema,
|
|
37891
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("get") })),
|
|
37884
37892
|
IncrementAction$inboundSchema,
|
|
37893
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("load") })),
|
|
37885
37894
|
SaveAction$inboundSchema,
|
|
37886
37895
|
SetValueAction$inboundSchema
|
|
37887
37896
|
]);
|
|
37888
37897
|
Presubmit$outboundSchema = unionType([
|
|
37889
|
-
GetValueAction$outboundSchema,
|
|
37898
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("get") })),
|
|
37890
37899
|
IncrementAction$outboundSchema,
|
|
37900
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("load") })),
|
|
37891
37901
|
SaveAction$outboundSchema,
|
|
37892
37902
|
SetValueAction$outboundSchema
|
|
37893
37903
|
]);
|
|
@@ -37914,14 +37924,16 @@ var init_stepeventactions = __esm(() => {
|
|
|
37914
37924
|
]))).optional(),
|
|
37915
37925
|
enter: nullableType(arrayType(unionType([
|
|
37916
37926
|
CallAction$inboundSchema,
|
|
37917
|
-
GetValueAction$inboundSchema,
|
|
37927
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("get") })),
|
|
37918
37928
|
IncrementAction$inboundSchema,
|
|
37929
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("load") })),
|
|
37919
37930
|
SayAction$inboundSchema,
|
|
37920
37931
|
SetValueAction$inboundSchema
|
|
37921
37932
|
]))).optional(),
|
|
37922
37933
|
presubmit: nullableType(arrayType(unionType([
|
|
37923
|
-
GetValueAction$inboundSchema,
|
|
37934
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("get") })),
|
|
37924
37935
|
IncrementAction$inboundSchema,
|
|
37936
|
+
GetValueAction$inboundSchema.and(objectType({ action: literalType("load") })),
|
|
37925
37937
|
SaveAction$inboundSchema,
|
|
37926
37938
|
SetValueAction$inboundSchema
|
|
37927
37939
|
]))).optional(),
|
|
@@ -37942,14 +37954,16 @@ var init_stepeventactions = __esm(() => {
|
|
|
37942
37954
|
]))).optional(),
|
|
37943
37955
|
enter: nullableType(arrayType(unionType([
|
|
37944
37956
|
CallAction$outboundSchema,
|
|
37945
|
-
GetValueAction$outboundSchema,
|
|
37957
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("get") })),
|
|
37946
37958
|
IncrementAction$outboundSchema,
|
|
37959
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("load") })),
|
|
37947
37960
|
SayAction$outboundSchema,
|
|
37948
37961
|
SetValueAction$outboundSchema
|
|
37949
37962
|
]))).optional(),
|
|
37950
37963
|
presubmit: nullableType(arrayType(unionType([
|
|
37951
|
-
GetValueAction$outboundSchema,
|
|
37964
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("get") })),
|
|
37952
37965
|
IncrementAction$outboundSchema,
|
|
37966
|
+
GetValueAction$outboundSchema.and(objectType({ action: literalType("load") })),
|
|
37953
37967
|
SaveAction$outboundSchema,
|
|
37954
37968
|
SetValueAction$outboundSchema
|
|
37955
37969
|
]))).optional(),
|
|
@@ -38304,25 +38318,25 @@ var init_toolparametertransformcondition = __esm(() => {
|
|
|
38304
38318
|
});
|
|
38305
38319
|
|
|
38306
38320
|
// src/models/components/toolparametertransform.ts
|
|
38307
|
-
var
|
|
38321
|
+
var ToolParameterTransformAction, ToolParameterTransformAction$inboundSchema, ToolParameterTransformAction$outboundSchema, ToolParameterTransform$inboundSchema, ToolParameterTransform$outboundSchema;
|
|
38308
38322
|
var init_toolparametertransform = __esm(() => {
|
|
38309
38323
|
init_v3();
|
|
38310
38324
|
init_toolparametertransformcondition();
|
|
38311
|
-
|
|
38325
|
+
ToolParameterTransformAction = {
|
|
38312
38326
|
Default: "default",
|
|
38313
38327
|
Override: "override",
|
|
38314
38328
|
Remove: "remove"
|
|
38315
38329
|
};
|
|
38316
|
-
|
|
38317
|
-
|
|
38330
|
+
ToolParameterTransformAction$inboundSchema = nativeEnumType(ToolParameterTransformAction);
|
|
38331
|
+
ToolParameterTransformAction$outboundSchema = ToolParameterTransformAction$inboundSchema;
|
|
38318
38332
|
ToolParameterTransform$inboundSchema = objectType({
|
|
38319
|
-
action:
|
|
38333
|
+
action: ToolParameterTransformAction$inboundSchema.default("default"),
|
|
38320
38334
|
when: nullableType(ToolParameterTransformCondition$inboundSchema).optional(),
|
|
38321
38335
|
value: nullableType(anyType()).optional(),
|
|
38322
38336
|
format: nullableType(stringType()).optional()
|
|
38323
38337
|
});
|
|
38324
38338
|
ToolParameterTransform$outboundSchema = objectType({
|
|
38325
|
-
action:
|
|
38339
|
+
action: ToolParameterTransformAction$outboundSchema.default("default"),
|
|
38326
38340
|
when: nullableType(ToolParameterTransformCondition$outboundSchema).optional(),
|
|
38327
38341
|
value: nullableType(anyType()).optional(),
|
|
38328
38342
|
format: nullableType(stringType()).optional()
|
|
@@ -65890,7 +65904,7 @@ Generate voice sample.`,
|
|
|
65890
65904
|
function createMCPServer(deps) {
|
|
65891
65905
|
const server = new McpServer({
|
|
65892
65906
|
name: "SyllableSDK",
|
|
65893
|
-
version: "1.0.16-rc.
|
|
65907
|
+
version: "1.0.16-rc.2"
|
|
65894
65908
|
});
|
|
65895
65909
|
const client = new SyllableSDKCore({
|
|
65896
65910
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -67428,7 +67442,7 @@ var routes = ln({
|
|
|
67428
67442
|
var app = _e(routes, {
|
|
67429
67443
|
name: "mcp",
|
|
67430
67444
|
versionInfo: {
|
|
67431
|
-
currentVersion: "1.0.16-rc.
|
|
67445
|
+
currentVersion: "1.0.16-rc.2"
|
|
67432
67446
|
}
|
|
67433
67447
|
});
|
|
67434
67448
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -67436,5 +67450,5 @@ export {
|
|
|
67436
67450
|
app
|
|
67437
67451
|
};
|
|
67438
67452
|
|
|
67439
|
-
//# debugId=
|
|
67453
|
+
//# debugId=6DEED9C60EA55A2964756E2164756E21
|
|
67440
67454
|
//# sourceMappingURL=mcp-server.js.map
|