We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d17068c + 3c3de9c commit b04728aCopy full SHA for b04728a
2 files changed
src-tauri/migrations/20260515000_agent_run_indexes.sql
@@ -0,0 +1 @@
1
+CREATE INDEX IF NOT EXISTS idx_agent_runs_parent_agent_run_id ON agent_runs(parent_agent_run_id);
src-tauri/src/tools/executor.rs
@@ -32,10 +32,10 @@ fn sensitive_globset() -> &'static GlobSet {
32
builder.add(glob);
33
}
34
35
- builder
36
- .build()
37
- .map_err(|error| format!("sensitive globset build failed: {error}"))
38
- .unwrap_or_else(|error| panic!("{}", error))
+ builder.build().unwrap_or_else(|error| {
+ log::error!("sensitive_globset build failed: {error} — all file access will require permission");
+ GlobSetBuilder::new().build().expect("empty GlobSet always builds")
+ })
39
})
40
41
0 commit comments