Charles Yao and Claude Opus 4.8
de8a5745ea
fix(dify_builder): always emit a terminal SSE frame so held version can't go stale
...
Two paths ended a streaming advance without a terminal `state`/`error`
frame, leaving the SSE client stalled to the deadline with a stale held
version -> its next action 409s:
1. advance_session published the terminal `state` frame outside the
try/finally and unguarded. If the post-advance view projection
(get_session_view -> read_graph) or the publish itself raised after a
SUCCESSFUL advance, the exception escaped and no terminal frame was
sent. Guard it and fall back to a terminal `error` frame.
2. submit_action_stream emitted a terminal `state` frame on settle only
for `message`. `update_model` also settles synchronously while bumping
the version, so it now emits one too -- otherwise the FE keeps the old
version and 409s on its next action.
Adds regression tests for both (projection-failure -> error frame;
update_model -> state frame).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-09-03 08:48:23 +08:00
twwu
3eacff14a6
feat: add typed SSE interactions to Dify Builder
2026-09-03 08:48:23 +08:00
Charles Yao and Claude Opus 4.8
390eea61fb
feat(dify-builder): terminal state frame carries the full SessionView
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-08-31 22:18:42 -07:00
twwu
433046e0de
Merge branch 'main' into feat/dify-builder
2026-08-30 14:25:22 +08:00
Charles Yao and Claude Opus 4.8
02a5f01f84
feat(dify-builder): DIFY_BUILDER_AGENT_MODE gate + factory/task model wiring
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-08-27 22:51:27 -07:00
wangxiaolei
d84088ef74
feat: new user add automatic add to app / dataset whitelist ( #41363 )
2026-08-27 08:51:05 +00:00
非法操作
a9319c86ee
refactor(api): extract workflow run archive application service ( #41253 )
2026-08-27 02:41:43 +00:00
twwu
7e580db1cc
Merge branch 'main' into feat/dify-builder
2026-08-26 17:15:19 +08:00
heyszt
86f8b847e9
fix(api): clean multimodal attachments in batch deletion ( #41256 )
2026-08-26 05:10:28 +00:00
林玮 (Jade Lin) and autofix-ci[bot]
960018253b
feat(api): track credit usage contexts ( #41181 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-25 10:21:32 +00:00
非法操作
1afac21690
feat(api): support New Agent Beta for inline Workflow agents ( #41215 )
2026-08-25 05:39:41 +00:00
ff3cf5681f
fix(api): attach exc_info=True to 11 logger.debug/info('...: %s', str(e)) sites — sibling of #41066 (DEBUG/INFO level) ( #41077 )
...
Co-authored-by: Harsh Kashyap <harsh23kashyap@gmail.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-24 09:08:08 +00:00
Benjamin and Claude Opus 5
ea6c15b68e
fix: fall back to the batch API when the global plugin manifest is empty ( #41107 )
...
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-24 03:33:23 +00:00
Charles Yao and Claude Opus 4.8
7e83264330
refactor: rename Workflow Copilot → Dify Builder
...
Project rename across api/ + web/: modules, symbols, routes
(/console/api/dify-builder/*), feature flag (DIFY_BUILDER_ENABLED),
Celery queue/tasks, the 7 DB tables (via migration df1b0114de40),
and regenerated contract artifacts. Behavior unchanged; 430 tests green,
ruff clean. Branch renamed feat/copilot-py-backend → dify-builder.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-08-23 11:18:35 -07:00
Charles Yao and Claude Opus 4.8
ef255c4dde
copilot: Edit service wiring + create_edit_session + merged registry
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-08-23 02:27:55 -07:00
Charles Yao and Claude Opus 4.8
25b897353d
copilot: Build session bootstrap + capability_check handler + merged registry
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-08-22 21:49:48 -07:00
Charles Yao
b3b4776e95
feat(workflow-copilot): opt-in per-intent canvas-event emission through apply_repair
2026-08-22 10:57:37 -07:00
Charles Yao
9a83b67cf6
feat(workflow-copilot): item/trace/canvas SSE frames + extended state frame
2026-08-22 00:15:21 -07:00
mesrop2008
23150c2319
fix(api): attach exc_info=True to logger.warning sites that drop the traceback ( #41068 )
2026-08-21 11:20:42 +00:00
盐粒 Yanli and yyh
013b328555
fix(agent): complete ownership-aware deletion lifecycle ( #40888 )
...
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-08-20 07:48:02 +00:00
盐粒 Yanli and autofix-ci[bot]
8874f3c80b
refactor(agent): remove Agent Drive ( #40887 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-19 06:34:36 +00:00
Charles Yao
9d982be3d0
feat(copilot): pluggable CopilotAgent factory (P3c seam)
2026-08-18 21:45:07 -07:00
Charles Yao
38cf016ee3
fix(copilot): construct advance deps inside try so the lock always releases
2026-08-18 21:45:07 -07:00
Charles Yao and Claude Opus 4.8
1b975eb72e
feat(copilot): async advance_session Celery task
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-08-18 21:45:06 -07:00
mesrop2008
50d6c19ef4
fix(api): clear stale cancellation signals when resuming a paused workflow ( #40905 )
2026-08-18 02:27:43 +00:00
非法操作 and autofix-ci[bot]
e3ab88f6de
feat: dispatch New Agent Beta eligibility checks ( #40725 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-17 10:33:50 +00:00
zyssyz123 and autofix-ci[bot]
dfac3e524e
fix: reclaim conversation resources on deletion ( #40792 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-14 14:30:04 +00:00
盐粒 Yanli
8df220c2b3
fix(agent): propagate resource collection failures ( #40697 )
2026-08-13 06:16:12 +00:00
WH-2099
ef8544b173
fix(api): bind dataset operations to owners ( #40149 )
2026-08-11 16:37:14 +00:00
Byron.wang and autofix-ci[bot]
c1e94f8ee7
refactor(api): consolidate deployment edition handling ( #40142 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-11 07:39:01 +00:00
非法操作 and autofix-ci[bot]
8170a2a5f3
chore: more upload file size for paid user ( #39967 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-06 03:23:16 +00:00
iridescentWen
0d8c02ca62
docs: fix typos in api comments and prompt example ( #39838 )
2026-07-31 05:30:53 +00:00
林玮 (Jade Lin)
14a938c5c5
fix: handle unconfigured LLM workflow streams ( #39741 )
2026-07-29 06:07:24 +00:00
盐粒 Yanli and autofix-ci[bot]
a048f35099
refactor: introduce agent working environment architecture ( #39480 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-28 13:16:05 +00:00
Yunlu Wen and Copilot Autofix powered by AI
3c80857ea3
feat: add bearer auth to agent backend ( #39622 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-07-27 08:37:30 +00:00
林玮 (Jade Lin)
26a43db6a4
fix(api): wait for workflow worker cleanup before task completion ( #39614 )
2026-07-27 07:34:25 +00:00
FFXN and autofix-ci[bot]
858b3b74dc
feat: add CE telemetry report ( #39452 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-27 02:04:28 +00:00
66a545fc6d
refactor: centralize deployment edition in system features ( #39454 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: GareArc <garethcxy@dify.ai >
2026-07-24 07:15:02 +00:00
林玮 (Jade Lin)
c5aadfe557
fix(api,billing): invalidate vector space cache after cleanup ( #39404 )
2026-07-22 07:30:16 +00:00
zyssyz123
5a792945f5
fix(agent): bound streams and cancel zombie workflow runs ( #39186 )
2026-07-17 07:46:42 +00:00
非法操作
61b07ab17d
feat: default plugins for new user ( #39167 )
2026-07-17 02:49:58 +00:00
林玮 (Jade Lin)
678ce2ab37
refactor(api): pass tenant_id explicitly to workflow repositories ( #39042 )
2026-07-16 09:36:30 +00:00
Byron.wang and WH-2099
ab3e4daa95
refactor: explicit DB session propagation across backend paths ( #38559 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-07-15 06:48:28 +00:00
wangxiaolei and autofix-ci[bot]
c278148c8f
feat: when knowledge permission is all team need update rbac setttings ( #38911 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-14 09:07:33 +00:00
非法操作 and autofix-ci[bot]
f09d2b191f
feat: archive logs export ( #38207 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-14 08:25:37 +00:00
wangxiaolei and autofix-ci[bot]
7e05f28a46
feat: create app init rbac scope to all and add workspace members. ( #38636 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-10 09:31:41 +00:00
Xiyuan Chen and autofix-ci[bot]
d72ee32ba1
fix: preserve ResponseStreamFilter state across workflow pause/resume ( #38540 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-09 01:05:47 +00:00
+2
98d9b11f7b
chore(agent-v2): sync changes ( #38513 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: 林玮 (Jade Lin) <linw1995@icloud.com >
Co-authored-by: 盐粒 Yanli <mail@yanli.one >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Jashwanth Reddy Gummula <gmrnlg1971@gmail.com >
Co-authored-by: WH-2099 <wh2099@pm.me >
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: wangxiaolei <fatelei@gmail.com >
Co-authored-by: FFXN <31929997+FFXN@users.noreply.github.com >
Co-authored-by: Yansong Zhang <916125788@qq.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-08 12:05:04 +00:00
68d8328b9c
chore: clean Db session from service ( #38227 )
...
Co-authored-by: chariri <w@chariri.moe >
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-07-08 03:07:27 +00:00
chariri
c3b1508712
refactor(api): migrate workspace account endpoints to BaseModel ( #37954 )
2026-07-06 06:57:40 +00:00