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

merge remote changes

Louis Beaumont828397825345
diff --git a/apps/screenpipe-app-tauri/lib/utils/tauri.ts b/apps/screenpipe-app-tauri/lib/utils/tauri.ts
index 215b9ba0c..9ded79142 100644
--- a/apps/screenpipe-app-tauri/lib/utils/tauri.ts
+++ b/apps/screenpipe-app-tauri/lib/utils/tauri.ts
@@ -92,9 +92,16 @@ async checkBrowsersAutomationPermission() : Promise<boolean> {
async requestBrowsersAutomationPermission() : Promise<boolean> {
return await TAURI_INVOKE("request_browsers_automation_permission");
},
-async getBrowsersAutomationStatus() : Promise<{ name: string; status: string; running: boolean }[]> {
+/**
+ * Returns per-browser automation permission status for all installed Chromium browsers.
+ */
+async getBrowsersAutomationStatus() : Promise<BrowserAutomationStatus[]> {
return await TAURI_INVOKE("get_browsers_automation_status");
},
+/**
+ * Request automation permission for a single browser by name.
+ * Returns the new status: "granted", "denied", or "not_asked".
+ */
async requestSingleBrowserAutomation(browserName: string) : Promise<string> {
return await TAURI_INVOKE("request_single_browser_automation", { browserName });
},
@@ -220,6 +227,12 @@ async saveEnterpriseLicenseKey(licenseKey: string) : Promise<Result<null, string
else return { status: "error", error: e as any };
}
},
+/**
+ * Called by the frontend after fetching the enterprise policy.
+ */
+async setEnterprisePolicy(hiddenSections: string[]) : Promise<void> {
+ await TAURI_INVOKE("set_enterprise_policy", { hiddenSections });
+},
async getDiskUsage(forceRefresh: boolean | null, dataDir: string | null) : Promise<Result<JsonValue, string>> {
try {
return { status: "ok", data: await TAURI_INVOKE("get_disk_usage", { forceRefresh, dataDir }) };
@@ -994,6 +1007,11 @@ async getHardwareCapability() : Promise<HardwareCapability> {
export type AIPreset = { id: string; prompt: string; provider: AIProviderType; url?: string; model?: string; defaultPreset: boolean; apiKey: string | null; maxContextChars: number; maxTokens?: number }
export type AIProviderType = "openai" | "openai-chatgpt" | "native-ollama" | "custom" | "screenpipe-cloud" | "pi" | "anthropic"
export type AudioDeviceInfo = { name: string; isDefault: boolean }
+/**
+ * Per-browser automation status: "granted", "denied", or "not_asked".
+ * Also includes whether the browser is currently running.
+ */
+export type BrowserAutomationStatus = { name: string; status: string; running: boolean }
export type BrowserLogEntry = { level: string; message: string }
export type CacheFile = { path: string; label: string; size_bytes: bigint }
export type CachedSuggestions = { suggestions: Suggestion[]; generatedAt: string; mode: string; aiGenerated: boolean; tags: string[] }
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index e7c067cd6..b631685a9 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4776,7 +4776,6 @@ dependencies = [
"hyper 1.8.1",
"hyper-util",
"rustls 0.23.37",
- "rustls-native-certs",
"rustls-pki-types",
"tokio",
"tokio-rustls",
@@ -8936,7 +8935,6 @@ dependencies = [
"pin-project-lite",
"quinn",
"rustls 0.23.37",
- "rustls-native-certs",
"rustls-pemfile 2.2.0",
"rustls-pki-types",
"serde",
@@ -9642,7 +9640,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.2.297"
+version = "2.2.296"
dependencies = [
"anyhow",
"arboard",
@@ -9815,7 +9813,6 @@ version = "0.3.244"
dependencies = [
"anyhow",
"async-trait",
- "base64 0.22.1",
"chrono",
"dirs 6.0.0",
"eventkit-rs",
@@ -9826,7 +9823,6 @@ dependencies = [
"objc2 0.6.4",
"objc2-event-kit",
"objc2-foundation 0.3.2",
- "once_cell",
"reqwest 0.12.12",
"russh",
"russh-sftp",