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.0.565

Louis Beaumontb70eba085780
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index 45353f165..068ea30f0 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -2555,18 +2555,18 @@ export function StandaloneChat({ className }: { className?: string } = {}) {
}}
>
<div className="max-w-4xl mx-auto w-full p-4 space-y-4">
- {messages.length === 0 && disabledReason && (
+ {messages.length === 0 && disabledReason && (!hasPresets || !hasValidModel || needsLogin) && (
<div className="relative flex flex-col items-center justify-center py-12 space-y-4">
<div className="relative p-6 rounded-2xl border bg-muted/50 border-border/50">
- {needsLogin || (piStarting || !piReady) ? (
- <PipeAIIconLarge size={48} thinking={piStarting || !piReady} className="text-muted-foreground" />
+ {needsLogin ? (
+ <PipeAIIconLarge size={48} thinking={false} className="text-muted-foreground" />
) : (
<Settings className="h-12 w-12 text-muted-foreground" />
)}
</div>
<div className="text-center space-y-2">
<h3 className="font-semibold tracking-tight">
- {!hasPresets ? "No AI Presets" : !hasValidModel ? "No Model Selected" : needsLogin ? "Login to continue" : (piStarting || !piReady) ? "Setting up Pi..." : "Setup Required"}
+ {!hasPresets ? "No AI Presets" : !hasValidModel ? "No Model Selected" : needsLogin ? "Login to continue" : "Setup Required"}
</h3>
<p className="text-sm text-muted-foreground max-w-sm">
{needsLogin ? "Sign in to use the AI assistant" : disabledReason}
@@ -2596,7 +2596,7 @@ export function StandaloneChat({ className }: { className?: string } = {}) {
)}
</div>
)}
- {messages.length === 0 && canChat && (
+ {messages.length === 0 && hasPresets && hasValidModel && !needsLogin && (
<SummaryCards
onSendMessage={sendMessage}
autoSuggestions={autoSuggestions}
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index bc9c2ebd4..8af56e3e0 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.0.564"
+version = "2.0.565"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/permissions.rs b/apps/screenpipe-app-tauri/src-tauri/src/permissions.rs
index f593b8a82..85f83e5d9 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/permissions.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/permissions.rs
@@ -693,24 +693,25 @@ pub async fn start_permission_monitor(app: tauri::AppHandle) {
let accessibility_confirmed_lost = accessibility_fail_count == REQUIRED_CONSECUTIVE_FAILURES;
let arc_confirmed_lost = arc_fail_count == REQUIRED_CONSECUTIVE_FAILURES;
- if screen_confirmed_lost || mic_confirmed_lost || accessibility_confirmed_lost || arc_confirmed_lost {
- if !screen_ok || !mic_ok || !accessibility_ok || !arc_ok {
- // Enforce cooldown to prevent modal spam from flaky checks
- let should_emit = match last_emitted {
- Some(t) => t.elapsed() >= EMIT_COOLDOWN,
- None => true,
- };
- if should_emit {
- if let Err(e) = app.emit("permission-lost", serde_json::json!({
- "screen_recording": !screen_ok,
- "microphone": !mic_ok,
- "accessibility": !accessibility_ok,
- "arc_automation": !arc_ok,
- })) {
- error!("failed to emit permission-lost event: {}", e);
- }
- last_emitted = Some(tokio::time::Instant::now());
+ // Only emit permission-lost when a CORE permission is lost (screen, mic, accessibility).
+ // Arc automation is optional — don't open the recovery modal just for that.
+ let core_lost = screen_confirmed_lost || mic_confirmed_lost || accessibility_confirmed_lost;
+ if core_lost && (!screen_ok || !mic_ok || !accessibility_ok) {
+ // Enforce cooldown to prevent modal spam from flaky checks
+ let should_emit = match last_emitted {
+ Some(t) => t.elapsed() >= EMIT_COOLDOWN,
+ None => true,
+ };
+ if should_emit {
+ if let Err(e) = app.emit("permission-lost", serde_json::json!({
+ "screen_recording": !screen_ok,
+ "microphone": !mic_ok,
+ "accessibility": !accessibility_ok,
+ "arc_automation": !arc_ok,
+ })) {
+ error!("failed to emit permission-lost event: {}", e);
}
+ last_emitted = Some(tokio::time::Instant::now());
}
}
}