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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
test(engine): align agent fixtures and serialize cloud session setup
louisbedd39c78d97
diff --git a/crates/screenpipe-engine/src/cli/agent.rs b/crates/screenpipe-engine/src/cli/agent.rsindex 40034c499..9cf2a876c 100644--- a/crates/screenpipe-engine/src/cli/agent.rs+++ b/crates/screenpipe-engine/src/cli/agent.rs@@ -2144,6 +2144,16 @@ mod tests {"http://localhost:3030",).unwrap();+ assert!(!is_agent_setup_in("codex", home));+ for (name, markdown) in screenpipe_core::starter_skills::STARTER_SKILLS {+ write_skill(+ &home.join(".codex/skills"),+ name,+ markdown,+ "http://localhost:3030",+ )+ .unwrap();+ }assert!(is_agent_setup_in("codex", home));}diff --git a/crates/screenpipe-engine/src/cli/login.rs b/crates/screenpipe-engine/src/cli/login.rsindex 53a5ac84d..66ed678ef 100644--- a/crates/screenpipe-engine/src/cli/login.rs+++ b/crates/screenpipe-engine/src/cli/login.rs@@ -288,6 +288,7 @@ mod tests {const JWT: &str = "eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJtYXJjZWxvIn0.sig";#[tokio::test]+ #[serial_test::serial(secret_store)]async fn login_survives_desktop_store_token_scrub() {let dir = tempfile::tempdir().unwrap();super::persist_login(dir.path(), JWT, "[email protected]")