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

chore(sdk): align recorder-core to 0.4.1 + validate all 3 Cargo manifests

Louis Beaumonta2b0f5fb9ef4
diff --git a/.github/workflows/sdk-release.yml b/.github/workflows/sdk-release.yml
index c874888a9..abcd81da4 100644
--- a/.github/workflows/sdk-release.yml
+++ b/.github/workflows/sdk-release.yml
@@ -63,9 +63,20 @@ jobs:
throw new Error(`${name} optional dependency is ${depVersion}, expected ${version}`);
}
}
- const cargo = fs.readFileSync("Cargo.toml", "utf8");
- if (!cargo.includes(`version = "${version}"`)) {
- throw new Error(`Cargo.toml does not contain version = "${version}"`);
+ // All three Rust manifests in the SDK workspace must move
+ // together. recorder-core got missed during the 0.4.x bumps
+ // and silently sat at 0.3.0 — caught only because someone
+ // grepped versions by hand. Validate every workspace member.
+ const cargoManifests = [
+ "Cargo.toml",
+ "recorder-core/Cargo.toml",
+ "tauri/rust/Cargo.toml",
+ ];
+ for (const path of cargoManifests) {
+ const cargo = fs.readFileSync(path, "utf8");
+ if (!cargo.includes(`version = "${version}"`)) {
+ throw new Error(`${path} does not contain version = "${version}"`);
+ }
}
NODE
- id: mode
diff --git a/ee/sdk/recorder-core/Cargo.toml b/ee/sdk/recorder-core/Cargo.toml
index 06185a180..6e8caaaa1 100644
--- a/ee/sdk/recorder-core/Cargo.toml
+++ b/ee/sdk/recorder-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-recorder"
-version = "0.3.0"
+version = "0.4.1"
edition = "2021"
description = "Pure-Rust recorder orchestration for the screenpipe SDK — screen + MP4 + event-driven paired capture. Consumed by both the napi addon (ee/sdk) and the Tauri plugin (ee/sdk/tauri/rust) so neither has to spawn a Node bridge."
license = "LicenseRef-Screenpipe-Enterprise"