dify/web/service
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
..
demo chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
knowledge feat: document batch operation tool add re-index operation (#30275) 2025-12-29 10:03:15 +08:00
_tools_util.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
_tools_util.ts fix: properly escape `collectionName` in query string parameters (#14476) 2025-02-27 18:59:07 +08:00
access-control.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
annotation.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
apps.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
base.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
billing.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
common.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
datasets.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
debug.ts refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
explore.ts refactor(web): migrate explore app lists from useSWR to TanStack Query (#30076) 2025-12-24 17:03:43 +08:00
fetch.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
log.ts refactor(web): migrate log service to TanStack Query (#30065) 2025-12-24 15:25:28 +08:00
plugins.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
refresh-token.ts refactor: replace localStorage with HTTP-only cookies for auth tokens (#24365) 2025-10-19 21:29:04 +08:00
share.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
sso.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
strategy.ts Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
tag.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
tools.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-apps.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-base.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-billing.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-common.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-datasource.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-education.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-endpoints.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-explore.ts fix(web): remove incorrect placeholderData usage in useExploreAppList (#30102) 2025-12-24 18:20:36 +08:00
use-flow.ts chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
use-log.ts refactor(web): migrate log service to TanStack Query (#30065) 2025-12-24 15:25:28 +08:00
use-models.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-oauth.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-pipeline.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-plugins-auth.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-plugins.ts chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
use-share.ts refactor: replace localStorage with HTTP-only cookies for auth tokens (#24365) 2025-10-19 21:29:04 +08:00
use-strategy.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-tools.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-triggers.ts fix(web): disable cache for trigger dynamic select options (#30161) 2025-12-25 16:35:26 +08:00
use-workflow.ts refactor(web): migrate workflow run history from useSWR to TanStack Query (#30077) 2025-12-24 18:21:01 +08:00
utils.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
utils.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
webapp-auth.ts fix(api): add session_id validation for webapp JWT authentication (#28297) 2025-11-21 11:23:52 +08:00
workflow-payload.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow.ts refactor(web): migrate workflow run history from useSWR to TanStack Query (#30077) 2025-12-24 18:21:01 +08:00