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(tauri): pin plugin versions to resolve version mismatch warnings (#2002)

Axel Stevens052d91fafd76
diff --git a/screenpipe-app-tauri/bun.lockb b/screenpipe-app-tauri/bun.lockb
index 44f5b5c9c..138b94267 100755
Binary files a/screenpipe-app-tauri/bun.lockb and b/screenpipe-app-tauri/bun.lockb differ
diff --git a/screenpipe-app-tauri/lib/hooks/use-profiles.tsx b/screenpipe-app-tauri/lib/hooks/use-profiles.tsx
index 524ff64ec..08a481b31 100644
--- a/screenpipe-app-tauri/lib/hooks/use-profiles.tsx
+++ b/screenpipe-app-tauri/lib/hooks/use-profiles.tsx
@@ -35,6 +35,7 @@ const getProfilesStore = async () => {
console.log(dir, "dir");
return new LazyStore(`${dir}/screenpipe/profiles.bin`, {
autoSave: false,
+ defaults: {},
});
})();
}
@@ -92,6 +93,7 @@ const copyProfileSettings = async (
const store = new LazyStore(`${dir}/screenpipe/${fileName}`, {
autoSave: false,
+ defaults: {},
});
// Start with default settings
diff --git a/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index 2b165a7a4..c8f66cbf4 100644
--- a/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -284,6 +284,7 @@ export const getStore = async () => {
const dir = await localDataDir();
const profilesStore = new TauriStore(`${dir}/screenpipe/profiles.bin`, {
autoSave: false,
+ defaults: {},
});
const activeProfile =
(await profilesStore.get("activeProfile")) || "default";
@@ -294,6 +295,7 @@ export const getStore = async () => {
console.log("activeProfile", activeProfile, file);
return new TauriStore(`${dir}/screenpipe/${file}`, {
autoSave: false,
+ defaults: {},
});
})();
}
diff --git a/screenpipe-app-tauri/package.json b/screenpipe-app-tauri/package.json
index c85052f24..a6e9ba013 100644
--- a/screenpipe-app-tauri/package.json
+++ b/screenpipe-app-tauri/package.json
@@ -38,10 +38,10 @@
"@supabase/supabase-js": "^2.47.3",
"@tanstack/react-virtual": "^3.11.0",
"@tauri-apps/api": "^2.8.0",
- "@tauri-apps/plugin-deep-link": "~2",
+ "@tauri-apps/plugin-deep-link": "2.4.5",
"@tauri-apps/plugin-dialog": "2.3.3",
"@tauri-apps/plugin-fs": "2.4.2",
- "@tauri-apps/plugin-http": "~2",
+ "@tauri-apps/plugin-http": "2.2.0",
"@tauri-apps/plugin-notification": "2.3.1",
"@tauri-apps/plugin-opener": "^2.5.0",
"@tauri-apps/plugin-os": "2.3.1",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 50b78e29d..7facd957f 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -6649,9 +6649,9 @@ dependencies = [
[[package]]
name = "tauri-plugin-deep-link"
-version = "2.4.2"
+version = "2.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d430110d4ee102a9b673d3c03ff48098c80fe8ca71ba1ff52d8a5919538a1a6"
+checksum = "6e82759f7c7d51de3cbde51c04b3f2332de52436ed84541182cd8944b04e9e73"
dependencies = [
"dunce",
"plist",
@@ -6725,9 +6725,9 @@ dependencies = [
[[package]]
name = "tauri-plugin-http"
-version = "2.0.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a7125717a0cb61603a4395e299c47516b5843d71ae17139e4c92a71fa013270"
+checksum = "e62a9bde54d6a0218b63f5a248f02056ad4316ba6ad81dfb9e4f73715df5deb1"
dependencies = [
"data-url",
"http 1.1.0",
@@ -6739,7 +6739,7 @@ dependencies = [
"tauri",
"tauri-plugin",
"tauri-plugin-fs",
- "thiserror 1.0.69",
+ "thiserror 2.0.5",
"tokio",
"url",
"urlpattern",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index df43d6a29..1b46153f7 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -34,7 +34,7 @@ tauri-plugin-process = "=2.3.0"
tauri-plugin-autostart = "=2.5.0"
tauri-plugin-shell = "=2.3.0"
tauri-plugin-store = "=2.4.0"
-tauri-plugin-http = "2"
+tauri-plugin-http = "=2.2.0"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
@@ -76,7 +76,7 @@ axum-macros = "0.5.0"
dirs = "5.0.1"
-tauri-plugin-deep-link = "2"
+tauri-plugin-deep-link = "=2.4.5"
once_cell = "1.20.0"
tauri-plugin-sentry = "0.4.0"