dify/api/core/agent
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
..
output_parser refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
patterns fix(api): remove unsupported 'user' param from FC/ReAct invoke_llm calls 2026-04-09 12:18:07 +08:00
prompt Enhance Code Consistency Across Repository with .editorconfig (#19023) 2025-04-29 18:04:33 +08:00
strategy chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
agent_app_runner.py feat(api): enable all sandbox/skill controller routes and resolve dependencies (P0) 2026-04-09 09:36:16 +08:00
base_agent_runner.py refactor: core/tools, agent, callback_handler, encrypter, llm_generator, plugin, inner_api (#34205) 2026-03-28 10:14:43 +00:00
cot_agent_runner.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
cot_chat_agent_runner.py refactor(api): clean up AssistantPromptMessage typing in CotChatAgentRunner (#34681) 2026-04-07 22:53:14 +00:00
cot_completion_agent_runner.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
entities.py revert: remove all sandbox and skill related code 2026-04-13 10:42:36 +08:00
errors.py refactor(workflow): move agent node back to core workflow (#33431) 2026-03-14 22:33:13 +08:00
fc_agent_runner.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
plugin_entities.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00