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

fix small

Louis Beaumonta5552ddeaf86
diff --git a/examples/typescript/pipe-phi3.5-engineering-team-logs/pipe.ts b/examples/typescript/pipe-phi3.5-engineering-team-logs/pipe.ts
index ef8b11a87..51f9430fa 100644
--- a/examples/typescript/pipe-phi3.5-engineering-team-logs/pipe.ts
+++ b/examples/typescript/pipe-phi3.5-engineering-team-logs/pipe.ts
@@ -64,8 +64,24 @@ async function syncLogToNotion(
});
console.log("engineering log synced to notion successfully");
+
+ // Create markdown table for inbox
+ const markdownTable = `
+| Title | Description | Tags |
+|-------|-------------|------|
+| ${logEntry.title} | ${logEntry.description} | ${logEntry.tags.join(", ")} |
+ `.trim();
+
+ await pipe.inbox.send({
+ title: "engineering log synced",
+ body: `new engineering log entry:\n\n${markdownTable}`,
+ });
} catch (error) {
console.error("error syncing engineering log to notion:", error);
+ await pipe.inbox.send({
+ title: "engineering log error",
+ body: `error syncing engineering log to notion: ${error}`,
+ });
}
}
diff --git a/screenpipe-core/src/pipes.rs b/screenpipe-core/src/pipes.rs
index ac739e61f..e6b6c2ee7 100644
--- a/screenpipe-core/src/pipes.rs
+++ b/screenpipe-core/src/pipes.rs
@@ -164,7 +164,7 @@ mod pipes {
.arg("--allow-write")
.arg("--allow-net")
.arg("--allow-env")
- .arg("--reload")
+ .arg("--reload=https://raw.githubusercontent.com/mediar-ai/screenpipe/main/screenpipe-js/main.ts")
.arg(&main_module)
.envs(env_vars)
.stdout(std::process::Stdio::piped())
@@ -198,9 +198,9 @@ mod pipes {
let reader = BufReader::new(stderr);
let mut lines = reader.lines();
while let Ok(Some(line)) = lines.next_line().await {
- if line.contains("Download") {
- // Log download messages as info instead of error
- debug!("[pipe][download][{}] {}", pipe_clone, line);
+ if line.contains("Download") || line.starts_with("Task dev ") {
+ // Log download messages and task start messages as info instead of error
+ debug!("[pipe][info][{}] {}", pipe_clone, line);
} else {
// Keep other messages as errors
error!("[pipe][error][{}] {}", pipe_clone, line);