langflower 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -105
- package/bin/langflower.js +15 -1
- package/dist/chunk-AO33IM2J.js +307 -0
- package/dist/chunk-CVTPGIZE.js +344 -0
- package/dist/chunk-EAZMCX37.js +44 -0
- package/dist/chunk-NIRPHJLO.js +1505 -0
- package/dist/chunk-PYLGT66P.js +126 -0
- package/dist/chunk-WV2YWHOC.js +623 -0
- package/dist/chunk-YOTMWWRH.js +2041 -0
- package/dist/index.js +80453 -1
- package/package.json +1 -8
- package/ui-dist/{chunk-UG3GFV4Y.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-JJURZFKA.js +318 -0
- package/ui-dist/styles-VA3HMZK7.css +1 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.d.ts +1 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.js +1 -0
- 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/types.d.ts +7 -3
- package/vendor/node-sdk/dist/node-factory/define-tool-registrations/define-tool-registrations.d.ts +6 -6
- package/vendor/node-sdk/dist/node-factory/define-tool-registrations/define-tool-registrations.js +6 -6
- package/vendor/node-sdk/dist/testing/create-node-harness.d.ts +4 -0
- package/vendor/node-sdk/dist/testing/create-node-harness.js +5 -0
- package/vendor/server/skeleton/schemas/langflower-config.schema.json +5 -1
- package/vendor/server/skeleton/skills/langflower-helper/SKILL.md +46 -11
- package/vendor/server/skeleton/skills/langflower-helper/architecture.md +14 -3
- package/vendor/server/skeleton/skills/langflower-helper/layout.md +32 -29
- package/vendor/server/skeleton/skills/langflower-node-writer/SKILL.md +69 -0
- package/vendor/server/skeleton/skills/langflower-workflow-writer/SKILL.md +18 -3
- package/vendor/server/skeleton/skills/spec-architect/SKILL.md +232 -0
- package/vendor/server/skeleton/workflows/advanced-coder.json +1 -0
- package/vendor/server/skeleton/workflows/simple-coder.json +1 -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-QI4IYILJ.js +0 -4
- package/ui-dist/main-ODIDCCNX.js +0 -315
- package/ui-dist/styles-2JMBAQC3.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 -225
- package/vendor/common-nodes/dist/ai/features/llm-session/run-session-machine.d.ts +0 -32
- 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 -64
- 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 -231
- 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 -207
- 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 -88
- package/vendor/common-nodes/dist/ai/nodes/review/node.d.ts +0 -593
- package/vendor/common-nodes/dist/ai/nodes/review/node.js +0 -233
- 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 -457
- 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 -95
- 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 -128
- package/vendor/common-nodes/dist/crawl/crawl-tools/node.d.ts +0 -20
- package/vendor/common-nodes/dist/crawl/crawl-tools/node.js +0 -17
- package/vendor/common-nodes/dist/crawl/extract-links/node.d.ts +0 -22
- package/vendor/common-nodes/dist/crawl/extract-links/node.js +0 -45
- package/vendor/common-nodes/dist/crawl/fetch-url/node.d.ts +0 -56
- package/vendor/common-nodes/dist/crawl/fetch-url/node.js +0 -89
- 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 -71
- 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/embeddings/create-embedding.d.ts +0 -39
- package/vendor/common-nodes/dist/embeddings/create-embedding.js +0 -154
- package/vendor/common-nodes/dist/embeddings/embed-provider/node.d.ts +0 -53
- package/vendor/common-nodes/dist/embeddings/embed-provider/node.js +0 -126
- package/vendor/common-nodes/dist/embeddings/embed-similarity/node.d.ts +0 -20
- package/vendor/common-nodes/dist/embeddings/embed-similarity/node.js +0 -81
- package/vendor/common-nodes/dist/embeddings/embed-text/node.d.ts +0 -53
- package/vendor/common-nodes/dist/embeddings/embed-text/node.js +0 -91
- package/vendor/common-nodes/dist/embeddings/from-embedding.d.ts +0 -8
- package/vendor/common-nodes/dist/embeddings/from-embedding.js +0 -24
- package/vendor/common-nodes/dist/embeddings/resolve-embedding-provider-model.d.ts +0 -11
- package/vendor/common-nodes/dist/embeddings/resolve-embedding-provider-model.js +0 -8
- package/vendor/common-nodes/dist/flow/checkpoint/node.d.ts +0 -23
- package/vendor/common-nodes/dist/flow/checkpoint/node.js +0 -44
- package/vendor/common-nodes/dist/flow/delay/node.d.ts +0 -22
- package/vendor/common-nodes/dist/flow/delay/node.js +0 -46
- package/vendor/common-nodes/dist/flow/loop/node.d.ts +0 -22
- package/vendor/common-nodes/dist/flow/loop/node.js +0 -51
- 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 -31
- package/vendor/common-nodes/dist/flow/repeat/node.d.ts +0 -20
- package/vendor/common-nodes/dist/flow/repeat/node.js +0 -65
- 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 -20
- 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 -43
- 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 -70
- 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 -81
- package/vendor/common-nodes/dist/logic/assert/node.d.ts +0 -20
- package/vendor/common-nodes/dist/logic/assert/node.js +0 -56
- 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 -46
- package/vendor/common-nodes/dist/logic/gate/node.d.ts +0 -17
- package/vendor/common-nodes/dist/logic/gate/node.js +0 -41
- package/vendor/common-nodes/dist/logic/if/node.d.ts +0 -17
- package/vendor/common-nodes/dist/logic/if/node.js +0 -46
- 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 -75
- 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 -104
- 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 -93
- 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 -17
- 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 -34
- package/vendor/common-nodes/dist/output/preview/node.d.ts +0 -17
- package/vendor/common-nodes/dist/output/preview/node.js +0 -48
- package/vendor/common-nodes/dist/primitives/boolean/node.d.ts +0 -17
- package/vendor/common-nodes/dist/primitives/boolean/node.js +0 -31
- package/vendor/common-nodes/dist/primitives/number/node.d.ts +0 -17
- package/vendor/common-nodes/dist/primitives/number/node.js +0 -31
- package/vendor/common-nodes/dist/primitives/string/node.d.ts +0 -17
- package/vendor/common-nodes/dist/primitives/string/node.js +0 -31
- package/vendor/common-nodes/dist/primitives/string-multiline/node.d.ts +0 -17
- package/vendor/common-nodes/dist/primitives/string-multiline/node.js +0 -31
- 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 -68
- package/vendor/common-nodes/dist/text/concat/node.d.ts +0 -17
- package/vendor/common-nodes/dist/text/concat/node.js +0 -38
- package/vendor/common-nodes/dist/text/read-file/node.d.ts +0 -20
- package/vendor/common-nodes/dist/text/read-file/node.js +0 -57
- package/vendor/common-nodes/dist/text/split-paced/node.d.ts +0 -21
- package/vendor/common-nodes/dist/text/split-paced/node.js +0 -93
- package/vendor/common-nodes/dist/text/write-file/node.d.ts +0 -19
- package/vendor/common-nodes/dist/text/write-file/node.js +0 -60
- 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 -45
- 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 -48
- 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 -70
- 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-embed-context.d.ts +0 -7
- package/vendor/server/dist/bridge/bind-embed-context.js +0 -16
- 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 -223
- 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 -82
- 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 -205
- package/vendor/server/dist/bridge/wire-config-handlers.d.ts +0 -11
- package/vendor/server/dist/bridge/wire-config-handlers.js +0 -51
- 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 -254
- 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 -37
- package/vendor/server/dist/config/langflower-config.service.js +0 -390
- 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 -23
- 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 -38
- package/vendor/server/dist/session/langflower-session.js +0 -92
- 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 -527
- 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 -71
- 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 -484
- package/vendor/shared/dist/langflower-bus-config.js +0 -635
- 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 -44
- 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 -49
- package/vendor/shared/dist/langflower-config/settings-draft.js +0 -151
- 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 -71
- package/vendor/shared/dist/types/langflower-bootstrap.js +0 -1
- package/vendor/shared/dist/types/langflower-config.d.ts +0 -263
- 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 -25
- 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 -12
- package/vendor/tools/dist/mcp/build-mcp-handle.js +0 -56
- 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 -52
- package/vendor/tools/dist/mcp/create-system-mcp-handles.js +0 -127
- 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 -74
- 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
|
@@ -16,41 +16,44 @@ Facts for UI chrome and on-disk paths. Prefer this file over guessing.
|
|
|
16
16
|
**Settings**. Opening Settings (gear or empty-provider onboarding) swaps out
|
|
17
17
|
feed/inspector; canvas stays. Settings open/close is server-driven.
|
|
18
18
|
- **Composer (bottom)** — **Start** / Hard **Stop** / soft **Pause**; HITL
|
|
19
|
-
input and actions; `
|
|
19
|
+
input and actions; `ask_user` textarea + Send (question is in the work log);
|
|
20
|
+
`permission.ask` Allow/Deny while a run needs them.
|
|
20
21
|
|
|
21
22
|
## Where can I…?
|
|
22
23
|
|
|
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
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
|
30
|
-
|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
36
|
-
| Add
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
|
24
|
+
| Goal | Where |
|
|
25
|
+
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
26
|
+
| Change provider / API key | Gear → **Settings** (right aside; Global auto-opens when none configured), or edit `.langflower/langflower.jsonc` (prefer `{env:VAR}`) |
|
|
27
|
+
| 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`. |
|
|
28
|
+
| Start a Chat Input graph | Composer **Start** — not plain **Run**. Prefill lives on the node; Stop then Start reuses it. |
|
|
29
|
+
| See run output / stream | Right aside **feed** |
|
|
30
|
+
| Answer HITL / send into a waiting node | Composer + feed context |
|
|
31
|
+
| Answer an agent's `ask_user` question | Work log shows the question; composer textarea + **Send** (not Allow/Deny) |
|
|
32
|
+
| Allow or Deny `permission.ask` | Composer permission controls |
|
|
33
|
+
| Soft-pause last feed agent / continue | Composer **Pause** (per-node) / Send or Resume (soft pause ≠ Hard Stop) |
|
|
34
|
+
| Hard-stop a run | Composer **Stop** |
|
|
35
|
+
| Edit selected node params / ports | Select node → right aside **inspector** (not Settings). Read-only while a run is active — Stop first. |
|
|
36
|
+
| See what a built-in node does | Hover a palette row (popover) **or** select the node → inspector **description** (markdown). |
|
|
37
|
+
| 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. |
|
|
38
|
+
| Hide / show the node palette | Palette title `<<` / canvas `>>`. Shared across tabs; stored as `paletteVisible` in project `langflower.jsonc`. Allowed during a run. |
|
|
39
|
+
| 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). |
|
|
40
|
+
| Switch workflow | Topbar workflow list. Load / New / Copy / rename / Delete are locked while a run is active — Stop first. |
|
|
41
|
+
| Open Settings without leaving canvas | Gear — Settings in right aside |
|
|
42
|
+
| Find sample coding graphs | Skeleton / demo-project workflow files — **manual copy** into project, then load → Start. No Sample workflows catalog UI. |
|
|
43
|
+
| 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. |
|
|
44
|
+
| Project instructions for agents | `.langflower/instructions.md` |
|
|
42
45
|
|
|
43
46
|
## On-disk `.langflower/` map
|
|
44
47
|
|
|
45
|
-
| Path | Role
|
|
46
|
-
| ------------------ |
|
|
47
|
-
| `langflower.jsonc` | Providers, secrets refs, project config
|
|
48
|
-
| `workflows/` | Saved workflow graphs
|
|
49
|
-
| `skills/` | Agent skills (`langflower-helper/`, `langflower-node-writer/`, `langflower-workflow-writer/`)
|
|
50
|
-
| `nodes/` | Custom node packs (`my-nodes/`, sample `hello-embed
|
|
51
|
-
| `instructions.md` | Project-level agent instructions
|
|
52
|
-
| `runs/` | Run artifacts / checkpoints when created
|
|
53
|
-
| `logs/` | Server bridge diagnostic JSONL logs when the server runs
|
|
48
|
+
| Path | Role |
|
|
49
|
+
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
50
|
+
| `langflower.jsonc` | Providers, secrets refs, project config |
|
|
51
|
+
| `workflows/` | Saved workflow graphs |
|
|
52
|
+
| `skills/` | Agent skills (`langflower-helper/`, `langflower-node-writer/`, `langflower-workflow-writer/`, `spec-architect/`) |
|
|
53
|
+
| `nodes/` | Custom node packs — one folder / `package.json` each (`my-nodes/`, sample `hello-embed/`, extra sibling packs; no jsonc registration) |
|
|
54
|
+
| `instructions.md` | Project-level agent instructions |
|
|
55
|
+
| `runs/` | Run artifacts / checkpoints when created |
|
|
56
|
+
| `logs/` | Server bridge diagnostic JSONL logs when the server runs |
|
|
54
57
|
|
|
55
58
|
## Out of chrome
|
|
56
59
|
|
|
@@ -49,6 +49,75 @@ You help the user write **custom nodes** for Langflower.
|
|
|
49
49
|
custom types. An already-wired custom tools pack can be invoked later in
|
|
50
50
|
the **same run** after compile. Failures land in `COMPILATION_ERRORS.md`
|
|
51
51
|
in that pack.
|
|
52
|
+
- Sibling packs: any folder under `.langflower/nodes/` with its own
|
|
53
|
+
`package.json` is discovered (no `langflower.jsonc` registration). Seed
|
|
54
|
+
`my-nodes` is the default; extra packs sit next to it (`hello-embed`).
|
|
55
|
+
|
|
56
|
+
## Author patterns (do not invent forks)
|
|
57
|
+
|
|
58
|
+
### Factory
|
|
59
|
+
|
|
60
|
+
| Need | Factory | Not |
|
|
61
|
+
| --------------------------------------------------------------------------- | ------------------------- | ---------------------------------------------------- |
|
|
62
|
+
| One `execute` result on **all** outputs together | `defineNode` | Exclusive `ok` / `fail` |
|
|
63
|
+
| LLM-callable `ToolHandle[]` on a `tools` port | `defineToolRegistrations` | `defineNode` that returns inventory as a string wire |
|
|
64
|
+
| Emit on one port and **stay silent** on the other; streams; `inferTypeFrom` | `defineReactiveNode` | `defineNode` |
|
|
65
|
+
|
|
66
|
+
**Wrong:** a review / QA gate with `defineNode` that returns `{ ok: true }`
|
|
67
|
+
or throws on failure. `execute` maps onto every declared output at once.
|
|
68
|
+
Throwing is a node error stream — it does **not** drive a separate `fail`
|
|
69
|
+
branch. **Right:** `defineReactiveNode` + `of` / `EMPTY` (seed
|
|
70
|
+
`review-gate.ts`).
|
|
71
|
+
|
|
72
|
+
### Multi-file imports
|
|
73
|
+
|
|
74
|
+
Pack `tsconfig` is NodeNext. Relative `from './lib/x'` **without** a suffix
|
|
75
|
+
fails `tsc` (`TS2835`). Either keep one-file nodes with no local imports
|
|
76
|
+
(seed `git-diff.ts`) **or** `from './lib/x.ts'` plus
|
|
77
|
+
`"allowImportingTsExtensions": true` next to `"noEmit": true` (copy
|
|
78
|
+
`hello-embed/tsconfig.json`).
|
|
79
|
+
|
|
80
|
+
### LLM tools (`defineToolRegistrations`)
|
|
81
|
+
|
|
82
|
+
- `handler` returns `Promise<string>`. Expected command / test failure is
|
|
83
|
+
**text to the model**, not `throw`. Throw only for contract (empty
|
|
84
|
+
`ctx.projectDir`).
|
|
85
|
+
- Agent-facing text is a **short signal**: success → one line `ok <toolId>`.
|
|
86
|
+
Failure → failed tests / `TS####` / ESLint errors only. Strip ANSI. Drop
|
|
87
|
+
`✓`, coverage tables, npm lifecycle banners, raw stdout dumps. When
|
|
88
|
+
slicing an `Issues:` block, do **not** use `$` with the `/m` flag (that
|
|
89
|
+
is end-of-line, so the match stops after the first line).
|
|
90
|
+
- No shell Cap on public `ExecutionContext` yet — `child_process` like seed
|
|
91
|
+
`git-diff-tool.ts`. `shell: true` only with an **allowlisted literal**
|
|
92
|
+
(`npm run format`); never splice user paths into a shell string. Resolve
|
|
93
|
+
user paths under `ctx.projectDir` and reject `..` escapes.
|
|
94
|
+
- Do not register hanging processes (`start`, `dev`, `test:watch`) as tools.
|
|
95
|
+
|
|
96
|
+
### QA / review gates (`defineReactiveNode`)
|
|
97
|
+
|
|
98
|
+
- Exclusive ports: pass → emit on `ok`, silent `fail`; fail → emit on
|
|
99
|
+
`fail`, silent `ok`.
|
|
100
|
+
- Two honest `ok` shapes — pick from the graph, do not mix them:
|
|
101
|
+
- **Pulse** — seed `review-gate.ts` emits `boolean` `true`
|
|
102
|
+
(`wireType: 'boolean'`). Downstream only needs “passed”.
|
|
103
|
+
- **Passthrough** — when the next stage must keep the original payload:
|
|
104
|
+
`configureOutput('ok', ok$, { inferTypeFrom: trigger })`. Do **not**
|
|
105
|
+
emit `boolean` `true` on that wire (it breaks typing and the
|
|
106
|
+
continue-the-graph edge).
|
|
107
|
+
- `fail` is a **string** (prefer stripped tool-handler text, not raw
|
|
108
|
+
stderr dumps).
|
|
109
|
+
- A rewrite step (formatter) may run as a **side effect** and must not
|
|
110
|
+
fail the gate if the product intent is “format then typecheck/test”.
|
|
111
|
+
Typecheck / tests may fail the gate and skip later steps.
|
|
112
|
+
|
|
113
|
+
### Tests
|
|
114
|
+
|
|
115
|
+
Pack compile **skips** `*.test.ts`. Drive nodes with
|
|
116
|
+
`createNodeHarness` from `@langflower/node-sdk/testing`. Subscribe to
|
|
117
|
+
exclusive `ok` / `fail` **before** `send('trigger')` or you miss the
|
|
118
|
+
emission. Mock `child_process` — do not spawn a real monorepo `build`
|
|
119
|
+
from a unit test. Host `npm test` only sees pack tests if the project
|
|
120
|
+
Vitest config **includes** that glob; do not assume it.
|
|
52
121
|
|
|
53
122
|
## When drafting a node
|
|
54
123
|
|
|
@@ -14,8 +14,8 @@ You help the user **author valid Langflower workflow JSON** under
|
|
|
14
14
|
## Honesty (do not invent)
|
|
15
15
|
|
|
16
16
|
- Use only **catalog** node `type` strings that exist in the project palette /
|
|
17
|
-
common-nodes
|
|
18
|
-
use `common-hitl-review-gate`).
|
|
17
|
+
common-nodes **or compiled custom packs**. Do **not** invent types (e.g.
|
|
18
|
+
there is no `common-hitl` — use `common-hitl-review-gate`).
|
|
19
19
|
- Use only **real port ids** from each node’s definition / `NODE.md`. Wrong
|
|
20
20
|
ports are stripped on load (graceful repair) — inventing ports breaks the
|
|
21
21
|
graph.
|
|
@@ -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` |
|
|
@@ -78,6 +80,19 @@ Typical HITL revise loop:
|
|
|
78
80
|
Do **not** feed Merge output into both gates and LLM feedback on every tick
|
|
79
81
|
without a clear phase split.
|
|
80
82
|
|
|
83
|
+
## Custom QA / review gates
|
|
84
|
+
|
|
85
|
+
Custom exclusive-branch nodes (`defineReactiveNode`, seed `review-gate.ts`):
|
|
86
|
+
|
|
87
|
+
- in **`trigger`** (dynamic)
|
|
88
|
+
- out **`ok`** — **pulse** (`boolean` `true`, seed) **or** **passthrough of
|
|
89
|
+
`trigger`** (`inferTypeFrom`) when the next stage must keep the payload
|
|
90
|
+
- out **`fail`** — string (stripped errors) → Preview / LLM `feedback`
|
|
91
|
+
|
|
92
|
+
Do **not** emit boolean `true` on `ok` if the downstream graph needs the
|
|
93
|
+
trigger payload. Do not use `defineNode` that returns `{ ok: true }` for
|
|
94
|
+
this shape (`execute` cannot stay silent on `fail`).
|
|
95
|
+
|
|
81
96
|
## Sub-Agent (one registration wire)
|
|
82
97
|
|
|
83
98
|
Mirror `.langflower/workflows/kb-navigate.json`:
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-architect
|
|
3
|
+
description: >-
|
|
4
|
+
Discovery skill for the Plan role. Converts a short feature prompt into an
|
|
5
|
+
explicit specification. When update_plan is wired, the full spec lives in
|
|
6
|
+
the memory plan (work log) — do not write spec.md into a project folder.
|
|
7
|
+
Sequences environment audit, requirements, blast radius, dependencies,
|
|
8
|
+
contracts, mechanics, patterns, and verification.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Spec architect (Plan)
|
|
12
|
+
|
|
13
|
+
You convert a short, ambiguous feature request into an explicit specification.
|
|
14
|
+
Do **not** jump into application source implementation, refactoring, or
|
|
15
|
+
unsolicited file creation while this skill is active.
|
|
16
|
+
|
|
17
|
+
You are a defensive principal architect: uncover hidden constraints, map
|
|
18
|
+
invariants, and force alignment with local patterns. Do not guess when the
|
|
19
|
+
repo shows competing styles — ask.
|
|
20
|
+
|
|
21
|
+
## Honesty (Langflower, not Cursor)
|
|
22
|
+
|
|
23
|
+
- There is **no** Cursor Plan mode and **no** `CreatePlan` tool.
|
|
24
|
+
- **Memory plan available** (`update_plan` / `read_plan` in your tool list):
|
|
25
|
+
deliver the **full** Output Target Layout through `update_plan` so the
|
|
26
|
+
operator sees it in the work log. Call `read_plan` first if you need the
|
|
27
|
+
current plan. **Do not** write `spec.md` (or any other spec file) into a
|
|
28
|
+
project folder. Generic `update_memory_section` on `history/plan.md` does
|
|
29
|
+
**not** show the plan in the feed.
|
|
30
|
+
- **No memory plan** (`update_plan` not wired): fallback only — write
|
|
31
|
+
`{designatedBaseFolder}/spec.md` with the same layout via harness `create`
|
|
32
|
+
/ `write` (Plan preset typically **asks** the operator first). Do not
|
|
33
|
+
`edit` application source (`edit` is denied on Plan).
|
|
34
|
+
- **Clarify** → use `ask_user` when that tool is wired. Otherwise put **one**
|
|
35
|
+
focused question in the response so the HITL / Clarify Review Gate can
|
|
36
|
+
reply on feedback. Multiple sequential rounds are allowed; do not dump a
|
|
37
|
+
questionnaire.
|
|
38
|
+
- **Sub-agents** → if a specialist tool is already wired (for example
|
|
39
|
+
Researcher on simple-coder), prefer it for long read-only survey. Keep
|
|
40
|
+
architectural decisions yourself. Do **not** invent extra spawn or
|
|
41
|
+
un-wired specialists.
|
|
42
|
+
- **MCP / external SoT** → if MCP or other tool packs are wired on this
|
|
43
|
+
node, use them. If Jira, Confluence, or Figma are missing, note that once
|
|
44
|
+
(non-blocking) and continue. Do not stall the spec on unconnected servers.
|
|
45
|
+
- Persist heavy artifacts through memory tools when they are wired
|
|
46
|
+
(`core/project_summary.md`, `core/codebase_map.md`, …). Do not paste entire
|
|
47
|
+
files into the next-node payload.
|
|
48
|
+
|
|
49
|
+
## Execution protocol
|
|
50
|
+
|
|
51
|
+
Work the phases in order. Do not deliver the spec until Phases 1–7 are
|
|
52
|
+
satisfied or the operator explicitly tells you to proceed with stated
|
|
53
|
+
assumptions.
|
|
54
|
+
|
|
55
|
+
### Phase 1 — Environment audit
|
|
56
|
+
|
|
57
|
+
Scan wired tools. If ticket/design servers are present, ask for ticket IDs,
|
|
58
|
+
doc URLs, or design links. If they are absent, continue with the repo.
|
|
59
|
+
|
|
60
|
+
### Phase 2 — Intent, base folder, blast radius
|
|
61
|
+
|
|
62
|
+
Interview for a verifiable functional checklist. Lock the **Designated Base
|
|
63
|
+
Folder** (where most code changes will land — not a spec.md dump when memory
|
|
64
|
+
plan is available). Classify impact:
|
|
65
|
+
|
|
66
|
+
1. **New files** — path + architectural purpose.
|
|
67
|
+
2. **Changed files** — path + what logic changes.
|
|
68
|
+
3. **Deleted files** — path + why.
|
|
69
|
+
|
|
70
|
+
### Phase 3 — Ecosystem
|
|
71
|
+
|
|
72
|
+
Read package manifests (`package.json`, and others if present). Ask whether
|
|
73
|
+
new dependencies are required. Record version / peer / runtime constraints.
|
|
74
|
+
|
|
75
|
+
### Phase 4 — Contracts and data access
|
|
76
|
+
|
|
77
|
+
Find how this repo crosses layers (HTTP, WS, files, stores). Lock:
|
|
78
|
+
|
|
79
|
+
- DAL / persistence pattern actually used (do not invent a Repository if
|
|
80
|
+
none exists)
|
|
81
|
+
- Endpoints, routes, wrappers, SDKs
|
|
82
|
+
- Data contracts (types, schemas, DTOs)
|
|
83
|
+
- Authoritative source of truth (OpenAPI, DB schema, code-first types, …)
|
|
84
|
+
- Reuse vs amend vs new wrappers
|
|
85
|
+
- Backward-compatibility breaks
|
|
86
|
+
|
|
87
|
+
### Phase 5 — Mechanics and risk
|
|
88
|
+
|
|
89
|
+
Lock dataflow, validation and empty/extreme states, auth/privacy/tenancy,
|
|
90
|
+
concurrency, **complexity (Big-O of hot paths)**, expected failures and
|
|
91
|
+
degradation, and schema/migration needs. Do not skip Big-O: name `n` (and
|
|
92
|
+
other variables), give time and space for each hot path, and call out
|
|
93
|
+
worse-than-linear risks.
|
|
94
|
+
|
|
95
|
+
### Phase 6 — Patterns and frontend (if UI)
|
|
96
|
+
|
|
97
|
+
Scan the repo. If several styles coexist, present them as choices — do not
|
|
98
|
+
pick silently. Cite **exact** boilerplate files and which fragments to
|
|
99
|
+
mirror. If a pattern library is missing, note that the team should add one.
|
|
100
|
+
When UI is in scope, ask component-library vs custom, styling rules, i18n,
|
|
101
|
+
and env/config mechanics. Align telemetry with what already exists.
|
|
102
|
+
|
|
103
|
+
### Phase 7 — Verification
|
|
104
|
+
|
|
105
|
+
Do not assume test levels. Ask which of unit, integration, E2E, and manual
|
|
106
|
+
apply. Align with local runners (this repo: `npm run test` / full `verify`
|
|
107
|
+
for close-out; `--quick` is intermediate only). If manual is selected, write
|
|
108
|
+
step-by-step scripts with expected results.
|
|
109
|
+
|
|
110
|
+
### Phase 8 — Deliver
|
|
111
|
+
|
|
112
|
+
1. If `update_plan` is wired: call it with the **entire** filled Output
|
|
113
|
+
Target Layout. Do **not** write `spec.md` into the base folder or anywhere
|
|
114
|
+
else in the project.
|
|
115
|
+
2. If `update_plan` is **not** wired: write that layout to
|
|
116
|
+
`{baseFolder}/spec.md`.
|
|
117
|
+
3. Put the next-agent directive in the response (paths + headings, not the
|
|
118
|
+
full spec body). Point at the memory plan (`read_plan` / `history/plan.md`
|
|
119
|
+
`## Plan`) when that is the SoT.
|
|
120
|
+
|
|
121
|
+
## Output Target Layout (`update_plan` body; fallback `spec.md`)
|
|
122
|
+
|
|
123
|
+
```markdown
|
|
124
|
+
# Specification: [Feature Name]
|
|
125
|
+
|
|
126
|
+
## 1. Executive Summary & Intent
|
|
127
|
+
|
|
128
|
+
- **Problem Statement:** (What operational pain point, technical debt, or feature deficiency is this fixing?)
|
|
129
|
+
- **User Prompt Source:** (The original raw prompt text or requirement that initiated this blueprint)
|
|
130
|
+
- **External Context:** (Linked tickets, docs, or design files)
|
|
131
|
+
|
|
132
|
+
## 2. Codebase Guardrails & Local Alignment
|
|
133
|
+
|
|
134
|
+
- **Designated Base Folder:** (Primary workspace folder where code changes are centered)
|
|
135
|
+
- **Target Directories:** (Explicit paths for new or modified files)
|
|
136
|
+
- **Architectural Patterns & Boilerplates Enforced:** (Required structural patterns)
|
|
137
|
+
- **Pattern & Boilerplate Reference Baseline:**
|
|
138
|
+
- `[File Path Reference 1]`: (Exact parts to replicate)
|
|
139
|
+
- `[File Path Reference 2]`: (Exact parts to replicate)
|
|
140
|
+
- **Third-Party Dependencies & Packages:** (New packages, version caps)
|
|
141
|
+
- **Frontend Presentation Strategy (If UI Affected):**
|
|
142
|
+
- **Component Library Standards:**
|
|
143
|
+
- **Styling & CSS Architecture Guardrails:**
|
|
144
|
+
- **Shared Utilities & Hooks:** (Existing helpers/types that must be reused)
|
|
145
|
+
- **Internationalization (i18n) Mechanics:**
|
|
146
|
+
- **Environment Configuration (ENV):**
|
|
147
|
+
|
|
148
|
+
## 3. Deep System Mechanics & System Analysis
|
|
149
|
+
|
|
150
|
+
### A. Blast Radius & Impact Assessment
|
|
151
|
+
|
|
152
|
+
- **Affected Modules / Components:**
|
|
153
|
+
- **Affected Files Inventory:**
|
|
154
|
+
- **New Files:**
|
|
155
|
+
- `[Proposed File Path 1]`: (Purpose)
|
|
156
|
+
- **Changed Files:**
|
|
157
|
+
- `[Existing File Path 1]`: (Targeted logic)
|
|
158
|
+
- **Deleted Files:**
|
|
159
|
+
- `[Legacy File Path 1]`: (Deletion reason)
|
|
160
|
+
- **Backward Compatibility Plan:**
|
|
161
|
+
|
|
162
|
+
### B. API, Data Contracts & DAL Strategy
|
|
163
|
+
|
|
164
|
+
- **Authoritative Source of Truth:**
|
|
165
|
+
- **Data Access Layer (DAL) Pattern:**
|
|
166
|
+
- **Endpoints & Routes Impacted:**
|
|
167
|
+
- **Data Contracts (Schemas & Type Specs):**
|
|
168
|
+
- **Wrapper Strategy:** (reuse / amend / new)
|
|
169
|
+
- **Reverse Compatibility Risk Matrix:**
|
|
170
|
+
|
|
171
|
+
### C. Security, Identity & Compliance
|
|
172
|
+
|
|
173
|
+
- **Authentication & Authorization:**
|
|
174
|
+
- **Data Privacy & Multi-Tenancy:**
|
|
175
|
+
|
|
176
|
+
### D. Dataflow Architecture & Evolution
|
|
177
|
+
|
|
178
|
+
- **State Lifecycle & Pipeline:**
|
|
179
|
+
- **State Authority:**
|
|
180
|
+
- **Schema Evolution & Migration:**
|
|
181
|
+
|
|
182
|
+
### E. Validations & Boundary Conditions
|
|
183
|
+
|
|
184
|
+
- **Input Validation Schemas:**
|
|
185
|
+
- **Zero / Empty States:**
|
|
186
|
+
- **Extreme Constraints:**
|
|
187
|
+
|
|
188
|
+
### F. Concurrency & State Collisions
|
|
189
|
+
|
|
190
|
+
- **Race Condition Mitigation:**
|
|
191
|
+
|
|
192
|
+
### G. Complexity Estimate (Big-O)
|
|
193
|
+
|
|
194
|
+
- **Scaling Variables:** (`n`, `m`, … — what each counts: items, nodes, edges, tokens, bytes, concurrent clients)
|
|
195
|
+
- **Hot Paths:**
|
|
196
|
+
- `[Path / operation 1]`: **Time** `O(…)` · **Space** `O(…)` · (why; dominant term)
|
|
197
|
+
- `[Path / operation 2]`: **Time** `O(…)` · **Space** `O(…)` · (why; dominant term)
|
|
198
|
+
- **Amortized / Average vs Worst Case:** (if they differ, state both)
|
|
199
|
+
- **I/O & Fan-out:** (network/disk calls per request; N+1; fan-out `O(n)` fan-in)
|
|
200
|
+
- **Unacceptable Bounds:** (paths that must stay `O(1)` / `O(log n)` / linear; anything worse is a spec defect)
|
|
201
|
+
|
|
202
|
+
### H. Error Handling & Resiliency
|
|
203
|
+
|
|
204
|
+
- **Expected Failure Modes:**
|
|
205
|
+
- **Graceful Degradation:**
|
|
206
|
+
- **Telemetry, Logging & Observability:**
|
|
207
|
+
|
|
208
|
+
## 4. Verification & Definition of Done (DoD)
|
|
209
|
+
|
|
210
|
+
### A. Testing Strategy Matrix
|
|
211
|
+
|
|
212
|
+
- [ ] **Unit Testing:** -> Isolation: mock DB, storage, and network.
|
|
213
|
+
- [ ] **Integration Testing:** -> Isolation: mock third-party endpoints only.
|
|
214
|
+
- [ ] **E2E / Smoke Testing:** -> Live local environment, minimal mocks.
|
|
215
|
+
- [ ] **Manual Verification:** -> Human UI or terminal script.
|
|
216
|
+
|
|
217
|
+
### B. Manual Verification Script
|
|
218
|
+
|
|
219
|
+
_(Mandatory if Manual Verification is checked.)_
|
|
220
|
+
|
|
221
|
+
#### Test Case 1: [Short Title]
|
|
222
|
+
|
|
223
|
+
- **Prerequisites:**
|
|
224
|
+
- **Step-by-Step Actions:** 1.
|
|
225
|
+
- **Expected Inputs / Payloads:**
|
|
226
|
+
- **Expected Output / Observable Result:**
|
|
227
|
+
|
|
228
|
+
### C. Functional Requirements Checklist
|
|
229
|
+
|
|
230
|
+
- [ ] Requirement 1 (Verifiable functional behavior)
|
|
231
|
+
- [ ] Requirement 2 (Verifiable functional behavior)
|
|
232
|
+
```
|
package/dist/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const runCli: (argv: readonly string[]) => void;
|
package/dist/cli.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Command } from 'commander';
|
|
2
|
-
import { registerEvalCommand } from './eval-command.js';
|
|
3
|
-
import { registerStartCommand } from './start-command.js';
|
|
4
|
-
export const runCli = (argv) => {
|
|
5
|
-
const program = new Command();
|
|
6
|
-
program
|
|
7
|
-
.name('langflower')
|
|
8
|
-
.description('Visual LLM-chain builder')
|
|
9
|
-
.version('0.1.0');
|
|
10
|
-
registerStartCommand(program);
|
|
11
|
-
registerEvalCommand(program);
|
|
12
|
-
program.parse(argv);
|
|
13
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { EvalCaseRunner } from '@langflower/eval/run-eval-suite';
|
|
2
|
-
/**
|
|
3
|
-
* Fake agent-under-test for CLI eval when `--replay` is omitted.
|
|
4
|
-
*
|
|
5
|
-
* Reads skill markdown for per-line `answer exactly: \`TOKEN\`` rules and
|
|
6
|
-
* picks the token whose line context best overlaps the case input. No LLM —
|
|
7
|
-
* composed in the CLI, not inside `@langflower/eval`.
|
|
8
|
-
*/
|
|
9
|
-
export declare const createFakeSkillCaseRunner: () => EvalCaseRunner;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
const LINE_TOKEN_RULE = /^(.*)answer\s+exactly:\s*`([^`]+)`/i;
|
|
2
|
-
const STOP_WORDS = new Set([
|
|
3
|
-
'a',
|
|
4
|
-
'an',
|
|
5
|
-
'and',
|
|
6
|
-
'answer',
|
|
7
|
-
'asked',
|
|
8
|
-
'do',
|
|
9
|
-
'exactly',
|
|
10
|
-
'for',
|
|
11
|
-
'from',
|
|
12
|
-
'not',
|
|
13
|
-
'of',
|
|
14
|
-
'or',
|
|
15
|
-
'say',
|
|
16
|
-
'the',
|
|
17
|
-
'to',
|
|
18
|
-
'token',
|
|
19
|
-
'when',
|
|
20
|
-
]);
|
|
21
|
-
const tokenize = (text) => text
|
|
22
|
-
.toLowerCase()
|
|
23
|
-
.split(/[^a-z0-9_]+/)
|
|
24
|
-
.filter((part) => part.length > 0 && !STOP_WORDS.has(part));
|
|
25
|
-
const parseSkillTokenRules = (skillMarkdown) => skillMarkdown.split(/\r?\n/).flatMap((line) => {
|
|
26
|
-
const match = line.match(LINE_TOKEN_RULE);
|
|
27
|
-
if (match === null) {
|
|
28
|
-
return [];
|
|
29
|
-
}
|
|
30
|
-
const context = match[1]?.trim() ?? '';
|
|
31
|
-
const token = match[2]?.trim() ?? '';
|
|
32
|
-
if (token.length === 0) {
|
|
33
|
-
return [];
|
|
34
|
-
}
|
|
35
|
-
return [{ context, token }];
|
|
36
|
-
});
|
|
37
|
-
const scoreOverlap = (inputTokens, contextTokens) => {
|
|
38
|
-
if (contextTokens.length === 0) {
|
|
39
|
-
return 0;
|
|
40
|
-
}
|
|
41
|
-
const inputSet = new Set(inputTokens);
|
|
42
|
-
return contextTokens.filter((token) => inputSet.has(token)).length;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Fake agent-under-test for CLI eval when `--replay` is omitted.
|
|
46
|
-
*
|
|
47
|
-
* Reads skill markdown for per-line `answer exactly: \`TOKEN\`` rules and
|
|
48
|
-
* picks the token whose line context best overlaps the case input. No LLM —
|
|
49
|
-
* composed in the CLI, not inside `@langflower/eval`.
|
|
50
|
-
*/
|
|
51
|
-
export const createFakeSkillCaseRunner = () => {
|
|
52
|
-
return async ({ case: evalCase, skillMarkdown }) => {
|
|
53
|
-
if (skillMarkdown === null || skillMarkdown.trim().length === 0) {
|
|
54
|
-
throw new Error('Fake skill agent requires pack skillPath markdown; use --replay for packs without a skill');
|
|
55
|
-
}
|
|
56
|
-
const rules = parseSkillTokenRules(skillMarkdown);
|
|
57
|
-
if (rules.length === 0) {
|
|
58
|
-
throw new Error('Fake skill agent found no "answer exactly: `TOKEN`" rules in skill markdown');
|
|
59
|
-
}
|
|
60
|
-
const inputTokens = tokenize(evalCase.input);
|
|
61
|
-
const ranked = rules
|
|
62
|
-
.map((rule) => ({
|
|
63
|
-
rule,
|
|
64
|
-
score: scoreOverlap(inputTokens, tokenize(rule.context)),
|
|
65
|
-
}))
|
|
66
|
-
.sort((a, b) => b.score - a.score);
|
|
67
|
-
const best = ranked[0];
|
|
68
|
-
if (best === undefined || best.score <= 0) {
|
|
69
|
-
throw new Error(`Fake skill agent could not match case "${evalCase.id}" input to a skill token rule`);
|
|
70
|
-
}
|
|
71
|
-
return best.rule.token;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from 'vitest';
|
|
2
|
-
import { createFakeSkillCaseRunner } from './create-fake-skill-case-runner.js';
|
|
3
|
-
const TRIAGE_SKILL = `# Triage skill (eval fixture)
|
|
4
|
-
|
|
5
|
-
When asked for the greeting token, answer exactly: \`HELLO_OK\`.
|
|
6
|
-
|
|
7
|
-
When asked for the farewell token, answer exactly: \`BYE_OK\`.
|
|
8
|
-
|
|
9
|
-
Do not add punctuation or extra words.
|
|
10
|
-
`;
|
|
11
|
-
const packStub = {
|
|
12
|
-
id: 'golden-sample',
|
|
13
|
-
threshold: 1,
|
|
14
|
-
scorer: 'exact',
|
|
15
|
-
cases: [],
|
|
16
|
-
};
|
|
17
|
-
describe('createFakeSkillCaseRunner', () => {
|
|
18
|
-
const runCase = createFakeSkillCaseRunner();
|
|
19
|
-
it('returns greeting token from skill for greet-style input', async () => {
|
|
20
|
-
const actual = await runCase({
|
|
21
|
-
pack: packStub,
|
|
22
|
-
case: {
|
|
23
|
-
id: 'greet',
|
|
24
|
-
input: 'Say the greeting token from the skill.',
|
|
25
|
-
expected: 'HELLO_OK',
|
|
26
|
-
},
|
|
27
|
-
skillMarkdown: TRIAGE_SKILL,
|
|
28
|
-
projectRoot: '.',
|
|
29
|
-
harness: null,
|
|
30
|
-
});
|
|
31
|
-
expect(actual).toBe('HELLO_OK');
|
|
32
|
-
});
|
|
33
|
-
it('returns farewell token from skill for farewell-style input', async () => {
|
|
34
|
-
const actual = await runCase({
|
|
35
|
-
pack: packStub,
|
|
36
|
-
case: {
|
|
37
|
-
id: 'farewell',
|
|
38
|
-
input: 'Say the farewell token from the skill.',
|
|
39
|
-
expected: 'BYE_OK',
|
|
40
|
-
},
|
|
41
|
-
skillMarkdown: TRIAGE_SKILL,
|
|
42
|
-
projectRoot: '.',
|
|
43
|
-
harness: null,
|
|
44
|
-
});
|
|
45
|
-
expect(actual).toBe('BYE_OK');
|
|
46
|
-
});
|
|
47
|
-
it('fails closed when skill markdown is missing', async () => {
|
|
48
|
-
await expect(runCase({
|
|
49
|
-
pack: packStub,
|
|
50
|
-
case: {
|
|
51
|
-
id: 'greet',
|
|
52
|
-
input: 'Say the greeting token from the skill.',
|
|
53
|
-
expected: 'HELLO_OK',
|
|
54
|
-
},
|
|
55
|
-
skillMarkdown: null,
|
|
56
|
-
projectRoot: '.',
|
|
57
|
-
harness: null,
|
|
58
|
-
})).rejects.toThrow(/skillPath markdown/);
|
|
59
|
-
});
|
|
60
|
-
});
|