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

feat: add release + $set person properties to PostHog analytics

Louis Beaumontb898192a2cb9
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 08b07f299..6f6bbe284 100755
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -218,17 +218,6 @@ dependencies = [
"generic-array",
]
-[[package]]
-name = "aes"
-version = "0.8.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
-dependencies = [
- "cfg-if 1.0.4",
- "cipher",
- "cpufeatures",
-]
-
[[package]]
name = "ahash"
version = "0.8.12"
@@ -432,7 +421,7 @@ dependencies = [
"base64ct",
"blake2",
"cpufeatures",
- "password-hash 0.5.0",
+ "password-hash",
]
[[package]]
@@ -1167,50 +1156,6 @@ dependencies = [
"piper",
]
-[[package]]
-name = "bollard"
-version = "0.16.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0aed08d3adb6ebe0eff737115056652670ae290f177759aac19c30456135f94c"
-dependencies = [
- "base64 0.22.1",
- "bollard-stubs",
- "bytes",
- "futures-core",
- "futures-util",
- "hex",
- "http 1.4.0",
- "http-body-util",
- "hyper 1.8.1",
- "hyper-named-pipe",
- "hyper-util",
- "hyperlocal-next",
- "log",
- "pin-project-lite",
- "serde",
- "serde_derive",
- "serde_json",
- "serde_repr",
- "serde_urlencoded",
- "thiserror 1.0.69",
- "tokio",
- "tokio-util",
- "tower-service",
- "url",
- "winapi",
-]
-
-[[package]]
-name = "bollard-stubs"
-version = "1.44.0-rc.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "709d9aa1c37abb89d40f19f5d0ad6f0d88cb1581264e571c9350fc5bb89cf1c5"
-dependencies = [
- "serde",
- "serde_repr",
- "serde_with",
-]
-
[[package]]
name = "brotli"
version = "8.0.2"
@@ -1305,53 +1250,6 @@ dependencies = [
"bytes",
]
-[[package]]
-name = "bzip2"
-version = "0.4.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
-dependencies = [
- "bzip2-sys",
- "libc",
-]
-
-[[package]]
-name = "bzip2-sys"
-version = "0.1.13+1.0.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14"
-dependencies = [
- "cc",
- "pkg-config",
-]
-
-[[package]]
-name = "cacache"
-version = "13.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c5063741c7b2e260bbede781cf4679632dd90e2718e99f7715e46824b65670b"
-dependencies = [
- "digest",
- "either",
- "futures",
- "hex",
- "libc",
- "memmap2 0.5.10",
- "miette",
- "reflink-copy",
- "serde",
- "serde_derive",
- "serde_json",
- "sha1",
- "sha2",
- "ssri",
- "tempfile",
- "thiserror 1.0.69",
- "tokio",
- "tokio-stream",
- "walkdir",
-]
-
[[package]]
name = "cairo-rs"
version = "0.18.5"
@@ -1394,7 +1292,7 @@ dependencies = [
"byteorder",
"gemm 0.17.1",
"half",
- "memmap2 0.9.9",
+ "memmap2",
"num-traits",
"num_cpus",
"rand 0.9.2",
@@ -1691,16 +1589,6 @@ dependencies = [
"clap_derive",
]
-[[package]]
-name = "clap-verbosity-flag"
-version = "2.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34c77f67047557f62582784fd7482884697731b2932c7d37ced54bce2312e1e2"
-dependencies = [
- "clap",
- "log",
-]
-
[[package]]
name = "clap_builder"
version = "4.5.57"
@@ -1908,12 +1796,6 @@ dependencies = [
"tiny-keccak",
]
-[[package]]
-name = "constant_time_eq"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
-
[[package]]
name = "convert_case"
version = "0.4.0"
@@ -3004,16 +2886,6 @@ dependencies = [
"syn 2.0.114",
]
-[[package]]
-name = "env_filter"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2"
-dependencies = [
- "log",
- "regex",
-]
-
[[package]]
name = "env_home"
version = "0.1.0"
@@ -3033,19 +2905,6 @@ dependencies = [
"termcolor",
]
-[[package]]
-name = "env_logger"
-version = "0.11.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
-dependencies = [
- "anstream",
- "anstyle",
- "env_filter",
- "jiff",
- "log",
-]
-
[[package]]
name = "equator"
version = "0.4.2"
@@ -3372,7 +3231,7 @@ checksum = "457e789b3d1202543297a350643cf459f836cade38934e7a4cf6a39e7cde2905"
dependencies = [
"fontconfig-parser",
"log",
- "memmap2 0.9.9",
+ "memmap2",
"slotmap",
"tinyvec",
"ttf-parser",
@@ -4527,51 +4386,6 @@ dependencies = [
"pin-project-lite",
]
-[[package]]
-name = "http-cache"
-version = "0.20.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e883defacf53960c7717d9e928dc8667be9501d9f54e6a8b7703d7a30320e9c"
-dependencies = [
- "async-trait",
- "bincode",
- "cacache",
- "http 1.4.0",
- "http-cache-semantics",
- "httpdate",
- "serde",
- "url",
-]
-
-[[package]]
-name = "http-cache-reqwest"
-version = "0.15.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e076afd9d376f09073b515ce95071b29393687d98ed521948edb899195595ddf"
-dependencies = [
- "anyhow",
- "async-trait",
- "http 1.4.0",
- "http-cache",
- "http-cache-semantics",
- "reqwest 0.12.12",
- "reqwest-middleware",
- "serde",
- "url",
-]
-
-[[package]]
-name = "http-cache-semantics"
-version = "2.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92baf25cf0b8c9246baecf3a444546360a97b569168fdf92563ee6a47829920c"
-dependencies = [
- "http 1.4.0",
- "http-serde",
- "serde",
- "time",
-]
-
[[package]]
name = "http-range"
version = "0.1.5"
@@ -4584,16 +4398,6 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f"
-[[package]]
-name = "http-serde"
-version = "2.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f056c8559e3757392c8d091e796416e4649d8e49e88b8d76df6c002f05027fd"
-dependencies = [
- "http 1.4.0",
- "serde",
-]
-
[[package]]
name = "httparse"
version = "1.10.1"
@@ -4658,21 +4462,6 @@ dependencies = [
"want",
]
-[[package]]
-name = "hyper-named-pipe"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73b7d8abf35697b81a825e386fc151e0d503e8cb5fcb93cc8669c376dfd6f278"
-dependencies = [
- "hex",
- "hyper 1.8.1",
- "hyper-util",
- "pin-project-lite",
- "tokio",
- "tower-service",
- "winapi",
-]
-
[[package]]
name = "hyper-rustls"
version = "0.27.7"
@@ -4729,21 +4518,6 @@ dependencies = [
"tracing",
]
-[[package]]
-name = "hyperlocal-next"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acf569d43fa9848e510358c07b80f4adf34084ddc28c6a4a651ee8474c070dcc"
-dependencies = [
- "hex",
- "http-body-util",
- "hyper 1.8.1",
- "hyper-util",
- "pin-project-lite",
- "tokio",
- "tower-service",
-]
-
[[package]]
name = "iana-time-zone"
version = "0.1.65"
@@ -5206,30 +4980,6 @@ dependencies = [
"system-deps",
]
-[[package]]
-name = "jiff"
-version = "0.2.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e67e8da4c49d6d9909fe03361f9b620f58898859f5c7aded68351e85e71ecf50"
-dependencies = [
- "jiff-static",
- "log",
- "portable-atomic",
- "portable-atomic-util",
- "serde_core",
-]
-
-[[package]]
-name = "jiff-static"
-version = "0.2.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0c84ee7f197eca9a86c6fd6cb771e55eb991632f15f2bc3ca6ec838929e6e78"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.114",
-]
-
[[package]]
name = "jni"
version = "0.21.1"
@@ -5321,24 +5071,6 @@ version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
-[[package]]
-name = "killport"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "317ecd5bf5ef33cfba26c3bdd8df22cc77978754bc2111c9bc7fbd8ac8084235"
-dependencies = [
- "bollard",
- "clap",
- "clap-verbosity-flag",
- "env_logger 0.11.8",
- "libproc",
- "log",
- "nix 0.28.0",
- "procfs",
- "tokio",
- "windows-sys 0.52.0",
-]
-
[[package]]
name = "knf-rs"
version = "0.2.4"
@@ -5503,17 +5235,6 @@ version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
-[[package]]
-name = "libproc"
-version = "0.14.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a54ad7278b8bc5301d5ffd2a94251c004feb971feba96c971ea4063645990757"
-dependencies = [
- "bindgen 0.72.1",
- "errno",
- "libc",
-]
-
[[package]]
name = "libpulse-binding"
version = "2.30.1"
@@ -5632,7 +5353,7 @@ dependencies = [
"gl",
"image 0.25.9",
"khronos-egl",
- "memmap2 0.9.9",
+ "memmap2",
"rustix 1.1.3",
"thiserror 2.0.18",
"tracing",
@@ -5884,15 +5605,6 @@ version = "2.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
-[[package]]
-name = "memmap2"
-version = "0.5.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
-dependencies = [
- "libc",
-]
-
[[package]]
name = "memmap2"
version = "0.9.9"
@@ -5927,29 +5639,6 @@ dependencies = [
"objc",
]
-[[package]]
-name = "miette"
-version = "5.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59bb584eaeeab6bd0226ccf3509a69d7936d148cf3d036ad350abe35e8c6856e"
-dependencies = [
- "miette-derive",
- "once_cell",
- "thiserror 1.0.69",
- "unicode-width 0.1.14",
-]
-
-[[package]]
-name = "miette-derive"
-version = "5.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.114",
-]
-
[[package]]
name = "mime"
version = "0.3.17"
@@ -5995,7 +5684,7 @@ dependencies = [
"libc",
"log",
"mach2",
- "memmap2 0.9.9",
+ "memmap2",
"memoffset",
"minidump-common",
"nix 0.28.0",
@@ -7397,17 +7086,6 @@ dependencies = [
"windows-link 0.2.1",
]
-[[package]]
-name = "password-hash"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700"
-dependencies = [
- "base64ct",
- "rand_core 0.6.4",
- "subtle",
-]
-
[[package]]
name = "password-hash"
version = "0.5.0"
@@ -7437,18 +7115,6 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
-[[package]]
-name = "pbkdf2"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917"
-dependencies = [
- "digest",
- "hmac",
- "password-hash 0.4.2",
- "sha2",
-]
-
[[package]]
name = "pem-rfc7468"
version = "0.7.0"
@@ -7938,21 +7604,6 @@ dependencies = [
"unicode-ident",
]
-[[package]]
-name = "procfs"
-version = "0.16.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "731e0d9356b0c25f16f33b5be79b1c57b562f141ebfcdb0ad8ac2c13a24293b4"
-dependencies = [
- "bitflags 2.10.0",
- "chrono",
- "flate2",
- "hex",
- "lazy_static",
- "procfs-core",
- "rustix 0.38.44",
-]
-
[[package]]
name = "procfs-core"
version = "0.16.0"
@@ -7960,7 +7611,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d3554923a69f4ce04c4a754260c338f505ce22642d3830e049a399fc2059a29"
dependencies = [
"bitflags 2.10.0",
- "chrono",
"hex",
]
@@ -8472,18 +8122,6 @@ dependencies = [
"syn 2.0.114",
]
-[[package]]
-name = "reflink-copy"
-version = "0.1.28"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23bbed272e39c47a095a5242218a67412a220006842558b03fe2935e8f3d7b92"
-dependencies = [
- "cfg-if 1.0.4",
- "libc",
- "rustix 1.1.3",
- "windows 0.62.2",
-]
-
[[package]]
name = "regex"
version = "1.12.3"
@@ -8613,21 +8251,6 @@ dependencies = [
"web-sys",
]
-[[package]]
-name = "reqwest-middleware"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57f17d28a6e6acfe1733fe24bcd30774d13bffa4b8a22535b4c8c98423088d4e"
-dependencies = [
- "anyhow",
- "async-trait",
- "http 1.4.0",
- "reqwest 0.12.12",
- "serde",
- "thiserror 1.0.69",
- "tower-service",
-]
-
[[package]]
name = "resvg"
version = "0.45.1"
@@ -9202,7 +8825,7 @@ dependencies = [
"dashmap",
"deepgram",
"dirs 5.0.1",
- "env_logger 0.10.2",
+ "env_logger",
"esaxx-rs",
"futures",
"hf-hub 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -9252,7 +8875,6 @@ dependencies = [
"candle-nn",
"candle-transformers",
"chacha20poly1305",
- "chrono",
"clap",
"core-foundation 0.10.1",
"core-graphics 0.24.0",
@@ -9262,7 +8884,6 @@ dependencies = [
"hex",
"hf-hub 0.3.2 (git+https://github.com/neo773/hf-hub)",
"hmac",
- "http-cache-reqwest",
"lazy_static",
"log",
"objc",
@@ -9271,22 +8892,16 @@ dependencies = [
"rand 0.8.5",
"regex",
"reqwest 0.12.12",
- "reqwest-middleware",
- "sentry 0.36.0",
"serde",
"serde_json",
"sha2",
- "tempfile",
"thiserror 1.0.69",
"tokenizers",
"tokio",
"tracing",
- "tracing-subscriber",
"uiautomation",
- "url",
"which 6.0.3",
"zeroize",
- "zip 0.6.6",
]
[[package]]
@@ -9376,7 +8991,6 @@ dependencies = [
"hostname",
"image 0.25.9",
"imageproc",
- "killport",
"lru",
"md5",
"moka",
@@ -10000,17 +9614,6 @@ dependencies = [
"stable_deref_trait",
]
-[[package]]
-name = "sha-1"
-version = "0.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c"
-dependencies = [
- "cfg-if 1.0.4",
- "cpufeatures",
- "digest",
-]
-
[[package]]
name = "sha1"
version = "0.10.6"
@@ -10569,23 +10172,6 @@ dependencies = [
"url",
]
-[[package]]
-name = "ssri"
-version = "9.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da7a2b3c2bc9693bcb40870c4e9b5bf0d79f9cb46273321bf855ec513e919082"
-dependencies = [
- "base64 0.21.7",
- "digest",
- "hex",
- "miette",
- "serde",
- "sha-1",
- "sha2",
- "thiserror 1.0.69",
- "xxhash-rust",
-]
-
[[package]]
name = "stable_deref_trait"
version = "1.2.1"
@@ -12431,7 +12017,7 @@ dependencies = [
"gemm 0.18.2",
"half",
"libloading 0.8.9",
- "memmap2 0.9.9",
+ "memmap2",
"num",
"num-traits",
"num_cpus",
@@ -13363,23 +12949,11 @@ version = "0.61.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893"
dependencies = [
- "windows-collections 0.2.0",
+ "windows-collections",
"windows-core 0.61.2",
- "windows-future 0.2.1",
+ "windows-future",
"windows-link 0.1.3",
- "windows-numerics 0.2.0",
-]
-
-[[package]]
-name = "windows"
-version = "0.62.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580"
-dependencies = [
- "windows-collections 0.3.2",
- "windows-core 0.62.2",
- "windows-future 0.3.2",
- "windows-numerics 0.3.1",
+ "windows-numerics",
]
[[package]]
@@ -13391,15 +12965,6 @@ dependencies = [
"windows-core 0.61.2",
]
-[[package]]
-name = "windows-collections"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610"
-dependencies = [
- "windows-core 0.62.2",
-]
-
[[package]]
name = "windows-core"
version = "0.54.0"
@@ -13470,18 +13035,7 @@ checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e"
dependencies = [
"windows-core 0.61.2",
"windows-link 0.1.3",
- "windows-threading 0.1.0",
-]
-
-[[package]]
-name = "windows-future"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"
-dependencies = [
- "windows-core 0.62.2",
- "windows-link 0.2.1",
- "windows-threading 0.2.1",
+ "windows-threading",
]
[[package]]
@@ -13574,16 +13128,6 @@ dependencies = [
"windows-link 0.1.3",
]
-[[package]]
-name = "windows-numerics"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"
-dependencies = [
- "windows-core 0.62.2",
- "windows-link 0.2.1",
-]
-
[[package]]
name = "windows-registry"
version = "0.2.0"
@@ -13805,15 +13349,6 @@ dependencies = [
"windows-link 0.1.3",
]
-[[package]]
-name = "windows-threading"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
-dependencies = [
- "windows-link 0.2.1",
-]
-
[[package]]
name = "windows-version"
version = "0.1.7"
@@ -14234,12 +13769,6 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9"
-[[package]]
-name = "xxhash-rust"
-version = "0.8.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3"
-
[[package]]
name = "xz2"
version = "0.1.7"
@@ -14524,26 +14053,6 @@ dependencies = [
"syn 2.0.114",
]
-[[package]]
-name = "zip"
-version = "0.6.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261"
-dependencies = [
- "aes",
- "byteorder",
- "bzip2",
- "constant_time_eq",
- "crc32fast",
- "crossbeam-utils",
- "flate2",
- "hmac",
- "pbkdf2",
- "sha1",
- "time",
- "zstd",
-]
-
[[package]]
name = "zip"
version = "1.1.4"
@@ -14597,35 +14106,6 @@ dependencies = [
"simd-adler32",
]
-[[package]]
-name = "zstd"
-version = "0.11.2+zstd.1.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
-dependencies = [
- "zstd-safe",
-]
-
-[[package]]
-name = "zstd-safe"
-version = "5.0.2+zstd.1.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
-dependencies = [
- "libc",
- "zstd-sys",
-]
-
-[[package]]
-name = "zstd-sys"
-version = "2.0.16+zstd.1.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748"
-dependencies = [
- "cc",
- "pkg-config",
-]
-
[[package]]
name = "zune-core"
version = "0.4.12"
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs b/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs
index 97def6b82..fa292fb31 100755
--- a/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs
@@ -58,6 +58,9 @@ impl AnalyticsManager {
let app_version = env!("CARGO_PKG_VERSION");
+ let os_name = system.name().unwrap_or_default();
+ let os_version = system.os_version().unwrap_or_default();
+
let mut payload = json!({
"api_key": self.posthog_api_key,
"event": event,
@@ -65,13 +68,20 @@ impl AnalyticsManager {
"distinct_id": self.distinct_id,
"$lib": "rust-reqwest",
"$email": self.email,
- "os_name": system.name().unwrap_or_default(),
- "os_version": system.os_version().unwrap_or_default(),
+ "os_name": os_name,
+ "os_version": os_version,
"kernel_version": system.kernel_version().unwrap_or_default(),
"host_name": system.host_name().unwrap_or_default(),
"cpu_count": system.cpus().len(),
"total_memory": system.total_memory(),
"app_version": app_version,
+ // PostHog standard fields for version tracking
+ "release": format!("screenpipe-app@{}", app_version),
+ "$set": {
+ "app_version": app_version,
+ "os_name": os_name,
+ "os_version": os_version,
+ },
},
});