Commit Graph
111 Commits
Author SHA1 Message Date
yyh 0d125df285 Merge Cloud pricing refresh into deploy/saas
# Conflicts:
#	api/controllers/console/agent/roster.py
#	api/controllers/console/app/workflow.py
#	api/extensions/ext_application_services.py
#	api/tests/unit_tests/controllers/console/agent/test_api_access.py
#	api/tests/unit_tests/controllers/openapi/test_app_workflow.py
#	oxlint-suppressions.json
#	packages/contracts/generated/api/console/agent/orpc.gen.ts
#	web/app/(auth)/signin/check-code/page.tsx
#	web/app/(auth)/signin/components/mail-and-code-auth.tsx
#	web/app/account/(commonLayout)/account-page/change-password-dialog.tsx
#	web/app/account/(commonLayout)/account-page/email-change-modal.tsx
#	web/app/components/billing/pricing/__tests__/content.browser.spec.tsx
#	web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx
2026-11-26 11:51:10 +08:00
yyh 178c7f8176 fix: guard model configuration with the configure-models permission (#47210) 2026-11-26 02:10:43 +00:00
FFXN bc6f619fb2 feat(evaluation): add a deployment feature flag (#47188) 2026-11-25 09:28:37 +00:00
林玮 (Jade Lin) 6974b9d000 chore: sync upstream into deploy/saas 2026-11-24 14:10:31 +08:00
e93e040d7e feat(openapi): add dataset and document endpoints (#46876)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-24 05:19:55 +00:00
林玮 (Jade Lin) c36063ea41 chore: sync upstream into deploy/saas 2026-11-20 17:48:17 +08:00
0e43340012 feat(openapi): let personal access tokens manage apps, credentials and app API keys (#46510)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-20 07:47:09 +00:00
林玮 (Jade Lin) 11f693a38b chore: merge EndUser authentication updates into deploy/saas 2026-11-20 13:51:48 +08:00
林玮 (Jade Lin) d95c8e2f83 Merge remote-tracking branch 'origin/main' into linw/snp-911-end-user-auth
# Conflicts:
#	api/controllers/console/workspace/account.py
#	api/services/account/adapters.py
#	api/services/account/login_service.py
#	api/services/entities/account_login_entities.py
#	api/services/workspace/member_service.py
#	api/tests/unit_tests/services/account/test_login_adapters.py
#	api/tests/unit_tests/services/test_app_generate_service.py
#	api/tests/unit_tests/services/workspace/test_member_service.py
#	packages/contracts/generated/api/console/email-code-login/zod.gen.ts
#	packages/contracts/generated/api/console/errors.gen.ts
#	packages/contracts/generated/api/console/workspaces/errors.gen.ts
#	packages/contracts/generated/api/console/workspaces/orpc.gen.ts
2026-11-20 13:42:37 +08:00
Xiyuan Chen 7678df49b6 fix(openapi): check the catalog only for clients that name one (#46808) 2026-11-20 02:59:34 +00:00
yyh b6585b1859 feat: unify workspace invitations and show invited people in members (#46679) 2026-11-19 07:02:31 +00:00
yyh ea59e67e63 chore: merge invitation review fixes into deploy/saas
# Conflicts:
#	api/services/account/login_service.py
#	api/services/entities/account_login_entities.py
#	api/tests/unit_tests/services/account/test_login_adapters.py
#	packages/contracts/generated/api/console/email-code-login/types.gen.ts
#	packages/contracts/generated/api/console/email-code-login/zod.gen.ts
#	web/app/(auth)/signin/check-code/page.tsx
2026-11-19 11:45:26 +08:00
yyh 44ade3ad5a fix(api): close invitation review gaps across sign-in, revoke, indexing and admission
- Email-code sign-in accepts invite_token and joins the inviting workspace
  before falling back to provisioning a personal workspace
- Revoke also removes a legacy pending member and blocks its unindexed links
- Issuing a link writes its index entry or removes the link; the email is
  reported failed
- Activation and sign-in restore re-read the link under the workspace lock
- Single invitations take the workspace lock and the invitation-aware
  capacity check
2026-11-19 11:36:50 +08:00
yyh 1ec9f7e07f chore: merge workspace pending invitations into deploy/saas 2026-11-18 17:07:16 +08:00
林玮 (Jade Lin) 9c9313afe7 Merge remote-tracking branch 'origin/main' into linw/snp-911-end-user-auth 2026-11-18 15:42:11 +08:00
Yunlu WenandDevin f183e0364b fix(api): let resource-scoped PATs discover their workspaces (#46610)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-18 07:11:03 +00:00
Joel 85d8564cb9 Merge branch 'feat/end-user-auth-fe' into deploy/saas
# Conflicts:
#	web/app/components/base/chat/chat-with-history/sidebar/__tests__/index.browser.spec.tsx
#	web/app/components/billing/plan-upgrade-modal/index.tsx
#	web/app/components/end-user/layout/__tests__/sidebar.browser.spec.tsx
#	web/app/components/workflow/collaboration/__tests__/upgrade.browser.spec.tsx
#	web/app/components/workflow/collaboration/upgrade-modal.tsx
#	web/app/components/workflow/collaboration/upgrade-state.ts
#	web/app/components/workflow/header/online-users.tsx
#	web/app/components/workflow/operator/control.tsx
#	web/service/webapp/__tests__/account-client.spec.ts
2026-11-18 15:08:14 +08:00
林玮 (Jade Lin) 453439ab82 Merge remote-tracking branch 'origin/main' into linw/snp-911-end-user-auth
# Conflicts:
#	api/core/app/apps/advanced_chat/app_generator.py
#	api/core/app/apps/workflow/app_generator.py
#	api/core/app/task_pipeline/based_generate_task_pipeline.py
#	api/extensions/ext_application_services.py
#	api/openapi/markdown/console-openapi.md
#	api/openapi/markdown/web-openapi.md
#	api/repositories/conversation_lifecycle.py
#	api/services/conversation_service.py
#	api/services/workflow/node_defaults.py
#	packages/contracts/generated/api/console/apps/errors.gen.ts
#	packages/contracts/generated/api/console/errors.gen.ts
#	packages/contracts/generated/api/console/workspaces/errors.gen.ts
#	packages/contracts/generated/api/console/workspaces/orpc.gen.ts
#	packages/contracts/generated/api/web/types.gen.ts
#	packages/contracts/generated/api/web/zod.gen.ts
2026-11-18 15:03:10 +08:00
Joel e34dd5dd18 Merge remote-tracking branch 'origin/main' into feat/end-user-auth-fe
# Conflicts:
#	api/core/app/apps/advanced_chat/app_generator.py
#	api/core/app/apps/workflow/app_generator.py
#	api/core/app/task_pipeline/based_generate_task_pipeline.py
#	api/openapi/markdown/console-openapi.md
#	api/openapi/markdown/web-openapi.md
#	api/repositories/conversation_lifecycle.py
#	api/services/conversation_service.py
#	api/services/workflow/node_defaults.py
#	oxlint-suppressions.json
#	packages/contracts/generated/api/console/apps/errors.gen.ts
#	packages/contracts/generated/api/console/errors.gen.ts
#	packages/contracts/generated/api/console/workspaces/errors.gen.ts
#	packages/contracts/generated/api/console/workspaces/orpc.gen.ts
#	packages/contracts/generated/api/web/types.gen.ts
#	packages/contracts/generated/api/web/zod.gen.ts
2026-11-18 14:15:33 +08:00
7b19f9d65b fix(hitl): restore form API compatibility and harden IM workflows (#46548)
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-17 13:44:16 +00:00
林玮 (Jade Lin) 876c2d86fb test(api): narrow EndUser auth publish handler 2026-11-17 20:57:32 +08:00
林玮 (Jade Lin) c1838caf80 fix(openapi): name EndUser auth failures instead of a generic 400 (#46572) 2026-11-17 16:52:54 +08:00
68609e1b09 feat(evaluation): add Evaluation workspaces and execution (#46141)
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <jyong@dify.ai>
2026-11-16 02:43:34 +00:00
MindOfqc a7a483af1b test(api): bring the openapi workflow events tests under strict pyrefly (#46339) 2026-11-15 06:07:41 +00:00
MindOfqc 4f5208a3b3 test(api): bring three more test modules under strict pyrefly (#46185) 2026-11-15 06:01:51 +00:00
yetugeandAsuka Minato 609c2a98fb test(api): bring the openapi app run tests under strict pyrefly (#46174)
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-11-13 09:35:13 +00:00
非法操作 f70905b2d7 refactor(agent): isolate Agent App collection operations (#46111) 2026-11-13 09:27:43 +00:00
3774ea85ae ci: bump tyck to check new err (#45614)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
2026-11-11 07:31:35 +00:00
583615e412 feat: support personal access token (#45540)
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: Eldar Dadashov <52511672+eldardada@users.noreply.github.com>
Co-authored-by: Byron.wang <byron@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
2026-11-11 03:00:24 +00:00
-LAN-andautofix-ci[bot] 0257f20b48 fix(openapi): exclude directories from skill import file counts (#45393)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-03 05:48:00 +00:00
Xiyuan Chen 61d2c7402f fix(openapi): mark import.skill as destructive (#45314) 2026-11-02 09:44:17 +00: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
Xiyuan Chen b92228f6c2 feat(openapi): workspace skill list, export, import and publish ops (#44941) 2026-10-30 08:24:55 +00:00
2c3cbd5045 fix(api): reject conflicting multipart file shapes (#44903)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-10-30 04:48:45 +00:00
Xiyuan Chenandautofix-ci[bot] 42a2184f4c feat(api): add a generic archive writer and a per-route request body cap (#44757)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-30 00:30:06 +00:00
Felix ShiandFelix Shi b0be397f2e refactor(api): enable strict typing for web/openapi controller test files (#44890)
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com>
2026-10-29 12:37:20 +00:00
Vitalii Borovyk fefd2eb7b7 test: use unbound_session in openapi streaming run test (#44999)
Signed-off-by: Vitalii <2556969@gmail.com>
2026-10-29 06:37:45 +00:00
Xiyuan Chen c01cb5d119 fix(openapi): stop runs by run id and publish each op's effect (#44587) 2026-10-28 02:46:42 +00: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
-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
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
Asuka MinatoandCodex a101bbb305 refactor: migrate agent models to TypeBase (#40816)
Co-authored-by: Codex <codex@openai.com>
2026-10-21 08:50:15 +00:00
-LAN-andautofix-ci[bot] 823f40e71f refactor(workflow): adopt Graphon 0.8 execution orchestration (#40277)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 13:03:56 +00:00
672a627fa5 ci: enable Ruff E402 (#44123)
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:16:16 +00:00
Xiyuan Chen 8c5eb6d16e feat(api): let agents build, configure and ship Dify apps over openapi (#43067) 2026-10-16 00:45:49 +00:00
33b1c57f9d feat: document API errors per code and narrow them with oRPC defined errors (#44001)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-14 08:25:50 +00:00
Eddy ZHANG 608723d434 refactor(api): enable strict typing for OpenAPI controller tests (#43931) 2026-10-12 16:03:58 +00:00
Byron.wangandStream b71c5f8671 refactor(api): consolidate app queries and clarify session ownership (#43288)
Co-authored-by: Stream <Stream_2@qq.com>
2026-10-12 07:29:44 +00:00