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

Merge e2e-king into main: resolve conflicts, fix PipeConfig timeout field, add libopenblas-dev

Louis Beaumontd00d226d57d4
diff --cc .github/workflows/e2e-test.yml
index f09c21eb6,f2692ddb8..d167002ed
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@@ -174,29 -209,75 +174,29 @@@ jobs
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
- bun-version: 1.2.2
+ bun-version: 1.3.10
- - name: Setup Node
- uses: actions/setup-node@v4
+ - name: Cache and install all Linux dependencies
+ uses: awalsh128/[email protected]
with:
- node-version: 22
- - name: Install Linux dependencies
- run: |
- sudo apt-get update
- sudo apt-get install -y \
- g++ \
- ffmpeg \
- tesseract-ocr \
- cmake \
- clang \
- libavformat-dev \
- libavfilter-dev \
- libavdevice-dev \
- libssl-dev \
- libsoup-3.0-0 \
- libtesseract-dev \
- libxdo-dev \
- libsdl2-dev \
- libclang-dev \
- libxtst-dev \
- libx11-dev \
- libxext-dev \
- libxrandr-dev \
- libxinerama-dev \
- libxcursor-dev \
- libxi-dev \
- libgl1-mesa-dev \
- libasound2-dev \
- libpulse-dev \
- curl \
- desktop-file-utils \
- xdg-utils \
- dbus-x11 \
- xvfb \
- x11-xserver-utils \
- pkg-config \
- libsqlite3-dev \
- libbz2-dev \
- zlib1g-dev \
- libonig-dev \
- libayatana-appindicator3-dev \
- libsamplerate-dev \
- libwebrtc-audio-processing-dev \
- libgtk-3-dev \
- libwebkit2gtk-4.1-dev \
- webkit2gtk-driver \
- librsvg2-dev \
- patchelf \
- x11-utils \
- x11-apps \
- xdotool \
- openbox \
- xterm \
- fonts-liberation \
- imagemagick \
- fonts-dejavu \
- alsa-utils \
- pulseaudio \
- pulseaudio-utils \
- libpipewire-0.3-dev \
- libgbm-dev \
- libwayland-dev \
- libegl-dev \
- libopenblas-dev
+ version: ${{ hashFiles('apps/screenpipe-app-tauri/scripts/pre_build.js') }}
+ packages: >
+ tesseract-ocr libtesseract-dev ffmpeg pkg-config build-essential libglib2.0-dev
+ libgtk-3-dev libwebkit2gtk-4.1-dev clang cmake
+ libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev
+ libasound2-dev libxdo-dev
+ g++ libssl-dev libsoup-3.0-0 libsdl2-dev libclang-dev libxtst-dev libx11-dev
+ libxext-dev libxrandr-dev libxinerama-dev libxcursor-dev
+ libxi-dev libgl1-mesa-dev libasound2-dev libpulse-dev
+ curl desktop-file-utils xdg-utils dbus-x11 xvfb
+ x11-xserver-utils pkg-config libsqlite3-dev libbz2-dev
+ zlib1g-dev libonig-dev libayatana-appindicator3-dev
+ libsamplerate-dev libwebrtc-audio-processing-dev libgtk-3-dev
+ libwebkit2gtk-4.1-dev webkit2gtk-driver librsvg2-dev
+ patchelf x11-utils x11-apps xdotool openbox xterm
+ fonts-liberation imagemagick fonts-dejavu alsa-utils
+ pulseaudio pulseaudio-utils libpipewire-0.3-dev
- libgbm-dev libwayland-dev libegl-dev mold
++ libgbm-dev libwayland-dev libegl-dev libopenblas-dev mold
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
diff --cc Cargo.lock
index 75c6ef945,ba64c3354..237c7e702
--- a/Cargo.lock
+++ b/Cargo.lock
@@@ -6504,7 -6513,7 +6513,7 @@@ dependencies =
[[package]]
name = "screenpipe-audio"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"anyhow",
"audiopipe",
@@@ -6563,7 -6572,7 +6572,7 @@@
[[package]]
name = "screenpipe-config"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"dirs 6.0.0",
"serde",
@@@ -6576,7 -6585,7 +6585,7 @@@
[[package]]
name = "screenpipe-connect"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"anyhow",
"async-trait",
@@@ -6602,7 -6611,7 +6611,7 @@@
[[package]]
name = "screenpipe-core"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"accessibility",
"accessibility-sys",
@@@ -6645,7 -6654,7 +6654,7 @@@
[[package]]
name = "screenpipe-db"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"anyhow",
"chrono",
@@@ -6670,7 -6679,7 +6679,7 @@@
[[package]]
name = "screenpipe-engine"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"anyhow",
"async-trait",
@@@ -6738,7 -6747,7 +6747,7 @@@
[[package]]
name = "screenpipe-events"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"anyhow",
"chrono",
@@@ -6756,7 -6765,7 +6765,7 @@@
[[package]]
name = "screenpipe-screen"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"accessibility-sys",
"anyhow",
@@@ -6796,7 -6805,7 +6805,7 @@@
[[package]]
name = "screenpipe-vault"
--version = "0.3.185"
++version = "0.3.186"
dependencies = [
"argon2",
"chacha20poly1305",
diff --cc crates/screenpipe-core/src/pipes/mod.rs
index 5b25c248b,5b25c248b..58d22b0f3
--- a/crates/screenpipe-core/src/pipes/mod.rs
+++ b/crates/screenpipe-core/src/pipes/mod.rs
@@@ -3047,6 -3047,6 +3047,7 @@@ mod tests
allow_frames: true,
config: HashMap::new(),
connections: vec![],
++ timeout: None,
};
let body = "Do something useful";
let serialized = serialize_pipe(&config, body).unwrap();
@@@ -3142,6 -3142,6 +3143,7 @@@
allow_frames: true,
config: HashMap::new(),
connections: vec![],
++ timeout: None,
};
let prompt = render_prompt_with_port(&config, "body text", 3031, None, None);
assert!(prompt.contains("http://localhost:3031"));
@@@ -3171,6 -3171,6 +3173,7 @@@
allow_frames: true,
config: HashMap::new(),
connections: vec![],
++ timeout: None,
};
let prompt = render_prompt_with_port(&config, "hello", 3030, None, None);
assert!(prompt.contains("http://localhost:3030"));
@@@ -3198,6 -3198,6 +3201,7 @@@
allow_frames: true,
config: HashMap::new(),
connections: vec![],
++ timeout: None,
};
let prompt = render_prompt_with_port(
&config,
@@@ -3233,6 -3233,6 +3237,7 @@@
allow_frames: true,
config: HashMap::new(),
connections: vec![],
++ timeout: None,
};
let prompt = render_prompt_with_port(&config, "body text", 3030, None, None);
assert!(!prompt.contains("System prompt:"));
@@@ -3307,6 -3307,6 +3312,7 @@@
allow_frames: true,
config: HashMap::new(),
connections: vec![],
++ timeout: None,
},
last_run: None,
last_success: None,
diff --cc crates/screenpipe-core/src/pipes/permissions.rs
index 836a5b1ce,836a5b1ce..66cb9fea8
--- a/crates/screenpipe-core/src/pipes/permissions.rs
+++ b/crates/screenpipe-core/src/pipes/permissions.rs
@@@ -450,6 -450,6 +450,7 @@@ mod tests
allow_raw_sql: false, // explicit deny
allow_frames: true,
connections: vec![],
++ timeout: None,
};
let perms = PipePermissions::from_config(&config);
assert_eq!(perms.allow_apps, vec!["slack"]);
@@@ -485,6 -485,6 +486,7 @@@
allow_raw_sql: true,
allow_frames: true,
connections: vec![],
++ timeout: None,
};
let perms = PipePermissions::from_config(&config);
// all permissions default to allow — no restrictions