langflower 0.1.0 → 0.1.2

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 (929) hide show
  1. package/README.md +74 -105
  2. package/bin/langflower.js +15 -1
  3. package/dist/chunk-AO33IM2J.js +307 -0
  4. package/dist/chunk-CVTPGIZE.js +344 -0
  5. package/dist/chunk-EAZMCX37.js +44 -0
  6. package/dist/chunk-NIRPHJLO.js +1505 -0
  7. package/dist/chunk-PYLGT66P.js +126 -0
  8. package/dist/chunk-WV2YWHOC.js +623 -0
  9. package/dist/chunk-YOTMWWRH.js +2041 -0
  10. package/dist/index.js +80453 -1
  11. package/package.json +1 -8
  12. package/ui-dist/{chunk-UG3GFV4Y.js → chunk-BKIP5WRK.js} +1 -1
  13. package/ui-dist/chunk-EZTB7Q33.js +4 -0
  14. package/ui-dist/index.html +2 -2
  15. package/ui-dist/main-JJURZFKA.js +318 -0
  16. package/ui-dist/styles-VA3HMZK7.css +1 -0
  17. package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.d.ts +1 -0
  18. package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.js +1 -0
  19. package/vendor/node-sdk/dist/node-factory/define-reactive-node/resolve-secret.d.ts +28 -0
  20. package/vendor/node-sdk/dist/node-factory/define-reactive-node/resolve-secret.js +76 -0
  21. package/vendor/node-sdk/dist/node-factory/define-reactive-node/types.d.ts +7 -3
  22. package/vendor/node-sdk/dist/node-factory/define-tool-registrations/define-tool-registrations.d.ts +6 -6
  23. package/vendor/node-sdk/dist/node-factory/define-tool-registrations/define-tool-registrations.js +6 -6
  24. package/vendor/node-sdk/dist/testing/create-node-harness.d.ts +4 -0
  25. package/vendor/node-sdk/dist/testing/create-node-harness.js +5 -0
  26. package/vendor/server/skeleton/schemas/langflower-config.schema.json +5 -1
  27. package/vendor/server/skeleton/skills/langflower-helper/SKILL.md +46 -11
  28. package/vendor/server/skeleton/skills/langflower-helper/architecture.md +14 -3
  29. package/vendor/server/skeleton/skills/langflower-helper/layout.md +32 -29
  30. package/vendor/server/skeleton/skills/langflower-node-writer/SKILL.md +69 -0
  31. package/vendor/server/skeleton/skills/langflower-workflow-writer/SKILL.md +18 -3
  32. package/vendor/server/skeleton/skills/spec-architect/SKILL.md +232 -0
  33. package/vendor/server/skeleton/workflows/advanced-coder.json +1 -0
  34. package/vendor/server/skeleton/workflows/simple-coder.json +1 -0
  35. package/dist/cli.d.ts +0 -1
  36. package/dist/cli.js +0 -13
  37. package/dist/create-fake-skill-case-runner.d.ts +0 -9
  38. package/dist/create-fake-skill-case-runner.js +0 -73
  39. package/dist/create-fake-skill-case-runner.test.d.ts +0 -1
  40. package/dist/create-fake-skill-case-runner.test.js +0 -60
  41. package/dist/eval-command.d.ts +0 -2
  42. package/dist/eval-command.js +0 -66
  43. package/dist/index.d.ts +0 -1
  44. package/dist/start-command.d.ts +0 -5
  45. package/dist/start-command.js +0 -110
  46. package/dist/start-command.test.d.ts +0 -1
  47. package/dist/start-command.test.js +0 -17
  48. package/ui-dist/chunk-QI4IYILJ.js +0 -4
  49. package/ui-dist/main-ODIDCCNX.js +0 -315
  50. package/ui-dist/styles-2JMBAQC3.css +0 -1
  51. package/vendor/common-nodes/dist/ai/build-effective-system-prompt.d.ts +0 -9
  52. package/vendor/common-nodes/dist/ai/build-effective-system-prompt.js +0 -21
  53. package/vendor/common-nodes/dist/ai/chat-completion-stream.d.ts +0 -53
  54. package/vendor/common-nodes/dist/ai/chat-completion-stream.js +0 -1
  55. package/vendor/common-nodes/dist/ai/chat-input/node.d.ts +0 -25
  56. package/vendor/common-nodes/dist/ai/chat-input/node.js +0 -39
  57. package/vendor/common-nodes/dist/ai/critique/node.d.ts +0 -588
  58. package/vendor/common-nodes/dist/ai/critique/node.js +0 -240
  59. package/vendor/common-nodes/dist/ai/define-llm-node/default-llm-ports.d.ts +0 -28
  60. package/vendor/common-nodes/dist/ai/define-llm-node/default-llm-ports.js +0 -59
  61. package/vendor/common-nodes/dist/ai/define-llm-node/define-llm-node.d.ts +0 -45
  62. package/vendor/common-nodes/dist/ai/define-llm-node/define-llm-node.js +0 -48
  63. package/vendor/common-nodes/dist/ai/fake-llm/node.d.ts +0 -571
  64. package/vendor/common-nodes/dist/ai/fake-llm/node.js +0 -207
  65. package/vendor/common-nodes/dist/ai/fake-mcp-server/node.d.ts +0 -26
  66. package/vendor/common-nodes/dist/ai/fake-mcp-server/node.js +0 -67
  67. package/vendor/common-nodes/dist/ai/fake-tool-registration/node.d.ts +0 -26
  68. package/vendor/common-nodes/dist/ai/fake-tool-registration/node.js +0 -57
  69. package/vendor/common-nodes/dist/ai/features/chat-completion-stream.d.ts +0 -53
  70. package/vendor/common-nodes/dist/ai/features/chat-completion-stream.js +0 -1
  71. package/vendor/common-nodes/dist/ai/features/llm-loop/autokick-recovery.d.ts +0 -13
  72. package/vendor/common-nodes/dist/ai/features/llm-loop/autokick-recovery.js +0 -17
  73. package/vendor/common-nodes/dist/ai/features/llm-loop/classify-llm-failure.d.ts +0 -2
  74. package/vendor/common-nodes/dist/ai/features/llm-loop/classify-llm-failure.js +0 -113
  75. package/vendor/common-nodes/dist/ai/features/llm-loop/dead-loop-detector.d.ts +0 -28
  76. package/vendor/common-nodes/dist/ai/features/llm-loop/dead-loop-detector.js +0 -194
  77. package/vendor/common-nodes/dist/ai/features/llm-loop/live-get-tools.d.ts +0 -9
  78. package/vendor/common-nodes/dist/ai/features/llm-loop/live-get-tools.js +0 -21
  79. package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-reducer.d.ts +0 -2
  80. package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-reducer.js +0 -204
  81. package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-types.d.ts +0 -120
  82. package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-types.js +0 -39
  83. package/vendor/common-nodes/dist/ai/features/llm-loop/normalize-llm-recovery-policy.d.ts +0 -2
  84. package/vendor/common-nodes/dist/ai/features/llm-loop/normalize-llm-recovery-policy.js +0 -59
  85. package/vendor/common-nodes/dist/ai/features/llm-loop/operators/normalize-tool-result.d.ts +0 -1
  86. package/vendor/common-nodes/dist/ai/features/llm-loop/operators/normalize-tool-result.js +0 -7
  87. package/vendor/common-nodes/dist/ai/features/llm-loop/operators/observe-provider-stream.d.ts +0 -43
  88. package/vendor/common-nodes/dist/ai/features/llm-loop/operators/observe-provider-stream.js +0 -96
  89. package/vendor/common-nodes/dist/ai/features/llm-loop/run-agent-loop.d.ts +0 -29
  90. package/vendor/common-nodes/dist/ai/features/llm-loop/run-agent-loop.js +0 -44
  91. package/vendor/common-nodes/dist/ai/features/llm-loop/run-llm-loop.d.ts +0 -74
  92. package/vendor/common-nodes/dist/ai/features/llm-loop/run-llm-loop.js +0 -658
  93. package/vendor/common-nodes/dist/ai/features/llm-role-preset.d.ts +0 -69
  94. package/vendor/common-nodes/dist/ai/features/llm-role-preset.js +0 -265
  95. package/vendor/common-nodes/dist/ai/features/llm-session/llm-session-shell.d.ts +0 -141
  96. package/vendor/common-nodes/dist/ai/features/llm-session/llm-session-shell.js +0 -225
  97. package/vendor/common-nodes/dist/ai/features/llm-session/run-session-machine.d.ts +0 -32
  98. package/vendor/common-nodes/dist/ai/features/llm-session/run-session-machine.js +0 -118
  99. package/vendor/common-nodes/dist/ai/features/openai/context-length-error.d.ts +0 -14
  100. package/vendor/common-nodes/dist/ai/features/openai/context-length-error.js +0 -63
  101. package/vendor/common-nodes/dist/ai/features/openai/create-chat-completion-stream.d.ts +0 -19
  102. package/vendor/common-nodes/dist/ai/features/openai/create-chat-completion-stream.js +0 -182
  103. package/vendor/common-nodes/dist/ai/features/openai/list-provider-models.d.ts +0 -28
  104. package/vendor/common-nodes/dist/ai/features/openai/list-provider-models.js +0 -52
  105. package/vendor/common-nodes/dist/ai/features/openai/llm-context-compaction.d.ts +0 -31
  106. package/vendor/common-nodes/dist/ai/features/openai/llm-context-compaction.js +0 -326
  107. package/vendor/common-nodes/dist/ai/features/openai/normalize-compaction-params.d.ts +0 -14
  108. package/vendor/common-nodes/dist/ai/features/openai/normalize-compaction-params.js +0 -21
  109. package/vendor/common-nodes/dist/ai/features/openai/prepare-chat-completion.d.ts +0 -30
  110. package/vendor/common-nodes/dist/ai/features/openai/prepare-chat-completion.js +0 -132
  111. package/vendor/common-nodes/dist/ai/features/path-choice/control-tools.d.ts +0 -20
  112. package/vendor/common-nodes/dist/ai/features/path-choice/control-tools.js +0 -70
  113. package/vendor/common-nodes/dist/ai/features/path-choice/run-reactive-path-choice-loop.d.ts +0 -32
  114. package/vendor/common-nodes/dist/ai/features/path-choice/run-reactive-path-choice-loop.js +0 -93
  115. package/vendor/common-nodes/dist/ai/features/prompt/build-effective-system-prompt.d.ts +0 -9
  116. package/vendor/common-nodes/dist/ai/features/prompt/build-effective-system-prompt.js +0 -21
  117. package/vendor/common-nodes/dist/ai/features/prompt/normalize-max-iterations.d.ts +0 -13
  118. package/vendor/common-nodes/dist/ai/features/prompt/normalize-max-iterations.js +0 -23
  119. package/vendor/common-nodes/dist/ai/features/prompt/resolve-chat-provider-model.d.ts +0 -10
  120. package/vendor/common-nodes/dist/ai/features/prompt/resolve-chat-provider-model.js +0 -8
  121. package/vendor/common-nodes/dist/ai/features/run-host-services.d.ts +0 -64
  122. package/vendor/common-nodes/dist/ai/features/run-host-services.js +0 -29
  123. package/vendor/common-nodes/dist/ai/features/scripted-chat-completion-stream.d.ts +0 -17
  124. package/vendor/common-nodes/dist/ai/features/scripted-chat-completion-stream.js +0 -61
  125. package/vendor/common-nodes/dist/ai/features/sub-agent-protocol.d.ts +0 -40
  126. package/vendor/common-nodes/dist/ai/features/sub-agent-protocol.js +0 -44
  127. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-compaction-ui-schema.d.ts +0 -14
  128. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-compaction-ui-schema.js +0 -18
  129. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-panel-ui-schema.d.ts +0 -80
  130. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-panel-ui-schema.js +0 -76
  131. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-recovery-ui-schema.d.ts +0 -113
  132. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-recovery-ui-schema.js +0 -131
  133. package/vendor/common-nodes/dist/ai/features/wait-for-subagent-result.d.ts +0 -7
  134. package/vendor/common-nodes/dist/ai/features/wait-for-subagent-result.js +0 -31
  135. package/vendor/common-nodes/dist/ai/filter-enabled-registrations.d.ts +0 -9
  136. package/vendor/common-nodes/dist/ai/filter-enabled-registrations.js +0 -18
  137. package/vendor/common-nodes/dist/ai/flatten-mcp-server-configs.d.ts +0 -7
  138. package/vendor/common-nodes/dist/ai/flatten-mcp-server-configs.js +0 -21
  139. package/vendor/common-nodes/dist/ai/inventory-tool-round.d.ts +0 -33
  140. package/vendor/common-nodes/dist/ai/inventory-tool-round.js +0 -215
  141. package/vendor/common-nodes/dist/ai/llm-compaction-ui-schema.d.ts +0 -14
  142. package/vendor/common-nodes/dist/ai/llm-compaction-ui-schema.js +0 -18
  143. package/vendor/common-nodes/dist/ai/llm-loop/autokick-recovery.d.ts +0 -13
  144. package/vendor/common-nodes/dist/ai/llm-loop/autokick-recovery.js +0 -17
  145. package/vendor/common-nodes/dist/ai/llm-loop/classify-llm-failure.d.ts +0 -2
  146. package/vendor/common-nodes/dist/ai/llm-loop/classify-llm-failure.js +0 -113
  147. package/vendor/common-nodes/dist/ai/llm-loop/dead-loop-detector.d.ts +0 -28
  148. package/vendor/common-nodes/dist/ai/llm-loop/dead-loop-detector.js +0 -194
  149. package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-reducer.d.ts +0 -2
  150. package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-reducer.js +0 -216
  151. package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-types.d.ts +0 -125
  152. package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-types.js +0 -39
  153. package/vendor/common-nodes/dist/ai/llm-loop/normalize-llm-recovery-policy.d.ts +0 -2
  154. package/vendor/common-nodes/dist/ai/llm-loop/normalize-llm-recovery-policy.js +0 -59
  155. package/vendor/common-nodes/dist/ai/llm-loop/operators/normalize-tool-result.d.ts +0 -1
  156. package/vendor/common-nodes/dist/ai/llm-loop/operators/normalize-tool-result.js +0 -7
  157. package/vendor/common-nodes/dist/ai/llm-loop/operators/observe-provider-stream.d.ts +0 -43
  158. package/vendor/common-nodes/dist/ai/llm-loop/operators/observe-provider-stream.js +0 -96
  159. package/vendor/common-nodes/dist/ai/llm-loop/run-agent-loop.d.ts +0 -31
  160. package/vendor/common-nodes/dist/ai/llm-loop/run-agent-loop.js +0 -57
  161. package/vendor/common-nodes/dist/ai/llm-loop/run-llm-loop.d.ts +0 -79
  162. package/vendor/common-nodes/dist/ai/llm-loop/run-llm-loop.js +0 -637
  163. package/vendor/common-nodes/dist/ai/llm-panel-ui-schema.d.ts +0 -80
  164. package/vendor/common-nodes/dist/ai/llm-panel-ui-schema.js +0 -76
  165. package/vendor/common-nodes/dist/ai/llm-recovery-ui-schema.d.ts +0 -113
  166. package/vendor/common-nodes/dist/ai/llm-recovery-ui-schema.js +0 -131
  167. package/vendor/common-nodes/dist/ai/llm-role-preset.d.ts +0 -69
  168. package/vendor/common-nodes/dist/ai/llm-role-preset.js +0 -265
  169. package/vendor/common-nodes/dist/ai/llm-session/run-session-machine.d.ts +0 -21
  170. package/vendor/common-nodes/dist/ai/llm-session/run-session-machine.js +0 -118
  171. package/vendor/common-nodes/dist/ai/llm-session-shell.d.ts +0 -147
  172. package/vendor/common-nodes/dist/ai/llm-session-shell.js +0 -189
  173. package/vendor/common-nodes/dist/ai/mcp-server/node.d.ts +0 -26
  174. package/vendor/common-nodes/dist/ai/mcp-server/node.js +0 -68
  175. package/vendor/common-nodes/dist/ai/mcp-server-config.d.ts +0 -16
  176. package/vendor/common-nodes/dist/ai/mcp-server-config.js +0 -2
  177. package/vendor/common-nodes/dist/ai/mcp-tool-id.d.ts +0 -11
  178. package/vendor/common-nodes/dist/ai/mcp-tool-id.js +0 -30
  179. package/vendor/common-nodes/dist/ai/merge-tool-inventory.d.ts +0 -10
  180. package/vendor/common-nodes/dist/ai/merge-tool-inventory.js +0 -26
  181. package/vendor/common-nodes/dist/ai/nodes/critique/node.d.ts +0 -588
  182. package/vendor/common-nodes/dist/ai/nodes/critique/node.js +0 -231
  183. package/vendor/common-nodes/dist/ai/nodes/fake-llm/node.d.ts +0 -571
  184. package/vendor/common-nodes/dist/ai/nodes/fake-llm/node.js +0 -207
  185. package/vendor/common-nodes/dist/ai/nodes/openai-llm/node.d.ts +0 -587
  186. package/vendor/common-nodes/dist/ai/nodes/openai-llm/node.js +0 -88
  187. package/vendor/common-nodes/dist/ai/nodes/review/node.d.ts +0 -593
  188. package/vendor/common-nodes/dist/ai/nodes/review/node.js +0 -233
  189. package/vendor/common-nodes/dist/ai/nodes/sub-agent/node.d.ts +0 -630
  190. package/vendor/common-nodes/dist/ai/nodes/sub-agent/node.js +0 -457
  191. package/vendor/common-nodes/dist/ai/normalize-max-iterations.d.ts +0 -13
  192. package/vendor/common-nodes/dist/ai/normalize-max-iterations.js +0 -23
  193. package/vendor/common-nodes/dist/ai/openai/context-length-error.d.ts +0 -14
  194. package/vendor/common-nodes/dist/ai/openai/context-length-error.js +0 -63
  195. package/vendor/common-nodes/dist/ai/openai/create-chat-completion-stream.d.ts +0 -19
  196. package/vendor/common-nodes/dist/ai/openai/create-chat-completion-stream.js +0 -182
  197. package/vendor/common-nodes/dist/ai/openai/create-embedding.d.ts +0 -18
  198. package/vendor/common-nodes/dist/ai/openai/create-embedding.js +0 -43
  199. package/vendor/common-nodes/dist/ai/openai/list-provider-models.d.ts +0 -28
  200. package/vendor/common-nodes/dist/ai/openai/list-provider-models.js +0 -52
  201. package/vendor/common-nodes/dist/ai/openai/llm-context-compaction.d.ts +0 -31
  202. package/vendor/common-nodes/dist/ai/openai/llm-context-compaction.js +0 -326
  203. package/vendor/common-nodes/dist/ai/openai/normalize-compaction-params.d.ts +0 -14
  204. package/vendor/common-nodes/dist/ai/openai/normalize-compaction-params.js +0 -21
  205. package/vendor/common-nodes/dist/ai/openai/prepare-chat-completion.d.ts +0 -30
  206. package/vendor/common-nodes/dist/ai/openai/prepare-chat-completion.js +0 -132
  207. package/vendor/common-nodes/dist/ai/openai-llm/node.d.ts +0 -587
  208. package/vendor/common-nodes/dist/ai/openai-llm/node.js +0 -88
  209. package/vendor/common-nodes/dist/ai/path-choice/control-tools.d.ts +0 -20
  210. package/vendor/common-nodes/dist/ai/path-choice/control-tools.js +0 -70
  211. package/vendor/common-nodes/dist/ai/path-choice/run-path-choice-tool-loop.d.ts +0 -54
  212. package/vendor/common-nodes/dist/ai/path-choice/run-path-choice-tool-loop.js +0 -242
  213. package/vendor/common-nodes/dist/ai/path-choice/run-reactive-path-choice-loop.d.ts +0 -35
  214. package/vendor/common-nodes/dist/ai/path-choice/run-reactive-path-choice-loop.js +0 -106
  215. package/vendor/common-nodes/dist/ai/resolve-chat-provider-model.d.ts +0 -10
  216. package/vendor/common-nodes/dist/ai/resolve-chat-provider-model.js +0 -8
  217. package/vendor/common-nodes/dist/ai/resolve-mcp-inventory.d.ts +0 -8
  218. package/vendor/common-nodes/dist/ai/resolve-mcp-inventory.js +0 -43
  219. package/vendor/common-nodes/dist/ai/review/node.d.ts +0 -593
  220. package/vendor/common-nodes/dist/ai/review/node.js +0 -240
  221. package/vendor/common-nodes/dist/ai/review/review-control-tools.d.ts +0 -20
  222. package/vendor/common-nodes/dist/ai/review/review-control-tools.js +0 -70
  223. package/vendor/common-nodes/dist/ai/review/run-review-tool-loop.d.ts +0 -44
  224. package/vendor/common-nodes/dist/ai/review/run-review-tool-loop.js +0 -193
  225. package/vendor/common-nodes/dist/ai/run-host-services.d.ts +0 -32
  226. package/vendor/common-nodes/dist/ai/run-host-services.js +0 -11
  227. package/vendor/common-nodes/dist/ai/run-internal-tool-loop.d.ts +0 -39
  228. package/vendor/common-nodes/dist/ai/run-internal-tool-loop.js +0 -138
  229. package/vendor/common-nodes/dist/ai/scripted-chat-completion-stream.d.ts +0 -17
  230. package/vendor/common-nodes/dist/ai/scripted-chat-completion-stream.js +0 -61
  231. package/vendor/common-nodes/dist/ai/sub-agent/node.d.ts +0 -630
  232. package/vendor/common-nodes/dist/ai/sub-agent/node.js +0 -302
  233. package/vendor/common-nodes/dist/ai/sub-agent-protocol.d.ts +0 -39
  234. package/vendor/common-nodes/dist/ai/sub-agent-protocol.js +0 -43
  235. package/vendor/common-nodes/dist/ai/tool-handler-context.d.ts +0 -4
  236. package/vendor/common-nodes/dist/ai/tool-handler-context.js +0 -16
  237. package/vendor/common-nodes/dist/ai/tool-registration.d.ts +0 -6
  238. package/vendor/common-nodes/dist/ai/tool-registration.js +0 -33
  239. package/vendor/common-nodes/dist/ai/wait-for-subagent-result.d.ts +0 -6
  240. package/vendor/common-nodes/dist/ai/wait-for-subagent-result.js +0 -30
  241. package/vendor/common-nodes/dist/catalog.d.ts +0 -6
  242. package/vendor/common-nodes/dist/catalog.js +0 -95
  243. package/vendor/common-nodes/dist/compile-custom-nodes/node.d.ts +0 -21
  244. package/vendor/common-nodes/dist/compile-custom-nodes/node.js +0 -45
  245. package/vendor/common-nodes/dist/crawl/crawl/node.d.ts +0 -99
  246. package/vendor/common-nodes/dist/crawl/crawl/node.js +0 -128
  247. package/vendor/common-nodes/dist/crawl/crawl-tools/node.d.ts +0 -20
  248. package/vendor/common-nodes/dist/crawl/crawl-tools/node.js +0 -17
  249. package/vendor/common-nodes/dist/crawl/extract-links/node.d.ts +0 -22
  250. package/vendor/common-nodes/dist/crawl/extract-links/node.js +0 -45
  251. package/vendor/common-nodes/dist/crawl/fetch-url/node.d.ts +0 -56
  252. package/vendor/common-nodes/dist/crawl/fetch-url/node.js +0 -89
  253. package/vendor/common-nodes/dist/crawl/html/extract-links.d.ts +0 -3
  254. package/vendor/common-nodes/dist/crawl/html/extract-links.js +0 -36
  255. package/vendor/common-nodes/dist/crawl/html/html-to-text.d.ts +0 -3
  256. package/vendor/common-nodes/dist/crawl/html/html-to-text.js +0 -36
  257. package/vendor/common-nodes/dist/crawl/html/index.d.ts +0 -3
  258. package/vendor/common-nodes/dist/crawl/html/index.js +0 -3
  259. package/vendor/common-nodes/dist/crawl/save-page/node.d.ts +0 -21
  260. package/vendor/common-nodes/dist/crawl/save-page/node.js +0 -71
  261. package/vendor/common-nodes/dist/crawl/tool-defs.d.ts +0 -81
  262. package/vendor/common-nodes/dist/crawl/tool-defs.js +0 -56
  263. package/vendor/common-nodes/dist/embeddings/create-embedding.d.ts +0 -39
  264. package/vendor/common-nodes/dist/embeddings/create-embedding.js +0 -154
  265. package/vendor/common-nodes/dist/embeddings/embed-provider/node.d.ts +0 -53
  266. package/vendor/common-nodes/dist/embeddings/embed-provider/node.js +0 -126
  267. package/vendor/common-nodes/dist/embeddings/embed-similarity/node.d.ts +0 -20
  268. package/vendor/common-nodes/dist/embeddings/embed-similarity/node.js +0 -81
  269. package/vendor/common-nodes/dist/embeddings/embed-text/node.d.ts +0 -53
  270. package/vendor/common-nodes/dist/embeddings/embed-text/node.js +0 -91
  271. package/vendor/common-nodes/dist/embeddings/from-embedding.d.ts +0 -8
  272. package/vendor/common-nodes/dist/embeddings/from-embedding.js +0 -24
  273. package/vendor/common-nodes/dist/embeddings/resolve-embedding-provider-model.d.ts +0 -11
  274. package/vendor/common-nodes/dist/embeddings/resolve-embedding-provider-model.js +0 -8
  275. package/vendor/common-nodes/dist/flow/checkpoint/node.d.ts +0 -23
  276. package/vendor/common-nodes/dist/flow/checkpoint/node.js +0 -44
  277. package/vendor/common-nodes/dist/flow/delay/node.d.ts +0 -22
  278. package/vendor/common-nodes/dist/flow/delay/node.js +0 -46
  279. package/vendor/common-nodes/dist/flow/loop/node.d.ts +0 -22
  280. package/vendor/common-nodes/dist/flow/loop/node.js +0 -51
  281. package/vendor/common-nodes/dist/flow/map-collect-body.d.ts +0 -21
  282. package/vendor/common-nodes/dist/flow/map-collect-body.js +0 -73
  283. package/vendor/common-nodes/dist/flow/merge/node.d.ts +0 -17
  284. package/vendor/common-nodes/dist/flow/merge/node.js +0 -31
  285. package/vendor/common-nodes/dist/flow/repeat/node.d.ts +0 -20
  286. package/vendor/common-nodes/dist/flow/repeat/node.js +0 -65
  287. package/vendor/common-nodes/dist/flow/router/build-router-definition.d.ts +0 -20
  288. package/vendor/common-nodes/dist/flow/router/build-router-definition.js +0 -23
  289. package/vendor/common-nodes/dist/flow/router/node.d.ts +0 -17
  290. package/vendor/common-nodes/dist/flow/router/node.js +0 -20
  291. package/vendor/common-nodes/dist/flow/router/router-constants.d.ts +0 -2
  292. package/vendor/common-nodes/dist/flow/router/router-constants.js +0 -2
  293. package/vendor/common-nodes/dist/hitl/approval-choice/node.d.ts +0 -23
  294. package/vendor/common-nodes/dist/hitl/approval-choice/node.js +0 -71
  295. package/vendor/common-nodes/dist/hitl/ask-user/node.d.ts +0 -23
  296. package/vendor/common-nodes/dist/hitl/ask-user/node.js +0 -40
  297. package/vendor/common-nodes/dist/hitl/chat-input/node.d.ts +0 -20
  298. package/vendor/common-nodes/dist/hitl/chat-input/node.js +0 -43
  299. package/vendor/common-nodes/dist/hitl/hitl-required-role.d.ts +0 -38
  300. package/vendor/common-nodes/dist/hitl/hitl-required-role.js +0 -21
  301. package/vendor/common-nodes/dist/hitl/review-gate/node.d.ts +0 -17
  302. package/vendor/common-nodes/dist/hitl/review-gate/node.js +0 -70
  303. package/vendor/common-nodes/dist/kb/chunk-text.d.ts +0 -8
  304. package/vendor/common-nodes/dist/kb/chunk-text.js +0 -52
  305. package/vendor/common-nodes/dist/kb/cosine.d.ts +0 -3
  306. package/vendor/common-nodes/dist/kb/cosine.js +0 -21
  307. package/vendor/common-nodes/dist/kb/kb-apply-curation/node.d.ts +0 -25
  308. package/vendor/common-nodes/dist/kb/kb-apply-curation/node.js +0 -38
  309. package/vendor/common-nodes/dist/kb/kb-contradict/node.d.ts +0 -25
  310. package/vendor/common-nodes/dist/kb/kb-contradict/node.js +0 -70
  311. package/vendor/common-nodes/dist/kb/kb-dedupe/node.d.ts +0 -25
  312. package/vendor/common-nodes/dist/kb/kb-dedupe/node.js +0 -61
  313. package/vendor/common-nodes/dist/kb/kb-delete/node.d.ts +0 -24
  314. package/vendor/common-nodes/dist/kb/kb-delete/node.js +0 -60
  315. package/vendor/common-nodes/dist/kb/kb-embed/node.d.ts +0 -26
  316. package/vendor/common-nodes/dist/kb/kb-embed/node.js +0 -52
  317. package/vendor/common-nodes/dist/kb/kb-ingest/node.d.ts +0 -25
  318. package/vendor/common-nodes/dist/kb/kb-ingest/node.js +0 -68
  319. package/vendor/common-nodes/dist/kb/kb-list/node.d.ts +0 -24
  320. package/vendor/common-nodes/dist/kb/kb-list/node.js +0 -42
  321. package/vendor/common-nodes/dist/kb/kb-paths.d.ts +0 -8
  322. package/vendor/common-nodes/dist/kb/kb-paths.js +0 -19
  323. package/vendor/common-nodes/dist/kb/kb-search/node.d.ts +0 -24
  324. package/vendor/common-nodes/dist/kb/kb-search/node.js +0 -60
  325. package/vendor/common-nodes/dist/kb/kb-store.d.ts +0 -57
  326. package/vendor/common-nodes/dist/kb/kb-store.js +0 -290
  327. package/vendor/common-nodes/dist/kb/kb-tools/node.d.ts +0 -25
  328. package/vendor/common-nodes/dist/kb/kb-tools/node.js +0 -14
  329. package/vendor/common-nodes/dist/kb/local-embed.d.ts +0 -9
  330. package/vendor/common-nodes/dist/kb/local-embed.js +0 -41
  331. package/vendor/common-nodes/dist/kb/parse-string-list.d.ts +0 -3
  332. package/vendor/common-nodes/dist/kb/parse-string-list.js +0 -25
  333. package/vendor/common-nodes/dist/kb/tool-defs.d.ts +0 -85
  334. package/vendor/common-nodes/dist/kb/tool-defs.js +0 -67
  335. package/vendor/common-nodes/dist/langflower-tools/emit-registration-tools.d.ts +0 -18
  336. package/vendor/common-nodes/dist/langflower-tools/emit-registration-tools.js +0 -29
  337. package/vendor/common-nodes/dist/langflower-tools/node.d.ts +0 -20
  338. package/vendor/common-nodes/dist/langflower-tools/node.js +0 -81
  339. package/vendor/common-nodes/dist/logic/assert/node.d.ts +0 -20
  340. package/vendor/common-nodes/dist/logic/assert/node.js +0 -56
  341. package/vendor/common-nodes/dist/logic/compare/evaluate-compare.d.ts +0 -28
  342. package/vendor/common-nodes/dist/logic/compare/evaluate-compare.js +0 -60
  343. package/vendor/common-nodes/dist/logic/compare/node.d.ts +0 -107
  344. package/vendor/common-nodes/dist/logic/compare/node.js +0 -46
  345. package/vendor/common-nodes/dist/logic/gate/node.d.ts +0 -17
  346. package/vendor/common-nodes/dist/logic/gate/node.js +0 -41
  347. package/vendor/common-nodes/dist/logic/if/node.d.ts +0 -17
  348. package/vendor/common-nodes/dist/logic/if/node.js +0 -46
  349. package/vendor/common-nodes/dist/logic/switch/build-switch-definition.d.ts +0 -18
  350. package/vendor/common-nodes/dist/logic/switch/build-switch-definition.js +0 -30
  351. package/vendor/common-nodes/dist/logic/switch/node.d.ts +0 -87
  352. package/vendor/common-nodes/dist/logic/switch/node.js +0 -75
  353. package/vendor/common-nodes/dist/logic/switch/switch-constants.d.ts +0 -15
  354. package/vendor/common-nodes/dist/logic/switch/switch-constants.js +0 -24
  355. package/vendor/common-nodes/dist/logic/switch/switch-rules.d.ts +0 -6
  356. package/vendor/common-nodes/dist/logic/switch/switch-rules.js +0 -43
  357. package/vendor/common-nodes/dist/mcp/build-mcp-handle.d.ts +0 -13
  358. package/vendor/common-nodes/dist/mcp/build-mcp-handle.js +0 -65
  359. package/vendor/common-nodes/dist/mcp/build-mcp-transport.d.ts +0 -14
  360. package/vendor/common-nodes/dist/mcp/build-mcp-transport.js +0 -56
  361. package/vendor/common-nodes/dist/mcp/collect-mcp-tool-registrations.d.ts +0 -7
  362. package/vendor/common-nodes/dist/mcp/collect-mcp-tool-registrations.js +0 -19
  363. package/vendor/common-nodes/dist/mcp/create-system-mcp-transports.d.ts +0 -48
  364. package/vendor/common-nodes/dist/mcp/create-system-mcp-transports.js +0 -124
  365. package/vendor/common-nodes/dist/mcp/flatten-mcp-handles.d.ts +0 -6
  366. package/vendor/common-nodes/dist/mcp/flatten-mcp-handles.js +0 -21
  367. package/vendor/common-nodes/dist/mcp/flatten-mcp-server-configs.d.ts +0 -7
  368. package/vendor/common-nodes/dist/mcp/flatten-mcp-server-configs.js +0 -21
  369. package/vendor/common-nodes/dist/mcp/flatten-mcp-transports.d.ts +0 -7
  370. package/vendor/common-nodes/dist/mcp/flatten-mcp-transports.js +0 -22
  371. package/vendor/common-nodes/dist/mcp/format-mcp-connect-error.d.ts +0 -10
  372. package/vendor/common-nodes/dist/mcp/format-mcp-connect-error.js +0 -18
  373. package/vendor/common-nodes/dist/mcp/mcp-http/node.d.ts +0 -22
  374. package/vendor/common-nodes/dist/mcp/mcp-http/node.js +0 -104
  375. package/vendor/common-nodes/dist/mcp/mcp-server/node.d.ts +0 -26
  376. package/vendor/common-nodes/dist/mcp/mcp-server/node.js +0 -68
  377. package/vendor/common-nodes/dist/mcp/mcp-server-config.d.ts +0 -2
  378. package/vendor/common-nodes/dist/mcp/mcp-server-config.js +0 -2
  379. package/vendor/common-nodes/dist/mcp/mcp-stdio/node.d.ts +0 -22
  380. package/vendor/common-nodes/dist/mcp/mcp-stdio/node.js +0 -93
  381. package/vendor/common-nodes/dist/mcp/resolve-agent-mcp-inventory.d.ts +0 -13
  382. package/vendor/common-nodes/dist/mcp/resolve-agent-mcp-inventory.js +0 -17
  383. package/vendor/common-nodes/dist/mcp/resolve-mcp-inventory.d.ts +0 -8
  384. package/vendor/common-nodes/dist/mcp/resolve-mcp-inventory.js +0 -43
  385. package/vendor/common-nodes/dist/memory/memory/node.d.ts +0 -79
  386. package/vendor/common-nodes/dist/memory/memory/node.js +0 -76
  387. package/vendor/common-nodes/dist/memory/memory-tools/node.d.ts +0 -20
  388. package/vendor/common-nodes/dist/memory/memory-tools/node.js +0 -17
  389. package/vendor/common-nodes/dist/memory/tool-defs.d.ts +0 -48
  390. package/vendor/common-nodes/dist/memory/tool-defs.js +0 -45
  391. package/vendor/common-nodes/dist/obsidian/build-moc/node.d.ts +0 -26
  392. package/vendor/common-nodes/dist/obsidian/build-moc/node.js +0 -52
  393. package/vendor/common-nodes/dist/obsidian/build-moc.d.ts +0 -13
  394. package/vendor/common-nodes/dist/obsidian/build-moc.js +0 -57
  395. package/vendor/common-nodes/dist/obsidian/frontmatter/node.d.ts +0 -27
  396. package/vendor/common-nodes/dist/obsidian/frontmatter/node.js +0 -66
  397. package/vendor/common-nodes/dist/obsidian/frontmatter.d.ts +0 -26
  398. package/vendor/common-nodes/dist/obsidian/frontmatter.js +0 -142
  399. package/vendor/common-nodes/dist/obsidian/wikilink-rewrite/node.d.ts +0 -26
  400. package/vendor/common-nodes/dist/obsidian/wikilink-rewrite/node.js +0 -51
  401. package/vendor/common-nodes/dist/obsidian/wikilinks.d.ts +0 -22
  402. package/vendor/common-nodes/dist/obsidian/wikilinks.js +0 -84
  403. package/vendor/common-nodes/dist/output/finish/node.d.ts +0 -17
  404. package/vendor/common-nodes/dist/output/finish/node.js +0 -34
  405. package/vendor/common-nodes/dist/output/preview/node.d.ts +0 -17
  406. package/vendor/common-nodes/dist/output/preview/node.js +0 -48
  407. package/vendor/common-nodes/dist/primitives/boolean/node.d.ts +0 -17
  408. package/vendor/common-nodes/dist/primitives/boolean/node.js +0 -31
  409. package/vendor/common-nodes/dist/primitives/number/node.d.ts +0 -17
  410. package/vendor/common-nodes/dist/primitives/number/node.js +0 -31
  411. package/vendor/common-nodes/dist/primitives/string/node.d.ts +0 -17
  412. package/vendor/common-nodes/dist/primitives/string/node.js +0 -31
  413. package/vendor/common-nodes/dist/primitives/string-multiline/node.d.ts +0 -17
  414. package/vendor/common-nodes/dist/primitives/string-multiline/node.js +0 -31
  415. package/vendor/common-nodes/dist/resolve-workflow-node-definition.d.ts +0 -7
  416. package/vendor/common-nodes/dist/resolve-workflow-node-definition.js +0 -3
  417. package/vendor/common-nodes/dist/text/append-file/node.d.ts +0 -20
  418. package/vendor/common-nodes/dist/text/append-file/node.js +0 -68
  419. package/vendor/common-nodes/dist/text/concat/node.d.ts +0 -17
  420. package/vendor/common-nodes/dist/text/concat/node.js +0 -38
  421. package/vendor/common-nodes/dist/text/read-file/node.d.ts +0 -20
  422. package/vendor/common-nodes/dist/text/read-file/node.js +0 -57
  423. package/vendor/common-nodes/dist/text/split-paced/node.d.ts +0 -21
  424. package/vendor/common-nodes/dist/text/split-paced/node.js +0 -93
  425. package/vendor/common-nodes/dist/text/write-file/node.d.ts +0 -19
  426. package/vendor/common-nodes/dist/text/write-file/node.js +0 -60
  427. package/vendor/common-nodes/dist/tools/collect-agent-tool-handles.d.ts +0 -12
  428. package/vendor/common-nodes/dist/tools/collect-agent-tool-handles.js +0 -42
  429. package/vendor/common-nodes/dist/tools/filter-enabled-registrations.d.ts +0 -8
  430. package/vendor/common-nodes/dist/tools/filter-enabled-registrations.js +0 -17
  431. package/vendor/common-nodes/dist/tools/inventory-tool-round.d.ts +0 -20
  432. package/vendor/common-nodes/dist/tools/inventory-tool-round.js +0 -91
  433. package/vendor/common-nodes/dist/tools/merge-tool-inventory.d.ts +0 -10
  434. package/vendor/common-nodes/dist/tools/merge-tool-inventory.js +0 -26
  435. package/vendor/common-nodes/dist/tools/run-internal-tool-loop.d.ts +0 -55
  436. package/vendor/common-nodes/dist/tools/run-internal-tool-loop.js +0 -360
  437. package/vendor/common-nodes/dist/tools/tool-collection/node.d.ts +0 -20
  438. package/vendor/common-nodes/dist/tools/tool-collection/node.js +0 -45
  439. package/vendor/common-nodes/dist/tools/tool-registration.d.ts +0 -6
  440. package/vendor/common-nodes/dist/tools/tool-registration.js +0 -33
  441. package/vendor/common-nodes/package.json +0 -48
  442. package/vendor/compiler/dist/bundle-pack.d.ts +0 -18
  443. package/vendor/compiler/dist/bundle-pack.js +0 -98
  444. package/vendor/compiler/dist/cache-key.d.ts +0 -5
  445. package/vendor/compiler/dist/cache-key.js +0 -35
  446. package/vendor/compiler/dist/compile-project-nodes.d.ts +0 -14
  447. package/vendor/compiler/dist/compile-project-nodes.js +0 -143
  448. package/vendor/compiler/dist/compile-types.d.ts +0 -22
  449. package/vendor/compiler/dist/compile-types.js +0 -1
  450. package/vendor/compiler/dist/discover-packs.d.ts +0 -6
  451. package/vendor/compiler/dist/discover-packs.js +0 -93
  452. package/vendor/compiler/dist/format-compilation-errors.d.ts +0 -17
  453. package/vendor/compiler/dist/format-compilation-errors.js +0 -62
  454. package/vendor/compiler/dist/resolve-host-types.d.ts +0 -27
  455. package/vendor/compiler/dist/resolve-host-types.js +0 -185
  456. package/vendor/compiler/dist/typecheck-pack.d.ts +0 -20
  457. package/vendor/compiler/dist/typecheck-pack.js +0 -102
  458. package/vendor/compiler/dist/validate-default-export.d.ts +0 -9
  459. package/vendor/compiler/dist/validate-default-export.js +0 -40
  460. package/vendor/compiler/dist/write-compilation-errors.d.ts +0 -4
  461. package/vendor/compiler/dist/write-compilation-errors.js +0 -27
  462. package/vendor/compiler/package.json +0 -26
  463. package/vendor/eval/dist/eval-pack-types.d.ts +0 -14
  464. package/vendor/eval/dist/eval-pack-types.js +0 -1
  465. package/vendor/eval/dist/load-pack.d.ts +0 -5
  466. package/vendor/eval/dist/load-pack.js +0 -97
  467. package/vendor/eval/dist/load-skill-via-read.d.ts +0 -6
  468. package/vendor/eval/dist/load-skill-via-read.js +0 -14
  469. package/vendor/eval/dist/run-eval-suite.d.ts +0 -46
  470. package/vendor/eval/dist/run-eval-suite.js +0 -90
  471. package/vendor/eval/dist/score-case.d.ts +0 -2
  472. package/vendor/eval/dist/score-case.js +0 -10
  473. package/vendor/eval/package.json +0 -21
  474. package/vendor/server/dist/bootstrap/copy-force.d.ts +0 -7
  475. package/vendor/server/dist/bootstrap/copy-force.js +0 -18
  476. package/vendor/server/dist/bootstrap/copy-if-missing.d.ts +0 -7
  477. package/vendor/server/dist/bootstrap/copy-if-missing.js +0 -32
  478. package/vendor/server/dist/bootstrap/project-bootstrap.service.d.ts +0 -17
  479. package/vendor/server/dist/bootstrap/project-bootstrap.service.js +0 -82
  480. package/vendor/server/dist/bootstrap/project-bootstrap.service.test.d.ts +0 -2
  481. package/vendor/server/dist/bootstrap/project-bootstrap.service.test.js +0 -20
  482. package/vendor/server/dist/bootstrap/resolve-skeleton-root.d.ts +0 -8
  483. package/vendor/server/dist/bootstrap/resolve-skeleton-root.js +0 -34
  484. package/vendor/server/dist/bootstrap/seed-skeleton.d.ts +0 -15
  485. package/vendor/server/dist/bootstrap/seed-skeleton.js +0 -70
  486. package/vendor/server/dist/bridge/attach-langflower-bridge.d.ts +0 -19
  487. package/vendor/server/dist/bridge/attach-langflower-bridge.js +0 -79
  488. package/vendor/server/dist/bridge/bind-embed-context.d.ts +0 -7
  489. package/vendor/server/dist/bridge/bind-embed-context.js +0 -16
  490. package/vendor/server/dist/bridge/bind-llm-context.d.ts +0 -13
  491. package/vendor/server/dist/bridge/bind-llm-context.js +0 -30
  492. package/vendor/server/dist/bridge/bridge-event-log.d.ts +0 -12
  493. package/vendor/server/dist/bridge/bridge-event-log.js +0 -114
  494. package/vendor/server/dist/bridge/bridge-outbound.d.ts +0 -4
  495. package/vendor/server/dist/bridge/bridge-outbound.js +0 -14
  496. package/vendor/server/dist/bridge/build-execution-context.d.ts +0 -31
  497. package/vendor/server/dist/bridge/build-execution-context.js +0 -223
  498. package/vendor/server/dist/bridge/build-execution-context.test.d.ts +0 -2
  499. package/vendor/server/dist/bridge/build-execution-context.test.js +0 -126
  500. package/vendor/server/dist/bridge/build-langflower-config-snapshot.d.ts +0 -6
  501. package/vendor/server/dist/bridge/build-langflower-config-snapshot.js +0 -17
  502. package/vendor/server/dist/bridge/client-index.d.ts +0 -5
  503. package/vendor/server/dist/bridge/client-index.js +0 -16
  504. package/vendor/server/dist/bridge/emit-bootstrap.d.ts +0 -16
  505. package/vendor/server/dist/bridge/emit-bootstrap.js +0 -82
  506. package/vendor/server/dist/bridge/forward-runner-event.d.ts +0 -4
  507. package/vendor/server/dist/bridge/forward-runner-event.js +0 -12
  508. package/vendor/server/dist/bridge/forward-runner-event.test.d.ts +0 -2
  509. package/vendor/server/dist/bridge/forward-runner-event.test.js +0 -91
  510. package/vendor/server/dist/bridge/get-live-wired-tools.d.ts +0 -13
  511. package/vendor/server/dist/bridge/get-live-wired-tools.js +0 -83
  512. package/vendor/server/dist/bridge/inbound-guards.d.ts +0 -2
  513. package/vendor/server/dist/bridge/inbound-guards.js +0 -4
  514. package/vendor/server/dist/bridge/langflower-bridge.types.d.ts +0 -4
  515. package/vendor/server/dist/bridge/langflower-bridge.types.js +0 -1
  516. package/vendor/server/dist/bridge/langflower-tools-rpc.d.ts +0 -7
  517. package/vendor/server/dist/bridge/langflower-tools-rpc.js +0 -29
  518. package/vendor/server/dist/bridge/push-models-catalog.d.ts +0 -12
  519. package/vendor/server/dist/bridge/push-models-catalog.js +0 -31
  520. package/vendor/server/dist/bridge/same-canvas-viewport.d.ts +0 -3
  521. package/vendor/server/dist/bridge/same-canvas-viewport.js +0 -5
  522. package/vendor/server/dist/bridge/settings-draft-controller.d.ts +0 -14
  523. package/vendor/server/dist/bridge/settings-draft-controller.js +0 -205
  524. package/vendor/server/dist/bridge/wire-config-handlers.d.ts +0 -11
  525. package/vendor/server/dist/bridge/wire-config-handlers.js +0 -51
  526. package/vendor/server/dist/bridge/wire-custom-palette-handlers.d.ts +0 -5
  527. package/vendor/server/dist/bridge/wire-custom-palette-handlers.js +0 -8
  528. package/vendor/server/dist/bridge/wire-editor-handlers.d.ts +0 -12
  529. package/vendor/server/dist/bridge/wire-editor-handlers.js +0 -254
  530. package/vendor/server/dist/bridge/wire-models-handlers.d.ts +0 -5
  531. package/vendor/server/dist/bridge/wire-models-handlers.js +0 -23
  532. package/vendor/server/dist/bridge/wire-palette-handlers.d.ts +0 -4
  533. package/vendor/server/dist/bridge/wire-palette-handlers.js +0 -9
  534. package/vendor/server/dist/bridge/wire-project-bootstrap-handlers.d.ts +0 -9
  535. package/vendor/server/dist/bridge/wire-project-bootstrap-handlers.js +0 -63
  536. package/vendor/server/dist/bridge/wire-runner-handlers.d.ts +0 -10
  537. package/vendor/server/dist/bridge/wire-runner-handlers.js +0 -302
  538. package/vendor/server/dist/bridge/wire-workflow-handlers.d.ts +0 -5
  539. package/vendor/server/dist/bridge/wire-workflow-handlers.js +0 -245
  540. package/vendor/server/dist/bridge/wrap-builtin-tool-handles.d.ts +0 -10
  541. package/vendor/server/dist/bridge/wrap-builtin-tool-handles.js +0 -42
  542. package/vendor/server/dist/checkpoint/list-resumable-checkpoints.d.ts +0 -4
  543. package/vendor/server/dist/checkpoint/list-resumable-checkpoints.js +0 -11
  544. package/vendor/server/dist/checkpoint/resolve-checkpoint-boundary.d.ts +0 -11
  545. package/vendor/server/dist/checkpoint/resolve-checkpoint-boundary.js +0 -31
  546. package/vendor/server/dist/checkpoint/run-checkpoint-session.d.ts +0 -41
  547. package/vendor/server/dist/checkpoint/run-checkpoint-session.js +0 -170
  548. package/vendor/server/dist/checkpoint/workflow-checkpoint-store.d.ts +0 -23
  549. package/vendor/server/dist/checkpoint/workflow-checkpoint-store.js +0 -177
  550. package/vendor/server/dist/checkpoint/workflow-checkpoint-store.test.d.ts +0 -2
  551. package/vendor/server/dist/checkpoint/workflow-checkpoint-store.test.js +0 -60
  552. package/vendor/server/dist/config/config.service.d.ts +0 -9
  553. package/vendor/server/dist/config/config.service.js +0 -31
  554. package/vendor/server/dist/config/langflower-config.service.d.ts +0 -37
  555. package/vendor/server/dist/config/langflower-config.service.js +0 -390
  556. package/vendor/server/dist/config/langflower-config.service.test.d.ts +0 -2
  557. package/vendor/server/dist/config/langflower-config.service.test.js +0 -111
  558. package/vendor/server/dist/config/redact-langflower-config.d.ts +0 -8
  559. package/vendor/server/dist/config/redact-langflower-config.js +0 -42
  560. package/vendor/server/dist/config/redact-langflower-config.test.d.ts +0 -2
  561. package/vendor/server/dist/config/redact-langflower-config.test.js +0 -69
  562. package/vendor/server/dist/config/resolve-draft-provider-credentials.d.ts +0 -18
  563. package/vendor/server/dist/config/resolve-draft-provider-credentials.js +0 -60
  564. package/vendor/server/dist/config/resolve-global-langflower-config-path.d.ts +0 -5
  565. package/vendor/server/dist/config/resolve-global-langflower-config-path.js +0 -18
  566. package/vendor/server/dist/config/resolve-provider-credentials.d.ts +0 -20
  567. package/vendor/server/dist/config/resolve-provider-credentials.js +0 -59
  568. package/vendor/server/dist/config/resolve-provider-credentials.test.d.ts +0 -2
  569. package/vendor/server/dist/config/resolve-provider-credentials.test.js +0 -63
  570. package/vendor/server/dist/crawl/create-crawl-context.d.ts +0 -6
  571. package/vendor/server/dist/crawl/create-crawl-context.js +0 -33
  572. package/vendor/server/dist/crawl/create-crawl-context.test.d.ts +0 -2
  573. package/vendor/server/dist/crawl/create-crawl-context.test.js +0 -30
  574. package/vendor/server/dist/crawl/create-web-fetch.d.ts +0 -12
  575. package/vendor/server/dist/crawl/create-web-fetch.js +0 -128
  576. package/vendor/server/dist/crawl/create-web-fetch.test.d.ts +0 -2
  577. package/vendor/server/dist/crawl/create-web-fetch.test.js +0 -43
  578. package/vendor/server/dist/crawl/ssrf-guard.d.ts +0 -13
  579. package/vendor/server/dist/crawl/ssrf-guard.js +0 -117
  580. package/vendor/server/dist/crawl/ssrf-guard.test.d.ts +0 -2
  581. package/vendor/server/dist/crawl/ssrf-guard.test.js +0 -46
  582. package/vendor/server/dist/create-server.d.ts +0 -10
  583. package/vendor/server/dist/create-server.js +0 -60
  584. package/vendor/server/dist/harness/pending-permission-asks.d.ts +0 -14
  585. package/vendor/server/dist/harness/pending-permission-asks.js +0 -45
  586. package/vendor/server/dist/harness/permission.d.ts +0 -23
  587. package/vendor/server/dist/harness/permission.js +0 -31
  588. package/vendor/server/dist/harness/permission.test.d.ts +0 -2
  589. package/vendor/server/dist/harness/permission.test.js +0 -50
  590. package/vendor/server/dist/index.d.ts +0 -4
  591. package/vendor/server/dist/index.js +0 -4
  592. package/vendor/server/dist/kb/chunk-text.d.ts +0 -8
  593. package/vendor/server/dist/kb/chunk-text.js +0 -52
  594. package/vendor/server/dist/kb/cosine.d.ts +0 -3
  595. package/vendor/server/dist/kb/cosine.js +0 -21
  596. package/vendor/server/dist/kb/create-kb-context.d.ts +0 -6
  597. package/vendor/server/dist/kb/create-kb-context.js +0 -46
  598. package/vendor/server/dist/kb/kb-paths.d.ts +0 -8
  599. package/vendor/server/dist/kb/kb-paths.js +0 -19
  600. package/vendor/server/dist/kb/kb-store.d.ts +0 -41
  601. package/vendor/server/dist/kb/kb-store.js +0 -250
  602. package/vendor/server/dist/kb/kb-store.test.d.ts +0 -2
  603. package/vendor/server/dist/kb/kb-store.test.js +0 -94
  604. package/vendor/server/dist/kb/local-embed.d.ts +0 -8
  605. package/vendor/server/dist/kb/local-embed.js +0 -41
  606. package/vendor/server/dist/listen-http-server.d.ts +0 -6
  607. package/vendor/server/dist/listen-http-server.js +0 -18
  608. package/vendor/server/dist/llm/create-chat-completion-stream.d.ts +0 -8
  609. package/vendor/server/dist/llm/create-chat-completion-stream.js +0 -125
  610. package/vendor/server/dist/llm/create-chat-completion-stream.test.d.ts +0 -2
  611. package/vendor/server/dist/llm/create-chat-completion-stream.test.js +0 -72
  612. package/vendor/server/dist/llm/create-embedding.d.ts +0 -9
  613. package/vendor/server/dist/llm/create-embedding.js +0 -51
  614. package/vendor/server/dist/llm/list-provider-models.d.ts +0 -29
  615. package/vendor/server/dist/llm/list-provider-models.js +0 -55
  616. package/vendor/server/dist/llm/list-provider-models.test.d.ts +0 -2
  617. package/vendor/server/dist/llm/list-provider-models.test.js +0 -97
  618. package/vendor/server/dist/mcp/create-mcp-runtime.d.ts +0 -21
  619. package/vendor/server/dist/mcp/create-mcp-runtime.js +0 -167
  620. package/vendor/server/dist/mcp/create-mcp-runtime.test.d.ts +0 -2
  621. package/vendor/server/dist/mcp/create-mcp-runtime.test.js +0 -69
  622. package/vendor/server/dist/mcp/mcp-stdio-client.d.ts +0 -32
  623. package/vendor/server/dist/mcp/mcp-stdio-client.js +0 -183
  624. package/vendor/server/dist/mcp/mcp-tool-id.d.ts +0 -5
  625. package/vendor/server/dist/mcp/mcp-tool-id.js +0 -5
  626. package/vendor/server/dist/mcp/openai-mcp-tool-loop.test.d.ts +0 -2
  627. package/vendor/server/dist/mcp/openai-mcp-tool-loop.test.js +0 -189
  628. package/vendor/server/dist/mcp/wrap-harness-with-mcp.d.ts +0 -5
  629. package/vendor/server/dist/mcp/wrap-harness-with-mcp.js +0 -14
  630. package/vendor/server/dist/palette/compile-and-hot-swap-custom-nodes.d.ts +0 -10
  631. package/vendor/server/dist/palette/compile-and-hot-swap-custom-nodes.js +0 -23
  632. package/vendor/server/dist/palette/custom-node-registry.d.ts +0 -10
  633. package/vendor/server/dist/palette/custom-node-registry.js +0 -19
  634. package/vendor/server/dist/palette/custom-palette.service.d.ts +0 -12
  635. package/vendor/server/dist/palette/custom-palette.service.js +0 -63
  636. package/vendor/server/dist/palette/palette.service.d.ts +0 -13
  637. package/vendor/server/dist/palette/palette.service.js +0 -28
  638. package/vendor/server/dist/server-context.d.ts +0 -18
  639. package/vendor/server/dist/server-context.js +0 -29
  640. package/vendor/server/dist/session/build-selected-node-payload.d.ts +0 -9
  641. package/vendor/server/dist/session/build-selected-node-payload.js +0 -20
  642. package/vendor/server/dist/session/build-session-bootstrap.d.ts +0 -7
  643. package/vendor/server/dist/session/build-session-bootstrap.js +0 -23
  644. package/vendor/server/dist/session/clear-feed-while-running.test.d.ts +0 -2
  645. package/vendor/server/dist/session/clear-feed-while-running.test.js +0 -41
  646. package/vendor/server/dist/session/langflower-session.d.ts +0 -38
  647. package/vendor/server/dist/session/langflower-session.js +0 -92
  648. package/vendor/server/dist/session/reset-session-execution-feed.d.ts +0 -6
  649. package/vendor/server/dist/session/reset-session-execution-feed.js +0 -8
  650. package/vendor/server/dist/session/settings-draft-session.d.ts +0 -24
  651. package/vendor/server/dist/session/settings-draft-session.js +0 -82
  652. package/vendor/server/dist/skills/is-safe-skill-id.d.ts +0 -2
  653. package/vendor/server/dist/skills/is-safe-skill-id.js +0 -7
  654. package/vendor/server/dist/skills/list-skills.d.ts +0 -2
  655. package/vendor/server/dist/skills/list-skills.js +0 -36
  656. package/vendor/server/dist/skills/list-skills.test.d.ts +0 -2
  657. package/vendor/server/dist/skills/list-skills.test.js +0 -46
  658. package/vendor/server/dist/skills/parse-skill-markdown.d.ts +0 -7
  659. package/vendor/server/dist/skills/parse-skill-markdown.js +0 -50
  660. package/vendor/server/dist/skills/parse-skill-markdown.test.d.ts +0 -2
  661. package/vendor/server/dist/skills/parse-skill-markdown.test.js +0 -33
  662. package/vendor/server/dist/skills/read-agents-markdown.d.ts +0 -2
  663. package/vendor/server/dist/skills/read-agents-markdown.js +0 -13
  664. package/vendor/server/dist/skills/read-skill-markdown.d.ts +0 -2
  665. package/vendor/server/dist/skills/read-skill-markdown.js +0 -17
  666. package/vendor/server/dist/skills/read-skill-markdown.test.d.ts +0 -2
  667. package/vendor/server/dist/skills/read-skill-markdown.test.js +0 -31
  668. package/vendor/server/dist/skills/with-skills-catalog.d.ts +0 -3
  669. package/vendor/server/dist/skills/with-skills-catalog.js +0 -6
  670. package/vendor/server/dist/skills/with-skills-catalog.test.d.ts +0 -2
  671. package/vendor/server/dist/skills/with-skills-catalog.test.js +0 -40
  672. package/vendor/server/dist/utils/parse-jsonc.d.ts +0 -2
  673. package/vendor/server/dist/utils/parse-jsonc.js +0 -7
  674. package/vendor/server/dist/workflow/activate-workflow-in-session.d.ts +0 -26
  675. package/vendor/server/dist/workflow/activate-workflow-in-session.js +0 -69
  676. package/vendor/server/dist/workflow/apply-editor-mutation.d.ts +0 -67
  677. package/vendor/server/dist/workflow/apply-editor-mutation.js +0 -527
  678. package/vendor/server/dist/workflow/apply-editor-mutation.test.d.ts +0 -2
  679. package/vendor/server/dist/workflow/apply-editor-mutation.test.js +0 -397
  680. package/vendor/server/dist/workflow/bind-workflow-graph.d.ts +0 -11
  681. package/vendor/server/dist/workflow/bind-workflow-graph.js +0 -16
  682. package/vendor/server/dist/workflow/build-save-current-payload.d.ts +0 -3
  683. package/vendor/server/dist/workflow/build-save-current-payload.js +0 -17
  684. package/vendor/server/dist/workflow/build-save-current-payload.test.d.ts +0 -2
  685. package/vendor/server/dist/workflow/build-save-current-payload.test.js +0 -44
  686. package/vendor/server/dist/workflow/copy-workflow-to-session.d.ts +0 -8
  687. package/vendor/server/dist/workflow/copy-workflow-to-session.js +0 -32
  688. package/vendor/server/dist/workflow/copy-workflow-to-session.test.d.ts +0 -2
  689. package/vendor/server/dist/workflow/copy-workflow-to-session.test.js +0 -72
  690. package/vendor/server/dist/workflow/create-empty-workflow-in-session.d.ts +0 -4
  691. package/vendor/server/dist/workflow/create-empty-workflow-in-session.js +0 -34
  692. package/vendor/server/dist/workflow/create-empty-workflow-in-session.test.d.ts +0 -2
  693. package/vendor/server/dist/workflow/create-empty-workflow-in-session.test.js +0 -54
  694. package/vendor/server/dist/workflow/load-workflow-into-session.d.ts +0 -15
  695. package/vendor/server/dist/workflow/load-workflow-into-session.js +0 -43
  696. package/vendor/server/dist/workflow/rename-active-workflow.d.ts +0 -14
  697. package/vendor/server/dist/workflow/rename-active-workflow.js +0 -60
  698. package/vendor/server/dist/workflow/rename-active-workflow.test.d.ts +0 -2
  699. package/vendor/server/dist/workflow/rename-active-workflow.test.js +0 -111
  700. package/vendor/server/dist/workflow/repair-workflow-graph.d.ts +0 -12
  701. package/vendor/server/dist/workflow/repair-workflow-graph.js +0 -62
  702. package/vendor/server/dist/workflow/repro-bypass.test.d.ts +0 -2
  703. package/vendor/server/dist/workflow/repro-bypass.test.js +0 -63
  704. package/vendor/server/dist/workflow/workflow-document.d.ts +0 -21
  705. package/vendor/server/dist/workflow/workflow-document.js +0 -58
  706. package/vendor/server/dist/workflow/workflow-id.d.ts +0 -2
  707. package/vendor/server/dist/workflow/workflow-id.js +0 -19
  708. package/vendor/server/dist/workflow/workflow-id.test.d.ts +0 -2
  709. package/vendor/server/dist/workflow/workflow-id.test.js +0 -23
  710. package/vendor/server/dist/workflow/workflow-persisted-inputs.d.ts +0 -13
  711. package/vendor/server/dist/workflow/workflow-persisted-inputs.js +0 -71
  712. package/vendor/server/dist/workflow/workflow.service.d.ts +0 -37
  713. package/vendor/server/dist/workflow/workflow.service.js +0 -161
  714. package/vendor/server/dist/workflow/workflow.service.test.d.ts +0 -2
  715. package/vendor/server/dist/workflow/workflow.service.test.js +0 -57
  716. package/vendor/server/package.json +0 -35
  717. package/vendor/shared/dist/checkpoint/json-value.d.ts +0 -7
  718. package/vendor/shared/dist/checkpoint/json-value.js +0 -52
  719. package/vendor/shared/dist/checkpoint/json-value.test.d.ts +0 -1
  720. package/vendor/shared/dist/checkpoint/json-value.test.js +0 -22
  721. package/vendor/shared/dist/checkpoint/workflow-fingerprint.d.ts +0 -11
  722. package/vendor/shared/dist/checkpoint/workflow-fingerprint.js +0 -17
  723. package/vendor/shared/dist/checkpoint/workflow-fingerprint.test.d.ts +0 -1
  724. package/vendor/shared/dist/checkpoint/workflow-fingerprint.test.js +0 -54
  725. package/vendor/shared/dist/constants/defaults.d.ts +0 -16
  726. package/vendor/shared/dist/constants/defaults.js +0 -25
  727. package/vendor/shared/dist/execution/derive-run-settle-outcome.d.ts +0 -16
  728. package/vendor/shared/dist/execution/derive-run-settle-outcome.js +0 -48
  729. package/vendor/shared/dist/execution/derive-run-settle-outcome.test.d.ts +0 -1
  730. package/vendor/shared/dist/execution/derive-run-settle-outcome.test.js +0 -46
  731. package/vendor/shared/dist/langflower-bus-config.d.ts +0 -484
  732. package/vendor/shared/dist/langflower-bus-config.js +0 -635
  733. package/vendor/shared/dist/langflower-config/mcp-tool-id.d.ts +0 -23
  734. package/vendor/shared/dist/langflower-config/mcp-tool-id.js +0 -43
  735. package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.d.ts +0 -6
  736. package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.js +0 -18
  737. package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.test.d.ts +0 -1
  738. package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.test.js +0 -44
  739. package/vendor/shared/dist/langflower-config/merge-provider-model-options.d.ts +0 -7
  740. package/vendor/shared/dist/langflower-config/merge-provider-model-options.js +0 -17
  741. package/vendor/shared/dist/langflower-config/merge-provider-model-options.test.d.ts +0 -1
  742. package/vendor/shared/dist/langflower-config/merge-provider-model-options.test.js +0 -22
  743. package/vendor/shared/dist/langflower-config/parse-default-chat-model.d.ts +0 -14
  744. package/vendor/shared/dist/langflower-config/parse-default-chat-model.js +0 -38
  745. package/vendor/shared/dist/langflower-config/parse-default-chat-model.test.d.ts +0 -1
  746. package/vendor/shared/dist/langflower-config/parse-default-chat-model.test.js +0 -41
  747. package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.d.ts +0 -6
  748. package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.js +0 -5
  749. package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.test.d.ts +0 -1
  750. package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.test.js +0 -11
  751. package/vendor/shared/dist/langflower-config/resolve-ui-schema-options.d.ts +0 -18
  752. package/vendor/shared/dist/langflower-config/resolve-ui-schema-options.js +0 -61
  753. package/vendor/shared/dist/langflower-config/resolve-ui-schema-options.test.d.ts +0 -1
  754. package/vendor/shared/dist/langflower-config/resolve-ui-schema-options.test.js +0 -37
  755. package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.d.ts +0 -40
  756. package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.js +0 -139
  757. package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.test.d.ts +0 -1
  758. package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.test.js +0 -253
  759. package/vendor/shared/dist/langflower-config/settings-draft.d.ts +0 -49
  760. package/vendor/shared/dist/langflower-config/settings-draft.js +0 -151
  761. package/vendor/shared/dist/langflower-ws-waits.d.ts +0 -58
  762. package/vendor/shared/dist/langflower-ws-waits.js +0 -121
  763. package/vendor/shared/dist/langflower.d.ts +0 -30
  764. package/vendor/shared/dist/langflower.js +0 -13
  765. package/vendor/shared/dist/types/config.d.ts +0 -4
  766. package/vendor/shared/dist/types/config.js +0 -1
  767. package/vendor/shared/dist/types/langflower-bootstrap.d.ts +0 -71
  768. package/vendor/shared/dist/types/langflower-bootstrap.js +0 -1
  769. package/vendor/shared/dist/types/langflower-config.d.ts +0 -263
  770. package/vendor/shared/dist/types/langflower-config.js +0 -1
  771. package/vendor/shared/dist/types/langflower-custom-palette.d.ts +0 -21
  772. package/vendor/shared/dist/types/langflower-custom-palette.js +0 -1
  773. package/vendor/shared/dist/types/langflower-editor.d.ts +0 -96
  774. package/vendor/shared/dist/types/langflower-editor.js +0 -1
  775. package/vendor/shared/dist/types/langflower-palette.d.ts +0 -25
  776. package/vendor/shared/dist/types/langflower-palette.js +0 -1
  777. package/vendor/shared/dist/types/langflower-project-bootstrap.d.ts +0 -11
  778. package/vendor/shared/dist/types/langflower-project-bootstrap.js +0 -1
  779. package/vendor/shared/dist/types/langflower-server.d.ts +0 -4
  780. package/vendor/shared/dist/types/langflower-server.js +0 -1
  781. package/vendor/shared/dist/types/langflower-workflow.d.ts +0 -146
  782. package/vendor/shared/dist/types/langflower-workflow.js +0 -12
  783. package/vendor/shared/dist/types/workflow-checkpoint.d.ts +0 -60
  784. package/vendor/shared/dist/types/workflow-checkpoint.js +0 -9
  785. package/vendor/shared/package.json +0 -74
  786. package/vendor/tools/dist/builtin-schemas.d.ts +0 -10
  787. package/vendor/tools/dist/builtin-schemas.js +0 -144
  788. package/vendor/tools/dist/builtins/apply-post-process.d.ts +0 -1
  789. package/vendor/tools/dist/builtins/apply-post-process.js +0 -9
  790. package/vendor/tools/dist/builtins/args.d.ts +0 -3
  791. package/vendor/tools/dist/builtins/args.js +0 -14
  792. package/vendor/tools/dist/builtins/bash/tool.d.ts +0 -25
  793. package/vendor/tools/dist/builtins/bash/tool.js +0 -72
  794. package/vendor/tools/dist/builtins/catalog.d.ts +0 -228
  795. package/vendor/tools/dist/builtins/catalog.js +0 -24
  796. package/vendor/tools/dist/builtins/command-exists.d.ts +0 -5
  797. package/vendor/tools/dist/builtins/command-exists.js +0 -27
  798. package/vendor/tools/dist/builtins/create/tool.d.ts +0 -25
  799. package/vendor/tools/dist/builtins/create/tool.js +0 -56
  800. package/vendor/tools/dist/builtins/delete/tool.d.ts +0 -21
  801. package/vendor/tools/dist/builtins/delete/tool.js +0 -44
  802. package/vendor/tools/dist/builtins/edit/tool.d.ts +0 -29
  803. package/vendor/tools/dist/builtins/edit/tool.js +0 -68
  804. package/vendor/tools/dist/builtins/fence.d.ts +0 -4
  805. package/vendor/tools/dist/builtins/fence.js +0 -6
  806. package/vendor/tools/dist/builtins/glob/tool.d.ts +0 -33
  807. package/vendor/tools/dist/builtins/glob/tool.js +0 -77
  808. package/vendor/tools/dist/builtins/grep/search.d.ts +0 -43
  809. package/vendor/tools/dist/builtins/grep/search.js +0 -315
  810. package/vendor/tools/dist/builtins/grep/tool.d.ts +0 -36
  811. package/vendor/tools/dist/builtins/grep/tool.js +0 -66
  812. package/vendor/tools/dist/builtins/read/tool.d.ts +0 -41
  813. package/vendor/tools/dist/builtins/read/tool.js +0 -96
  814. package/vendor/tools/dist/builtins/spawn-capture.d.ts +0 -15
  815. package/vendor/tools/dist/builtins/spawn-capture.js +0 -42
  816. package/vendor/tools/dist/builtins/types.d.ts +0 -16
  817. package/vendor/tools/dist/builtins/types.js +0 -1
  818. package/vendor/tools/dist/builtins/walk-files.d.ts +0 -16
  819. package/vendor/tools/dist/builtins/walk-files.js +0 -100
  820. package/vendor/tools/dist/builtins/write/tool.d.ts +0 -25
  821. package/vendor/tools/dist/builtins/write/tool.js +0 -40
  822. package/vendor/tools/dist/create-crawl-context.d.ts +0 -22
  823. package/vendor/tools/dist/create-crawl-context.js +0 -34
  824. package/vendor/tools/dist/create-memory-context.d.ts +0 -12
  825. package/vendor/tools/dist/create-memory-context.js +0 -84
  826. package/vendor/tools/dist/create-project-files-context.d.ts +0 -19
  827. package/vendor/tools/dist/create-project-files-context.js +0 -75
  828. package/vendor/tools/dist/create-project-harness.d.ts +0 -33
  829. package/vendor/tools/dist/create-project-harness.js +0 -64
  830. package/vendor/tools/dist/create-web-fetch.d.ts +0 -27
  831. package/vendor/tools/dist/create-web-fetch.js +0 -164
  832. package/vendor/tools/dist/domain/args.d.ts +0 -3
  833. package/vendor/tools/dist/domain/args.js +0 -22
  834. package/vendor/tools/dist/domain/create-domain-handlers.d.ts +0 -22
  835. package/vendor/tools/dist/domain/create-domain-handlers.js +0 -223
  836. package/vendor/tools/dist/domain/domain-tool-configs.d.ts +0 -30
  837. package/vendor/tools/dist/domain/domain-tool-configs.js +0 -299
  838. package/vendor/tools/dist/domain/html.d.ts +0 -4
  839. package/vendor/tools/dist/domain/html.js +0 -68
  840. package/vendor/tools/dist/domain/run-bfs-crawl.d.ts +0 -57
  841. package/vendor/tools/dist/domain/run-bfs-crawl.js +0 -112
  842. package/vendor/tools/dist/gate-tool-call.d.ts +0 -17
  843. package/vendor/tools/dist/gate-tool-call.js +0 -35
  844. package/vendor/tools/dist/gitignore.d.ts +0 -4
  845. package/vendor/tools/dist/gitignore.js +0 -94
  846. package/vendor/tools/dist/handlers.d.ts +0 -16
  847. package/vendor/tools/dist/handlers.js +0 -367
  848. package/vendor/tools/dist/harness-types.d.ts +0 -33
  849. package/vendor/tools/dist/harness-types.js +0 -4
  850. package/vendor/tools/dist/kb/chunk-text.d.ts +0 -8
  851. package/vendor/tools/dist/kb/chunk-text.js +0 -52
  852. package/vendor/tools/dist/kb/cosine.d.ts +0 -3
  853. package/vendor/tools/dist/kb/cosine.js +0 -21
  854. package/vendor/tools/dist/kb/create-kb-context.d.ts +0 -62
  855. package/vendor/tools/dist/kb/create-kb-context.js +0 -78
  856. package/vendor/tools/dist/kb/kb-curation.d.ts +0 -69
  857. package/vendor/tools/dist/kb/kb-curation.js +0 -364
  858. package/vendor/tools/dist/kb/kb-paths.d.ts +0 -8
  859. package/vendor/tools/dist/kb/kb-paths.js +0 -19
  860. package/vendor/tools/dist/kb/kb-store.d.ts +0 -41
  861. package/vendor/tools/dist/kb/kb-store.js +0 -246
  862. package/vendor/tools/dist/kb/local-embed.d.ts +0 -8
  863. package/vendor/tools/dist/kb/local-embed.js +0 -41
  864. package/vendor/tools/dist/mcp/build-mcp-handle.d.ts +0 -12
  865. package/vendor/tools/dist/mcp/build-mcp-handle.js +0 -56
  866. package/vendor/tools/dist/mcp/create-mcp-runtime.d.ts +0 -29
  867. package/vendor/tools/dist/mcp/create-mcp-runtime.js +0 -161
  868. package/vendor/tools/dist/mcp/create-system-mcp-handles.d.ts +0 -52
  869. package/vendor/tools/dist/mcp/create-system-mcp-handles.js +0 -127
  870. package/vendor/tools/dist/mcp/env-with-shell-com-spec.d.ts +0 -5
  871. package/vendor/tools/dist/mcp/env-with-shell-com-spec.js +0 -18
  872. package/vendor/tools/dist/mcp/format-mcp-connect-error.d.ts +0 -9
  873. package/vendor/tools/dist/mcp/format-mcp-connect-error.js +0 -13
  874. package/vendor/tools/dist/mcp/mcp-client-types.d.ts +0 -17
  875. package/vendor/tools/dist/mcp/mcp-client-types.js +0 -1
  876. package/vendor/tools/dist/mcp/mcp-http-client.d.ts +0 -31
  877. package/vendor/tools/dist/mcp/mcp-http-client.js +0 -243
  878. package/vendor/tools/dist/mcp/mcp-stdio-client.d.ts +0 -19
  879. package/vendor/tools/dist/mcp/mcp-stdio-client.js +0 -186
  880. package/vendor/tools/dist/mcp/mcp-stdio-frame-parser.d.ts +0 -7
  881. package/vendor/tools/dist/mcp/mcp-stdio-frame-parser.js +0 -77
  882. package/vendor/tools/dist/mcp/mcp-tool-id.d.ts +0 -25
  883. package/vendor/tools/dist/mcp/mcp-tool-id.js +0 -45
  884. package/vendor/tools/dist/mcp/require-mcp-server-name.d.ts +0 -5
  885. package/vendor/tools/dist/mcp/require-mcp-server-name.js +0 -22
  886. package/vendor/tools/dist/mcp/resolve-shell-option.d.ts +0 -6
  887. package/vendor/tools/dist/mcp/resolve-shell-option.js +0 -19
  888. package/vendor/tools/dist/mcp/wrap-harness-with-mcp.d.ts +0 -5
  889. package/vendor/tools/dist/mcp/wrap-harness-with-mcp.js +0 -27
  890. package/vendor/tools/dist/memory/atomic-write.d.ts +0 -4
  891. package/vendor/tools/dist/memory/atomic-write.js +0 -18
  892. package/vendor/tools/dist/memory/create-memory-store.d.ts +0 -21
  893. package/vendor/tools/dist/memory/create-memory-store.js +0 -203
  894. package/vendor/tools/dist/memory/markdown-sections.d.ts +0 -22
  895. package/vendor/tools/dist/memory/markdown-sections.js +0 -69
  896. package/vendor/tools/dist/memory/memory-paths.d.ts +0 -9
  897. package/vendor/tools/dist/memory/memory-paths.js +0 -28
  898. package/vendor/tools/dist/path-sandbox.d.ts +0 -21
  899. package/vendor/tools/dist/path-sandbox.js +0 -96
  900. package/vendor/tools/dist/permission.d.ts +0 -75
  901. package/vendor/tools/dist/permission.js +0 -264
  902. package/vendor/tools/dist/post-process.d.ts +0 -9
  903. package/vendor/tools/dist/post-process.js +0 -36
  904. package/vendor/tools/dist/ssrf-guard.d.ts +0 -22
  905. package/vendor/tools/dist/ssrf-guard.js +0 -119
  906. package/vendor/tools/package.json +0 -74
  907. package/vendor/websocket-bridge/dist/bridge-codec.d.ts +0 -3
  908. package/vendor/websocket-bridge/dist/bridge-codec.js +0 -26
  909. package/vendor/websocket-bridge/dist/bridge-frame.d.ts +0 -11
  910. package/vendor/websocket-bridge/dist/bridge-frame.js +0 -24
  911. package/vendor/websocket-bridge/dist/bridge-guards.d.ts +0 -4
  912. package/vendor/websocket-bridge/dist/bridge-guards.js +0 -17
  913. package/vendor/websocket-bridge/dist/bridge-subjects.d.ts +0 -10
  914. package/vendor/websocket-bridge/dist/bridge-subjects.js +0 -38
  915. package/vendor/websocket-bridge/dist/bridge-types.d.ts +0 -102
  916. package/vendor/websocket-bridge/dist/bridge-types.js +0 -2
  917. package/vendor/websocket-bridge/dist/create-client.d.ts +0 -5
  918. package/vendor/websocket-bridge/dist/create-client.js +0 -152
  919. package/vendor/websocket-bridge/dist/create-server.d.ts +0 -8
  920. package/vendor/websocket-bridge/dist/create-server.js +0 -134
  921. package/vendor/websocket-bridge/dist/testing/expect-type.d.ts +0 -3
  922. package/vendor/websocket-bridge/dist/testing/expect-type.js +0 -3
  923. package/vendor/websocket-bridge/dist/testing/sample-diagram-ws-config.d.ts +0 -27
  924. package/vendor/websocket-bridge/dist/testing/sample-diagram-ws-config.js +0 -12
  925. package/vendor/websocket-bridge/dist/testing/sample-ping-ws-config.d.ts +0 -17
  926. package/vendor/websocket-bridge/dist/testing/sample-ping-ws-config.js +0 -10
  927. package/vendor/websocket-bridge/dist/testing/transport-test-helpers.d.ts +0 -6
  928. package/vendor/websocket-bridge/dist/testing/transport-test-helpers.js +0 -34
  929. package/vendor/websocket-bridge/package.json +0 -34
