@n8n/n8n-nodes-langchain 2.45.3 → 3.0.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.
Files changed (447) hide show
  1. package/dist/known/credentials.json +1 -27
  2. package/dist/known/nodes.json +0 -84
  3. package/dist/methods/defined.json +3 -0
  4. package/dist/methods/referenced.json +3 -0
  5. package/dist/node-definitions/.nodes-hash +1 -1
  6. package/dist/node-definitions/index.ts +4 -4
  7. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.schema.js +5 -7
  8. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.ts +13 -65
  9. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.schema.js +5 -7
  10. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.ts +13 -65
  11. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.schema.js +5 -7
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.ts +13 -65
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.schema.js +4 -7
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.ts +13 -70
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.schema.js +4 -7
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.ts +13 -70
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.schema.js +4 -7
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.ts +13 -70
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.schema.js +4 -7
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.ts +13 -70
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.schema.js +4 -7
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.ts +13 -70
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.schema.js +4 -7
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.ts +13 -70
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.schema.js +4 -7
  26. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.ts +13 -70
  27. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.schema.js +1 -1
  28. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.ts +3 -3
  29. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.schema.js +1 -1
  30. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.ts +3 -3
  31. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.schema.js +1 -1
  32. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.ts +4 -4
  33. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.schema.js +2 -2
  34. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.ts +4 -4
  35. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.schema.js +2 -2
  36. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.ts +4 -4
  37. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.schema.js +2 -2
  38. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.ts +4 -4
  39. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.schema.js +1 -0
  40. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.ts +7 -0
  41. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.schema.js +1 -0
  42. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.ts +7 -0
  43. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.schema.js +1 -0
  44. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.ts +7 -0
  45. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.schema.js +1 -0
  46. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.ts +7 -0
  47. package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/index.ts +12 -0
  48. package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/v1.schema.js +32 -0
  49. package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/v1.ts +70 -0
  50. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/index.ts +3 -1
  51. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/index.schema.js +28 -0
  52. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/index.ts +24 -0
  53. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStoreAzureAISearch/v14}/mode_insert.schema.js +3 -3
  54. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_insert.ts +68 -0
  55. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStoreAzureAISearch/v14}/mode_load.schema.js +3 -3
  56. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_load.ts +89 -0
  57. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStoreAzureAISearch/v14}/mode_retrieve.schema.js +3 -3
  58. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve.ts +80 -0
  59. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreAzureAISearch/v14}/mode_retrieve_as_tool.schema.js +3 -4
  60. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve_as_tool.ts +99 -0
  61. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_update.schema.js +28 -0
  62. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_update.ts +49 -0
  63. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/index.ts +3 -1
  64. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStoreChromaDB/v14}/index.schema.js +1 -1
  65. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/index.ts +21 -0
  66. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_insert.schema.js +31 -0
  67. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreChromaDB/v14}/mode_insert.ts +19 -16
  68. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_load.schema.js +36 -0
  69. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStoreChromaDB/v14}/mode_load.ts +11 -13
  70. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve.schema.js +33 -0
  71. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStoreChromaDB/v14}/mode_retrieve.ts +11 -13
  72. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve_as_tool.schema.js +36 -0
  73. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreChromaDB/v14}/mode_retrieve_as_tool.ts +11 -17
  74. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/index.ts +3 -1
  75. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/index.schema.js +26 -0
  76. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/index.ts +21 -0
  77. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreDatabricks/v14}/mode_insert.schema.js +4 -3
  78. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_insert.ts +56 -0
  79. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_load.schema.js +36 -0
  80. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_load.ts +92 -0
  81. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve.schema.js +33 -0
  82. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve.ts +83 -0
  83. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve_as_tool.schema.js +36 -0
  84. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve_as_tool.ts +102 -0
  85. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/index.ts +3 -1
  86. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreInMemory/v14}/index.schema.js +1 -1
  87. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/index.ts +21 -0
  88. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreInMemory/v14}/mode_insert.schema.js +3 -3
  89. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_insert.ts +57 -0
  90. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreInMemory/v14}/mode_load.schema.js +2 -3
  91. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_load.ts +69 -0
  92. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreInMemory/v14}/mode_retrieve.schema.js +2 -3
  93. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve.ts +60 -0
  94. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreInMemory/v14}/mode_retrieve_as_tool.schema.js +2 -3
  95. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve_as_tool.ts +79 -0
  96. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/index.ts +3 -1
  97. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStoreMilvus/v14}/index.schema.js +1 -1
  98. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/index.ts +21 -0
  99. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_insert.schema.js +30 -0
  100. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStoreMilvus/v14}/mode_insert.ts +12 -16
  101. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreMilvus/v14}/mode_load.schema.js +2 -3
  102. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_load.ts +68 -0
  103. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStoreMilvus/v14}/mode_retrieve.schema.js +2 -3
  104. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve.ts +59 -0
  105. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStoreMilvus/v14}/mode_retrieve_as_tool.schema.js +2 -4
  106. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve_as_tool.ts +78 -0
  107. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/index.ts +3 -1
  108. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/index.schema.js +28 -0
  109. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/index.ts +24 -0
  110. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_insert.schema.js +33 -0
  111. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_insert.ts +78 -0
  112. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_load.schema.js +38 -0
  113. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_load.ts +114 -0
  114. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve.schema.js +35 -0
  115. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve.ts +105 -0
  116. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve_as_tool.schema.js +38 -0
  117. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve_as_tool.ts +124 -0
  118. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_update.schema.js +31 -0
  119. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_update.ts +59 -0
  120. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/index.ts +3 -1
  121. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/index.schema.js +26 -0
  122. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/index.ts +21 -0
  123. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStoreOracleDBVector/v14}/mode_insert.schema.js +3 -3
  124. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreOracleDBVector/v14}/mode_insert.ts +14 -19
  125. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStoreOracleDBVector/v14}/mode_load.schema.js +3 -3
  126. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreOracleDBVector/v14}/mode_load.ts +16 -12
  127. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreOracleDBVector/v14}/mode_retrieve.schema.js +3 -3
  128. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreOracleDBVector/v14}/mode_retrieve.ts +16 -12
  129. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStoreOracleDBVector/v14}/mode_retrieve_as_tool.schema.js +3 -4
  130. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStoreOracleDBVector/v14}/mode_retrieve_as_tool.ts +16 -16
  131. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/index.ts +3 -1
  132. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/index.schema.js +26 -0
  133. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/index.ts +21 -0
  134. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_insert.schema.js +30 -0
  135. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_insert.ts +113 -0
  136. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_load.schema.js +35 -0
  137. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_load.ts +149 -0
  138. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve.schema.js +32 -0
  139. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve.ts +140 -0
  140. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve_as_tool.schema.js +35 -0
  141. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve_as_tool.ts +159 -0
  142. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/index.ts +3 -1
  143. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/index.schema.js +28 -0
  144. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/index.ts +24 -0
  145. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_insert.schema.js +30 -0
  146. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_insert.ts +64 -0
  147. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_load.schema.js +35 -0
  148. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStorePinecone/v14}/mode_load.ts +11 -12
  149. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve.schema.js +32 -0
  150. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStorePinecone/v14}/mode_retrieve.ts +11 -12
  151. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve_as_tool.schema.js +35 -0
  152. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v11 → vectorStorePinecone/v14}/mode_retrieve_as_tool.ts +11 -16
  153. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_update.schema.js +28 -0
  154. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_update.ts +45 -0
  155. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/index.ts +3 -1
  156. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreQdrant/v14}/index.schema.js +1 -1
  157. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/index.ts +21 -0
  158. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_insert.schema.js +30 -0
  159. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_insert.ts +68 -0
  160. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_load.schema.js +35 -0
  161. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_load.ts +85 -0
  162. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve.schema.js +32 -0
  163. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve.ts +76 -0
  164. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve_as_tool.schema.js +35 -0
  165. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve_as_tool.ts +95 -0
  166. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/index.ts +3 -1
  167. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/index.schema.js +28 -0
  168. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/index.ts +24 -0
  169. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_insert.schema.js +30 -0
  170. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_insert.ts +80 -0
  171. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_load.schema.js +35 -0
  172. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_load.ts +94 -0
  173. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve.schema.js +32 -0
  174. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve.ts +85 -0
  175. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve_as_tool.schema.js +35 -0
  176. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve_as_tool.ts +104 -0
  177. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_update.schema.js +28 -0
  178. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_update.ts +45 -0
  179. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/index.ts +3 -1
  180. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/index.schema.js +28 -0
  181. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/index.ts +24 -0
  182. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_insert.schema.js +30 -0
  183. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v12 → vectorStoreSupabase/v14}/mode_insert.ts +12 -16
  184. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_load.schema.js +35 -0
  185. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v1 → vectorStoreSupabase/v14}/mode_load.ts +12 -12
  186. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve.schema.js +32 -0
  187. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreSupabase/v14}/mode_retrieve.ts +12 -12
  188. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve_as_tool.schema.js +35 -0
  189. package/dist/node-definitions/nodes/n8n-nodes-langchain/{vectorStoreZep/v13 → vectorStoreSupabase/v14}/mode_retrieve_as_tool.ts +12 -12
  190. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_update.schema.js +29 -0
  191. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_update.ts +55 -0
  192. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/index.ts +3 -1
  193. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/index.schema.js +26 -0
  194. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/index.ts +21 -0
  195. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_insert.schema.js +30 -0
  196. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_insert.ts +87 -0
  197. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_load.schema.js +35 -0
  198. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_load.ts +131 -0
  199. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve.schema.js +32 -0
  200. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve.ts +122 -0
  201. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve_as_tool.schema.js +35 -0
  202. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve_as_tool.ts +141 -0
  203. package/dist/nodes/Guardrails/helpers/configureNodeInputs.js +0 -2
  204. package/dist/nodes/Guardrails/helpers/configureNodeInputs.js.map +1 -1
  205. package/dist/nodes/agents/Agent/Agent.node.js +10 -11
  206. package/dist/nodes/agents/Agent/Agent.node.js.map +1 -1
  207. package/dist/nodes/agents/Agent/V2/AgentToolV2.node.js +1 -1
  208. package/dist/nodes/agents/Agent/V2/AgentToolV2.node.js.map +1 -1
  209. package/dist/nodes/agents/Agent/V2/AgentV2.node.js +3 -2
  210. package/dist/nodes/agents/Agent/V2/AgentV2.node.js.map +1 -1
  211. package/dist/nodes/agents/Agent/V2/utils.js +0 -2
  212. package/dist/nodes/agents/Agent/V2/utils.js.map +1 -1
  213. package/dist/nodes/agents/Agent/V3/AgentToolV3.node.js +1 -1
  214. package/dist/nodes/agents/Agent/V3/AgentToolV3.node.js.map +1 -1
  215. package/dist/nodes/agents/Agent/V3/AgentV3.node.js +1 -1
  216. package/dist/nodes/agents/Agent/V3/AgentV3.node.js.map +1 -1
  217. package/dist/nodes/agents/Agent/agents/utils.d.ts +1 -6
  218. package/dist/nodes/agents/Agent/agents/utils.js +0 -20
  219. package/dist/nodes/agents/Agent/agents/utils.js.map +1 -1
  220. package/dist/nodes/agents/Agent/utils.d.ts +2 -1
  221. package/dist/nodes/agents/Agent/utils.js +23 -2
  222. package/dist/nodes/agents/Agent/utils.js.map +1 -1
  223. package/dist/nodes/chains/ChainSummarization/V1/ChainSummarizationV1.node.js +1 -1
  224. package/dist/nodes/chains/ChainSummarization/V1/ChainSummarizationV1.node.js.map +1 -1
  225. package/dist/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.js +1 -1
  226. package/dist/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.js.map +1 -1
  227. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.js +1 -1
  228. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.js.map +1 -1
  229. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/foundry.svg +1 -0
  230. package/dist/nodes/llms/LmChatAlibabaCloud/LmChatAlibabaCloud.node.js +1 -1
  231. package/dist/nodes/llms/LmChatAlibabaCloud/LmChatAlibabaCloud.node.js.map +1 -1
  232. package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js +7 -2
  233. package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js.map +1 -1
  234. package/dist/nodes/llms/LmChatAzureOpenAi/foundry.svg +1 -0
  235. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js +1 -1
  236. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js.map +1 -1
  237. package/dist/nodes/llms/LmChatAzureOpenAi/types.d.ts +1 -2
  238. package/dist/nodes/llms/LmChatAzureOpenAi/types.js +2 -1
  239. package/dist/nodes/llms/LmChatAzureOpenAi/types.js.map +1 -1
  240. package/dist/nodes/mcp/McpTrigger/McpTrigger.node.d.ts +6 -0
  241. package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js +16 -0
  242. package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js.map +1 -1
  243. package/dist/nodes/mcp/shared/runtime.d.ts +2 -2
  244. package/dist/nodes/mcp/shared/types.d.ts +2 -2
  245. package/dist/nodes/mcp/shared/types.js.map +1 -1
  246. package/dist/nodes/mcp/shared/utils.d.ts +8 -3
  247. package/dist/nodes/mcp/shared/utils.js +51 -5
  248. package/dist/nodes/mcp/shared/utils.js.map +1 -1
  249. package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js +0 -1
  250. package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js.map +1 -1
  251. package/dist/nodes/memory/MemoryXata/MemoryXata.node.js +0 -1
  252. package/dist/nodes/memory/MemoryXata/MemoryXata.node.js.map +1 -1
  253. package/dist/nodes/trigger/ChatTrigger/Chat.node.js +0 -3
  254. package/dist/nodes/trigger/ChatTrigger/Chat.node.js.map +1 -1
  255. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js +10 -4
  256. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js.map +1 -1
  257. package/dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.js +174 -22
  258. package/dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.js.map +1 -1
  259. package/dist/nodes/vendors/AlibabaCloud/actions/text/message.operation.js +1 -1
  260. package/dist/nodes/vendors/AlibabaCloud/actions/text/message.operation.js.map +1 -1
  261. package/dist/nodes/vendors/AlibabaCloud/actions/versionDescription.js +11 -1
  262. package/dist/nodes/vendors/AlibabaCloud/actions/versionDescription.js.map +1 -1
  263. package/dist/nodes/vendors/Databricks/mlflow/trace-writer.js +2 -1
  264. package/dist/nodes/vendors/Databricks/mlflow/trace-writer.js.map +1 -1
  265. package/dist/nodes/vendors/Microsoft/langchain-utils.js +1 -1
  266. package/dist/nodes/vendors/Microsoft/langchain-utils.js.map +1 -1
  267. package/dist/nodes/{agents/Agent/agents/ConversationalAgent → vendors/Microsoft}/prompt.d.ts +0 -1
  268. package/dist/nodes/{agents/Agent/agents/ConversationalAgent → vendors/Microsoft}/prompt.js +1 -14
  269. package/dist/nodes/vendors/Microsoft/prompt.js.map +1 -0
  270. package/dist/typecheck.tsbuildinfo +1 -1
  271. package/dist/types/credentials.json +3 -6
  272. package/dist/types/nodes.json +34 -56
  273. package/dist/utils/agent-execution/types.d.ts +1 -0
  274. package/dist/utils/agent-execution/types.js.map +1 -1
  275. package/dist/utils/helpers.js +2 -2
  276. package/dist/utils/helpers.js.map +1 -1
  277. package/dist/utils/output_parsers/langchainParserError.js +22 -3
  278. package/dist/utils/output_parsers/langchainParserError.js.map +1 -1
  279. package/package.json +18 -50
  280. package/dist/credentials/MotorheadApi.credentials.d.ts +0 -9
  281. package/dist/credentials/MotorheadApi.credentials.js +0 -49
  282. package/dist/credentials/MotorheadApi.credentials.js.map +0 -1
  283. package/dist/credentials/SerpApi.credentials.d.ts +0 -9
  284. package/dist/credentials/SerpApi.credentials.js +0 -42
  285. package/dist/credentials/SerpApi.credentials.js.map +0 -1
  286. package/dist/credentials/ZepApi.credentials.d.ts +0 -9
  287. package/dist/credentials/ZepApi.credentials.js +0 -61
  288. package/dist/credentials/ZepApi.credentials.js.map +0 -1
  289. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/index.ts +0 -18
  290. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/index.ts +0 -21
  291. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/index.ts +0 -21
  292. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/index.ts +0 -21
  293. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/index.ts +0 -21
  294. package/dist/nodes/agents/Agent/V1/AgentV1.node.d.ts +0 -6
  295. package/dist/nodes/agents/Agent/V1/AgentV1.node.js +0 -422
  296. package/dist/nodes/agents/Agent/V1/AgentV1.node.js.map +0 -1
  297. package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.d.ts +0 -2
  298. package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.js +0 -220
  299. package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.js.map +0 -1
  300. package/dist/nodes/agents/Agent/agents/ConversationalAgent/execute.d.ts +0 -2
  301. package/dist/nodes/agents/Agent/agents/ConversationalAgent/execute.js +0 -96
  302. package/dist/nodes/agents/Agent/agents/ConversationalAgent/execute.js.map +0 -1
  303. package/dist/nodes/agents/Agent/agents/ConversationalAgent/prompt.js.map +0 -1
  304. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.d.ts +0 -2
  305. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.js +0 -210
  306. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.js.map +0 -1
  307. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/execute.d.ts +0 -2
  308. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/execute.js +0 -8
  309. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/execute.js.map +0 -1
  310. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/prompt.d.ts +0 -1
  311. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/prompt.js +0 -5
  312. package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/prompt.js.map +0 -1
  313. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.d.ts +0 -2
  314. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.js +0 -196
  315. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.js.map +0 -1
  316. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.d.ts +0 -2
  317. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.js +0 -79
  318. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.js.map +0 -1
  319. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/prompt.d.ts +0 -1
  320. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/prompt.js +0 -11
  321. package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/prompt.js.map +0 -1
  322. package/dist/nodes/agents/Agent/agents/ReActAgent/description.d.ts +0 -2
  323. package/dist/nodes/agents/Agent/agents/ReActAgent/description.js +0 -240
  324. package/dist/nodes/agents/Agent/agents/ReActAgent/description.js.map +0 -1
  325. package/dist/nodes/agents/Agent/agents/ReActAgent/execute.d.ts +0 -2
  326. package/dist/nodes/agents/Agent/agents/ReActAgent/execute.js +0 -102
  327. package/dist/nodes/agents/Agent/agents/ReActAgent/execute.js.map +0 -1
  328. package/dist/nodes/agents/Agent/agents/ReActAgent/prompt.d.ts +0 -4
  329. package/dist/nodes/agents/Agent/agents/ReActAgent/prompt.js +0 -11
  330. package/dist/nodes/agents/Agent/agents/ReActAgent/prompt.js.map +0 -1
  331. package/dist/nodes/agents/Agent/agents/SqlAgent/description.d.ts +0 -2
  332. package/dist/nodes/agents/Agent/agents/SqlAgent/description.js +0 -329
  333. package/dist/nodes/agents/Agent/agents/SqlAgent/description.js.map +0 -1
  334. package/dist/nodes/agents/Agent/agents/SqlAgent/execute.d.ts +0 -3
  335. package/dist/nodes/agents/Agent/agents/SqlAgent/execute.js +0 -169
  336. package/dist/nodes/agents/Agent/agents/SqlAgent/execute.js.map +0 -1
  337. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/mysql.d.ts +0 -3
  338. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/mysql.js +0 -20
  339. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/mysql.js.map +0 -1
  340. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/postgres.d.ts +0 -3
  341. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/postgres.js +0 -21
  342. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/postgres.js.map +0 -1
  343. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/sqlite.d.ts +0 -3
  344. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/sqlite.js +0 -72
  345. package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/sqlite.js.map +0 -1
  346. package/dist/nodes/agents/Agent/agents/SqlAgent/other/prompts.d.ts +0 -2
  347. package/dist/nodes/agents/Agent/agents/SqlAgent/other/prompts.js +0 -23
  348. package/dist/nodes/agents/Agent/agents/SqlAgent/other/prompts.js.map +0 -1
  349. package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/description.d.ts +0 -2
  350. package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/description.js +0 -20
  351. package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/description.js.map +0 -1
  352. package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/execute.d.ts +0 -2
  353. package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/execute.js +0 -98
  354. package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/execute.js.map +0 -1
  355. package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.d.ts +0 -5
  356. package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js +0 -388
  357. package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js.map +0 -1
  358. package/dist/nodes/agents/OpenAiAssistant/utils.d.ts +0 -5
  359. package/dist/nodes/agents/OpenAiAssistant/utils.js +0 -35
  360. package/dist/nodes/agents/OpenAiAssistant/utils.js.map +0 -1
  361. package/dist/nodes/code/Code.node.d.ts +0 -10
  362. package/dist/nodes/code/Code.node.js +0 -381
  363. package/dist/nodes/code/Code.node.js.map +0 -1
  364. package/dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.d.ts +0 -7
  365. package/dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.js +0 -174
  366. package/dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.js.map +0 -1
  367. package/dist/nodes/document_loaders/DocumentBinaryInputLoader/binary.svg +0 -1
  368. package/dist/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.d.ts +0 -5
  369. package/dist/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.js +0 -170
  370. package/dist/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.js.map +0 -1
  371. package/dist/nodes/document_loaders/DocumentGithubLoader/github.svg +0 -1
  372. package/dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.d.ts +0 -5
  373. package/dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.js +0 -84
  374. package/dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.js.map +0 -1
  375. package/dist/nodes/document_loaders/DocumentJSONInputLoader/json.svg +0 -1
  376. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/azure.svg +0 -1
  377. package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.d.ts +0 -15
  378. package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.js +0 -247
  379. package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.js.map +0 -1
  380. package/dist/nodes/llms/LMOpenAi/openAiLight.dark.svg +0 -3
  381. package/dist/nodes/llms/LMOpenAi/openAiLight.svg +0 -3
  382. package/dist/nodes/llms/LmChatAzureOpenAi/azure.svg +0 -1
  383. package/dist/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.d.ts +0 -5
  384. package/dist/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.js +0 -93
  385. package/dist/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.js.map +0 -1
  386. package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.d.ts +0 -5
  387. package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js +0 -119
  388. package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js.map +0 -1
  389. package/dist/nodes/memory/MemoryZep/MemoryZep.node.d.ts +0 -5
  390. package/dist/nodes/memory/MemoryZep/MemoryZep.node.js +0 -151
  391. package/dist/nodes/memory/MemoryZep/MemoryZep.node.js.map +0 -1
  392. package/dist/nodes/memory/MemoryZep/zep.png +0 -0
  393. package/dist/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.d.ts +0 -5
  394. package/dist/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.js +0 -344
  395. package/dist/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.js.map +0 -1
  396. package/dist/nodes/tools/ToolHttpRequest/descriptions.d.ts +0 -7
  397. package/dist/nodes/tools/ToolHttpRequest/descriptions.js +0 -389
  398. package/dist/nodes/tools/ToolHttpRequest/descriptions.js.map +0 -1
  399. package/dist/nodes/tools/ToolHttpRequest/httprequest.dark.svg +0 -3
  400. package/dist/nodes/tools/ToolHttpRequest/httprequest.svg +0 -1
  401. package/dist/nodes/tools/ToolHttpRequest/interfaces.d.ts +0 -20
  402. package/dist/nodes/tools/ToolHttpRequest/interfaces.js +0 -3
  403. package/dist/nodes/tools/ToolHttpRequest/interfaces.js.map +0 -1
  404. package/dist/nodes/tools/ToolHttpRequest/utils.d.ts +0 -25
  405. package/dist/nodes/tools/ToolHttpRequest/utils.js +0 -671
  406. package/dist/nodes/tools/ToolHttpRequest/utils.js.map +0 -1
  407. package/dist/nodes/tools/ToolSerpApi/ToolSerpApi.node.d.ts +0 -6
  408. package/dist/nodes/tools/ToolSerpApi/ToolSerpApi.node.js +0 -143
  409. package/dist/nodes/tools/ToolSerpApi/ToolSerpApi.node.js.map +0 -1
  410. package/dist/nodes/tools/ToolSerpApi/serpApi.svg +0 -1
  411. package/dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.d.ts +0 -5
  412. package/dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.js +0 -67
  413. package/dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.js.map +0 -1
  414. package/dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.d.ts +0 -5
  415. package/dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.js +0 -86
  416. package/dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.js.map +0 -1
  417. package/dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.d.ts +0 -5
  418. package/dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.js +0 -65
  419. package/dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.js.map +0 -1
  420. package/dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.d.ts +0 -11
  421. package/dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js +0 -113
  422. package/dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js.map +0 -1
  423. package/dist/nodes/vector_store/VectorStorePineconeInsert/pinecone.svg +0 -1
  424. package/dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.d.ts +0 -11
  425. package/dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.js +0 -100
  426. package/dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.js.map +0 -1
  427. package/dist/nodes/vector_store/VectorStorePineconeLoad/pinecone.svg +0 -1
  428. package/dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.d.ts +0 -11
  429. package/dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.js +0 -103
  430. package/dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.js.map +0 -1
  431. package/dist/nodes/vector_store/VectorStoreSupabaseInsert/supabase.svg +0 -1
  432. package/dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.d.ts +0 -11
  433. package/dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.js +0 -96
  434. package/dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.js.map +0 -1
  435. package/dist/nodes/vector_store/VectorStoreSupabaseLoad/supabase.svg +0 -1
  436. package/dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.d.ts +0 -29
  437. package/dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.js +0 -130
  438. package/dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.js.map +0 -1
  439. package/dist/nodes/vector_store/VectorStoreZep/zep.png +0 -0
  440. package/dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.d.ts +0 -5
  441. package/dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.js +0 -122
  442. package/dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.js.map +0 -1
  443. package/dist/nodes/vector_store/VectorStoreZepInsert/zep.png +0 -0
  444. package/dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.d.ts +0 -5
  445. package/dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.js +0 -103
  446. package/dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.js.map +0 -1
  447. package/dist/nodes/vector_store/VectorStoreZepLoad/zep.png +0 -0
