Files
dify/api/controllers/console/agent
Yansong Zhang 12904d1e47 feat(agent): expose Skills & Files to runtime via dify.drive declaration layer — ENG-623
dify-agent: new config-only dify.drive layer (DTOs + inert PlainLayer
registration + import-boundary coverage). The declaration is an index
(name/description/key) — SKILL.md bodies never inline into run requests
(PRD dynamic-loading principle); consumption ships with ENG-387.

api: AgentSkillRefConfig/AgentFileRefConfig drive keys promoted to the
explicit schema; build_drive_layer_config catalogs drive-backed refs into
the layer (dangling legacy refs degrade to warnings); both runtime
builders inject the layer behind AGENT_DRIVE_MANIFEST_ENABLED (default
off); runtime feature manifest flips skills_files to supported with
drive_manifest_disabled / skill_ref_dangling warnings; composer save
rejects dangling drive refs (400) and validate surfaces them as findings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 14:20:41 +08:00
..
2026-05-19 10:43:23 +00:00
2026-06-12 03:46:21 +00:00