@n8n/n8n-nodes-langchain 2.45.3 → 2.46.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 (239) hide show
  1. package/dist/methods/defined.json +3 -0
  2. package/dist/methods/referenced.json +3 -0
  3. package/dist/node-definitions/.nodes-hash +1 -1
  4. package/dist/node-definitions/index.ts +4 -0
  5. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.schema.js +1 -1
  6. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.ts +3 -3
  7. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.schema.js +1 -1
  8. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.ts +3 -3
  9. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.schema.js +1 -1
  10. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.ts +4 -4
  11. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.schema.js +2 -2
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.ts +4 -4
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.schema.js +2 -2
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.ts +4 -4
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.schema.js +2 -2
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.ts +4 -4
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.schema.js +1 -0
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.ts +7 -0
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.schema.js +1 -0
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.ts +7 -0
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.schema.js +1 -0
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.ts +7 -0
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.schema.js +1 -0
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.ts +7 -0
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/index.ts +12 -0
  26. package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/v1.schema.js +32 -0
  27. package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/v1.ts +70 -0
  28. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/index.ts +3 -1
  29. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/index.schema.js +28 -0
  30. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/index.ts +24 -0
  31. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_insert.schema.js +30 -0
  32. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_insert.ts +68 -0
  33. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_load.schema.js +35 -0
  34. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_load.ts +89 -0
  35. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve.schema.js +32 -0
  36. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve.ts +80 -0
  37. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve_as_tool.schema.js +35 -0
  38. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve_as_tool.ts +99 -0
  39. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_update.schema.js +28 -0
  40. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_update.ts +49 -0
  41. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/index.ts +3 -1
  42. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/index.schema.js +26 -0
  43. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/index.ts +21 -0
  44. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_insert.schema.js +31 -0
  45. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_insert.ts +63 -0
  46. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_load.schema.js +36 -0
  47. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_load.ts +91 -0
  48. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve.schema.js +33 -0
  49. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve.ts +82 -0
  50. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve_as_tool.schema.js +36 -0
  51. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve_as_tool.ts +101 -0
  52. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/index.ts +3 -1
  53. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/index.schema.js +26 -0
  54. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/index.ts +21 -0
  55. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_insert.schema.js +30 -0
  56. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_insert.ts +56 -0
  57. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_load.schema.js +36 -0
  58. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_load.ts +92 -0
  59. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve.schema.js +33 -0
  60. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve.ts +83 -0
  61. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve_as_tool.schema.js +36 -0
  62. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve_as_tool.ts +102 -0
  63. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/index.ts +3 -1
  64. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/index.schema.js +26 -0
  65. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/index.ts +21 -0
  66. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_insert.schema.js +30 -0
  67. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_insert.ts +57 -0
  68. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_load.schema.js +34 -0
  69. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_load.ts +69 -0
  70. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve.schema.js +31 -0
  71. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve.ts +60 -0
  72. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve_as_tool.schema.js +34 -0
  73. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve_as_tool.ts +79 -0
  74. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/index.ts +3 -1
  75. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/index.schema.js +26 -0
  76. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/index.ts +21 -0
  77. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_insert.schema.js +30 -0
  78. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_insert.ts +61 -0
  79. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_load.schema.js +34 -0
  80. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_load.ts +68 -0
  81. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve.schema.js +31 -0
  82. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve.ts +59 -0
  83. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve_as_tool.schema.js +34 -0
  84. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve_as_tool.ts +78 -0
  85. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/index.ts +3 -1
  86. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/index.schema.js +28 -0
  87. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/index.ts +24 -0
  88. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_insert.schema.js +33 -0
  89. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_insert.ts +78 -0
  90. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_load.schema.js +38 -0
  91. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_load.ts +114 -0
  92. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve.schema.js +35 -0
  93. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve.ts +105 -0
  94. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve_as_tool.schema.js +38 -0
  95. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve_as_tool.ts +124 -0
  96. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_update.schema.js +31 -0
  97. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_update.ts +59 -0
  98. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/index.ts +3 -1
  99. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/index.schema.js +26 -0
  100. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/index.ts +21 -0
  101. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_insert.schema.js +30 -0
  102. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_insert.ts +60 -0
  103. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_load.schema.js +35 -0
  104. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_load.ts +97 -0
  105. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_retrieve.schema.js +32 -0
  106. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_retrieve.ts +88 -0
  107. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_retrieve_as_tool.schema.js +35 -0
  108. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_retrieve_as_tool.ts +107 -0
  109. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/index.ts +3 -1
  110. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/index.schema.js +26 -0
  111. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/index.ts +21 -0
  112. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_insert.schema.js +30 -0
  113. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_insert.ts +113 -0
  114. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_load.schema.js +35 -0
  115. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_load.ts +149 -0
  116. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve.schema.js +32 -0
  117. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve.ts +140 -0
  118. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve_as_tool.schema.js +35 -0
  119. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve_as_tool.ts +159 -0
  120. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/index.ts +3 -1
  121. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/index.schema.js +28 -0
  122. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/index.ts +24 -0
  123. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_insert.schema.js +30 -0
  124. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_insert.ts +64 -0
  125. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_load.schema.js +35 -0
  126. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_load.ts +92 -0
  127. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve.schema.js +32 -0
  128. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve.ts +83 -0
  129. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve_as_tool.schema.js +35 -0
  130. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve_as_tool.ts +102 -0
  131. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_update.schema.js +28 -0
  132. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_update.ts +45 -0
  133. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/index.ts +3 -1
  134. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/index.schema.js +26 -0
  135. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/index.ts +21 -0
  136. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_insert.schema.js +30 -0
  137. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_insert.ts +68 -0
  138. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_load.schema.js +35 -0
  139. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_load.ts +85 -0
  140. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve.schema.js +32 -0
  141. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve.ts +76 -0
  142. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve_as_tool.schema.js +35 -0
  143. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve_as_tool.ts +95 -0
  144. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/index.ts +3 -1
  145. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/index.schema.js +28 -0
  146. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/index.ts +24 -0
  147. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_insert.schema.js +30 -0
  148. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_insert.ts +80 -0
  149. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_load.schema.js +35 -0
  150. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_load.ts +94 -0
  151. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve.schema.js +32 -0
  152. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve.ts +85 -0
  153. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve_as_tool.schema.js +35 -0
  154. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve_as_tool.ts +104 -0
  155. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_update.schema.js +28 -0
  156. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_update.ts +45 -0
  157. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/index.ts +3 -1
  158. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/index.schema.js +28 -0
  159. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/index.ts +24 -0
  160. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_insert.schema.js +30 -0
  161. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_insert.ts +61 -0
  162. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_load.schema.js +35 -0
  163. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_load.ts +93 -0
  164. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve.schema.js +32 -0
  165. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve.ts +84 -0
  166. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve_as_tool.schema.js +35 -0
  167. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve_as_tool.ts +103 -0
  168. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_update.schema.js +29 -0
  169. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_update.ts +55 -0
  170. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/index.ts +3 -1
  171. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/index.schema.js +26 -0
  172. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/index.ts +21 -0
  173. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_insert.schema.js +30 -0
  174. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_insert.ts +87 -0
  175. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_load.schema.js +35 -0
  176. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_load.ts +131 -0
  177. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve.schema.js +32 -0
  178. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve.ts +122 -0
  179. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve_as_tool.schema.js +35 -0
  180. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve_as_tool.ts +141 -0
  181. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/index.ts +3 -1
  182. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/index.schema.js +26 -0
  183. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/index.ts +21 -0
  184. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_insert.schema.js +30 -0
  185. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_insert.ts +65 -0
  186. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_load.schema.js +35 -0
  187. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_load.ts +93 -0
  188. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve.schema.js +32 -0
  189. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve.ts +84 -0
  190. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve_as_tool.schema.js +35 -0
  191. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve_as_tool.ts +103 -0
  192. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.js +1 -1
  193. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.js.map +1 -1
  194. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/foundry.svg +1 -0
  195. package/dist/nodes/llms/LmChatAlibabaCloud/LmChatAlibabaCloud.node.js +1 -1
  196. package/dist/nodes/llms/LmChatAlibabaCloud/LmChatAlibabaCloud.node.js.map +1 -1
  197. package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js +7 -2
  198. package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js.map +1 -1
  199. package/dist/nodes/llms/LmChatAzureOpenAi/foundry.svg +1 -0
  200. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js +1 -1
  201. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js.map +1 -1
  202. package/dist/nodes/llms/LmChatAzureOpenAi/types.d.ts +1 -2
  203. package/dist/nodes/llms/LmChatAzureOpenAi/types.js +2 -1
  204. package/dist/nodes/llms/LmChatAzureOpenAi/types.js.map +1 -1
  205. package/dist/nodes/mcp/McpTrigger/McpTrigger.node.d.ts +6 -0
  206. package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js +16 -0
  207. package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js.map +1 -1
  208. package/dist/nodes/mcp/shared/runtime.d.ts +2 -2
  209. package/dist/nodes/mcp/shared/types.d.ts +2 -2
  210. package/dist/nodes/mcp/shared/types.js.map +1 -1
  211. package/dist/nodes/mcp/shared/utils.d.ts +8 -3
  212. package/dist/nodes/mcp/shared/utils.js +51 -5
  213. package/dist/nodes/mcp/shared/utils.js.map +1 -1
  214. package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js +0 -1
  215. package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js.map +1 -1
  216. package/dist/nodes/trigger/ChatTrigger/Chat.node.js +0 -3
  217. package/dist/nodes/trigger/ChatTrigger/Chat.node.js.map +1 -1
  218. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js +10 -4
  219. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js.map +1 -1
  220. package/dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.js +174 -22
  221. package/dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.js.map +1 -1
  222. package/dist/nodes/vendors/AlibabaCloud/actions/text/message.operation.js +1 -1
  223. package/dist/nodes/vendors/AlibabaCloud/actions/text/message.operation.js.map +1 -1
  224. package/dist/nodes/vendors/AlibabaCloud/actions/versionDescription.js +11 -1
  225. package/dist/nodes/vendors/AlibabaCloud/actions/versionDescription.js.map +1 -1
  226. package/dist/nodes/vendors/Databricks/mlflow/trace-writer.js +2 -1
  227. package/dist/nodes/vendors/Databricks/mlflow/trace-writer.js.map +1 -1
  228. package/dist/typecheck.tsbuildinfo +1 -1
  229. package/dist/types/credentials.json +2 -2
  230. package/dist/types/nodes.json +24 -24
  231. package/dist/utils/agent-execution/types.d.ts +1 -0
  232. package/dist/utils/agent-execution/types.js.map +1 -1
  233. package/dist/utils/helpers.js +2 -0
  234. package/dist/utils/helpers.js.map +1 -1
  235. package/dist/utils/output_parsers/langchainParserError.js +22 -3
  236. package/dist/utils/output_parsers/langchainParserError.js.map +1 -1
  237. package/package.json +14 -14
  238. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/azure.svg +0 -1
  239. package/dist/nodes/llms/LmChatAzureOpenAi/azure.svg +0 -1
