dify/web/service
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
..
knowledge chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
_tools_util.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
_tools_util.ts fix: properly escape collectionName in query string parameters (#14476) 2025-02-27 18:59:07 +08:00
access-control.ts chore: integrate @tanstack/eslint-plugin-query and fix service layer lint errors (#30444) 2026-01-04 11:20:06 +08:00
annotation.ts refactor(web): drop swr and migrate share/chat hooks to tanstack query (#30232) 2025-12-29 14:04:01 +08:00
apps.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
base.spec.ts fix(web): add null check for SSE stream bufferObj to prevent TypeError (#30131) 2026-01-13 15:40:43 +08:00
base.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
billing.ts refactor: init orpc contract (#30885) 2026-01-13 23:38:28 +09:00
client.spec.ts refactor: type safe env, update to zod v4 (#32035) 2026-02-10 17:55:11 +08:00
client.ts fix: base url in client (#31902) 2026-02-04 12:09:22 +08:00
common.ts fix: redirect after login (#30985) 2026-01-14 17:20:49 +08:00
datasets.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
debug.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
explore.ts fix: remove explore context and migrate query to orpc contract (#32320) 2026-02-14 16:18:26 +08:00
fetch.spec.ts refactor(web): migrate core toast call sites to base ui toast (#33643) 2026-03-18 16:53:55 +08:00
fetch.ts refactor(web): update frontend toast call sites to use the new shortcut API (#33808) 2026-03-20 16:02:22 +08:00
log.ts refactor(web): migrate log service to TanStack Query (#30065) 2025-12-24 15:25:28 +08:00
plugins.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
refresh-token.ts feat: Human Input Node (#32060) 2026-02-09 14:57:23 +08:00
sandbox.ts feat(web): add Agent V2 frontend — app creation, node editor, sandbox settings 2026-04-10 15:31:48 +08:00
share.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
sso.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
strategy.ts Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
tag.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
tools.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
try-app.ts feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
use-apps.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-base.ts refactor(web): consolidate query/mutation guidance and deprecate use-base wrappers (#33456) 2026-03-16 13:38:29 +08:00
use-billing.ts refactor(contract): restructure console contracts with nested billing module (#30999) 2026-01-15 10:41:18 +08:00
use-common.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-dataset-card.ts refactor: restructure DatasetCard component for improved readability and maintainability (#30617) 2026-01-06 21:57:21 +08:00
use-datasource.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-education.ts fix: correct useEducationStatus query cache configuration (#30416) 2025-12-31 13:51:05 +08:00
use-endpoints.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-explore.ts fix: remove explore context and migrate query to orpc contract (#32320) 2026-02-14 16:18:26 +08:00
use-flow.ts chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
use-log.ts feat: Human Input Node (#32060) 2026-02-09 14:57:23 +08:00
use-models.ts chore: integrate @tanstack/eslint-plugin-query and fix service layer lint errors (#30444) 2026-01-04 11:20:06 +08:00
use-oauth.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-pipeline.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-plugins-auth.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-plugins.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-share.spec.tsx feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
use-share.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-strategy.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-tools.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-triggers.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-try-app.ts feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
use-workflow.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-workspace.ts feat: ee workspace permission control (#30841) 2026-01-19 11:06:04 +08:00
utils.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
utils.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
webapp-auth.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
workflow.ts feat: Human Input Node (#32060) 2026-02-09 14:57:23 +08:00