n8n-core 1.97.2 → 1.98.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/dist/build.tsbuildinfo +1 -1
- package/dist/execution-engine/node-execution-context/utils/ssh-tunnel-helper-functions.js +2 -1
- package/dist/execution-engine/node-execution-context/utils/ssh-tunnel-helper-functions.js.map +1 -1
- package/dist/execution-engine/partial-execution-utils/index.d.ts +0 -1
- package/dist/execution-engine/partial-execution-utils/index.js +1 -3
- package/dist/execution-engine/partial-execution-utils/index.js.map +1 -1
- package/dist/execution-engine/ssh-clients-manager.d.ts +17 -7
- package/dist/execution-engine/ssh-clients-manager.js +97 -22
- package/dist/execution-engine/ssh-clients-manager.js.map +1 -1
- package/dist/execution-engine/workflow-execute.js +4 -5
- package/dist/execution-engine/workflow-execute.js.map +1 -1
- package/package.json +8 -8
- package/dist/execution-engine/partial-execution-utils/is-tool.d.ts +0 -2
- package/dist/execution-engine/partial-execution-utils/is-tool.js +0 -21
- package/dist/execution-engine/partial-execution-utils/is-tool.js.map +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isTool = isTool;
|
|
4
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
function isTool(node, nodeTypes) {
|
|
6
|
-
const type = nodeTypes.getByNameAndVersion(node.type, node.typeVersion);
|
|
7
|
-
if (node.type.includes('vectorStore')) {
|
|
8
|
-
const mode = node.parameters?.mode;
|
|
9
|
-
return mode === 'retrieve-as-tool';
|
|
10
|
-
}
|
|
11
|
-
for (const output of type.description.outputs) {
|
|
12
|
-
if (typeof output === 'string') {
|
|
13
|
-
return output === n8n_workflow_1.NodeConnectionTypes.AiTool;
|
|
14
|
-
}
|
|
15
|
-
else if (output?.type && output.type === n8n_workflow_1.NodeConnectionTypes.AiTool) {
|
|
16
|
-
return true;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=is-tool.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-tool.js","sourceRoot":"","sources":["../../../src/execution-engine/partial-execution-utils/is-tool.ts"],"names":[],"mappings":";;AAEA,wBAmBC;AArBD,+CAAgF;AAEhF,SAAgB,MAAM,CAAC,IAAW,EAAE,SAAqB;IACxD,MAAM,IAAI,GAAG,SAAS,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAGxE,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;QACnC,OAAO,IAAI,KAAK,kBAAkB,CAAC;IACpC,CAAC;IAGD,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;QAC/C,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YAChC,OAAO,MAAM,KAAK,kCAAmB,CAAC,MAAM,CAAC;QAC9C,CAAC;aAAM,IAAI,MAAM,EAAE,IAAI,IAAI,MAAM,CAAC,IAAI,KAAK,kCAAmB,CAAC,MAAM,EAAE,CAAC;YACvE,OAAO,IAAI,CAAC;QACb,CAAC;IACF,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC"}
|