Merge branch 'main' into worktree-agent-a9fea98fe9839069d

This commit is contained in:
Brandon Thomas
2026-10-04 00:25:43 -04:00
65 changed files with 6376 additions and 371 deletions
+4
View File
@@ -34,6 +34,7 @@ pub mod roto;
pub mod scriptui;
mod session_settings;
pub mod shortcuts;
pub mod storage;
pub mod sysinfo;
pub mod templates;
pub mod tracking;
@@ -363,6 +364,8 @@ pub struct Session {
pub offloaded: Vec<offload::OffloadedJob>,
/// What the Media Browser browses (`None`: the local file system where there is one).
pub browser: Option<Arc<dyn media_browser::Browser>>,
/// The browser's storage (the web app; Settings ▸ Disk ▸ Browser Storage, `storage.*`).
pub storage: Option<Arc<dyn storage::StorageHost>>,
/// Offloaded jobs that ended, newest last (kind, error): how a caller waiting for one
/// (`wait: true` over the control channel in the browser) learns its outcome.
pub offload_log: Vec<(offload::JobKind, Option<String>)>,
@@ -447,6 +450,7 @@ impl Default for Session {
offloaded: vec![],
offload_log: vec![],
browser: None,
storage: None,
tasks: vec![],
job_log: vec![],
next_task_id: 1,