langflower 0.0.10 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -70
- package/bin/langflower.js +15 -1
- package/dist/chunk-526FJL62.js +307 -0
- package/dist/chunk-CVTPGIZE.js +344 -0
- package/dist/chunk-EAZMCX37.js +44 -0
- package/dist/chunk-PYLGT66P.js +126 -0
- package/dist/chunk-WQZHA5FM.js +1444 -0
- package/dist/chunk-WV2YWHOC.js +623 -0
- package/dist/chunk-YOTMWWRH.js +2041 -0
- package/dist/index.js +80236 -1
- package/docs/public/README.md +2 -2
- package/docs/public/configuration.md +4 -0
- package/docs/public/extending.md +18 -2
- package/docs/public/getting-started.md +7 -0
- package/docs/public/how-it-works.md +18 -11
- package/docs/public/product.md +35 -25
- package/package.json +1 -8
- package/ui-dist/{chunk-7UMVYN3A.js → chunk-BKIP5WRK.js} +1 -1
- package/ui-dist/chunk-EZTB7Q33.js +4 -0
- package/ui-dist/index.html +2 -2
- package/ui-dist/main-X5M7PU3P.js +317 -0
- package/ui-dist/styles-VA3HMZK7.css +1 -0
- package/vendor/node-sdk/dist/node-factory/define-embed/embed-handle.d.ts +25 -0
- package/vendor/node-sdk/dist/node-factory/define-embed/embed-handle.js +25 -0
- package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-handle.d.ts +1 -0
- package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-handle.js +1 -0
- package/vendor/node-sdk/dist/node-factory/define-node/define-node.d.ts +2 -0
- package/vendor/node-sdk/dist/node-factory/define-node/define-node.js +4 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.d.ts +4 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.js +3 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/io-helpers.d.ts +15 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/io-helpers.js +17 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/port-meta.d.ts +17 -4
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/resolve-secret.d.ts +28 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/resolve-secret.js +76 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/delay-node.js +4 -2
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/types.d.ts +11 -6
- package/vendor/node-sdk/dist/testing/create-node-harness.d.ts +34 -0
- package/vendor/node-sdk/dist/testing/create-node-harness.js +73 -0
- package/vendor/node-sdk/package.json +4 -4
- package/vendor/runtime/dist/types.d.ts +1 -1
- package/vendor/server/skeleton/instructions.md +15 -3
- package/vendor/server/skeleton/nodes/hello-embed/README.md +185 -0
- package/vendor/server/skeleton/nodes/hello-embed/hello-embed.nodes.test.ts +181 -0
- package/vendor/server/skeleton/nodes/hello-embed/ingest.ts +126 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/chunk-markdown.test.ts +40 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/chunk-markdown.ts +123 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/ingest-search.test.ts +180 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/ingest.ts +128 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/paths.test.ts +20 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/paths.ts +70 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/schema.ts +21 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/search.ts +254 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/text-embedder.ts +14 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/vectors.ts +126 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/walk-markdown.test.ts +62 -0
- package/vendor/server/skeleton/nodes/hello-embed/lib/walk-markdown.ts +67 -0
- package/vendor/server/skeleton/nodes/hello-embed/package.json +11 -0
- package/vendor/server/skeleton/nodes/hello-embed/search-handle.ts +119 -0
- package/vendor/server/skeleton/nodes/hello-embed/search.ts +98 -0
- package/vendor/server/skeleton/nodes/hello-embed/tsconfig.json +14 -0
- package/vendor/server/skeleton/nodes/my-nodes/README.md +13 -3
- package/vendor/server/skeleton/schemas/langflower-config.schema.json +9 -1
- package/vendor/server/skeleton/skills/langflower-helper/SKILL.md +113 -27
- package/vendor/server/skeleton/skills/langflower-helper/architecture.md +19 -7
- package/vendor/server/skeleton/skills/langflower-helper/layout.md +25 -18
- package/vendor/server/skeleton/skills/langflower-node-writer/SKILL.md +8 -1
- package/vendor/server/skeleton/skills/langflower-workflow-writer/SKILL.md +3 -1
- package/vendor/server/skeleton/workflows/kb-ingest.json +88 -0
- package/vendor/server/skeleton/workflows/kb-manual-search.json +105 -0
- package/vendor/server/skeleton/workflows/kb-rag.json +192 -0
- package/vendor/server/skeleton/workflows/kb-tool.json +111 -0
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -13
- package/dist/create-fake-skill-case-runner.d.ts +0 -9
- package/dist/create-fake-skill-case-runner.js +0 -73
- package/dist/create-fake-skill-case-runner.test.d.ts +0 -1
- package/dist/create-fake-skill-case-runner.test.js +0 -60
- package/dist/eval-command.d.ts +0 -2
- package/dist/eval-command.js +0 -66
- package/dist/index.d.ts +0 -1
- package/dist/start-command.d.ts +0 -5
- package/dist/start-command.js +0 -110
- package/dist/start-command.test.d.ts +0 -1
- package/dist/start-command.test.js +0 -17
- package/ui-dist/chunk-MDGXX73Z.js +0 -4
- package/ui-dist/main-Z7CPFXFA.js +0 -313
- package/ui-dist/styles-2TMDAUD7.css +0 -1
- package/vendor/common-nodes/dist/ai/build-effective-system-prompt.d.ts +0 -9
- package/vendor/common-nodes/dist/ai/build-effective-system-prompt.js +0 -21
- package/vendor/common-nodes/dist/ai/chat-completion-stream.d.ts +0 -53
- package/vendor/common-nodes/dist/ai/chat-completion-stream.js +0 -1
- package/vendor/common-nodes/dist/ai/chat-input/node.d.ts +0 -25
- package/vendor/common-nodes/dist/ai/chat-input/node.js +0 -39
- package/vendor/common-nodes/dist/ai/critique/node.d.ts +0 -588
- package/vendor/common-nodes/dist/ai/critique/node.js +0 -240
- package/vendor/common-nodes/dist/ai/define-llm-node/default-llm-ports.d.ts +0 -28
- package/vendor/common-nodes/dist/ai/define-llm-node/default-llm-ports.js +0 -59
- package/vendor/common-nodes/dist/ai/define-llm-node/define-llm-node.d.ts +0 -45
- package/vendor/common-nodes/dist/ai/define-llm-node/define-llm-node.js +0 -48
- package/vendor/common-nodes/dist/ai/fake-llm/node.d.ts +0 -571
- package/vendor/common-nodes/dist/ai/fake-llm/node.js +0 -207
- package/vendor/common-nodes/dist/ai/fake-mcp-server/node.d.ts +0 -26
- package/vendor/common-nodes/dist/ai/fake-mcp-server/node.js +0 -67
- package/vendor/common-nodes/dist/ai/fake-tool-registration/node.d.ts +0 -26
- package/vendor/common-nodes/dist/ai/fake-tool-registration/node.js +0 -57
- package/vendor/common-nodes/dist/ai/features/chat-completion-stream.d.ts +0 -53
- package/vendor/common-nodes/dist/ai/features/chat-completion-stream.js +0 -1
- package/vendor/common-nodes/dist/ai/features/llm-loop/autokick-recovery.d.ts +0 -13
- package/vendor/common-nodes/dist/ai/features/llm-loop/autokick-recovery.js +0 -17
- package/vendor/common-nodes/dist/ai/features/llm-loop/classify-llm-failure.d.ts +0 -2
- package/vendor/common-nodes/dist/ai/features/llm-loop/classify-llm-failure.js +0 -113
- package/vendor/common-nodes/dist/ai/features/llm-loop/dead-loop-detector.d.ts +0 -28
- package/vendor/common-nodes/dist/ai/features/llm-loop/dead-loop-detector.js +0 -194
- package/vendor/common-nodes/dist/ai/features/llm-loop/live-get-tools.d.ts +0 -9
- package/vendor/common-nodes/dist/ai/features/llm-loop/live-get-tools.js +0 -21
- package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-reducer.d.ts +0 -2
- package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-reducer.js +0 -204
- package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-types.d.ts +0 -120
- package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-types.js +0 -39
- package/vendor/common-nodes/dist/ai/features/llm-loop/normalize-llm-recovery-policy.d.ts +0 -2
- package/vendor/common-nodes/dist/ai/features/llm-loop/normalize-llm-recovery-policy.js +0 -59
- package/vendor/common-nodes/dist/ai/features/llm-loop/operators/normalize-tool-result.d.ts +0 -1
- package/vendor/common-nodes/dist/ai/features/llm-loop/operators/normalize-tool-result.js +0 -7
- package/vendor/common-nodes/dist/ai/features/llm-loop/operators/observe-provider-stream.d.ts +0 -43
- package/vendor/common-nodes/dist/ai/features/llm-loop/operators/observe-provider-stream.js +0 -96
- package/vendor/common-nodes/dist/ai/features/llm-loop/run-agent-loop.d.ts +0 -29
- package/vendor/common-nodes/dist/ai/features/llm-loop/run-agent-loop.js +0 -44
- package/vendor/common-nodes/dist/ai/features/llm-loop/run-llm-loop.d.ts +0 -74
- package/vendor/common-nodes/dist/ai/features/llm-loop/run-llm-loop.js +0 -658
- package/vendor/common-nodes/dist/ai/features/llm-role-preset.d.ts +0 -69
- package/vendor/common-nodes/dist/ai/features/llm-role-preset.js +0 -265
- package/vendor/common-nodes/dist/ai/features/llm-session/llm-session-shell.d.ts +0 -141
- package/vendor/common-nodes/dist/ai/features/llm-session/llm-session-shell.js +0 -193
- package/vendor/common-nodes/dist/ai/features/llm-session/run-session-machine.d.ts +0 -21
- package/vendor/common-nodes/dist/ai/features/llm-session/run-session-machine.js +0 -118
- package/vendor/common-nodes/dist/ai/features/openai/context-length-error.d.ts +0 -14
- package/vendor/common-nodes/dist/ai/features/openai/context-length-error.js +0 -63
- package/vendor/common-nodes/dist/ai/features/openai/create-chat-completion-stream.d.ts +0 -19
- package/vendor/common-nodes/dist/ai/features/openai/create-chat-completion-stream.js +0 -182
- package/vendor/common-nodes/dist/ai/features/openai/list-provider-models.d.ts +0 -28
- package/vendor/common-nodes/dist/ai/features/openai/list-provider-models.js +0 -52
- package/vendor/common-nodes/dist/ai/features/openai/llm-context-compaction.d.ts +0 -31
- package/vendor/common-nodes/dist/ai/features/openai/llm-context-compaction.js +0 -326
- package/vendor/common-nodes/dist/ai/features/openai/normalize-compaction-params.d.ts +0 -14
- package/vendor/common-nodes/dist/ai/features/openai/normalize-compaction-params.js +0 -21
- package/vendor/common-nodes/dist/ai/features/openai/prepare-chat-completion.d.ts +0 -30
- package/vendor/common-nodes/dist/ai/features/openai/prepare-chat-completion.js +0 -132
- package/vendor/common-nodes/dist/ai/features/path-choice/control-tools.d.ts +0 -20
- package/vendor/common-nodes/dist/ai/features/path-choice/control-tools.js +0 -70
- package/vendor/common-nodes/dist/ai/features/path-choice/run-reactive-path-choice-loop.d.ts +0 -32
- package/vendor/common-nodes/dist/ai/features/path-choice/run-reactive-path-choice-loop.js +0 -93
- package/vendor/common-nodes/dist/ai/features/prompt/build-effective-system-prompt.d.ts +0 -9
- package/vendor/common-nodes/dist/ai/features/prompt/build-effective-system-prompt.js +0 -21
- package/vendor/common-nodes/dist/ai/features/prompt/normalize-max-iterations.d.ts +0 -13
- package/vendor/common-nodes/dist/ai/features/prompt/normalize-max-iterations.js +0 -23
- package/vendor/common-nodes/dist/ai/features/prompt/resolve-chat-provider-model.d.ts +0 -10
- package/vendor/common-nodes/dist/ai/features/prompt/resolve-chat-provider-model.js +0 -8
- package/vendor/common-nodes/dist/ai/features/run-host-services.d.ts +0 -54
- package/vendor/common-nodes/dist/ai/features/run-host-services.js +0 -29
- package/vendor/common-nodes/dist/ai/features/scripted-chat-completion-stream.d.ts +0 -17
- package/vendor/common-nodes/dist/ai/features/scripted-chat-completion-stream.js +0 -61
- package/vendor/common-nodes/dist/ai/features/sub-agent-protocol.d.ts +0 -40
- package/vendor/common-nodes/dist/ai/features/sub-agent-protocol.js +0 -44
- package/vendor/common-nodes/dist/ai/features/ui-schema/llm-compaction-ui-schema.d.ts +0 -14
- package/vendor/common-nodes/dist/ai/features/ui-schema/llm-compaction-ui-schema.js +0 -18
- package/vendor/common-nodes/dist/ai/features/ui-schema/llm-panel-ui-schema.d.ts +0 -80
- package/vendor/common-nodes/dist/ai/features/ui-schema/llm-panel-ui-schema.js +0 -76
- package/vendor/common-nodes/dist/ai/features/ui-schema/llm-recovery-ui-schema.d.ts +0 -113
- package/vendor/common-nodes/dist/ai/features/ui-schema/llm-recovery-ui-schema.js +0 -131
- package/vendor/common-nodes/dist/ai/features/wait-for-subagent-result.d.ts +0 -7
- package/vendor/common-nodes/dist/ai/features/wait-for-subagent-result.js +0 -31
- package/vendor/common-nodes/dist/ai/filter-enabled-registrations.d.ts +0 -9
- package/vendor/common-nodes/dist/ai/filter-enabled-registrations.js +0 -18
- package/vendor/common-nodes/dist/ai/flatten-mcp-server-configs.d.ts +0 -7
- package/vendor/common-nodes/dist/ai/flatten-mcp-server-configs.js +0 -21
- package/vendor/common-nodes/dist/ai/inventory-tool-round.d.ts +0 -33
- package/vendor/common-nodes/dist/ai/inventory-tool-round.js +0 -215
- package/vendor/common-nodes/dist/ai/llm-compaction-ui-schema.d.ts +0 -14
- package/vendor/common-nodes/dist/ai/llm-compaction-ui-schema.js +0 -18
- package/vendor/common-nodes/dist/ai/llm-loop/autokick-recovery.d.ts +0 -13
- package/vendor/common-nodes/dist/ai/llm-loop/autokick-recovery.js +0 -17
- package/vendor/common-nodes/dist/ai/llm-loop/classify-llm-failure.d.ts +0 -2
- package/vendor/common-nodes/dist/ai/llm-loop/classify-llm-failure.js +0 -113
- package/vendor/common-nodes/dist/ai/llm-loop/dead-loop-detector.d.ts +0 -28
- package/vendor/common-nodes/dist/ai/llm-loop/dead-loop-detector.js +0 -194
- package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-reducer.d.ts +0 -2
- package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-reducer.js +0 -216
- package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-types.d.ts +0 -125
- package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-types.js +0 -39
- package/vendor/common-nodes/dist/ai/llm-loop/normalize-llm-recovery-policy.d.ts +0 -2
- package/vendor/common-nodes/dist/ai/llm-loop/normalize-llm-recovery-policy.js +0 -59
- package/vendor/common-nodes/dist/ai/llm-loop/operators/normalize-tool-result.d.ts +0 -1
- package/vendor/common-nodes/dist/ai/llm-loop/operators/normalize-tool-result.js +0 -7
- package/vendor/common-nodes/dist/ai/llm-loop/operators/observe-provider-stream.d.ts +0 -43
- package/vendor/common-nodes/dist/ai/llm-loop/operators/observe-provider-stream.js +0 -96
- package/vendor/common-nodes/dist/ai/llm-loop/run-agent-loop.d.ts +0 -31
- package/vendor/common-nodes/dist/ai/llm-loop/run-agent-loop.js +0 -57
- package/vendor/common-nodes/dist/ai/llm-loop/run-llm-loop.d.ts +0 -79
- package/vendor/common-nodes/dist/ai/llm-loop/run-llm-loop.js +0 -637
- package/vendor/common-nodes/dist/ai/llm-panel-ui-schema.d.ts +0 -80
- package/vendor/common-nodes/dist/ai/llm-panel-ui-schema.js +0 -76
- package/vendor/common-nodes/dist/ai/llm-recovery-ui-schema.d.ts +0 -113
- package/vendor/common-nodes/dist/ai/llm-recovery-ui-schema.js +0 -131
- package/vendor/common-nodes/dist/ai/llm-role-preset.d.ts +0 -69
- package/vendor/common-nodes/dist/ai/llm-role-preset.js +0 -265
- package/vendor/common-nodes/dist/ai/llm-session/run-session-machine.d.ts +0 -21
- package/vendor/common-nodes/dist/ai/llm-session/run-session-machine.js +0 -118
- package/vendor/common-nodes/dist/ai/llm-session-shell.d.ts +0 -147
- package/vendor/common-nodes/dist/ai/llm-session-shell.js +0 -189
- package/vendor/common-nodes/dist/ai/mcp-server/node.d.ts +0 -26
- package/vendor/common-nodes/dist/ai/mcp-server/node.js +0 -68
- package/vendor/common-nodes/dist/ai/mcp-server-config.d.ts +0 -16
- package/vendor/common-nodes/dist/ai/mcp-server-config.js +0 -2
- package/vendor/common-nodes/dist/ai/mcp-tool-id.d.ts +0 -11
- package/vendor/common-nodes/dist/ai/mcp-tool-id.js +0 -30
- package/vendor/common-nodes/dist/ai/merge-tool-inventory.d.ts +0 -10
- package/vendor/common-nodes/dist/ai/merge-tool-inventory.js +0 -26
- package/vendor/common-nodes/dist/ai/nodes/critique/node.d.ts +0 -588
- package/vendor/common-nodes/dist/ai/nodes/critique/node.js +0 -227
- package/vendor/common-nodes/dist/ai/nodes/fake-llm/node.d.ts +0 -571
- package/vendor/common-nodes/dist/ai/nodes/fake-llm/node.js +0 -201
- package/vendor/common-nodes/dist/ai/nodes/openai-llm/node.d.ts +0 -587
- package/vendor/common-nodes/dist/ai/nodes/openai-llm/node.js +0 -84
- package/vendor/common-nodes/dist/ai/nodes/review/node.d.ts +0 -593
- package/vendor/common-nodes/dist/ai/nodes/review/node.js +0 -227
- package/vendor/common-nodes/dist/ai/nodes/sub-agent/node.d.ts +0 -630
- package/vendor/common-nodes/dist/ai/nodes/sub-agent/node.js +0 -417
- package/vendor/common-nodes/dist/ai/normalize-max-iterations.d.ts +0 -13
- package/vendor/common-nodes/dist/ai/normalize-max-iterations.js +0 -23
- package/vendor/common-nodes/dist/ai/openai/context-length-error.d.ts +0 -14
- package/vendor/common-nodes/dist/ai/openai/context-length-error.js +0 -63
- package/vendor/common-nodes/dist/ai/openai/create-chat-completion-stream.d.ts +0 -19
- package/vendor/common-nodes/dist/ai/openai/create-chat-completion-stream.js +0 -182
- package/vendor/common-nodes/dist/ai/openai/create-embedding.d.ts +0 -18
- package/vendor/common-nodes/dist/ai/openai/create-embedding.js +0 -43
- package/vendor/common-nodes/dist/ai/openai/list-provider-models.d.ts +0 -28
- package/vendor/common-nodes/dist/ai/openai/list-provider-models.js +0 -52
- package/vendor/common-nodes/dist/ai/openai/llm-context-compaction.d.ts +0 -31
- package/vendor/common-nodes/dist/ai/openai/llm-context-compaction.js +0 -326
- package/vendor/common-nodes/dist/ai/openai/normalize-compaction-params.d.ts +0 -14
- package/vendor/common-nodes/dist/ai/openai/normalize-compaction-params.js +0 -21
- package/vendor/common-nodes/dist/ai/openai/prepare-chat-completion.d.ts +0 -30
- package/vendor/common-nodes/dist/ai/openai/prepare-chat-completion.js +0 -132
- package/vendor/common-nodes/dist/ai/openai-llm/node.d.ts +0 -587
- package/vendor/common-nodes/dist/ai/openai-llm/node.js +0 -88
- package/vendor/common-nodes/dist/ai/path-choice/control-tools.d.ts +0 -20
- package/vendor/common-nodes/dist/ai/path-choice/control-tools.js +0 -70
- package/vendor/common-nodes/dist/ai/path-choice/run-path-choice-tool-loop.d.ts +0 -54
- package/vendor/common-nodes/dist/ai/path-choice/run-path-choice-tool-loop.js +0 -242
- package/vendor/common-nodes/dist/ai/path-choice/run-reactive-path-choice-loop.d.ts +0 -35
- package/vendor/common-nodes/dist/ai/path-choice/run-reactive-path-choice-loop.js +0 -106
- package/vendor/common-nodes/dist/ai/resolve-chat-provider-model.d.ts +0 -10
- package/vendor/common-nodes/dist/ai/resolve-chat-provider-model.js +0 -8
- package/vendor/common-nodes/dist/ai/resolve-mcp-inventory.d.ts +0 -8
- package/vendor/common-nodes/dist/ai/resolve-mcp-inventory.js +0 -43
- package/vendor/common-nodes/dist/ai/review/node.d.ts +0 -593
- package/vendor/common-nodes/dist/ai/review/node.js +0 -240
- package/vendor/common-nodes/dist/ai/review/review-control-tools.d.ts +0 -20
- package/vendor/common-nodes/dist/ai/review/review-control-tools.js +0 -70
- package/vendor/common-nodes/dist/ai/review/run-review-tool-loop.d.ts +0 -44
- package/vendor/common-nodes/dist/ai/review/run-review-tool-loop.js +0 -193
- package/vendor/common-nodes/dist/ai/run-host-services.d.ts +0 -32
- package/vendor/common-nodes/dist/ai/run-host-services.js +0 -11
- package/vendor/common-nodes/dist/ai/run-internal-tool-loop.d.ts +0 -39
- package/vendor/common-nodes/dist/ai/run-internal-tool-loop.js +0 -138
- package/vendor/common-nodes/dist/ai/scripted-chat-completion-stream.d.ts +0 -17
- package/vendor/common-nodes/dist/ai/scripted-chat-completion-stream.js +0 -61
- package/vendor/common-nodes/dist/ai/sub-agent/node.d.ts +0 -630
- package/vendor/common-nodes/dist/ai/sub-agent/node.js +0 -302
- package/vendor/common-nodes/dist/ai/sub-agent-protocol.d.ts +0 -39
- package/vendor/common-nodes/dist/ai/sub-agent-protocol.js +0 -43
- package/vendor/common-nodes/dist/ai/tool-handler-context.d.ts +0 -4
- package/vendor/common-nodes/dist/ai/tool-handler-context.js +0 -16
- package/vendor/common-nodes/dist/ai/tool-registration.d.ts +0 -6
- package/vendor/common-nodes/dist/ai/tool-registration.js +0 -33
- package/vendor/common-nodes/dist/ai/wait-for-subagent-result.d.ts +0 -6
- package/vendor/common-nodes/dist/ai/wait-for-subagent-result.js +0 -30
- package/vendor/common-nodes/dist/catalog.d.ts +0 -6
- package/vendor/common-nodes/dist/catalog.js +0 -85
- package/vendor/common-nodes/dist/compile-custom-nodes/node.d.ts +0 -21
- package/vendor/common-nodes/dist/compile-custom-nodes/node.js +0 -45
- package/vendor/common-nodes/dist/crawl/crawl/node.d.ts +0 -99
- package/vendor/common-nodes/dist/crawl/crawl/node.js +0 -120
- package/vendor/common-nodes/dist/crawl/crawl-tools/node.d.ts +0 -20
- package/vendor/common-nodes/dist/crawl/crawl-tools/node.js +0 -13
- package/vendor/common-nodes/dist/crawl/extract-links/node.d.ts +0 -22
- package/vendor/common-nodes/dist/crawl/extract-links/node.js +0 -39
- package/vendor/common-nodes/dist/crawl/fetch-url/node.d.ts +0 -56
- package/vendor/common-nodes/dist/crawl/fetch-url/node.js +0 -80
- package/vendor/common-nodes/dist/crawl/html/extract-links.d.ts +0 -3
- package/vendor/common-nodes/dist/crawl/html/extract-links.js +0 -36
- package/vendor/common-nodes/dist/crawl/html/html-to-text.d.ts +0 -3
- package/vendor/common-nodes/dist/crawl/html/html-to-text.js +0 -36
- package/vendor/common-nodes/dist/crawl/html/index.d.ts +0 -3
- package/vendor/common-nodes/dist/crawl/html/index.js +0 -3
- package/vendor/common-nodes/dist/crawl/save-page/node.d.ts +0 -21
- package/vendor/common-nodes/dist/crawl/save-page/node.js +0 -63
- package/vendor/common-nodes/dist/crawl/tool-defs.d.ts +0 -81
- package/vendor/common-nodes/dist/crawl/tool-defs.js +0 -56
- package/vendor/common-nodes/dist/flow/checkpoint/node.d.ts +0 -23
- package/vendor/common-nodes/dist/flow/checkpoint/node.js +0 -40
- package/vendor/common-nodes/dist/flow/delay/node.d.ts +0 -26
- package/vendor/common-nodes/dist/flow/delay/node.js +0 -42
- package/vendor/common-nodes/dist/flow/loop/node.d.ts +0 -22
- package/vendor/common-nodes/dist/flow/loop/node.js +0 -45
- package/vendor/common-nodes/dist/flow/map-collect-body.d.ts +0 -21
- package/vendor/common-nodes/dist/flow/map-collect-body.js +0 -73
- package/vendor/common-nodes/dist/flow/merge/node.d.ts +0 -17
- package/vendor/common-nodes/dist/flow/merge/node.js +0 -25
- package/vendor/common-nodes/dist/flow/repeat/node.d.ts +0 -20
- package/vendor/common-nodes/dist/flow/repeat/node.js +0 -61
- package/vendor/common-nodes/dist/flow/router/build-router-definition.d.ts +0 -20
- package/vendor/common-nodes/dist/flow/router/build-router-definition.js +0 -23
- package/vendor/common-nodes/dist/flow/router/node.d.ts +0 -17
- package/vendor/common-nodes/dist/flow/router/node.js +0 -14
- package/vendor/common-nodes/dist/flow/router/router-constants.d.ts +0 -2
- package/vendor/common-nodes/dist/flow/router/router-constants.js +0 -2
- package/vendor/common-nodes/dist/hitl/approval-choice/node.d.ts +0 -23
- package/vendor/common-nodes/dist/hitl/approval-choice/node.js +0 -71
- package/vendor/common-nodes/dist/hitl/ask-user/node.d.ts +0 -23
- package/vendor/common-nodes/dist/hitl/ask-user/node.js +0 -40
- package/vendor/common-nodes/dist/hitl/chat-input/node.d.ts +0 -20
- package/vendor/common-nodes/dist/hitl/chat-input/node.js +0 -39
- package/vendor/common-nodes/dist/hitl/hitl-required-role.d.ts +0 -38
- package/vendor/common-nodes/dist/hitl/hitl-required-role.js +0 -21
- package/vendor/common-nodes/dist/hitl/review-gate/node.d.ts +0 -17
- package/vendor/common-nodes/dist/hitl/review-gate/node.js +0 -64
- package/vendor/common-nodes/dist/kb/chunk-text.d.ts +0 -8
- package/vendor/common-nodes/dist/kb/chunk-text.js +0 -52
- package/vendor/common-nodes/dist/kb/cosine.d.ts +0 -3
- package/vendor/common-nodes/dist/kb/cosine.js +0 -21
- package/vendor/common-nodes/dist/kb/kb-apply-curation/node.d.ts +0 -25
- package/vendor/common-nodes/dist/kb/kb-apply-curation/node.js +0 -38
- package/vendor/common-nodes/dist/kb/kb-contradict/node.d.ts +0 -25
- package/vendor/common-nodes/dist/kb/kb-contradict/node.js +0 -70
- package/vendor/common-nodes/dist/kb/kb-dedupe/node.d.ts +0 -25
- package/vendor/common-nodes/dist/kb/kb-dedupe/node.js +0 -61
- package/vendor/common-nodes/dist/kb/kb-delete/node.d.ts +0 -24
- package/vendor/common-nodes/dist/kb/kb-delete/node.js +0 -60
- package/vendor/common-nodes/dist/kb/kb-embed/node.d.ts +0 -26
- package/vendor/common-nodes/dist/kb/kb-embed/node.js +0 -52
- package/vendor/common-nodes/dist/kb/kb-ingest/node.d.ts +0 -25
- package/vendor/common-nodes/dist/kb/kb-ingest/node.js +0 -68
- package/vendor/common-nodes/dist/kb/kb-list/node.d.ts +0 -24
- package/vendor/common-nodes/dist/kb/kb-list/node.js +0 -42
- package/vendor/common-nodes/dist/kb/kb-paths.d.ts +0 -8
- package/vendor/common-nodes/dist/kb/kb-paths.js +0 -19
- package/vendor/common-nodes/dist/kb/kb-search/node.d.ts +0 -24
- package/vendor/common-nodes/dist/kb/kb-search/node.js +0 -60
- package/vendor/common-nodes/dist/kb/kb-store.d.ts +0 -57
- package/vendor/common-nodes/dist/kb/kb-store.js +0 -290
- package/vendor/common-nodes/dist/kb/kb-tools/node.d.ts +0 -25
- package/vendor/common-nodes/dist/kb/kb-tools/node.js +0 -14
- package/vendor/common-nodes/dist/kb/local-embed.d.ts +0 -9
- package/vendor/common-nodes/dist/kb/local-embed.js +0 -41
- package/vendor/common-nodes/dist/kb/parse-string-list.d.ts +0 -3
- package/vendor/common-nodes/dist/kb/parse-string-list.js +0 -25
- package/vendor/common-nodes/dist/kb/tool-defs.d.ts +0 -85
- package/vendor/common-nodes/dist/kb/tool-defs.js +0 -67
- package/vendor/common-nodes/dist/langflower-tools/emit-registration-tools.d.ts +0 -18
- package/vendor/common-nodes/dist/langflower-tools/emit-registration-tools.js +0 -29
- package/vendor/common-nodes/dist/langflower-tools/node.d.ts +0 -20
- package/vendor/common-nodes/dist/langflower-tools/node.js +0 -77
- package/vendor/common-nodes/dist/logic/assert/node.d.ts +0 -20
- package/vendor/common-nodes/dist/logic/assert/node.js +0 -50
- package/vendor/common-nodes/dist/logic/compare/evaluate-compare.d.ts +0 -28
- package/vendor/common-nodes/dist/logic/compare/evaluate-compare.js +0 -60
- package/vendor/common-nodes/dist/logic/compare/node.d.ts +0 -107
- package/vendor/common-nodes/dist/logic/compare/node.js +0 -40
- package/vendor/common-nodes/dist/logic/gate/node.d.ts +0 -17
- package/vendor/common-nodes/dist/logic/gate/node.js +0 -35
- package/vendor/common-nodes/dist/logic/if/node.d.ts +0 -17
- package/vendor/common-nodes/dist/logic/if/node.js +0 -40
- package/vendor/common-nodes/dist/logic/switch/build-switch-definition.d.ts +0 -18
- package/vendor/common-nodes/dist/logic/switch/build-switch-definition.js +0 -30
- package/vendor/common-nodes/dist/logic/switch/node.d.ts +0 -87
- package/vendor/common-nodes/dist/logic/switch/node.js +0 -69
- package/vendor/common-nodes/dist/logic/switch/switch-constants.d.ts +0 -15
- package/vendor/common-nodes/dist/logic/switch/switch-constants.js +0 -24
- package/vendor/common-nodes/dist/logic/switch/switch-rules.d.ts +0 -6
- package/vendor/common-nodes/dist/logic/switch/switch-rules.js +0 -43
- package/vendor/common-nodes/dist/mcp/build-mcp-handle.d.ts +0 -13
- package/vendor/common-nodes/dist/mcp/build-mcp-handle.js +0 -65
- package/vendor/common-nodes/dist/mcp/build-mcp-transport.d.ts +0 -14
- package/vendor/common-nodes/dist/mcp/build-mcp-transport.js +0 -56
- package/vendor/common-nodes/dist/mcp/collect-mcp-tool-registrations.d.ts +0 -7
- package/vendor/common-nodes/dist/mcp/collect-mcp-tool-registrations.js +0 -19
- package/vendor/common-nodes/dist/mcp/create-system-mcp-transports.d.ts +0 -48
- package/vendor/common-nodes/dist/mcp/create-system-mcp-transports.js +0 -124
- package/vendor/common-nodes/dist/mcp/flatten-mcp-handles.d.ts +0 -6
- package/vendor/common-nodes/dist/mcp/flatten-mcp-handles.js +0 -21
- package/vendor/common-nodes/dist/mcp/flatten-mcp-server-configs.d.ts +0 -7
- package/vendor/common-nodes/dist/mcp/flatten-mcp-server-configs.js +0 -21
- package/vendor/common-nodes/dist/mcp/flatten-mcp-transports.d.ts +0 -7
- package/vendor/common-nodes/dist/mcp/flatten-mcp-transports.js +0 -22
- package/vendor/common-nodes/dist/mcp/format-mcp-connect-error.d.ts +0 -10
- package/vendor/common-nodes/dist/mcp/format-mcp-connect-error.js +0 -18
- package/vendor/common-nodes/dist/mcp/mcp-http/node.d.ts +0 -22
- package/vendor/common-nodes/dist/mcp/mcp-http/node.js +0 -102
- package/vendor/common-nodes/dist/mcp/mcp-server/node.d.ts +0 -26
- package/vendor/common-nodes/dist/mcp/mcp-server/node.js +0 -68
- package/vendor/common-nodes/dist/mcp/mcp-server-config.d.ts +0 -2
- package/vendor/common-nodes/dist/mcp/mcp-server-config.js +0 -2
- package/vendor/common-nodes/dist/mcp/mcp-stdio/node.d.ts +0 -22
- package/vendor/common-nodes/dist/mcp/mcp-stdio/node.js +0 -91
- package/vendor/common-nodes/dist/mcp/resolve-agent-mcp-inventory.d.ts +0 -13
- package/vendor/common-nodes/dist/mcp/resolve-agent-mcp-inventory.js +0 -17
- package/vendor/common-nodes/dist/mcp/resolve-mcp-inventory.d.ts +0 -8
- package/vendor/common-nodes/dist/mcp/resolve-mcp-inventory.js +0 -43
- package/vendor/common-nodes/dist/memory/memory/node.d.ts +0 -79
- package/vendor/common-nodes/dist/memory/memory/node.js +0 -76
- package/vendor/common-nodes/dist/memory/memory-tools/node.d.ts +0 -20
- package/vendor/common-nodes/dist/memory/memory-tools/node.js +0 -13
- package/vendor/common-nodes/dist/memory/tool-defs.d.ts +0 -48
- package/vendor/common-nodes/dist/memory/tool-defs.js +0 -45
- package/vendor/common-nodes/dist/obsidian/build-moc/node.d.ts +0 -26
- package/vendor/common-nodes/dist/obsidian/build-moc/node.js +0 -52
- package/vendor/common-nodes/dist/obsidian/build-moc.d.ts +0 -13
- package/vendor/common-nodes/dist/obsidian/build-moc.js +0 -57
- package/vendor/common-nodes/dist/obsidian/frontmatter/node.d.ts +0 -27
- package/vendor/common-nodes/dist/obsidian/frontmatter/node.js +0 -66
- package/vendor/common-nodes/dist/obsidian/frontmatter.d.ts +0 -26
- package/vendor/common-nodes/dist/obsidian/frontmatter.js +0 -142
- package/vendor/common-nodes/dist/obsidian/wikilink-rewrite/node.d.ts +0 -26
- package/vendor/common-nodes/dist/obsidian/wikilink-rewrite/node.js +0 -51
- package/vendor/common-nodes/dist/obsidian/wikilinks.d.ts +0 -22
- package/vendor/common-nodes/dist/obsidian/wikilinks.js +0 -84
- package/vendor/common-nodes/dist/output/finish/node.d.ts +0 -17
- package/vendor/common-nodes/dist/output/finish/node.js +0 -22
- package/vendor/common-nodes/dist/output/preview/node.d.ts +0 -17
- package/vendor/common-nodes/dist/output/preview/node.js +0 -41
- package/vendor/common-nodes/dist/primitives/boolean/node.d.ts +0 -17
- package/vendor/common-nodes/dist/primitives/boolean/node.js +0 -25
- package/vendor/common-nodes/dist/primitives/number/node.d.ts +0 -17
- package/vendor/common-nodes/dist/primitives/number/node.js +0 -25
- package/vendor/common-nodes/dist/primitives/string/node.d.ts +0 -17
- package/vendor/common-nodes/dist/primitives/string/node.js +0 -25
- package/vendor/common-nodes/dist/resolve-workflow-node-definition.d.ts +0 -7
- package/vendor/common-nodes/dist/resolve-workflow-node-definition.js +0 -3
- package/vendor/common-nodes/dist/text/append-file/node.d.ts +0 -20
- package/vendor/common-nodes/dist/text/append-file/node.js +0 -60
- package/vendor/common-nodes/dist/text/concat/node.d.ts +0 -17
- package/vendor/common-nodes/dist/text/concat/node.js +0 -34
- package/vendor/common-nodes/dist/text/read-file/node.d.ts +0 -20
- package/vendor/common-nodes/dist/text/read-file/node.js +0 -51
- package/vendor/common-nodes/dist/text/write-file/node.d.ts +0 -19
- package/vendor/common-nodes/dist/text/write-file/node.js +0 -52
- package/vendor/common-nodes/dist/tools/collect-agent-tool-handles.d.ts +0 -12
- package/vendor/common-nodes/dist/tools/collect-agent-tool-handles.js +0 -42
- package/vendor/common-nodes/dist/tools/filter-enabled-registrations.d.ts +0 -8
- package/vendor/common-nodes/dist/tools/filter-enabled-registrations.js +0 -17
- package/vendor/common-nodes/dist/tools/inventory-tool-round.d.ts +0 -20
- package/vendor/common-nodes/dist/tools/inventory-tool-round.js +0 -91
- package/vendor/common-nodes/dist/tools/merge-tool-inventory.d.ts +0 -10
- package/vendor/common-nodes/dist/tools/merge-tool-inventory.js +0 -26
- package/vendor/common-nodes/dist/tools/run-internal-tool-loop.d.ts +0 -55
- package/vendor/common-nodes/dist/tools/run-internal-tool-loop.js +0 -360
- package/vendor/common-nodes/dist/tools/tool-collection/node.d.ts +0 -20
- package/vendor/common-nodes/dist/tools/tool-collection/node.js +0 -42
- package/vendor/common-nodes/dist/tools/tool-registration.d.ts +0 -6
- package/vendor/common-nodes/dist/tools/tool-registration.js +0 -33
- package/vendor/common-nodes/package.json +0 -44
- package/vendor/compiler/dist/bundle-pack.d.ts +0 -18
- package/vendor/compiler/dist/bundle-pack.js +0 -98
- package/vendor/compiler/dist/cache-key.d.ts +0 -5
- package/vendor/compiler/dist/cache-key.js +0 -35
- package/vendor/compiler/dist/compile-project-nodes.d.ts +0 -14
- package/vendor/compiler/dist/compile-project-nodes.js +0 -143
- package/vendor/compiler/dist/compile-types.d.ts +0 -22
- package/vendor/compiler/dist/compile-types.js +0 -1
- package/vendor/compiler/dist/discover-packs.d.ts +0 -6
- package/vendor/compiler/dist/discover-packs.js +0 -93
- package/vendor/compiler/dist/format-compilation-errors.d.ts +0 -17
- package/vendor/compiler/dist/format-compilation-errors.js +0 -62
- package/vendor/compiler/dist/resolve-host-types.d.ts +0 -27
- package/vendor/compiler/dist/resolve-host-types.js +0 -185
- package/vendor/compiler/dist/typecheck-pack.d.ts +0 -20
- package/vendor/compiler/dist/typecheck-pack.js +0 -102
- package/vendor/compiler/dist/validate-default-export.d.ts +0 -9
- package/vendor/compiler/dist/validate-default-export.js +0 -40
- package/vendor/compiler/dist/write-compilation-errors.d.ts +0 -4
- package/vendor/compiler/dist/write-compilation-errors.js +0 -27
- package/vendor/compiler/package.json +0 -26
- package/vendor/eval/dist/eval-pack-types.d.ts +0 -14
- package/vendor/eval/dist/eval-pack-types.js +0 -1
- package/vendor/eval/dist/load-pack.d.ts +0 -5
- package/vendor/eval/dist/load-pack.js +0 -97
- package/vendor/eval/dist/load-skill-via-read.d.ts +0 -6
- package/vendor/eval/dist/load-skill-via-read.js +0 -14
- package/vendor/eval/dist/run-eval-suite.d.ts +0 -46
- package/vendor/eval/dist/run-eval-suite.js +0 -90
- package/vendor/eval/dist/score-case.d.ts +0 -2
- package/vendor/eval/dist/score-case.js +0 -10
- package/vendor/eval/package.json +0 -21
- package/vendor/server/dist/bootstrap/copy-force.d.ts +0 -7
- package/vendor/server/dist/bootstrap/copy-force.js +0 -18
- package/vendor/server/dist/bootstrap/copy-if-missing.d.ts +0 -7
- package/vendor/server/dist/bootstrap/copy-if-missing.js +0 -32
- package/vendor/server/dist/bootstrap/project-bootstrap.service.d.ts +0 -17
- package/vendor/server/dist/bootstrap/project-bootstrap.service.js +0 -82
- package/vendor/server/dist/bootstrap/project-bootstrap.service.test.d.ts +0 -2
- package/vendor/server/dist/bootstrap/project-bootstrap.service.test.js +0 -20
- package/vendor/server/dist/bootstrap/resolve-skeleton-root.d.ts +0 -8
- package/vendor/server/dist/bootstrap/resolve-skeleton-root.js +0 -34
- package/vendor/server/dist/bootstrap/seed-skeleton.d.ts +0 -15
- package/vendor/server/dist/bootstrap/seed-skeleton.js +0 -55
- package/vendor/server/dist/bridge/attach-langflower-bridge.d.ts +0 -19
- package/vendor/server/dist/bridge/attach-langflower-bridge.js +0 -79
- package/vendor/server/dist/bridge/bind-llm-context.d.ts +0 -13
- package/vendor/server/dist/bridge/bind-llm-context.js +0 -30
- package/vendor/server/dist/bridge/bridge-event-log.d.ts +0 -12
- package/vendor/server/dist/bridge/bridge-event-log.js +0 -114
- package/vendor/server/dist/bridge/bridge-outbound.d.ts +0 -4
- package/vendor/server/dist/bridge/bridge-outbound.js +0 -14
- package/vendor/server/dist/bridge/build-execution-context.d.ts +0 -31
- package/vendor/server/dist/bridge/build-execution-context.js +0 -219
- package/vendor/server/dist/bridge/build-execution-context.test.d.ts +0 -2
- package/vendor/server/dist/bridge/build-execution-context.test.js +0 -126
- package/vendor/server/dist/bridge/build-langflower-config-snapshot.d.ts +0 -6
- package/vendor/server/dist/bridge/build-langflower-config-snapshot.js +0 -17
- package/vendor/server/dist/bridge/client-index.d.ts +0 -5
- package/vendor/server/dist/bridge/client-index.js +0 -16
- package/vendor/server/dist/bridge/emit-bootstrap.d.ts +0 -16
- package/vendor/server/dist/bridge/emit-bootstrap.js +0 -79
- package/vendor/server/dist/bridge/forward-runner-event.d.ts +0 -4
- package/vendor/server/dist/bridge/forward-runner-event.js +0 -12
- package/vendor/server/dist/bridge/forward-runner-event.test.d.ts +0 -2
- package/vendor/server/dist/bridge/forward-runner-event.test.js +0 -91
- package/vendor/server/dist/bridge/get-live-wired-tools.d.ts +0 -13
- package/vendor/server/dist/bridge/get-live-wired-tools.js +0 -83
- package/vendor/server/dist/bridge/inbound-guards.d.ts +0 -2
- package/vendor/server/dist/bridge/inbound-guards.js +0 -4
- package/vendor/server/dist/bridge/langflower-bridge.types.d.ts +0 -4
- package/vendor/server/dist/bridge/langflower-bridge.types.js +0 -1
- package/vendor/server/dist/bridge/langflower-tools-rpc.d.ts +0 -7
- package/vendor/server/dist/bridge/langflower-tools-rpc.js +0 -29
- package/vendor/server/dist/bridge/push-models-catalog.d.ts +0 -12
- package/vendor/server/dist/bridge/push-models-catalog.js +0 -31
- package/vendor/server/dist/bridge/same-canvas-viewport.d.ts +0 -3
- package/vendor/server/dist/bridge/same-canvas-viewport.js +0 -5
- package/vendor/server/dist/bridge/settings-draft-controller.d.ts +0 -14
- package/vendor/server/dist/bridge/settings-draft-controller.js +0 -201
- package/vendor/server/dist/bridge/wire-config-handlers.d.ts +0 -11
- package/vendor/server/dist/bridge/wire-config-handlers.js +0 -49
- package/vendor/server/dist/bridge/wire-custom-palette-handlers.d.ts +0 -5
- package/vendor/server/dist/bridge/wire-custom-palette-handlers.js +0 -8
- package/vendor/server/dist/bridge/wire-editor-handlers.d.ts +0 -12
- package/vendor/server/dist/bridge/wire-editor-handlers.js +0 -240
- package/vendor/server/dist/bridge/wire-models-handlers.d.ts +0 -5
- package/vendor/server/dist/bridge/wire-models-handlers.js +0 -23
- package/vendor/server/dist/bridge/wire-palette-handlers.d.ts +0 -4
- package/vendor/server/dist/bridge/wire-palette-handlers.js +0 -9
- package/vendor/server/dist/bridge/wire-project-bootstrap-handlers.d.ts +0 -9
- package/vendor/server/dist/bridge/wire-project-bootstrap-handlers.js +0 -63
- package/vendor/server/dist/bridge/wire-runner-handlers.d.ts +0 -10
- package/vendor/server/dist/bridge/wire-runner-handlers.js +0 -302
- package/vendor/server/dist/bridge/wire-workflow-handlers.d.ts +0 -5
- package/vendor/server/dist/bridge/wire-workflow-handlers.js +0 -245
- package/vendor/server/dist/bridge/wrap-builtin-tool-handles.d.ts +0 -10
- package/vendor/server/dist/bridge/wrap-builtin-tool-handles.js +0 -42
- package/vendor/server/dist/checkpoint/list-resumable-checkpoints.d.ts +0 -4
- package/vendor/server/dist/checkpoint/list-resumable-checkpoints.js +0 -11
- package/vendor/server/dist/checkpoint/resolve-checkpoint-boundary.d.ts +0 -11
- package/vendor/server/dist/checkpoint/resolve-checkpoint-boundary.js +0 -31
- package/vendor/server/dist/checkpoint/run-checkpoint-session.d.ts +0 -41
- package/vendor/server/dist/checkpoint/run-checkpoint-session.js +0 -170
- package/vendor/server/dist/checkpoint/workflow-checkpoint-store.d.ts +0 -23
- package/vendor/server/dist/checkpoint/workflow-checkpoint-store.js +0 -177
- package/vendor/server/dist/checkpoint/workflow-checkpoint-store.test.d.ts +0 -2
- package/vendor/server/dist/checkpoint/workflow-checkpoint-store.test.js +0 -60
- package/vendor/server/dist/config/config.service.d.ts +0 -9
- package/vendor/server/dist/config/config.service.js +0 -31
- package/vendor/server/dist/config/langflower-config.service.d.ts +0 -35
- package/vendor/server/dist/config/langflower-config.service.js +0 -360
- package/vendor/server/dist/config/langflower-config.service.test.d.ts +0 -2
- package/vendor/server/dist/config/langflower-config.service.test.js +0 -111
- package/vendor/server/dist/config/redact-langflower-config.d.ts +0 -8
- package/vendor/server/dist/config/redact-langflower-config.js +0 -42
- package/vendor/server/dist/config/redact-langflower-config.test.d.ts +0 -2
- package/vendor/server/dist/config/redact-langflower-config.test.js +0 -69
- package/vendor/server/dist/config/resolve-draft-provider-credentials.d.ts +0 -18
- package/vendor/server/dist/config/resolve-draft-provider-credentials.js +0 -60
- package/vendor/server/dist/config/resolve-global-langflower-config-path.d.ts +0 -5
- package/vendor/server/dist/config/resolve-global-langflower-config-path.js +0 -18
- package/vendor/server/dist/config/resolve-provider-credentials.d.ts +0 -20
- package/vendor/server/dist/config/resolve-provider-credentials.js +0 -59
- package/vendor/server/dist/config/resolve-provider-credentials.test.d.ts +0 -2
- package/vendor/server/dist/config/resolve-provider-credentials.test.js +0 -63
- package/vendor/server/dist/crawl/create-crawl-context.d.ts +0 -6
- package/vendor/server/dist/crawl/create-crawl-context.js +0 -33
- package/vendor/server/dist/crawl/create-crawl-context.test.d.ts +0 -2
- package/vendor/server/dist/crawl/create-crawl-context.test.js +0 -30
- package/vendor/server/dist/crawl/create-web-fetch.d.ts +0 -12
- package/vendor/server/dist/crawl/create-web-fetch.js +0 -128
- package/vendor/server/dist/crawl/create-web-fetch.test.d.ts +0 -2
- package/vendor/server/dist/crawl/create-web-fetch.test.js +0 -43
- package/vendor/server/dist/crawl/ssrf-guard.d.ts +0 -13
- package/vendor/server/dist/crawl/ssrf-guard.js +0 -117
- package/vendor/server/dist/crawl/ssrf-guard.test.d.ts +0 -2
- package/vendor/server/dist/crawl/ssrf-guard.test.js +0 -46
- package/vendor/server/dist/create-server.d.ts +0 -10
- package/vendor/server/dist/create-server.js +0 -60
- package/vendor/server/dist/harness/pending-permission-asks.d.ts +0 -14
- package/vendor/server/dist/harness/pending-permission-asks.js +0 -45
- package/vendor/server/dist/harness/permission.d.ts +0 -23
- package/vendor/server/dist/harness/permission.js +0 -31
- package/vendor/server/dist/harness/permission.test.d.ts +0 -2
- package/vendor/server/dist/harness/permission.test.js +0 -50
- package/vendor/server/dist/index.d.ts +0 -4
- package/vendor/server/dist/index.js +0 -4
- package/vendor/server/dist/kb/chunk-text.d.ts +0 -8
- package/vendor/server/dist/kb/chunk-text.js +0 -52
- package/vendor/server/dist/kb/cosine.d.ts +0 -3
- package/vendor/server/dist/kb/cosine.js +0 -21
- package/vendor/server/dist/kb/create-kb-context.d.ts +0 -6
- package/vendor/server/dist/kb/create-kb-context.js +0 -46
- package/vendor/server/dist/kb/kb-paths.d.ts +0 -8
- package/vendor/server/dist/kb/kb-paths.js +0 -19
- package/vendor/server/dist/kb/kb-store.d.ts +0 -41
- package/vendor/server/dist/kb/kb-store.js +0 -250
- package/vendor/server/dist/kb/kb-store.test.d.ts +0 -2
- package/vendor/server/dist/kb/kb-store.test.js +0 -94
- package/vendor/server/dist/kb/local-embed.d.ts +0 -8
- package/vendor/server/dist/kb/local-embed.js +0 -41
- package/vendor/server/dist/listen-http-server.d.ts +0 -6
- package/vendor/server/dist/listen-http-server.js +0 -18
- package/vendor/server/dist/llm/create-chat-completion-stream.d.ts +0 -8
- package/vendor/server/dist/llm/create-chat-completion-stream.js +0 -125
- package/vendor/server/dist/llm/create-chat-completion-stream.test.d.ts +0 -2
- package/vendor/server/dist/llm/create-chat-completion-stream.test.js +0 -72
- package/vendor/server/dist/llm/create-embedding.d.ts +0 -9
- package/vendor/server/dist/llm/create-embedding.js +0 -51
- package/vendor/server/dist/llm/list-provider-models.d.ts +0 -29
- package/vendor/server/dist/llm/list-provider-models.js +0 -55
- package/vendor/server/dist/llm/list-provider-models.test.d.ts +0 -2
- package/vendor/server/dist/llm/list-provider-models.test.js +0 -97
- package/vendor/server/dist/mcp/create-mcp-runtime.d.ts +0 -21
- package/vendor/server/dist/mcp/create-mcp-runtime.js +0 -167
- package/vendor/server/dist/mcp/create-mcp-runtime.test.d.ts +0 -2
- package/vendor/server/dist/mcp/create-mcp-runtime.test.js +0 -69
- package/vendor/server/dist/mcp/mcp-stdio-client.d.ts +0 -32
- package/vendor/server/dist/mcp/mcp-stdio-client.js +0 -183
- package/vendor/server/dist/mcp/mcp-tool-id.d.ts +0 -5
- package/vendor/server/dist/mcp/mcp-tool-id.js +0 -5
- package/vendor/server/dist/mcp/openai-mcp-tool-loop.test.d.ts +0 -2
- package/vendor/server/dist/mcp/openai-mcp-tool-loop.test.js +0 -189
- package/vendor/server/dist/mcp/wrap-harness-with-mcp.d.ts +0 -5
- package/vendor/server/dist/mcp/wrap-harness-with-mcp.js +0 -14
- package/vendor/server/dist/palette/compile-and-hot-swap-custom-nodes.d.ts +0 -10
- package/vendor/server/dist/palette/compile-and-hot-swap-custom-nodes.js +0 -23
- package/vendor/server/dist/palette/custom-node-registry.d.ts +0 -10
- package/vendor/server/dist/palette/custom-node-registry.js +0 -19
- package/vendor/server/dist/palette/custom-palette.service.d.ts +0 -12
- package/vendor/server/dist/palette/custom-palette.service.js +0 -63
- package/vendor/server/dist/palette/palette.service.d.ts +0 -13
- package/vendor/server/dist/palette/palette.service.js +0 -28
- package/vendor/server/dist/server-context.d.ts +0 -18
- package/vendor/server/dist/server-context.js +0 -29
- package/vendor/server/dist/session/build-selected-node-payload.d.ts +0 -9
- package/vendor/server/dist/session/build-selected-node-payload.js +0 -20
- package/vendor/server/dist/session/build-session-bootstrap.d.ts +0 -7
- package/vendor/server/dist/session/build-session-bootstrap.js +0 -22
- package/vendor/server/dist/session/clear-feed-while-running.test.d.ts +0 -2
- package/vendor/server/dist/session/clear-feed-while-running.test.js +0 -41
- package/vendor/server/dist/session/langflower-session.d.ts +0 -36
- package/vendor/server/dist/session/langflower-session.js +0 -90
- package/vendor/server/dist/session/reset-session-execution-feed.d.ts +0 -6
- package/vendor/server/dist/session/reset-session-execution-feed.js +0 -8
- package/vendor/server/dist/session/settings-draft-session.d.ts +0 -24
- package/vendor/server/dist/session/settings-draft-session.js +0 -82
- package/vendor/server/dist/skills/is-safe-skill-id.d.ts +0 -2
- package/vendor/server/dist/skills/is-safe-skill-id.js +0 -7
- package/vendor/server/dist/skills/list-skills.d.ts +0 -2
- package/vendor/server/dist/skills/list-skills.js +0 -36
- package/vendor/server/dist/skills/list-skills.test.d.ts +0 -2
- package/vendor/server/dist/skills/list-skills.test.js +0 -46
- package/vendor/server/dist/skills/parse-skill-markdown.d.ts +0 -7
- package/vendor/server/dist/skills/parse-skill-markdown.js +0 -50
- package/vendor/server/dist/skills/parse-skill-markdown.test.d.ts +0 -2
- package/vendor/server/dist/skills/parse-skill-markdown.test.js +0 -33
- package/vendor/server/dist/skills/read-agents-markdown.d.ts +0 -2
- package/vendor/server/dist/skills/read-agents-markdown.js +0 -13
- package/vendor/server/dist/skills/read-skill-markdown.d.ts +0 -2
- package/vendor/server/dist/skills/read-skill-markdown.js +0 -17
- package/vendor/server/dist/skills/read-skill-markdown.test.d.ts +0 -2
- package/vendor/server/dist/skills/read-skill-markdown.test.js +0 -31
- package/vendor/server/dist/skills/with-skills-catalog.d.ts +0 -3
- package/vendor/server/dist/skills/with-skills-catalog.js +0 -6
- package/vendor/server/dist/skills/with-skills-catalog.test.d.ts +0 -2
- package/vendor/server/dist/skills/with-skills-catalog.test.js +0 -40
- package/vendor/server/dist/utils/parse-jsonc.d.ts +0 -2
- package/vendor/server/dist/utils/parse-jsonc.js +0 -7
- package/vendor/server/dist/workflow/activate-workflow-in-session.d.ts +0 -26
- package/vendor/server/dist/workflow/activate-workflow-in-session.js +0 -69
- package/vendor/server/dist/workflow/apply-editor-mutation.d.ts +0 -67
- package/vendor/server/dist/workflow/apply-editor-mutation.js +0 -521
- package/vendor/server/dist/workflow/apply-editor-mutation.test.d.ts +0 -2
- package/vendor/server/dist/workflow/apply-editor-mutation.test.js +0 -397
- package/vendor/server/dist/workflow/bind-workflow-graph.d.ts +0 -11
- package/vendor/server/dist/workflow/bind-workflow-graph.js +0 -16
- package/vendor/server/dist/workflow/build-save-current-payload.d.ts +0 -3
- package/vendor/server/dist/workflow/build-save-current-payload.js +0 -17
- package/vendor/server/dist/workflow/build-save-current-payload.test.d.ts +0 -2
- package/vendor/server/dist/workflow/build-save-current-payload.test.js +0 -44
- package/vendor/server/dist/workflow/copy-workflow-to-session.d.ts +0 -8
- package/vendor/server/dist/workflow/copy-workflow-to-session.js +0 -32
- package/vendor/server/dist/workflow/copy-workflow-to-session.test.d.ts +0 -2
- package/vendor/server/dist/workflow/copy-workflow-to-session.test.js +0 -72
- package/vendor/server/dist/workflow/create-empty-workflow-in-session.d.ts +0 -4
- package/vendor/server/dist/workflow/create-empty-workflow-in-session.js +0 -34
- package/vendor/server/dist/workflow/create-empty-workflow-in-session.test.d.ts +0 -2
- package/vendor/server/dist/workflow/create-empty-workflow-in-session.test.js +0 -54
- package/vendor/server/dist/workflow/load-workflow-into-session.d.ts +0 -15
- package/vendor/server/dist/workflow/load-workflow-into-session.js +0 -43
- package/vendor/server/dist/workflow/rename-active-workflow.d.ts +0 -14
- package/vendor/server/dist/workflow/rename-active-workflow.js +0 -60
- package/vendor/server/dist/workflow/rename-active-workflow.test.d.ts +0 -2
- package/vendor/server/dist/workflow/rename-active-workflow.test.js +0 -111
- package/vendor/server/dist/workflow/repair-workflow-graph.d.ts +0 -12
- package/vendor/server/dist/workflow/repair-workflow-graph.js +0 -62
- package/vendor/server/dist/workflow/repro-bypass.test.d.ts +0 -2
- package/vendor/server/dist/workflow/repro-bypass.test.js +0 -63
- package/vendor/server/dist/workflow/workflow-document.d.ts +0 -21
- package/vendor/server/dist/workflow/workflow-document.js +0 -58
- package/vendor/server/dist/workflow/workflow-id.d.ts +0 -2
- package/vendor/server/dist/workflow/workflow-id.js +0 -19
- package/vendor/server/dist/workflow/workflow-id.test.d.ts +0 -2
- package/vendor/server/dist/workflow/workflow-id.test.js +0 -23
- package/vendor/server/dist/workflow/workflow-persisted-inputs.d.ts +0 -13
- package/vendor/server/dist/workflow/workflow-persisted-inputs.js +0 -69
- package/vendor/server/dist/workflow/workflow.service.d.ts +0 -37
- package/vendor/server/dist/workflow/workflow.service.js +0 -161
- package/vendor/server/dist/workflow/workflow.service.test.d.ts +0 -2
- package/vendor/server/dist/workflow/workflow.service.test.js +0 -57
- package/vendor/server/package.json +0 -35
- package/vendor/shared/dist/checkpoint/json-value.d.ts +0 -7
- package/vendor/shared/dist/checkpoint/json-value.js +0 -52
- package/vendor/shared/dist/checkpoint/json-value.test.d.ts +0 -1
- package/vendor/shared/dist/checkpoint/json-value.test.js +0 -22
- package/vendor/shared/dist/checkpoint/workflow-fingerprint.d.ts +0 -11
- package/vendor/shared/dist/checkpoint/workflow-fingerprint.js +0 -17
- package/vendor/shared/dist/checkpoint/workflow-fingerprint.test.d.ts +0 -1
- package/vendor/shared/dist/checkpoint/workflow-fingerprint.test.js +0 -54
- package/vendor/shared/dist/constants/defaults.d.ts +0 -16
- package/vendor/shared/dist/constants/defaults.js +0 -25
- package/vendor/shared/dist/execution/derive-run-settle-outcome.d.ts +0 -16
- package/vendor/shared/dist/execution/derive-run-settle-outcome.js +0 -48
- package/vendor/shared/dist/execution/derive-run-settle-outcome.test.d.ts +0 -1
- package/vendor/shared/dist/execution/derive-run-settle-outcome.test.js +0 -46
- package/vendor/shared/dist/langflower-bus-config.d.ts +0 -468
- package/vendor/shared/dist/langflower-bus-config.js +0 -619
- package/vendor/shared/dist/langflower-config/mcp-tool-id.d.ts +0 -23
- package/vendor/shared/dist/langflower-config/mcp-tool-id.js +0 -43
- package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.d.ts +0 -6
- package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.js +0 -18
- package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.test.d.ts +0 -1
- package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.test.js +0 -36
- package/vendor/shared/dist/langflower-config/merge-provider-model-options.d.ts +0 -7
- package/vendor/shared/dist/langflower-config/merge-provider-model-options.js +0 -17
- package/vendor/shared/dist/langflower-config/merge-provider-model-options.test.d.ts +0 -1
- package/vendor/shared/dist/langflower-config/merge-provider-model-options.test.js +0 -22
- package/vendor/shared/dist/langflower-config/parse-default-chat-model.d.ts +0 -14
- package/vendor/shared/dist/langflower-config/parse-default-chat-model.js +0 -38
- package/vendor/shared/dist/langflower-config/parse-default-chat-model.test.d.ts +0 -1
- package/vendor/shared/dist/langflower-config/parse-default-chat-model.test.js +0 -41
- package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.d.ts +0 -6
- package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.js +0 -5
- package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.test.d.ts +0 -1
- package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.test.js +0 -11
- package/vendor/shared/dist/langflower-config/resolve-ui-schema-options.d.ts +0 -18
- package/vendor/shared/dist/langflower-config/resolve-ui-schema-options.js +0 -61
- package/vendor/shared/dist/langflower-config/resolve-ui-schema-options.test.d.ts +0 -1
- package/vendor/shared/dist/langflower-config/resolve-ui-schema-options.test.js +0 -37
- package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.d.ts +0 -40
- package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.js +0 -139
- package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.test.d.ts +0 -1
- package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.test.js +0 -253
- package/vendor/shared/dist/langflower-config/settings-draft.d.ts +0 -44
- package/vendor/shared/dist/langflower-config/settings-draft.js +0 -143
- package/vendor/shared/dist/langflower-ws-waits.d.ts +0 -58
- package/vendor/shared/dist/langflower-ws-waits.js +0 -121
- package/vendor/shared/dist/langflower.d.ts +0 -30
- package/vendor/shared/dist/langflower.js +0 -13
- package/vendor/shared/dist/types/config.d.ts +0 -4
- package/vendor/shared/dist/types/config.js +0 -1
- package/vendor/shared/dist/types/langflower-bootstrap.d.ts +0 -65
- package/vendor/shared/dist/types/langflower-bootstrap.js +0 -1
- package/vendor/shared/dist/types/langflower-config.d.ts +0 -246
- package/vendor/shared/dist/types/langflower-config.js +0 -1
- package/vendor/shared/dist/types/langflower-custom-palette.d.ts +0 -21
- package/vendor/shared/dist/types/langflower-custom-palette.js +0 -1
- package/vendor/shared/dist/types/langflower-editor.d.ts +0 -96
- package/vendor/shared/dist/types/langflower-editor.js +0 -1
- package/vendor/shared/dist/types/langflower-palette.d.ts +0 -24
- package/vendor/shared/dist/types/langflower-palette.js +0 -1
- package/vendor/shared/dist/types/langflower-project-bootstrap.d.ts +0 -11
- package/vendor/shared/dist/types/langflower-project-bootstrap.js +0 -1
- package/vendor/shared/dist/types/langflower-server.d.ts +0 -4
- package/vendor/shared/dist/types/langflower-server.js +0 -1
- package/vendor/shared/dist/types/langflower-workflow.d.ts +0 -146
- package/vendor/shared/dist/types/langflower-workflow.js +0 -12
- package/vendor/shared/dist/types/workflow-checkpoint.d.ts +0 -60
- package/vendor/shared/dist/types/workflow-checkpoint.js +0 -9
- package/vendor/shared/package.json +0 -74
- package/vendor/tools/dist/builtin-schemas.d.ts +0 -10
- package/vendor/tools/dist/builtin-schemas.js +0 -144
- package/vendor/tools/dist/builtins/apply-post-process.d.ts +0 -1
- package/vendor/tools/dist/builtins/apply-post-process.js +0 -9
- package/vendor/tools/dist/builtins/args.d.ts +0 -3
- package/vendor/tools/dist/builtins/args.js +0 -14
- package/vendor/tools/dist/builtins/bash/tool.d.ts +0 -25
- package/vendor/tools/dist/builtins/bash/tool.js +0 -72
- package/vendor/tools/dist/builtins/catalog.d.ts +0 -228
- package/vendor/tools/dist/builtins/catalog.js +0 -24
- package/vendor/tools/dist/builtins/command-exists.d.ts +0 -5
- package/vendor/tools/dist/builtins/command-exists.js +0 -27
- package/vendor/tools/dist/builtins/create/tool.d.ts +0 -25
- package/vendor/tools/dist/builtins/create/tool.js +0 -56
- package/vendor/tools/dist/builtins/delete/tool.d.ts +0 -21
- package/vendor/tools/dist/builtins/delete/tool.js +0 -44
- package/vendor/tools/dist/builtins/edit/tool.d.ts +0 -29
- package/vendor/tools/dist/builtins/edit/tool.js +0 -68
- package/vendor/tools/dist/builtins/fence.d.ts +0 -4
- package/vendor/tools/dist/builtins/fence.js +0 -6
- package/vendor/tools/dist/builtins/glob/tool.d.ts +0 -33
- package/vendor/tools/dist/builtins/glob/tool.js +0 -77
- package/vendor/tools/dist/builtins/grep/search.d.ts +0 -43
- package/vendor/tools/dist/builtins/grep/search.js +0 -315
- package/vendor/tools/dist/builtins/grep/tool.d.ts +0 -36
- package/vendor/tools/dist/builtins/grep/tool.js +0 -66
- package/vendor/tools/dist/builtins/read/tool.d.ts +0 -41
- package/vendor/tools/dist/builtins/read/tool.js +0 -96
- package/vendor/tools/dist/builtins/spawn-capture.d.ts +0 -15
- package/vendor/tools/dist/builtins/spawn-capture.js +0 -42
- package/vendor/tools/dist/builtins/types.d.ts +0 -16
- package/vendor/tools/dist/builtins/types.js +0 -1
- package/vendor/tools/dist/builtins/walk-files.d.ts +0 -16
- package/vendor/tools/dist/builtins/walk-files.js +0 -100
- package/vendor/tools/dist/builtins/write/tool.d.ts +0 -25
- package/vendor/tools/dist/builtins/write/tool.js +0 -40
- package/vendor/tools/dist/create-crawl-context.d.ts +0 -22
- package/vendor/tools/dist/create-crawl-context.js +0 -34
- package/vendor/tools/dist/create-memory-context.d.ts +0 -12
- package/vendor/tools/dist/create-memory-context.js +0 -84
- package/vendor/tools/dist/create-project-files-context.d.ts +0 -19
- package/vendor/tools/dist/create-project-files-context.js +0 -75
- package/vendor/tools/dist/create-project-harness.d.ts +0 -33
- package/vendor/tools/dist/create-project-harness.js +0 -64
- package/vendor/tools/dist/create-web-fetch.d.ts +0 -27
- package/vendor/tools/dist/create-web-fetch.js +0 -164
- package/vendor/tools/dist/domain/args.d.ts +0 -3
- package/vendor/tools/dist/domain/args.js +0 -22
- package/vendor/tools/dist/domain/create-domain-handlers.d.ts +0 -22
- package/vendor/tools/dist/domain/create-domain-handlers.js +0 -223
- package/vendor/tools/dist/domain/domain-tool-configs.d.ts +0 -30
- package/vendor/tools/dist/domain/domain-tool-configs.js +0 -299
- package/vendor/tools/dist/domain/html.d.ts +0 -4
- package/vendor/tools/dist/domain/html.js +0 -68
- package/vendor/tools/dist/domain/run-bfs-crawl.d.ts +0 -57
- package/vendor/tools/dist/domain/run-bfs-crawl.js +0 -112
- package/vendor/tools/dist/gate-tool-call.d.ts +0 -17
- package/vendor/tools/dist/gate-tool-call.js +0 -35
- package/vendor/tools/dist/gitignore.d.ts +0 -4
- package/vendor/tools/dist/gitignore.js +0 -94
- package/vendor/tools/dist/handlers.d.ts +0 -16
- package/vendor/tools/dist/handlers.js +0 -367
- package/vendor/tools/dist/harness-types.d.ts +0 -33
- package/vendor/tools/dist/harness-types.js +0 -4
- package/vendor/tools/dist/kb/chunk-text.d.ts +0 -8
- package/vendor/tools/dist/kb/chunk-text.js +0 -52
- package/vendor/tools/dist/kb/cosine.d.ts +0 -3
- package/vendor/tools/dist/kb/cosine.js +0 -21
- package/vendor/tools/dist/kb/create-kb-context.d.ts +0 -62
- package/vendor/tools/dist/kb/create-kb-context.js +0 -78
- package/vendor/tools/dist/kb/kb-curation.d.ts +0 -69
- package/vendor/tools/dist/kb/kb-curation.js +0 -364
- package/vendor/tools/dist/kb/kb-paths.d.ts +0 -8
- package/vendor/tools/dist/kb/kb-paths.js +0 -19
- package/vendor/tools/dist/kb/kb-store.d.ts +0 -41
- package/vendor/tools/dist/kb/kb-store.js +0 -246
- package/vendor/tools/dist/kb/local-embed.d.ts +0 -8
- package/vendor/tools/dist/kb/local-embed.js +0 -41
- package/vendor/tools/dist/mcp/build-mcp-handle.d.ts +0 -30
- package/vendor/tools/dist/mcp/build-mcp-handle.js +0 -65
- package/vendor/tools/dist/mcp/create-mcp-runtime.d.ts +0 -29
- package/vendor/tools/dist/mcp/create-mcp-runtime.js +0 -161
- package/vendor/tools/dist/mcp/create-system-mcp-handles.d.ts +0 -49
- package/vendor/tools/dist/mcp/create-system-mcp-handles.js +0 -123
- package/vendor/tools/dist/mcp/env-with-shell-com-spec.d.ts +0 -5
- package/vendor/tools/dist/mcp/env-with-shell-com-spec.js +0 -18
- package/vendor/tools/dist/mcp/format-mcp-connect-error.d.ts +0 -9
- package/vendor/tools/dist/mcp/format-mcp-connect-error.js +0 -13
- package/vendor/tools/dist/mcp/mcp-client-types.d.ts +0 -17
- package/vendor/tools/dist/mcp/mcp-client-types.js +0 -1
- package/vendor/tools/dist/mcp/mcp-http-client.d.ts +0 -31
- package/vendor/tools/dist/mcp/mcp-http-client.js +0 -243
- package/vendor/tools/dist/mcp/mcp-stdio-client.d.ts +0 -19
- package/vendor/tools/dist/mcp/mcp-stdio-client.js +0 -186
- package/vendor/tools/dist/mcp/mcp-stdio-frame-parser.d.ts +0 -7
- package/vendor/tools/dist/mcp/mcp-stdio-frame-parser.js +0 -77
- package/vendor/tools/dist/mcp/mcp-tool-id.d.ts +0 -25
- package/vendor/tools/dist/mcp/mcp-tool-id.js +0 -45
- package/vendor/tools/dist/mcp/require-mcp-server-name.d.ts +0 -5
- package/vendor/tools/dist/mcp/require-mcp-server-name.js +0 -22
- package/vendor/tools/dist/mcp/resolve-shell-option.d.ts +0 -6
- package/vendor/tools/dist/mcp/resolve-shell-option.js +0 -19
- package/vendor/tools/dist/mcp/wrap-harness-with-mcp.d.ts +0 -5
- package/vendor/tools/dist/mcp/wrap-harness-with-mcp.js +0 -27
- package/vendor/tools/dist/memory/atomic-write.d.ts +0 -4
- package/vendor/tools/dist/memory/atomic-write.js +0 -18
- package/vendor/tools/dist/memory/create-memory-store.d.ts +0 -21
- package/vendor/tools/dist/memory/create-memory-store.js +0 -203
- package/vendor/tools/dist/memory/markdown-sections.d.ts +0 -22
- package/vendor/tools/dist/memory/markdown-sections.js +0 -69
- package/vendor/tools/dist/memory/memory-paths.d.ts +0 -9
- package/vendor/tools/dist/memory/memory-paths.js +0 -28
- package/vendor/tools/dist/path-sandbox.d.ts +0 -21
- package/vendor/tools/dist/path-sandbox.js +0 -96
- package/vendor/tools/dist/permission.d.ts +0 -75
- package/vendor/tools/dist/permission.js +0 -264
- package/vendor/tools/dist/post-process.d.ts +0 -9
- package/vendor/tools/dist/post-process.js +0 -36
- package/vendor/tools/dist/ssrf-guard.d.ts +0 -22
- package/vendor/tools/dist/ssrf-guard.js +0 -119
- package/vendor/tools/package.json +0 -73
- package/vendor/websocket-bridge/dist/bridge-codec.d.ts +0 -3
- package/vendor/websocket-bridge/dist/bridge-codec.js +0 -26
- package/vendor/websocket-bridge/dist/bridge-frame.d.ts +0 -11
- package/vendor/websocket-bridge/dist/bridge-frame.js +0 -24
- package/vendor/websocket-bridge/dist/bridge-guards.d.ts +0 -4
- package/vendor/websocket-bridge/dist/bridge-guards.js +0 -17
- package/vendor/websocket-bridge/dist/bridge-subjects.d.ts +0 -10
- package/vendor/websocket-bridge/dist/bridge-subjects.js +0 -38
- package/vendor/websocket-bridge/dist/bridge-types.d.ts +0 -102
- package/vendor/websocket-bridge/dist/bridge-types.js +0 -2
- package/vendor/websocket-bridge/dist/create-client.d.ts +0 -5
- package/vendor/websocket-bridge/dist/create-client.js +0 -152
- package/vendor/websocket-bridge/dist/create-server.d.ts +0 -8
- package/vendor/websocket-bridge/dist/create-server.js +0 -134
- package/vendor/websocket-bridge/dist/testing/expect-type.d.ts +0 -3
- package/vendor/websocket-bridge/dist/testing/expect-type.js +0 -3
- package/vendor/websocket-bridge/dist/testing/sample-diagram-ws-config.d.ts +0 -27
- package/vendor/websocket-bridge/dist/testing/sample-diagram-ws-config.js +0 -12
- package/vendor/websocket-bridge/dist/testing/sample-ping-ws-config.d.ts +0 -17
- package/vendor/websocket-bridge/dist/testing/sample-ping-ws-config.js +0 -10
- package/vendor/websocket-bridge/dist/testing/transport-test-helpers.d.ts +0 -6
- package/vendor/websocket-bridge/dist/testing/transport-test-helpers.js +0 -34
- package/vendor/websocket-bridge/package.json +0 -34
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defineNode,
|
|
3
|
+
EMBED_HANDLE_WIRE_TYPE,
|
|
4
|
+
isEmbedHandle,
|
|
5
|
+
} from '@langflower/node-sdk';
|
|
6
|
+
import {
|
|
7
|
+
clampTopK,
|
|
8
|
+
DEFAULT_SEARCH_TOP_K,
|
|
9
|
+
DEFAULT_SQLITE_PATH,
|
|
10
|
+
resolveSqlitePath,
|
|
11
|
+
} from './lib/paths.ts';
|
|
12
|
+
import { runSearch } from './lib/search.ts';
|
|
13
|
+
import { textEmbedderFromHandle } from './lib/text-embedder.ts';
|
|
14
|
+
|
|
15
|
+
const asString = (value: unknown, fallback: string): string => {
|
|
16
|
+
if (typeof value === 'string') {
|
|
17
|
+
return value;
|
|
18
|
+
}
|
|
19
|
+
return fallback;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Hybrid search over the hello-embed sqlite index (cosine + FTS5, RRF).
|
|
24
|
+
*/
|
|
25
|
+
export default defineNode({
|
|
26
|
+
type: 'hello-embed-search',
|
|
27
|
+
displayName: 'Hello Embed Search',
|
|
28
|
+
category: 'Hello Embed',
|
|
29
|
+
description:
|
|
30
|
+
'Retrieve markdown chunks (vector cosine + FTS5, RRF top-K). text is Question + full-chunk Context for an LLM userPrompt. Wire embed from common-embed-provider.',
|
|
31
|
+
uiSchema: [
|
|
32
|
+
{
|
|
33
|
+
field: 'sqlitePath',
|
|
34
|
+
type: 'string',
|
|
35
|
+
label: 'SQLite path',
|
|
36
|
+
default: DEFAULT_SQLITE_PATH,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
field: 'topK',
|
|
40
|
+
type: 'number',
|
|
41
|
+
label: 'Top K',
|
|
42
|
+
default: DEFAULT_SEARCH_TOP_K,
|
|
43
|
+
min: 1,
|
|
44
|
+
max: 50,
|
|
45
|
+
step: 1,
|
|
46
|
+
},
|
|
47
|
+
] as const,
|
|
48
|
+
inputs: {
|
|
49
|
+
query: {
|
|
50
|
+
wireType: 'string',
|
|
51
|
+
required: true,
|
|
52
|
+
description: 'Search phrase.',
|
|
53
|
+
},
|
|
54
|
+
embed: {
|
|
55
|
+
wireType: EMBED_HANDLE_WIRE_TYPE,
|
|
56
|
+
required: true,
|
|
57
|
+
description: 'Wire from common-embed-provider (fan-out OK).',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
outputs: {
|
|
61
|
+
hits: {
|
|
62
|
+
wireType: 'json',
|
|
63
|
+
description:
|
|
64
|
+
'Top-K hits with path, heading, RRF score, and full chunk text.',
|
|
65
|
+
},
|
|
66
|
+
text: {
|
|
67
|
+
wireType: 'string',
|
|
68
|
+
description:
|
|
69
|
+
'Question + Context (full retrieved chunks) for Preview or LLM userPrompt.',
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
async execute(ctx, inputs) {
|
|
73
|
+
const embedInput = inputs['embed'];
|
|
74
|
+
if (!isEmbedHandle(embedInput)) {
|
|
75
|
+
throw new Error(
|
|
76
|
+
'hello-embed-search requires a wired embed input from common-embed-provider.',
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
const projectDir = String(ctx.projectDir ?? '');
|
|
80
|
+
if (projectDir.length === 0) {
|
|
81
|
+
throw new Error('hello-embed-search requires ctx.projectDir.');
|
|
82
|
+
}
|
|
83
|
+
const query = typeof inputs.query === 'string' ? inputs.query : '';
|
|
84
|
+
const result = await runSearch({
|
|
85
|
+
sqlitePath: resolveSqlitePath(
|
|
86
|
+
projectDir,
|
|
87
|
+
asString(ctx.params.sqlitePath, DEFAULT_SQLITE_PATH),
|
|
88
|
+
),
|
|
89
|
+
query,
|
|
90
|
+
topK: clampTopK(ctx.params.topK, DEFAULT_SEARCH_TOP_K),
|
|
91
|
+
embedder: textEmbedderFromHandle(embedInput, 'query'),
|
|
92
|
+
});
|
|
93
|
+
return {
|
|
94
|
+
hits: result.hits,
|
|
95
|
+
text: result.text,
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "NodeNext",
|
|
5
|
+
"moduleResolution": "NodeNext",
|
|
6
|
+
"strict": true,
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"allowImportingTsExtensions": true,
|
|
9
|
+
"skipLibCheck": true,
|
|
10
|
+
"types": ["node"]
|
|
11
|
+
},
|
|
12
|
+
"include": ["./**/*.ts"],
|
|
13
|
+
"exclude": ["./**/*.test.ts", "node_modules"]
|
|
14
|
+
}
|
|
@@ -17,7 +17,10 @@ its own `package.json`.
|
|
|
17
17
|
git-diff-tool.ts ← export default defineToolRegistrations({…})
|
|
18
18
|
review-gate.ts ← export default defineReactiveNode({…})
|
|
19
19
|
# add more *.ts files as needed
|
|
20
|
-
|
|
20
|
+
hello-embed/ ← seeded sibling sample (markdown vectors)
|
|
21
|
+
package.json
|
|
22
|
+
ingest.ts / search.ts / search-handle.ts
|
|
23
|
+
other-pack/ ← optional extra shareable pack
|
|
21
24
|
package.json
|
|
22
25
|
…
|
|
23
26
|
```
|
|
@@ -53,6 +56,7 @@ and RxJS stay external.
|
|
|
53
56
|
## Author API
|
|
54
57
|
|
|
55
58
|
Prefer **`defineNode`** for sync/Promise nodes (no RxJS in the author file).
|
|
59
|
+
Async `execute` already stamps pending on outputs — do not call `withLoading`.
|
|
56
60
|
|
|
57
61
|
Use **`defineToolRegistrations`** when the node should emit LLM-callable
|
|
58
62
|
`ToolHandle`s on a `tools` port (wire into an agent / LLM `tools` input).
|
|
@@ -190,8 +194,14 @@ TypeScript is your friend: it catches many mistakes in the **IDE** and at
|
|
|
190
194
|
- Prefer fixing those errors in the editor over “happy path” runtime debugging
|
|
191
195
|
(start workflow → wait → guess which node broke).
|
|
192
196
|
|
|
193
|
-
`tsconfig.json` here is for IDE highlight and `tsc --noEmit
|
|
194
|
-
even though Langflower bundles with esbuild
|
|
197
|
+
`tsconfig.json` here is for IDE highlight and `tsc --noEmit` (Langflower’s
|
|
198
|
+
pack compile gate). Keep using it even though Langflower bundles with esbuild
|
|
199
|
+
for load.
|
|
200
|
+
|
|
201
|
+
If this pack (or a sibling) uses **explicit `.ts` import paths**
|
|
202
|
+
(`from './lib/x.ts'`), add `"allowImportingTsExtensions": true` next to
|
|
203
|
+
`"noEmit": true`. Copy `hello-embed/tsconfig.json`. Without the flag the
|
|
204
|
+
pack does not compile. Extensionless imports (this seed) do not need it.
|
|
195
205
|
|
|
196
206
|
## Add a node
|
|
197
207
|
|
|
@@ -91,6 +91,10 @@
|
|
|
91
91
|
"composerHeight": { "type": "number" }
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
+
"paletteVisible": {
|
|
95
|
+
"type": "boolean",
|
|
96
|
+
"description": "Left node palette shown. Omit = visible. Project-only (not merged from global config as a product key; same class as dividerPositions)."
|
|
97
|
+
},
|
|
94
98
|
"permission": {
|
|
95
99
|
"type": "object",
|
|
96
100
|
"description": "Runtime allow/ask/deny for harness tools (≠ Inspector enabledToolIds).",
|
|
@@ -167,7 +171,11 @@
|
|
|
167
171
|
"kind": { "const": "http" },
|
|
168
172
|
"url": { "type": "string" },
|
|
169
173
|
"command": { "type": "string" },
|
|
170
|
-
"toolNames": { "type": "string" }
|
|
174
|
+
"toolNames": { "type": "string" },
|
|
175
|
+
"headers": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"additionalProperties": { "type": "string" }
|
|
178
|
+
}
|
|
171
179
|
}
|
|
172
180
|
}
|
|
173
181
|
}
|
|
@@ -54,11 +54,15 @@ On-demand only (not auto-injected). Use harness `read`:
|
|
|
54
54
|
|
|
55
55
|
### 1. Product
|
|
56
56
|
|
|
57
|
-
- **Can:** Local,
|
|
58
|
-
|
|
59
|
-
ad hoc by the model each turn.
|
|
57
|
+
- **Can:** Local, folder-scoped **reactive node graph**. The LLM is a node,
|
|
58
|
+
not the product. The **workflow graph** is the pipeline law (hard harness)
|
|
59
|
+
— stages and edges are authored, not chosen ad hoc by the model each turn.
|
|
60
|
+
Extend with **MCP** and **skills**, plus **custom nodes** for graph
|
|
61
|
+
processing or custom tools via the same **ToolHandle** contract as built-ins.
|
|
60
62
|
- **Cannot:** Require a cloud account. Let the model skip graph stages
|
|
61
|
-
(QA/review/gates) by “deciding what’s next” outside the graph.
|
|
63
|
+
(QA/review/gates) by “deciding what’s next” outside the graph. Claim
|
|
64
|
+
serializable **chat sessions**, **image/video** asset management for
|
|
65
|
+
multimodal models, or a built-in **IDE / git UI**.
|
|
62
66
|
|
|
63
67
|
### 2. Project layout and bootstrap
|
|
64
68
|
|
|
@@ -67,11 +71,13 @@ templates in the skeleton are **already usable** once copied into the project
|
|
|
67
71
|
do not say coding pipelines “don’t exist” or are unavailable.
|
|
68
72
|
|
|
69
73
|
- **Can:** `langflower start [project-dir]` (default port **4010**) creates
|
|
70
|
-
`.langflower/`, config, `instructions.md`,
|
|
74
|
+
`.langflower/`, config, `instructions.md`, packs `nodes/my-nodes/` and
|
|
75
|
+
`nodes/hello-embed/`, skills
|
|
71
76
|
`langflower-helper`, `langflower-node-writer`, and
|
|
72
77
|
`langflower-workflow-writer`, and opens workflow **`starter`** first.
|
|
73
78
|
- **Can:** Skeleton already ships coding and KB sample workflows
|
|
74
|
-
(`simple-coder`, `advanced-coder`, `kb-create`, `kb-navigate`,
|
|
79
|
+
(`simple-coder`, `advanced-coder`, `kb-create`, `kb-navigate`,
|
|
80
|
+
`kb-ingest`, `kb-manual-search`, `kb-tool`, `kb-rag`, …). With a
|
|
75
81
|
provider configured, they are seeded on first-run → load → composer **Start**.
|
|
76
82
|
- **Can:** Second `langflower start` on an existing `.langflower/` **reuses**
|
|
77
83
|
it as-is (no wipe).
|
|
@@ -88,10 +94,12 @@ do not say coding pipelines “don’t exist” or are unavailable.
|
|
|
88
94
|
### 3. Skeleton and samples
|
|
89
95
|
|
|
90
96
|
- **Can:** First-run seed = config + **all** skeleton workflows (including
|
|
91
|
-
`starter`, coding samples, `kb-create`, `kb-navigate`
|
|
92
|
-
`my-nodes` +
|
|
97
|
+
`starter`, coding samples, `kb-create`, `kb-navigate`, `kb-ingest`,
|
|
98
|
+
`kb-manual-search`, `kb-tool`, `kb-rag`) + three skills + `my-nodes` +
|
|
99
|
+
`hello-embed` + instructions.
|
|
93
100
|
- **Can:** Skeleton inventory includes `node-writer`, `agents-dialog`,
|
|
94
|
-
`simple-coder`, `advanced-coder`, `kb-create`, `kb-navigate
|
|
101
|
+
`simple-coder`, `advanced-coder`, `kb-create`, `kb-navigate`,
|
|
102
|
+
`kb-ingest`, `kb-manual-search`, `kb-tool`, `kb-rag` (and other
|
|
95
103
|
samples under `packages/server/skeleton/` / demo-project).
|
|
96
104
|
- **Cannot:** Claim a Sample workflows **catalog UI** (browse / help /
|
|
97
105
|
one-click copy) is shipped.
|
|
@@ -109,12 +117,44 @@ do not say coding pipelines “don’t exist” or are unavailable.
|
|
|
109
117
|
onboarding copy (add OpenAI-compatible provider; Fake LLM / simple nodes
|
|
110
118
|
still work).
|
|
111
119
|
- **Cannot:** Treat Settings as the selected-node inspector (ports/params).
|
|
112
|
-
- **Cannot:** Reveal a saved API key in the UI.
|
|
120
|
+
- **Cannot:** Reveal a saved API key or named secret value in the UI.
|
|
121
|
+
- **Can:** Settings → **Global** → **Secrets** stores named tokens in
|
|
122
|
+
user-global `langflower.secrets.json` (not the project). Disclaimer:
|
|
123
|
+
those Langflower files can still be read — not encryption; the goal is
|
|
124
|
+
to keep them out of workspace file tools. MCP http / jsonc `mcp.servers`
|
|
125
|
+
http `headers` may use `{lf_secrets:ID}` or `{env:VAR}` (interpolated at
|
|
126
|
+
connect; UI never redisplays the value).
|
|
127
|
+
|
|
128
|
+
### 4b. Embeddings
|
|
129
|
+
|
|
130
|
+
- **Can:** Settings **Default embedding model** (`embedding: "providerId/modelId"`);
|
|
131
|
+
palette **Embeddings** — `common-embed-text`, `common-embed-similarity`,
|
|
132
|
+
`common-embed-provider`; custom packs wire **`embed`** (`EmbedHandle` from
|
|
133
|
+
`@langflower/node-sdk`); server binds embedding HTTP — packs never see
|
|
134
|
+
`apiKey`. Manual check: String → Embed text → Preview on **`preview`**.
|
|
135
|
+
Sample pack **`hello-embed`**: ingest project `.md` → sqlite (vectors + FTS5);
|
|
136
|
+
hybrid retrieve (cosine + keyword, RRF) packs **Question + full-chunk Context**
|
|
137
|
+
for `hello-embed-search` / `project_search`.
|
|
138
|
+
Workflows `kb-ingest` / `kb-manual-search` / `kb-tool` / `kb-rag`. Needs
|
|
139
|
+
the default embedding model (`langflower start` compiles the pack). Copy
|
|
140
|
+
the pack for a different corpus — see `nodes/hello-embed/README.md`.
|
|
141
|
+
- **Cannot:** Treat embeddings as a host catalog feature. Use **`EmbedHandle`**
|
|
142
|
+
(not `ToolHandle`) for batch float vectors. hello-embed sqlite lives under
|
|
143
|
+
`.langflower/.cache/hello-embed/`.
|
|
144
|
+
|
|
145
|
+
### 4c. Primitives and paced split
|
|
146
|
+
|
|
147
|
+
- **Can:** Palette **Primitives** include String, **String (multiline)**
|
|
148
|
+
(`common-string-multiline`, textarea), Number, Boolean. **Text** includes
|
|
149
|
+
Concat, Read/Write/Append File, and **Split (paced)** (`common-split-paced`)
|
|
150
|
+
— one non-empty chunk per `trigger` (first ASAP; `finish` after the last;
|
|
151
|
+
CSV / logs line-by-line). Not the planned one-shot Split (`parts[]`).
|
|
113
152
|
|
|
114
153
|
### 5. Editor chrome
|
|
115
154
|
|
|
116
155
|
- **Can:** Chat Input graphs start from the composer **Start** control. Plain
|
|
117
|
-
**Run** stays disabled for those graphs.
|
|
156
|
+
**Run** stays disabled for those graphs. Prefill or last typed text lives on
|
|
157
|
+
the Chat Input node (`inputs.message`) and reappears after Stop.
|
|
118
158
|
- **Can:** While running — Hard **Stop**, soft **Pause**, HITL and
|
|
119
159
|
`permission.ask` in the composer. Work log **clears** on successful
|
|
120
160
|
workflow load / create / copy (not rename).
|
|
@@ -123,6 +163,11 @@ do not say coding pipelines “don’t exist” or are unavailable.
|
|
|
123
163
|
drag (`cursor-not-allowed`).
|
|
124
164
|
- **Cannot:** Tell users to press plain **Run** to start a Chat Input graph.
|
|
125
165
|
- **Cannot:** Claim the feed after reload must be **richer** than live.
|
|
166
|
+
- **Can:** Work log shows opted-in roles (`reasoning` / `draft` / `result` /
|
|
167
|
+
tools / `progress`) plus Finish **`done`** and Preview content as result
|
|
168
|
+
bubbles. Unmarked ports and `feed.role: 'none'` are omitted.
|
|
169
|
+
- **Cannot:** Claim unmarked plumbing (`prompt` / `value` wires) appears as
|
|
170
|
+
muted technical rows — use the inspector for those values.
|
|
126
171
|
- **Cannot:** Claim `basic-coder` proves chat-dense mood for the full
|
|
127
172
|
`coding-agent` pipeline.
|
|
128
173
|
|
|
@@ -134,18 +179,43 @@ do not say coding pipelines “don’t exist” or are unavailable.
|
|
|
134
179
|
cleaned graph. Catalog list still shows the file (metadata-only).
|
|
135
180
|
- **Cannot:** Silently rewrite disk on load. Invent port renames — only drop.
|
|
136
181
|
|
|
182
|
+
### 5c. Multi input ports
|
|
183
|
+
|
|
184
|
+
Extra empty handles on a node are **one logical port** authored with `multi`
|
|
185
|
+
(`merge` / `combine` / `zip`). Wiring a slot **grows a trailing empty slot**
|
|
186
|
+
on that same port so you can connect another source. Leave the empty row
|
|
187
|
+
unwired — it is not a duplicate Helper, not a second node, and not a bug.
|
|
188
|
+
|
|
189
|
+
- **Can (starter Helper `feedback`):** `multi: 'merge'` — several sources can
|
|
190
|
+
kick a new agent turn. Example: Review Gate HITL **and** `common-review`
|
|
191
|
+
auto-review.
|
|
192
|
+
- **Can (starter Helper `tools`):** `multi: 'combine'` — several packs land on
|
|
193
|
+
one agent. Example: Langflower Tools **and** Writer Sub-Agent. Optional
|
|
194
|
+
**Tool collection** (`common-tool-collection`) can still merge wires first;
|
|
195
|
+
direct multi-wire still works.
|
|
196
|
+
- **Can (Router):** `common-router` uses the same extra-slot growth for
|
|
197
|
+
channels (`ch` / `ch@1` / …) so many edges stay readable.
|
|
198
|
+
- **Cannot:** Claim every port grows this way — `userPrompt` / `systemPrompt`
|
|
199
|
+
stay single. Claim the empty slot must be wired. Equate `merge` (each emit
|
|
200
|
+
is a turn) with `combine` (inventory array) with `zip` (lockstep, e.g.
|
|
201
|
+
Concat).
|
|
202
|
+
|
|
137
203
|
### 6. Coding workflows
|
|
138
204
|
|
|
139
|
-
| Name
|
|
140
|
-
|
|
|
141
|
-
| `starter`
|
|
142
|
-
| Skeleton stubs
|
|
143
|
-
| `simple-coder`
|
|
144
|
-
| `kb-create`
|
|
145
|
-
| `kb-navigate`
|
|
146
|
-
| `
|
|
147
|
-
| `
|
|
148
|
-
|
|
|
205
|
+
| Name | Fact |
|
|
206
|
+
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
207
|
+
| `starter` | Onboarding chat + this skill + Writer Sub-Agent (`langflower-workflow-writer` + `langflower-node-writer`) — default open after seed |
|
|
208
|
+
| Skeleton stubs | `simple-coder`, `advanced-coder`, `kb-create`, `kb-navigate`, `kb-ingest`, `kb-manual-search`, `kb-tool`, `kb-rag`, … seeded on first-run; with provider → Start |
|
|
209
|
+
| `simple-coder` | Plan⇄HITL→Coder⇄HITL→Finish smoke spine + `common-memory-tools` on Plan/Coder/Researcher/Worker; Researcher Sub-Agent under Plan, Worker under Coder — **not** full multi-loop `coding-agent` |
|
|
210
|
+
| `kb-create` | Memory / project wiki create: Orchestrator **indexes** the repo with `glob`/`read`, persists `history/work-queue.md`, then **serially** calls Explorer → Composer **one unit at a time**; `common-memory-tools` writes `core/*` + `modules/*`; Review rejects non-empty Pending or thin overviews |
|
|
211
|
+
| `kb-navigate` | Memory navigate: Navigator + Searcher + memory tree/grep/section tools; HITL Review Gate for follow-ups |
|
|
212
|
+
| `kb-ingest` | Sample **hello-embed** ingest (Settings embedding model; pack compiles on `langflower start`) |
|
|
213
|
+
| `kb-manual-search` | Sample hello-embed query → Preview / Finish |
|
|
214
|
+
| `kb-tool` | Sample hello-embed `project_search` ToolHandle → agent |
|
|
215
|
+
| `kb-rag` | Simplified RAG: hybrid retrieve packs Question + full chunks into the LLM; `project_search` + grep/read; Review feedback / Approve → Finish |
|
|
216
|
+
| `basic-coder` | Basic coding harness (Plan⇄HITL→Coder⇄HITL→Finish) — not a toy, **not** full multi-loop `coding-agent` |
|
|
217
|
+
| `coding-agent` | Clarify HITL → red team → plan gate → coder → QA → `common-review` → result HITL; **graph** orders stages |
|
|
218
|
+
| Status | Use-case **Partial**; real-LLM Implementable bar open; Fake CI ≠ end-user proof — **not** “no templates” |
|
|
149
219
|
|
|
150
220
|
### 7. Run lifecycle
|
|
151
221
|
|
|
@@ -171,6 +241,11 @@ These four are **not** the same thing.
|
|
|
171
241
|
still works. System MCP from `langflower.jsonc` starts only for ids enabled
|
|
172
242
|
on nodes in the active workflow; those tools land on `EC.toolHandles`,
|
|
173
243
|
never as raw config.
|
|
244
|
+
- **Can:** Call a wired MCP / pack tool from the graph with **Tool invoke**
|
|
245
|
+
(`common-tool-invoke`: `tools` + `toolId` + JSON `args` → `result`). **Tool
|
|
246
|
+
inspect** (`common-tool-inspect`) prints copy-paste `toolId`, example
|
|
247
|
+
args, and `inputSchema` from the same `tools` wire (optional inspect
|
|
248
|
+
`toolId` filters the dump). No LLM required on that path.
|
|
174
249
|
- **Can:** `compile_custom_nodes` exists only when **Langflower Tools**
|
|
175
250
|
(`common-langflower-tools`) is wired into that agent’s `tools` port
|
|
176
251
|
(starter Helper / Writer). Same intent as Custom → **Update**. Recompile
|
|
@@ -184,6 +259,8 @@ These four are **not** the same thing.
|
|
|
184
259
|
unlock” as the product model (use graph stages / tool profiles). All
|
|
185
260
|
`mcp.servers` always start. Agent sees raw MCP config instead of handles.
|
|
186
261
|
Equating a checkbox allowlist with runtime allow — use the permission table.
|
|
262
|
+
Preview (`common-preview`) showing a `tool-handle` wire — use **Tool
|
|
263
|
+
inspect**.
|
|
187
264
|
|
|
188
265
|
### 9. Sub-Agent and swarm
|
|
189
266
|
|
|
@@ -214,8 +291,9 @@ Sub-Agent is an **explicit canvas node** for **control and observability**
|
|
|
214
291
|
`kb-create` (index with `glob` → `history/work-queue.md` → serial
|
|
215
292
|
Explorer/Composer units into `core/*` + `modules/*`) and `kb-navigate`.
|
|
216
293
|
Managed markdown under `.langflower/memory/` (also reachable with harness
|
|
217
|
-
file tools).
|
|
218
|
-
|
|
294
|
+
file tools). **Embeddings** catalog nodes + Settings default embedding model
|
|
295
|
+
are shipped for API checks and pack **`EmbedHandle`** wiring — separate from
|
|
296
|
+
vector KB ([ADR-033](../../../../../docs/ADR.md#adr-033--markdown-memory-tools-no-embedding-as-base)).
|
|
219
297
|
Obsidian vault helpers are **not** shipped (TBD-007).
|
|
220
298
|
- **skill-refining:** CLI eval + `skillPath` / harness `read`; no canvas
|
|
221
299
|
`skill-refining.json` demo.
|
|
@@ -234,13 +312,15 @@ When the user asks to “create a project wiki”, “build a knowledge base”,
|
|
|
234
312
|
memory **before** deep survey; call the Explorer / Composer specialist
|
|
235
313
|
tools **one unit at a time**.
|
|
236
314
|
- **Cannot:** Recommend one LLM that “reads the whole repo once and dumps a
|
|
237
|
-
wiki”. Claim
|
|
238
|
-
|
|
315
|
+
wiki”. Claim Obsidian vault helpers as shipped. For semantic search over
|
|
316
|
+
markdown, point at **hello-embed** (`kb-ingest` / `kb-rag`) rather than
|
|
317
|
+
inventing catalog embedding-KB nodes.
|
|
239
318
|
|
|
240
319
|
### 11. Custom nodes
|
|
241
320
|
|
|
242
321
|
- **Can:** **TypeScript** via `@langflower/node-sdk` — first-class language;
|
|
243
|
-
`tsc` / IDE types act as compile-time validators.
|
|
322
|
+
`tsc` / IDE types act as compile-time validators. **`langflower start`**
|
|
323
|
+
compiles packs under `.langflower/nodes/`. After file changes call
|
|
244
324
|
**`compile_custom_nodes`** (no args) or Custom → **Update** — same
|
|
245
325
|
composer. On starter you already have the tool (Langflower Tools wired).
|
|
246
326
|
Stop is not required for already-placed custom types (hot-swap).
|
|
@@ -249,6 +329,10 @@ When the user asks to “create a project wiki”, “build a knowledge base”,
|
|
|
249
329
|
auto-place or auto-wire them mid-run.
|
|
250
330
|
Packs under `.langflower/nodes/<pack>/`; user runs `npm install` in the pack
|
|
251
331
|
when adding author deps. See `instructions.md` and `nodes/my-nodes/README.md`.
|
|
332
|
+
Pack `tsconfig.json` gates compile (`tsc --noEmit`). `from './file.ts'`
|
|
333
|
+
requires `"allowImportingTsExtensions": true` next to `"noEmit": true`
|
|
334
|
+
(hello-embed); otherwise the pack does not compile. Extensionless imports
|
|
335
|
+
(`my-nodes`) do not need the flag.
|
|
252
336
|
Nodes may **intentionally keep in-memory internal state across runs**
|
|
253
337
|
(Stop / done / Start) until the user loads another workflow or shuts down
|
|
254
338
|
Langflower — not the same as Checkpoint resume after process kill.
|
|
@@ -265,7 +349,9 @@ When the user asks to add or change a custom node from this starter chat:
|
|
|
265
349
|
1. Call Writer (or edit `.langflower/nodes/<pack>/*.ts` yourself).
|
|
266
350
|
2. Call **`compile_custom_nodes`** (no args). Report `status` / `nodeTypes` /
|
|
267
351
|
`errors` from the tool text. Pack failures also write
|
|
268
|
-
`COMPILATION_ERRORS.md`.
|
|
352
|
+
`COMPILATION_ERRORS.md`. If tsc rejects `.ts` import paths, add
|
|
353
|
+
`allowImportingTsExtensions` next to `noEmit` in the pack `tsconfig.json`
|
|
354
|
+
(copy hello-embed), then compile again.
|
|
269
355
|
3. **Already on the canvas** → live now, no Stop. **New type** → user places
|
|
270
356
|
it from Custom and wires it; this tool does not drop nodes on the canvas.
|
|
271
357
|
4. If a custom tools pack is already wired into this agent, you may call those
|
|
@@ -5,7 +5,8 @@ this file over inventing infrastructure.
|
|
|
5
5
|
|
|
6
6
|
## What it is
|
|
7
7
|
|
|
8
|
-
- Local, **
|
|
8
|
+
- Local, **folder-scoped reactive node graph**. The LLM is a node, not the
|
|
9
|
+
product.
|
|
9
10
|
- The **workflow graph** is the pipeline law (hard harness): stages and edges
|
|
10
11
|
are authored; the model does not freely skip QA/review/gates outside the
|
|
11
12
|
graph.
|
|
@@ -82,7 +83,14 @@ Project product data for Langflower lives under **`.langflower/`**.
|
|
|
82
83
|
the parent work-log visit; the specialist streams as its own card, and
|
|
83
84
|
the parent continues in a new visit below. Optional **Tool collection**
|
|
84
85
|
(`common-tool-collection`) can merge several `tools` wires; direct
|
|
85
|
-
multi-wire into the agent still works.
|
|
86
|
+
multi-wire into the agent still works. **Tool invoke**
|
|
87
|
+
(`common-tool-invoke`) calls one wired handle by `toolId` + JSON `args`
|
|
88
|
+
with no LLM. **Tool inspect** (`common-tool-inspect`) dumps copy-paste
|
|
89
|
+
`toolId` / example args / `inputSchema` from the same wire (optional
|
|
90
|
+
inspect `toolId` filters the dump; Preview cannot take
|
|
91
|
+
`tool-handle`). Extra empty canvas slots on
|
|
92
|
+
`multi` ports (`feedback` merge, `tools` combine) and Router channels
|
|
93
|
+
(`ch` / `ch@1`) are intentional fan-in — not cloned ports.
|
|
86
94
|
- **Graph order** stages the pipeline; the model does not invent the stage
|
|
87
95
|
sequence outside the graph.
|
|
88
96
|
- Project memory / wiki create is **queue-driven**: index with harness `glob`,
|
|
@@ -94,10 +102,12 @@ Project product data for Langflower lives under **`.langflower/`**.
|
|
|
94
102
|
|
|
95
103
|
- Custom nodes use the same **`@langflower/node-sdk`** path as built-ins.
|
|
96
104
|
- **TypeScript** is first-class; `tsc` / IDE types act as compile-time gates.
|
|
97
|
-
After file changes call
|
|
98
|
-
Tools** is wired — starter
|
|
99
|
-
|
|
100
|
-
instances + refresh the Custom
|
|
105
|
+
`langflower start` compiles packs. After file changes call
|
|
106
|
+
`compile_custom_nodes` (only if **Langflower Tools** is wired — starter
|
|
107
|
+
Helper / Writer already are) or Custom → **Update**. Same composer:
|
|
108
|
+
typecheck + bundle + hot-swap live custom instances + refresh the Custom
|
|
109
|
+
palette. Pack `from './x.ts'` needs `allowImportingTsExtensions` +
|
|
110
|
+
`noEmit` in pack `tsconfig.json` or `tsc --noEmit` fails (hello-embed seed).
|
|
101
111
|
Stop is not required for already-placed custom types.
|
|
102
112
|
An already-wired custom tools pack can be invoked later in the same run
|
|
103
113
|
after compile. Do not auto-place or auto-wire a new type mid-run.
|
|
@@ -108,7 +118,9 @@ Project product data for Langflower lives under **`.langflower/`**.
|
|
|
108
118
|
## What stays local
|
|
109
119
|
|
|
110
120
|
- No required cloud account for Langflower itself.
|
|
111
|
-
- Secrets via config / `{env:VAR}
|
|
121
|
+
- Secrets via config / `{env:VAR}` or Settings → Global → Secrets
|
|
122
|
+
(`langflower.secrets.json`); Settings does not reveal a saved API key or
|
|
123
|
+
named secret value.
|
|
112
124
|
- Provider calls leave the machine when the user configures a remote provider —
|
|
113
125
|
that is expected LLM traffic, not a Langflower cloud login wall.
|
|
114
126
|
|
|
@@ -7,7 +7,10 @@ Facts for UI chrome and on-disk paths. Prefer this file over guessing.
|
|
|
7
7
|
- **Topbar** — workflow list (switch / create / rename as shipped), gear →
|
|
8
8
|
**Settings**.
|
|
9
9
|
- **Left palette** — built-in nodes; **Custom** packs; **Update** reloads
|
|
10
|
-
custom packs after disk changes.
|
|
10
|
+
custom packs after disk changes. Collapse with `<<` on the Palette title
|
|
11
|
+
row; restore with floating `>>` at the canvas top-left. Visibility is
|
|
12
|
+
project `paletteVisible` (missing key = shown) and is allowed during a
|
|
13
|
+
run.
|
|
11
14
|
- **Center** — canvas (nodes, edges, selection).
|
|
12
15
|
- **Right aside** — mutually exclusive modes: **feed** | **inspector** |
|
|
13
16
|
**Settings**. Opening Settings (gear or empty-provider onboarding) swaps out
|
|
@@ -17,22 +20,26 @@ Facts for UI chrome and on-disk paths. Prefer this file over guessing.
|
|
|
17
20
|
|
|
18
21
|
## Where can I…?
|
|
19
22
|
|
|
20
|
-
| Goal
|
|
21
|
-
|
|
|
22
|
-
| Change provider / API key
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
|
30
|
-
|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
23
|
+
| Goal | Where |
|
|
24
|
+
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
25
|
+
| Change provider / API key | Gear → **Settings** (right aside; Global auto-opens when none configured), or edit `.langflower/langflower.jsonc` (prefer `{env:VAR}`) |
|
|
26
|
+
| Store a named secret outside the project | Gear → **Settings** → **Global** → **Secrets** (write-only). File is `langflower.secrets.json` next to global config — not under the project. Not encryption. Use `{lf_secrets:ID}` or `{env:VAR}` in MCP http `headers`. |
|
|
27
|
+
| Start a Chat Input graph | Composer **Start** — not plain **Run**. Prefill lives on the node; Stop then Start reuses it. |
|
|
28
|
+
| See run output / stream | Right aside **feed** |
|
|
29
|
+
| Answer HITL / send into a waiting node | Composer + feed context |
|
|
30
|
+
| Allow or Deny `permission.ask` | Composer permission controls |
|
|
31
|
+
| Soft-pause last feed agent / continue | Composer **Pause** (per-node) / Send or Resume (soft pause ≠ Hard Stop) |
|
|
32
|
+
| Hard-stop a run | Composer **Stop** |
|
|
33
|
+
| Edit selected node params / ports | Select node → right aside **inspector** (not Settings). Read-only while a run is active — Stop first. |
|
|
34
|
+
| See what a built-in node does | Hover a palette row (popover) **or** select the node → inspector **description** (markdown). |
|
|
35
|
+
| Add a node from the palette | Drag from the left palette onto the canvas. Disabled while a run is active (`cursor-not-allowed`) — Stop first. |
|
|
36
|
+
| Hide / show the node palette | Palette title `<<` / canvas `>>`. Shared across tabs; stored as `paletteVisible` in project `langflower.jsonc`. Allowed during a run. |
|
|
37
|
+
| Add or reload custom nodes | Pack under `.langflower/nodes/<pack>/`. Server start loads cached packs when fingerprints match, else compiles. After file changes: on starter, Helper / Writer call `compile_custom_nodes` (Langflower Tools is wired). Else Custom → **Update** (always rebuilds). Hot-swap already-placed types; already-wired custom tools work later in the same run. New types: user places from Custom (no auto-place / auto-wire mid-run). |
|
|
38
|
+
| Switch workflow | Topbar workflow list. Load / New / Copy / rename / Delete are locked while a run is active — Stop first. |
|
|
39
|
+
| Open Settings without leaving canvas | Gear — Settings in right aside |
|
|
40
|
+
| Find sample coding graphs | Skeleton / demo-project workflow files — **manual copy** into project, then load → Start. No Sample workflows catalog UI. |
|
|
41
|
+
| Why extra empty ports on Helper / tools / Router | Those inputs are `multi`. Wiring one slot shows the next free slot. **Feedback** = several sources (HITL + auto-review). **Tools** = several packs. **Router** = extra channels (`ch` / `ch@1`). Leave the empty row unwired. |
|
|
42
|
+
| Project instructions for agents | `.langflower/instructions.md` |
|
|
36
43
|
|
|
37
44
|
## On-disk `.langflower/` map
|
|
38
45
|
|
|
@@ -41,7 +48,7 @@ Facts for UI chrome and on-disk paths. Prefer this file over guessing.
|
|
|
41
48
|
| `langflower.jsonc` | Providers, secrets refs, project config |
|
|
42
49
|
| `workflows/` | Saved workflow graphs |
|
|
43
50
|
| `skills/` | Agent skills (`langflower-helper/`, `langflower-node-writer/`, `langflower-workflow-writer/`) |
|
|
44
|
-
| `nodes/` | Custom node packs (
|
|
51
|
+
| `nodes/` | Custom node packs (`my-nodes/`, sample `hello-embed/`) |
|
|
45
52
|
| `instructions.md` | Project-level agent instructions |
|
|
46
53
|
| `runs/` | Run artifacts / checkpoints when created |
|
|
47
54
|
| `logs/` | Server bridge diagnostic JSONL logs when the server runs |
|
|
@@ -20,6 +20,10 @@ You help the user write **custom nodes** for Langflower.
|
|
|
20
20
|
starter, Writer has it because **Langflower Tools** is wired. Custom →
|
|
21
21
|
**Update** is the same composer. Failures land in `COMPILATION_ERRORS.md`.
|
|
22
22
|
Do **not** only remind the user to click Update.
|
|
23
|
+
- Pack `tsconfig.json` is the `tsc --noEmit` gate. `from './lib/x.ts'`
|
|
24
|
+
requires `"allowImportingTsExtensions": true` next to `"noEmit": true`
|
|
25
|
+
(copy `hello-embed/tsconfig.json`). Without it the pack does not compile.
|
|
26
|
+
Extensionless imports (`my-nodes`) do not need the flag.
|
|
23
27
|
- Langflower does **not** auto-`npm install` pack dependencies.
|
|
24
28
|
- Do **not** claim you can place a newly compiled type on the canvas or wire
|
|
25
29
|
it mid-run. Already-placed types hot-swap; already-wired custom tools can
|
|
@@ -28,7 +32,8 @@ You help the user write **custom nodes** for Langflower.
|
|
|
28
32
|
## Contract (do not invent forks)
|
|
29
33
|
|
|
30
34
|
- Default pack: `.langflower/nodes/my-nodes/` (one folder = one `package.json`).
|
|
31
|
-
- Prefer **`defineNode`** for sync/Promise nodes
|
|
35
|
+
- Prefer **`defineNode`** for sync/Promise nodes (`execute` stamps pending
|
|
36
|
+
on outputs). Use
|
|
32
37
|
**`defineToolRegistrations`** for LLM-callable `ToolHandle` packs on a
|
|
33
38
|
`tools` port. Use **`defineReactiveNode`** only when exclusive multi-output
|
|
34
39
|
branches, streams, or advanced bind wiring are required.
|
|
@@ -64,3 +69,5 @@ You help the user write **custom nodes** for Langflower.
|
|
|
64
69
|
- `.langflower/nodes/my-nodes/README.md`
|
|
65
70
|
- Seed demos: `git-diff.ts` (`defineNode`), `git-diff-tool.ts`
|
|
66
71
|
(`defineToolRegistrations`), `review-gate.ts` (`defineReactiveNode`)
|
|
72
|
+
- Multi-file + `.ts` imports: `.langflower/nodes/hello-embed/` (`tsconfig.json`
|
|
73
|
+
already has `allowImportingTsExtensions`)
|
|
@@ -57,8 +57,10 @@ Schema: `.langflower/schemas/workflow.schema.json`. Samples:
|
|
|
57
57
|
| --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
58
58
|
| `common-chat-input` | out `message` (no wireable in) |
|
|
59
59
|
| `common-openai-llm` / `common-fake-llm` | in `userPrompt`, `systemPrompt`, `feedback`, `tools`; out `response`, `toolLog`, … |
|
|
60
|
-
| `common-mcp-stdio` / `common-mcp-http` | out **`tools`** — wire into an agent `tools` port (not a separate `mcp` port)
|
|
60
|
+
| `common-mcp-stdio` / `common-mcp-http` | out **`tools`** — wire into an agent `tools` port (not a separate `mcp` port). MCP http in **`headers`**: JSON object/string; `{lf_secrets:ID}` / `{env:VAR}` OK |
|
|
61
61
|
| `common-tool-collection` | in **`tools`** (multi combine) → out **`tools`** — optional hub; duplicate `toolId` last-wins. Direct pack → agent still OK |
|
|
62
|
+
| `common-tool-invoke` | in **`tools`** (single) + **`toolId`** (string) + **`args`** (json, blank default) → out **`result`**. Graph-side `invoke`; unknown id / bad JSON → port error. Empty inventory stays inactive. |
|
|
63
|
+
| `common-tool-inspect` | in **`tools`** (single) + **`toolId`** (string, empty = all) → out **`text`** — copy-paste dump + `inputSchema`. Not Preview (`common-preview` is string-only). |
|
|
62
64
|
| `common-hitl-review-gate` | in `result`; out `response`, `feedback` |
|
|
63
65
|
| `common-merge` | in/out **`value`** only (not `step` / `output`) |
|
|
64
66
|
| `common-review` | in `task`, `result`, `systemPrompt`, `tools`; out `response`, `feedback` |
|