Files
dify/web/app/components/workflow-copilot
Charles Yao fdfa631d02 feat(web): copilot panel — fix pre-publish checklist issues
Extend the Workflow Copilot editor panel to fix pre-publish checklist
errors alongside failed runs.

- Detect blocking checklist items client-side via useChecklist(nodes,
  edges, {flowType}) and offer a "Fix N checklist issues" entry next to
  the failed-run entry, splitting config errors (auto-fixable) from
  unconnected/plugin-missing items (surfaced but not auto-fixed in v1).
- Extend use-copilot-session's create path to POST checklist_errors
  (new startChecklistFix) alongside the existing failed_run_id path
  (startFix unchanged).
- Drive checklist.await_recheck: re-run the checklist against the
  current draft and submit the recheck action with
  passed = (fixable remaining === 0) and the full remaining list.
- Add copilot.checklist* i18n keys to en-US, matching the existing
  copilot.* keys' en-US-only precedent for this feature.
2026-08-18 21:45:04 -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.