@workglow/tasks 0.0.101 → 0.0.102
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/dist/browser.js +286 -108
- package/dist/browser.js.map +11 -11
- package/dist/bun.js +286 -108
- package/dist/bun.js.map +11 -11
- package/dist/common.d.ts +0 -1
- package/dist/common.d.ts.map +1 -1
- package/dist/node.js +286 -108
- package/dist/node.js.map +11 -11
- package/dist/task/DebugLogTask.d.ts +1 -0
- package/dist/task/DebugLogTask.d.ts.map +1 -1
- package/dist/task/DelayTask.d.ts +2 -1
- package/dist/task/DelayTask.d.ts.map +1 -1
- package/dist/task/JavaScriptTask.d.ts +62 -1
- package/dist/task/JavaScriptTask.d.ts.map +1 -1
- package/dist/task/LambdaTask.d.ts +6 -1
- package/dist/task/LambdaTask.d.ts.map +1 -1
- package/dist/task/mcp/McpListTask.d.ts +2 -2
- package/dist/task/mcp/McpPromptGetTask.d.ts +150 -66
- package/dist/task/mcp/McpPromptGetTask.d.ts.map +1 -1
- package/dist/task/mcp/McpResourceReadTask.d.ts +147 -47
- package/dist/task/mcp/McpResourceReadTask.d.ts.map +1 -1
- package/dist/task/mcp/McpToolCallTask.d.ts +148 -323
- package/dist/task/mcp/McpToolCallTask.d.ts.map +1 -1
- package/package.json +9 -9
package/dist/node.js
CHANGED
|
@@ -1316,14 +1316,6 @@ Workflow13.prototype.multiply = CreateAdaptiveWorkflow(ScalarMultiplyTask, Vecto
|
|
|
1316
1316
|
Workflow13.prototype.divide = CreateAdaptiveWorkflow(ScalarDivideTask, VectorDivideTask);
|
|
1317
1317
|
Workflow13.prototype.sum = CreateAdaptiveWorkflow(ScalarSumTask, VectorSumTask);
|
|
1318
1318
|
|
|
1319
|
-
// src/common.ts
|
|
1320
|
-
import {
|
|
1321
|
-
createMcpClient,
|
|
1322
|
-
mcpClientFactory as mcpClientFactory5,
|
|
1323
|
-
mcpServerConfigSchema as mcpServerConfigSchema5,
|
|
1324
|
-
mcpTransportTypes
|
|
1325
|
-
} from "@workglow/util";
|
|
1326
|
-
|
|
1327
1319
|
// src/task/ArrayTask.ts
|
|
1328
1320
|
import {
|
|
1329
1321
|
uuid4
|
|
@@ -1487,6 +1479,7 @@ class DebugLogTask extends Task11 {
|
|
|
1487
1479
|
static description = "Logs messages to the console with configurable log levels for debugging task graphs";
|
|
1488
1480
|
static cacheable = false;
|
|
1489
1481
|
static passthroughInputsToOutputs = true;
|
|
1482
|
+
static customizable = true;
|
|
1490
1483
|
static configSchema() {
|
|
1491
1484
|
return debugLogTaskConfigSchema;
|
|
1492
1485
|
}
|
|
@@ -1552,6 +1545,7 @@ class DelayTask extends Task12 {
|
|
|
1552
1545
|
static description = "Delays execution for a specified duration with progress tracking";
|
|
1553
1546
|
static cacheable = false;
|
|
1554
1547
|
static passthroughInputsToOutputs = true;
|
|
1548
|
+
static customizable = true;
|
|
1555
1549
|
static configSchema() {
|
|
1556
1550
|
return delayTaskConfigSchema;
|
|
1557
1551
|
}
|
|
@@ -1643,7 +1637,7 @@ class InputTask extends Task13 {
|
|
|
1643
1637
|
}
|
|
1644
1638
|
Workflow16.prototype.input = CreateWorkflow15(InputTask);
|
|
1645
1639
|
// src/task/JavaScriptTask.ts
|
|
1646
|
-
import { CreateWorkflow as CreateWorkflow16, Task as Task14, Workflow as Workflow17 } from "@workglow/task-graph";
|
|
1640
|
+
import { CreateWorkflow as CreateWorkflow16, Task as Task14, TaskConfigSchema as TaskConfigSchema3, Workflow as Workflow17 } from "@workglow/task-graph";
|
|
1647
1641
|
|
|
1648
1642
|
// src/util/acorn.js
|
|
1649
1643
|
var options;
|
|
@@ -6106,6 +6100,20 @@ Interpreter["VALUE_IN_DESCRIPTOR"] = Interpreter.VALUE_IN_DESCRIPTOR;
|
|
|
6106
6100
|
Interpreter["Status"] = Interpreter.Status;
|
|
6107
6101
|
|
|
6108
6102
|
// src/task/JavaScriptTask.ts
|
|
6103
|
+
var configSchema = {
|
|
6104
|
+
type: "object",
|
|
6105
|
+
properties: {
|
|
6106
|
+
...TaskConfigSchema3["properties"],
|
|
6107
|
+
javascript_code: {
|
|
6108
|
+
type: "string",
|
|
6109
|
+
title: "Code",
|
|
6110
|
+
minLength: 1,
|
|
6111
|
+
description: "JavaScript code to execute",
|
|
6112
|
+
format: "code:javascript"
|
|
6113
|
+
}
|
|
6114
|
+
},
|
|
6115
|
+
additionalProperties: false
|
|
6116
|
+
};
|
|
6109
6117
|
var inputSchema14 = {
|
|
6110
6118
|
type: "object",
|
|
6111
6119
|
properties: {
|
|
@@ -6137,14 +6145,34 @@ class JavaScriptTask extends Task14 {
|
|
|
6137
6145
|
static category = "Utility";
|
|
6138
6146
|
static title = "JavaScript Interpreter";
|
|
6139
6147
|
static description = "Executes JavaScript code in a sandboxed interpreter environment";
|
|
6148
|
+
static customizable = true;
|
|
6149
|
+
static configSchema() {
|
|
6150
|
+
return configSchema;
|
|
6151
|
+
}
|
|
6140
6152
|
static inputSchema() {
|
|
6141
6153
|
return inputSchema14;
|
|
6142
6154
|
}
|
|
6143
6155
|
static outputSchema() {
|
|
6144
6156
|
return outputSchema14;
|
|
6145
6157
|
}
|
|
6158
|
+
constructor(input2 = {}, config = {}) {
|
|
6159
|
+
super(input2, config);
|
|
6160
|
+
}
|
|
6161
|
+
inputSchema() {
|
|
6162
|
+
if (this.config?.javascript_code) {
|
|
6163
|
+
if (this.config.inputSchema) {
|
|
6164
|
+
return this.config.inputSchema;
|
|
6165
|
+
}
|
|
6166
|
+
return {
|
|
6167
|
+
type: "object",
|
|
6168
|
+
properties: {},
|
|
6169
|
+
additionalProperties: true
|
|
6170
|
+
};
|
|
6171
|
+
}
|
|
6172
|
+
return inputSchema14;
|
|
6173
|
+
}
|
|
6146
6174
|
async executeReactive(input2, output) {
|
|
6147
|
-
if (input2.javascript_code) {
|
|
6175
|
+
if (this.config.javascript_code || input2.javascript_code) {
|
|
6148
6176
|
try {
|
|
6149
6177
|
const inputVariables = Object.keys(input2).filter((key) => key !== "javascript_code");
|
|
6150
6178
|
const inputVariablesString = inputVariables.map((key) => `var ${key} = ${JSON.stringify(input2[key])};`).join(`
|
|
@@ -6242,14 +6270,14 @@ import {
|
|
|
6242
6270
|
CreateWorkflow as CreateWorkflow18,
|
|
6243
6271
|
DATAFLOW_ALL_PORTS,
|
|
6244
6272
|
Task as Task15,
|
|
6245
|
-
TaskConfigSchema as
|
|
6273
|
+
TaskConfigSchema as TaskConfigSchema4,
|
|
6246
6274
|
TaskConfigurationError as TaskConfigurationError3,
|
|
6247
6275
|
Workflow as Workflow19
|
|
6248
6276
|
} from "@workglow/task-graph";
|
|
6249
6277
|
var lambdaTaskConfigSchema = {
|
|
6250
6278
|
type: "object",
|
|
6251
6279
|
properties: {
|
|
6252
|
-
...
|
|
6280
|
+
...TaskConfigSchema4["properties"],
|
|
6253
6281
|
execute: {},
|
|
6254
6282
|
executeReactive: {}
|
|
6255
6283
|
},
|
|
@@ -6728,28 +6756,32 @@ var mcpList = async (input2, config = {}) => {
|
|
|
6728
6756
|
};
|
|
6729
6757
|
Workflow23.prototype.mcpList = CreateWorkflow22(McpListTask);
|
|
6730
6758
|
// src/task/mcp/McpPromptGetTask.ts
|
|
6731
|
-
import {
|
|
6759
|
+
import {
|
|
6760
|
+
CreateWorkflow as CreateWorkflow23,
|
|
6761
|
+
Task as Task20,
|
|
6762
|
+
TaskConfigSchema as TaskConfigSchema5,
|
|
6763
|
+
Workflow as Workflow24
|
|
6764
|
+
} from "@workglow/task-graph";
|
|
6732
6765
|
import {
|
|
6733
6766
|
mcpClientFactory as mcpClientFactory2,
|
|
6734
6767
|
mcpServerConfigSchema as mcpServerConfigSchema2
|
|
6735
6768
|
} from "@workglow/util";
|
|
6736
|
-
var
|
|
6769
|
+
var configSchema2 = {
|
|
6737
6770
|
type: "object",
|
|
6738
6771
|
properties: {
|
|
6772
|
+
...TaskConfigSchema5["properties"],
|
|
6739
6773
|
...mcpServerConfigSchema2,
|
|
6740
6774
|
prompt_name: {
|
|
6741
6775
|
type: "string",
|
|
6742
6776
|
title: "Prompt Name",
|
|
6743
|
-
description: "The name of the prompt to get"
|
|
6744
|
-
|
|
6745
|
-
prompt_arguments: {
|
|
6746
|
-
type: "object",
|
|
6747
|
-
additionalProperties: { type: "string" },
|
|
6748
|
-
title: "Prompt Arguments",
|
|
6749
|
-
description: "Arguments to pass to the prompt"
|
|
6777
|
+
description: "The name of the prompt to get",
|
|
6778
|
+
format: "string:mcp-promptname"
|
|
6750
6779
|
}
|
|
6751
6780
|
},
|
|
6752
6781
|
required: ["transport", "prompt_name"],
|
|
6782
|
+
if: { properties: { transport: { const: "stdio" } }, required: ["transport"] },
|
|
6783
|
+
then: { required: ["command"] },
|
|
6784
|
+
else: { required: ["server_url"] },
|
|
6753
6785
|
additionalProperties: false
|
|
6754
6786
|
};
|
|
6755
6787
|
var annotationsSchema = {
|
|
@@ -6853,7 +6885,7 @@ var contentSchema = {
|
|
|
6853
6885
|
}
|
|
6854
6886
|
]
|
|
6855
6887
|
};
|
|
6856
|
-
var
|
|
6888
|
+
var fallbackOutputSchema = {
|
|
6857
6889
|
type: "object",
|
|
6858
6890
|
properties: {
|
|
6859
6891
|
messages: {
|
|
@@ -6879,6 +6911,11 @@ var outputSchema19 = {
|
|
|
6879
6911
|
required: ["messages"],
|
|
6880
6912
|
additionalProperties: false
|
|
6881
6913
|
};
|
|
6914
|
+
var fallbackInputSchema = {
|
|
6915
|
+
type: "object",
|
|
6916
|
+
properties: {},
|
|
6917
|
+
additionalProperties: false
|
|
6918
|
+
};
|
|
6882
6919
|
|
|
6883
6920
|
class McpPromptGetTask extends Task20 {
|
|
6884
6921
|
static type = "McpPromptGetTask";
|
|
@@ -6886,18 +6923,71 @@ class McpPromptGetTask extends Task20 {
|
|
|
6886
6923
|
static title = "MCP Get Prompt";
|
|
6887
6924
|
static description = "Gets a prompt from an MCP server";
|
|
6888
6925
|
static cacheable = false;
|
|
6926
|
+
static customizable = true;
|
|
6927
|
+
static hasDynamicSchemas = true;
|
|
6889
6928
|
static inputSchema() {
|
|
6890
|
-
return
|
|
6929
|
+
return fallbackInputSchema;
|
|
6891
6930
|
}
|
|
6892
6931
|
static outputSchema() {
|
|
6893
|
-
return
|
|
6932
|
+
return fallbackOutputSchema;
|
|
6933
|
+
}
|
|
6934
|
+
static configSchema() {
|
|
6935
|
+
return configSchema2;
|
|
6936
|
+
}
|
|
6937
|
+
inputSchema() {
|
|
6938
|
+
return this.config?.inputSchema ?? fallbackInputSchema;
|
|
6939
|
+
}
|
|
6940
|
+
outputSchema() {
|
|
6941
|
+
return this.config?.outputSchema ?? fallbackOutputSchema;
|
|
6942
|
+
}
|
|
6943
|
+
_schemasDiscovering = false;
|
|
6944
|
+
async discoverSchemas(signal) {
|
|
6945
|
+
if (this.config.inputSchema)
|
|
6946
|
+
return;
|
|
6947
|
+
if (this._schemasDiscovering)
|
|
6948
|
+
return;
|
|
6949
|
+
if (!this.config.transport || !this.config.prompt_name)
|
|
6950
|
+
return;
|
|
6951
|
+
this._schemasDiscovering = true;
|
|
6952
|
+
try {
|
|
6953
|
+
const result = await mcpList({
|
|
6954
|
+
transport: this.config.transport,
|
|
6955
|
+
server_url: this.config.server_url,
|
|
6956
|
+
command: this.config.command,
|
|
6957
|
+
args: this.config.args,
|
|
6958
|
+
env: this.config.env,
|
|
6959
|
+
list_type: "prompts"
|
|
6960
|
+
});
|
|
6961
|
+
const prompt = result.prompts?.find((p) => p.name === this.config.prompt_name);
|
|
6962
|
+
if (prompt) {
|
|
6963
|
+
const args = prompt.arguments ?? [];
|
|
6964
|
+
const required = args.filter((a) => a.required).map((a) => a.name);
|
|
6965
|
+
const properties = {};
|
|
6966
|
+
for (const arg of args) {
|
|
6967
|
+
properties[arg.name] = {
|
|
6968
|
+
type: "string",
|
|
6969
|
+
...arg.description ? { description: arg.description } : {}
|
|
6970
|
+
};
|
|
6971
|
+
}
|
|
6972
|
+
this.config.inputSchema = {
|
|
6973
|
+
type: "object",
|
|
6974
|
+
properties,
|
|
6975
|
+
...required.length > 0 ? { required } : {},
|
|
6976
|
+
additionalProperties: false
|
|
6977
|
+
};
|
|
6978
|
+
this.emitSchemaChange();
|
|
6979
|
+
}
|
|
6980
|
+
} finally {
|
|
6981
|
+
this._schemasDiscovering = false;
|
|
6982
|
+
}
|
|
6894
6983
|
}
|
|
6895
6984
|
async execute(input2, context) {
|
|
6896
|
-
|
|
6985
|
+
await this.discoverSchemas(context.signal);
|
|
6986
|
+
const { client } = await mcpClientFactory2.create(this.config, context.signal);
|
|
6897
6987
|
try {
|
|
6898
6988
|
const result = await client.getPrompt({
|
|
6899
|
-
name:
|
|
6900
|
-
arguments: input2
|
|
6989
|
+
name: this.config.prompt_name,
|
|
6990
|
+
arguments: input2
|
|
6901
6991
|
});
|
|
6902
6992
|
return {
|
|
6903
6993
|
messages: result.messages,
|
|
@@ -6908,28 +6998,37 @@ class McpPromptGetTask extends Task20 {
|
|
|
6908
6998
|
}
|
|
6909
6999
|
}
|
|
6910
7000
|
}
|
|
6911
|
-
var mcpPromptGet = async (input2, config
|
|
6912
|
-
|
|
6913
|
-
return result;
|
|
7001
|
+
var mcpPromptGet = async (input2, config) => {
|
|
7002
|
+
return new McpPromptGetTask({}, config).run(input2);
|
|
6914
7003
|
};
|
|
6915
7004
|
Workflow24.prototype.mcpPromptGet = CreateWorkflow23(McpPromptGetTask);
|
|
6916
7005
|
// src/task/mcp/McpResourceReadTask.ts
|
|
6917
|
-
import {
|
|
7006
|
+
import {
|
|
7007
|
+
CreateWorkflow as CreateWorkflow24,
|
|
7008
|
+
Task as Task21,
|
|
7009
|
+
TaskConfigSchema as TaskConfigSchema6,
|
|
7010
|
+
Workflow as Workflow25
|
|
7011
|
+
} from "@workglow/task-graph";
|
|
6918
7012
|
import {
|
|
6919
7013
|
mcpClientFactory as mcpClientFactory3,
|
|
6920
7014
|
mcpServerConfigSchema as mcpServerConfigSchema3
|
|
6921
7015
|
} from "@workglow/util";
|
|
6922
|
-
var
|
|
7016
|
+
var configSchema3 = {
|
|
6923
7017
|
type: "object",
|
|
6924
7018
|
properties: {
|
|
7019
|
+
...TaskConfigSchema6["properties"],
|
|
6925
7020
|
...mcpServerConfigSchema3,
|
|
6926
7021
|
resource_uri: {
|
|
6927
7022
|
type: "string",
|
|
6928
7023
|
title: "Resource URI",
|
|
6929
|
-
description: "The URI of the resource to read"
|
|
7024
|
+
description: "The URI of the resource to read",
|
|
7025
|
+
format: "string:uri:mcp-resourceuri"
|
|
6930
7026
|
}
|
|
6931
7027
|
},
|
|
6932
7028
|
required: ["transport", "resource_uri"],
|
|
7029
|
+
if: { properties: { transport: { const: "stdio" } }, required: ["transport"] },
|
|
7030
|
+
then: { required: ["command"] },
|
|
7031
|
+
else: { required: ["server_url"] },
|
|
6933
7032
|
additionalProperties: false
|
|
6934
7033
|
};
|
|
6935
7034
|
var contentItemSchema = {
|
|
@@ -6958,7 +7057,12 @@ var contentItemSchema = {
|
|
|
6958
7057
|
}
|
|
6959
7058
|
]
|
|
6960
7059
|
};
|
|
6961
|
-
var
|
|
7060
|
+
var inputSchema20 = {
|
|
7061
|
+
type: "object",
|
|
7062
|
+
properties: {},
|
|
7063
|
+
additionalProperties: false
|
|
7064
|
+
};
|
|
7065
|
+
var outputSchema19 = {
|
|
6962
7066
|
type: "object",
|
|
6963
7067
|
properties: {
|
|
6964
7068
|
contents: {
|
|
@@ -6978,49 +7082,57 @@ class McpResourceReadTask extends Task21 {
|
|
|
6978
7082
|
static title = "MCP Read Resource";
|
|
6979
7083
|
static description = "Reads a resource from an MCP server";
|
|
6980
7084
|
static cacheable = false;
|
|
7085
|
+
static customizable = true;
|
|
6981
7086
|
static inputSchema() {
|
|
6982
|
-
return
|
|
7087
|
+
return inputSchema20;
|
|
6983
7088
|
}
|
|
6984
7089
|
static outputSchema() {
|
|
6985
|
-
return
|
|
7090
|
+
return outputSchema19;
|
|
6986
7091
|
}
|
|
6987
|
-
|
|
6988
|
-
|
|
7092
|
+
static configSchema() {
|
|
7093
|
+
return configSchema3;
|
|
7094
|
+
}
|
|
7095
|
+
async execute(_input, context) {
|
|
7096
|
+
const { client } = await mcpClientFactory3.create(this.config, context.signal);
|
|
6989
7097
|
try {
|
|
6990
|
-
const result = await client.readResource({ uri:
|
|
7098
|
+
const result = await client.readResource({ uri: this.config.resource_uri });
|
|
6991
7099
|
return { contents: result.contents };
|
|
6992
7100
|
} finally {
|
|
6993
7101
|
await client.close();
|
|
6994
7102
|
}
|
|
6995
7103
|
}
|
|
6996
7104
|
}
|
|
6997
|
-
var mcpResourceRead = async (
|
|
6998
|
-
return new McpResourceReadTask({}, config).run(
|
|
7105
|
+
var mcpResourceRead = async (config) => {
|
|
7106
|
+
return new McpResourceReadTask({}, config).run({});
|
|
6999
7107
|
};
|
|
7000
7108
|
Workflow25.prototype.mcpResourceRead = CreateWorkflow24(McpResourceReadTask);
|
|
7001
7109
|
// src/task/mcp/McpToolCallTask.ts
|
|
7002
|
-
import {
|
|
7110
|
+
import {
|
|
7111
|
+
CreateWorkflow as CreateWorkflow25,
|
|
7112
|
+
Task as Task22,
|
|
7113
|
+
TaskConfigSchema as TaskConfigSchema7,
|
|
7114
|
+
Workflow as Workflow26
|
|
7115
|
+
} from "@workglow/task-graph";
|
|
7003
7116
|
import {
|
|
7004
7117
|
mcpClientFactory as mcpClientFactory4,
|
|
7005
7118
|
mcpServerConfigSchema as mcpServerConfigSchema4
|
|
7006
7119
|
} from "@workglow/util";
|
|
7007
|
-
var
|
|
7120
|
+
var configSchema4 = {
|
|
7008
7121
|
type: "object",
|
|
7009
7122
|
properties: {
|
|
7123
|
+
...TaskConfigSchema7["properties"],
|
|
7010
7124
|
...mcpServerConfigSchema4,
|
|
7011
7125
|
tool_name: {
|
|
7012
7126
|
type: "string",
|
|
7013
7127
|
title: "Tool Name",
|
|
7014
|
-
description: "The name of the tool to call"
|
|
7015
|
-
|
|
7016
|
-
tool_arguments: {
|
|
7017
|
-
type: "object",
|
|
7018
|
-
additionalProperties: true,
|
|
7019
|
-
title: "Tool Arguments",
|
|
7020
|
-
description: "Arguments to pass to the tool"
|
|
7128
|
+
description: "The name of the tool to call",
|
|
7129
|
+
format: "string:mcp-toolname"
|
|
7021
7130
|
}
|
|
7022
7131
|
},
|
|
7023
7132
|
required: ["transport", "tool_name"],
|
|
7133
|
+
if: { properties: { transport: { const: "stdio" } }, required: ["transport"] },
|
|
7134
|
+
then: { required: ["command"] },
|
|
7135
|
+
else: { required: ["server_url"] },
|
|
7024
7136
|
additionalProperties: false
|
|
7025
7137
|
};
|
|
7026
7138
|
var annotationsSchema2 = {
|
|
@@ -7124,7 +7236,7 @@ var toolContentSchema = {
|
|
|
7124
7236
|
}
|
|
7125
7237
|
]
|
|
7126
7238
|
};
|
|
7127
|
-
var
|
|
7239
|
+
var fallbackOutputSchema2 = {
|
|
7128
7240
|
type: "object",
|
|
7129
7241
|
properties: {
|
|
7130
7242
|
content: {
|
|
@@ -7142,6 +7254,11 @@ var outputSchema21 = {
|
|
|
7142
7254
|
required: ["content", "isError"],
|
|
7143
7255
|
additionalProperties: false
|
|
7144
7256
|
};
|
|
7257
|
+
var fallbackInputSchema2 = {
|
|
7258
|
+
type: "object",
|
|
7259
|
+
properties: {},
|
|
7260
|
+
additionalProperties: true
|
|
7261
|
+
};
|
|
7145
7262
|
|
|
7146
7263
|
class McpToolCallTask extends Task22 {
|
|
7147
7264
|
static type = "McpToolCallTask";
|
|
@@ -7149,38 +7266,103 @@ class McpToolCallTask extends Task22 {
|
|
|
7149
7266
|
static title = "MCP Call Tool";
|
|
7150
7267
|
static description = "Calls a tool on an MCP server and returns the result";
|
|
7151
7268
|
static cacheable = false;
|
|
7269
|
+
static customizable = true;
|
|
7270
|
+
static hasDynamicSchemas = true;
|
|
7152
7271
|
static inputSchema() {
|
|
7153
|
-
return
|
|
7272
|
+
return fallbackInputSchema2;
|
|
7154
7273
|
}
|
|
7155
7274
|
static outputSchema() {
|
|
7156
|
-
return
|
|
7275
|
+
return fallbackOutputSchema2;
|
|
7276
|
+
}
|
|
7277
|
+
static configSchema() {
|
|
7278
|
+
return configSchema4;
|
|
7279
|
+
}
|
|
7280
|
+
inputSchema() {
|
|
7281
|
+
return this.config?.inputSchema ?? fallbackInputSchema2;
|
|
7282
|
+
}
|
|
7283
|
+
outputSchema() {
|
|
7284
|
+
return this.config?.outputSchema ?? fallbackOutputSchema2;
|
|
7285
|
+
}
|
|
7286
|
+
_schemasDiscovering = false;
|
|
7287
|
+
async discoverSchemas(signal) {
|
|
7288
|
+
if (this.config.inputSchema && this.config.outputSchema)
|
|
7289
|
+
return;
|
|
7290
|
+
if (this._schemasDiscovering)
|
|
7291
|
+
return;
|
|
7292
|
+
if (!this.config.transport || !this.config.tool_name)
|
|
7293
|
+
return;
|
|
7294
|
+
this._schemasDiscovering = true;
|
|
7295
|
+
try {
|
|
7296
|
+
const result = await mcpList({
|
|
7297
|
+
transport: this.config.transport,
|
|
7298
|
+
server_url: this.config.server_url,
|
|
7299
|
+
command: this.config.command,
|
|
7300
|
+
args: this.config.args,
|
|
7301
|
+
env: this.config.env,
|
|
7302
|
+
list_type: "tools"
|
|
7303
|
+
});
|
|
7304
|
+
const tool = result.tools?.find((t) => t.name === this.config.tool_name);
|
|
7305
|
+
if (tool) {
|
|
7306
|
+
if (!this.config.inputSchema) {
|
|
7307
|
+
this.config.inputSchema = tool.inputSchema;
|
|
7308
|
+
}
|
|
7309
|
+
if (!this.config.outputSchema && tool.outputSchema) {
|
|
7310
|
+
this.config.outputSchema = tool.outputSchema;
|
|
7311
|
+
}
|
|
7312
|
+
this.emitSchemaChange();
|
|
7313
|
+
}
|
|
7314
|
+
} finally {
|
|
7315
|
+
this._schemasDiscovering = false;
|
|
7316
|
+
}
|
|
7157
7317
|
}
|
|
7158
7318
|
async execute(input2, context) {
|
|
7159
|
-
|
|
7319
|
+
await this.discoverSchemas(context.signal);
|
|
7320
|
+
const { client } = await mcpClientFactory4.create(this.config, context.signal);
|
|
7160
7321
|
try {
|
|
7161
7322
|
const result = await client.callTool({
|
|
7162
|
-
name:
|
|
7163
|
-
arguments: input2
|
|
7323
|
+
name: this.config.tool_name,
|
|
7324
|
+
arguments: input2
|
|
7164
7325
|
});
|
|
7165
7326
|
if (!("content" in result) || !Array.isArray(result.content)) {
|
|
7166
7327
|
throw new Error("Expected tool result with content array");
|
|
7167
7328
|
}
|
|
7329
|
+
const content = result.content;
|
|
7330
|
+
const isError = result.isError === true;
|
|
7331
|
+
const structuredContent = "structuredContent" in result && result.structuredContent && typeof result.structuredContent === "object" && !Array.isArray(result.structuredContent) ? result.structuredContent : undefined;
|
|
7332
|
+
let parsedFromText;
|
|
7333
|
+
if (!structuredContent && content.length === 1) {
|
|
7334
|
+
const item = content[0];
|
|
7335
|
+
if (item && typeof item === "object" && "type" in item && item.type === "text" && "text" in item) {
|
|
7336
|
+
const text = String(item.text);
|
|
7337
|
+
const trimmed = text.trim();
|
|
7338
|
+
if (trimmed.startsWith("{") && trimmed.endsWith("}") || trimmed.startsWith("[") && trimmed.endsWith("]")) {
|
|
7339
|
+
try {
|
|
7340
|
+
const parsed = JSON.parse(text);
|
|
7341
|
+
if (parsed !== null && typeof parsed === "object" && !Array.isArray(parsed)) {
|
|
7342
|
+
parsedFromText = parsed;
|
|
7343
|
+
}
|
|
7344
|
+
} catch {}
|
|
7345
|
+
}
|
|
7346
|
+
}
|
|
7347
|
+
}
|
|
7168
7348
|
return {
|
|
7169
|
-
content
|
|
7170
|
-
isError
|
|
7349
|
+
content,
|
|
7350
|
+
isError,
|
|
7351
|
+
...parsedFromText,
|
|
7352
|
+
...structuredContent
|
|
7171
7353
|
};
|
|
7172
7354
|
} finally {
|
|
7173
7355
|
await client.close();
|
|
7174
7356
|
}
|
|
7175
7357
|
}
|
|
7176
7358
|
}
|
|
7177
|
-
var mcpToolCall = async (input2, config
|
|
7359
|
+
var mcpToolCall = async (input2, config) => {
|
|
7178
7360
|
return new McpToolCallTask({}, config).run(input2);
|
|
7179
7361
|
};
|
|
7180
7362
|
Workflow26.prototype.mcpToolCall = CreateWorkflow25(McpToolCallTask);
|
|
7181
7363
|
// src/task/scalar/ScalarAbsTask.ts
|
|
7182
7364
|
import { CreateWorkflow as CreateWorkflow26, Task as Task23, Workflow as Workflow27 } from "@workglow/task-graph";
|
|
7183
|
-
var
|
|
7365
|
+
var inputSchema21 = {
|
|
7184
7366
|
type: "object",
|
|
7185
7367
|
properties: {
|
|
7186
7368
|
value: {
|
|
@@ -7192,7 +7374,7 @@ var inputSchema23 = {
|
|
|
7192
7374
|
required: ["value"],
|
|
7193
7375
|
additionalProperties: false
|
|
7194
7376
|
};
|
|
7195
|
-
var
|
|
7377
|
+
var outputSchema20 = {
|
|
7196
7378
|
type: "object",
|
|
7197
7379
|
properties: {
|
|
7198
7380
|
result: {
|
|
@@ -7211,10 +7393,10 @@ class ScalarAbsTask extends Task23 {
|
|
|
7211
7393
|
static title = "Abs";
|
|
7212
7394
|
static description = "Returns the absolute value of a number";
|
|
7213
7395
|
static inputSchema() {
|
|
7214
|
-
return
|
|
7396
|
+
return inputSchema21;
|
|
7215
7397
|
}
|
|
7216
7398
|
static outputSchema() {
|
|
7217
|
-
return
|
|
7399
|
+
return outputSchema20;
|
|
7218
7400
|
}
|
|
7219
7401
|
async execute(input2, _context) {
|
|
7220
7402
|
return { result: Math.abs(input2.value) };
|
|
@@ -7223,7 +7405,7 @@ class ScalarAbsTask extends Task23 {
|
|
|
7223
7405
|
Workflow27.prototype.scalarAbs = CreateWorkflow26(ScalarAbsTask);
|
|
7224
7406
|
// src/task/scalar/ScalarCeilTask.ts
|
|
7225
7407
|
import { CreateWorkflow as CreateWorkflow27, Task as Task24, Workflow as Workflow28 } from "@workglow/task-graph";
|
|
7226
|
-
var
|
|
7408
|
+
var inputSchema22 = {
|
|
7227
7409
|
type: "object",
|
|
7228
7410
|
properties: {
|
|
7229
7411
|
value: {
|
|
@@ -7235,7 +7417,7 @@ var inputSchema24 = {
|
|
|
7235
7417
|
required: ["value"],
|
|
7236
7418
|
additionalProperties: false
|
|
7237
7419
|
};
|
|
7238
|
-
var
|
|
7420
|
+
var outputSchema21 = {
|
|
7239
7421
|
type: "object",
|
|
7240
7422
|
properties: {
|
|
7241
7423
|
result: {
|
|
@@ -7254,10 +7436,10 @@ class ScalarCeilTask extends Task24 {
|
|
|
7254
7436
|
static title = "Ceil";
|
|
7255
7437
|
static description = "Returns the smallest integer greater than or equal to a number";
|
|
7256
7438
|
static inputSchema() {
|
|
7257
|
-
return
|
|
7439
|
+
return inputSchema22;
|
|
7258
7440
|
}
|
|
7259
7441
|
static outputSchema() {
|
|
7260
|
-
return
|
|
7442
|
+
return outputSchema21;
|
|
7261
7443
|
}
|
|
7262
7444
|
async execute(input2, _context) {
|
|
7263
7445
|
return { result: Math.ceil(input2.value) };
|
|
@@ -7266,7 +7448,7 @@ class ScalarCeilTask extends Task24 {
|
|
|
7266
7448
|
Workflow28.prototype.scalarCeil = CreateWorkflow27(ScalarCeilTask);
|
|
7267
7449
|
// src/task/scalar/ScalarFloorTask.ts
|
|
7268
7450
|
import { CreateWorkflow as CreateWorkflow28, Task as Task25, Workflow as Workflow29 } from "@workglow/task-graph";
|
|
7269
|
-
var
|
|
7451
|
+
var inputSchema23 = {
|
|
7270
7452
|
type: "object",
|
|
7271
7453
|
properties: {
|
|
7272
7454
|
value: {
|
|
@@ -7278,7 +7460,7 @@ var inputSchema25 = {
|
|
|
7278
7460
|
required: ["value"],
|
|
7279
7461
|
additionalProperties: false
|
|
7280
7462
|
};
|
|
7281
|
-
var
|
|
7463
|
+
var outputSchema22 = {
|
|
7282
7464
|
type: "object",
|
|
7283
7465
|
properties: {
|
|
7284
7466
|
result: {
|
|
@@ -7297,10 +7479,10 @@ class ScalarFloorTask extends Task25 {
|
|
|
7297
7479
|
static title = "Floor";
|
|
7298
7480
|
static description = "Returns the largest integer less than or equal to a number";
|
|
7299
7481
|
static inputSchema() {
|
|
7300
|
-
return
|
|
7482
|
+
return inputSchema23;
|
|
7301
7483
|
}
|
|
7302
7484
|
static outputSchema() {
|
|
7303
|
-
return
|
|
7485
|
+
return outputSchema22;
|
|
7304
7486
|
}
|
|
7305
7487
|
async execute(input2, _context) {
|
|
7306
7488
|
return { result: Math.floor(input2.value) };
|
|
@@ -7309,7 +7491,7 @@ class ScalarFloorTask extends Task25 {
|
|
|
7309
7491
|
Workflow29.prototype.scalarFloor = CreateWorkflow28(ScalarFloorTask);
|
|
7310
7492
|
// src/task/scalar/ScalarMaxTask.ts
|
|
7311
7493
|
import { CreateWorkflow as CreateWorkflow29, Task as Task26, Workflow as Workflow30 } from "@workglow/task-graph";
|
|
7312
|
-
var
|
|
7494
|
+
var inputSchema24 = {
|
|
7313
7495
|
type: "object",
|
|
7314
7496
|
properties: {
|
|
7315
7497
|
values: {
|
|
@@ -7322,7 +7504,7 @@ var inputSchema26 = {
|
|
|
7322
7504
|
required: ["values"],
|
|
7323
7505
|
additionalProperties: false
|
|
7324
7506
|
};
|
|
7325
|
-
var
|
|
7507
|
+
var outputSchema23 = {
|
|
7326
7508
|
type: "object",
|
|
7327
7509
|
properties: {
|
|
7328
7510
|
result: {
|
|
@@ -7341,10 +7523,10 @@ class ScalarMaxTask extends Task26 {
|
|
|
7341
7523
|
static title = "Max";
|
|
7342
7524
|
static description = "Returns the largest of the given numbers";
|
|
7343
7525
|
static inputSchema() {
|
|
7344
|
-
return
|
|
7526
|
+
return inputSchema24;
|
|
7345
7527
|
}
|
|
7346
7528
|
static outputSchema() {
|
|
7347
|
-
return
|
|
7529
|
+
return outputSchema23;
|
|
7348
7530
|
}
|
|
7349
7531
|
async execute(input2, _context) {
|
|
7350
7532
|
return { result: Math.max(...input2.values) };
|
|
@@ -7353,7 +7535,7 @@ class ScalarMaxTask extends Task26 {
|
|
|
7353
7535
|
Workflow30.prototype.scalarMax = CreateWorkflow29(ScalarMaxTask);
|
|
7354
7536
|
// src/task/scalar/ScalarMinTask.ts
|
|
7355
7537
|
import { CreateWorkflow as CreateWorkflow30, Task as Task27, Workflow as Workflow31 } from "@workglow/task-graph";
|
|
7356
|
-
var
|
|
7538
|
+
var inputSchema25 = {
|
|
7357
7539
|
type: "object",
|
|
7358
7540
|
properties: {
|
|
7359
7541
|
values: {
|
|
@@ -7366,7 +7548,7 @@ var inputSchema27 = {
|
|
|
7366
7548
|
required: ["values"],
|
|
7367
7549
|
additionalProperties: false
|
|
7368
7550
|
};
|
|
7369
|
-
var
|
|
7551
|
+
var outputSchema24 = {
|
|
7370
7552
|
type: "object",
|
|
7371
7553
|
properties: {
|
|
7372
7554
|
result: {
|
|
@@ -7385,10 +7567,10 @@ class ScalarMinTask extends Task27 {
|
|
|
7385
7567
|
static title = "Min";
|
|
7386
7568
|
static description = "Returns the smallest of the given numbers";
|
|
7387
7569
|
static inputSchema() {
|
|
7388
|
-
return
|
|
7570
|
+
return inputSchema25;
|
|
7389
7571
|
}
|
|
7390
7572
|
static outputSchema() {
|
|
7391
|
-
return
|
|
7573
|
+
return outputSchema24;
|
|
7392
7574
|
}
|
|
7393
7575
|
async execute(input2, _context) {
|
|
7394
7576
|
return { result: Math.min(...input2.values) };
|
|
@@ -7397,7 +7579,7 @@ class ScalarMinTask extends Task27 {
|
|
|
7397
7579
|
Workflow31.prototype.scalarMin = CreateWorkflow30(ScalarMinTask);
|
|
7398
7580
|
// src/task/scalar/ScalarRoundTask.ts
|
|
7399
7581
|
import { CreateWorkflow as CreateWorkflow31, Task as Task28, Workflow as Workflow32 } from "@workglow/task-graph";
|
|
7400
|
-
var
|
|
7582
|
+
var inputSchema26 = {
|
|
7401
7583
|
type: "object",
|
|
7402
7584
|
properties: {
|
|
7403
7585
|
value: {
|
|
@@ -7409,7 +7591,7 @@ var inputSchema28 = {
|
|
|
7409
7591
|
required: ["value"],
|
|
7410
7592
|
additionalProperties: false
|
|
7411
7593
|
};
|
|
7412
|
-
var
|
|
7594
|
+
var outputSchema25 = {
|
|
7413
7595
|
type: "object",
|
|
7414
7596
|
properties: {
|
|
7415
7597
|
result: {
|
|
@@ -7428,10 +7610,10 @@ class ScalarRoundTask extends Task28 {
|
|
|
7428
7610
|
static title = "Round";
|
|
7429
7611
|
static description = "Returns the value of a number rounded to the nearest integer";
|
|
7430
7612
|
static inputSchema() {
|
|
7431
|
-
return
|
|
7613
|
+
return inputSchema26;
|
|
7432
7614
|
}
|
|
7433
7615
|
static outputSchema() {
|
|
7434
|
-
return
|
|
7616
|
+
return outputSchema25;
|
|
7435
7617
|
}
|
|
7436
7618
|
async execute(input2, _context) {
|
|
7437
7619
|
return { result: Math.round(input2.value) };
|
|
@@ -7440,7 +7622,7 @@ class ScalarRoundTask extends Task28 {
|
|
|
7440
7622
|
Workflow32.prototype.scalarRound = CreateWorkflow31(ScalarRoundTask);
|
|
7441
7623
|
// src/task/scalar/ScalarTruncTask.ts
|
|
7442
7624
|
import { CreateWorkflow as CreateWorkflow32, Task as Task29, Workflow as Workflow33 } from "@workglow/task-graph";
|
|
7443
|
-
var
|
|
7625
|
+
var inputSchema27 = {
|
|
7444
7626
|
type: "object",
|
|
7445
7627
|
properties: {
|
|
7446
7628
|
value: {
|
|
@@ -7452,7 +7634,7 @@ var inputSchema29 = {
|
|
|
7452
7634
|
required: ["value"],
|
|
7453
7635
|
additionalProperties: false
|
|
7454
7636
|
};
|
|
7455
|
-
var
|
|
7637
|
+
var outputSchema26 = {
|
|
7456
7638
|
type: "object",
|
|
7457
7639
|
properties: {
|
|
7458
7640
|
result: {
|
|
@@ -7471,10 +7653,10 @@ class ScalarTruncTask extends Task29 {
|
|
|
7471
7653
|
static title = "Truncate";
|
|
7472
7654
|
static description = "Returns the integer part of a number by removing fractional digits";
|
|
7473
7655
|
static inputSchema() {
|
|
7474
|
-
return
|
|
7656
|
+
return inputSchema27;
|
|
7475
7657
|
}
|
|
7476
7658
|
static outputSchema() {
|
|
7477
|
-
return
|
|
7659
|
+
return outputSchema26;
|
|
7478
7660
|
}
|
|
7479
7661
|
async execute(input2, _context) {
|
|
7480
7662
|
return { result: Math.trunc(input2.value) };
|
|
@@ -7486,7 +7668,7 @@ import { CreateWorkflow as CreateWorkflow33, Task as Task30, Workflow as Workflo
|
|
|
7486
7668
|
import {
|
|
7487
7669
|
TypedArraySchema as TypedArraySchema5
|
|
7488
7670
|
} from "@workglow/util";
|
|
7489
|
-
var
|
|
7671
|
+
var inputSchema28 = {
|
|
7490
7672
|
type: "object",
|
|
7491
7673
|
properties: {
|
|
7492
7674
|
vectors: {
|
|
@@ -7502,7 +7684,7 @@ var inputSchema30 = {
|
|
|
7502
7684
|
required: ["vectors"],
|
|
7503
7685
|
additionalProperties: false
|
|
7504
7686
|
};
|
|
7505
|
-
var
|
|
7687
|
+
var outputSchema27 = {
|
|
7506
7688
|
type: "object",
|
|
7507
7689
|
properties: {
|
|
7508
7690
|
result: {
|
|
@@ -7521,10 +7703,10 @@ class VectorDistanceTask extends Task30 {
|
|
|
7521
7703
|
static title = "Distance";
|
|
7522
7704
|
static description = "Returns the Euclidean distance between the first two vectors";
|
|
7523
7705
|
static inputSchema() {
|
|
7524
|
-
return
|
|
7706
|
+
return inputSchema28;
|
|
7525
7707
|
}
|
|
7526
7708
|
static outputSchema() {
|
|
7527
|
-
return
|
|
7709
|
+
return outputSchema27;
|
|
7528
7710
|
}
|
|
7529
7711
|
async execute(input2, _context) {
|
|
7530
7712
|
const { vectors } = input2;
|
|
@@ -7548,7 +7730,7 @@ import { CreateWorkflow as CreateWorkflow34, Task as Task31, Workflow as Workflo
|
|
|
7548
7730
|
import {
|
|
7549
7731
|
TypedArraySchema as TypedArraySchema6
|
|
7550
7732
|
} from "@workglow/util";
|
|
7551
|
-
var
|
|
7733
|
+
var inputSchema29 = {
|
|
7552
7734
|
type: "object",
|
|
7553
7735
|
properties: {
|
|
7554
7736
|
vectors: {
|
|
@@ -7564,7 +7746,7 @@ var inputSchema31 = {
|
|
|
7564
7746
|
required: ["vectors"],
|
|
7565
7747
|
additionalProperties: false
|
|
7566
7748
|
};
|
|
7567
|
-
var
|
|
7749
|
+
var outputSchema28 = {
|
|
7568
7750
|
type: "object",
|
|
7569
7751
|
properties: {
|
|
7570
7752
|
result: {
|
|
@@ -7583,10 +7765,10 @@ class VectorDotProductTask extends Task31 {
|
|
|
7583
7765
|
static title = "Dot Product";
|
|
7584
7766
|
static description = "Returns the dot (inner) product of the first two vectors";
|
|
7585
7767
|
static inputSchema() {
|
|
7586
|
-
return
|
|
7768
|
+
return inputSchema29;
|
|
7587
7769
|
}
|
|
7588
7770
|
static outputSchema() {
|
|
7589
|
-
return
|
|
7771
|
+
return outputSchema28;
|
|
7590
7772
|
}
|
|
7591
7773
|
async execute(input2, _context) {
|
|
7592
7774
|
const { vectors } = input2;
|
|
@@ -7608,7 +7790,7 @@ import {
|
|
|
7608
7790
|
TypedArraySchema as TypedArraySchema7,
|
|
7609
7791
|
normalize
|
|
7610
7792
|
} from "@workglow/util";
|
|
7611
|
-
var
|
|
7793
|
+
var inputSchema30 = {
|
|
7612
7794
|
type: "object",
|
|
7613
7795
|
properties: {
|
|
7614
7796
|
vector: TypedArraySchema7({
|
|
@@ -7619,7 +7801,7 @@ var inputSchema32 = {
|
|
|
7619
7801
|
required: ["vector"],
|
|
7620
7802
|
additionalProperties: false
|
|
7621
7803
|
};
|
|
7622
|
-
var
|
|
7804
|
+
var outputSchema29 = {
|
|
7623
7805
|
type: "object",
|
|
7624
7806
|
properties: {
|
|
7625
7807
|
result: TypedArraySchema7({
|
|
@@ -7637,10 +7819,10 @@ class VectorNormalizeTask extends Task32 {
|
|
|
7637
7819
|
static title = "Normalize";
|
|
7638
7820
|
static description = "Returns the L2-normalized (unit length) vector";
|
|
7639
7821
|
static inputSchema() {
|
|
7640
|
-
return
|
|
7822
|
+
return inputSchema30;
|
|
7641
7823
|
}
|
|
7642
7824
|
static outputSchema() {
|
|
7643
|
-
return
|
|
7825
|
+
return outputSchema29;
|
|
7644
7826
|
}
|
|
7645
7827
|
async execute(input2, _context) {
|
|
7646
7828
|
return { result: normalize(input2.vector) };
|
|
@@ -7653,7 +7835,7 @@ import {
|
|
|
7653
7835
|
createTypedArrayFrom as createTypedArrayFrom5,
|
|
7654
7836
|
TypedArraySchema as TypedArraySchema8
|
|
7655
7837
|
} from "@workglow/util";
|
|
7656
|
-
var
|
|
7838
|
+
var inputSchema31 = {
|
|
7657
7839
|
type: "object",
|
|
7658
7840
|
properties: {
|
|
7659
7841
|
vector: TypedArraySchema8({
|
|
@@ -7669,7 +7851,7 @@ var inputSchema33 = {
|
|
|
7669
7851
|
required: ["vector", "scalar"],
|
|
7670
7852
|
additionalProperties: false
|
|
7671
7853
|
};
|
|
7672
|
-
var
|
|
7854
|
+
var outputSchema30 = {
|
|
7673
7855
|
type: "object",
|
|
7674
7856
|
properties: {
|
|
7675
7857
|
result: TypedArraySchema8({
|
|
@@ -7687,10 +7869,10 @@ class VectorScaleTask extends Task33 {
|
|
|
7687
7869
|
static title = "Scale";
|
|
7688
7870
|
static description = "Multiplies each element of a vector by a scalar";
|
|
7689
7871
|
static inputSchema() {
|
|
7690
|
-
return
|
|
7872
|
+
return inputSchema31;
|
|
7691
7873
|
}
|
|
7692
7874
|
static outputSchema() {
|
|
7693
|
-
return
|
|
7875
|
+
return outputSchema30;
|
|
7694
7876
|
}
|
|
7695
7877
|
async execute(input2, _context) {
|
|
7696
7878
|
const { vector, scalar } = input2;
|
|
@@ -7750,13 +7932,10 @@ export {
|
|
|
7750
7932
|
registerCommonTasks,
|
|
7751
7933
|
process,
|
|
7752
7934
|
merge,
|
|
7753
|
-
mcpTransportTypes,
|
|
7754
7935
|
mcpToolCall,
|
|
7755
|
-
mcpServerConfigSchema5 as mcpServerConfigSchema,
|
|
7756
7936
|
mcpResourceRead,
|
|
7757
7937
|
mcpPromptGet,
|
|
7758
7938
|
mcpList,
|
|
7759
|
-
mcpClientFactory5 as mcpClientFactory,
|
|
7760
7939
|
lambdaTaskConfigSchema,
|
|
7761
7940
|
lambda,
|
|
7762
7941
|
json,
|
|
@@ -7765,7 +7944,6 @@ export {
|
|
|
7765
7944
|
fetchUrl,
|
|
7766
7945
|
delay,
|
|
7767
7946
|
debugLog,
|
|
7768
|
-
createMcpClient,
|
|
7769
7947
|
VectorSumTask,
|
|
7770
7948
|
VectorSubtractTask,
|
|
7771
7949
|
VectorScaleTask,
|
|
@@ -7806,4 +7984,4 @@ export {
|
|
|
7806
7984
|
ArrayTask
|
|
7807
7985
|
};
|
|
7808
7986
|
|
|
7809
|
-
//# debugId=
|
|
7987
|
+
//# debugId=017044E656C85CB364756E2164756E21
|