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

fix: iframe

Louis Beaumont0472f3260a62
diff --git a/examples/apps/screenpipe-app-tauri/lib/screenpipe.ts b/examples/apps/screenpipe-app-tauri/lib/screenpipe.ts
index 1141cf851..4c61f4a7d 100644
--- a/examples/apps/screenpipe-app-tauri/lib/screenpipe.ts
+++ b/examples/apps/screenpipe-app-tauri/lib/screenpipe.ts
@@ -30,19 +30,11 @@ export const screenpipeQuery = z.object({
.string()
// 1 hour ago
.default(new Date(Date.now() - 3600000).toISOString())
- .describe(`Start time for search range in ISO 8601 format
- - Current time: ${new Date().toLocaleString()}. Adjust start/end times to match user intent.
- - Convert user times to UTC. User timezone: ${
- Intl.DateTimeFormat().resolvedOptions().timeZone
- }
- `),
- end_time: z.string().default(new Date().toISOString())
- .describe(`End time for search range in ISO 8601 format
- - Current time: ${new Date().toLocaleString()}. Adjust start/end times to match user intent.
- - Convert user times to UTC. User timezone: ${
- Intl.DateTimeFormat().resolvedOptions().timeZone
- }
- `),
+ .describe(`Start time for search range in ISO 8601 format`),
+ end_time: z
+ .string()
+ .default(new Date().toISOString())
+ .describe(`End time for search range in ISO 8601 format`),
app_name: z
.string()
.describe(
@@ -107,4 +99,4 @@ export async function queryScreenpipe(params: z.infer<typeof screenpipeQuery>) {
console.error("Error querying screenpipe:", error);
return null;
}
-}
\ No newline at end of file
+}
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 5d0cbf1d7..acc44a1ad 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.1.48"
+version = "0.1.49"
description = ""
authors = ["you"]
license = ""
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
index 2f7502563..78f17c29b 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
@@ -99,7 +99,8 @@
],
"media-src": "'self' mediadevices: asset: http://asset.localhost file: blob: tauri://localhost",
"img-src": "'self' asset: http://asset.localhost blob: data: https://*.githubusercontent.com https://*.github.com https://github.com https://*.s3.amazonaws.com",
- "style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com"
+ "style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com",
+ "frame-src": "https://www.youtube.com"
}
}
}