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

bump rewind, ph fix

Louis Beaumont32069b8ca268
diff --git a/pipes/rewind/package.json b/pipes/rewind/package.json
index 880c56ac7..46e5a6f8e 100644
--- a/pipes/rewind/package.json
+++ b/pipes/rewind/package.json
@@ -1,6 +1,6 @@
{
"name": "rewind",
- "version": "0.1.1",
+ "version": "0.1.3",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
diff --git a/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index e37a8f4eb..f976781a4 100644
--- a/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -389,6 +389,13 @@ export function useSettings() {
...data.user,
} as User;
+ // if user was not logged in, send posthog event app_login with email
+ if (!settings.user?.id) {
+ posthog.capture("app_login", {
+ email: userData.email,
+ });
+ }
+
setSettings({
user: userData,
});