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
chore: include pending changes from other agents
Louis Beaumont6759622ebe75
diff --git a/apps/screenpipe-app-tauri/app/settings/page.tsx b/apps/screenpipe-app-tauri/app/settings/page.tsxindex afd8407ad..a1c145232 100644--- a/apps/screenpipe-app-tauri/app/settings/page.tsx+++ b/apps/screenpipe-app-tauri/app/settings/page.tsx@@ -254,8 +254,8 @@ function SettingsPageContent() {// Top-level nav itemsconst mainSections = [{ id: "home", label: "Home", icon: <Home className="h-4 w-4" /> },- { id: "timeline", label: "Timeline", icon: <Clock className="h-4 w-4" /> },{ id: "pipes", label: "Pipes", icon: <Workflow className="h-4 w-4" /> },+ { id: "timeline", label: "Timeline", icon: <Clock className="h-4 w-4" /> },];// Settings modal sidebar itemsdiff --git a/apps/screenpipe-app-tauri/components/settings/shortcut-row.tsx b/apps/screenpipe-app-tauri/components/settings/shortcut-row.tsxindex a6c85c45a..a0bcf1612 100644--- a/apps/screenpipe-app-tauri/components/settings/shortcut-row.tsx+++ b/apps/screenpipe-app-tauri/components/settings/shortcut-row.tsx@@ -158,16 +158,16 @@ const ShortcutRow = ({description: `${shortcut.replace(/_/g, " ")} enabled`,});- // Remove from disabled shortcuts if it exists- updateSettings({- disabledShortcuts: settings.disabledShortcuts.filter(- (s) => s !== shortcut- ),- });-+ // Remove from disabled shortcuts and set the key value in a single update+ // to avoid race condition (both updates do read-modify-write)switch (type) {case "global":- updateSettings({ [shortcut]: keys });+ await updateSettings({+ disabledShortcuts: settings.disabledShortcuts.filter(+ (s) => s !== shortcut+ ),+ [shortcut]: keys,+ });// Build updated shortcuts with the NEW value for the changed shortcutconst updatedShortcuts = {showScreenpipeShortcut: shortcut === "showScreenpipeShortcut" ? keys : settings.showScreenpipeShortcut,diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex 219fc8eb6..72ab6faa2 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -288,8 +288,8 @@ export function createDefaultSettingsObject(): Settings {try {const p = platform();DEFAULT_SETTINGS.platform = p;- DEFAULT_SETTINGS.disabledShortcuts = DEFAULT_IGNORED_WINDOWS_IN_ALL_OS;- DEFAULT_SETTINGS.disabledShortcuts.push(...(DEFAULT_IGNORED_WINDOWS_PER_OS[p] ?? []));+ DEFAULT_SETTINGS.ignoredWindows = [...DEFAULT_IGNORED_WINDOWS_IN_ALL_OS];+ DEFAULT_SETTINGS.ignoredWindows.push(...(DEFAULT_IGNORED_WINDOWS_PER_OS[p] ?? []));DEFAULT_SETTINGS.ocrEngine = p === "macos" ? "apple-native" : p === "windows" ? "windows-native" : "tesseract";DEFAULT_SETTINGS.fps = p === "macos" ? 0.5 : 1;DEFAULT_SETTINGS.showScreenpipeShortcut = p === "windows" ? "Alt+S" : "Control+Super+S";diff --git a/apps/screenpipe-app-tauri/lib/utils/tauri.ts b/apps/screenpipe-app-tauri/lib/utils/tauri.tsindex 6cbe64ad5..42a9ac6bf 100644--- a/apps/screenpipe-app-tauri/lib/utils/tauri.ts+++ b/apps/screenpipe-app-tauri/lib/utils/tauri.ts@@ -74,6 +74,29 @@ async requestArcAutomationPermission() : Promise<boolean> {async getEnv(name: string) : Promise<string> {return await TAURI_INVOKE("get_env", { name });},+/**+ * Check vault lock state from filesystem (no server needed).+ */+async vaultStatus() : Promise<Result<string, string>> {+ try {+ return { status: "ok", data: await TAURI_INVOKE("vault_status") };+} catch (e) {+ if(e instanceof Error) throw e;+ else return { status: "error", error: e as any };+}+},+/**+ * Fast unlock: verify password, decrypt DB only, remove sentinel.+ * Data files are decrypted in background — server can start immediately.+ */+async vaultUnlock(password: string) : Promise<Result<null, string>> {+ try {+ return { status: "ok", data: await TAURI_INVOKE("vault_unlock", { password }) };+} catch (e) {+ if(e instanceof Error) throw e;+ else return { status: "error", error: e as any };+}+},async getLogFiles() : Promise<Result<LogFile[], string>> {try {return { status: "ok", data: await TAURI_INVOKE("get_log_files") };@@ -1013,7 +1036,7 @@ useSystemDefaultAudio?: boolean; usePiiRemoval: boolean;/*** Filter music-dominant audio before transcription using spectral analysis*/-filterMusic?: boolean; port: number; dataDir: string; disableAudio: boolean; ignoredWindows: string[]; includedWindows: string[]; ignoredUrls?: string[]; fps: number; vadSensitivity: string; analyticsEnabled: boolean; audioChunkDuration: number; useChineseMirror: boolean; languages: string[]; embeddedLLM: EmbeddedLLM; autoStartEnabled: boolean; platform: string; disabledShortcuts: string[]; user: User; showScreenpipeShortcut: string; startRecordingShortcut: string; stopRecordingShortcut: string; startAudioShortcut: string; stopAudioShortcut: string; showChatShortcut: string; searchShortcut: string; realtimeAudioTranscriptionEngine: string; disableVision: boolean;+filterMusic?: boolean; port: number; dataDir: string; disableAudio: boolean; ignoredWindows: string[]; includedWindows: string[]; ignoredUrls?: string[]; fps: number; vadSensitivity: string; analyticsEnabled: boolean; audioChunkDuration: number; useChineseMirror: boolean; languages: string[]; embeddedLLM: EmbeddedLLM; autoStartEnabled: boolean; platform: string; disabledShortcuts: string[]; user: User; showScreenpipeShortcut: string; startRecordingShortcut: string; stopRecordingShortcut: string; startAudioShortcut: string; stopAudioShortcut: string; showChatShortcut: string; searchShortcut: string; lockVaultShortcut?: string; realtimeAudioTranscriptionEngine: string; disableVision: boolean;/*** When true, screen capture continues but OCR text extraction is skipped.* Reduces CPU usage significantly while still recording video.diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex dfe7d2b17..960971fc5 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -8656,6 +8656,16 @@ version = "0.20.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97"+[[package]]+name = "rpassword"+version = "5.0.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb"+dependencies = [+ "libc",+ "winapi",+]+[[package]]name = "rsa"version = "0.9.10"@@ -9162,7 +9172,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "2.2.79"+version = "2.2.80"dependencies = ["anyhow","arboard",@@ -9208,6 +9218,7 @@ dependencies = ["screenpipe-engine","screenpipe-events","screenpipe-screen",+ "screenpipe-vault","sentry 0.42.0","serde","serde_json",@@ -9437,6 +9448,7 @@ dependencies = ["port_check","regex","reqwest 0.12.12",+ "rpassword","screenpipe-a11y","screenpipe-apple-intelligence","screenpipe-audio",@@ -9445,6 +9457,7 @@ dependencies = ["screenpipe-db","screenpipe-events","screenpipe-screen",+ "screenpipe-vault","sentry 0.36.0","serde","serde_json",@@ -9517,6 +9530,23 @@ dependencies = ["zbus",]+[[package]]+name = "screenpipe-vault"+version = "0.3.178"+dependencies = [+ "anyhow",+ "argon2",+ "chacha20poly1305",+ "rand 0.8.5",+ "serde",+ "serde_json",+ "thiserror 1.0.69",+ "tokio",+ "tracing",+ "walkdir",+ "zeroize",+]+[[package]]name = "scroll"version = "0.12.0"