dify/web/app/components/workflow
aqiu c4eee28fd8 refactor(vibe): modularize config and enhance workflow generation
- Extract vibe configuration into dedicated module (api/core/llm_generator/vibe_config/)
  - node_schemas.py: Built-in node parameter definitions
  - fallback_rules.py: Keyword-based fallback rules and aliases
  - responses.py: Off-topic response templates
  - node_definitions.json: Shared schema for frontend/backend sync

- Enhance workflow generation with intent classification
  - Add off-topic detection with helpful suggestions
  - Support regeneration mode with previous workflow context
  - Add tool validation and sanitization
  - Support language preference for generated content

- Extract frontend config to use-workflow-vibe-config.ts
  - NODE_TYPE_ALIASES: Node type inference mapping
  - FIELD_NAME_CORRECTIONS: LLM output field corrections
  - correctFieldName(): Unified field correction helper

- Fix defensive null checks in variable utils and key-value list
- Change verbose debug logs from info to debug level
2025-12-29 11:04:41 +08:00
..
__tests__ chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
block-selector chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
constants chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
datasets-detail-store chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
header fix: fix custom tool content is not update (#30250) 2025-12-28 17:50:30 +08:00
help-line chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
hooks refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
hooks-store chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
nodes refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
note-node chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
operator chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
panel refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
plugin-dependency chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
run chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
simple-node chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
store refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
utils chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
variable-inspect chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
workflow-preview chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
block-icon.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
candidate-node-main.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
candidate-node.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
constants.ts feat: update Vibe panel to use new event handling and versioning for flowcharts 2025-12-29 10:42:22 +08:00
context.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-connection-line.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-edge-linear-gradient-render.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-edge.tsx chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
dsl-export-confirm-modal.tsx chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
features.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.tsx feat: v1 2025-12-29 10:42:21 +08:00
node-contextmenu.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
panel-contextmenu.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
selection-contextmenu.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
shortcuts-name.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
style.css fix: ReactFlow background in dark theme (#20013) 2025-05-21 10:32:07 +08:00
syncing-data-modal.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
types.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
update-dsl-modal.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-history-store.tsx chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00