Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

chore: cargo fmt

Louis Beaumont08202d43893b
diff --git a/crates/screenpipe-audio/src/meeting_streaming/controller.rs b/crates/screenpipe-audio/src/meeting_streaming/controller.rs
index 7163c7403..2dbeb1dbb 100644
--- a/crates/screenpipe-audio/src/meeting_streaming/controller.rs
+++ b/crates/screenpipe-audio/src/meeting_streaming/controller.rs
@@ -20,8 +20,8 @@ use super::{
deepgram_live,
events::{
MeetingAudioFrame, MeetingAudioTap, MeetingLifecycleEvent, MeetingStreamingError,
- MeetingStreamingSessionEnded, MeetingStreamingSessionStarted, MeetingStreamingStatusChanged,
- MeetingTranscriptDelta, MeetingTranscriptFinal,
+ MeetingStreamingSessionEnded, MeetingStreamingSessionStarted,
+ MeetingStreamingStatusChanged, MeetingTranscriptDelta, MeetingTranscriptFinal,
},
openai_realtime, selected_engine, MeetingStreamingConfig, MeetingStreamingProvider,
};
diff --git a/crates/screenpipe-core/src/agents/pi.rs b/crates/screenpipe-core/src/agents/pi.rs
index 8ca0c493f..af194fe39 100644
--- a/crates/screenpipe-core/src/agents/pi.rs
+++ b/crates/screenpipe-core/src/agents/pi.rs
@@ -195,7 +195,10 @@ impl PiExecutor {
/// We re-check on every pi-agent boot, so role downgrades + license
/// expirations wipe the skill automatically.
pub fn ensure_screenpipe_team_skill(project_dir: &Path) -> Result<()> {
- let skill_dir = project_dir.join(".pi").join("skills").join("screenpipe-team");
+ let skill_dir = project_dir
+ .join(".pi")
+ .join("skills")
+ .join("screenpipe-team");
let skill_path = skill_dir.join("SKILL.md");
let should_install = Self::is_enterprise_admin();
@@ -244,7 +247,10 @@ impl PiExecutor {
Ok(v) => v,
Err(_) => return false,
};
- let is_admin = parsed.get("is_admin").and_then(|v| v.as_bool()).unwrap_or(false);
+ let is_admin = parsed
+ .get("is_admin")
+ .and_then(|v| v.as_bool())
+ .unwrap_or(false);
// license_active defaults to true if the field is absent so older
// enterprise.json files don't lose skill access on upgrade. The
// website-side claim flow writes `license_active: false` when a