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 CLI to v0.3.308 — auth error hint actually helps CLI users — release-cli

Louis Beaumont9d337b47dd9d
diff --git a/Cargo.lock b/Cargo.lock
index a2107541d..c8843d2d8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6870,7 +6870,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"anyhow",
"audiopipe",
@@ -6931,7 +6931,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio-eval"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"anyhow",
"clap",
@@ -6946,7 +6946,7 @@ dependencies = [
[[package]]
name = "screenpipe-config"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"dirs 6.0.0",
"serde",
@@ -6959,7 +6959,7 @@ dependencies = [
[[package]]
name = "screenpipe-connect"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"anyhow",
"async-trait",
@@ -6992,7 +6992,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -7040,7 +7040,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"anyhow",
"chrono",
@@ -7066,7 +7066,7 @@ dependencies = [
[[package]]
name = "screenpipe-engine"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"anyhow",
"arc-swap",
@@ -7139,7 +7139,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"anyhow",
"chrono",
@@ -7157,7 +7157,7 @@ dependencies = [
[[package]]
name = "screenpipe-screen"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"accessibility-sys",
"anyhow",
@@ -7215,7 +7215,7 @@ dependencies = [
[[package]]
name = "screenpipe-vault"
-version = "0.3.307"
+version = "0.3.308"
dependencies = [
"argon2",
"chacha20poly1305",
diff --git a/Cargo.toml b/Cargo.toml
index a43f4d63c..47a715bf4 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.307"
+version = "0.3.308"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/screenpipe/screenpipe"
diff --git a/crates/screenpipe-engine/src/server.rs b/crates/screenpipe-engine/src/server.rs
index b9f20ea07..0559b5b06 100644
--- a/crates/screenpipe-engine/src/server.rs
+++ b/crates/screenpipe-engine/src/server.rs
@@ -982,7 +982,13 @@ impl SCServer {
.status(403)
.header("Content-Type", "application/json")
.body(axum::body::Body::from(
- r#"{"error":"unauthorized: API access requires authentication. Pass Authorization: Bearer <your-api-key> (find your key in Settings > Privacy)"}"#,
+ // CLI-only users (no desktop app) can't open
+ // Settings > Privacy — surface the CLI path
+ // and env var here so the error itself
+ // tells them how to authenticate. Discord
+ // jeffutter, 2026-05-04: the previous hint
+ // pointed at a UI menu they didn't have.
+ r#"{"error":"unauthorized: API access requires authentication. Pass `Authorization: Bearer <your-api-key>`. Get the key with `screenpipe auth token`, or set the `SCREENPIPE_API_KEY` env var before starting screenpipe. (Desktop app users: Settings > Privacy.)"}"#,
))
.unwrap()
}