syllable-sdk 1.0.16-rc.3 → 1.0.16-rc.6
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 +30 -49
- package/bin/mcp-server.js.map +12 -13
- package/examples/package-lock.json +1 -1
- package/funcs/pronunciationsPronunciationsGetMetadata.d.ts +1 -1
- package/funcs/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -1
- package/funcs/pronunciationsPronunciationsGetMetadata.js +1 -1
- package/funcs/pronunciationsPronunciationsGetMetadata.js.map +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/agentsttprovider.d.ts +1 -0
- package/models/components/agentsttprovider.d.ts.map +1 -1
- package/models/components/agentsttprovider.js +1 -0
- package/models/components/agentsttprovider.js.map +1 -1
- package/models/components/bridgephrasesconfig.d.ts +0 -6
- package/models/components/bridgephrasesconfig.d.ts.map +1 -1
- package/models/components/bridgephrasesconfig.js +0 -5
- package/models/components/bridgephrasesconfig.js.map +1 -1
- package/models/components/dictionarymetadata.d.ts +24 -0
- package/models/components/dictionarymetadata.d.ts.map +1 -0
- package/models/components/{schemasttsv1pronunciationsdictionarymetadata.js → dictionarymetadata.js} +10 -10
- package/models/components/dictionarymetadata.js.map +1 -0
- package/models/components/index.d.ts +1 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -2
- package/models/components/index.js.map +1 -1
- package/models/components/pronunciationoverridesdictionary.d.ts +3 -3
- package/models/components/pronunciationoverridesdictionary.d.ts.map +1 -1
- package/models/components/pronunciationoverridesdictionary.js +3 -3
- package/models/components/pronunciationoverridesdictionary.js.map +1 -1
- package/openapi.json +64 -101
- package/package.json +1 -1
- package/sdk/pronunciations.d.ts +1 -1
- package/sdk/pronunciations.d.ts.map +1 -1
- package/src/funcs/pronunciationsPronunciationsGetMetadata.ts +4 -7
- 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/agentsttprovider.ts +1 -0
- package/src/models/components/bridgephrasesconfig.ts +0 -17
- package/src/models/components/dictionarymetadata.ts +62 -0
- package/src/models/components/index.ts +1 -2
- package/src/models/components/pronunciationoverridesdictionary.ts +10 -10
- package/src/sdk/pronunciations.ts +1 -1
- package/models/components/schemascortexv1bridgephrasesdictionarymetadata.d.ts +0 -33
- package/models/components/schemascortexv1bridgephrasesdictionarymetadata.d.ts.map +0 -1
- package/models/components/schemascortexv1bridgephrasesdictionarymetadata.js +0 -62
- package/models/components/schemascortexv1bridgephrasesdictionarymetadata.js.map +0 -1
- package/models/components/schemasttsv1pronunciationsdictionarymetadata.d.ts +0 -24
- package/models/components/schemasttsv1pronunciationsdictionarymetadata.d.ts.map +0 -1
- package/models/components/schemasttsv1pronunciationsdictionarymetadata.js.map +0 -1
- package/src/models/components/schemascortexv1bridgephrasesdictionarymetadata.ts +0 -82
- package/src/models/components/schemasttsv1pronunciationsdictionarymetadata.ts +0 -73
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.6",
|
|
34423
|
+
genVersion: "2.779.2",
|
|
34424
|
+
userAgent: "speakeasy-sdk/typescript 1.0.16-rc.6 2.779.2 0.0.2 syllable-sdk"
|
|
34425
34425
|
};
|
|
34426
34426
|
});
|
|
34427
34427
|
|
|
@@ -35950,6 +35950,7 @@ var init_agentsttprovider = __esm(() => {
|
|
|
35950
35950
|
init_v3();
|
|
35951
35951
|
AgentSttProvider = {
|
|
35952
35952
|
GoogleSTTV2Chirp2: "Google STT V2 (Chirp 2)",
|
|
35953
|
+
DeepgramNova3OnPrem: "Deepgram Nova 3 (On-Prem)",
|
|
35953
35954
|
DeepgramNova3: "Deepgram Nova 3",
|
|
35954
35955
|
GoogleSTTV2: "Google STT V2",
|
|
35955
35956
|
GoogleSTTV1: "Google STT V1",
|
|
@@ -39475,33 +39476,15 @@ var init_bodypronunciationsuploadcsv = __esm(() => {
|
|
|
39475
39476
|
});
|
|
39476
39477
|
});
|
|
39477
39478
|
|
|
39478
|
-
// src/models/components/schemascortexv1bridgephrasesdictionarymetadata.ts
|
|
39479
|
-
var SchemasCortexV1BridgePhrasesDictionaryMetadata$inboundSchema, SchemasCortexV1BridgePhrasesDictionaryMetadata$outboundSchema;
|
|
39480
|
-
var init_schemascortexv1bridgephrasesdictionarymetadata = __esm(() => {
|
|
39481
|
-
init_v3();
|
|
39482
|
-
SchemasCortexV1BridgePhrasesDictionaryMetadata$inboundSchema = objectType({
|
|
39483
|
-
hash: nullableType(stringType()).optional(),
|
|
39484
|
-
source: nullableType(stringType()).optional(),
|
|
39485
|
-
entries: numberType().int().default(0)
|
|
39486
|
-
});
|
|
39487
|
-
SchemasCortexV1BridgePhrasesDictionaryMetadata$outboundSchema = objectType({
|
|
39488
|
-
hash: nullableType(stringType()).optional(),
|
|
39489
|
-
source: nullableType(stringType()).optional(),
|
|
39490
|
-
entries: numberType().int().default(0)
|
|
39491
|
-
});
|
|
39492
|
-
});
|
|
39493
|
-
|
|
39494
39479
|
// src/models/components/bridgephrasesconfig.ts
|
|
39495
39480
|
var BridgePhrasesConfig$inboundSchema, BridgePhrasesConfig$outboundSchema;
|
|
39496
39481
|
var init_bridgephrasesconfig = __esm(() => {
|
|
39497
39482
|
init_v3();
|
|
39498
39483
|
init_primitives();
|
|
39499
|
-
init_schemascortexv1bridgephrasesdictionarymetadata();
|
|
39500
39484
|
BridgePhrasesConfig$inboundSchema = objectType({
|
|
39501
39485
|
first_slow_messages: arrayType(stringType()).optional(),
|
|
39502
39486
|
very_slow_messages: arrayType(stringType()).optional(),
|
|
39503
|
-
tool_responses: arrayType(stringType()).optional()
|
|
39504
|
-
metadata: SchemasCortexV1BridgePhrasesDictionaryMetadata$inboundSchema.optional()
|
|
39487
|
+
tool_responses: arrayType(stringType()).optional()
|
|
39505
39488
|
}).transform((v2) => {
|
|
39506
39489
|
return remap(v2, {
|
|
39507
39490
|
first_slow_messages: "firstSlowMessages",
|
|
@@ -39512,8 +39495,7 @@ var init_bridgephrasesconfig = __esm(() => {
|
|
|
39512
39495
|
BridgePhrasesConfig$outboundSchema = objectType({
|
|
39513
39496
|
firstSlowMessages: arrayType(stringType()).optional(),
|
|
39514
39497
|
verySlowMessages: arrayType(stringType()).optional(),
|
|
39515
|
-
toolResponses: arrayType(stringType()).optional()
|
|
39516
|
-
metadata: SchemasCortexV1BridgePhrasesDictionaryMetadata$outboundSchema.optional()
|
|
39498
|
+
toolResponses: arrayType(stringType()).optional()
|
|
39517
39499
|
}).transform((v2) => {
|
|
39518
39500
|
return remap(v2, {
|
|
39519
39501
|
firstSlowMessages: "first_slow_messages",
|
|
@@ -40543,6 +40525,22 @@ var init_dialogtoolcall = __esm(() => {
|
|
|
40543
40525
|
});
|
|
40544
40526
|
});
|
|
40545
40527
|
|
|
40528
|
+
// src/models/components/dictionarymetadata.ts
|
|
40529
|
+
var DictionaryMetadata$inboundSchema, DictionaryMetadata$outboundSchema;
|
|
40530
|
+
var init_dictionarymetadata = __esm(() => {
|
|
40531
|
+
init_v3();
|
|
40532
|
+
DictionaryMetadata$inboundSchema = objectType({
|
|
40533
|
+
entries: numberType().int(),
|
|
40534
|
+
hash: stringType(),
|
|
40535
|
+
source: stringType().default("")
|
|
40536
|
+
});
|
|
40537
|
+
DictionaryMetadata$outboundSchema = objectType({
|
|
40538
|
+
entries: numberType().int(),
|
|
40539
|
+
hash: stringType(),
|
|
40540
|
+
source: stringType().default("")
|
|
40541
|
+
});
|
|
40542
|
+
});
|
|
40543
|
+
|
|
40546
40544
|
// src/models/components/directoryextensionnumber.ts
|
|
40547
40545
|
var DirectoryExtensionNumber$inboundSchema, DirectoryExtensionNumber$outboundSchema;
|
|
40548
40546
|
var init_directoryextensionnumber = __esm(() => {
|
|
@@ -43896,22 +43894,6 @@ var init_pronunciationoverride = __esm(() => {
|
|
|
43896
43894
|
});
|
|
43897
43895
|
});
|
|
43898
43896
|
|
|
43899
|
-
// src/models/components/schemasttsv1pronunciationsdictionarymetadata.ts
|
|
43900
|
-
var SchemasTtsV1PronunciationsDictionaryMetadata$inboundSchema, SchemasTtsV1PronunciationsDictionaryMetadata$outboundSchema;
|
|
43901
|
-
var init_schemasttsv1pronunciationsdictionarymetadata = __esm(() => {
|
|
43902
|
-
init_v3();
|
|
43903
|
-
SchemasTtsV1PronunciationsDictionaryMetadata$inboundSchema = objectType({
|
|
43904
|
-
entries: numberType().int(),
|
|
43905
|
-
hash: stringType(),
|
|
43906
|
-
source: stringType().default("")
|
|
43907
|
-
});
|
|
43908
|
-
SchemasTtsV1PronunciationsDictionaryMetadata$outboundSchema = objectType({
|
|
43909
|
-
entries: numberType().int(),
|
|
43910
|
-
hash: stringType(),
|
|
43911
|
-
source: stringType().default("")
|
|
43912
|
-
});
|
|
43913
|
-
});
|
|
43914
|
-
|
|
43915
43897
|
// src/models/components/voicedisplayinfo.ts
|
|
43916
43898
|
var VoiceDisplayInfo$inboundSchema, VoiceDisplayInfo$outboundSchema;
|
|
43917
43899
|
var init_voicedisplayinfo = __esm(() => {
|
|
@@ -43939,20 +43921,20 @@ var init_voicedisplayinfo = __esm(() => {
|
|
|
43939
43921
|
var PronunciationOverridesDictionary$inboundSchema, PronunciationOverridesDictionary$outboundSchema;
|
|
43940
43922
|
var init_pronunciationoverridesdictionary = __esm(() => {
|
|
43941
43923
|
init_v3();
|
|
43924
|
+
init_dictionarymetadata();
|
|
43942
43925
|
init_pronunciationoverride();
|
|
43943
|
-
init_schemasttsv1pronunciationsdictionarymetadata();
|
|
43944
43926
|
init_voicedisplayinfo();
|
|
43945
43927
|
PronunciationOverridesDictionary$inboundSchema = objectType({
|
|
43946
43928
|
type: stringType().default("pronunciations_v1"),
|
|
43947
43929
|
pronunciations: arrayType(PronunciationOverride$inboundSchema),
|
|
43948
43930
|
voices: recordType(VoiceDisplayInfo$inboundSchema).optional(),
|
|
43949
|
-
metadata:
|
|
43931
|
+
metadata: DictionaryMetadata$inboundSchema
|
|
43950
43932
|
});
|
|
43951
43933
|
PronunciationOverridesDictionary$outboundSchema = objectType({
|
|
43952
43934
|
type: stringType().default("pronunciations_v1"),
|
|
43953
43935
|
pronunciations: arrayType(PronunciationOverride$outboundSchema),
|
|
43954
43936
|
voices: recordType(VoiceDisplayInfo$outboundSchema).optional(),
|
|
43955
|
-
metadata:
|
|
43937
|
+
metadata: DictionaryMetadata$outboundSchema
|
|
43956
43938
|
});
|
|
43957
43939
|
});
|
|
43958
43940
|
|
|
@@ -45274,6 +45256,7 @@ var init_components = __esm(() => {
|
|
|
45274
45256
|
init_dialogmessage();
|
|
45275
45257
|
init_dialogrole();
|
|
45276
45258
|
init_dialogtoolcall();
|
|
45259
|
+
init_dictionarymetadata();
|
|
45277
45260
|
init_directoryextension();
|
|
45278
45261
|
init_directoryextensionnumber();
|
|
45279
45262
|
init_directorymember();
|
|
@@ -45388,8 +45371,6 @@ var init_components = __esm(() => {
|
|
|
45388
45371
|
init_roleupdaterequest();
|
|
45389
45372
|
init_saveaction();
|
|
45390
45373
|
init_sayaction();
|
|
45391
|
-
init_schemascortexv1bridgephrasesdictionarymetadata();
|
|
45392
|
-
init_schemasttsv1pronunciationsdictionarymetadata();
|
|
45393
45374
|
init_security2();
|
|
45394
45375
|
init_servicecreaterequest();
|
|
45395
45376
|
init_serviceproperties();
|
|
@@ -61044,7 +61025,7 @@ async function $do116(client, options) {
|
|
|
61044
61025
|
return [doResult, { status: "request-error", request: req }];
|
|
61045
61026
|
}
|
|
61046
61027
|
const response = doResult.value;
|
|
61047
|
-
const [result] = await match(json(200,
|
|
61028
|
+
const [result] = await match(json(200, DictionaryMetadata$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
61048
61029
|
if (!result.ok) {
|
|
61049
61030
|
return [result, { status: "complete", request: req, response }];
|
|
61050
61031
|
}
|
|
@@ -65904,7 +65885,7 @@ Generate voice sample.`,
|
|
|
65904
65885
|
function createMCPServer(deps) {
|
|
65905
65886
|
const server = new McpServer({
|
|
65906
65887
|
name: "SyllableSDK",
|
|
65907
|
-
version: "1.0.16-rc.
|
|
65888
|
+
version: "1.0.16-rc.6"
|
|
65908
65889
|
});
|
|
65909
65890
|
const client = new SyllableSDKCore({
|
|
65910
65891
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -67442,7 +67423,7 @@ var routes = ln({
|
|
|
67442
67423
|
var app = _e(routes, {
|
|
67443
67424
|
name: "mcp",
|
|
67444
67425
|
versionInfo: {
|
|
67445
|
-
currentVersion: "1.0.16-rc.
|
|
67426
|
+
currentVersion: "1.0.16-rc.6"
|
|
67446
67427
|
}
|
|
67447
67428
|
});
|
|
67448
67429
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -67450,5 +67431,5 @@ export {
|
|
|
67450
67431
|
app
|
|
67451
67432
|
};
|
|
67452
67433
|
|
|
67453
|
-
//# debugId=
|
|
67434
|
+
//# debugId=07140DC79DFF788064756E2164756E21
|
|
67454
67435
|
//# sourceMappingURL=mcp-server.js.map
|