Commit Graph
305 Commits
Author SHA1 Message Date
twwu a53e5bc4bf fix(builder): honor the feature flag across editor and APIs 2026-11-09 11:50:43 +08:00
twwu 661a8d5fdd Merge branch 'main' into feat/dify-builder 2026-11-09 10:15:19 +08:00
yetugeandyetuge b021e559c9 test(api): annotate console app message tests for strict pyrefly (#45727)
Co-authored-by: yetuge <yetuge@users.noreply.github.com>
2026-11-06 10:59:31 +00:00
twwu 72919b6a55 Merge main into feat/dify-builder 2026-11-06 16:14:53 +08:00
周龙杰 da24f6d133 test(api): verify workflow publish transactions with SQLite (#45142) 2026-11-06 04:02:44 +00:00
twwu d9bd071d1d Merge branch 'main' into feat/dify-builder
# Conflicts:
#	AGENTS.md
#	api/controllers/console/socketio/workflow.py
#	api/services/workflow_runtime/entry.py
#	api/tasks/app_generate/workflow_execute_task.py
#	api/tests/unit_tests/services/test_app_service.py
#	web/app/components/apps/app-list-catalog.tsx
#	web/app/components/apps/list.tsx
#	web/app/components/workflow-app/components/__tests__/workflow-main.spec.tsx
#	web/app/components/workflow-app/components/workflow-main.tsx
#	web/app/components/workflow-app/draft/use-draft-save.ts
#	web/app/components/workflow/collaboration/core/collaboration-manager.ts
#	web/app/components/workflow/collaboration/hooks/use-collaboration.ts
#	web/app/components/workflow/nodes/human-input-v2/__tests__/recipients.spec.tsx
#	web/app/components/workflow/operator/zoom-in-out.tsx
2026-11-05 17:17:16 +08:00
Felix Shiandshi-felix bd1ed239e9 test(api): annotate five controller test modules for strict pyrefly (#45458)
Co-authored-by: shi-felix <204130665+shi-felix@users.noreply.github.com>
2026-11-04 15:56:14 +00:00
Yufeng HeandByron Wang cf7ac6120f fix: skip empty tool entries in agent_chat config validation (#37775)
Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
Co-authored-by: Byron Wang <byron@dify.ai>
2026-11-04 10:39:42 +00:00
twwu 353ef4f832 fix(workflow): simplify page-close draft saving
Remove the save-receipt schema, predecessor tracking, and collaboration protocol extensions from 488a8d9307. Dispatch keepalive saves immediately while later draft operations wait for completion, retaining existing hash checks and stale-response protection.

Concurrent-save reconciliation remains deferred. Validated with 110 frontend tests, 141 backend tests, Web type checking, and the full repository static check.
2026-11-03 16:40:08 +08:00
twwu 488a8d9307 fix(workflow): preserve final draft saves across editor teardown
Dispatch keepalive snapshots before teardown and persist save receipts in
the draft transaction. Validate base receipts and named predecessors to
reject stale saves even when the graph returns to its original hash.

Retain unacknowledged saves and variable patches for recovery, propagate
receipts through refresh, import, and collaboration, and support UUID
generation on HTTP deployments. Include the migration and API contracts.
2026-11-03 16:16:39 +08:00
twwu 44636d383d Merge main into feat/dify-builder 2026-11-03 13:33:30 +08:00
Felix ShiandFelix Shi a8631e5bfe test(api): strictly type four controller unit tests (#45332)
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com>
2026-11-02 18:42:30 +00:00
-LAN- 43d8c3715a refactor(tracing): one trace pipeline behind a minimal provider interface (#44673) 2026-11-02 12:16:49 +08:00
64a99c5556 chore: bump restx. now deco has type (#37391)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
2026-11-02 03:24:33 +00:00
非法操作 e3ef66b8b9 refactor(api): detach console statistics admission (#44411) 2026-10-30 16:40:23 +00:00
yyhandhjlarry d945bea129 refactor(api): read billing subscription and usage through the generated client (#45131)
Co-authored-by: hjlarry <hjlarry@163.com>
2026-10-30 09:40:06 +00:00
8cbb6c0130 feat: HITL IM integration (#44864)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-30 02:43:31 +00:00
非法操作 ad6ed864a1 refactor(api): share console conversation queries and deletion (#44043) 2026-10-30 02:35:00 +00:00
Felix ShiandFelix Shi e8cf8f8d4d test(api): annotate six test modules so strict pyrefly can check them (#45101)
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com>
2026-10-30 02:25:21 +00:00
9e978defde feat(agent): support batch config file uploads (SNP-997) (#44947)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-10-29 04:42:35 +00:00
wangxiaolei e8b0bb9b72 fix: fix user create app not display in app list (#44929) 2026-10-28 12:48:18 +00:00
twwu b2d78266dd Merge main into feat/dify-builder and resolve service test conflicts 2026-10-27 17:28:54 +08:00
-LAN- 2fc0a67125 feat(api): bundle called workflow tools in app packages (#44592) 2026-10-27 07:53:21 +00:00
Charles Yao 3fd30565da Merge main into Builder and preserve runtime architecture contracts 2026-10-26 21:38:28 -07:00
非法操作andautofix-ci[bot] a0b2e14960 refactor(api): isolate console annotation management (#43807)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-27 04:18:00 +00:00
非法操作 69b58b68aa refactor(api): unify message list and detail queries (#43754) 2026-10-27 02:04:44 +00:00
twwu 7283b845b1 Merge branch 'main' into feat/dify-builder 2026-10-27 09:44:40 +08:00
Asuka MinatoandCodex 8b0a17ce47 refactor(models): migrate workflow models to TypeBase (#40815)
Co-authored-by: Codex <codex@openai.com>
2026-10-26 15:53:48 +00:00
twwu a9ed3a9866 Merge branch 'main' into feat/dify-builder 2026-10-26 18:13:22 +08:00
twwu 35c5afb0c5 Merge branch 'main' into feat/dify-builder 2026-10-26 17:50:58 +08:00
非法操作 51e643fff1 refactor(api): unify message feedback across app entrypoints (#43748) 2026-10-26 09:46:11 +00:00
非法操作 a0c3901d39 refactor(api): unify message suggested questions across API surfaces (#43440) 2026-10-26 08:12:51 +00:00
Charles Yao f1c64311d3 test(api): exercise draft ownership with concrete database fixtures 2026-10-25 04:23:56 -07:00
Charles Yao fc7f58a51a fix(api): use configured sessions for draft save receipts 2026-10-25 04:15:29 -07:00
Charles Yao a0e455a66a test(api): align unit fixtures with durable draft coordination 2026-10-25 04:13:01 -07:00
Charles Yao ed736b822d fix(workflow): persist recoverable draft coordination 2026-10-25 03:24:38 -07:00
Ryuta KOBAYASHIandClaude Opus 5.5 89cdc0c7a9 fix(api): keep web app access mode when importing DSL over an existing app (#44700)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 15:19:29 +00:00
-LAN- bf2f058ab3 test(api): align unit and E2E suites with production structure (#44605) 2026-10-23 08:00:15 +00:00
ee98bdd5b5 refactor(models): migrate app and conversation models to TypeBase (#40814)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-23 07:26:26 +00:00
fd2db63184 feat: KnowledgeFS and New Knowledge (#44165)
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zhaohao1004 <zhaohao1004@gmail.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: FFXN <lizy@dify.ai>
2026-10-23 03:34:59 +00:00
林玮 (Jade Lin) 01b54496b2 fix(api): enforce cloud app quotas on DSL imports (#44525) 2026-10-22 05:31:15 +00:00
非法操作 5fb3658c28 refactor(api): detach console app trigger management (#44457) 2026-10-22 04:49:31 +00:00
zyssyz123andyyh 0a620ddd95 feat(tracing): export Agent app and Workflow Agent execution trees (#44144)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-10-22 02:11:12 +00:00
-LAN-andautofix-ci[bot] 809f5df3a3 feat(workflow): expose authorized nested tool traces (#42821)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-21 02:11:44 +00:00
Charles Yao f5050842fe Fix Builder migration portability and typed backend CI contracts 2026-10-20 17:33:54 -07:00
Stephen Zhou 05c538e695 refactor(web): migrate console API helpers to generated contracts (#44430) 2026-10-20 12:42:37 +00:00
twwu eed3ebdd0f Merge branch 'main' into feat/dify-builder
# Conflicts:
#	api/services/app_generate_service.py
#	api/services/workflow_service.py
#	web/app/components/app/create-app-dialog-shell.tsx
#	web/app/components/app/create-app-dialog/__tests__/index.spec.tsx
#	web/app/components/app/create-app-dialog/app-list/__tests__/sidebar.spec.tsx
#	web/app/components/app/create-app-modal/__tests__/index.spec.tsx
#	web/app/components/app/create-app-modal/index.tsx
#	web/app/components/apps/__tests__/list.spec.tsx
#	web/app/components/header/account-setting/model-provider-page/__tests__/hooks.spec.ts
#	web/app/components/workflow-app/components/__tests__/workflow-main.spec.tsx
#	web/app/components/workflow-app/components/__tests__/workflow-panel.spec.tsx
#	web/app/components/workflow-app/hooks/__tests__/use-DSL.spec.ts
#	web/app/components/workflow-app/hooks/__tests__/use-nodes-sync-draft.spec.ts
#	web/app/components/workflow-app/hooks/__tests__/use-workflow-init.spec.ts
#	web/app/components/workflow-app/hooks/__tests__/use-workflow-refresh-draft.spec.ts
#	web/app/components/workflow-app/hooks/__tests__/use-workflow-run.spec.ts
#	web/app/components/workflow-app/hooks/use-DSL.ts
#	web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts
#	web/app/components/workflow-app/hooks/use-workflow-init.ts
#	web/app/components/workflow-app/hooks/use-workflow-refresh-draft.ts
#	web/app/components/workflow/__tests__/workflow-edge-events.spec.tsx
#	web/app/components/workflow/collaboration/core/__tests__/crdt-provider.test.ts
#	web/app/components/workflow/collaboration/hooks/__tests__/use-collaboration.spec.ts
#	web/app/components/workflow/header/__tests__/header-layouts.spec.tsx
#	web/app/components/workflow/header/__tests__/run-and-history.spec.tsx
#	web/app/components/workflow/header/__tests__/scroll-to-selected-node-button.spec.tsx
#	web/app/components/workflow/header/checklist/__tests__/index.spec.tsx
#	web/app/components/workflow/hooks/__tests__/use-workflow-panel-interactions.spec.tsx
#	web/app/components/workflow/hooks/__tests__/use-workflow-search.spec.tsx
#	web/app/components/workflow/hooks/__tests__/use-workflow-update.spec.tsx
#	web/app/components/workflow/hooks/__tests__/use-workflow.spec.ts
#	web/app/components/workflow/nodes/__tests__/index.spec.tsx
#	web/app/components/workflow/nodes/question-classifier/__tests__/integration.spec.tsx
#	web/app/components/workflow/operator/__tests__/control.spec.tsx
#	web/app/components/workflow/operator/__tests__/zoom-in-out.spec.tsx
#	web/app/components/workflow/panel/__tests__/workflow-preview.spec.tsx
#	web/app/components/workflow/run/__tests__/result-panel.spec.tsx
#	web/app/components/workflow/store/__tests__/workflow-draft-slice.spec.ts
#	web/app/components/workflow/utils/__tests__/node-navigation.spec.ts
#	web/app/components/workflow/utils/node-navigation.ts
#	web/i18n/locales/ar-TN/app.json
#	web/i18n/locales/az-AZ/app.json
#	web/i18n/locales/de-DE/app.json
#	web/i18n/locales/en-US/app.json
#	web/i18n/locales/es-ES/app.json
#	web/i18n/locales/fa-IR/app.json
#	web/i18n/locales/fr-FR/app.json
#	web/i18n/locales/hi-IN/app.json
#	web/i18n/locales/id-ID/app.json
#	web/i18n/locales/it-IT/app.json
#	web/i18n/locales/ja-JP/app.json
#	web/i18n/locales/ko-KR/app.json
#	web/i18n/locales/lo-LA/app.json
#	web/i18n/locales/nl-NL/app.json
#	web/i18n/locales/pl-PL/app.json
#	web/i18n/locales/pt-BR/app.json
#	web/i18n/locales/ro-RO/app.json
#	web/i18n/locales/ru-RU/app.json
#	web/i18n/locales/sl-SI/app.json
#	web/i18n/locales/th-TH/app.json
#	web/i18n/locales/tr-TR/app.json
#	web/i18n/locales/uk-UA/app.json
#	web/i18n/locales/vi-VN/app.json
#	web/i18n/locales/zh-Hans/app.json
#	web/i18n/locales/zh-Hant/app.json
#	web/i18n/resources.generated.d.ts
#	web/service/console/client.spec.ts
2026-10-19 11:39:20 +08:00
96202aa544 ci: enable Ruff F841 (#44115)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 01:47:17 +00:00
Asuka MinatoandCodex d8b37884d8 ci: enable Ruff PT011 (#44122)
Co-authored-by: Codex <codex@openai.com>
2026-10-19 01:14:17 +00:00
twwu 22d109c1dc Merge branch 'main' into feat/dify-builder 2026-10-16 12:14:03 +08:00