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
fix(mcp): cast timeout_secs to Number for arithmetic operation
Louis Beaumont6be6658b4ccd
diff --git a/crates/screenpipe-connect/screenpipe-mcp/src/index.ts b/crates/screenpipe-connect/screenpipe-mcp/src/index.tsindex 2d4c81524..df48160f4 100644--- a/crates/screenpipe-connect/screenpipe-mcp/src/index.ts+++ b/crates/screenpipe-connect/screenpipe-mcp/src/index.ts@@ -854,7 +854,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {body: args.body || "",type: "pipe",};- if (args.timeout_secs) notifBody.timeout = args.timeout_secs * 1000;+ if (args.timeout_secs) notifBody.timeout = Number(args.timeout_secs) * 1000;if (args.actions) notifBody.actions = args.actions;const notifResponse = await fetch("http://localhost:11435/notify", {method: "POST",