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

Bump app to v2.2.94, Pi to 0.57.1, bun to 1.3.10

Louis Beaumont217a9e5b2663
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 253bbcf42..faae53561 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -315,7 +315,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
- bun-version: 1.3.7
+ bun-version: 1.3.10
- name: Setup Node
uses: actions/setup-node@v4
diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.yml
index 550ff2ca3..5c38b90c8 100644
--- a/.github/workflows/release-enterprise-windows.yml
+++ b/.github/workflows/release-enterprise-windows.yml
@@ -38,7 +38,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
- bun-version: "1.3.7"
+ bun-version: "1.3.10"
- name: Setup Node
uses: actions/setup-node@v4
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index a247ca77f..ba5b8b9e4 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -9172,7 +9172,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.2.92"
+version = "2.2.93"
dependencies = [
"anyhow",
"arboard",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index e7cfc34b1..c995aa6e9 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.2.93"
+version = "2.2.94"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs b/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs
index 4f83c2195..2b070ad3d 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs
@@ -513,6 +513,7 @@ mod tests {
let handle = EmbeddedServerHandle {
shutdown_tx,
ui_recorder_handle: Some(screenpipe_engine::UiRecorderHandle::new_for_test(flag)),
+ audio_manager: None,
};
assert!(!flag_clone.load(Ordering::Relaxed));
@@ -529,6 +530,7 @@ mod tests {
let handle = EmbeddedServerHandle {
shutdown_tx,
ui_recorder_handle: None,
+ audio_manager: None,
};
handle.shutdown();
@@ -544,6 +546,7 @@ mod tests {
let handle = EmbeddedServerHandle {
shutdown_tx,
ui_recorder_handle: None,
+ audio_manager: None,
};
// Should not panic when ui_recorder_handle is None
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
index 58927fb7d..ba11dd23b 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
@@ -199,7 +199,7 @@ fn check_package_bin(pkg_dir: std::path::PathBuf, bin_name: &str) -> Option<Stri
}
}
-const PI_PACKAGE: &str = "@mariozechner/[email protected]";
+const PI_PACKAGE: &str = "@mariozechner/[email protected]";
const SCREENPIPE_API_URL: &str = "https://api.screenpi.pe/v1";
/// Pool of Pi sessions — each session_id gets its own PiManager/process.
@@ -1211,7 +1211,7 @@ pub async fn pi_start_inner(
}
// Bun 1.3+ fixed the readline pipe bug (bun 1.2 needed a PTY workaround).
- // The bundled bun is 1.3.7, so piped stdin works correctly.
+ // The bundled bun is 1.3.10, so piped stdin works correctly.
// PTY canonical mode has a ~1024-byte line limit on macOS which silently
// drops large JSON commands (prompts are 2500+ bytes), so pipe is required.
cmd.stdin(Stdio::piped());
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/suggestions.rs b/apps/screenpipe-app-tauri/src-tauri/src/suggestions.rs
index 0d930863c..146ead8df 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/suggestions.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/suggestions.rs
@@ -1266,33 +1266,33 @@ mod tests {
}
#[test]
- fn test_parse_ai_suggestions_valid_json() {
+ fn test_parse_ai_response_valid_json() {
let input = r#"["What did I code?", "Show my git commits"]"#;
- let result = parse_ai_suggestions(input);
+ let result = parse_ai_response(input);
assert!(result.is_some());
- assert_eq!(result.unwrap().len(), 2);
+ assert_eq!(result.unwrap().suggestions.len(), 2);
}
#[test]
- fn test_parse_ai_suggestions_wrapped_json() {
+ fn test_parse_ai_response_wrapped_json() {
let input = "Here are your suggestions:\n```json\n[\"question 1\", \"question 2\"]\n```";
- let result = parse_ai_suggestions(input);
+ let result = parse_ai_response(input);
assert!(result.is_some());
- assert_eq!(result.unwrap().len(), 2);
+ assert_eq!(result.unwrap().suggestions.len(), 2);
}
#[test]
- fn test_parse_ai_suggestions_garbage() {
+ fn test_parse_ai_response_garbage() {
let input = "I cannot generate suggestions right now.";
- let result = parse_ai_suggestions(input);
+ let result = parse_ai_response(input);
assert!(result.is_none());
}
#[test]
- fn test_parse_ai_suggestions_caps_at_4() {
+ fn test_parse_ai_response_caps_at_4() {
let input = r#"["a", "b", "c", "d", "e", "f"]"#;
- let result = parse_ai_suggestions(input).unwrap();
- assert_eq!(result.len(), 4);
+ let result = parse_ai_response(input).unwrap();
+ assert_eq!(result.suggestions.len(), 4);
}
// ─── Benchmark tests ─────────────────────────────────────────────────────
@@ -1490,9 +1490,9 @@ mod tests {
for run in 0..3 {
let result = generate_ai_suggestions(mode, &apps, &windows).await;
match result {
- Some(suggestions) => {
+ Some(ai_result) => {
let mut run_scores = Vec::new();
- for s in &suggestions {
+ for s in &ai_result.suggestions {
let (spec, act, nat, brev) =
score_suggestion(&s.text, &top_apps, &speakers);
let total = weighted_score(spec, act, nat, brev);
@@ -1502,14 +1502,14 @@ mod tests {
all_scores.push(avg);
println!("\n Run {}: avg={:.2}/3.00", run + 1, avg);
- for (i, s) in suggestions.iter().enumerate() {
+ for (i, s) in ai_result.suggestions.iter().enumerate() {
let (spec, act, nat, brev) =
score_suggestion(&s.text, &top_apps, &speakers);
let total = weighted_score(spec, act, nat, brev);
println!(" [{}] \"{}\"\n spec={:.1} act={:.1} nat={:.1} brev={:.1} → {:.2}",
i + 1, s.text, spec, act, nat, brev, total);
}
- all_suggestions.extend(suggestions);
+ all_suggestions.extend(ai_result.suggestions);
}
None => {
println!("\n Run {}: AI returned no results", run + 1);