@@ -1,75 +0,0 @@
1
- import { defineReactiveNode } from '@langflower/node-sdk';
2
- import { EMPTY, mergeMap, of } from 'rxjs';
3
- import { DEFAULT_SWITCH_OUTPUT, DEFAULT_SWITCH_RULES, SWITCH_MATCH_MODE_OPTIONS, parseSwitchMatchMode, switchOutputPortIds, } from './switch-constants.js';
4
- import { parseSwitchRules, resolveSwitchOutput } from './switch-rules.js';
5
- const STATIC_OUTPUT_PORTS = switchOutputPortIds(DEFAULT_SWITCH_RULES, DEFAULT_SWITCH_OUTPUT);
6
- const ALLOWED_SWITCH_OUTPUTS = new Set(STATIC_OUTPUT_PORTS);
7
- /**
8
- * Multi-rule string router. Output ports are fixed (`pass` / `fail` /
9
- * `default`). Panel `rules` may rematch values onto those port names only —
10
- * unknown `rule.output` / `defaultOutput` values fall back to `default`.
11
- */
12
- export const switchNode = defineReactiveNode({
13
- type: 'common-switch',
14
- displayName: 'Switch',
15
- category: 'Logic',
16
- paletteSecondary: true,
17
- description: `
18
- Match a string against rules and send it to **pass**, **fail**, or **default**.
19
-
20
- Typical uses:
21
- - Route by status text
22
- - Several named outcomes without stacking IF nodes
23
- `.trim(),
24
- uiSchema: [
25
- {
26
- field: 'rules',
27
- type: 'json',
28
- label: 'Rules',
29
- default: DEFAULT_SWITCH_RULES,
30
- },
31
- {
32
- field: 'matchMode',
33
- type: 'select',
34
- label: 'Match mode',
35
- default: 'equals',
36
- options: SWITCH_MATCH_MODE_OPTIONS,
37
- },
38
- {
39
- field: 'defaultOutput',
40
- type: 'string',
41
- label: 'Default output',
42
- default: DEFAULT_SWITCH_OUTPUT,
43
- },
44
- ],
45
- bind(ctx, { makeInput, configureOutput, combineInputs }) {
46
- const value = makeInput('value', {
47
- name: 'value',
48
- wireType: 'string',
49
- required: true,
50
- });
51
- const routed$ = combineInputs([value, ctx], ([raw, ec]) => {
52
- const rules = parseSwitchRules(ec.params.rules);
53
- const effectiveRules = rules.length > 0 ? rules : DEFAULT_SWITCH_RULES;
54
- const matchMode = parseSwitchMatchMode(ec.params.matchMode);
55
- const configuredDefault = typeof ec.params.defaultOutput === 'string' &&
56
- ec.params.defaultOutput.length > 0
57
- ? ec.params.defaultOutput
58
- : DEFAULT_SWITCH_OUTPUT;
59
- const defaultOutput = ALLOWED_SWITCH_OUTPUTS.has(configuredDefault)
60
- ? configuredDefault
61
- : DEFAULT_SWITCH_OUTPUT;
62
- const text = String(raw ?? '');
63
- const resolved = resolveSwitchOutput(text, effectiveRules, matchMode, defaultOutput);
64
- const portId = resolved !== undefined && ALLOWED_SWITCH_OUTPUTS.has(resolved)
65
- ? resolved
66
- : defaultOutput;
67
- return { text, portId };
68
- });
69
- const outputs = STATIC_OUTPUT_PORTS.map((portId) => configureOutput(portId, routed$.pipeValue(mergeMap((decision) => decision.portId === portId ? of(decision.text) : EMPTY)), { wireType: 'string' }));
70
- return {
71
- inputs: [value],
72
- outputs,
73
- };
74
- },
75
- });
@@ -1,15 +0,0 @@
1
- import type { SwitchRule } from './switch-rules.js';
2
- /** Default rules — also define the static output port set (plus `default`). */
3
- export declare const DEFAULT_SWITCH_RULES: readonly SwitchRule[];
4
- export declare const DEFAULT_SWITCH_OUTPUT = "default";
5
- export declare const SWITCH_MATCH_MODE_OPTIONS: readonly [{
6
- readonly title: "Equals";
7
- readonly value: "equals";
8
- }, {
9
- readonly title: "Regex";
10
- readonly value: "regex";
11
- }];
12
- export type SwitchMatchMode = 'equals' | 'regex';
13
- export declare const parseSwitchMatchMode: (raw: unknown) => SwitchMatchMode;
14
- /** Unique output port ids from rules + always-present default port. */
15
- export declare const switchOutputPortIds: (rules: readonly SwitchRule[], defaultOutput?: string) => readonly string[];
@@ -1,24 +0,0 @@
1
- /** Default rules — also define the static output port set (plus `default`). */
2
- export const DEFAULT_SWITCH_RULES = [
3
- { match: 'pass', output: 'pass' },
4
- { match: 'fail', output: 'fail' },
5
- ];
6
- export const DEFAULT_SWITCH_OUTPUT = 'default';
7
- export const SWITCH_MATCH_MODE_OPTIONS = [
8
- { title: 'Equals', value: 'equals' },
9
- { title: 'Regex', value: 'regex' },
10
- ];
11
- export const parseSwitchMatchMode = (raw) => raw === 'regex' ? 'regex' : 'equals';
12
- /** Unique output port ids from rules + always-present default port. */
13
- export const switchOutputPortIds = (rules, defaultOutput = DEFAULT_SWITCH_OUTPUT) => {
14
- const ports = [];
15
- for (const rule of rules) {
16
- if (!ports.includes(rule.output)) {
17
- ports.push(rule.output);
18
- }
19
- }
20
- if (defaultOutput.length > 0 && !ports.includes(defaultOutput)) {
21
- ports.push(defaultOutput);
22
- }
23
- return ports;
24
- };
@@ -1,6 +0,0 @@
1
- export type SwitchRule = {
2
- readonly match: string;
3
- readonly output: string;
4
- };
5
- export declare function parseSwitchRules(rules: unknown): readonly SwitchRule[];
6
- export declare function resolveSwitchOutput(value: string, rules: readonly SwitchRule[], matchMode: 'equals' | 'regex', defaultOutput?: string): string | undefined;
@@ -1,43 +0,0 @@
1
- export function parseSwitchRules(rules) {
2
- if (!Array.isArray(rules)) {
3
- return [];
4
- }
5
- const parsed = [];
6
- for (const entry of rules) {
7
- if (typeof entry !== 'object' || entry === null) {
8
- continue;
9
- }
10
- const match = entry.match;
11
- const output = entry.output;
12
- if (typeof match !== 'string' || typeof output !== 'string') {
13
- continue;
14
- }
15
- if (match.length === 0 || output.length === 0) {
16
- continue;
17
- }
18
- parsed.push({ match, output });
19
- }
20
- return parsed;
21
- }
22
- export function resolveSwitchOutput(value, rules, matchMode, defaultOutput) {
23
- for (const rule of rules) {
24
- const matched = matchMode === 'regex'
25
- ? matchesRegex(value, rule.match)
26
- : value === rule.match;
27
- if (matched) {
28
- return rule.output;
29
- }
30
- }
31
- if (defaultOutput !== undefined && defaultOutput.length > 0) {
32
- return defaultOutput;
33
- }
34
- return undefined;
35
- }
36
- function matchesRegex(value, pattern) {
37
- try {
38
- return new RegExp(pattern).test(value);
39
- }
40
- catch {
41
- return false;
42
- }
43
- }
@@ -1,13 +0,0 @@
1
- import type { McpHandle } from '@langflower/node-definitions';
2
- import type { McpClient } from '@langflower/tools/mcp-stdio-client';
3
- /**
4
- * After connect: list tools once and build a live {@link McpHandle}
5
- * with eager {@link ToolHandle}[] (author `toolNames` applied).
6
- * Tool ids use `client.serverName` (`<mcp_name>__<tool>`).
7
- */
8
- export declare const buildMcpHandle: (options: {
9
- readonly id: string;
10
- readonly toolNamesRaw?: unknown;
11
- readonly client: McpClient;
12
- }) => Promise<McpHandle>;
13
- //# sourceMappingURL=build-mcp-handle.d.ts.map
@@ -1,65 +0,0 @@
1
- import { encodeMcpToolId } from '@langflower/tools/mcp-tool-id';
2
- const parseToolNames = (raw) => {
3
- if (typeof raw !== 'string') {
4
- return [];
5
- }
6
- return raw
7
- .split(/[,\s]+/)
8
- .map((name) => name.trim())
9
- .filter((name) => name.length > 0);
10
- };
11
- /**
12
- * After connect: list tools once and build a live {@link McpHandle}
13
- * with eager {@link ToolHandle}[] (author `toolNames` applied).
14
- * Tool ids use `client.serverName` (`<mcp_name>__<tool>`).
15
- */
16
- export const buildMcpHandle = async (options) => {
17
- const id = options.id.trim();
18
- const mcpName = options.client.serverName.trim();
19
- if (id.length === 0) {
20
- throw new Error('MCP handle id is empty.');
21
- }
22
- if (mcpName.length === 0) {
23
- throw new Error('MCP client.serverName is empty.');
24
- }
25
- const toolNames = parseToolNames(options.toolNamesRaw);
26
- const listed = await options.client.listTools();
27
- const allowedIds = toolNames.length === 0
28
- ? undefined
29
- : new Set(toolNames
30
- .map((toolName) => encodeMcpToolId(mcpName, toolName))
31
- .filter((toolId) => toolId.length > 0));
32
- const tools = listed.flatMap((tool) => {
33
- const toolId = encodeMcpToolId(mcpName, tool.name);
34
- if (toolId.length === 0) {
35
- return [];
36
- }
37
- if (allowedIds !== undefined && !allowedIds.has(toolId)) {
38
- return [];
39
- }
40
- const description = (tool.description ?? '').trim().length > 0
41
- ? `${tool.description} (MCP:${mcpName})`
42
- : `MCP tool «${tool.name}» from server «${mcpName}»`;
43
- return [
44
- {
45
- toolId,
46
- name: toolId,
47
- description,
48
- inputSchema: tool.inputSchema !== undefined &&
49
- typeof tool.inputSchema === 'object'
50
- ? tool.inputSchema
51
- : { type: 'object', properties: {} },
52
- invoke: async (args) => {
53
- const result = await options.client.callTool(tool.name, args);
54
- return result.text;
55
- },
56
- },
57
- ];
58
- });
59
- return {
60
- id,
61
- name: mcpName,
62
- tools,
63
- };
64
- };
65
- //# sourceMappingURL=build-mcp-handle.js.map
@@ -1,14 +0,0 @@
1
- import type { McpTransport } from '@langflower/node-definitions';
2
- import type { McpClient } from '@langflower/tools/mcp-stdio-client';
3
- /**
4
- * After connect: list tools once and build a live {@link McpTransport}
5
- * whose handlers close over the client.
6
- */
7
- export declare const buildMcpTransport: (options: {
8
- readonly id: string;
9
- readonly name: string;
10
- readonly description?: string;
11
- readonly toolNamesRaw?: unknown;
12
- readonly client: McpClient;
13
- }) => Promise<McpTransport>;
14
- //# sourceMappingURL=build-mcp-transport.d.ts.map
@@ -1,56 +0,0 @@
1
- import { encodeMcpToolId } from '@langflower/tools/mcp-tool-id';
2
- const parseToolNames = (raw) => {
3
- if (typeof raw !== 'string') {
4
- return [];
5
- }
6
- return raw
7
- .split(/[,\s]+/)
8
- .map((name) => name.trim())
9
- .filter((name) => name.length > 0);
10
- };
11
- /**
12
- * After connect: list tools once and build a live {@link McpTransport}
13
- * whose handlers close over the client.
14
- */
15
- export const buildMcpTransport = async (options) => {
16
- const id = options.id.trim();
17
- const name = options.name.trim().length > 0 ? options.name.trim() : id;
18
- const toolNames = parseToolNames(options.toolNamesRaw);
19
- const listed = await options.client.listTools();
20
- const registrations = listed.flatMap((tool) => {
21
- const toolId = encodeMcpToolId(id, tool.name);
22
- if (toolId.length === 0) {
23
- return [];
24
- }
25
- const description = (tool.description ?? '').trim().length > 0
26
- ? `${tool.description} (MCP:${id})`
27
- : `MCP tool «${tool.name}» from server «${id}»`;
28
- return [
29
- {
30
- kind: 'handler',
31
- toolId,
32
- name: toolId,
33
- description,
34
- inputSchema: tool.inputSchema !== undefined &&
35
- typeof tool.inputSchema === 'object'
36
- ? tool.inputSchema
37
- : { type: 'object', properties: {} },
38
- handler: async (args) => {
39
- const result = await options.client.callTool(tool.name, args);
40
- return result.text;
41
- },
42
- },
43
- ];
44
- });
45
- return {
46
- id,
47
- name,
48
- ...(options.description !== undefined &&
49
- String(options.description).trim().length > 0
50
- ? { description: String(options.description).trim() }
51
- : {}),
52
- ...(toolNames.length > 0 ? { toolNames } : {}),
53
- listRegistrations: () => registrations,
54
- };
55
- };
56
- //# sourceMappingURL=build-mcp-transport.js.map
@@ -1,7 +0,0 @@
1
- import type { McpTransport, ToolRegistration } from '@langflower/node-definitions';
2
- /**
3
- * Inventory rows from ready MCP transports.
4
- * Optional author `toolNames` on a transport still filters listed tools.
5
- */
6
- export declare const collectMcpToolRegistrations: (transports: readonly McpTransport[]) => readonly ToolRegistration[];
7
- //# sourceMappingURL=collect-mcp-tool-registrations.d.ts.map
@@ -1,19 +0,0 @@
1
- import { encodeMcpToolId } from '@langflower/tools/mcp-tool-id';
2
- const filterByAuthorToolNames = (transport, registrations) => {
3
- const names = transport.toolNames
4
- ?.map((name) => name.trim())
5
- .filter((name) => name.length > 0);
6
- if (names === undefined || names.length === 0) {
7
- return registrations;
8
- }
9
- const allowed = new Set(names
10
- .map((name) => encodeMcpToolId(transport.id, name))
11
- .filter((toolId) => toolId.length > 0));
12
- return registrations.filter((registration) => allowed.has(registration.toolId));
13
- };
14
- /**
15
- * Inventory rows from ready MCP transports.
16
- * Optional author `toolNames` on a transport still filters listed tools.
17
- */
18
- export const collectMcpToolRegistrations = (transports) => transports.flatMap((transport) => filterByAuthorToolNames(transport, transport.listRegistrations()));
19
- //# sourceMappingURL=collect-mcp-tool-registrations.js.map
@@ -1,48 +0,0 @@
1
- import type { McpHandle } from '@langflower/node-definitions';
2
- /**
3
- * Structural twin of shared `LangflowerMcp*ServerConfig` (common-nodes cannot
4
- * import `@langflower/shared`). Keep fields in sync with CONFIG / MCP nodes.
5
- * Server display name comes from MCP initialize, not author config.
6
- */
7
- export type SystemMcpStdioEntry = {
8
- readonly kind: 'stdio';
9
- readonly command: string;
10
- readonly toolNames?: string;
11
- };
12
- /** @see SystemMcpStdioEntry */
13
- export type SystemMcpHttpEntry = {
14
- readonly kind: 'http';
15
- readonly url: string;
16
- readonly command?: string;
17
- readonly toolNames?: string;
18
- };
19
- export type SystemMcpServerEntry = SystemMcpStdioEntry | SystemMcpHttpEntry;
20
- export type SystemMcpConnectFailure = {
21
- readonly serverId: string;
22
- readonly message: string;
23
- };
24
- export type SystemMcpHandles = {
25
- readonly handles: readonly McpHandle[];
26
- readonly failures: readonly SystemMcpConnectFailure[];
27
- readonly close: () => Promise<void>;
28
- };
29
- /**
30
- * Connect system MCP servers (same connect/build path as MCP stdio/http nodes).
31
- * Only `serverIds` that exist in `servers` are opened.
32
- * Per-server connect/build failures are recorded; successful servers stay open.
33
- */
34
- export declare const createSystemMcpHandles: (options: {
35
- readonly projectRoot: string;
36
- readonly serverIds: readonly string[];
37
- readonly servers: Readonly<Record<string, SystemMcpServerEntry>>;
38
- }) => Promise<SystemMcpHandles>;
39
- export declare const parseEnabledMcpIds: (value: unknown) => readonly string[];
40
- /** Union of `enabledMcpIds` across workflow nodes (Inspector system MCP). */
41
- export declare const collectEnabledMcpIdsFromNodes: (nodes: ReadonlyArray<{
42
- readonly params: Readonly<Record<string, unknown>>;
43
- }>) => readonly string[];
44
- /** Ready handles whose ids are enabled on this agent instance. */
45
- export declare const filterMcpHandlesByIds: (handles: readonly McpHandle[], enabledMcpIds: readonly string[]) => readonly McpHandle[];
46
- /** Failures that intersect this node's Inspector `enabledMcpIds`. */
47
- export declare const filterMcpFailuresForNode: (failures: readonly SystemMcpConnectFailure[], enabledMcpIds: readonly string[]) => readonly SystemMcpConnectFailure[];
48
- //# sourceMappingURL=create-system-mcp-transports.d.ts.map
@@ -1,124 +0,0 @@
1
- import { connectMcpHttpWithOptionalLaunch } from '@langflower/tools/mcp-http-client';
2
- import { connectMcpStdioFromCli } from '@langflower/tools/mcp-stdio-client';
3
- import { isValidMcpServerId } from '@langflower/tools/mcp-tool-id';
4
- import { buildMcpHandle } from './build-mcp-handle.js';
5
- import { formatMcpConnectError } from './format-mcp-connect-error.js';
6
- /**
7
- * Connect system MCP servers (same connect/build path as MCP stdio/http nodes).
8
- * Only `serverIds` that exist in `servers` are opened.
9
- * Per-server connect/build failures are recorded; successful servers stay open.
10
- */
11
- export const createSystemMcpHandles = async (options) => {
12
- const closers = [];
13
- const handles = [];
14
- const failures = [];
15
- const closeAll = async () => {
16
- for (const closer of [...closers].reverse()) {
17
- await closer();
18
- }
19
- };
20
- for (const rawId of options.serverIds) {
21
- const id = rawId.trim();
22
- if (!isValidMcpServerId(id)) {
23
- continue;
24
- }
25
- const entry = options.servers[id];
26
- if (entry === undefined) {
27
- continue;
28
- }
29
- try {
30
- if (entry.kind === 'stdio') {
31
- const command = entry.command.trim();
32
- if (command.length === 0) {
33
- continue;
34
- }
35
- const client = await connectMcpStdioFromCli({
36
- commandLine: command,
37
- cwd: options.projectRoot,
38
- });
39
- closers.push(() => client.close());
40
- handles.push(await buildMcpHandle({
41
- id,
42
- ...(entry.toolNames !== undefined
43
- ? { toolNamesRaw: entry.toolNames }
44
- : {}),
45
- client,
46
- }));
47
- continue;
48
- }
49
- const url = entry.url.trim();
50
- if (url.length === 0) {
51
- continue;
52
- }
53
- const session = await connectMcpHttpWithOptionalLaunch({
54
- url,
55
- cwd: options.projectRoot,
56
- ...(entry.command !== undefined &&
57
- entry.command.trim().length > 0
58
- ? { command: entry.command.trim() }
59
- : {}),
60
- });
61
- closers.push(() => session.close());
62
- handles.push(await buildMcpHandle({
63
- id,
64
- ...(entry.toolNames !== undefined
65
- ? { toolNamesRaw: entry.toolNames }
66
- : {}),
67
- client: session.client,
68
- }));
69
- }
70
- catch (cause) {
71
- failures.push({
72
- serverId: id,
73
- message: formatMcpConnectError(cause, {
74
- nodeId: id,
75
- kind: 'system',
76
- target: entry.kind === 'stdio'
77
- ? entry.command.trim()
78
- : entry.url.trim(),
79
- }).message,
80
- });
81
- }
82
- }
83
- return {
84
- handles,
85
- failures,
86
- close: closeAll,
87
- };
88
- };
89
- export const parseEnabledMcpIds = (value) => {
90
- if (!Array.isArray(value)) {
91
- return [];
92
- }
93
- return value
94
- .map(String)
95
- .map((id) => id.trim())
96
- .filter((id) => isValidMcpServerId(id));
97
- };
98
- /** Union of `enabledMcpIds` across workflow nodes (Inspector system MCP). */
99
- export const collectEnabledMcpIdsFromNodes = (nodes) => {
100
- const ids = new Set();
101
- for (const node of nodes) {
102
- for (const id of parseEnabledMcpIds(node.params.enabledMcpIds)) {
103
- ids.add(id);
104
- }
105
- }
106
- return [...ids];
107
- };
108
- /** Ready handles whose ids are enabled on this agent instance. */
109
- export const filterMcpHandlesByIds = (handles, enabledMcpIds) => {
110
- if (enabledMcpIds.length === 0) {
111
- return [];
112
- }
113
- const allowed = new Set(enabledMcpIds);
114
- return handles.filter((handle) => allowed.has(handle.id));
115
- };
116
- /** Failures that intersect this node's Inspector `enabledMcpIds`. */
117
- export const filterMcpFailuresForNode = (failures, enabledMcpIds) => {
118
- if (failures.length === 0 || enabledMcpIds.length === 0) {
119
- return [];
120
- }
121
- const allowed = new Set(enabledMcpIds);
122
- return failures.filter((failure) => allowed.has(failure.serverId));
123
- };
124
- //# sourceMappingURL=create-system-mcp-transports.js.map
@@ -1,6 +0,0 @@
1
- import type { McpHandle } from '@langflower/node-sdk/mcp';
2
- /**
3
- * Flatten multi-wire `mcp` combine values (single handle, arrays, or nested
4
- * arrays from defaultValue `[]` on a multi port).
5
- */
6
- export declare const flattenMcpHandles: (wired: unknown) => readonly McpHandle[];
@@ -1,21 +0,0 @@
1
- const isMcpHandle = (value) => typeof value === 'object' &&
2
- value !== null &&
3
- typeof value.id === 'string' &&
4
- Array.isArray(value.tools);
5
- /**
6
- * Flatten multi-wire `mcp` combine values (single handle, arrays, or nested
7
- * arrays from defaultValue `[]` on a multi port).
8
- */
9
- export const flattenMcpHandles = (wired) => {
10
- const root = wired ?? [];
11
- const list = Array.isArray(root) ? root : [root];
12
- return list.flatMap((item) => {
13
- if (Array.isArray(item)) {
14
- return item.filter(isMcpHandle);
15
- }
16
- if (isMcpHandle(item)) {
17
- return [item];
18
- }
19
- return [];
20
- });
21
- };
@@ -1,7 +0,0 @@
1
- import type { McpServerConfig } from './mcp-server-config.js';
2
- /**
3
- * Flatten multi-wire `mcp` combine values (single config, arrays, or nested
4
- * arrays from defaultValue `[]` on a multi port).
5
- */
6
- export declare const flattenMcpServerConfigs: (wired: unknown) => readonly McpServerConfig[];
7
- //# sourceMappingURL=flatten-mcp-server-configs.d.ts.map
@@ -1,21 +0,0 @@
1
- const isMcpServerConfig = (value) => typeof value === 'object' &&
2
- value !== null &&
3
- typeof value.id === 'string';
4
- /**
5
- * Flatten multi-wire `mcp` combine values (single config, arrays, or nested
6
- * arrays from defaultValue `[]` on a multi port).
7
- */
8
- export const flattenMcpServerConfigs = (wired) => {
9
- const root = wired ?? [];
10
- const list = Array.isArray(root) ? root : [root];
11
- return list.flatMap((item) => {
12
- if (Array.isArray(item)) {
13
- return item.filter(isMcpServerConfig);
14
- }
15
- if (isMcpServerConfig(item)) {
16
- return [item];
17
- }
18
- return [];
19
- });
20
- };
21
- //# sourceMappingURL=flatten-mcp-server-configs.js.map
@@ -1,7 +0,0 @@
1
- import type { McpTransport } from '@langflower/node-definitions';
2
- /**
3
- * Flatten multi-wire `mcp` combine values (single transport, arrays, or nested
4
- * arrays from defaultValue `[]` on a multi port).
5
- */
6
- export declare const flattenMcpTransports: (wired: unknown) => readonly McpTransport[];
7
- //# sourceMappingURL=flatten-mcp-transports.d.ts.map
@@ -1,22 +0,0 @@
1
- const isMcpTransport = (value) => typeof value === 'object' &&
2
- value !== null &&
3
- typeof value.id === 'string' &&
4
- typeof value.listRegistrations === 'function';
5
- /**
6
- * Flatten multi-wire `mcp` combine values (single transport, arrays, or nested
7
- * arrays from defaultValue `[]` on a multi port).
8
- */
9
- export const flattenMcpTransports = (wired) => {
10
- const root = wired ?? [];
11
- const list = Array.isArray(root) ? root : [root];
12
- return list.flatMap((item) => {
13
- if (Array.isArray(item)) {
14
- return item.filter(isMcpTransport);
15
- }
16
- if (isMcpTransport(item)) {
17
- return [item];
18
- }
19
- return [];
20
- });
21
- };
22
- //# sourceMappingURL=flatten-mcp-transports.js.map
@@ -1,10 +0,0 @@
1
- /**
2
- * Readable connect/initialize failure for wire MCP nodes (S5).
3
- * Keeps message free of secrets; truncates long command/url.
4
- */
5
- export declare const formatMcpConnectError: (cause: unknown, detail: {
6
- readonly nodeId: string;
7
- readonly kind: "stdio" | "http" | "system";
8
- readonly target: string;
9
- }) => Error;
10
- //# sourceMappingURL=format-mcp-connect-error.d.ts.map
@@ -1,18 +0,0 @@
1
- /**
2
- * Readable connect/initialize failure for wire MCP nodes (S5).
3
- * Keeps message free of secrets; truncates long command/url.
4
- */
5
- export const formatMcpConnectError = (cause, detail) => {
6
- const base = cause instanceof Error ? cause.message : String(cause);
7
- const raw = detail.target.trim();
8
- const target = raw.length === 0
9
- ? ''
10
- : raw.length > 80
11
- ? `${raw.slice(0, 77)}…`
12
- : raw;
13
- const where = target.length > 0
14
- ? `node ${detail.nodeId}, ${target}`
15
- : `node ${detail.nodeId}`;
16
- return new Error(`MCP ${detail.kind} connect failed (${where}): ${base}`);
17
- };
18
- //# sourceMappingURL=format-mcp-connect-error.js.map