M13.15: qa project lifecycle; Collect Files makes its folder; agents cookbook

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-03 12:56:41 -04:00
co-authored by Claude Opus 5.5
parent 77ab92fb7d
commit 12235b5dc5
5 changed files with 176 additions and 2 deletions
+3
View File
@@ -313,6 +313,9 @@ fn find_missing(s: &mut Session, p: &Value) -> Result<Value> {
fn collect_files(s: &mut Session, p: &Value) -> Result<Value> {
let folder = str_p(p, "folder").ok_or_else(|| bad("file.collectFiles", "missing `folder`"))?.trim_end_matches('/').to_string();
// Collect Files makes its folder (and the footage folder inside it).
#[cfg(not(target_arch = "wasm32"))]
std::fs::create_dir_all(format!("{folder}/(Footage)")).map_err(|e| EngineError::Other(format!("cannot create {folder}: {e}")))?;
let mut proj = (*s.project).clone();
let mut copied = 0;
let mut errors = vec![];