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 app to v2.4.142, Bump CLI to v0.3.313 — fix(connections,calcom): use modern OAuth scope names — release-app release-cli

Louis Beaumont8bb9a23c43c2
diff --git a/Cargo.lock b/Cargo.lock
index 6e2e1a264..f1efc25b6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6899,7 +6899,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"anyhow",
"audiopipe",
@@ -6960,7 +6960,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio-eval"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"anyhow",
"clap",
@@ -6975,7 +6975,7 @@ dependencies = [
[[package]]
name = "screenpipe-config"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"dirs 6.0.0",
"serde",
@@ -6988,7 +6988,7 @@ dependencies = [
[[package]]
name = "screenpipe-connect"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"anyhow",
"async-trait",
@@ -7021,7 +7021,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -7069,7 +7069,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"anyhow",
"chrono",
@@ -7095,7 +7095,7 @@ dependencies = [
[[package]]
name = "screenpipe-engine"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"anyhow",
"arc-swap",
@@ -7168,7 +7168,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"anyhow",
"chrono",
@@ -7186,7 +7186,7 @@ dependencies = [
[[package]]
name = "screenpipe-screen"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"accessibility-sys",
"anyhow",
@@ -7244,7 +7244,7 @@ dependencies = [
[[package]]
name = "screenpipe-vault"
-version = "0.3.312"
+version = "0.3.313"
dependencies = [
"argon2",
"chacha20poly1305",
diff --git a/Cargo.toml b/Cargo.toml
index 3bd9c3d6e..e82c74b91 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ exclude = ["apps/screenpipe-app-tauri/src-tauri", "crates/screenpipe-integration
resolver = "2"
[workspace.package]
-version = "0.3.312"
+version = "0.3.313"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/screenpipe/screenpipe"
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 301c14be3..4895bcf49 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.4.141"
+version = "2.4.142"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/crates/screenpipe-connect/src/connections/calcom.rs b/crates/screenpipe-connect/src/connections/calcom.rs
index c18072741..26e9e30c0 100644
--- a/crates/screenpipe-connect/src/connections/calcom.rs
+++ b/crates/screenpipe-connect/src/connections/calcom.rs
@@ -15,7 +15,21 @@ use serde_json::{Map, Value};
static OAUTH: OAuthConfig = OAuthConfig {
auth_url: "https://app.cal.com/auth/oauth2/authorize",
client_id: "e9e319206428a99bfcb2207e51f827c96c1ed24821458a8633356e80632575dd",
- extra_auth_params: &[("scope", "READ_BOOKING READ_PROFILE")],
+ // Cal.com migrated their scope naming: legacy `READ_BOOKING` /
+ // `READ_PROFILE` are no longer accepted on new OAuth clients
+ // (server rejects with "Requested scope exceeds the client's
+ // registered scopes"). Modern names use the `RESOURCE_VERB`
+ // pattern per https://cal.com/docs/api-reference/v2/oauth.
+ //
+ // The four scopes here match the ones enabled on the production
+ // OAuth client: event types, bookings, availability, profile.
+ // Note: "view availability" in the dashboard maps to
+ // `SCHEDULE_READ`, not `AVAILABILITY_READ` — Cal.com's scope
+ // catalog uses "schedule" as the resource name.
+ extra_auth_params: &[(
+ "scope",
+ "BOOKING_READ PROFILE_READ EVENT_TYPE_READ SCHEDULE_READ",
+ )],
redirect_uri_override: None,
};