@voiceflow/dtos-interact 1.26.2 → 1.27.0
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/build/cjs/trace/any.dto.d.ts +35 -0
- package/build/cjs/trace/any.dto.d.ts.map +1 -1
- package/build/cjs/trace/debug.dto.d.ts +68 -0
- package/build/cjs/trace/debug.dto.d.ts.map +1 -1
- package/build/cjs/trace/debug.dto.js +9 -1
- package/build/cjs/trace/debug.dto.js.map +1 -1
- package/build/esm/trace/any.dto.d.ts +35 -0
- package/build/esm/trace/any.dto.d.ts.map +1 -1
- package/build/esm/trace/debug.dto.d.ts +68 -0
- package/build/esm/trace/debug.dto.d.ts.map +1 -1
- package/build/esm/trace/debug.dto.js +8 -0
- package/build/esm/trace/debug.dto.js.map +1 -1
- package/package.json +2 -2
|
@@ -1210,6 +1210,21 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1210
1210
|
diagramID: string;
|
|
1211
1211
|
nodeID: string;
|
|
1212
1212
|
integrationToolName: string;
|
|
1213
|
+
}>, z.ZodObject<{
|
|
1214
|
+
type: z.ZodLiteral<"mcp-integration-tool">;
|
|
1215
|
+
nodeID: z.ZodString;
|
|
1216
|
+
diagramID: z.ZodString;
|
|
1217
|
+
mcpToolName: z.ZodString;
|
|
1218
|
+
}, "strip", z.ZodTypeAny, {
|
|
1219
|
+
type: "mcp-integration-tool";
|
|
1220
|
+
diagramID: string;
|
|
1221
|
+
nodeID: string;
|
|
1222
|
+
mcpToolName: string;
|
|
1223
|
+
}, {
|
|
1224
|
+
type: "mcp-integration-tool";
|
|
1225
|
+
diagramID: string;
|
|
1226
|
+
nodeID: string;
|
|
1227
|
+
mcpToolName: string;
|
|
1213
1228
|
}>]>>;
|
|
1214
1229
|
type: z.ZodOptional<z.ZodString>;
|
|
1215
1230
|
level: z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -1245,6 +1260,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1245
1260
|
diagramID: string;
|
|
1246
1261
|
nodeID: string;
|
|
1247
1262
|
integrationToolName: string;
|
|
1263
|
+
} | {
|
|
1264
|
+
type: "mcp-integration-tool";
|
|
1265
|
+
diagramID: string;
|
|
1266
|
+
nodeID: string;
|
|
1267
|
+
mcpToolName: string;
|
|
1248
1268
|
} | {
|
|
1249
1269
|
type: "function";
|
|
1250
1270
|
diagramID: string;
|
|
@@ -1282,6 +1302,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1282
1302
|
diagramID: string;
|
|
1283
1303
|
nodeID: string;
|
|
1284
1304
|
integrationToolName: string;
|
|
1305
|
+
} | {
|
|
1306
|
+
type: "mcp-integration-tool";
|
|
1307
|
+
diagramID: string;
|
|
1308
|
+
nodeID: string;
|
|
1309
|
+
mcpToolName: string;
|
|
1285
1310
|
} | {
|
|
1286
1311
|
type: "function";
|
|
1287
1312
|
diagramID: string;
|
|
@@ -1322,6 +1347,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1322
1347
|
diagramID: string;
|
|
1323
1348
|
nodeID: string;
|
|
1324
1349
|
integrationToolName: string;
|
|
1350
|
+
} | {
|
|
1351
|
+
type: "mcp-integration-tool";
|
|
1352
|
+
diagramID: string;
|
|
1353
|
+
nodeID: string;
|
|
1354
|
+
mcpToolName: string;
|
|
1325
1355
|
} | {
|
|
1326
1356
|
type: "function";
|
|
1327
1357
|
diagramID: string;
|
|
@@ -1372,6 +1402,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1372
1402
|
diagramID: string;
|
|
1373
1403
|
nodeID: string;
|
|
1374
1404
|
integrationToolName: string;
|
|
1405
|
+
} | {
|
|
1406
|
+
type: "mcp-integration-tool";
|
|
1407
|
+
diagramID: string;
|
|
1408
|
+
nodeID: string;
|
|
1409
|
+
mcpToolName: string;
|
|
1375
1410
|
} | {
|
|
1376
1411
|
type: "function";
|
|
1377
1412
|
diagramID: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"any.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/any.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"any.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/any.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsBtB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -8,6 +8,7 @@ export declare const DebugTraceRefType: {
|
|
|
8
8
|
readonly FUNCTION: "function";
|
|
9
9
|
readonly API_TOOL: "api-tool";
|
|
10
10
|
readonly INTEGRATION_TOOL: "integration-tool";
|
|
11
|
+
readonly MCP_INTEGRATION_TOOL: "mcp-integration-tool";
|
|
11
12
|
};
|
|
12
13
|
export type DebugTraceRefType = Enum<typeof DebugTraceRefType>;
|
|
13
14
|
export declare const DebugTraceLevel: {
|
|
@@ -86,6 +87,23 @@ export declare const DebugTraceIntegrationToolRefDTO: z.ZodObject<{
|
|
|
86
87
|
integrationToolName: string;
|
|
87
88
|
}>;
|
|
88
89
|
export type DebugTraceIntegrationToolRef = z.infer<typeof DebugTraceIntegrationToolRefDTO>;
|
|
90
|
+
export declare const DebugTraceMcpIntegrationToolRefDTO: z.ZodObject<{
|
|
91
|
+
type: z.ZodLiteral<"mcp-integration-tool">;
|
|
92
|
+
nodeID: z.ZodString;
|
|
93
|
+
diagramID: z.ZodString;
|
|
94
|
+
mcpToolName: z.ZodString;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
type: "mcp-integration-tool";
|
|
97
|
+
diagramID: string;
|
|
98
|
+
nodeID: string;
|
|
99
|
+
mcpToolName: string;
|
|
100
|
+
}, {
|
|
101
|
+
type: "mcp-integration-tool";
|
|
102
|
+
diagramID: string;
|
|
103
|
+
nodeID: string;
|
|
104
|
+
mcpToolName: string;
|
|
105
|
+
}>;
|
|
106
|
+
export type DebugTraceMcpIntegrationToolRef = z.infer<typeof DebugTraceMcpIntegrationToolRefDTO>;
|
|
89
107
|
export declare const DebugTraceFunctionRefDTO: z.ZodObject<{
|
|
90
108
|
type: z.ZodLiteral<"function">;
|
|
91
109
|
nodeID: z.ZodString;
|
|
@@ -210,6 +228,21 @@ export declare const DebugTraceRefDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
210
228
|
diagramID: string;
|
|
211
229
|
nodeID: string;
|
|
212
230
|
integrationToolName: string;
|
|
231
|
+
}>, z.ZodObject<{
|
|
232
|
+
type: z.ZodLiteral<"mcp-integration-tool">;
|
|
233
|
+
nodeID: z.ZodString;
|
|
234
|
+
diagramID: z.ZodString;
|
|
235
|
+
mcpToolName: z.ZodString;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
type: "mcp-integration-tool";
|
|
238
|
+
diagramID: string;
|
|
239
|
+
nodeID: string;
|
|
240
|
+
mcpToolName: string;
|
|
241
|
+
}, {
|
|
242
|
+
type: "mcp-integration-tool";
|
|
243
|
+
diagramID: string;
|
|
244
|
+
nodeID: string;
|
|
245
|
+
mcpToolName: string;
|
|
213
246
|
}>]>;
|
|
214
247
|
export type DebugTraceRef = z.infer<typeof DebugTraceRefDTO>;
|
|
215
248
|
export declare const DebugTraceDTO: z.ZodObject<{
|
|
@@ -338,6 +371,21 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
338
371
|
diagramID: string;
|
|
339
372
|
nodeID: string;
|
|
340
373
|
integrationToolName: string;
|
|
374
|
+
}>, z.ZodObject<{
|
|
375
|
+
type: z.ZodLiteral<"mcp-integration-tool">;
|
|
376
|
+
nodeID: z.ZodString;
|
|
377
|
+
diagramID: z.ZodString;
|
|
378
|
+
mcpToolName: z.ZodString;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
type: "mcp-integration-tool";
|
|
381
|
+
diagramID: string;
|
|
382
|
+
nodeID: string;
|
|
383
|
+
mcpToolName: string;
|
|
384
|
+
}, {
|
|
385
|
+
type: "mcp-integration-tool";
|
|
386
|
+
diagramID: string;
|
|
387
|
+
nodeID: string;
|
|
388
|
+
mcpToolName: string;
|
|
341
389
|
}>]>>;
|
|
342
390
|
type: z.ZodOptional<z.ZodString>;
|
|
343
391
|
level: z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -373,6 +421,11 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
373
421
|
diagramID: string;
|
|
374
422
|
nodeID: string;
|
|
375
423
|
integrationToolName: string;
|
|
424
|
+
} | {
|
|
425
|
+
type: "mcp-integration-tool";
|
|
426
|
+
diagramID: string;
|
|
427
|
+
nodeID: string;
|
|
428
|
+
mcpToolName: string;
|
|
376
429
|
} | {
|
|
377
430
|
type: "function";
|
|
378
431
|
diagramID: string;
|
|
@@ -410,6 +463,11 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
410
463
|
diagramID: string;
|
|
411
464
|
nodeID: string;
|
|
412
465
|
integrationToolName: string;
|
|
466
|
+
} | {
|
|
467
|
+
type: "mcp-integration-tool";
|
|
468
|
+
diagramID: string;
|
|
469
|
+
nodeID: string;
|
|
470
|
+
mcpToolName: string;
|
|
413
471
|
} | {
|
|
414
472
|
type: "function";
|
|
415
473
|
diagramID: string;
|
|
@@ -450,6 +508,11 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
450
508
|
diagramID: string;
|
|
451
509
|
nodeID: string;
|
|
452
510
|
integrationToolName: string;
|
|
511
|
+
} | {
|
|
512
|
+
type: "mcp-integration-tool";
|
|
513
|
+
diagramID: string;
|
|
514
|
+
nodeID: string;
|
|
515
|
+
mcpToolName: string;
|
|
453
516
|
} | {
|
|
454
517
|
type: "function";
|
|
455
518
|
diagramID: string;
|
|
@@ -500,6 +563,11 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
500
563
|
diagramID: string;
|
|
501
564
|
nodeID: string;
|
|
502
565
|
integrationToolName: string;
|
|
566
|
+
} | {
|
|
567
|
+
type: "mcp-integration-tool";
|
|
568
|
+
diagramID: string;
|
|
569
|
+
nodeID: string;
|
|
570
|
+
mcpToolName: string;
|
|
503
571
|
} | {
|
|
504
572
|
type: "function";
|
|
505
573
|
diagramID: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/debug.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAK9C,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"debug.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/debug.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAK9C,eAAO,MAAM,iBAAiB;;;;;;;;;CASpB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE/D,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAE3D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAErE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEvE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE3E,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAK1C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CA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1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DebugTraceDTO = exports.DebugTraceRefDTO = exports.DebugTracePromptRefDTO = exports.DebugTraceFunctionRefDTO = exports.DebugTraceIntegrationToolRefDTO = exports.DebugTraceAPIToolRefDTO = exports.DebugTraceAgentRefDTO = exports.DebugTraceNodeRefDTO = exports.DebugTraceLevel = exports.DebugTraceRefType = void 0;
|
|
3
|
+
exports.DebugTraceDTO = exports.DebugTraceRefDTO = exports.DebugTracePromptRefDTO = exports.DebugTraceFunctionRefDTO = exports.DebugTraceMcpIntegrationToolRefDTO = exports.DebugTraceIntegrationToolRefDTO = exports.DebugTraceAPIToolRefDTO = exports.DebugTraceAgentRefDTO = exports.DebugTraceNodeRefDTO = exports.DebugTraceLevel = exports.DebugTraceRefType = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const trace_type_enum_1 = require("./trace-type.enum");
|
|
6
6
|
const utils_dto_1 = require("./utils.dto");
|
|
@@ -12,6 +12,7 @@ exports.DebugTraceRefType = {
|
|
|
12
12
|
FUNCTION: 'function',
|
|
13
13
|
API_TOOL: 'api-tool',
|
|
14
14
|
INTEGRATION_TOOL: 'integration-tool',
|
|
15
|
+
MCP_INTEGRATION_TOOL: 'mcp-integration-tool',
|
|
15
16
|
};
|
|
16
17
|
exports.DebugTraceLevel = {
|
|
17
18
|
FATAL: 'fatal',
|
|
@@ -44,6 +45,12 @@ exports.DebugTraceIntegrationToolRefDTO = zod_1.z.object({
|
|
|
44
45
|
diagramID: zod_1.z.string(),
|
|
45
46
|
integrationToolName: zod_1.z.string(),
|
|
46
47
|
});
|
|
48
|
+
exports.DebugTraceMcpIntegrationToolRefDTO = zod_1.z.object({
|
|
49
|
+
type: zod_1.z.literal(exports.DebugTraceRefType.MCP_INTEGRATION_TOOL),
|
|
50
|
+
nodeID: zod_1.z.string(),
|
|
51
|
+
diagramID: zod_1.z.string(),
|
|
52
|
+
mcpToolName: zod_1.z.string(),
|
|
53
|
+
});
|
|
47
54
|
exports.DebugTraceFunctionRefDTO = zod_1.z.object({
|
|
48
55
|
type: zod_1.z.literal(exports.DebugTraceRefType.FUNCTION),
|
|
49
56
|
nodeID: zod_1.z.string(),
|
|
@@ -63,6 +70,7 @@ exports.DebugTraceRefDTO = zod_1.z.discriminatedUnion('type', [
|
|
|
63
70
|
exports.DebugTraceAPIToolRefDTO,
|
|
64
71
|
exports.DebugTraceFunctionRefDTO,
|
|
65
72
|
exports.DebugTraceIntegrationToolRefDTO,
|
|
73
|
+
exports.DebugTraceMcpIntegrationToolRefDTO,
|
|
66
74
|
]);
|
|
67
75
|
exports.DebugTraceDTO = utils_dto_1.BaseTraceDTO.extend({
|
|
68
76
|
type: zod_1.z.literal(trace_type_enum_1.TraceType.DEBUG),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.dto.js","sourceRoot":"","sources":["../../../src/trace/debug.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAIxB,uDAA8C;AAC9C,2CAA2C;AAE9B,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,kBAAkB;
|
|
1
|
+
{"version":3,"file":"debug.dto.js","sourceRoot":"","sources":["../../../src/trace/debug.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAIxB,uDAA8C;AAC9C,2CAA2C;AAE9B,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,kBAAkB;IACpC,oBAAo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CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,KAAK,EAAE,OAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC,QAAQ,EAAE;QAC/C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;QACnB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC3C,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1210,6 +1210,21 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1210
1210
|
diagramID: string;
|
|
1211
1211
|
nodeID: string;
|
|
1212
1212
|
integrationToolName: string;
|
|
1213
|
+
}>, z.ZodObject<{
|
|
1214
|
+
type: z.ZodLiteral<"mcp-integration-tool">;
|
|
1215
|
+
nodeID: z.ZodString;
|
|
1216
|
+
diagramID: z.ZodString;
|
|
1217
|
+
mcpToolName: z.ZodString;
|
|
1218
|
+
}, "strip", z.ZodTypeAny, {
|
|
1219
|
+
type: "mcp-integration-tool";
|
|
1220
|
+
diagramID: string;
|
|
1221
|
+
nodeID: string;
|
|
1222
|
+
mcpToolName: string;
|
|
1223
|
+
}, {
|
|
1224
|
+
type: "mcp-integration-tool";
|
|
1225
|
+
diagramID: string;
|
|
1226
|
+
nodeID: string;
|
|
1227
|
+
mcpToolName: string;
|
|
1213
1228
|
}>]>>;
|
|
1214
1229
|
type: z.ZodOptional<z.ZodString>;
|
|
1215
1230
|
level: z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -1245,6 +1260,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1245
1260
|
diagramID: string;
|
|
1246
1261
|
nodeID: string;
|
|
1247
1262
|
integrationToolName: string;
|
|
1263
|
+
} | {
|
|
1264
|
+
type: "mcp-integration-tool";
|
|
1265
|
+
diagramID: string;
|
|
1266
|
+
nodeID: string;
|
|
1267
|
+
mcpToolName: string;
|
|
1248
1268
|
} | {
|
|
1249
1269
|
type: "function";
|
|
1250
1270
|
diagramID: string;
|
|
@@ -1282,6 +1302,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1282
1302
|
diagramID: string;
|
|
1283
1303
|
nodeID: string;
|
|
1284
1304
|
integrationToolName: string;
|
|
1305
|
+
} | {
|
|
1306
|
+
type: "mcp-integration-tool";
|
|
1307
|
+
diagramID: string;
|
|
1308
|
+
nodeID: string;
|
|
1309
|
+
mcpToolName: string;
|
|
1285
1310
|
} | {
|
|
1286
1311
|
type: "function";
|
|
1287
1312
|
diagramID: string;
|
|
@@ -1322,6 +1347,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1322
1347
|
diagramID: string;
|
|
1323
1348
|
nodeID: string;
|
|
1324
1349
|
integrationToolName: string;
|
|
1350
|
+
} | {
|
|
1351
|
+
type: "mcp-integration-tool";
|
|
1352
|
+
diagramID: string;
|
|
1353
|
+
nodeID: string;
|
|
1354
|
+
mcpToolName: string;
|
|
1325
1355
|
} | {
|
|
1326
1356
|
type: "function";
|
|
1327
1357
|
diagramID: string;
|
|
@@ -1372,6 +1402,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1372
1402
|
diagramID: string;
|
|
1373
1403
|
nodeID: string;
|
|
1374
1404
|
integrationToolName: string;
|
|
1405
|
+
} | {
|
|
1406
|
+
type: "mcp-integration-tool";
|
|
1407
|
+
diagramID: string;
|
|
1408
|
+
nodeID: string;
|
|
1409
|
+
mcpToolName: string;
|
|
1375
1410
|
} | {
|
|
1376
1411
|
type: "function";
|
|
1377
1412
|
diagramID: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"any.dto.d.ts","sourceRoot":"","sources":["../../../src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,7 @@ export declare const DebugTraceRefType: {
|
|
|
8
8
|
readonly FUNCTION: "function";
|
|
9
9
|
readonly API_TOOL: "api-tool";
|
|
10
10
|
readonly INTEGRATION_TOOL: "integration-tool";
|
|
11
|
+
readonly MCP_INTEGRATION_TOOL: "mcp-integration-tool";
|
|
11
12
|
};
|
|
12
13
|
export type DebugTraceRefType = Enum<typeof DebugTraceRefType>;
|
|
13
14
|
export declare const DebugTraceLevel: {
|
|
@@ -86,6 +87,23 @@ export declare const DebugTraceIntegrationToolRefDTO: z.ZodObject<{
|
|
|
86
87
|
integrationToolName: string;
|
|
87
88
|
}>;
|
|
88
89
|
export type DebugTraceIntegrationToolRef = z.infer<typeof DebugTraceIntegrationToolRefDTO>;
|
|
90
|
+
export declare const DebugTraceMcpIntegrationToolRefDTO: z.ZodObject<{
|
|
91
|
+
type: z.ZodLiteral<"mcp-integration-tool">;
|
|
92
|
+
nodeID: z.ZodString;
|
|
93
|
+
diagramID: z.ZodString;
|
|
94
|
+
mcpToolName: z.ZodString;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
type: "mcp-integration-tool";
|
|
97
|
+
diagramID: string;
|
|
98
|
+
nodeID: string;
|
|
99
|
+
mcpToolName: string;
|
|
100
|
+
}, {
|
|
101
|
+
type: "mcp-integration-tool";
|
|
102
|
+
diagramID: string;
|
|
103
|
+
nodeID: string;
|
|
104
|
+
mcpToolName: string;
|
|
105
|
+
}>;
|
|
106
|
+
export type DebugTraceMcpIntegrationToolRef = z.infer<typeof DebugTraceMcpIntegrationToolRefDTO>;
|
|
89
107
|
export declare const DebugTraceFunctionRefDTO: z.ZodObject<{
|
|
90
108
|
type: z.ZodLiteral<"function">;
|
|
91
109
|
nodeID: z.ZodString;
|
|
@@ -210,6 +228,21 @@ export declare const DebugTraceRefDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
210
228
|
diagramID: string;
|
|
211
229
|
nodeID: string;
|
|
212
230
|
integrationToolName: string;
|
|
231
|
+
}>, z.ZodObject<{
|
|
232
|
+
type: z.ZodLiteral<"mcp-integration-tool">;
|
|
233
|
+
nodeID: z.ZodString;
|
|
234
|
+
diagramID: z.ZodString;
|
|
235
|
+
mcpToolName: z.ZodString;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
type: "mcp-integration-tool";
|
|
238
|
+
diagramID: string;
|
|
239
|
+
nodeID: string;
|
|
240
|
+
mcpToolName: string;
|
|
241
|
+
}, {
|
|
242
|
+
type: "mcp-integration-tool";
|
|
243
|
+
diagramID: string;
|
|
244
|
+
nodeID: string;
|
|
245
|
+
mcpToolName: string;
|
|
213
246
|
}>]>;
|
|
214
247
|
export type DebugTraceRef = z.infer<typeof DebugTraceRefDTO>;
|
|
215
248
|
export declare const DebugTraceDTO: z.ZodObject<{
|
|
@@ -338,6 +371,21 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
338
371
|
diagramID: string;
|
|
339
372
|
nodeID: string;
|
|
340
373
|
integrationToolName: string;
|
|
374
|
+
}>, z.ZodObject<{
|
|
375
|
+
type: z.ZodLiteral<"mcp-integration-tool">;
|
|
376
|
+
nodeID: z.ZodString;
|
|
377
|
+
diagramID: z.ZodString;
|
|
378
|
+
mcpToolName: z.ZodString;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
type: "mcp-integration-tool";
|
|
381
|
+
diagramID: string;
|
|
382
|
+
nodeID: string;
|
|
383
|
+
mcpToolName: string;
|
|
384
|
+
}, {
|
|
385
|
+
type: "mcp-integration-tool";
|
|
386
|
+
diagramID: string;
|
|
387
|
+
nodeID: string;
|
|
388
|
+
mcpToolName: string;
|
|
341
389
|
}>]>>;
|
|
342
390
|
type: z.ZodOptional<z.ZodString>;
|
|
343
391
|
level: z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -373,6 +421,11 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
373
421
|
diagramID: string;
|
|
374
422
|
nodeID: string;
|
|
375
423
|
integrationToolName: string;
|
|
424
|
+
} | {
|
|
425
|
+
type: "mcp-integration-tool";
|
|
426
|
+
diagramID: string;
|
|
427
|
+
nodeID: string;
|
|
428
|
+
mcpToolName: string;
|
|
376
429
|
} | {
|
|
377
430
|
type: "function";
|
|
378
431
|
diagramID: string;
|
|
@@ -410,6 +463,11 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
410
463
|
diagramID: string;
|
|
411
464
|
nodeID: string;
|
|
412
465
|
integrationToolName: string;
|
|
466
|
+
} | {
|
|
467
|
+
type: "mcp-integration-tool";
|
|
468
|
+
diagramID: string;
|
|
469
|
+
nodeID: string;
|
|
470
|
+
mcpToolName: string;
|
|
413
471
|
} | {
|
|
414
472
|
type: "function";
|
|
415
473
|
diagramID: string;
|
|
@@ -450,6 +508,11 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
450
508
|
diagramID: string;
|
|
451
509
|
nodeID: string;
|
|
452
510
|
integrationToolName: string;
|
|
511
|
+
} | {
|
|
512
|
+
type: "mcp-integration-tool";
|
|
513
|
+
diagramID: string;
|
|
514
|
+
nodeID: string;
|
|
515
|
+
mcpToolName: string;
|
|
453
516
|
} | {
|
|
454
517
|
type: "function";
|
|
455
518
|
diagramID: string;
|
|
@@ -500,6 +563,11 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
500
563
|
diagramID: string;
|
|
501
564
|
nodeID: string;
|
|
502
565
|
integrationToolName: string;
|
|
566
|
+
} | {
|
|
567
|
+
type: "mcp-integration-tool";
|
|
568
|
+
diagramID: string;
|
|
569
|
+
nodeID: string;
|
|
570
|
+
mcpToolName: string;
|
|
503
571
|
} | {
|
|
504
572
|
type: "function";
|
|
505
573
|
diagramID: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/debug.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB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
13
|
};
|
|
13
14
|
export const DebugTraceLevel = {
|
|
14
15
|
FATAL: 'fatal',
|
|
@@ -41,6 +42,12 @@ export const DebugTraceIntegrationToolRefDTO = z.object({
|
|
|
41
42
|
diagramID: z.string(),
|
|
42
43
|
integrationToolName: z.string(),
|
|
43
44
|
});
|
|
45
|
+
export const DebugTraceMcpIntegrationToolRefDTO = z.object({
|
|
46
|
+
type: z.literal(DebugTraceRefType.MCP_INTEGRATION_TOOL),
|
|
47
|
+
nodeID: z.string(),
|
|
48
|
+
diagramID: z.string(),
|
|
49
|
+
mcpToolName: z.string(),
|
|
50
|
+
});
|
|
44
51
|
export const DebugTraceFunctionRefDTO = z.object({
|
|
45
52
|
type: z.literal(DebugTraceRefType.FUNCTION),
|
|
46
53
|
nodeID: z.string(),
|
|
@@ -60,6 +67,7 @@ export const DebugTraceRefDTO = z.discriminatedUnion('type', [
|
|
|
60
67
|
DebugTraceAPIToolRefDTO,
|
|
61
68
|
DebugTraceFunctionRefDTO,
|
|
62
69
|
DebugTraceIntegrationToolRefDTO,
|
|
70
|
+
DebugTraceMcpIntegrationToolRefDTO,
|
|
63
71
|
]);
|
|
64
72
|
export const DebugTraceDTO = BaseTraceDTO.extend({
|
|
65
73
|
type: z.literal(TraceType.DEBUG),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.dto.js","sourceRoot":"","sources":["../../../src/trace/debug.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IAC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AAiB,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC3D,oBAAoB;IACpB,qBAAqB;IACrB,sBAAsB;IACtB,uBAAuB;IACvB,wBAAwB;IACxB,+BAA+B;IAC/B,kCAAkC;CACnC,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,GAAG,EAAE,gBAAgB,CAAC,QAAQ,EAAE;QAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;QAC/C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;QACnB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC3C,CAAC;CACH,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/dtos-interact",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./build/cjs/main.d.ts",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "ef4b64c9de60b4d762bf44ce558b515b059d6bc4"
|
|
47
47
|
}
|