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: pipe error parser — unescape backslash-quoted JSON from stderr
Louis Beaumont3d08381c3cae
diff --git a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsxindex 69d3ad70d..5a3e9675f 100644--- a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx+++ b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx@@ -29,11 +29,12 @@ function parsePipeError(stderr: string): {limit?: number;resets_at?: string;} {- // stderr format: '429 "{...json...}"\n'+ // stderr format: '429 "{\"error\":...}"\n' — inner quotes are backslash-escapedconst jsonMatch = stderr.match(/\d{3}\s+"(.+)"/s);if (jsonMatch) {try {- const parsed = JSON.parse(jsonMatch[1]);+ const raw = jsonMatch[1].replace(/\\"/g, '"').replace(/\\\\/g, '\\');+ const parsed = JSON.parse(raw);if (parsed.error === "daily_limit_exceeded") {return {type: "daily_limit",