syllable-sdk 1.0.69-rc.1 → 1.0.69-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 +26 -13
- package/bin/mcp-server.js.map +11 -10
- package/funcs/insightsToolsInsightsToolTest.d.ts +3 -2
- package/funcs/insightsToolsInsightsToolTest.d.ts.map +1 -1
- package/funcs/insightsToolsInsightsToolTest.js +3 -3
- package/funcs/insightsToolsInsightsToolTest.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/insightsToolsInsightsToolTest.js +1 -1
- package/mcp-server/tools/insightsToolsInsightsToolTest.js.map +1 -1
- package/models/components/insighttooltestinput.d.ts +28 -4
- package/models/components/insighttooltestinput.d.ts.map +1 -1
- package/models/components/insighttooltestinput.js +30 -5
- package/models/components/insighttooltestinput.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/insightstooltest.d.ts +16 -0
- package/models/operations/insightstooltest.d.ts.map +1 -0
- package/models/operations/insightstooltest.js +54 -0
- package/models/operations/insightstooltest.js.map +1 -0
- package/package.json +1 -1
- package/sdk/syllablesdktools.d.ts +2 -2
- package/sdk/syllablesdktools.d.ts.map +1 -1
- package/sdk/syllablesdktools.js +1 -1
- package/src/funcs/insightsToolsInsightsToolTest.ts +10 -7
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/insightsToolsInsightsToolTest.ts +1 -1
- package/src/models/components/insighttooltestinput.ts +77 -8
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/insightstooltest.ts +55 -0
- package/src/sdk/syllablesdktools.ts +2 -2
package/bin/mcp-server.js
CHANGED
|
@@ -53072,9 +53072,9 @@ var init_config = __esm(() => {
|
|
|
53072
53072
|
SDK_METADATA = {
|
|
53073
53073
|
language: "typescript",
|
|
53074
53074
|
openapiDocVersion: "0.0.3",
|
|
53075
|
-
sdkVersion: "1.0.69-rc.
|
|
53075
|
+
sdkVersion: "1.0.69-rc.2",
|
|
53076
53076
|
genVersion: "2.948.4",
|
|
53077
|
-
userAgent: "speakeasy-sdk/typescript 1.0.69-rc.
|
|
53077
|
+
userAgent: "speakeasy-sdk/typescript 1.0.69-rc.2 2.948.4 0.0.3 syllable-sdk"
|
|
53078
53078
|
};
|
|
53079
53079
|
});
|
|
53080
53080
|
|
|
@@ -62521,14 +62521,18 @@ var init_insighttoolresponse = __esm(() => {
|
|
|
62521
62521
|
});
|
|
62522
62522
|
|
|
62523
62523
|
// src/models/components/insighttooltestinput.ts
|
|
62524
|
-
var InsightToolTestInput$inboundSchema, InsightToolTestInput$outboundSchema;
|
|
62524
|
+
var SessionId$inboundSchema, SessionId$outboundSchema, UploadFileId$inboundSchema, UploadFileId$outboundSchema, InsightToolTestInput$inboundSchema, InsightToolTestInput$outboundSchema;
|
|
62525
62525
|
var init_insighttooltestinput = __esm(() => {
|
|
62526
62526
|
init_v3();
|
|
62527
62527
|
init_primitives();
|
|
62528
|
+
SessionId$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
62529
|
+
SessionId$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
62530
|
+
UploadFileId$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
62531
|
+
UploadFileId$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
62528
62532
|
InsightToolTestInput$inboundSchema = objectType({
|
|
62529
62533
|
tool_name: stringType(),
|
|
62530
|
-
session_id: nullableType(numberType().int()).optional(),
|
|
62531
|
-
upload_file_id: nullableType(numberType().int()).optional()
|
|
62534
|
+
session_id: nullableType(unionType([numberType().int(), stringType()])).optional(),
|
|
62535
|
+
upload_file_id: nullableType(unionType([numberType().int(), stringType()])).optional()
|
|
62532
62536
|
}).transform((v2) => {
|
|
62533
62537
|
return remap(v2, {
|
|
62534
62538
|
tool_name: "toolName",
|
|
@@ -62538,8 +62542,8 @@ var init_insighttooltestinput = __esm(() => {
|
|
|
62538
62542
|
});
|
|
62539
62543
|
InsightToolTestInput$outboundSchema = objectType({
|
|
62540
62544
|
toolName: stringType(),
|
|
62541
|
-
sessionId: nullableType(numberType().int()).optional(),
|
|
62542
|
-
uploadFileId: nullableType(numberType().int()).optional()
|
|
62545
|
+
sessionId: nullableType(unionType([numberType().int(), stringType()])).optional(),
|
|
62546
|
+
uploadFileId: nullableType(unionType([numberType().int(), stringType()])).optional()
|
|
62543
62547
|
}).transform((v2) => {
|
|
62544
62548
|
return remap(v2, {
|
|
62545
62549
|
toolName: "tool_name",
|
|
@@ -69819,6 +69823,14 @@ var init_insightstooldelete = __esm(() => {
|
|
|
69819
69823
|
});
|
|
69820
69824
|
});
|
|
69821
69825
|
|
|
69826
|
+
// src/models/operations/insightstooltest.ts
|
|
69827
|
+
var InsightsToolTestResponseInsightsToolTest$inboundSchema, InsightsToolTestResponseInsightsToolTest$outboundSchema;
|
|
69828
|
+
var init_insightstooltest = __esm(() => {
|
|
69829
|
+
init_v3();
|
|
69830
|
+
InsightsToolTestResponseInsightsToolTest$inboundSchema = objectType({});
|
|
69831
|
+
InsightsToolTestResponseInsightsToolTest$outboundSchema = objectType({});
|
|
69832
|
+
});
|
|
69833
|
+
|
|
69822
69834
|
// src/models/operations/insightstoolupdate.ts
|
|
69823
69835
|
var InsightsToolUpdateRequest$inboundSchema, InsightsToolUpdateRequest$outboundSchema;
|
|
69824
69836
|
var init_insightstoolupdate = __esm(() => {
|
|
@@ -71968,6 +71980,7 @@ var init_operations = __esm(() => {
|
|
|
71968
71980
|
init_insightsfolderuploadfile();
|
|
71969
71981
|
init_insightslist();
|
|
71970
71982
|
init_insightstooldelete();
|
|
71983
|
+
init_insightstooltest();
|
|
71971
71984
|
init_insightstoolupdate();
|
|
71972
71985
|
init_insightsuploadlistfiles();
|
|
71973
71986
|
init_insightsuploadmovefiles();
|
|
@@ -81738,14 +81751,13 @@ async function $do88(client, request, options) {
|
|
|
81738
81751
|
const responseFields = {
|
|
81739
81752
|
HttpMeta: { Response: response, Request: req }
|
|
81740
81753
|
};
|
|
81741
|
-
const [result] = await match(json(200,
|
|
81754
|
+
const [result] = await match(json(200, InsightsToolTestResponseInsightsToolTest$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail([400, 404, "4XX"]), fail([500, 502, 504, "5XX"]))(response, req, { extraFields: responseFields });
|
|
81742
81755
|
if (!result.ok) {
|
|
81743
81756
|
return [result, { status: "complete", request: req, response }];
|
|
81744
81757
|
}
|
|
81745
81758
|
return [result, { status: "complete", request: req, response }];
|
|
81746
81759
|
}
|
|
81747
81760
|
var init_insightsToolsInsightsToolTest = __esm(() => {
|
|
81748
|
-
init_v3();
|
|
81749
81761
|
init_encodings();
|
|
81750
81762
|
init_http();
|
|
81751
81763
|
init_matchers();
|
|
@@ -81755,6 +81767,7 @@ var init_insightsToolsInsightsToolTest = __esm(() => {
|
|
|
81755
81767
|
init_url();
|
|
81756
81768
|
init_components();
|
|
81757
81769
|
init_errors4();
|
|
81770
|
+
init_operations();
|
|
81758
81771
|
init_async();
|
|
81759
81772
|
});
|
|
81760
81773
|
|
|
@@ -81771,7 +81784,7 @@ var init_insightsToolsInsightsToolTest2 = __esm(() => {
|
|
|
81771
81784
|
name: "insights-tools-insights-tool-test",
|
|
81772
81785
|
description: `Test Insights Tool
|
|
81773
81786
|
|
|
81774
|
-
|
|
81787
|
+
Run the saved tool against one session or uploaded file without persisting insights.`,
|
|
81775
81788
|
args: args82,
|
|
81776
81789
|
tool: async (client, args83, ctx) => {
|
|
81777
81790
|
const [result, apiCall] = await insightsToolsInsightsToolTest(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -92835,7 +92848,7 @@ Generate voice sample.`,
|
|
|
92835
92848
|
function createMCPServer(deps) {
|
|
92836
92849
|
const server = new McpServer({
|
|
92837
92850
|
name: "SyllableSDK",
|
|
92838
|
-
version: "1.0.69-rc.
|
|
92851
|
+
version: "1.0.69-rc.2"
|
|
92839
92852
|
});
|
|
92840
92853
|
const client = new SyllableSDKCore({
|
|
92841
92854
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -94431,7 +94444,7 @@ var routes = ln({
|
|
|
94431
94444
|
var app = _e(routes, {
|
|
94432
94445
|
name: "mcp",
|
|
94433
94446
|
versionInfo: {
|
|
94434
|
-
currentVersion: "1.0.69-rc.
|
|
94447
|
+
currentVersion: "1.0.69-rc.2"
|
|
94435
94448
|
}
|
|
94436
94449
|
});
|
|
94437
94450
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -94439,5 +94452,5 @@ export {
|
|
|
94439
94452
|
app
|
|
94440
94453
|
};
|
|
94441
94454
|
|
|
94442
|
-
//# debugId=
|
|
94455
|
+
//# debugId=DCC71D341C1C916B64756E2164756E21
|
|
94443
94456
|
//# sourceMappingURL=mcp-server.js.map
|