dify/web/app/components/workflow/nodes
Yansong Zhang f4e04fc872 feat(web): add Agent V2 frontend — app creation, node editor, sandbox settings
P0 — Agent App can be created and routed:
- Add AppModeEnum.AGENT to types/app.ts
- Add Agent card to create-app-modal (primary row, with RiRobot2Fill icon)
- Route Agent apps to /workflow editor (same as workflow/advanced-chat)
- Update layout-main.tsx mode guards

P1 — Agent V2 workflow node:
- Add BlockEnum.AgentV2 = 'agent-v2' to workflow types
- Create agent-v2/node.tsx: displays model, strategy, tool count
- Create agent-v2/panel.tsx: model selector, strategy picker, tool list,
  max iterations, memory config, vision toggle
- Register in NodeComponentMap and PanelComponentMap

P2 — Sandbox Provider settings:
- Create sandbox-provider-page: list/configure/activate/delete providers
  (Docker, E2B, SSH, AWS CodeInterpreter)
- Create service/sandbox.ts: API client for sandbox provider endpoints
- Add "Sandbox Providers" to settings menu

i18n: Add en-US and zh-Hans translations for agent V2 description.
Made-with: Cursor
2026-04-10 15:31:48 +08:00
..
__tests__ test(workflow): add helper specs and raise targeted workflow coverage (#33995) 2026-03-24 17:51:07 +08:00
_base fix(workflow): correct env variable picker validation (#34666) 2026-04-07 09:34:25 +00:00
agent chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
agent-v2 feat(web): add Agent V2 frontend — app creation, node editor, sandbox settings 2026-04-10 15:31:48 +08:00
answer chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
assigner chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
code chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
data-source chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
data-source-empty test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
document-extractor test(workflow): add unit tests for workflow components (#33910) 2026-03-23 16:37:03 +08:00
end chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
http refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
human-input refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
if-else chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
iteration refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
iteration-start refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
knowledge-base refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
knowledge-retrieval chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
list-operator refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
llm chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
loop chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
loop-end chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
loop-start refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
parameter-extractor refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
question-classifier chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
start chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
template-transform chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
tool chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
trigger-plugin chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
trigger-schedule chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
trigger-webhook chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
variable-assigner chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
components.ts feat(web): add Agent V2 frontend — app creation, node editor, sandbox settings 2026-04-10 15:31:48 +08:00
constants.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
index.tsx chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
utils.ts fix: element of Array[string] and Array[number] and size attribution (#23074) 2025-07-30 15:21:50 +08:00