@@ -5,16 +5,7 @@
5
5
 
6
6
 
7
7
  export interface LcAgentV19Params {
8
- /**
9
- * Agent
10
- * @default toolsAgent
11
- */
12
- agent?: unknown;
13
- /**
14
- * Source for Prompt (User Message)
15
- * @default auto
16
- */
17
- promptType?: 'auto' | 'guardrails' | 'define' | Expression<string>;
8
+ promptType?: 'auto' | 'guardrails' | 'define' | Expression<string>;
18
9
  /**
19
10
  * Prompt (User Message)
20
11
  * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
@@ -23,15 +14,9 @@ export interface LcAgentV19Params {
23
14
  * @required when the displayOptions conditions above match
24
15
  */
25
16
  text?: string | Expression<string>;
26
- /**
27
- * Require Specific Output Format
28
- * @displayOptions.hide { agent: ["sqlAgent"] }
29
- * @default false
30
- */
31
- hasOutputParser?: boolean;
17
+ hasOutputParser?: boolean;
32
18
  /**
33
19
  * Options
34
- * @displayOptions.show { agent: ["toolsAgent"] }
35
20
  * @default {}
36
21
  */
37
22
  options?: {
@@ -94,57 +79,20 @@ export interface LcAgentV19Params {
94
79
  objectValue?: IDataObject | string | Expression<string>;
95
80
  }>;
96
81
  };
97
- /** The message that will provide the agent with a list of tools to use
98
- */
99
- humanMessage?: string | Expression<string>;
100
- /** String to use directly as the human message template
101
- */
102
- humanMessageTemplate?: string | Expression<string>;
103
- /** String to put before the list of tools
104
- * @default Answer the following questions as best you can. You have access to the following tools:
105
- */
106
- prefix?: string | Expression<string>;
107
- /** String to put after the list of tools that will be used if chat model is used
108
- * @default Begin! Reminder to always use the exact characters `Final Answer` when responding.
109
- */
110
- suffixChat?: string | Expression<string>;
111
- /** String to put after the list of tools that will be used if regular model is used
112
- */
113
- suffix?: string | Expression<string>;
114
- /** Comma-separated list of tables to ignore from the database. If empty, no tables are ignored.
115
- */
116
- ignoredTables?: string | Expression<string>;
117
- /** Number of sample rows to include in the prompt to the agent. It helps the agent to understand the schema of the database but it also increases the amount of tokens used.
118
- * @default 3
119
- */
120
- includedSampleRows?: number | Expression<number>;
121
- /** Comma-separated list of tables to include in the database. If empty, all tables are included.
122
- */
123
- includedTables?: string | Expression<string>;
124
- /** Prefix prompt to use for the agent
82
+ /** Batch processing options for rate limiting
83
+ * @default {}
125
84
  */
126
- prefixPrompt?: string | Expression<string>;
127
- /** Suffix prompt to use for the agent
85
+ batching?: {
86
+ /** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
87
+ * @default 1
128
88
  */
129
- suffixPrompt?: string | Expression<string>;
130
- /** The maximum number of results to return
131
- * @default 10
89
+ batchSize?: number | Expression<number>;
90
+ /** Delay in milliseconds between batches. This is useful for rate limiting.
91
+ * @default 0
132
92
  */
133
- topK?: number | Expression<number>;
93
+ delayBetweenBatches?: number | Expression<number>;
94
+ };
134
95
  };
