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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(pi): share one 0.80.6 pin between chat and pipes (#5204)
Ansh Grover461a8953f9f9
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs b/apps/screenpipe-app-tauri/src-tauri/src/pi.rsindex fb9fa7bff..2bf642480 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs@@ -6,7 +6,9 @@//!//! Manages the pi coding agent via RPC mode (stdin/stdout JSON protocol).-use screenpipe_core::agents::pi::screenpipe_cloud_models;+use screenpipe_core::agents::pi::{+ screenpipe_cloud_models, PI_AI_PACKAGE, PI_NAMESPACE_DIR, PI_PACKAGE, SCREENPIPE_API_URL,+};use serde::{Deserialize, Serialize};use serde_json::{json, Value};use specta::Type;@@ -293,11 +295,6 @@ fn check_package_bin(pkg_dir: std::path::PathBuf, bin_name: &str) -> Option<Stri}}-const PI_PACKAGE: &str = "@earendil-works/[email protected]";-const PI_AI_PACKAGE: &str = "@earendil-works/[email protected]";-const PI_NAMESPACE_DIR: &str = "@earendil-works";-const SCREENPIPE_API_URL: &str = "https://api.screenpipe.com/v1";-/// Pool of Pi sessions — each session_id gets its own PiManager/process.pub struct PiPool {pub sessions: HashMap<String, PiManager>,diff --git a/crates/screenpipe-core/src/agents/pi.rs b/crates/screenpipe-core/src/agents/pi.rsindex ca9fad7ab..0a8b18cc9 100644--- a/crates/screenpipe-core/src/agents/pi.rs+++ b/crates/screenpipe-core/src/agents/pi.rs@@ -16,9 +16,9 @@ use std::path::{Path, PathBuf};use std::sync::Arc;use tracing::{debug, error, info, warn};-const PI_PACKAGE: &str = "@earendil-works/[email protected]";-const PI_AI_PACKAGE: &str = "@earendil-works/[email protected]";-const PI_NAMESPACE_DIR: &str = "@earendil-works";+pub const PI_PACKAGE: &str = "@earendil-works/[email protected]";+pub const PI_AI_PACKAGE: &str = "@earendil-works/[email protected]";+pub const PI_NAMESPACE_DIR: &str = "@earendil-works";pub const SCREENPIPE_API_URL: &str = "https://api.screenpipe.com/v1";/// Windows creation flags for background agent spawns: CREATE_NO_WINDOW