Files
dify/web/app/components/workflow-copilot
Charles YaoandClaude Opus 4.8 4104863212 fix(workflow-copilot): track live session version from the SSE stream
runAction sends base_version equal to view.version, but view was only updated from HTTP responses (create/action/refresh), never the SSE stream. While the engine auto-advances (diagnose to await_verify) the held version stayed frozen at create time, so the next action base_version CAS returned 409 conflict. Reconcile view from snapshot/state frames so its version tracks the session.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-19 01:48:31 -07:00
..

Workflow Copilot

Shared session/stream logic for the enterprise workflow-copilot Fix API, consumed by both the standalone debug page and the in-editor Workflow Copilot panel.

Internal Modules

None.

External Modules

  • config: CSRF_COOKIE_NAME, CSRF_HEADER_NAME for authenticated console requests.