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: add missing startCapture/stopCapture TS bindings
Louis Beaumont518bac868e87
diff --git a/apps/screenpipe-app-tauri/lib/utils/tauri.ts b/apps/screenpipe-app-tauri/lib/utils/tauri.tsindex b9ad4bee3..27945e47f 100644--- a/apps/screenpipe-app-tauri/lib/utils/tauri.ts+++ b/apps/screenpipe-app-tauri/lib/utils/tauri.ts@@ -194,6 +194,22 @@ async stopScreenpipe() : Promise<Result<null, string>> {else return { status: "error", error: e as any };}},+async startCapture() : Promise<Result<null, string>> {+ try {+ return { status: "ok", data: await TAURI_INVOKE("start_capture") };+} catch (e) {+ if(e instanceof Error) throw e;+ else return { status: "error", error: e as any };+}+},+async stopCapture() : Promise<Result<null, string>> {+ try {+ return { status: "ok", data: await TAURI_INVOKE("stop_capture") };+} catch (e) {+ if(e instanceof Error) throw e;+ else return { status: "error", error: e as any };+}+},async getMonitors() : Promise<Result<MonitorDevice[], string>> {try {return { status: "ok", data: await TAURI_INVOKE("get_monitors") };