syllable-sdk 1.0.59-rc.4 → 1.0.59
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 +427 -260
- package/bin/mcp-server.js.map +20 -16
- package/funcs/directoryDirectoryMemberBulkLoad.d.ts +1 -1
- package/funcs/directoryDirectoryMemberBulkLoad.js +1 -1
- package/funcs/insightsToolsCreate.d.ts +1 -1
- package/funcs/insightsToolsCreate.d.ts.map +1 -1
- package/funcs/insightsToolsCreate.js +1 -1
- package/funcs/insightsToolsCreate.js.map +1 -1
- package/funcs/insightsToolsUpdate.d.ts +1 -1
- package/funcs/insightsToolsUpdate.d.ts.map +1 -1
- package/funcs/insightsToolsUpdate.js +1 -1
- package/funcs/insightsToolsUpdate.js.map +1 -1
- package/funcs/promptsPromptGetSupportedLlms.d.ts +7 -1
- package/funcs/promptsPromptGetSupportedLlms.d.ts.map +1 -1
- package/funcs/promptsPromptGetSupportedLlms.js +26 -4
- package/funcs/promptsPromptGetSupportedLlms.js.map +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/mcp-server/tools/directoryDirectoryMemberBulkLoad.js +1 -1
- package/mcp-server/tools/directoryDirectoryMemberBulkLoad.js.map +1 -1
- package/mcp-server/tools/promptsPromptGetSupportedLlms.d.ts +6 -1
- package/mcp-server/tools/promptsPromptGetSupportedLlms.d.ts.map +1 -1
- package/mcp-server/tools/promptsPromptGetSupportedLlms.js +45 -3
- package/mcp-server/tools/promptsPromptGetSupportedLlms.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/insighttoolresponse.d.ts +75 -0
- package/models/components/insighttoolresponse.d.ts.map +1 -0
- package/models/components/insighttoolresponse.js +107 -0
- package/models/components/insighttoolresponse.js.map +1 -0
- package/models/components/lifecyclestatus.d.ts +19 -0
- package/models/components/lifecyclestatus.d.ts.map +1 -0
- package/models/components/lifecyclestatus.js +53 -0
- package/models/components/lifecyclestatus.js.map +1 -0
- package/models/components/promptresponse.d.ts +6 -0
- package/models/components/promptresponse.d.ts.map +1 -1
- package/models/components/promptresponse.js +7 -0
- package/models/components/promptresponse.js.map +1 -1
- package/models/components/supportedllm.d.ts +23 -1
- package/models/components/supportedllm.d.ts.map +1 -1
- package/models/components/supportedllm.js +13 -0
- package/models/components/supportedllm.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/promptgetsupportedllms.d.ts +17 -0
- package/models/operations/promptgetsupportedllms.d.ts.map +1 -0
- package/models/operations/promptgetsupportedllms.js +67 -0
- package/models/operations/promptgetsupportedllms.js.map +1 -0
- package/package.json +1 -1
- package/sdk/directory.d.ts +1 -1
- package/sdk/directory.js +1 -1
- package/sdk/prompts.d.ts +5 -1
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +6 -2
- package/sdk/prompts.js.map +1 -1
- package/sdk/syllablesdktools.d.ts +2 -2
- package/sdk/syllablesdktools.d.ts.map +1 -1
- package/src/funcs/directoryDirectoryMemberBulkLoad.ts +1 -1
- package/src/funcs/insightsToolsCreate.ts +4 -4
- package/src/funcs/insightsToolsUpdate.ts +4 -4
- package/src/funcs/promptsPromptGetSupportedLlms.ts +38 -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/mcp-server/tools/directoryDirectoryMemberBulkLoad.ts +1 -1
- package/src/mcp-server/tools/promptsPromptGetSupportedLlms.ts +14 -3
- package/src/models/components/index.ts +2 -0
- package/src/models/components/insighttoolresponse.ts +166 -0
- package/src/models/components/lifecyclestatus.ts +28 -0
- package/src/models/components/promptresponse.ts +17 -0
- package/src/models/components/supportedllm.ts +38 -1
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/promptgetsupportedllms.ts +62 -0
- package/src/sdk/directory.ts +1 -1
- package/src/sdk/prompts.ts +6 -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.59
|
|
53076
|
-
genVersion: "2.
|
|
53077
|
-
userAgent: "speakeasy-sdk/typescript 1.0.59
|
|
53075
|
+
sdkVersion: "1.0.59",
|
|
53076
|
+
genVersion: "2.932.9",
|
|
53077
|
+
userAgent: "speakeasy-sdk/typescript 1.0.59 2.932.9 0.0.3 syllable-sdk"
|
|
53078
53078
|
};
|
|
53079
53079
|
});
|
|
53080
53080
|
|
|
@@ -57564,6 +57564,7 @@ var init_promptresponse = __esm(() => {
|
|
|
57564
57564
|
init_daotoolresponse();
|
|
57565
57565
|
init_promptllmconfig();
|
|
57566
57566
|
init_toolresponse();
|
|
57567
|
+
init_validationissue();
|
|
57567
57568
|
PromptResponse$inboundSchema = objectType({
|
|
57568
57569
|
name: stringType(),
|
|
57569
57570
|
description: nullableType(stringType()).optional(),
|
|
@@ -57580,7 +57581,8 @@ var init_promptresponse = __esm(() => {
|
|
|
57580
57581
|
session_end_tool: nullableType(DaoToolResponse$inboundSchema).optional(),
|
|
57581
57582
|
agent_count: nullableType(numberType().int()).optional(),
|
|
57582
57583
|
version_number: nullableType(numberType().int()).optional(),
|
|
57583
|
-
tools_full: nullableType(arrayType(ToolResponse$inboundSchema)).optional()
|
|
57584
|
+
tools_full: nullableType(arrayType(ToolResponse$inboundSchema)).optional(),
|
|
57585
|
+
validation_issues: nullableType(arrayType(ValidationIssue$inboundSchema)).optional()
|
|
57584
57586
|
}).transform((v2) => {
|
|
57585
57587
|
return remap(v2, {
|
|
57586
57588
|
llm_config: "llmConfig",
|
|
@@ -57592,7 +57594,8 @@ var init_promptresponse = __esm(() => {
|
|
|
57592
57594
|
session_end_tool: "sessionEndTool",
|
|
57593
57595
|
agent_count: "agentCount",
|
|
57594
57596
|
version_number: "versionNumber",
|
|
57595
|
-
tools_full: "toolsFull"
|
|
57597
|
+
tools_full: "toolsFull",
|
|
57598
|
+
validation_issues: "validationIssues"
|
|
57596
57599
|
});
|
|
57597
57600
|
});
|
|
57598
57601
|
PromptResponse$outboundSchema = objectType({
|
|
@@ -57611,7 +57614,8 @@ var init_promptresponse = __esm(() => {
|
|
|
57611
57614
|
sessionEndTool: nullableType(DaoToolResponse$outboundSchema).optional(),
|
|
57612
57615
|
agentCount: nullableType(numberType().int()).optional(),
|
|
57613
57616
|
versionNumber: nullableType(numberType().int()).optional(),
|
|
57614
|
-
toolsFull: nullableType(arrayType(ToolResponse$outboundSchema)).optional()
|
|
57617
|
+
toolsFull: nullableType(arrayType(ToolResponse$outboundSchema)).optional(),
|
|
57618
|
+
validationIssues: nullableType(arrayType(ValidationIssue$outboundSchema)).optional()
|
|
57615
57619
|
}).transform((v2) => {
|
|
57616
57620
|
return remap(v2, {
|
|
57617
57621
|
llmConfig: "llm_config",
|
|
@@ -57623,7 +57627,8 @@ var init_promptresponse = __esm(() => {
|
|
|
57623
57627
|
sessionEndTool: "session_end_tool",
|
|
57624
57628
|
agentCount: "agent_count",
|
|
57625
57629
|
versionNumber: "version_number",
|
|
57626
|
-
toolsFull: "tools_full"
|
|
57630
|
+
toolsFull: "tools_full",
|
|
57631
|
+
validationIssues: "validation_issues"
|
|
57627
57632
|
});
|
|
57628
57633
|
});
|
|
57629
57634
|
});
|
|
@@ -61208,6 +61213,61 @@ var init_insighttoolproperties = __esm(() => {
|
|
|
61208
61213
|
InsightToolProperties$outboundSchema = InsightToolProperties$inboundSchema;
|
|
61209
61214
|
});
|
|
61210
61215
|
|
|
61216
|
+
// src/models/components/insighttoolresponse.ts
|
|
61217
|
+
var InsightToolResponse$inboundSchema, InsightToolResponse$outboundSchema;
|
|
61218
|
+
var init_insighttoolresponse = __esm(() => {
|
|
61219
|
+
init_v3();
|
|
61220
|
+
init_primitives();
|
|
61221
|
+
init_insighttooldefinition();
|
|
61222
|
+
init_validationissue();
|
|
61223
|
+
InsightToolResponse$inboundSchema = objectType({
|
|
61224
|
+
name: stringType(),
|
|
61225
|
+
description: stringType(),
|
|
61226
|
+
version: numberType().int(),
|
|
61227
|
+
tool_arguments: anyType().optional(),
|
|
61228
|
+
insight_tool_definition_id: numberType().int(),
|
|
61229
|
+
id: numberType().int(),
|
|
61230
|
+
insight_tool_definition: nullableType(InsightToolDefinition$inboundSchema).optional(),
|
|
61231
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61232
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61233
|
+
last_updated_by: stringType(),
|
|
61234
|
+
validation_issues: nullableType(arrayType(ValidationIssue$inboundSchema)).optional()
|
|
61235
|
+
}).transform((v2) => {
|
|
61236
|
+
return remap(v2, {
|
|
61237
|
+
tool_arguments: "toolArguments",
|
|
61238
|
+
insight_tool_definition_id: "insightToolDefinitionId",
|
|
61239
|
+
insight_tool_definition: "insightToolDefinition",
|
|
61240
|
+
created_at: "createdAt",
|
|
61241
|
+
updated_at: "updatedAt",
|
|
61242
|
+
last_updated_by: "lastUpdatedBy",
|
|
61243
|
+
validation_issues: "validationIssues"
|
|
61244
|
+
});
|
|
61245
|
+
});
|
|
61246
|
+
InsightToolResponse$outboundSchema = objectType({
|
|
61247
|
+
name: stringType(),
|
|
61248
|
+
description: stringType(),
|
|
61249
|
+
version: numberType().int(),
|
|
61250
|
+
toolArguments: anyType().optional(),
|
|
61251
|
+
insightToolDefinitionId: numberType().int(),
|
|
61252
|
+
id: numberType().int(),
|
|
61253
|
+
insightToolDefinition: nullableType(InsightToolDefinition$outboundSchema).optional(),
|
|
61254
|
+
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61255
|
+
updatedAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61256
|
+
lastUpdatedBy: stringType(),
|
|
61257
|
+
validationIssues: nullableType(arrayType(ValidationIssue$outboundSchema)).optional()
|
|
61258
|
+
}).transform((v2) => {
|
|
61259
|
+
return remap(v2, {
|
|
61260
|
+
toolArguments: "tool_arguments",
|
|
61261
|
+
insightToolDefinitionId: "insight_tool_definition_id",
|
|
61262
|
+
insightToolDefinition: "insight_tool_definition",
|
|
61263
|
+
createdAt: "created_at",
|
|
61264
|
+
updatedAt: "updated_at",
|
|
61265
|
+
lastUpdatedBy: "last_updated_by",
|
|
61266
|
+
validationIssues: "validation_issues"
|
|
61267
|
+
});
|
|
61268
|
+
});
|
|
61269
|
+
});
|
|
61270
|
+
|
|
61211
61271
|
// src/models/components/insighttooltestinput.ts
|
|
61212
61272
|
var InsightToolTestInput$inboundSchema, InsightToolTestInput$outboundSchema;
|
|
61213
61273
|
var init_insighttooltestinput = __esm(() => {
|
|
@@ -61750,6 +61810,19 @@ var init_languagesamplecreaterequest = __esm(() => {
|
|
|
61750
61810
|
});
|
|
61751
61811
|
});
|
|
61752
61812
|
|
|
61813
|
+
// src/models/components/lifecyclestatus.ts
|
|
61814
|
+
var LifecycleStatus, LifecycleStatus$inboundSchema, LifecycleStatus$outboundSchema;
|
|
61815
|
+
var init_lifecyclestatus = __esm(() => {
|
|
61816
|
+
init_v3();
|
|
61817
|
+
LifecycleStatus = {
|
|
61818
|
+
Active: "active",
|
|
61819
|
+
Deprecated: "deprecated",
|
|
61820
|
+
Retired: "retired"
|
|
61821
|
+
};
|
|
61822
|
+
LifecycleStatus$inboundSchema = nativeEnumType(LifecycleStatus);
|
|
61823
|
+
LifecycleStatus$outboundSchema = LifecycleStatus$inboundSchema;
|
|
61824
|
+
});
|
|
61825
|
+
|
|
61753
61826
|
// src/models/components/linetypebucket.ts
|
|
61754
61827
|
var LineTypeBucket, LineTypeBucket$inboundSchema, LineTypeBucket$outboundSchema;
|
|
61755
61828
|
var init_linetypebucket = __esm(() => {
|
|
@@ -64778,11 +64851,44 @@ var init_sessiontranscriptionresponse = __esm(() => {
|
|
|
64778
64851
|
});
|
|
64779
64852
|
});
|
|
64780
64853
|
|
|
64854
|
+
// src/types/rfcdate.ts
|
|
64855
|
+
class RFCDate {
|
|
64856
|
+
serialized;
|
|
64857
|
+
static today() {
|
|
64858
|
+
return new RFCDate(new Date);
|
|
64859
|
+
}
|
|
64860
|
+
constructor(date4) {
|
|
64861
|
+
if (typeof date4 === "string" && !dateRE.test(date4)) {
|
|
64862
|
+
throw new RangeError("RFCDate: date strings must be in the format YYYY-MM-DD: " + date4);
|
|
64863
|
+
}
|
|
64864
|
+
const value = new Date(date4);
|
|
64865
|
+
if (isNaN(+value)) {
|
|
64866
|
+
throw new RangeError("RFCDate: invalid date provided: " + date4);
|
|
64867
|
+
}
|
|
64868
|
+
this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length);
|
|
64869
|
+
if (!dateRE.test(this.serialized)) {
|
|
64870
|
+
throw new TypeError(`RFCDate: failed to build valid date with given value: ${date4} serialized to ${this.serialized}`);
|
|
64871
|
+
}
|
|
64872
|
+
}
|
|
64873
|
+
toJSON() {
|
|
64874
|
+
return this.toString();
|
|
64875
|
+
}
|
|
64876
|
+
toString() {
|
|
64877
|
+
return this.serialized;
|
|
64878
|
+
}
|
|
64879
|
+
}
|
|
64880
|
+
var dateRE;
|
|
64881
|
+
var init_rfcdate = __esm(() => {
|
|
64882
|
+
dateRE = /^\d{4}-\d{2}-\d{2}$/;
|
|
64883
|
+
});
|
|
64884
|
+
|
|
64781
64885
|
// src/models/components/supportedllm.ts
|
|
64782
64886
|
var SupportedLlm$inboundSchema, SupportedLlm$outboundSchema;
|
|
64783
64887
|
var init_supportedllm = __esm(() => {
|
|
64784
64888
|
init_v3();
|
|
64785
64889
|
init_primitives();
|
|
64890
|
+
init_rfcdate();
|
|
64891
|
+
init_lifecyclestatus();
|
|
64786
64892
|
init_promptllmprovider();
|
|
64787
64893
|
SupportedLlm$inboundSchema = objectType({
|
|
64788
64894
|
provider: PromptLlmProvider$inboundSchema.optional(),
|
|
@@ -64790,11 +64896,16 @@ var init_supportedllm = __esm(() => {
|
|
|
64790
64896
|
display_name: stringType(),
|
|
64791
64897
|
version: nullableType(stringType()).optional(),
|
|
64792
64898
|
api_version: nullableType(stringType()).optional(),
|
|
64793
|
-
deprecated: booleanType()
|
|
64899
|
+
deprecated: booleanType(),
|
|
64900
|
+
sunset_date: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
|
|
64901
|
+
removed: booleanType().default(false),
|
|
64902
|
+
fallback: nullableType(stringType()).optional(),
|
|
64903
|
+
status: nullableType(LifecycleStatus$inboundSchema).optional()
|
|
64794
64904
|
}).transform((v2) => {
|
|
64795
64905
|
return remap(v2, {
|
|
64796
64906
|
display_name: "displayName",
|
|
64797
|
-
api_version: "apiVersion"
|
|
64907
|
+
api_version: "apiVersion",
|
|
64908
|
+
sunset_date: "sunsetDate"
|
|
64798
64909
|
});
|
|
64799
64910
|
});
|
|
64800
64911
|
SupportedLlm$outboundSchema = objectType({
|
|
@@ -64803,11 +64914,16 @@ var init_supportedllm = __esm(() => {
|
|
|
64803
64914
|
displayName: stringType(),
|
|
64804
64915
|
version: nullableType(stringType()).optional(),
|
|
64805
64916
|
apiVersion: nullableType(stringType()).optional(),
|
|
64806
|
-
deprecated: booleanType()
|
|
64917
|
+
deprecated: booleanType(),
|
|
64918
|
+
sunsetDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
|
|
64919
|
+
removed: booleanType().default(false),
|
|
64920
|
+
fallback: nullableType(stringType()).optional(),
|
|
64921
|
+
status: nullableType(LifecycleStatus$outboundSchema).optional()
|
|
64807
64922
|
}).transform((v2) => {
|
|
64808
64923
|
return remap(v2, {
|
|
64809
64924
|
displayName: "display_name",
|
|
64810
|
-
apiVersion: "api_version"
|
|
64925
|
+
apiVersion: "api_version",
|
|
64926
|
+
sunsetDate: "sunset_date"
|
|
64811
64927
|
});
|
|
64812
64928
|
});
|
|
64813
64929
|
});
|
|
@@ -65717,6 +65833,7 @@ var init_components = __esm(() => {
|
|
|
65717
65833
|
init_insighttoolinput();
|
|
65718
65834
|
init_insighttooloutput();
|
|
65719
65835
|
init_insighttoolproperties();
|
|
65836
|
+
init_insighttoolresponse();
|
|
65720
65837
|
init_insighttooltestinput();
|
|
65721
65838
|
init_insightworkflowactivate();
|
|
65722
65839
|
init_insightworkflowcondition();
|
|
@@ -65739,6 +65856,7 @@ var init_components = __esm(() => {
|
|
|
65739
65856
|
init_latencyentry();
|
|
65740
65857
|
init_latencyunittype();
|
|
65741
65858
|
init_libdatabasedaoorganizationbridgephrasesdaobridgephrasemessages();
|
|
65859
|
+
init_lifecyclestatus();
|
|
65742
65860
|
init_linetypebucket();
|
|
65743
65861
|
init_listresponseagentresponse();
|
|
65744
65862
|
init_listresponseavailabletarget();
|
|
@@ -68691,6 +68809,27 @@ var init_postlistdashboard = __esm(() => {
|
|
|
68691
68809
|
});
|
|
68692
68810
|
});
|
|
68693
68811
|
|
|
68812
|
+
// src/models/operations/promptgetsupportedllms.ts
|
|
68813
|
+
var PromptGetSupportedLlmsRequest$inboundSchema, PromptGetSupportedLlmsRequest$outboundSchema;
|
|
68814
|
+
var init_promptgetsupportedllms = __esm(() => {
|
|
68815
|
+
init_v3();
|
|
68816
|
+
init_primitives();
|
|
68817
|
+
PromptGetSupportedLlmsRequest$inboundSchema = objectType({
|
|
68818
|
+
selected_model: nullableType(stringType()).optional()
|
|
68819
|
+
}).transform((v2) => {
|
|
68820
|
+
return remap(v2, {
|
|
68821
|
+
selected_model: "selectedModel"
|
|
68822
|
+
});
|
|
68823
|
+
});
|
|
68824
|
+
PromptGetSupportedLlmsRequest$outboundSchema = objectType({
|
|
68825
|
+
selectedModel: nullableType(stringType()).optional()
|
|
68826
|
+
}).transform((v2) => {
|
|
68827
|
+
return remap(v2, {
|
|
68828
|
+
selectedModel: "selected_model"
|
|
68829
|
+
});
|
|
68830
|
+
});
|
|
68831
|
+
});
|
|
68832
|
+
|
|
68694
68833
|
// src/models/operations/promptsdelete.ts
|
|
68695
68834
|
var PromptsDeleteRequest$inboundSchema, PromptsDeleteRequest$outboundSchema;
|
|
68696
68835
|
var init_promptsdelete = __esm(() => {
|
|
@@ -69692,6 +69831,7 @@ var init_operations = __esm(() => {
|
|
|
69692
69831
|
init_outboundcampaignupdate();
|
|
69693
69832
|
init_postgetdashboard();
|
|
69694
69833
|
init_postlistdashboard();
|
|
69834
|
+
init_promptgetsupportedllms();
|
|
69695
69835
|
init_promptsdelete();
|
|
69696
69836
|
init_promptsgetbyid();
|
|
69697
69837
|
init_promptshistory();
|
|
@@ -74999,7 +75139,7 @@ var init_directoryDirectoryMemberBulkLoad2 = __esm(() => {
|
|
|
74999
75139
|
name: "directory-directory-member-bulk-load",
|
|
75000
75140
|
description: `Bulk Load Directory Members
|
|
75001
75141
|
|
|
75002
|
-
|
|
75142
|
+
Load Directory Members in chunks of 100.`,
|
|
75003
75143
|
args: args45,
|
|
75004
75144
|
tool: async (client, args46, ctx) => {
|
|
75005
75145
|
const [result, apiCall] = await directoryDirectoryMemberBulkLoad(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -77653,7 +77793,7 @@ async function $do75(client, request, options) {
|
|
|
77653
77793
|
const responseFields = {
|
|
77654
77794
|
HttpMeta: { Response: response, Request: req }
|
|
77655
77795
|
};
|
|
77656
|
-
const [result] = await match(json(200,
|
|
77796
|
+
const [result] = await match(json(200, InsightToolResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail([400, "4XX"]), fail([500, "5XX"]))(response, req, { extraFields: responseFields });
|
|
77657
77797
|
if (!result.ok) {
|
|
77658
77798
|
return [result, { status: "complete", request: req, response }];
|
|
77659
77799
|
}
|
|
@@ -78290,7 +78430,7 @@ async function $do81(client, request, options) {
|
|
|
78290
78430
|
const responseFields = {
|
|
78291
78431
|
HttpMeta: { Response: response, Request: req }
|
|
78292
78432
|
};
|
|
78293
|
-
const [result] = await match(json(200,
|
|
78433
|
+
const [result] = await match(json(200, InsightToolResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail([400, 404, 412, "4XX"]), fail([500, "5XX"]))(response, req, { extraFields: responseFields });
|
|
78294
78434
|
if (!result.ok) {
|
|
78295
78435
|
return [result, { status: "complete", request: req, response }];
|
|
78296
78436
|
}
|
|
@@ -82811,11 +82951,20 @@ List the existing prompts`,
|
|
|
82811
82951
|
});
|
|
82812
82952
|
|
|
82813
82953
|
// src/funcs/promptsPromptGetSupportedLlms.ts
|
|
82814
|
-
function promptsPromptGetSupportedLlms(client, options) {
|
|
82815
|
-
return new APIPromise($do123(client, options));
|
|
82954
|
+
function promptsPromptGetSupportedLlms(client, request, options) {
|
|
82955
|
+
return new APIPromise($do123(client, request, options));
|
|
82816
82956
|
}
|
|
82817
|
-
async function $do123(client, options) {
|
|
82957
|
+
async function $do123(client, request, options) {
|
|
82958
|
+
const parsed = safeParse4(request, (value) => PromptGetSupportedLlmsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82959
|
+
if (!parsed.ok) {
|
|
82960
|
+
return [parsed, { status: "invalid" }];
|
|
82961
|
+
}
|
|
82962
|
+
const payload = parsed.value;
|
|
82963
|
+
const body = null;
|
|
82818
82964
|
const path = pathToFunc("/api/v1/prompts/llms/supported")();
|
|
82965
|
+
const query = encodeFormQuery({
|
|
82966
|
+
selected_model: payload.selected_model
|
|
82967
|
+
});
|
|
82819
82968
|
const headers = new Headers(compactMap({
|
|
82820
82969
|
Accept: "application/json"
|
|
82821
82970
|
}));
|
|
@@ -82838,6 +82987,8 @@ async function $do123(client, options) {
|
|
|
82838
82987
|
baseURL: options?.serverURL,
|
|
82839
82988
|
path,
|
|
82840
82989
|
headers,
|
|
82990
|
+
query,
|
|
82991
|
+
body,
|
|
82841
82992
|
userAgent: client._options.userAgent,
|
|
82842
82993
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
82843
82994
|
}, options);
|
|
@@ -82855,7 +83006,10 @@ async function $do123(client, options) {
|
|
|
82855
83006
|
return [doResult, { status: "request-error", request: req }];
|
|
82856
83007
|
}
|
|
82857
83008
|
const response = doResult.value;
|
|
82858
|
-
const
|
|
83009
|
+
const responseFields = {
|
|
83010
|
+
HttpMeta: { Response: response, Request: req }
|
|
83011
|
+
};
|
|
83012
|
+
const [result] = await match(json(200, arrayType(SupportedLlm$inboundSchema)), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
82859
83013
|
if (!result.ok) {
|
|
82860
83014
|
return [result, { status: "complete", request: req, response }];
|
|
82861
83015
|
}
|
|
@@ -82863,27 +83017,40 @@ async function $do123(client, options) {
|
|
|
82863
83017
|
}
|
|
82864
83018
|
var init_promptsPromptGetSupportedLlms = __esm(() => {
|
|
82865
83019
|
init_v3();
|
|
83020
|
+
init_encodings();
|
|
82866
83021
|
init_http();
|
|
82867
83022
|
init_matchers();
|
|
82868
83023
|
init_primitives();
|
|
83024
|
+
init_schemas4();
|
|
82869
83025
|
init_security();
|
|
82870
83026
|
init_url();
|
|
82871
83027
|
init_components();
|
|
83028
|
+
init_errors4();
|
|
83029
|
+
init_operations();
|
|
82872
83030
|
init_async();
|
|
82873
83031
|
});
|
|
82874
83032
|
|
|
82875
83033
|
// src/mcp-server/tools/promptsPromptGetSupportedLlms.ts
|
|
82876
|
-
var tool$promptsPromptGetSupportedLlms;
|
|
83034
|
+
var args112, tool$promptsPromptGetSupportedLlms;
|
|
82877
83035
|
var init_promptsPromptGetSupportedLlms2 = __esm(() => {
|
|
82878
83036
|
init_promptsPromptGetSupportedLlms();
|
|
83037
|
+
init_operations();
|
|
82879
83038
|
init_tools();
|
|
83039
|
+
args112 = {
|
|
83040
|
+
request: PromptGetSupportedLlmsRequest$inboundSchema
|
|
83041
|
+
};
|
|
82880
83042
|
tool$promptsPromptGetSupportedLlms = {
|
|
82881
83043
|
name: "prompts-prompt-get-supported-llms",
|
|
82882
83044
|
description: `Get Supported Llm Configs
|
|
82883
83045
|
|
|
82884
|
-
Get supported LLM configs
|
|
82885
|
-
|
|
82886
|
-
|
|
83046
|
+
Get supported LLM configs.
|
|
83047
|
+
|
|
83048
|
+
Each config's \`status\` is resolved against the current date. Retired models are omitted unless
|
|
83049
|
+
they match \`selected_model\`, so a saved config still referencing a retired model can render it
|
|
83050
|
+
as a locked field.`,
|
|
83051
|
+
args: args112,
|
|
83052
|
+
tool: async (client, args113, ctx) => {
|
|
83053
|
+
const [result, apiCall] = await promptsPromptGetSupportedLlms(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82887
83054
|
if (!result.ok) {
|
|
82888
83055
|
return {
|
|
82889
83056
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82979,12 +83146,12 @@ var init_promptsPromptsHistory = __esm(() => {
|
|
|
82979
83146
|
});
|
|
82980
83147
|
|
|
82981
83148
|
// src/mcp-server/tools/promptsPromptsHistory.ts
|
|
82982
|
-
var
|
|
83149
|
+
var args113, tool$promptsPromptsHistory;
|
|
82983
83150
|
var init_promptsPromptsHistory2 = __esm(() => {
|
|
82984
83151
|
init_promptsPromptsHistory();
|
|
82985
83152
|
init_operations();
|
|
82986
83153
|
init_tools();
|
|
82987
|
-
|
|
83154
|
+
args113 = {
|
|
82988
83155
|
request: PromptsHistoryRequest$inboundSchema
|
|
82989
83156
|
};
|
|
82990
83157
|
tool$promptsPromptsHistory = {
|
|
@@ -82992,9 +83159,9 @@ var init_promptsPromptsHistory2 = __esm(() => {
|
|
|
82992
83159
|
description: `Get Prompt History
|
|
82993
83160
|
|
|
82994
83161
|
Get a list of historical versions of a prompt by its ID`,
|
|
82995
|
-
args:
|
|
82996
|
-
tool: async (client,
|
|
82997
|
-
const [result, apiCall] = await promptsPromptsHistory(client,
|
|
83162
|
+
args: args113,
|
|
83163
|
+
tool: async (client, args114, ctx) => {
|
|
83164
|
+
const [result, apiCall] = await promptsPromptsHistory(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82998
83165
|
if (!result.ok) {
|
|
82999
83166
|
return {
|
|
83000
83167
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83083,12 +83250,12 @@ var init_promptsUpdate = __esm(() => {
|
|
|
83083
83250
|
});
|
|
83084
83251
|
|
|
83085
83252
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
83086
|
-
var
|
|
83253
|
+
var args114, tool$promptsUpdate;
|
|
83087
83254
|
var init_promptsUpdate2 = __esm(() => {
|
|
83088
83255
|
init_promptsUpdate();
|
|
83089
83256
|
init_components();
|
|
83090
83257
|
init_tools();
|
|
83091
|
-
|
|
83258
|
+
args114 = {
|
|
83092
83259
|
request: PromptUpdateRequest$inboundSchema
|
|
83093
83260
|
};
|
|
83094
83261
|
tool$promptsUpdate = {
|
|
@@ -83096,9 +83263,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
83096
83263
|
description: `Update Prompt
|
|
83097
83264
|
|
|
83098
83265
|
Update an existing prompt`,
|
|
83099
|
-
args:
|
|
83100
|
-
tool: async (client,
|
|
83101
|
-
const [result, apiCall] = await promptsUpdate(client,
|
|
83266
|
+
args: args114,
|
|
83267
|
+
tool: async (client, args115, ctx) => {
|
|
83268
|
+
const [result, apiCall] = await promptsUpdate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83102
83269
|
if (!result.ok) {
|
|
83103
83270
|
return {
|
|
83104
83271
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83533,20 +83700,20 @@ var init_pronunciationsPronunciationsUploadCsv = __esm(() => {
|
|
|
83533
83700
|
});
|
|
83534
83701
|
|
|
83535
83702
|
// src/mcp-server/tools/pronunciationsPronunciationsUploadCsv.ts
|
|
83536
|
-
var
|
|
83703
|
+
var args115, tool$pronunciationsPronunciationsUploadCsv;
|
|
83537
83704
|
var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
83538
83705
|
init_pronunciationsPronunciationsUploadCsv();
|
|
83539
83706
|
init_components();
|
|
83540
83707
|
init_tools();
|
|
83541
|
-
|
|
83708
|
+
args115 = {
|
|
83542
83709
|
request: BodyPronunciationsUploadCsv$inboundSchema
|
|
83543
83710
|
};
|
|
83544
83711
|
tool$pronunciationsPronunciationsUploadCsv = {
|
|
83545
83712
|
name: "pronunciations-pronunciations-upload-csv",
|
|
83546
83713
|
description: `Upload Pronunciations Csv`,
|
|
83547
|
-
args:
|
|
83548
|
-
tool: async (client,
|
|
83549
|
-
const [result, apiCall] = await pronunciationsPronunciationsUploadCsv(client,
|
|
83714
|
+
args: args115,
|
|
83715
|
+
tool: async (client, args116, ctx) => {
|
|
83716
|
+
const [result, apiCall] = await pronunciationsPronunciationsUploadCsv(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83550
83717
|
if (!result.ok) {
|
|
83551
83718
|
return {
|
|
83552
83719
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83635,12 +83802,12 @@ var init_rolesCreate = __esm(() => {
|
|
|
83635
83802
|
});
|
|
83636
83803
|
|
|
83637
83804
|
// src/mcp-server/tools/rolesCreate.ts
|
|
83638
|
-
var
|
|
83805
|
+
var args116, tool$rolesCreate;
|
|
83639
83806
|
var init_rolesCreate2 = __esm(() => {
|
|
83640
83807
|
init_rolesCreate();
|
|
83641
83808
|
init_components();
|
|
83642
83809
|
init_tools();
|
|
83643
|
-
|
|
83810
|
+
args116 = {
|
|
83644
83811
|
request: RoleCreateRequest$inboundSchema
|
|
83645
83812
|
};
|
|
83646
83813
|
tool$rolesCreate = {
|
|
@@ -83648,9 +83815,9 @@ var init_rolesCreate2 = __esm(() => {
|
|
|
83648
83815
|
description: `Create Role
|
|
83649
83816
|
|
|
83650
83817
|
Create a new role.`,
|
|
83651
|
-
args:
|
|
83652
|
-
tool: async (client,
|
|
83653
|
-
const [result, apiCall] = await rolesCreate(client,
|
|
83818
|
+
args: args116,
|
|
83819
|
+
tool: async (client, args117, ctx) => {
|
|
83820
|
+
const [result, apiCall] = await rolesCreate(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83654
83821
|
if (!result.ok) {
|
|
83655
83822
|
return {
|
|
83656
83823
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83750,12 +83917,12 @@ var init_rolesDelete = __esm(() => {
|
|
|
83750
83917
|
});
|
|
83751
83918
|
|
|
83752
83919
|
// src/mcp-server/tools/rolesDelete.ts
|
|
83753
|
-
var
|
|
83920
|
+
var args117, tool$rolesDelete;
|
|
83754
83921
|
var init_rolesDelete2 = __esm(() => {
|
|
83755
83922
|
init_rolesDelete();
|
|
83756
83923
|
init_operations();
|
|
83757
83924
|
init_tools();
|
|
83758
|
-
|
|
83925
|
+
args117 = {
|
|
83759
83926
|
request: RolesDeleteRequest$inboundSchema
|
|
83760
83927
|
};
|
|
83761
83928
|
tool$rolesDelete = {
|
|
@@ -83763,9 +83930,9 @@ var init_rolesDelete2 = __esm(() => {
|
|
|
83763
83930
|
description: `Delete Role
|
|
83764
83931
|
|
|
83765
83932
|
Delete a role. Optionally, reassign existing users with that role to a new role.`,
|
|
83766
|
-
args:
|
|
83767
|
-
tool: async (client,
|
|
83768
|
-
const [result, apiCall] = await rolesDelete(client,
|
|
83933
|
+
args: args117,
|
|
83934
|
+
tool: async (client, args118, ctx) => {
|
|
83935
|
+
const [result, apiCall] = await rolesDelete(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83769
83936
|
if (!result.ok) {
|
|
83770
83937
|
return {
|
|
83771
83938
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83860,12 +84027,12 @@ var init_rolesGetById = __esm(() => {
|
|
|
83860
84027
|
});
|
|
83861
84028
|
|
|
83862
84029
|
// src/mcp-server/tools/rolesGetById.ts
|
|
83863
|
-
var
|
|
84030
|
+
var args118, tool$rolesGetById;
|
|
83864
84031
|
var init_rolesGetById2 = __esm(() => {
|
|
83865
84032
|
init_rolesGetById();
|
|
83866
84033
|
init_operations();
|
|
83867
84034
|
init_tools();
|
|
83868
|
-
|
|
84035
|
+
args118 = {
|
|
83869
84036
|
request: RolesGetByIdRequest$inboundSchema
|
|
83870
84037
|
};
|
|
83871
84038
|
tool$rolesGetById = {
|
|
@@ -83873,9 +84040,9 @@ var init_rolesGetById2 = __esm(() => {
|
|
|
83873
84040
|
description: `Get Role
|
|
83874
84041
|
|
|
83875
84042
|
Fetch a given role.`,
|
|
83876
|
-
args:
|
|
83877
|
-
tool: async (client,
|
|
83878
|
-
const [result, apiCall] = await rolesGetById(client,
|
|
84043
|
+
args: args118,
|
|
84044
|
+
tool: async (client, args119, ctx) => {
|
|
84045
|
+
const [result, apiCall] = await rolesGetById(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83879
84046
|
if (!result.ok) {
|
|
83880
84047
|
return {
|
|
83881
84048
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83976,12 +84143,12 @@ var init_rolesList = __esm(() => {
|
|
|
83976
84143
|
});
|
|
83977
84144
|
|
|
83978
84145
|
// src/mcp-server/tools/rolesList.ts
|
|
83979
|
-
var
|
|
84146
|
+
var args119, tool$rolesList;
|
|
83980
84147
|
var init_rolesList2 = __esm(() => {
|
|
83981
84148
|
init_rolesList();
|
|
83982
84149
|
init_operations();
|
|
83983
84150
|
init_tools();
|
|
83984
|
-
|
|
84151
|
+
args119 = {
|
|
83985
84152
|
request: RolesListRequest$inboundSchema
|
|
83986
84153
|
};
|
|
83987
84154
|
tool$rolesList = {
|
|
@@ -83989,9 +84156,9 @@ var init_rolesList2 = __esm(() => {
|
|
|
83989
84156
|
description: `List Roles
|
|
83990
84157
|
|
|
83991
84158
|
List the existing roles.`,
|
|
83992
|
-
args:
|
|
83993
|
-
tool: async (client,
|
|
83994
|
-
const [result, apiCall] = await rolesList(client,
|
|
84159
|
+
args: args119,
|
|
84160
|
+
tool: async (client, args120, ctx) => {
|
|
84161
|
+
const [result, apiCall] = await rolesList(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83995
84162
|
if (!result.ok) {
|
|
83996
84163
|
return {
|
|
83997
84164
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84080,12 +84247,12 @@ var init_rolesUpdate = __esm(() => {
|
|
|
84080
84247
|
});
|
|
84081
84248
|
|
|
84082
84249
|
// src/mcp-server/tools/rolesUpdate.ts
|
|
84083
|
-
var
|
|
84250
|
+
var args120, tool$rolesUpdate;
|
|
84084
84251
|
var init_rolesUpdate2 = __esm(() => {
|
|
84085
84252
|
init_rolesUpdate();
|
|
84086
84253
|
init_components();
|
|
84087
84254
|
init_tools();
|
|
84088
|
-
|
|
84255
|
+
args120 = {
|
|
84089
84256
|
request: RoleUpdateRequest$inboundSchema
|
|
84090
84257
|
};
|
|
84091
84258
|
tool$rolesUpdate = {
|
|
@@ -84093,9 +84260,9 @@ var init_rolesUpdate2 = __esm(() => {
|
|
|
84093
84260
|
description: `Update Role
|
|
84094
84261
|
|
|
84095
84262
|
Update an existing role.`,
|
|
84096
|
-
args:
|
|
84097
|
-
tool: async (client,
|
|
84098
|
-
const [result, apiCall] = await rolesUpdate(client,
|
|
84263
|
+
args: args120,
|
|
84264
|
+
tool: async (client, args121, ctx) => {
|
|
84265
|
+
const [result, apiCall] = await rolesUpdate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84099
84266
|
if (!result.ok) {
|
|
84100
84267
|
return {
|
|
84101
84268
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84184,12 +84351,12 @@ var init_servicesCreate = __esm(() => {
|
|
|
84184
84351
|
});
|
|
84185
84352
|
|
|
84186
84353
|
// src/mcp-server/tools/servicesCreate.ts
|
|
84187
|
-
var
|
|
84354
|
+
var args121, tool$servicesCreate;
|
|
84188
84355
|
var init_servicesCreate2 = __esm(() => {
|
|
84189
84356
|
init_servicesCreate();
|
|
84190
84357
|
init_components();
|
|
84191
84358
|
init_tools();
|
|
84192
|
-
|
|
84359
|
+
args121 = {
|
|
84193
84360
|
request: ServiceCreateRequest$inboundSchema
|
|
84194
84361
|
};
|
|
84195
84362
|
tool$servicesCreate = {
|
|
@@ -84197,9 +84364,9 @@ var init_servicesCreate2 = __esm(() => {
|
|
|
84197
84364
|
description: `Create Service
|
|
84198
84365
|
|
|
84199
84366
|
Create a new service.`,
|
|
84200
|
-
args:
|
|
84201
|
-
tool: async (client,
|
|
84202
|
-
const [result, apiCall] = await servicesCreate(client,
|
|
84367
|
+
args: args121,
|
|
84368
|
+
tool: async (client, args122, ctx) => {
|
|
84369
|
+
const [result, apiCall] = await servicesCreate(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84203
84370
|
if (!result.ok) {
|
|
84204
84371
|
return {
|
|
84205
84372
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84298,12 +84465,12 @@ var init_servicesDelete = __esm(() => {
|
|
|
84298
84465
|
});
|
|
84299
84466
|
|
|
84300
84467
|
// src/mcp-server/tools/servicesDelete.ts
|
|
84301
|
-
var
|
|
84468
|
+
var args122, tool$servicesDelete;
|
|
84302
84469
|
var init_servicesDelete2 = __esm(() => {
|
|
84303
84470
|
init_servicesDelete();
|
|
84304
84471
|
init_operations();
|
|
84305
84472
|
init_tools();
|
|
84306
|
-
|
|
84473
|
+
args122 = {
|
|
84307
84474
|
request: ServiceDeleteRequest$inboundSchema
|
|
84308
84475
|
};
|
|
84309
84476
|
tool$servicesDelete = {
|
|
@@ -84311,9 +84478,9 @@ var init_servicesDelete2 = __esm(() => {
|
|
|
84311
84478
|
description: `Delete Service
|
|
84312
84479
|
|
|
84313
84480
|
Delete a service. A service with linked tools cannot be deleted.`,
|
|
84314
|
-
args:
|
|
84315
|
-
tool: async (client,
|
|
84316
|
-
const [result, apiCall] = await servicesDelete(client,
|
|
84481
|
+
args: args122,
|
|
84482
|
+
tool: async (client, args123, ctx) => {
|
|
84483
|
+
const [result, apiCall] = await servicesDelete(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84317
84484
|
if (!result.ok) {
|
|
84318
84485
|
return {
|
|
84319
84486
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84408,12 +84575,12 @@ var init_servicesGetById = __esm(() => {
|
|
|
84408
84575
|
});
|
|
84409
84576
|
|
|
84410
84577
|
// src/mcp-server/tools/servicesGetById.ts
|
|
84411
|
-
var
|
|
84578
|
+
var args123, tool$servicesGetById;
|
|
84412
84579
|
var init_servicesGetById2 = __esm(() => {
|
|
84413
84580
|
init_servicesGetById();
|
|
84414
84581
|
init_operations();
|
|
84415
84582
|
init_tools();
|
|
84416
|
-
|
|
84583
|
+
args123 = {
|
|
84417
84584
|
request: ServicesGetByIdRequest$inboundSchema
|
|
84418
84585
|
};
|
|
84419
84586
|
tool$servicesGetById = {
|
|
@@ -84421,9 +84588,9 @@ var init_servicesGetById2 = __esm(() => {
|
|
|
84421
84588
|
description: `Get Service By Id
|
|
84422
84589
|
|
|
84423
84590
|
Get a service by its ID`,
|
|
84424
|
-
args:
|
|
84425
|
-
tool: async (client,
|
|
84426
|
-
const [result, apiCall] = await servicesGetById(client,
|
|
84591
|
+
args: args123,
|
|
84592
|
+
tool: async (client, args124, ctx) => {
|
|
84593
|
+
const [result, apiCall] = await servicesGetById(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84427
84594
|
if (!result.ok) {
|
|
84428
84595
|
return {
|
|
84429
84596
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84524,12 +84691,12 @@ var init_servicesList = __esm(() => {
|
|
|
84524
84691
|
});
|
|
84525
84692
|
|
|
84526
84693
|
// src/mcp-server/tools/servicesList.ts
|
|
84527
|
-
var
|
|
84694
|
+
var args124, tool$servicesList;
|
|
84528
84695
|
var init_servicesList2 = __esm(() => {
|
|
84529
84696
|
init_servicesList();
|
|
84530
84697
|
init_operations();
|
|
84531
84698
|
init_tools();
|
|
84532
|
-
|
|
84699
|
+
args124 = {
|
|
84533
84700
|
request: ServiceListRequest$inboundSchema
|
|
84534
84701
|
};
|
|
84535
84702
|
tool$servicesList = {
|
|
@@ -84537,9 +84704,9 @@ var init_servicesList2 = __esm(() => {
|
|
|
84537
84704
|
description: `Service List
|
|
84538
84705
|
|
|
84539
84706
|
List the existing services`,
|
|
84540
|
-
args:
|
|
84541
|
-
tool: async (client,
|
|
84542
|
-
const [result, apiCall] = await servicesList(client,
|
|
84707
|
+
args: args124,
|
|
84708
|
+
tool: async (client, args125, ctx) => {
|
|
84709
|
+
const [result, apiCall] = await servicesList(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84543
84710
|
if (!result.ok) {
|
|
84544
84711
|
return {
|
|
84545
84712
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84628,12 +84795,12 @@ var init_servicesUpdate = __esm(() => {
|
|
|
84628
84795
|
});
|
|
84629
84796
|
|
|
84630
84797
|
// src/mcp-server/tools/servicesUpdate.ts
|
|
84631
|
-
var
|
|
84798
|
+
var args125, tool$servicesUpdate;
|
|
84632
84799
|
var init_servicesUpdate2 = __esm(() => {
|
|
84633
84800
|
init_servicesUpdate();
|
|
84634
84801
|
init_components();
|
|
84635
84802
|
init_tools();
|
|
84636
|
-
|
|
84803
|
+
args125 = {
|
|
84637
84804
|
request: ServiceUpdateRequest$inboundSchema
|
|
84638
84805
|
};
|
|
84639
84806
|
tool$servicesUpdate = {
|
|
@@ -84641,9 +84808,9 @@ var init_servicesUpdate2 = __esm(() => {
|
|
|
84641
84808
|
description: `Update Service
|
|
84642
84809
|
|
|
84643
84810
|
Update an existing service.`,
|
|
84644
|
-
args:
|
|
84645
|
-
tool: async (client,
|
|
84646
|
-
const [result, apiCall] = await servicesUpdate(client,
|
|
84811
|
+
args: args125,
|
|
84812
|
+
tool: async (client, args126, ctx) => {
|
|
84813
|
+
const [result, apiCall] = await servicesUpdate(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84647
84814
|
if (!result.ok) {
|
|
84648
84815
|
return {
|
|
84649
84816
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84738,20 +84905,20 @@ var init_sessionDebugGetSessionDataBySessionId = __esm(() => {
|
|
|
84738
84905
|
});
|
|
84739
84906
|
|
|
84740
84907
|
// src/mcp-server/tools/sessionDebugGetSessionDataBySessionId.ts
|
|
84741
|
-
var
|
|
84908
|
+
var args126, tool$sessionDebugGetSessionDataBySessionId;
|
|
84742
84909
|
var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
84743
84910
|
init_sessionDebugGetSessionDataBySessionId();
|
|
84744
84911
|
init_operations();
|
|
84745
84912
|
init_tools();
|
|
84746
|
-
|
|
84913
|
+
args126 = {
|
|
84747
84914
|
request: GetSessionDataBySessionIdRequest$inboundSchema
|
|
84748
84915
|
};
|
|
84749
84916
|
tool$sessionDebugGetSessionDataBySessionId = {
|
|
84750
84917
|
name: "session-debug-get-session-data-by-session-id",
|
|
84751
84918
|
description: `Get Session Data By Session Id`,
|
|
84752
|
-
args:
|
|
84753
|
-
tool: async (client,
|
|
84754
|
-
const [result, apiCall] = await sessionDebugGetSessionDataBySessionId(client,
|
|
84919
|
+
args: args126,
|
|
84920
|
+
tool: async (client, args127, ctx) => {
|
|
84921
|
+
const [result, apiCall] = await sessionDebugGetSessionDataBySessionId(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84755
84922
|
if (!result.ok) {
|
|
84756
84923
|
return {
|
|
84757
84924
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84844,20 +85011,20 @@ var init_sessionDebugGetSessionDataBySid = __esm(() => {
|
|
|
84844
85011
|
});
|
|
84845
85012
|
|
|
84846
85013
|
// src/mcp-server/tools/sessionDebugGetSessionDataBySid.ts
|
|
84847
|
-
var
|
|
85014
|
+
var args127, tool$sessionDebugGetSessionDataBySid;
|
|
84848
85015
|
var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
84849
85016
|
init_sessionDebugGetSessionDataBySid();
|
|
84850
85017
|
init_operations();
|
|
84851
85018
|
init_tools();
|
|
84852
|
-
|
|
85019
|
+
args127 = {
|
|
84853
85020
|
request: GetSessionDataBySidRequest$inboundSchema
|
|
84854
85021
|
};
|
|
84855
85022
|
tool$sessionDebugGetSessionDataBySid = {
|
|
84856
85023
|
name: "session-debug-get-session-data-by-sid",
|
|
84857
85024
|
description: `Get Session Data By Sid`,
|
|
84858
|
-
args:
|
|
84859
|
-
tool: async (client,
|
|
84860
|
-
const [result, apiCall] = await sessionDebugGetSessionDataBySid(client,
|
|
85025
|
+
args: args127,
|
|
85026
|
+
tool: async (client, args128, ctx) => {
|
|
85027
|
+
const [result, apiCall] = await sessionDebugGetSessionDataBySid(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84861
85028
|
if (!result.ok) {
|
|
84862
85029
|
return {
|
|
84863
85030
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84956,20 +85123,20 @@ var init_sessionDebugGetSessionToolCallResultById = __esm(() => {
|
|
|
84956
85123
|
});
|
|
84957
85124
|
|
|
84958
85125
|
// src/mcp-server/tools/sessionDebugGetSessionToolCallResultById.ts
|
|
84959
|
-
var
|
|
85126
|
+
var args128, tool$sessionDebugGetSessionToolCallResultById;
|
|
84960
85127
|
var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
84961
85128
|
init_sessionDebugGetSessionToolCallResultById();
|
|
84962
85129
|
init_operations();
|
|
84963
85130
|
init_tools();
|
|
84964
|
-
|
|
85131
|
+
args128 = {
|
|
84965
85132
|
request: GetSessionToolCallResultByIdRequest$inboundSchema
|
|
84966
85133
|
};
|
|
84967
85134
|
tool$sessionDebugGetSessionToolCallResultById = {
|
|
84968
85135
|
name: "session-debug-get-session-tool-call-result-by-id",
|
|
84969
85136
|
description: `Get Session Tool Call Result By Id`,
|
|
84970
|
-
args:
|
|
84971
|
-
tool: async (client,
|
|
84972
|
-
const [result, apiCall] = await sessionDebugGetSessionToolCallResultById(client,
|
|
85137
|
+
args: args128,
|
|
85138
|
+
tool: async (client, args129, ctx) => {
|
|
85139
|
+
const [result, apiCall] = await sessionDebugGetSessionToolCallResultById(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84973
85140
|
if (!result.ok) {
|
|
84974
85141
|
return {
|
|
84975
85142
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85058,12 +85225,12 @@ var init_sessionLabelsCreate = __esm(() => {
|
|
|
85058
85225
|
});
|
|
85059
85226
|
|
|
85060
85227
|
// src/mcp-server/tools/sessionLabelsCreate.ts
|
|
85061
|
-
var
|
|
85228
|
+
var args129, tool$sessionLabelsCreate;
|
|
85062
85229
|
var init_sessionLabelsCreate2 = __esm(() => {
|
|
85063
85230
|
init_sessionLabelsCreate();
|
|
85064
85231
|
init_components();
|
|
85065
85232
|
init_tools();
|
|
85066
|
-
|
|
85233
|
+
args129 = {
|
|
85067
85234
|
request: SessionLabelCreate$inboundSchema
|
|
85068
85235
|
};
|
|
85069
85236
|
tool$sessionLabelsCreate = {
|
|
@@ -85071,9 +85238,9 @@ var init_sessionLabelsCreate2 = __esm(() => {
|
|
|
85071
85238
|
description: `Create Label
|
|
85072
85239
|
|
|
85073
85240
|
Create a new label`,
|
|
85074
|
-
args:
|
|
85075
|
-
tool: async (client,
|
|
85076
|
-
const [result, apiCall] = await sessionLabelsCreate(client,
|
|
85241
|
+
args: args129,
|
|
85242
|
+
tool: async (client, args130, ctx) => {
|
|
85243
|
+
const [result, apiCall] = await sessionLabelsCreate(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85077
85244
|
if (!result.ok) {
|
|
85078
85245
|
return {
|
|
85079
85246
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85165,20 +85332,20 @@ var init_sessionLabelsGetById = __esm(() => {
|
|
|
85165
85332
|
});
|
|
85166
85333
|
|
|
85167
85334
|
// src/mcp-server/tools/sessionLabelsGetById.ts
|
|
85168
|
-
var
|
|
85335
|
+
var args130, tool$sessionLabelsGetById;
|
|
85169
85336
|
var init_sessionLabelsGetById2 = __esm(() => {
|
|
85170
85337
|
init_sessionLabelsGetById();
|
|
85171
85338
|
init_operations();
|
|
85172
85339
|
init_tools();
|
|
85173
|
-
|
|
85340
|
+
args130 = {
|
|
85174
85341
|
request: SessionLabelGetByIdRequest$inboundSchema
|
|
85175
85342
|
};
|
|
85176
85343
|
tool$sessionLabelsGetById = {
|
|
85177
85344
|
name: "session-labels-get-by-id",
|
|
85178
85345
|
description: `Get Label By Id`,
|
|
85179
|
-
args:
|
|
85180
|
-
tool: async (client,
|
|
85181
|
-
const [result, apiCall] = await sessionLabelsGetById(client,
|
|
85346
|
+
args: args130,
|
|
85347
|
+
tool: async (client, args131, ctx) => {
|
|
85348
|
+
const [result, apiCall] = await sessionLabelsGetById(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85182
85349
|
if (!result.ok) {
|
|
85183
85350
|
return {
|
|
85184
85351
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85279,20 +85446,20 @@ var init_sessionLabelsList = __esm(() => {
|
|
|
85279
85446
|
});
|
|
85280
85447
|
|
|
85281
85448
|
// src/mcp-server/tools/sessionLabelsList.ts
|
|
85282
|
-
var
|
|
85449
|
+
var args131, tool$sessionLabelsList;
|
|
85283
85450
|
var init_sessionLabelsList2 = __esm(() => {
|
|
85284
85451
|
init_sessionLabelsList();
|
|
85285
85452
|
init_operations();
|
|
85286
85453
|
init_tools();
|
|
85287
|
-
|
|
85454
|
+
args131 = {
|
|
85288
85455
|
request: SessionLabelsListRequest$inboundSchema
|
|
85289
85456
|
};
|
|
85290
85457
|
tool$sessionLabelsList = {
|
|
85291
85458
|
name: "session-labels-list",
|
|
85292
85459
|
description: `Session Labels List`,
|
|
85293
|
-
args:
|
|
85294
|
-
tool: async (client,
|
|
85295
|
-
const [result, apiCall] = await sessionLabelsList(client,
|
|
85460
|
+
args: args131,
|
|
85461
|
+
tool: async (client, args132, ctx) => {
|
|
85462
|
+
const [result, apiCall] = await sessionLabelsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85296
85463
|
if (!result.ok) {
|
|
85297
85464
|
return {
|
|
85298
85465
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85387,20 +85554,20 @@ var init_sessionsFullSummaryGetById = __esm(() => {
|
|
|
85387
85554
|
});
|
|
85388
85555
|
|
|
85389
85556
|
// src/mcp-server/tools/sessionsFullSummaryGetById.ts
|
|
85390
|
-
var
|
|
85557
|
+
var args132, tool$sessionsFullSummaryGetById;
|
|
85391
85558
|
var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
85392
85559
|
init_sessionsFullSummaryGetById();
|
|
85393
85560
|
init_operations();
|
|
85394
85561
|
init_tools();
|
|
85395
|
-
|
|
85562
|
+
args132 = {
|
|
85396
85563
|
request: SessionFullSummaryGetByIdRequest$inboundSchema
|
|
85397
85564
|
};
|
|
85398
85565
|
tool$sessionsFullSummaryGetById = {
|
|
85399
85566
|
name: "sessions-full-summary-get-by-id",
|
|
85400
85567
|
description: `Get Full Session Summary By Id`,
|
|
85401
|
-
args:
|
|
85402
|
-
tool: async (client,
|
|
85403
|
-
const [result, apiCall] = await sessionsFullSummaryGetById(client,
|
|
85568
|
+
args: args132,
|
|
85569
|
+
tool: async (client, args133, ctx) => {
|
|
85570
|
+
const [result, apiCall] = await sessionsFullSummaryGetById(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85404
85571
|
if (!result.ok) {
|
|
85405
85572
|
return {
|
|
85406
85573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85495,20 +85662,20 @@ var init_sessionsGenerateSessionRecordingUrls = __esm(() => {
|
|
|
85495
85662
|
});
|
|
85496
85663
|
|
|
85497
85664
|
// src/mcp-server/tools/sessionsGenerateSessionRecordingUrls.ts
|
|
85498
|
-
var
|
|
85665
|
+
var args133, tool$sessionsGenerateSessionRecordingUrls;
|
|
85499
85666
|
var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
85500
85667
|
init_sessionsGenerateSessionRecordingUrls();
|
|
85501
85668
|
init_operations();
|
|
85502
85669
|
init_tools();
|
|
85503
|
-
|
|
85670
|
+
args133 = {
|
|
85504
85671
|
request: GenerateSessionRecordingUrlsRequest$inboundSchema
|
|
85505
85672
|
};
|
|
85506
85673
|
tool$sessionsGenerateSessionRecordingUrls = {
|
|
85507
85674
|
name: "sessions-generate-session-recording-urls",
|
|
85508
85675
|
description: `Generate Recording Urls`,
|
|
85509
|
-
args:
|
|
85510
|
-
tool: async (client,
|
|
85511
|
-
const [result, apiCall] = await sessionsGenerateSessionRecordingUrls(client,
|
|
85676
|
+
args: args133,
|
|
85677
|
+
tool: async (client, args134, ctx) => {
|
|
85678
|
+
const [result, apiCall] = await sessionsGenerateSessionRecordingUrls(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85512
85679
|
if (!result.ok) {
|
|
85513
85680
|
return {
|
|
85514
85681
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85603,20 +85770,20 @@ var init_sessionsGetById = __esm(() => {
|
|
|
85603
85770
|
});
|
|
85604
85771
|
|
|
85605
85772
|
// src/mcp-server/tools/sessionsGetById.ts
|
|
85606
|
-
var
|
|
85773
|
+
var args134, tool$sessionsGetById;
|
|
85607
85774
|
var init_sessionsGetById2 = __esm(() => {
|
|
85608
85775
|
init_sessionsGetById();
|
|
85609
85776
|
init_operations();
|
|
85610
85777
|
init_tools();
|
|
85611
|
-
|
|
85778
|
+
args134 = {
|
|
85612
85779
|
request: SessionGetByIdRequest$inboundSchema
|
|
85613
85780
|
};
|
|
85614
85781
|
tool$sessionsGetById = {
|
|
85615
85782
|
name: "sessions-get-by-id",
|
|
85616
85783
|
description: `Get A Single Session By Id`,
|
|
85617
|
-
args:
|
|
85618
|
-
tool: async (client,
|
|
85619
|
-
const [result, apiCall] = await sessionsGetById(client,
|
|
85784
|
+
args: args134,
|
|
85785
|
+
tool: async (client, args135, ctx) => {
|
|
85786
|
+
const [result, apiCall] = await sessionsGetById(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85620
85787
|
if (!result.ok) {
|
|
85621
85788
|
return {
|
|
85622
85789
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85711,20 +85878,20 @@ var init_sessionsLatencyGetById = __esm(() => {
|
|
|
85711
85878
|
});
|
|
85712
85879
|
|
|
85713
85880
|
// src/mcp-server/tools/sessionsLatencyGetById.ts
|
|
85714
|
-
var
|
|
85881
|
+
var args135, tool$sessionsLatencyGetById;
|
|
85715
85882
|
var init_sessionsLatencyGetById2 = __esm(() => {
|
|
85716
85883
|
init_sessionsLatencyGetById();
|
|
85717
85884
|
init_operations();
|
|
85718
85885
|
init_tools();
|
|
85719
|
-
|
|
85886
|
+
args135 = {
|
|
85720
85887
|
request: SessionLatencyGetByIdRequest$inboundSchema
|
|
85721
85888
|
};
|
|
85722
85889
|
tool$sessionsLatencyGetById = {
|
|
85723
85890
|
name: "sessions-latency-get-by-id",
|
|
85724
85891
|
description: `Inspect Latency For Session`,
|
|
85725
|
-
args:
|
|
85726
|
-
tool: async (client,
|
|
85727
|
-
const [result, apiCall] = await sessionsLatencyGetById(client,
|
|
85892
|
+
args: args135,
|
|
85893
|
+
tool: async (client, args136, ctx) => {
|
|
85894
|
+
const [result, apiCall] = await sessionsLatencyGetById(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85728
85895
|
if (!result.ok) {
|
|
85729
85896
|
return {
|
|
85730
85897
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85825,20 +85992,20 @@ var init_sessionsList = __esm(() => {
|
|
|
85825
85992
|
});
|
|
85826
85993
|
|
|
85827
85994
|
// src/mcp-server/tools/sessionsList.ts
|
|
85828
|
-
var
|
|
85995
|
+
var args136, tool$sessionsList;
|
|
85829
85996
|
var init_sessionsList2 = __esm(() => {
|
|
85830
85997
|
init_sessionsList();
|
|
85831
85998
|
init_operations();
|
|
85832
85999
|
init_tools();
|
|
85833
|
-
|
|
86000
|
+
args136 = {
|
|
85834
86001
|
request: SessionsListRequest$inboundSchema
|
|
85835
86002
|
};
|
|
85836
86003
|
tool$sessionsList = {
|
|
85837
86004
|
name: "sessions-list",
|
|
85838
86005
|
description: `Sessions List`,
|
|
85839
|
-
args:
|
|
85840
|
-
tool: async (client,
|
|
85841
|
-
const [result, apiCall] = await sessionsList(client,
|
|
86006
|
+
args: args136,
|
|
86007
|
+
tool: async (client, args137, ctx) => {
|
|
86008
|
+
const [result, apiCall] = await sessionsList(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85842
86009
|
if (!result.ok) {
|
|
85843
86010
|
return {
|
|
85844
86011
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85931,20 +86098,20 @@ var init_sessionsSessionRecordingStream = __esm(() => {
|
|
|
85931
86098
|
});
|
|
85932
86099
|
|
|
85933
86100
|
// src/mcp-server/tools/sessionsSessionRecordingStream.ts
|
|
85934
|
-
var
|
|
86101
|
+
var args137, tool$sessionsSessionRecordingStream;
|
|
85935
86102
|
var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
85936
86103
|
init_sessionsSessionRecordingStream();
|
|
85937
86104
|
init_operations();
|
|
85938
86105
|
init_tools();
|
|
85939
|
-
|
|
86106
|
+
args137 = {
|
|
85940
86107
|
request: SessionRecordingStreamRequest$inboundSchema
|
|
85941
86108
|
};
|
|
85942
86109
|
tool$sessionsSessionRecordingStream = {
|
|
85943
86110
|
name: "sessions-session-recording-stream",
|
|
85944
86111
|
description: `Stream Recording`,
|
|
85945
|
-
args:
|
|
85946
|
-
tool: async (client,
|
|
85947
|
-
const [result, apiCall] = await sessionsSessionRecordingStream(client,
|
|
86112
|
+
args: args137,
|
|
86113
|
+
tool: async (client, args138, ctx) => {
|
|
86114
|
+
const [result, apiCall] = await sessionsSessionRecordingStream(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85948
86115
|
if (!result.ok) {
|
|
85949
86116
|
return {
|
|
85950
86117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86039,12 +86206,12 @@ var init_sessionsTimelineGetById = __esm(() => {
|
|
|
86039
86206
|
});
|
|
86040
86207
|
|
|
86041
86208
|
// src/mcp-server/tools/sessionsTimelineGetById.ts
|
|
86042
|
-
var
|
|
86209
|
+
var args138, tool$sessionsTimelineGetById;
|
|
86043
86210
|
var init_sessionsTimelineGetById2 = __esm(() => {
|
|
86044
86211
|
init_sessionsTimelineGetById();
|
|
86045
86212
|
init_operations();
|
|
86046
86213
|
init_tools();
|
|
86047
|
-
|
|
86214
|
+
args138 = {
|
|
86048
86215
|
request: SessionTimelineGetByIdRequest$inboundSchema
|
|
86049
86216
|
};
|
|
86050
86217
|
tool$sessionsTimelineGetById = {
|
|
@@ -86052,9 +86219,9 @@ var init_sessionsTimelineGetById2 = __esm(() => {
|
|
|
86052
86219
|
description: `Get Session Timeline By Id
|
|
86053
86220
|
|
|
86054
86221
|
Consolidated, time-ordered timeline of a session's events.`,
|
|
86055
|
-
args:
|
|
86056
|
-
tool: async (client,
|
|
86057
|
-
const [result, apiCall] = await sessionsTimelineGetById(client,
|
|
86222
|
+
args: args138,
|
|
86223
|
+
tool: async (client, args139, ctx) => {
|
|
86224
|
+
const [result, apiCall] = await sessionsTimelineGetById(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86058
86225
|
if (!result.ok) {
|
|
86059
86226
|
return {
|
|
86060
86227
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86149,20 +86316,20 @@ var init_sessionsTranscriptGetById = __esm(() => {
|
|
|
86149
86316
|
});
|
|
86150
86317
|
|
|
86151
86318
|
// src/mcp-server/tools/sessionsTranscriptGetById.ts
|
|
86152
|
-
var
|
|
86319
|
+
var args139, tool$sessionsTranscriptGetById;
|
|
86153
86320
|
var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
86154
86321
|
init_sessionsTranscriptGetById();
|
|
86155
86322
|
init_operations();
|
|
86156
86323
|
init_tools();
|
|
86157
|
-
|
|
86324
|
+
args139 = {
|
|
86158
86325
|
request: SessionTranscriptGetByIdRequest$inboundSchema
|
|
86159
86326
|
};
|
|
86160
86327
|
tool$sessionsTranscriptGetById = {
|
|
86161
86328
|
name: "sessions-transcript-get-by-id",
|
|
86162
86329
|
description: `Get Session Transcript By Id`,
|
|
86163
|
-
args:
|
|
86164
|
-
tool: async (client,
|
|
86165
|
-
const [result, apiCall] = await sessionsTranscriptGetById(client,
|
|
86330
|
+
args: args139,
|
|
86331
|
+
tool: async (client, args140, ctx) => {
|
|
86332
|
+
const [result, apiCall] = await sessionsTranscriptGetById(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86166
86333
|
if (!result.ok) {
|
|
86167
86334
|
return {
|
|
86168
86335
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86340,20 +86507,20 @@ var init_takeoutsTakeoutsGetByJobId = __esm(() => {
|
|
|
86340
86507
|
});
|
|
86341
86508
|
|
|
86342
86509
|
// src/mcp-server/tools/takeoutsTakeoutsGetByJobId.ts
|
|
86343
|
-
var
|
|
86510
|
+
var args140, tool$takeoutsTakeoutsGetByJobId;
|
|
86344
86511
|
var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
86345
86512
|
init_takeoutsTakeoutsGetByJobId();
|
|
86346
86513
|
init_operations();
|
|
86347
86514
|
init_tools();
|
|
86348
|
-
|
|
86515
|
+
args140 = {
|
|
86349
86516
|
request: TakeoutsGetByJobIdRequest$inboundSchema
|
|
86350
86517
|
};
|
|
86351
86518
|
tool$takeoutsTakeoutsGetByJobId = {
|
|
86352
86519
|
name: "takeouts-takeouts-get-by-job-id",
|
|
86353
86520
|
description: `Get Takeout`,
|
|
86354
|
-
args:
|
|
86355
|
-
tool: async (client,
|
|
86356
|
-
const [result, apiCall] = await takeoutsTakeoutsGetByJobId(client,
|
|
86521
|
+
args: args140,
|
|
86522
|
+
tool: async (client, args141, ctx) => {
|
|
86523
|
+
const [result, apiCall] = await takeoutsTakeoutsGetByJobId(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86357
86524
|
if (!result.ok) {
|
|
86358
86525
|
return {
|
|
86359
86526
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86454,20 +86621,20 @@ var init_takeoutsTakeoutsGetFile = __esm(() => {
|
|
|
86454
86621
|
});
|
|
86455
86622
|
|
|
86456
86623
|
// src/mcp-server/tools/takeoutsTakeoutsGetFile.ts
|
|
86457
|
-
var
|
|
86624
|
+
var args141, tool$takeoutsTakeoutsGetFile;
|
|
86458
86625
|
var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
86459
86626
|
init_takeoutsTakeoutsGetFile();
|
|
86460
86627
|
init_operations();
|
|
86461
86628
|
init_tools();
|
|
86462
|
-
|
|
86629
|
+
args141 = {
|
|
86463
86630
|
request: TakeoutsGetFileRequest$inboundSchema
|
|
86464
86631
|
};
|
|
86465
86632
|
tool$takeoutsTakeoutsGetFile = {
|
|
86466
86633
|
name: "takeouts-takeouts-get-file",
|
|
86467
86634
|
description: `Get File`,
|
|
86468
|
-
args:
|
|
86469
|
-
tool: async (client,
|
|
86470
|
-
const [result, apiCall] = await takeoutsTakeoutsGetFile(client,
|
|
86635
|
+
args: args141,
|
|
86636
|
+
tool: async (client, args142, ctx) => {
|
|
86637
|
+
const [result, apiCall] = await takeoutsTakeoutsGetFile(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86471
86638
|
if (!result.ok) {
|
|
86472
86639
|
return {
|
|
86473
86640
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86556,12 +86723,12 @@ var init_toolsCreate = __esm(() => {
|
|
|
86556
86723
|
});
|
|
86557
86724
|
|
|
86558
86725
|
// src/mcp-server/tools/toolsCreate.ts
|
|
86559
|
-
var
|
|
86726
|
+
var args142, tool$toolsCreate;
|
|
86560
86727
|
var init_toolsCreate2 = __esm(() => {
|
|
86561
86728
|
init_toolsCreate();
|
|
86562
86729
|
init_components();
|
|
86563
86730
|
init_tools();
|
|
86564
|
-
|
|
86731
|
+
args142 = {
|
|
86565
86732
|
request: ToolCreateRequest$inboundSchema
|
|
86566
86733
|
};
|
|
86567
86734
|
tool$toolsCreate = {
|
|
@@ -86569,9 +86736,9 @@ var init_toolsCreate2 = __esm(() => {
|
|
|
86569
86736
|
description: `Create Tool
|
|
86570
86737
|
|
|
86571
86738
|
Create a new tool`,
|
|
86572
|
-
args:
|
|
86573
|
-
tool: async (client,
|
|
86574
|
-
const [result, apiCall] = await toolsCreate(client,
|
|
86739
|
+
args: args142,
|
|
86740
|
+
tool: async (client, args143, ctx) => {
|
|
86741
|
+
const [result, apiCall] = await toolsCreate(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86575
86742
|
if (!result.ok) {
|
|
86576
86743
|
return {
|
|
86577
86744
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86670,12 +86837,12 @@ var init_toolsDelete = __esm(() => {
|
|
|
86670
86837
|
});
|
|
86671
86838
|
|
|
86672
86839
|
// src/mcp-server/tools/toolsDelete.ts
|
|
86673
|
-
var
|
|
86840
|
+
var args143, tool$toolsDelete;
|
|
86674
86841
|
var init_toolsDelete2 = __esm(() => {
|
|
86675
86842
|
init_toolsDelete();
|
|
86676
86843
|
init_operations();
|
|
86677
86844
|
init_tools();
|
|
86678
|
-
|
|
86845
|
+
args143 = {
|
|
86679
86846
|
request: ToolDeleteRequest$inboundSchema
|
|
86680
86847
|
};
|
|
86681
86848
|
tool$toolsDelete = {
|
|
@@ -86683,9 +86850,9 @@ var init_toolsDelete2 = __esm(() => {
|
|
|
86683
86850
|
description: `Delete Tool
|
|
86684
86851
|
|
|
86685
86852
|
Delete a tool.`,
|
|
86686
|
-
args:
|
|
86687
|
-
tool: async (client,
|
|
86688
|
-
const [result, apiCall] = await toolsDelete(client,
|
|
86853
|
+
args: args143,
|
|
86854
|
+
tool: async (client, args144, ctx) => {
|
|
86855
|
+
const [result, apiCall] = await toolsDelete(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86689
86856
|
if (!result.ok) {
|
|
86690
86857
|
return {
|
|
86691
86858
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86780,12 +86947,12 @@ var init_toolsGetByName = __esm(() => {
|
|
|
86780
86947
|
});
|
|
86781
86948
|
|
|
86782
86949
|
// src/mcp-server/tools/toolsGetByName.ts
|
|
86783
|
-
var
|
|
86950
|
+
var args144, tool$toolsGetByName;
|
|
86784
86951
|
var init_toolsGetByName2 = __esm(() => {
|
|
86785
86952
|
init_toolsGetByName();
|
|
86786
86953
|
init_operations();
|
|
86787
86954
|
init_tools();
|
|
86788
|
-
|
|
86955
|
+
args144 = {
|
|
86789
86956
|
request: ToolGetByNameRequest$inboundSchema
|
|
86790
86957
|
};
|
|
86791
86958
|
tool$toolsGetByName = {
|
|
@@ -86793,9 +86960,9 @@ var init_toolsGetByName2 = __esm(() => {
|
|
|
86793
86960
|
description: `Tool Info
|
|
86794
86961
|
|
|
86795
86962
|
Get the details of a specific tool`,
|
|
86796
|
-
args:
|
|
86797
|
-
tool: async (client,
|
|
86798
|
-
const [result, apiCall] = await toolsGetByName(client,
|
|
86963
|
+
args: args144,
|
|
86964
|
+
tool: async (client, args145, ctx) => {
|
|
86965
|
+
const [result, apiCall] = await toolsGetByName(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86799
86966
|
if (!result.ok) {
|
|
86800
86967
|
return {
|
|
86801
86968
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86896,12 +87063,12 @@ var init_toolsList = __esm(() => {
|
|
|
86896
87063
|
});
|
|
86897
87064
|
|
|
86898
87065
|
// src/mcp-server/tools/toolsList.ts
|
|
86899
|
-
var
|
|
87066
|
+
var args145, tool$toolsList;
|
|
86900
87067
|
var init_toolsList2 = __esm(() => {
|
|
86901
87068
|
init_toolsList();
|
|
86902
87069
|
init_operations();
|
|
86903
87070
|
init_tools();
|
|
86904
|
-
|
|
87071
|
+
args145 = {
|
|
86905
87072
|
request: ToolListRequest$inboundSchema
|
|
86906
87073
|
};
|
|
86907
87074
|
tool$toolsList = {
|
|
@@ -86909,9 +87076,9 @@ var init_toolsList2 = __esm(() => {
|
|
|
86909
87076
|
description: `Tool List
|
|
86910
87077
|
|
|
86911
87078
|
List the existing tools`,
|
|
86912
|
-
args:
|
|
86913
|
-
tool: async (client,
|
|
86914
|
-
const [result, apiCall] = await toolsList(client,
|
|
87079
|
+
args: args145,
|
|
87080
|
+
tool: async (client, args146, ctx) => {
|
|
87081
|
+
const [result, apiCall] = await toolsList(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86915
87082
|
if (!result.ok) {
|
|
86916
87083
|
return {
|
|
86917
87084
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87012,12 +87179,12 @@ var init_toolsToolHistory = __esm(() => {
|
|
|
87012
87179
|
});
|
|
87013
87180
|
|
|
87014
87181
|
// src/mcp-server/tools/toolsToolHistory.ts
|
|
87015
|
-
var
|
|
87182
|
+
var args146, tool$toolsToolHistory;
|
|
87016
87183
|
var init_toolsToolHistory2 = __esm(() => {
|
|
87017
87184
|
init_toolsToolHistory();
|
|
87018
87185
|
init_operations();
|
|
87019
87186
|
init_tools();
|
|
87020
|
-
|
|
87187
|
+
args146 = {
|
|
87021
87188
|
request: ToolHistoryRequest$inboundSchema
|
|
87022
87189
|
};
|
|
87023
87190
|
tool$toolsToolHistory = {
|
|
@@ -87025,9 +87192,9 @@ var init_toolsToolHistory2 = __esm(() => {
|
|
|
87025
87192
|
description: `Tool History
|
|
87026
87193
|
|
|
87027
87194
|
Get version history for a tool.`,
|
|
87028
|
-
args:
|
|
87029
|
-
tool: async (client,
|
|
87030
|
-
const [result, apiCall] = await toolsToolHistory(client,
|
|
87195
|
+
args: args146,
|
|
87196
|
+
tool: async (client, args147, ctx) => {
|
|
87197
|
+
const [result, apiCall] = await toolsToolHistory(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87031
87198
|
if (!result.ok) {
|
|
87032
87199
|
return {
|
|
87033
87200
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87116,12 +87283,12 @@ var init_toolsUpdate = __esm(() => {
|
|
|
87116
87283
|
});
|
|
87117
87284
|
|
|
87118
87285
|
// src/mcp-server/tools/toolsUpdate.ts
|
|
87119
|
-
var
|
|
87286
|
+
var args147, tool$toolsUpdate;
|
|
87120
87287
|
var init_toolsUpdate2 = __esm(() => {
|
|
87121
87288
|
init_toolsUpdate();
|
|
87122
87289
|
init_components();
|
|
87123
87290
|
init_tools();
|
|
87124
|
-
|
|
87291
|
+
args147 = {
|
|
87125
87292
|
request: ToolUpdateRequest$inboundSchema
|
|
87126
87293
|
};
|
|
87127
87294
|
tool$toolsUpdate = {
|
|
@@ -87129,9 +87296,9 @@ var init_toolsUpdate2 = __esm(() => {
|
|
|
87129
87296
|
description: `Update Tool
|
|
87130
87297
|
|
|
87131
87298
|
Update an existing tool`,
|
|
87132
|
-
args:
|
|
87133
|
-
tool: async (client,
|
|
87134
|
-
const [result, apiCall] = await toolsUpdate(client,
|
|
87299
|
+
args: args147,
|
|
87300
|
+
tool: async (client, args148, ctx) => {
|
|
87301
|
+
const [result, apiCall] = await toolsUpdate(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87135
87302
|
if (!result.ok) {
|
|
87136
87303
|
return {
|
|
87137
87304
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87220,12 +87387,12 @@ var init_usersCreate = __esm(() => {
|
|
|
87220
87387
|
});
|
|
87221
87388
|
|
|
87222
87389
|
// src/mcp-server/tools/usersCreate.ts
|
|
87223
|
-
var
|
|
87390
|
+
var args148, tool$usersCreate;
|
|
87224
87391
|
var init_usersCreate2 = __esm(() => {
|
|
87225
87392
|
init_usersCreate();
|
|
87226
87393
|
init_components();
|
|
87227
87394
|
init_tools();
|
|
87228
|
-
|
|
87395
|
+
args148 = {
|
|
87229
87396
|
request: UserCreateRequest$inboundSchema
|
|
87230
87397
|
};
|
|
87231
87398
|
tool$usersCreate = {
|
|
@@ -87233,9 +87400,9 @@ var init_usersCreate2 = __esm(() => {
|
|
|
87233
87400
|
description: `Create User
|
|
87234
87401
|
|
|
87235
87402
|
Create a new user.`,
|
|
87236
|
-
args:
|
|
87237
|
-
tool: async (client,
|
|
87238
|
-
const [result, apiCall] = await usersCreate(client,
|
|
87403
|
+
args: args148,
|
|
87404
|
+
tool: async (client, args149, ctx) => {
|
|
87405
|
+
const [result, apiCall] = await usersCreate(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87239
87406
|
if (!result.ok) {
|
|
87240
87407
|
return {
|
|
87241
87408
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87325,12 +87492,12 @@ var init_usersDelete = __esm(() => {
|
|
|
87325
87492
|
});
|
|
87326
87493
|
|
|
87327
87494
|
// src/mcp-server/tools/usersDelete.ts
|
|
87328
|
-
var
|
|
87495
|
+
var args149, tool$usersDelete;
|
|
87329
87496
|
var init_usersDelete2 = __esm(() => {
|
|
87330
87497
|
init_usersDelete();
|
|
87331
87498
|
init_components();
|
|
87332
87499
|
init_tools();
|
|
87333
|
-
|
|
87500
|
+
args149 = {
|
|
87334
87501
|
request: UserDeleteRequest$inboundSchema
|
|
87335
87502
|
};
|
|
87336
87503
|
tool$usersDelete = {
|
|
@@ -87338,9 +87505,9 @@ var init_usersDelete2 = __esm(() => {
|
|
|
87338
87505
|
description: `Delete User
|
|
87339
87506
|
|
|
87340
87507
|
Delete a user.`,
|
|
87341
|
-
args:
|
|
87342
|
-
tool: async (client,
|
|
87343
|
-
const [result, apiCall] = await usersDelete(client,
|
|
87508
|
+
args: args149,
|
|
87509
|
+
tool: async (client, args150, ctx) => {
|
|
87510
|
+
const [result, apiCall] = await usersDelete(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87344
87511
|
if (!result.ok) {
|
|
87345
87512
|
return {
|
|
87346
87513
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87441,12 +87608,12 @@ var init_usersList = __esm(() => {
|
|
|
87441
87608
|
});
|
|
87442
87609
|
|
|
87443
87610
|
// src/mcp-server/tools/usersList.ts
|
|
87444
|
-
var
|
|
87611
|
+
var args150, tool$usersList;
|
|
87445
87612
|
var init_usersList2 = __esm(() => {
|
|
87446
87613
|
init_usersList();
|
|
87447
87614
|
init_operations();
|
|
87448
87615
|
init_tools();
|
|
87449
|
-
|
|
87616
|
+
args150 = {
|
|
87450
87617
|
request: UsersListRequest$inboundSchema
|
|
87451
87618
|
};
|
|
87452
87619
|
tool$usersList = {
|
|
@@ -87454,9 +87621,9 @@ var init_usersList2 = __esm(() => {
|
|
|
87454
87621
|
description: `List Users
|
|
87455
87622
|
|
|
87456
87623
|
List the existing users.`,
|
|
87457
|
-
args:
|
|
87458
|
-
tool: async (client,
|
|
87459
|
-
const [result, apiCall] = await usersList(client,
|
|
87624
|
+
args: args150,
|
|
87625
|
+
tool: async (client, args151, ctx) => {
|
|
87626
|
+
const [result, apiCall] = await usersList(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87460
87627
|
if (!result.ok) {
|
|
87461
87628
|
return {
|
|
87462
87629
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87545,12 +87712,12 @@ var init_usersUpdate = __esm(() => {
|
|
|
87545
87712
|
});
|
|
87546
87713
|
|
|
87547
87714
|
// src/mcp-server/tools/usersUpdate.ts
|
|
87548
|
-
var
|
|
87715
|
+
var args151, tool$usersUpdate;
|
|
87549
87716
|
var init_usersUpdate2 = __esm(() => {
|
|
87550
87717
|
init_usersUpdate();
|
|
87551
87718
|
init_components();
|
|
87552
87719
|
init_tools();
|
|
87553
|
-
|
|
87720
|
+
args151 = {
|
|
87554
87721
|
request: UserUpdateRequest$inboundSchema
|
|
87555
87722
|
};
|
|
87556
87723
|
tool$usersUpdate = {
|
|
@@ -87558,9 +87725,9 @@ var init_usersUpdate2 = __esm(() => {
|
|
|
87558
87725
|
description: `Update User
|
|
87559
87726
|
|
|
87560
87727
|
Update an existing user.`,
|
|
87561
|
-
args:
|
|
87562
|
-
tool: async (client,
|
|
87563
|
-
const [result, apiCall] = await usersUpdate(client,
|
|
87728
|
+
args: args151,
|
|
87729
|
+
tool: async (client, args152, ctx) => {
|
|
87730
|
+
const [result, apiCall] = await usersUpdate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87564
87731
|
if (!result.ok) {
|
|
87565
87732
|
return {
|
|
87566
87733
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87741,12 +87908,12 @@ var init_usersUsersGetByEmail = __esm(() => {
|
|
|
87741
87908
|
});
|
|
87742
87909
|
|
|
87743
87910
|
// src/mcp-server/tools/usersUsersGetByEmail.ts
|
|
87744
|
-
var
|
|
87911
|
+
var args152, tool$usersUsersGetByEmail;
|
|
87745
87912
|
var init_usersUsersGetByEmail2 = __esm(() => {
|
|
87746
87913
|
init_usersUsersGetByEmail();
|
|
87747
87914
|
init_operations();
|
|
87748
87915
|
init_tools();
|
|
87749
|
-
|
|
87916
|
+
args152 = {
|
|
87750
87917
|
request: UsersGetByEmailRequest$inboundSchema
|
|
87751
87918
|
};
|
|
87752
87919
|
tool$usersUsersGetByEmail = {
|
|
@@ -87754,9 +87921,9 @@ var init_usersUsersGetByEmail2 = __esm(() => {
|
|
|
87754
87921
|
description: `Get User
|
|
87755
87922
|
|
|
87756
87923
|
Fetch a given user.`,
|
|
87757
|
-
args:
|
|
87758
|
-
tool: async (client,
|
|
87759
|
-
const [result, apiCall] = await usersUsersGetByEmail(client,
|
|
87924
|
+
args: args152,
|
|
87925
|
+
tool: async (client, args153, ctx) => {
|
|
87926
|
+
const [result, apiCall] = await usersUsersGetByEmail(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87760
87927
|
if (!result.ok) {
|
|
87761
87928
|
return {
|
|
87762
87929
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87855,12 +88022,12 @@ var init_usersUsersSendEmail = __esm(() => {
|
|
|
87855
88022
|
});
|
|
87856
88023
|
|
|
87857
88024
|
// src/mcp-server/tools/usersUsersSendEmail.ts
|
|
87858
|
-
var
|
|
88025
|
+
var args153, tool$usersUsersSendEmail;
|
|
87859
88026
|
var init_usersUsersSendEmail2 = __esm(() => {
|
|
87860
88027
|
init_usersUsersSendEmail();
|
|
87861
88028
|
init_operations();
|
|
87862
88029
|
init_tools();
|
|
87863
|
-
|
|
88030
|
+
args153 = {
|
|
87864
88031
|
request: UsersSendEmailRequest$inboundSchema
|
|
87865
88032
|
};
|
|
87866
88033
|
tool$usersUsersSendEmail = {
|
|
@@ -87868,9 +88035,9 @@ var init_usersUsersSendEmail2 = __esm(() => {
|
|
|
87868
88035
|
description: `Send User Email
|
|
87869
88036
|
|
|
87870
88037
|
Send a welcome email to a user.`,
|
|
87871
|
-
args:
|
|
87872
|
-
tool: async (client,
|
|
87873
|
-
const [result, apiCall] = await usersUsersSendEmail(client,
|
|
88038
|
+
args: args153,
|
|
88039
|
+
tool: async (client, args154, ctx) => {
|
|
88040
|
+
const [result, apiCall] = await usersUsersSendEmail(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87874
88041
|
if (!result.ok) {
|
|
87875
88042
|
return {
|
|
87876
88043
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87959,12 +88126,12 @@ var init_voiceGroupsCreate = __esm(() => {
|
|
|
87959
88126
|
});
|
|
87960
88127
|
|
|
87961
88128
|
// src/mcp-server/tools/voiceGroupsCreate.ts
|
|
87962
|
-
var
|
|
88129
|
+
var args154, tool$voiceGroupsCreate;
|
|
87963
88130
|
var init_voiceGroupsCreate2 = __esm(() => {
|
|
87964
88131
|
init_voiceGroupsCreate();
|
|
87965
88132
|
init_components();
|
|
87966
88133
|
init_tools();
|
|
87967
|
-
|
|
88134
|
+
args154 = {
|
|
87968
88135
|
request: VoiceGroupCreateRequest$inboundSchema
|
|
87969
88136
|
};
|
|
87970
88137
|
tool$voiceGroupsCreate = {
|
|
@@ -87972,9 +88139,9 @@ var init_voiceGroupsCreate2 = __esm(() => {
|
|
|
87972
88139
|
description: `Create Voice Group
|
|
87973
88140
|
|
|
87974
88141
|
Create a new voice group.`,
|
|
87975
|
-
args:
|
|
87976
|
-
tool: async (client,
|
|
87977
|
-
const [result, apiCall] = await voiceGroupsCreate(client,
|
|
88142
|
+
args: args154,
|
|
88143
|
+
tool: async (client, args155, ctx) => {
|
|
88144
|
+
const [result, apiCall] = await voiceGroupsCreate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87978
88145
|
if (!result.ok) {
|
|
87979
88146
|
return {
|
|
87980
88147
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88073,12 +88240,12 @@ var init_voiceGroupsDelete = __esm(() => {
|
|
|
88073
88240
|
});
|
|
88074
88241
|
|
|
88075
88242
|
// src/mcp-server/tools/voiceGroupsDelete.ts
|
|
88076
|
-
var
|
|
88243
|
+
var args155, tool$voiceGroupsDelete;
|
|
88077
88244
|
var init_voiceGroupsDelete2 = __esm(() => {
|
|
88078
88245
|
init_voiceGroupsDelete();
|
|
88079
88246
|
init_operations();
|
|
88080
88247
|
init_tools();
|
|
88081
|
-
|
|
88248
|
+
args155 = {
|
|
88082
88249
|
request: VoiceGroupsDeleteRequest$inboundSchema
|
|
88083
88250
|
};
|
|
88084
88251
|
tool$voiceGroupsDelete = {
|
|
@@ -88086,9 +88253,9 @@ var init_voiceGroupsDelete2 = __esm(() => {
|
|
|
88086
88253
|
description: `Delete Voice Group
|
|
88087
88254
|
|
|
88088
88255
|
Delete a voice group.`,
|
|
88089
|
-
args:
|
|
88090
|
-
tool: async (client,
|
|
88091
|
-
const [result, apiCall] = await voiceGroupsDelete(client,
|
|
88256
|
+
args: args155,
|
|
88257
|
+
tool: async (client, args156, ctx) => {
|
|
88258
|
+
const [result, apiCall] = await voiceGroupsDelete(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88092
88259
|
if (!result.ok) {
|
|
88093
88260
|
return {
|
|
88094
88261
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88183,12 +88350,12 @@ var init_voiceGroupsGetById = __esm(() => {
|
|
|
88183
88350
|
});
|
|
88184
88351
|
|
|
88185
88352
|
// src/mcp-server/tools/voiceGroupsGetById.ts
|
|
88186
|
-
var
|
|
88353
|
+
var args156, tool$voiceGroupsGetById;
|
|
88187
88354
|
var init_voiceGroupsGetById2 = __esm(() => {
|
|
88188
88355
|
init_voiceGroupsGetById();
|
|
88189
88356
|
init_operations();
|
|
88190
88357
|
init_tools();
|
|
88191
|
-
|
|
88358
|
+
args156 = {
|
|
88192
88359
|
request: VoiceGroupsGetByIdRequest$inboundSchema
|
|
88193
88360
|
};
|
|
88194
88361
|
tool$voiceGroupsGetById = {
|
|
@@ -88196,9 +88363,9 @@ var init_voiceGroupsGetById2 = __esm(() => {
|
|
|
88196
88363
|
description: `Get Voice Group
|
|
88197
88364
|
|
|
88198
88365
|
Fetch a given voice group.`,
|
|
88199
|
-
args:
|
|
88200
|
-
tool: async (client,
|
|
88201
|
-
const [result, apiCall] = await voiceGroupsGetById(client,
|
|
88366
|
+
args: args156,
|
|
88367
|
+
tool: async (client, args157, ctx) => {
|
|
88368
|
+
const [result, apiCall] = await voiceGroupsGetById(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88202
88369
|
if (!result.ok) {
|
|
88203
88370
|
return {
|
|
88204
88371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88299,12 +88466,12 @@ var init_voiceGroupsList = __esm(() => {
|
|
|
88299
88466
|
});
|
|
88300
88467
|
|
|
88301
88468
|
// src/mcp-server/tools/voiceGroupsList.ts
|
|
88302
|
-
var
|
|
88469
|
+
var args157, tool$voiceGroupsList;
|
|
88303
88470
|
var init_voiceGroupsList2 = __esm(() => {
|
|
88304
88471
|
init_voiceGroupsList();
|
|
88305
88472
|
init_operations();
|
|
88306
88473
|
init_tools();
|
|
88307
|
-
|
|
88474
|
+
args157 = {
|
|
88308
88475
|
request: VoiceGroupsListRequest$inboundSchema
|
|
88309
88476
|
};
|
|
88310
88477
|
tool$voiceGroupsList = {
|
|
@@ -88312,9 +88479,9 @@ var init_voiceGroupsList2 = __esm(() => {
|
|
|
88312
88479
|
description: `List Voice Groups
|
|
88313
88480
|
|
|
88314
88481
|
Fetch voice groups.`,
|
|
88315
|
-
args:
|
|
88316
|
-
tool: async (client,
|
|
88317
|
-
const [result, apiCall] = await voiceGroupsList(client,
|
|
88482
|
+
args: args157,
|
|
88483
|
+
tool: async (client, args158, ctx) => {
|
|
88484
|
+
const [result, apiCall] = await voiceGroupsList(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88318
88485
|
if (!result.ok) {
|
|
88319
88486
|
return {
|
|
88320
88487
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88403,12 +88570,12 @@ var init_voiceGroupsUpdate = __esm(() => {
|
|
|
88403
88570
|
});
|
|
88404
88571
|
|
|
88405
88572
|
// src/mcp-server/tools/voiceGroupsUpdate.ts
|
|
88406
|
-
var
|
|
88573
|
+
var args158, tool$voiceGroupsUpdate;
|
|
88407
88574
|
var init_voiceGroupsUpdate2 = __esm(() => {
|
|
88408
88575
|
init_voiceGroupsUpdate();
|
|
88409
88576
|
init_components();
|
|
88410
88577
|
init_tools();
|
|
88411
|
-
|
|
88578
|
+
args158 = {
|
|
88412
88579
|
request: VoiceGroupUpdateRequest$inboundSchema
|
|
88413
88580
|
};
|
|
88414
88581
|
tool$voiceGroupsUpdate = {
|
|
@@ -88416,9 +88583,9 @@ var init_voiceGroupsUpdate2 = __esm(() => {
|
|
|
88416
88583
|
description: `Update Voice Group
|
|
88417
88584
|
|
|
88418
88585
|
Update an existing voice group`,
|
|
88419
|
-
args:
|
|
88420
|
-
tool: async (client,
|
|
88421
|
-
const [result, apiCall] = await voiceGroupsUpdate(client,
|
|
88586
|
+
args: args158,
|
|
88587
|
+
tool: async (client, args159, ctx) => {
|
|
88588
|
+
const [result, apiCall] = await voiceGroupsUpdate(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88422
88589
|
if (!result.ok) {
|
|
88423
88590
|
return {
|
|
88424
88591
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88508,12 +88675,12 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample = __esm(() => {
|
|
|
88508
88675
|
});
|
|
88509
88676
|
|
|
88510
88677
|
// src/mcp-server/tools/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
88511
|
-
var
|
|
88678
|
+
var args159, tool$voiceGroupsVoiceGroupsCreateVoiceSample;
|
|
88512
88679
|
var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
88513
88680
|
init_voiceGroupsVoiceGroupsCreateVoiceSample();
|
|
88514
88681
|
init_components();
|
|
88515
88682
|
init_tools();
|
|
88516
|
-
|
|
88683
|
+
args159 = {
|
|
88517
88684
|
request: VoiceSampleCreateRequest$inboundSchema
|
|
88518
88685
|
};
|
|
88519
88686
|
tool$voiceGroupsVoiceGroupsCreateVoiceSample = {
|
|
@@ -88521,9 +88688,9 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
|
88521
88688
|
description: `Create Voice Sample
|
|
88522
88689
|
|
|
88523
88690
|
Generate voice sample.`,
|
|
88524
|
-
args:
|
|
88525
|
-
tool: async (client,
|
|
88526
|
-
const [result, apiCall] = await voiceGroupsVoiceGroupsCreateVoiceSample(client,
|
|
88691
|
+
args: args159,
|
|
88692
|
+
tool: async (client, args160, ctx) => {
|
|
88693
|
+
const [result, apiCall] = await voiceGroupsVoiceGroupsCreateVoiceSample(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88527
88694
|
if (!result.ok) {
|
|
88528
88695
|
return {
|
|
88529
88696
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88540,7 +88707,7 @@ Generate voice sample.`,
|
|
|
88540
88707
|
function createMCPServer(deps) {
|
|
88541
88708
|
const server = new McpServer({
|
|
88542
88709
|
name: "SyllableSDK",
|
|
88543
|
-
version: "1.0.59
|
|
88710
|
+
version: "1.0.59"
|
|
88544
88711
|
});
|
|
88545
88712
|
const client = new SyllableSDKCore({
|
|
88546
88713
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -90108,7 +90275,7 @@ var routes = ln({
|
|
|
90108
90275
|
var app = _e(routes, {
|
|
90109
90276
|
name: "mcp",
|
|
90110
90277
|
versionInfo: {
|
|
90111
|
-
currentVersion: "1.0.59
|
|
90278
|
+
currentVersion: "1.0.59"
|
|
90112
90279
|
}
|
|
90113
90280
|
});
|
|
90114
90281
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -90116,5 +90283,5 @@ export {
|
|
|
90116
90283
|
app
|
|
90117
90284
|
};
|
|
90118
90285
|
|
|
90119
|
-
//# debugId=
|
|
90286
|
+
//# debugId=027680C96221F68C64756E2164756E21
|
|
90120
90287
|
//# sourceMappingURL=mcp-server.js.map
|