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: enable UI event capture by default

Louis Beaumont1086eba7c0ab
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 7f0c3b361..5f7cac2c1 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -711,6 +711,13 @@ jobs:
with:
command: release publish ${{ secrets.CN_APP_SLUG }} ${{ env.VERSION }}
api-key: ${{ secrets.CN_API_KEY }}
+
+ - name: Also publish Beta release
+ uses: crabnebula-dev/[email protected]
+ continue-on-error: true
+ with:
+ command: release publish ${{ secrets.CN_APP_SLUG_BETA }} ${{ env.VERSION }}
+ api-key: ${{ secrets.CN_API_KEY }}
- name: Create testing notification
if: needs.check_commit.outputs.should_test == 'true'
diff --git a/.github/workflows/sync-beta-publish.yml b/.github/workflows/sync-beta-publish.yml
new file mode 100644
index 000000000..39b495d4f
--- /dev/null
+++ b/.github/workflows/sync-beta-publish.yml
@@ -0,0 +1,67 @@
+name: Sync Beta Publish
+
+# When production is published on CrabNebula, also publish beta
+# Checks every 5 minutes. No-ops if already in sync.
+
+on:
+ schedule:
+ - cron: "*/15 * * * *"
+ workflow_dispatch:
+
+jobs:
+ sync:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Get current version
+ id: version
+ run: |
+ VERSION=$(grep '^version = ' apps/screenpipe-app-tauri/src-tauri/Cargo.toml | sed 's/version = "\(.*\)"/\1/')
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
+ echo "Current version: $VERSION"
+
+ - name: Install CrabNebula CLI
+ run: |
+ curl -L -o cn https://cdn.crabnebula.app/download/crabnebula/cn-cli/latest/platform/linux-binary-x86_64
+ chmod +x cn
+ sudo mv cn /usr/local/bin/cn
+
+ - name: Check production release status
+ id: check-prod
+ env:
+ CN_API_KEY: ${{ secrets.CN_API_KEY }}
+ run: |
+ # Try to publish production — if already published, this is a no-op
+ # If it's still a draft, this will fail (which means user hasn't clicked publish yet)
+ # We use the exit code to determine status
+ if cn release publish ${{ secrets.CN_APP_SLUG }} ${{ steps.version.outputs.version }} 2>&1 | tee /tmp/cn-prod.log; then
+ echo "Production is published (or was just published)"
+ echo "prod_published=true" >> $GITHUB_OUTPUT
+ else
+ if grep -qi "already published\|already been published\|is published" /tmp/cn-prod.log; then
+ echo "Production already published"
+ echo "prod_published=true" >> $GITHUB_OUTPUT
+ else
+ echo "Production not yet published (still draft)"
+ echo "prod_published=false" >> $GITHUB_OUTPUT
+ fi
+ fi
+
+ - name: Publish beta if production is published
+ if: steps.check-prod.outputs.prod_published == 'true'
+ env:
+ CN_API_KEY: ${{ secrets.CN_API_KEY }}
+ run: |
+ echo "Publishing beta v${{ steps.version.outputs.version }}..."
+ if cn release publish ${{ secrets.CN_APP_SLUG_BETA }} ${{ steps.version.outputs.version }} 2>&1 | tee /tmp/cn-beta.log; then
+ echo "✅ Beta published successfully"
+ else
+ if grep -qi "already published\|already been published\|is published" /tmp/cn-beta.log; then
+ echo "✅ Beta already published — in sync"
+ else
+ echo "⚠️ Beta publish failed (may not have a matching draft)"
+ cat /tmp/cn-beta.log
+ # Don't fail — beta might not have a draft for this version
+ fi
+ fi
diff --git a/Cargo.lock b/Cargo.lock
index f737ca0fe..bb3d13b33 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6642,7 +6642,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"bytemuck",
@@ -6695,7 +6695,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -6746,7 +6746,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"chrono",
@@ -6770,7 +6770,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"chrono",
@@ -6788,7 +6788,7 @@ dependencies = [
[[package]]
name = "screenpipe-integrations"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"image",
@@ -6803,7 +6803,7 @@ dependencies = [
[[package]]
name = "screenpipe-server"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"async-trait",
@@ -6873,7 +6873,7 @@ dependencies = [
[[package]]
name = "screenpipe-vision"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"accessibility-sys",
"anyhow",
diff --git a/Cargo.toml b/Cargo.toml
index c01ec24cf..bec64ec0a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ exclude = ["apps/screenpipe-app-tauri/src-tauri"]
resolver = "2"
[workspace.package]
-version = "0.3.107"
+version = "0.3.108"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/screenpipe/screenpipe"
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 374b50dce..7ddbd88e4 100755
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -9007,7 +9007,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.0.312"
+version = "2.0.313"
dependencies = [
"anyhow",
"async-stream",
@@ -9100,7 +9100,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"bytemuck",
@@ -9148,7 +9148,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -9199,7 +9199,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"chrono",
@@ -9223,7 +9223,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"chrono",
@@ -9239,7 +9239,7 @@ dependencies = [
[[package]]
name = "screenpipe-integrations"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"image 0.25.9",
@@ -9254,7 +9254,7 @@ dependencies = [
[[package]]
name = "screenpipe-server"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"anyhow",
"async-trait",
@@ -9319,7 +9319,7 @@ dependencies = [
[[package]]
name = "screenpipe-vision"
-version = "0.3.106"
+version = "0.3.107"
dependencies = [
"accessibility-sys",
"anyhow",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 1391e55e2..76d967387 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.0.313"
+version = "2.0.314"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/store.rs b/apps/screenpipe-app-tauri/src-tauri/src/store.rs
index c49328819..7d6a5ea7d 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/store.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/store.rs
@@ -204,7 +204,7 @@ pub struct SettingsStore {
pub device_id: String,
/// Enable UI event capture (keyboard, mouse, clipboard).
/// Requires accessibility and input monitoring permissions on macOS.
- #[serde(rename = "enableUiEvents", default)]
+ #[serde(rename = "enableUiEvents", default = "default_true")]
pub enable_ui_events: bool,
/// Auto-install updates and restart when a new version is available.
/// When disabled, users must click "update now" in the tray menu.
@@ -511,7 +511,7 @@ impl Default for SettingsStore {
show_shortcut_overlay: true,
device_id: uuid::Uuid::new_v4().to_string(),
adaptive_fps: false,
- enable_ui_events: false,
+ enable_ui_events: true,
auto_update: true,
overlay_mode: "fullscreen".to_string(),
show_overlay_in_screen_recording: false,