@@ -15,6 +15,9 @@
15
15
  "mcpRegistryClientTool": [
16
16
  "getTools"
17
17
  ],
18
+ "mcpTrigger": [
19
+ "listTrustedSources"
20
+ ],
18
21
  "chatTrigger": [
19
22
  "listTrustedSources"
20
23
  ],
@@ -15,6 +15,9 @@
15
15
  "mcpRegistryClientTool": [
16
16
  "getTools"
17
17
  ],
18
+ "mcpTrigger": [
19
+ "listTrustedSources"
20
+ ],
18
21
  "chatTrigger": [
19
22
  "listTrustedSources"
20
23
  ],
@@ -1 +1 @@
1
- 85462893da913c627e76a8d6ca3ab443fa0bdaf14a3a3f9c2306cdf249417928
1
+ 29f55f43f48201308950ff86c3632583ea4937c41586d7714d003ef7df9c2455
@@ -64,6 +64,7 @@ import type { LcMcpClientNode } from './nodes/n8n-nodes-langchain/mcpClient';
64
64
  import type { LcMcpClientToolNode } from './nodes/n8n-nodes-langchain/mcpClientTool';
65
65
  import type { LcMcpTriggerNode } from './nodes/n8n-nodes-langchain/mcpTrigger';
66
66
  import type { LcMemoryBufferWindowNode } from './nodes/n8n-nodes-langchain/memoryBufferWindow';
