dify/api/controllers/console/app
Yansong Zhang 90cce7693f revert: remove all sandbox and skill related code
Remove ~12,900 lines of sandbox/skill code that was ported from
feat/support-agent-sandbox. This reverts to direct tool execution
(the original behavior before sandbox integration).

Removed:
- core/sandbox/ (SandboxBuilder, bash tools, providers, initializers)
- core/skill/ (SkillManager, assembler, entities)
- core/virtual_environment/ (5 provider implementations)
- core/zip_sandbox/ (archive operations)
- core/app_assets/ (asset management)
- core/app_bundle/ (bundle management)
- controllers/cli_api/ (DifyCli callback endpoints)
- services/sandbox/ (provider service)
- services/skill_service, app_asset_service, app_bundle_service
- models/sandbox.py, app_asset.py
- bin/dify-cli-* (3 platform binaries)
- web sandbox-provider-page and service
- SandboxLayer, _resolve_sandbox_context, _invoke_tool_in_sandbox
- CliApiConfig, DIFY_SANDBOX_CONTEXT_KEY
- sandbox-related migrations

Preserved: All Agent V2 core functionality (agent-v2 node, strategy
engine, transparent upgrade, LLM remapping, memory, context, tools
via direct execution).

Made-with: Cursor
2026-04-13 10:42:36 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
advanced_prompt_template.py refactor: port reqparse to Pydantic model (#28913) 2025-11-30 16:09:42 +09:00
agent.py refactor: port reqparse to Pydantic model (#28949) 2025-12-05 13:05:53 +09:00
annotation.py refactor: port api/controllers/console/app/annotation.py api/controllers/console/explore/trial.py api/controllers/console/workspace/account.py api/controllers/console/workspace/members.py api/controllers/service_api/app/annotation.py to basemodel (#31833) 2026-02-03 09:59:00 +08:00
app_import.py refactor: use sessionmaker in controllers, events, models, and tasks 1 (#34693) 2026-04-07 23:47:20 +00:00
app.py feat(api): add Agent V2 node and new Agent app type (Phase 1-3) 2026-04-08 12:31:23 +08:00
audio.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
completion.py fix(api): allow AGENT mode in console chat, message, and debug endpoints 2026-04-08 13:27:42 +08:00
conversation_variables.py refactor: use sessionmaker().begin() in console app controllers (#34282) 2026-03-31 13:10:16 +00:00
conversation.py refactor: select in remaining console app controllers (#33969) 2026-03-24 02:53:05 +09:00
error.py revert: remove all sandbox and skill related code 2026-04-13 10:42:36 +08:00
generator.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
mcp_server.py refactor: select in remaining console app controllers (#33969) 2026-03-24 02:53:05 +09:00
message.py fix(api): allow AGENT mode in console chat, message, and debug endpoints 2026-04-08 13:27:42 +08:00
model_config.py refactor(api): continue decoupling dify_graph from API concerns (#33580) 2026-03-25 20:32:24 +08:00
ops_trace.py refactor: port reqparse to Pydantic model (#28949) 2025-12-05 13:05:53 +09:00
site.py refactor: select in remaining console app controllers (#33969) 2026-03-24 02:53:05 +09:00
statistic.py refactor: port reqparse to Pydantic model (#28913) 2025-11-30 16:09:42 +09:00
workflow_app_log.py refactor: use sessionmaker().begin() in console app controllers (#34282) 2026-03-31 13:10:16 +00:00
workflow_comment.py feat(api): enable all sandbox/skill controller routes and resolve dependencies (P0) 2026-04-09 09:36:16 +08:00
workflow_draft_variable.py feat(api): enable Agent mode in workflow/service APIs and add default config (Phase 7) 2026-04-08 12:41:37 +08:00
workflow_run.py fix(api): allow AGENT mode in console chat, message, and debug endpoints 2026-04-08 13:27:42 +08:00
workflow_statistic.py refactor: port reqparse to Pydantic model (#28913) 2025-11-30 16:09:42 +09:00
workflow_trigger.py refactor: migrate session.query to select API in console controllers (#34607) 2026-04-07 04:19:30 +00:00
workflow.py fix(api): allow AGENT mode in console chat, message, and debug endpoints 2026-04-08 13:27:42 +08:00
wraps.py refactor(api): tighten login and wrapper typing (#34447) 2026-04-02 09:36:58 +00:00