@n8n/n8n-nodes-langchain 3.0.0 → 3.0.1
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/credentials/WeaviateApi.credentials.js +14 -0
- package/dist/credentials/WeaviateApi.credentials.js.map +1 -1
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_insert.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_load.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_retrieve.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_retrieve_as_tool.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_insert.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_load.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_retrieve.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_retrieve_as_tool.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_insert.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_load.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_retrieve.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_retrieve_as_tool.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_insert.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_load.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_retrieve.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_retrieve_as_tool.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_insert.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_load.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve_as_tool.ts +2 -1
- package/dist/nodes/embeddings/EmbeddingsGoogleGemini/EmbeddingsGoogleGemini.node.js +2 -0
- package/dist/nodes/embeddings/EmbeddingsGoogleGemini/EmbeddingsGoogleGemini.node.js.map +1 -1
- package/dist/nodes/embeddings/EmbeddingsLemonade/EmbeddingsLemonade.node.js +3 -0
- package/dist/nodes/embeddings/EmbeddingsLemonade/EmbeddingsLemonade.node.js.map +1 -1
- package/dist/nodes/llms/LMLemonade/LmLemonade.node.js +3 -0
- package/dist/nodes/llms/LMLemonade/LmLemonade.node.js.map +1 -1
- package/dist/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.js +2 -0
- package/dist/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.js.map +1 -1
- package/dist/nodes/mcp/McpClientTool/utils.js +1 -1
- package/dist/nodes/mcp/McpClientTool/utils.js.map +1 -1
- package/dist/nodes/mcp/shared/runtime.js +14 -1
- package/dist/nodes/mcp/shared/runtime.js.map +1 -1
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js +4 -0
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js.map +1 -1
- package/dist/nodes/trigger/ChatTrigger/GenericFunctions.js +2 -2
- package/dist/nodes/trigger/ChatTrigger/GenericFunctions.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.js +3 -5
- package/dist/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreWeaviate/Weaviate.utils.d.ts +3 -2
- package/dist/nodes/vector_store/VectorStoreWeaviate/Weaviate.utils.js +20 -2
- package/dist/nodes/vector_store/VectorStoreWeaviate/Weaviate.utils.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +1 -1
- package/dist/types/nodes.json +1 -1
- package/dist/utils/agent-execution/createEngineRequests.js +13 -1
- package/dist/utils/agent-execution/createEngineRequests.js.map +1 -1
- package/dist/utils/agent-execution/executeEngineAction.d.ts +1 -1
- package/dist/utils/agent-execution/executeEngineAction.js +10 -1
- package/dist/utils/agent-execution/executeEngineAction.js.map +1 -1
- package/dist/utils/agent-execution/index.d.ts +1 -0
- package/dist/utils/agent-execution/index.js +3 -1
- package/dist/utils/agent-execution/index.js.map +1 -1
- package/dist/utils/agent-execution/processHitlResponses.js +3 -2
- package/dist/utils/agent-execution/processHitlResponses.js.map +1 -1
- package/dist/utils/agent-execution/types.d.ts +2 -0
- package/dist/utils/agent-execution/types.js +2 -0
- package/dist/utils/agent-execution/types.js.map +1 -1
- package/dist/utils/schemaParsing.js +1 -3
- package/dist/utils/schemaParsing.js.map +1 -1
- package/package.json +13 -14
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.INTERNAL_TOOL_ARG_STASH_KEY = void 0;
|
|
3
4
|
exports.isThinkingBlock = isThinkingBlock;
|
|
4
5
|
exports.isRedactedThinkingBlock = isRedactedThinkingBlock;
|
|
5
6
|
exports.isGeminiThoughtSignatureBlock = isGeminiThoughtSignatureBlock;
|
|
@@ -13,6 +14,7 @@ function isThinkingBlock(block) {
|
|
|
13
14
|
'signature' in block &&
|
|
14
15
|
typeof block.signature === 'string');
|
|
15
16
|
}
|
|
17
|
+
exports.INTERNAL_TOOL_ARG_STASH_KEY = '_n8nOriginalToolArg';
|
|
16
18
|
function isRedactedThinkingBlock(block) {
|
|
17
19
|
return (typeof block === 'object' &&
|
|
18
20
|
block !== null &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../utils/agent-execution/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../utils/agent-execution/types.ts"],"names":[],"mappings":";;;;;;AAyMA,yBAAgC,KAAc;IAC7C,OAAO,CACN,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,MAAM,IAAI,KAAK;QACf,KAAK,CAAC,IAAI,KAAK,UAAU;QACzB,UAAU,IAAI,KAAK;QACnB,OAAO,KAAK,CAAC,QAAQ,KAAK,QAAQ;QAClC,WAAW,IAAI,KAAK;QACpB,OAAO,KAAK,CAAC,SAAS,KAAK,QAAQ,CACnC,CAAC;AACH,CAAC;AAMY,QAAA,2BAA2B,GAAG,qBAAqB,CAAC;AAKjE,iCAAwC,KAAc;IACrD,OAAO,CACN,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,MAAM,IAAI,KAAK;QACf,KAAK,CAAC,IAAI,KAAK,mBAAmB;QAClC,MAAM,IAAI,KAAK;QACf,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,CAC9B,CAAC;AACH,CAAC;AAKD,uCACC,KAAc;IAEd,OAAO,CACN,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,kBAAkB,IAAI,KAAK;QAC3B,OAAO,KAAK,CAAC,gBAAgB,KAAK,QAAQ,CAC1C,CAAC;AACH,CAAC"}
|
|
@@ -5,7 +5,6 @@ exports.generateSchemaFromExample = generateSchemaFromExample;
|
|
|
5
5
|
exports.convertJsonSchemaToZod = convertJsonSchemaToZod;
|
|
6
6
|
exports.throwIfToolSchema = throwIfToolSchema;
|
|
7
7
|
const json_schema_to_zod_1 = require("@n8n/json-schema-to-zod");
|
|
8
|
-
const generate_schema_1 = require("generate-schema");
|
|
9
8
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
10
9
|
function makeAllPropertiesRequired(schema) {
|
|
11
10
|
function isPropertySchema(property) {
|
|
@@ -36,8 +35,7 @@ function parseJsonSchemaParameter(raw) {
|
|
|
36
35
|
return (0, n8n_workflow_1.jsonParse)(asSchemaText(raw));
|
|
37
36
|
}
|
|
38
37
|
function generateSchemaFromExample(exampleJson, allFieldsRequired = false) {
|
|
39
|
-
const
|
|
40
|
-
const schema = (0, generate_schema_1.json)(parsedExample);
|
|
38
|
+
const schema = (0, n8n_workflow_1.generateSchemaFromExample)(asSchemaText(exampleJson));
|
|
41
39
|
if (allFieldsRequired) {
|
|
42
40
|
return makeAllPropertiesRequired(schema);
|
|
43
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaParsing.js","sourceRoot":"","sources":["../../utils/schemaParsing.ts"],"names":[],"mappings":";;;;;;AAAA,gEAA0D;
|
|
1
|
+
{"version":3,"file":"schemaParsing.js","sourceRoot":"","sources":["../../utils/schemaParsing.ts"],"names":[],"mappings":";;;;;;AAAA,gEAA0D;AAG1D,+CAIsB;AAGtB,SAAS,yBAAyB,CAAC,MAAmB;IACrD,SAAS,gBAAgB,CAAC,QAAiB;QAC1C,OAAO,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,MAAM,IAAI,QAAQ,CAAC;IAChF,CAAC;IAGD,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAClD,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC3B,MAAM,CAAC,QAAQ,GAAG,UAAU,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CAAC;QAC1E,MAAM,IAAI,iCAAkB,CAC3B,GAAG,CAAC,OAAO,EAAE,EACb,GAAG,KAAK,CAAC,OAAO;wNACqM,CACrN,CAAC;IACH,CAAC;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/n8n-nodes-langchain",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -178,8 +178,8 @@
|
|
|
178
178
|
]
|
|
179
179
|
},
|
|
180
180
|
"devDependencies": {
|
|
181
|
-
"@n8n/eslint-plugin-community-nodes": "1.0.
|
|
182
|
-
"@n8n/vitest-config": "2.0.
|
|
181
|
+
"@n8n/eslint-plugin-community-nodes": "1.0.1",
|
|
182
|
+
"@n8n/vitest-config": "2.0.1",
|
|
183
183
|
"@typescript-eslint/typescript-estree": "8.70.0",
|
|
184
184
|
"@types/basic-auth": "^1.1.3",
|
|
185
185
|
"@types/express": "^5.0.1",
|
|
@@ -238,13 +238,13 @@
|
|
|
238
238
|
"@mistralai/mistralai": "^2.2.1",
|
|
239
239
|
"@modelcontextprotocol/sdk": "1.31.0",
|
|
240
240
|
"@mozilla/readability": "^0.6.0",
|
|
241
|
-
"@n8n/ai-utilities": "1.0.
|
|
242
|
-
"@n8n/client-oauth2": "2.0.
|
|
243
|
-
"@n8n/config": "3.0.
|
|
244
|
-
"@n8n/di": "1.0.
|
|
245
|
-
"@n8n/json-schema-to-zod": "2.0.
|
|
246
|
-
"@n8n/typescript-config": "2.0.
|
|
247
|
-
"@n8n/utils": "2.0.
|
|
241
|
+
"@n8n/ai-utilities": "1.0.1",
|
|
242
|
+
"@n8n/client-oauth2": "2.0.1",
|
|
243
|
+
"@n8n/config": "3.0.1",
|
|
244
|
+
"@n8n/di": "1.0.1",
|
|
245
|
+
"@n8n/json-schema-to-zod": "2.0.1",
|
|
246
|
+
"@n8n/typescript-config": "2.0.1",
|
|
247
|
+
"@n8n/utils": "2.0.1",
|
|
248
248
|
"@oracle/langchain-oracledb": "0.2.0",
|
|
249
249
|
"@pinecone-database/pinecone": "^5.0.2",
|
|
250
250
|
"@qdrant/js-client-rest": "^1.19.0",
|
|
@@ -261,7 +261,6 @@
|
|
|
261
261
|
"epub2": "3.0.2",
|
|
262
262
|
"express": "5.1.0",
|
|
263
263
|
"form-data": "4.0.6",
|
|
264
|
-
"generate-schema": "2.6.0",
|
|
265
264
|
"html-to-text": "9.0.5",
|
|
266
265
|
"ignore": "^5.2.0",
|
|
267
266
|
"js-tiktoken": "1.0.21",
|
|
@@ -272,9 +271,9 @@
|
|
|
272
271
|
"mime-types": "3.0.2",
|
|
273
272
|
"mongodb": "^6.17.0",
|
|
274
273
|
"mysql2": "3.23.1",
|
|
275
|
-
"n8n-core": "3.0.
|
|
276
|
-
"n8n-nodes-base": "3.0.
|
|
277
|
-
"n8n-workflow": "3.0.
|
|
274
|
+
"n8n-core": "3.0.1",
|
|
275
|
+
"n8n-nodes-base": "3.0.1",
|
|
276
|
+
"n8n-workflow": "3.0.1",
|
|
278
277
|
"openai": "6.46.0",
|
|
279
278
|
"oracledb": "6.10.0",
|
|
280
279
|
"pg": "8.21.0",
|