Commit Graph
1520 Commits
Author SHA1 Message Date
twwu 4d06466b67 Merge branch 'main' into feat/dify-builder
# Conflicts:
#	api/services/trigger/webhook_service.py
#	api/tests/unit_tests/core/plugin/impl/test_oauth.py
2026-11-10 09:35:18 +08:00
twwu ffc2f267d0 fix(builder): unify native test streaming and controls
Observe Builder commands and native tests on one session stream. Reconnect to the retained Run without submitting another test.

Use Stop and Resume for task control during native tests and keep approval details available. Allow retained local sandbox bindings to be checked without reading restricted ancestor directories.

Refs: ENG-1448
2026-11-09 20:18:12 +08:00
XiaoBa 23ea5e3562 fix: validate retrieval attachment UUIDs and tolerate invalid image history (#45915) 2026-11-09 11:36:53 +00:00
twwu a53e5bc4bf fix(builder): honor the feature flag across editor and APIs 2026-11-09 11:50:43 +08:00
非法操作 dd21c981f2 refactor(api): inject trigger subscription renewal and event execution (#44653) 2026-11-09 02:42:52 +00:00
twwu 15b8bb5473 Merge latest main into feat/dify-builder 2026-11-06 16:20:24 +08:00
twwu 72919b6a55 Merge main into feat/dify-builder 2026-11-06 16:14:53 +08:00
非法操作 a83ce881a1 refactor(api): inject plugin dynamic option queries (#44576) 2026-11-06 08:08:45 +00:00
twwu 7a34c7b8c4 fix(workflow): replace stale collaboration sessions on reconnect
Resume within the same workflow, account, and page so the old connection stops receiving snapshot requests. Recover from the saved draft when the replacement becomes leader.
2026-11-06 15:25:52 +08:00
周龙杰 da24f6d133 test(api): verify workflow publish transactions with SQLite (#45142) 2026-11-06 04:02:44 +00:00
Charles Yao a05dbb077c fix: move trigger subscription deletion transaction into service 2026-11-05 02:40:30 -08:00
非法操作 803f5d3d9c refactor(api): isolate trigger subscription management (#44541) 2026-11-05 09:54:35 +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
非法操作 45279b704d feat: restrict SaaS workflow collaboration to paid plans (#45549) 2026-11-05 08:19:37 +00:00
非法操作 107bbf85ca refactor(api): inject trigger subscription builder lifecycle (#44532) 2026-11-05 08:18:01 +00:00
非法操作 db3ffcc92b refactor(api): isolate trigger provider and subscription queries (#44514) 2026-11-05 07:20:07 +00:00
非法操作 11517691d2 refactor(api): isolate trigger OAuth authorization flow (#44505) 2026-11-05 06:21:44 +00:00
Evan 5d0c0b6657 refactor(api): inject sessions into RAG pipeline console controllers (#45605) 2026-11-05 04:17:24 +00:00
非法操作 b501b64f82 refactor(api): isolate trigger OAuth client configuration (#44469) 2026-11-04 12:02:15 +00:00
Charles Yao 94067a45ca Merge latest main into feat/dify-builder 2026-11-03 04:31:01 -08:00
非法操作andautofix-ci[bot] 52ae152e00 fix(api): reject invalid model provider icon paths (#45445)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-03 10:01:37 +00:00
非法操作 cf38e6ad67 feat(api): add workflow collaboration metrics (#45446) 2026-11-03 09:40:53 +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 45ca55e266 fix(builder): align backend contracts and fixtures with main CI 2026-11-03 14:53:59 +08:00
twwu 44636d383d Merge main into feat/dify-builder 2026-11-03 13:33:30 +08:00
96b1b20c76 feat(api): validate models before knowledge base upgrades (#45312)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
2026-11-02 11:13:21 +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
Charles Yao de2028bd92 fix(builder): correlate Fix decision receipts with action transport IDs 2026-11-01 00:48:52 -07:00
QuantumGhost 9dd087b885 feat(hitl): expose bound IM providers in contact options (#45233) 2026-11-01 07:48:22 +00:00
Charles Yao 99de1f14b6 fix(builder): document correlated Fix recovery error responses 2026-11-01 00:11:09 -07:00
Charles Yao 9b3f60c18e fix(builder): expose correlated read-only Fix control receipts 2026-11-01 00:01:15 -07:00
Charles Yao 94c7ee305d fix(builder): expose current lifecycle settlement without inferring cleanup 2026-10-31 23:07:10 -07:00
yyh 4c521a3c0a feat(api): type billing error reasons per proto service (#45203) 2026-10-31 14:07:12 +00:00
Peter PanandWH-2099 5907db83b0 fix(oauth): serialize and persist provider credential refreshes (#32195)
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-10-31 12:04:00 +00:00
yyh 3ae9147417 feat(api): map billing error reasons to typed console errors (#45170) 2026-10-31 06:27:30 +00:00
Charles Yao ae0e57163e feat(builder): preserve task continuity and confirm Fix switches 2026-10-30 23:13:09 -07:00
非法操作 e3ef66b8b9 refactor(api): detach console statistics admission (#44411) 2026-10-30 16:40:23 +00:00
yyhandClaude Opus 5.5 749754fcd9 feat(api): return education verification as a status-discriminated result (#45165)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:01:46 +00:00
yyhandhjlarry 4612a807fe refactor(api): call billing education, compliance, account and notification APIs through the generated client (#45136)
Co-authored-by: hjlarry <hjlarry@163.com>
2026-10-30 12:19:34 +00:00
4293584598 ci: bump type checker (#44015)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
2026-10-30 11:22:51 +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
Charles Yao f2939c341d feat(builder): add workspace cognition policy and scoped planning materials 2026-10-29 19:41:42 -07:00
非法操作 ad6ed864a1 refactor(api): share console conversation queries and deletion (#44043) 2026-10-30 02:35:00 +00:00
非法操作 02ca1df07d refactor(api): remove legacy account update endpoints (#45015) 2026-10-29 12:40:31 +00:00
yyhandClaude f1739f12d7 fix: expose KnowledgeFS availability in workspace features (#45073)
Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 12:04:18 +00:00
FFXN 6af924cd9f fix: resolve Notion page listing and document import failures (#45053) 2026-10-29 08:04:29 +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