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

add bun preference and notification endpoint to pipe system prompt

Louis Beaumont599e8deb2cc3
diff --git a/crates/screenpipe-core/src/pipes/mod.rs b/crates/screenpipe-core/src/pipes/mod.rs
index 92bba5541..536d94a33 100644
--- a/crates/screenpipe-core/src/pipes/mod.rs
+++ b/crates/screenpipe-core/src/pipes/mod.rs
@@ -2988,7 +2988,7 @@ fn render_pipe_system_prompt(
}
sys.push_str(&format!(
- "OS: {os}\nOutput directory: ./output/\nScreenpipe API: http://localhost:{api_port}\n\n"
+ "OS: {os}\nOutput directory: ./output/\nScreenpipe API: http://localhost:{api_port}\nPrefer bun/TypeScript for scripts. Python may not be installed.\nSend notifications via POST http://localhost:11435/notify with {{\"title\": \"...\", \"body\": \"...\"}}\n\n"
));
sys.push_str(body);
sys