67
+ import type { LcMemoryLakebaseChatNode } from './nodes/n8n-nodes-langchain/memoryLakebaseChat';
67
68
  import type { LcMemoryManagerNode } from './nodes/n8n-nodes-langchain/memoryManager';
68
69
  import type { LcMemoryMongoDbChatNode } from './nodes/n8n-nodes-langchain/memoryMongoDbChat';
69
70
  import type { LcMemoryPostgresChatNode } from './nodes/n8n-nodes-langchain/memoryPostgresChat';
@@ -167,6 +168,7 @@ export * from './nodes/n8n-nodes-langchain/mcpClient';
167
168
  export * from './nodes/n8n-nodes-langchain/mcpClientTool';
168
169
  export * from './nodes/n8n-nodes-langchain/mcpTrigger';
169
170
  export * from './nodes/n8n-nodes-langchain/memoryBufferWindow';
171
+ export * from './nodes/n8n-nodes-langchain/memoryLakebaseChat';
170
172
  export * from './nodes/n8n-nodes-langchain/memoryManager';
171
173
  export * from './nodes/n8n-nodes-langchain/memoryMongoDbChat';
172
174
  export * from './nodes/n8n-nodes-langchain/memoryPostgresChat';
@@ -275,6 +277,7 @@ export type KnownNodeType =
275
277
  | '@n8n/n8n-nodes-langchain.mcpClientTool'
276
278
  | '@n8n/n8n-nodes-langchain.mcpTrigger'
277
279
  | '@n8n/n8n-nodes-langchain.memoryBufferWindow'
280
+ | '@n8n/n8n-nodes-langchain.memoryLakebaseChat'
278
281
  | '@n8n/n8n-nodes-langchain.memoryPostgresChat'
279
282
  | '@n8n/n8n-nodes-langchain.memoryMongoDbChat'
280
283
  | '@n8n/n8n-nodes-langchain.memoryRedisChat'
@@ -376,6 +379,7 @@ export type AllNodeTypes =
376
379
  | LcMcpClientToolNode
377
380
  | LcMcpTriggerNode
378
381
  | LcMemoryBufferWindowNode
382
+ | LcMemoryLakebaseChatNode
379
383
  | LcMemoryManagerNode
380
384
  | LcMemoryMongoDbChatNode
381
385
  | LcMemoryPostgresChatNode
@@ -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
+ };