Repository navigation
Commit 7fb2f93
Merge remote-tracking branch 'origin/main' into deploy/konwledge
Adapt the KnowledgeFS branch to main's refactors:
- Move KnowledgeFS membership hooks from the removed account_service into
WorkspaceRepository/WorkspaceMemberService within the same transaction.
- Route Classic-to-Agent upgrade endpoints through a new
KnowledgeUpgradeApplicationService behind console_account_admission, and
carry creator_ids and knowledge_fs_upgrade through the dataset list service.
- Adopt main's data-source credential repository/gateways in KnowledgeFS
initial-source preview, tasks, and datasource backwards invocation.
- Take main's catalog-driven difyctl v2; the hand-written KnowledgeFS CLI
commands are dropped since the server catalog now drives commands.
- Port dify-ui API renames (AlertDialogFooter, DrawerClose + IconButton),
the lazy workflow panel map, the dataset card inline menu, and the new
date picker into the reorganized knowledge UI.
- Restore main's external knowledge endpoint JSON probe and missing oxlint
suppressions lost in earlier merges; regenerate contracts and OpenAPI docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>2,676 files changed
Lines changed: 113310 additions & 120894 deletions
File tree
- .agents/skills/backend-code-review/references
- .devcontainer
- .github
- actions
- setup-core-e2e
- wait-e2e-web-build
- workflows
- .vscode
- api
- commands
- configs/extra
- controllers
- common
- rbac
- console
- app
- auth
- datasets
- rag_pipeline
- explore
- socketio
- workspace
- inner_api
- agent
- workspace
- mcp
- openapi
- auth
- service_api
- app
- dataset
- rag_pipeline
- workspace
- web
- core
- app
- app_config/easy_ui_based_app/dataset
- apps
- agent_chat
- chat
- completion
- pipeline
- features/annotation_reply
- task_pipeline
- datasource
- llm_generator
- plugin/backwards_invocation
- rag
- datasource
- keyword/jieba
- vdb
- docstore
- entities
- extractor
- entity
- firecrawl
- watercrawl
- index_processor
- processor
- retrieval
- summary_index
- tools
- builtin_tool/providers/audio/tools
- utils/dataset_retriever
- workflow
- generator
- nodes/datasource
- dev
- enums
- events/event_handlers
- extensions
- application_services
- fields
- libs
- broadcast_channel/redis
- machinery
- models
- openapi/markdown
- providers
- trace
- trace-aliyun/tests/unit_tests/aliyun_trace
- data_exporter
- trace-arize-phoenix/tests/unit_tests/arize_phoenix_trace
- trace-langfuse/tests/unit_tests/langfuse_trace
- trace-langsmith/tests/unit_tests/langsmith_trace
- trace-opik/tests/unit_tests/opik_trace
- trace-tencent/tests/unit_tests/tencent_trace
- vdb
- vdb-alibabacloud-mysql
- src/dify_vdb_alibabacloud_mysql
- tests/unit_tests
- vdb-analyticdb
- src/dify_vdb_analyticdb
- tests/unit_tests
- vdb-baidu
- src/dify_vdb_baidu
- tests/unit_tests
- vdb-chroma
- src/dify_vdb_chroma
- tests/unit_tests
- vdb-clickzetta
- src/dify_vdb_clickzetta
- tests
- unit_tests
- vdb-couchbase
- src/dify_vdb_couchbase
- tests/unit_tests
- vdb-elasticsearch
- src/dify_vdb_elasticsearch
- tests/unit_tests
- vdb-hologres
- src/dify_vdb_hologres
- tests/unit_tests
- vdb-huawei-cloud
- src/dify_vdb_huawei_cloud
- tests/unit_tests
- vdb-iris
- src/dify_vdb_iris
- tests/unit_tests
- vdb-lindorm
- src/dify_vdb_lindorm
- tests/unit_tests
- vdb-matrixone
- src/dify_vdb_matrixone
- tests/unit_tests
- vdb-milvus
- src/dify_vdb_milvus
- tests/unit_tests
- vdb-myscale
- src/dify_vdb_myscale
- tests/unit_tests
- vdb-oceanbase
- src/dify_vdb_oceanbase
- tests/unit_tests
- vdb-opengauss
- src/dify_vdb_opengauss
- tests/unit_tests
- vdb-opensearch
- src/dify_vdb_opensearch
- tests/unit_tests
- vdb-oracle
- src/dify_vdb_oracle
- tests/unit_tests
- vdb-pgvecto-rs
- src/dify_vdb_pgvecto_rs
- tests/unit_tests
- vdb-pgvector
- src/dify_vdb_pgvector
- tests/unit_tests
- vdb-qdrant
- src/dify_vdb_qdrant
- tests/unit_tests
- vdb-relyt
- src/dify_vdb_relyt
- tests/unit_tests
- vdb-tablestore
- src/dify_vdb_tablestore
- tests/unit_tests
- vdb-tencent
- src/dify_vdb_tencent
- tests/unit_tests
- vdb-tidb-on-qdrant/src/dify_vdb_tidb_on_qdrant
- vdb-tidb-vector
- src/dify_vdb_tidb_vector
- tests/unit_tests
- vdb-upstash
- src/dify_vdb_upstash
- tests/unit_tests
- vdb-vastbase
- src/dify_vdb_vastbase
- tests/unit_tests
- vdb-vikingdb
- src/dify_vdb_vikingdb
- tests/unit_tests
- vdb-weaviate
- src/dify_vdb_weaviate
- tests/unit_tests
- repositories
- account
- app
- credentials
- data_source
- knowledge
- workspace
- schedule
- services
- account
- agent
- app
- auth
- credentials
- data_source
- auth
- firecrawl
- jina
- watercrawl
- entities
- entities
- errors
- knowledge_fs
- knowledge
- datasets
- documents
- entities
- external
- indexing
- adapters
- metadata
- retrieval
- segments
- summaries
- model_provider
- rag_pipeline
- pipeline_template/customized
- tools
- trigger
- workspace
- tasks
- annotation
- rag_pipeline
- tests
- integration_tests
- controllers/console/app
- test_containers_integration_tests
- controllers
- console
- app
- auth
- datasets
- workspace
- openapi
- web
- core
- rag/retrieval
- workflow
- helpers
- libs/broadcast_channel/redis
- models
- repositories
- services
- account
- auth
- tools
- workflow
- workspace
- tasks
- unit_tests
- clients/agent_backend
- commands
- controllers
- common
- console
- agent
- app
- auth
- datasets
- rag_pipeline
- explore
- workspace
- inner_api
- app
- workspace
- openapi
- auth
- service_api
- app
- dataset
- rag_pipeline
- web
- core
- agent
- app
- app_config/easy_ui_based_app
- apps
- advanced_chat
- agent_chat
- chat
- common
- completion
- pipeline
- workflow
- layers
- task_pipeline
- workflow
- base
- datasource
- __base
- local_file
- online_document
- online_drive
- utils
- website_crawl
- external_data_tool
- api
- helper
- llm_generator
- output_parser
- logging
- mcp
- auth
- client
- server
- session
- moderation
- ops
- unified_trace
- plugin
- utils
- prompt
- rag
- datasource
- keyword/jieba
- vdb
- docstore
- extractor
- firecrawl
- watercrawl
- indexing
- processor
- rerank
- retrieval
- repositories
- schemas
- telemetry
- tools
- utils
- workflow_as_tool
- workflow
- generator
- graph_engine
- nodes
- agent_v2
- agent
- datasource
- human_input
- knowledge_index
- knowledge_retrieval
- list_operator
- llm
- parameter_extractor
- template_transform
- tool
- webhook
- events/event_handlers
- extensions
- fields
- libs
- broadcast_channel/redis
- models
- oss
- __mock
- tencent_cos
- repositories
- account
- credentials
- data_source
- knowledge
- workspace
- schedule
- services
- account
- agent
- app
- auth
- data_source
- dataset_service
- knowledge
- rag_pipeline
- retention/workflow_run
- tools
- workflow
- workspace
- tasks
- tools
- cli
- bin
- scripts
- lib
- src
- api
- auth
- cache
- call
- render
- commands
- auth
- devices
- list
- revoke
- list
- login
- logout
- whoami
- config
- get
- path
- set
- unset
- view
- create/member
- delete
- cache
- member
- describe/app
- env/list
- export/studio-app
- get
- app
- config
- member
- skills
- workspace
- import/studio-app
- install/skills
- knowledge/fs
- cat
- diff
- find
- grep
- ls
- stat
- tree
- login
- logout
- refresh/cache
- resume/app
- run/app
- _strategies
- set
- config
- member
- skills/install
- unset/config
- use
- account
- host
- workspace
- version
- workspace/_list
- config
- discovery
- env
- errors
- framework
- help
- http
- kernel
- limit
- net
- plugins
- argv
- catalog
- commands
- config
- env
- global-flags
- http
- io
- ops
- output
- session
- token
- protocol
- skills
- store
- sys
- io
- types
- util
- version
- workspace
- test
- e2e
- helpers
- setup
- suites
- agent
- auth
- discovery
- dsl
- error-handling
- framework
- output
- run
- fixtures
- dify-mock
- scripts
- dev
- dify-agent
- docker
- certbot
- envs/core-services
- docs
- ar-SA
- bn-BD
- de-DE
- es-ES
- fr-FR
- hi-IN
- id-ID
- it-IT
- ja-JP
- ko-KR
- pt-BR
- sl-SI
- tlh
- tr-TR
- vi-VN
- zh-CN
- zh-TW
- e2e
- features/step-definitions/agent-v2
- scripts
- support
- tests
- packages
- contracts/generated/api
- console
- agent
- apps
- data-source
- datasets
- explore
- installed-apps
- notion
- trial-apps
- workspaces
- service
- web
- dify-ui
- docs
- src
- alert-dialog
- __tests__
- autocomplete
- __tests__
- avatar
- __tests__
- button/__tests__
- collapsible
- combobox
- __tests__
- date-time
- __tests__
- date-picker
- __tests__
- date-time-picker
- __tests__
- internal
- time-picker
- __tests__
- dialog
- __tests__
- direction-provider
- drawer
- __tests__
- fieldset/__tests__
- field
- __tests__
- form/__tests__
- infotip
- __tests__
- input-group/__tests__
- kbd
- __tests__
- number-field/__tests__
- pagination/__tests__
- popover
- __tests__
- preview-card
- __tests__
- radio-group/__tests__
- scroll-area/__tests__
- segmented-control
- __tests__
- select
- __tests__
- slider
- __tests__
- status-dot/__tests__
- switch
- __tests__
- tabs/__tests__
- textarea
- toast
- __tests__
- tooltip
- __tests__
- nuqs-jotai
- scripts
- ast_grep_rules
- stress-test
- sdks
- nodejs-client/src/http
- php-client
- skills
- difyctl
- web
- app
- (commonLayout)/app/(appDetailLayout)/[appId]
- __tests__
- access-config
- annotations
- logs
- overview
- __tests__
- time-range-picker
- tracing
- __tests__
- account
- (commonLayout)
- account-page
- __tests__
- delete-account/components
- __tests__
- oauth/authorize
- __tests__
- components
- access-rules-editor
- __tests__
- api-key
- app-sidebar
- __tests__
- app-info
- __tests__
- dataset-info
- __tests__
- snippet-info
- apps
- app-card
- app
- __tests__
- access-config
- __tests__
- access-point
- __tests__
- built-in-access-points
- deployed-environment-access-points
- annotation
- add-annotation-modal
- clear-all-annotations-confirm-modal
- edit-annotation-modal
- remove-annotation-confirm-modal
- view-annotation-modal
- app-publisher
- __tests__
- built-in-publisher
- environment-tabs
- publisher-content
- configuration
- __tests__
- config-var
- configuration-view
- config
- __tests__
- agent
- agent-setting
- __tests__
- agent-tools
- automatic
- code-generator
- debug
- hooks
- create-app-dialog
- app-card
- __tests__
- app-list
- __tests__
- create-from-dsl-modal
- deploy
- __tests__
- environment-table
- undeploy-confirm-dialog
- log-annotation
- __tests__
- log
- monitoring
- __tests__
- overview
- customize
- embedded
- __tests__
- settings
- __tests__
- switch-app-modal
- __tests__
- type-selector
- workflow-log
- __tests__
- base
- __tests__
- agent-log-modal
- __tests__
- badge
- chat
- chat-with-history
- header
- sidebar
- chat
- answer
- chat-input-area
- __tests__
- embedded-chatbot
- __tests__
- date-and-time-picker
- __tests__
- calendar
- __tests__
- common
- __tests__
- date-picker
- __tests__
- date-range-picker
- time-picker
- __tests__
- utils
- __tests__
- year-and-month-picker
- __tests__
- date-time-picker
- __tests__
- features/new-feature-panel
- __tests__
- annotation-reply
- __tests__
- score-slider
- __tests__
- float-right-container
- form/components/base
- inline-delete-confirm
- __tests__
- markdown-blocks
- __tests__
- markdown
- __tests__
- message-log-modal
- __tests__
- notion-page-selector
- __tests__
- qrcode
- __tests__
- sort
- timezone-label
- __tests__
- billing/pricing
- __tests__
- plans
- cloud-plan-item
- list/item
- self-hosted-plan-item
- list
- datasets
- common/document-picker
- create-from-pipeline
- create-options/create-from-dsl-modal
- list/template-card
- __tests__
- details
- __tests__
- create
- file-uploader
- __tests__
- hooks
- __tests__
- step-two/components
- documents
- components
- detail/completed
- common
- segment-card
- external-api
- external-api-modal
- external-knowledge-api-card
- extra-info
- api-access
- list/dataset-card
- components
- metadata
- base
- __tests__
- edit-metadata-batch
- metadata-dataset
- metadata-document/__tests__
- settings/permission-selector
- detail-sidebar
- explore
- __tests__
- create-app-modal
- __tests__
- item-operation
- try-app
- __tests__
- app-info
- __tests__
- app
- __tests__
- preview
- __tests__
- goto-anything
- __tests__
- actions
- __tests__
- commands
- __tests__
- components
- __tests__
- header
- account-dropdown
- __tests__
- account-setting
- __tests__
- access-rules-page
- api-based-extension-page
- __tests__
- data-source-page-new
- members-page
- member-details-modal
- transfer-ownership-modal
- model-provider-page
- __tests__
- model-auth
- authorized
- model-modal
- model-selector
- provider-added-card
- model-auth-dropdown
- permissions-page/role-list
- integrations
- plugins
- install-plugin
- base
- install-bundle/steps
- marketplace
- creator-profile
- sort-dropdown
- __tests__
- plugin-auth
- authorized
- authorize
- plugin-detail-panel
- app-selector
- detail-header/components
- multiple-tool-selector
- subscription-list
- tool-selector/components
- __tests__
- plugin-item
- plugin-page
- __tests__
- plugin-tasks
- __tests__
- components
- readme-panel
- reference-setting-modal/auto-update-setting
- __tests__
- update-plugin
- __tests__
- rag-pipeline/components
- rag-pipeline-header/publisher
- snippet-list/components
- snippets
- components
- __tests__
- step-by-step-tour
- tools
- edit-custom-collection-modal
- mcp
- detail
- parameters
- __tests__
- provider
- setting/build-in
- workflow-tool
- workflow-app
- components
- __tests__
- workflow-header
- hooks
- __tests__
- workflow
- __tests__
- block-selector
- __tests__
- tool
- comment
- __tests__
- header
- __tests__
- hooks
- __tests__
- nodes
- __tests__
- _base/components
- __tests__
- collapse
- error-handle
- prompt
- workflow-panel
- __tests__
- agent-v2/components
- agent-output-variables
- assigner/components
- __tests__
- http
- __tests__
- components/authorization
- __tests__
- if-else/__tests__
- knowledge-retrieval
- __tests__
- components/metadata
- condition-list
- __tests__
- metadata-filter
- parameter-extractor
- __tests__
- components/extract-parameter
- __tests__
- tool/components
- tool-form
- __tests__
- trigger-plugin/components/trigger-form
- trigger-schedule
- __tests__
- components
- __tests__
- utils
- operator
- panel
- __tests__
- version-history-panel
- __tests__
- run
- __tests__
- shortcuts/__tests__
- store/workflow
- workflow-generator
- education
- oauth-callback
- __tests__
- signin
- __tests__
- components
- __tests__
- context
- __tests__
- features
- agent-v2
- agent-composer
- agent-detail
- access-config/__tests__
- access/components
- __tests__
- configure
- components
- __tests__
- orchestrate
- advanced
- common
- files
- __tests__
- knowledge
- model-config
- prompt-editor
- publish-bar
- skills
- __tests__
- tools
- __tests__
- provider-tool
- preview
- __tests__
- versions-panel
- version-restore
- logs
- __tests__
- components
- monitoring
- __tests__
- roster
- components
- template-preview
- home
- __tests__
- home-content
- __tests__
- new-rag
- documents
- bulk
- detail/tasks
- metadata
- tasks
- list
- overview
- quality
- settings
- sources
- upgrade
- skills
- detail
- tag-management/components
- hooks
- __tests__
- i18n
- locales
- ar-TN
- az-AZ
- de-DE
- en-US
- es-ES
- fa-IR
- fr-FR
- hi-IN
- id-ID
- it-IT
- ja-JP
- ko-KR
- lo-LA
- nl-NL
- pl-PL
- pt-BR
- ro-RO
- ru-RU
- sl-SI
- th-TH
- tr-TR
- uk-UA
- vi-VN
- zh-Hans
- zh-Hant
- models
- service
- access-control
- __tests__
- test
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 7 | + | |
33 | 8 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 9 | + | |
43 | 10 | | |
| 11 | + | |
44 | 12 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 13 | + | |
53 | 14 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 22 | | |
37 | 23 | | |
38 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | | - | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
65 | | - | |
66 | | - | |
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
0 commit comments