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

feat: send desktop notifications through pipes

Louis Beaumont04bfede3da61
diff --git a/screenpipe-core/src/deno/runtime.js b/screenpipe-core/src/deno/runtime.js
index 518cdea2c..4dbeac9bd 100644
--- a/screenpipe-core/src/deno/runtime.js
+++ b/screenpipe-core/src/deno/runtime.js
@@ -56,6 +56,9 @@ const pipe = {
throw error;
}
},
+ sendNotification: (title, body) => {
+ return pipe.post("http://localhost:11435/notify", { title, body });
+ },
};
globalThis.setTimeout = (callback, delay) => {