mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-28 15:01:29 +00:00
- Added `paths[]` query/body parameter to DeleteFlowFile, DownloadFlowFile, GetFlowContainerFiles, PullFlowFiles, ListResources, DeleteResource, and DownloadResource; single `path` parameter retained for backward compatibility. - Introduced `DeduplicatePaths` in flowfiles package with coverage-based deduplication (parent covers children), path normalization, and traversal safety. - Added `ZipRelativePaths` to create ZIP archives from cache-relative paths, sharing `zipWriteFile` helper with refactored `ZipDirectory`. - Switched all ZIP and single-file responses to buffered `DataFromReader` with explicit `Content-Length`, fixing Swagger UI download rendering. - Expanded response payloads: delete and pull operations now enumerate all affected nested files; list responses include ancestor directories for tree completeness. - Extended test coverage across flowfiles, flow_files, and resources packages with batch, deduplication, atomicity, Docker exec, and security scenarios.