135
- /**
136
- * SQL database to connect to
137
- * @displayOptions.show { agent: ["sqlAgent"] }
138
- * @default postgres
139
- */
140
- dataSource?: 'mysql' | 'postgres' | 'sqlite' | Expression<string>;
141
- /**
142
- * Input Binary Field
143
- * @hint The name of the input binary field containing the file to be extracted
144
- * @displayOptions.show { agent: ["sqlAgent"], dataSource: ["sqlite"] }
145
- * @default data
146
- */
147
- binaryPropertyName?: string | Expression<string>;
148
96
  }
149
97
 
150
98
  export interface LcAgentV19SubnodeConfig {
@@ -157,11 +105,6 @@ export interface LcAgentV19SubnodeConfig {
157
105
  outputParser?: OutputParserInstance;
158
106
  }
159
107
 
160
- export interface LcAgentV19Credentials {
161
- mySql: CredentialReference;
162
- postgres: CredentialReference;
163
- }
164
-
165
108
  interface LcAgentV19NodeBase {
166
109
  type: '@n8n/n8n-nodes-langchain.agent';
167
110
  version: 1.9;
@@ -169,7 +112,7 @@ interface LcAgentV19NodeBase {
169
112
  }
170
113
 
171
114
  export type LcAgentV19ParamsNode = LcAgentV19NodeBase & {
172
- config: NodeConfig<LcAgentV19Params> & { credentials?: LcAgentV19Credentials } & { subnodes: LcAgentV19SubnodeConfig };
115
+ config: NodeConfig<LcAgentV19Params> & { subnodes: LcAgentV19SubnodeConfig };
173
116
  };
174
117
 
175
118
  export type LcAgentV19Node = LcAgentV19ParamsNode;
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
- trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
29
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
30
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
31
31
  availableInChat: z.boolean().optional(),
@@ -30,12 +30,12 @@ export interface LcChatTriggerV1Params {
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
32
  /**
33
- * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
33
+ * The identity provider the visitor signs in with
34
34
  * @loadOptionsMethod listTrustedSources
35
35
  * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
36
  * @default n8n-internal
37
37
  */
38
- trustedSource?: string | Expression<string>;
38
+ trustedSource?: string;
39
39
  /**
40
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
41
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -106,7 +106,7 @@ export interface LcChatTriggerV1Params {
106
106
  */
107
107
  customCss?: string | Expression<string>;
108
108
  /** When and how to respond to the webhook
109
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
109
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
110
110
  * @default lastNode
111
111
  */
112
112
  responseMode?: 'lastNode' | 'responseNode' | Expression<string>;
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
- trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
29
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
30
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
31
31
  availableInChat: z.boolean().optional(),
@@ -30,12 +30,12 @@ export interface LcChatTriggerV11Params {
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
32
  /**
33
- * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
33
+ * The identity provider the visitor signs in with
34
34
  * @loadOptionsMethod listTrustedSources
35
35
  * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
36
  * @default n8n-internal
37
37
  */
38
- trustedSource?: string | Expression<string>;
38
+ trustedSource?: string;
39
39
  /**
40
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
41
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -106,7 +106,7 @@ export interface LcChatTriggerV11Params {
106
106
  */
107
107
  customCss?: string | Expression<string>;
108
108
  /** When and how to respond to the webhook
109
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
109
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
110
110
  * @default lastNode
111
111
  */
112
112
  responseMode?: 'lastNode' | 'responseNode' | Expression<string>;
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
- trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
29
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
30
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
31
31
  availableInChat: z.boolean().optional(),
@@ -30,12 +30,12 @@ export interface LcChatTriggerV12Params {
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
32
  /**
33
- * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
33
+ * The identity provider the visitor signs in with
34
34
  * @loadOptionsMethod listTrustedSources
35
35
  * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
36
  * @default n8n-internal
37
37
  */
38
- trustedSource?: string | Expression<string>;
38
+ trustedSource?: string;
39
39
  /**
40
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
41
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -143,13 +143,13 @@ export interface LcChatTriggerV12Params {
143
143
  customCss?: string | Expression<string>;
144
144
  responseMode?:
145
145
  /** When and how to respond to the webhook
146
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
146
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
147
147
  * @displayOptions.show { /availableInChat: [false] }
148
148
  * @default lastNode
149
149
  */
150
150
  | 'lastNode' | 'responseNode' | 'streaming' | Expression<string>
151
151
  /** When and how to respond to the webhook
152
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
152
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
153
153
  * @displayOptions.show { /availableInChat: [true] }
154
154
  * @default streaming
155
155
  */
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
- trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
29
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
30
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
31
31
  availableInChat: z.boolean().optional(),
@@ -33,7 +33,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
33
33
  agentName: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
34
34
  agentDescription: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
35
35
  suggestedPrompts: resolveSchema({ parameters, schema: z.object({ prompts: z.array(z.object({ icon: z.object({ type: z.union([z.literal('icon'), z.literal('emoji')]), value: z.string() }).optional(), text: z.string().optional() })).optional() }), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
36
- options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
36
+ options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
37
37
  });
38
38
 
39
39
  // Return combined config schema
@@ -30,12 +30,12 @@ export interface LcChatTriggerV13Params {
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
32
  /**
33
- * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
33
+ * The identity provider the visitor signs in with
34
34
  * @loadOptionsMethod listTrustedSources
35
35
  * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
36
  * @default n8n-internal
37
37
  */
38
- trustedSource?: string | Expression<string>;
38
+ trustedSource?: string;
39
39
  /**
40
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
41
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -102,13 +102,13 @@ export interface LcChatTriggerV13Params {
102
102
  allowedFilesMimeTypes?: string | Expression<string>;
103
103
  responseMode?:
104
104
  /** When and how to respond to the chat
105
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
105
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
106
106
  * @displayOptions.show { /availableInChat: [false] }
107
107
  * @default lastNode
108
108
  */
109
109
  | 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
110
110
  /** When and how to respond to the chat
111
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
111
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
112
112
  * @displayOptions.show { /availableInChat: [true] }
113
113
  * @default streaming
114
114
  */
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
- trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
29
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
30
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
31
31
  availableInChat: z.boolean().optional(),
@@ -33,7 +33,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
33
33
  agentName: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
34
34
  agentDescription: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
35
35
  suggestedPrompts: resolveSchema({ parameters, schema: z.object({ prompts: z.array(z.object({ icon: z.object({ type: z.union([z.literal('icon'), z.literal('emoji')]), value: z.string() }).optional(), text: z.string().optional() })).optional() }), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
36
- options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
36
+ options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
37
37
  });
38
38
 
39
39
  // Return combined config schema
@@ -30,12 +30,12 @@ export interface LcChatTriggerV14Params {
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
32
  /**
33
- * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
33
+ * The identity provider the visitor signs in with
34
34
  * @loadOptionsMethod listTrustedSources
35
35
  * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
36
  * @default n8n-internal
37
37
  */
38
- trustedSource?: string | Expression<string>;
38
+ trustedSource?: string;
39
39
  /**
40
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
41
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -102,13 +102,13 @@ export interface LcChatTriggerV14Params {
102
102
  allowedFilesMimeTypes?: string | Expression<string>;
103
103
  responseMode?:
104
104
  /** When and how to respond to the chat
105
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
105
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
106
106
  * @displayOptions.show { /availableInChat: [false] }
107
107
  * @default lastNode
108
108
  */
109
109
  | 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
110
110
  /** When and how to respond to the chat
111
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
111
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
112
112
  * @displayOptions.show { /availableInChat: [true] }
113
113
  * @default streaming
114
114
  */
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
- trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
29
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
30
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
31
31
  availableInChat: z.boolean().optional(),
@@ -33,7 +33,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
33
33
  agentName: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
34
34
  agentDescription: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
35
35
  suggestedPrompts: resolveSchema({ parameters, schema: z.object({ prompts: z.array(z.object({ icon: z.object({ type: z.union([z.literal('icon'), z.literal('emoji')]), value: z.string() }).optional(), text: z.string().optional() })).optional() }), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
36
- options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
36
+ options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
37
37
  });
38
38
 
39
39
  // Return combined config schema
@@ -30,12 +30,12 @@ export interface LcChatTriggerV15Params {
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
32
  /**
33
- * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
33
+ * The identity provider the visitor signs in with
34
34
  * @loadOptionsMethod listTrustedSources
35
35
  * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
36
  * @default n8n-internal
37
37
  */
38
- trustedSource?: string | Expression<string>;
38
+ trustedSource?: string;
39
39
  /**
40
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
41
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -102,13 +102,13 @@ export interface LcChatTriggerV15Params {
102
102
  allowedFilesMimeTypes?: string | Expression<string>;
103
103
  responseMode?:
104
104
  /** When and how to respond to the chat
105
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
105
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
106
106
  * @displayOptions.show { /availableInChat: [false] }
107
107
  * @default lastNode
108
108
  */
109
109
  | 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
110
110
  /** When and how to respond to the chat
111
- * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes' / 'responseNode': requires explicit response nodes inside the flow (`@n8n/n8n-nodes-langchain.chat` for chat-hub mode, `n8n-nodes-base.respondToWebhook` for webhook mode).
111
+ * @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '&lt;reply text&gt;' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
112
112
  * @displayOptions.show { /availableInChat: [true] }
113
113
  * @default streaming
114
114
  */
@@ -21,6 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
21
21
  const parametersSchema = z.object({
22
22
  authentication: z.union([z.literal('none'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
23
23
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
24
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
24
25
  path: stringOrExpression,
25
26
  instructions: stringOrExpression.optional(),
26
27
  });
@@ -17,6 +17,13 @@ export interface LcMcpTriggerV1Params {
17
17
  * @default true
18
18
  */
19
19
  requireExecuteAccess?: boolean | Expression<boolean>;
20
+ /**
21
+ * The identity provider whose access tokens can call this MCP server
22
+ * @loadOptionsMethod listTrustedSources
23
+ * @displayOptions.show { authentication: ["n8nOAuth2"] }
24
+ * @default n8n-internal
25
+ */
26
+ trustedSource?: string;
20
27
  /**
21
28
  * The base path for this MCP server
22
29
  */
@@ -21,6 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
21
21
  const parametersSchema = z.object({
22
22
  authentication: z.union([z.literal('none'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
23
23
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
24
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
24
25
  path: stringOrExpression,
25
26
  instructions: stringOrExpression.optional(),
26
27
  });
@@ -17,6 +17,13 @@ export interface LcMcpTriggerV11Params {
17
17
  * @default true
18
18
  */
19
19
  requireExecuteAccess?: boolean | Expression<boolean>;
20
+ /**
21
+ * The identity provider whose access tokens can call this MCP server
22
+ * @loadOptionsMethod listTrustedSources
23
+ * @displayOptions.show { authentication: ["n8nOAuth2"] }
24
+ * @default n8n-internal
25
+ */
26
+ trustedSource?: string;
20
27
  /**
21
28
  * The base path for this MCP server
22
29
  */
@@ -21,6 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
21
21
  const parametersSchema = z.object({
22
22
  authentication: z.union([z.literal('none'), z.literal('n8nOAuth2'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
23
23
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
24
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
24
25
  path: stringOrExpression,
25
26
  instructions: stringOrExpression.optional(),
26
27
  });
@@ -17,6 +17,13 @@ export interface LcMcpTriggerV2Params {
17
17
  * @default true
18
18
  */
19
19
  requireExecuteAccess?: boolean | Expression<boolean>;
20
+ /**
21
+ * The identity provider whose access tokens can call this MCP server
22
+ * @loadOptionsMethod listTrustedSources
23
+ * @displayOptions.show { authentication: ["n8nOAuth2"] }
24
+ * @default n8n-internal
25
+ */
26
+ trustedSource?: string;
20
27
  /**
21
28
  * The base path for this MCP server
22
29
  */
@@ -21,6 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
21
21
  const parametersSchema = z.object({
22
22
  authentication: z.union([z.literal('none'), z.literal('n8nOAuth2'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
23
23
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
24
+ trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
24
25
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
25
26
  path: stringOrExpression,
26
27
  instructions: stringOrExpression.optional(),
@@ -17,6 +17,13 @@ export interface LcMcpTriggerV21Params {
17
17
  * @default true
18
18
  */
19
19
  requireExecuteAccess?: boolean | Expression<boolean>;
20
+ /**
21
+ * The identity provider whose access tokens can call this MCP server
22
+ * @loadOptionsMethod listTrustedSources
23
+ * @displayOptions.show { authentication: ["n8nOAuth2"] }
24
+ * @default n8n-internal
25
+ */
26
+ trustedSource?: string;
20
27
  /**
21
28
  * Whether to include the calling user's ID, email and name in the trigger output and in the request the connected tools receive
22
29
  * @displayOptions.show { authentication: ["n8nOAuth2"] }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Databricks Lakebase Chat Memory Node Types
3
+ *
4
+ * Re-exports all version-specific types and provides combined union type.
5
+ */
6
+
7
+ import type { LcMemoryLakebaseChatV1Node } from './v1';
8
+
9
+ export * from './v1';
10
+
11
+ // Combined union type for all versions
12
+ export type LcMemoryLakebaseChatNode = LcMemoryLakebaseChatV1Node;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Databricks Lakebase Chat Memory Node - Version 1 - Zod Validation Schemas
3
+ *
4
+ * These schemas validate node configuration at runtime.
5
+ * Use .parse() for strict validation or .safeParse() for error handling.
6
+ *
7
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
8
+ * by the schema-validator, not imported from external files.
9
+ *
10
+ * @generated - CommonJS JavaScript for runtime loading
11
+ */
12
+
13
+ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
14
+
15
+ // Parameters schema
16
+ const parametersSchema = z.object({
17
+ authentication: z.unknown().optional(),
18
+ lakebaseProject: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
19
+ lakebaseBranch: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
20
+ lakebaseDatabase: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
21
+ lakebaseSchema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
22
+ lakebaseTable: stringOrExpression.optional(),
23
+ sessionIdType: z.union([z.literal('fromInput'), z.literal('customKey'), expressionSchema]).optional(),
24
+ sessionKey: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"sessionIdType":["customKey"]}}, defaults: {"sessionIdType":"fromInput"} }),
25
+ contextWindowLength: numberOrExpression.optional(),
26
+ });
27
+
28
+ // Return combined config schema
29
+ return z.object({
30
+ parameters: parametersSchema.nullable().optional(),
31
+ });
32
+ };