mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-11-07 14:36:23 +00:00
- Add Sources []string to MoveResourceRequest, CopyResourceRequest and AddResourceFromFlowRequest; merged with Source, deduplicated; multi-source uses destination as base dir and runs in a single atomic DB transaction - Fix MoveResource response to return Added + Updated (not Updated only) so Apollo cache receives new parent directory entries alongside moved items - Add missing errResourceNotFound case in CopyResource (was 500 instead of 404) - Cover all new behaviour with table-driven tests (basename conflict, force overwrite, missing source, empty input, dir-into-itself guard, etc.)