dify/web/types
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
..
app.ts feat(web): add Agent V2 frontend — app creation, node editor, sandbox settings 2026-04-10 15:31:48 +08:00
assets.d.ts refactor: update install status handling in plugin installation process (#27594) 2025-10-29 18:31:02 +08:00
common.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
doc-paths.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
feature.ts refactor: type safe env, update to zod v4 (#32035) 2026-02-10 17:55:11 +08:00
i18n.d.ts chore: fix type for useTranslation in #i18n (#32134) 2026-02-09 16:42:53 +08:00
jsx.d.ts refactor: update TypeScript definitions for custom JSX elements and clean up global declarations in emoji picker (#26985) 2025-10-16 15:51:39 +08:00
lamejs.d.ts Fix type error (#27217) 2025-10-22 11:43:37 +08:00
mdx.d.ts Fix type error (#27152) 2025-10-20 19:35:46 +08:00
model-provider.ts refactor(web): convert 7 enums to as-const objects (batch 5) (#33960) 2026-03-26 15:50:54 +08:00
pipeline.tsx chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
react-18-input-autosize.d.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
try-app.ts fix: remove explore context and migrate query to orpc contract (#32320) 2026-02-14 16:18:26 +08:00
workflow.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00