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: various fixes across pipes
Louis Beaumont924f97fef0d8
diff --git a/pipes/data-table/package.json b/pipes/data-table/package.jsonindex ee8cca511..ef0f3e68a 100644--- a/pipes/data-table/package.json+++ b/pipes/data-table/package.json@@ -23,7 +23,7 @@"@radix-ui/react-switch": "^1.1.2","@radix-ui/react-toast": "^1.2.3","@radix-ui/react-tooltip": "^1.1.5",- "@screenpipe/js": "0.1.10-beta.18",+ "@screenpipe/js": "0.1.10-beta.21","@shadcn/ui": "^0.0.4","@tanstack/react-query": "^5.62.7","@tanstack/react-table": "^8.20.6",diff --git a/pipes/data-table/src/lib/hooks/use-settings.tsx b/pipes/data-table/src/lib/hooks/use-settings.tsxindex f949d6458..ffbb35ea0 100644--- a/pipes/data-table/src/lib/hooks/use-settings.tsx+++ b/pipes/data-table/src/lib/hooks/use-settings.tsx@@ -24,6 +24,9 @@ export function useSettings() {enableFrameCache: true,enableUiMonitoring: false,aiMaxContextChars: 128000,+ user: {+ token: "",+ },};const [settings, setSettings] = useState<Settings>(defaultSettings);@@ -43,7 +46,21 @@ export function useSettings() {setLoading(false);}};++ // Initial loadloadSettings();++ // Refresh on window focus+ const onFocus = () => loadSettings();+ window.addEventListener("focus", onFocus);++ // Optional: periodic refresh every 30s+ const interval = setInterval(loadSettings, 30000);++ return () => {+ window.removeEventListener("focus", onFocus);+ clearInterval(interval);+ };}, []);const updateSetting = async <T extends keyof Settings>(diff --git a/pipes/identify-speakers/package.json b/pipes/identify-speakers/package.jsonindex 854e95464..a8a693183 100644--- a/pipes/identify-speakers/package.json+++ b/pipes/identify-speakers/package.json@@ -22,7 +22,7 @@"@radix-ui/react-switch": "^1.1.2","@radix-ui/react-toast": "^1.2.3","@radix-ui/react-tooltip": "^1.1.5",- "@screenpipe/js": "0.1.10-beta.20",+ "@screenpipe/js": "0.1.10-beta.21","@shadcn/ui": "^0.0.4","@tanstack/react-query": "^5.62.7","@types/js-levenshtein": "^1.1.3",diff --git a/pipes/identify-speakers/src/app/api/settings/route.ts b/pipes/identify-speakers/src/app/api/settings/route.tsindex e26c10393..3aacbf5a2 100644--- a/pipes/identify-speakers/src/app/api/settings/route.ts+++ b/pipes/identify-speakers/src/app/api/settings/route.ts@@ -38,7 +38,6 @@ export async function GET() {throw new Error("settingsManager not found");}const rawSettings = await settingsManager.getAll();- console.log("rawSettings", rawSettings);return NextResponse.json(rawSettings);} catch (error) {console.error("failed to get settings:", error);diff --git a/pipes/identify-speakers/src/components/identify-speakers.tsx b/pipes/identify-speakers/src/components/identify-speakers.tsxindex 1416de165..0e67eb97d 100644--- a/pipes/identify-speakers/src/components/identify-speakers.tsx+++ b/pipes/identify-speakers/src/components/identify-speakers.tsx@@ -23,7 +23,8 @@ import {} from "lucide-react";import { Badge } from "./ui/badge";import { Input } from "./ui/input";-import { getFileSize, keysToCamelCase } from "@/lib/utils";+import { keysToCamelCase } from "@/lib/utils";+import { getFileSize } from "@/lib/actions/video-actions";import { VideoComponent } from "@/components/video";import {Card,diff --git a/pipes/identify-speakers/src/lib/actions/video-actions.ts b/pipes/identify-speakers/src/lib/actions/video-actions.tsindex 9238c9e96..0dc0b4bc7 100644--- a/pipes/identify-speakers/src/lib/actions/video-actions.ts+++ b/pipes/identify-speakers/src/lib/actions/video-actions.ts@@ -1,35 +1,55 @@-'use server'+"use server";-import { readFile } from 'node:fs/promises'-import { resolve } from 'node:path'+import { readFile, stat } from "node:fs/promises";+import { resolve } from "node:path";-export async function getMediaFile(filePath: string): Promise<{ data: string; mimeType: string }> {+export async function getMediaFile(+ filePath: string+): Promise<{ data: string; mimeType: string }> {try {- const absolutePath = resolve(filePath)- const buffer = await readFile(absolutePath)+ const absolutePath = resolve(filePath);+ const buffer = await readFile(absolutePath);// convert to base64- const data = buffer.toString('base64')-+ const data = buffer.toString("base64");+const getMimeType = (path: string): string => {- const ext = path.split('.').pop()?.toLowerCase()- const isAudio = path.toLowerCase().includes('input') || path.toLowerCase().includes('output')-+ const ext = path.split(".").pop()?.toLowerCase();+ const isAudio =+ path.toLowerCase().includes("input") ||+ path.toLowerCase().includes("output");+switch (ext) {- case 'mp4': return 'video/mp4'- case 'webm': return 'video/webm'- case 'ogg': return 'video/ogg'- case 'mp3': return 'audio/mpeg'- case 'wav': return 'audio/wav'- default: return isAudio ? 'audio/mpeg' : 'video/mp4'+ case "mp4":+ return "video/mp4";+ case "webm":+ return "video/webm";+ case "ogg":+ return "video/ogg";+ case "mp3":+ return "audio/mpeg";+ case "wav":+ return "audio/wav";+ default:+ return isAudio ? "audio/mpeg" : "video/mp4";}- }+ };return {data,- mimeType: getMimeType(filePath)- }+ mimeType: getMimeType(filePath),+ };} catch (error) {- console.error('failed to read media file:', error)- throw new Error(`failed to read media file: ${error instanceof Error ? error.message : 'unknown error'}`)+ console.error("failed to read media file:", error);+ throw new Error(+ `failed to read media file: ${+ error instanceof Error ? error.message : "unknown error"+ }`+ );}}++export async function getFileSize(filePath: string): Promise<number> {+ const { size } = await stat(filePath);++ return size;+}diff --git a/pipes/identify-speakers/src/lib/hooks/use-settings.tsx b/pipes/identify-speakers/src/lib/hooks/use-settings.tsxindex 7c4f3a6ea..ffbb35ea0 100644--- a/pipes/identify-speakers/src/lib/hooks/use-settings.tsx+++ b/pipes/identify-speakers/src/lib/hooks/use-settings.tsx@@ -46,7 +46,21 @@ export function useSettings() {setLoading(false);}};++ // Initial loadloadSettings();++ // Refresh on window focus+ const onFocus = () => loadSettings();+ window.addEventListener("focus", onFocus);++ // Optional: periodic refresh every 30s+ const interval = setInterval(loadSettings, 30000);++ return () => {+ window.removeEventListener("focus", onFocus);+ clearInterval(interval);+ };}, []);const updateSetting = async <T extends keyof Settings>(diff --git a/pipes/identify-speakers/src/lib/utils.ts b/pipes/identify-speakers/src/lib/utils.tsindex b694a9a10..2341c42e7 100644--- a/pipes/identify-speakers/src/lib/utils.ts+++ b/pipes/identify-speakers/src/lib/utils.ts@@ -56,3 +56,5 @@ export function stringToColor(str: string): string {}return color;}++diff --git a/pipes/meeting/package.json b/pipes/meeting/package.jsonindex 854e95464..a8a693183 100644--- a/pipes/meeting/package.json+++ b/pipes/meeting/package.json@@ -22,7 +22,7 @@"@radix-ui/react-switch": "^1.1.2","@radix-ui/react-toast": "^1.2.3","@radix-ui/react-tooltip": "^1.1.5",- "@screenpipe/js": "0.1.10-beta.20",+ "@screenpipe/js": "0.1.10-beta.21","@shadcn/ui": "^0.0.4","@tanstack/react-query": "^5.62.7","@types/js-levenshtein": "^1.1.3",diff --git a/pipes/meeting/src/app/api/settings/route.ts b/pipes/meeting/src/app/api/settings/route.tsindex e26c10393..3aacbf5a2 100644--- a/pipes/meeting/src/app/api/settings/route.ts+++ b/pipes/meeting/src/app/api/settings/route.ts@@ -38,7 +38,6 @@ export async function GET() {throw new Error("settingsManager not found");}const rawSettings = await settingsManager.getAll();- console.log("rawSettings", rawSettings);return NextResponse.json(rawSettings);} catch (error) {console.error("failed to get settings:", error);diff --git a/pipes/meeting/src/components/meeting-history.tsx b/pipes/meeting/src/components/meeting-history.tsxindex 2551453ec..a2c98aba5 100644--- a/pipes/meeting/src/components/meeting-history.tsx+++ b/pipes/meeting/src/components/meeting-history.tsx@@ -240,7 +240,10 @@ export default function MeetingHistory({try {const openai = new OpenAI({- apiKey: settings.openaiApiKey,+ apiKey:+ settings.aiProviderType === "screenpipe-cloud"+ ? settings.user.token+ : settings.openaiApiKey,baseURL: settings.aiUrl,dangerouslyAllowBrowser: true,});diff --git a/pipes/meeting/src/lib/hooks/use-settings.tsx b/pipes/meeting/src/lib/hooks/use-settings.tsxindex 7c4f3a6ea..ffbb35ea0 100644--- a/pipes/meeting/src/lib/hooks/use-settings.tsx+++ b/pipes/meeting/src/lib/hooks/use-settings.tsx@@ -46,7 +46,21 @@ export function useSettings() {setLoading(false);}};++ // Initial loadloadSettings();++ // Refresh on window focus+ const onFocus = () => loadSettings();+ window.addEventListener("focus", onFocus);++ // Optional: periodic refresh every 30s+ const interval = setInterval(loadSettings, 30000);++ return () => {+ window.removeEventListener("focus", onFocus);+ clearInterval(interval);+ };}, []);const updateSetting = async <T extends keyof Settings>(diff --git a/pipes/search/package.json b/pipes/search/package.jsonindex 854e95464..a8a693183 100644--- a/pipes/search/package.json+++ b/pipes/search/package.json@@ -22,7 +22,7 @@"@radix-ui/react-switch": "^1.1.2","@radix-ui/react-toast": "^1.2.3","@radix-ui/react-tooltip": "^1.1.5",- "@screenpipe/js": "0.1.10-beta.20",+ "@screenpipe/js": "0.1.10-beta.21","@shadcn/ui": "^0.0.4","@tanstack/react-query": "^5.62.7","@types/js-levenshtein": "^1.1.3",diff --git a/pipes/search/src/app/api/settings/route.ts b/pipes/search/src/app/api/settings/route.tsindex e26c10393..3aacbf5a2 100644--- a/pipes/search/src/app/api/settings/route.ts+++ b/pipes/search/src/app/api/settings/route.ts@@ -38,7 +38,6 @@ export async function GET() {throw new Error("settingsManager not found");}const rawSettings = await settingsManager.getAll();- console.log("rawSettings", rawSettings);return NextResponse.json(rawSettings);} catch (error) {console.error("failed to get settings:", error);diff --git a/pipes/search/src/lib/hooks/use-settings.tsx b/pipes/search/src/lib/hooks/use-settings.tsxindex 7c4f3a6ea..ffbb35ea0 100644--- a/pipes/search/src/lib/hooks/use-settings.tsx+++ b/pipes/search/src/lib/hooks/use-settings.tsx@@ -46,7 +46,21 @@ export function useSettings() {setLoading(false);}};++ // Initial loadloadSettings();++ // Refresh on window focus+ const onFocus = () => loadSettings();+ window.addEventListener("focus", onFocus);++ // Optional: periodic refresh every 30s+ const interval = setInterval(loadSettings, 30000);++ return () => {+ window.removeEventListener("focus", onFocus);+ clearInterval(interval);+ };}, []);const updateSetting = async <T extends keyof Settings>(diff --git a/pipes/timeline/package.json b/pipes/timeline/package.jsonindex 224dd7a20..796ae0ea1 100644--- a/pipes/timeline/package.json+++ b/pipes/timeline/package.json@@ -23,7 +23,7 @@"@radix-ui/react-switch": "^1.1.2","@radix-ui/react-toast": "^1.2.3","@radix-ui/react-tooltip": "^1.1.5",- "@screenpipe/js": "0.1.10-beta.18",+ "@screenpipe/js": "0.1.10-beta.21","@shadcn/ui": "^0.0.4","@tanstack/react-query": "^5.62.7","@types/js-levenshtein": "^1.1.3",diff --git a/pipes/timeline/src/lib/hooks/use-settings.tsx b/pipes/timeline/src/lib/hooks/use-settings.tsxindex f949d6458..ffbb35ea0 100644--- a/pipes/timeline/src/lib/hooks/use-settings.tsx+++ b/pipes/timeline/src/lib/hooks/use-settings.tsx@@ -24,6 +24,9 @@ export function useSettings() {enableFrameCache: true,enableUiMonitoring: false,aiMaxContextChars: 128000,+ user: {+ token: "",+ },};const [settings, setSettings] = useState<Settings>(defaultSettings);@@ -43,7 +46,21 @@ export function useSettings() {setLoading(false);}};++ // Initial loadloadSettings();++ // Refresh on window focus+ const onFocus = () => loadSettings();+ window.addEventListener("focus", onFocus);++ // Optional: periodic refresh every 30s+ const interval = setInterval(loadSettings, 30000);++ return () => {+ window.removeEventListener("focus", onFocus);+ clearInterval(interval);+ };}, []);const updateSetting = async <T extends keyof Settings>(diff --git a/screenpipe-app-tauri/src-tauri/capabilities/main.json b/screenpipe-app-tauri/src-tauri/capabilities/main.jsonindex 921a9721d..b59ed6ee3 100644--- a/screenpipe-app-tauri/src-tauri/capabilities/main.json+++ b/screenpipe-app-tauri/src-tauri/capabilities/main.json@@ -1,7 +1,7 @@{"identifier": "migrated","description": "permissions that were migrated from v1",- "local": false,+ "local": true,"windows": ["*"],diff --git a/screenpipe-app-tauri/src-tauri/gen/schemas/capabilities.json b/screenpipe-app-tauri/src-tauri/gen/schemas/capabilities.jsonindex 7159ad6da..6eebcc5f1 100644--- a/screenpipe-app-tauri/src-tauri/gen/schemas/capabilities.json+++ b/screenpipe-app-tauri/src-tauri/gen/schemas/capabilities.json@@ -1 +1 @@-{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":false,"windows":["*"],"permissions":["core:event:allow-listen","core:event:default","core:app:allow-version","process:allow-restart","process:allow-exit","notification:default","core:resources:default","core:menu:default","core:tray:default","shell:default","store:default","store:allow-create-store","store:allow-get","store:allow-set","store:allow-save","store:allow-load","shell:allow-open","fs:allow-watch","fs:allow-open","fs:default","fs:allow-read-file","fs:allow-read-dir","fs:allow-read","fs:allow-write-file","fs:read-dirs","fs:allow-copy-file","fs:allow-exists","fs:allow-read-text-file","fs:allow-create","fs:allow-mkdir","fs:allow-remove","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","global-shortcut:allow-unregister-all","global-shortcut:default",{"identifier":"fs:scope","allow":[{"path":"$XDG_DATA_HOME","requireLiteralLeadingDot":false},{"path":"$XDG_DATA_HOME/**","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/*","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/*","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/*","requireLiteralLeadingDot":false},{"path":"$APPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPCONFIG/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$HOME/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$APP/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/data/**","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/pipes/**","requireLiteralLeadingDot":false}]},{"identifier":"shell:allow-execute","allow":[{"args":["-c",{"validator":"\\S+"}],"cmd":"sh","name":"exec-sh","sidecar":false}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","purge","-y"],"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},{"identifier":"shell:allow-spawn","allow":[{"args":["setup"],"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},{"identifier":"shell:allow-spawn","allow":[{"args":["migrate"],"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},{"identifier":"shell:allow-spawn","allow":[{"args":["serve"],"cmd":"ollama","name":"ollama","sidecar":true}]},{"identifier":"shell:allow-spawn","allow":[{"args":["run",{"validator":"\\S*"}],"cmd":"ollama","name":"ollama-run","sidecar":true}]},"cli:default","shell:default","shell:allow-spawn","dialog:default","updater:default","os:default","os:allow-arch","os:allow-hostname","os:allow-os-type","core:path:default","process:default","store:default","core:webview:allow-internal-toggle-devtools",{"identifier":"shell:allow-execute","allow":[{"args":["pipe","list","--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-list","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","download",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-download","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","enable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-enable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","disable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-disable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","update",{"validator":"\\S+"},{"validator":"\\{.*\\}"}],"cmd":"screenpipe","name":"screenpipe-pipe-update","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","delete",{"validator":"\\S+"},"--yes"],"cmd":"screenpipe","name":"screenpipe-pipe-delete","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","info",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-info","sidecar":true}]},{"identifier":"http:default","allow":[{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"http://**/*"},{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"https://**/*"}]}]}}\ No newline at end of file+{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["*"],"permissions":["core:event:allow-listen","core:event:default","core:app:allow-version","process:allow-restart","process:allow-exit","notification:default","core:resources:default","core:menu:default","core:tray:default","shell:default","store:default","store:allow-create-store","store:allow-get","store:allow-set","store:allow-save","store:allow-load","shell:allow-open","fs:allow-watch","fs:allow-open","fs:default","fs:allow-read-file","fs:allow-read-dir","fs:allow-read","fs:allow-write-file","fs:read-dirs","fs:allow-copy-file","fs:allow-exists","fs:allow-read-text-file","fs:allow-create","fs:allow-mkdir","fs:allow-remove","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","global-shortcut:allow-unregister-all","global-shortcut:default",{"identifier":"fs:scope","allow":[{"path":"$XDG_DATA_HOME","requireLiteralLeadingDot":false},{"path":"$XDG_DATA_HOME/**","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/*","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/*","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/*","requireLiteralLeadingDot":false},{"path":"$APPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPCONFIG/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$HOME/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$APP/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/data/**","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/pipes/**","requireLiteralLeadingDot":false}]},{"identifier":"shell:allow-execute","allow":[{"args":["-c",{"validator":"\\S+"}],"cmd":"sh","name":"exec-sh","sidecar":false}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","purge","-y"],"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},{"identifier":"shell:allow-spawn","allow":[{"args":["setup"],"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},{"identifier":"shell:allow-spawn","allow":[{"args":["migrate"],"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},{"identifier":"shell:allow-spawn","allow":[{"args":["serve"],"cmd":"ollama","name":"ollama","sidecar":true}]},{"identifier":"shell:allow-spawn","allow":[{"args":["run",{"validator":"\\S*"}],"cmd":"ollama","name":"ollama-run","sidecar":true}]},"cli:default","shell:default","shell:allow-spawn","dialog:default","updater:default","os:default","os:allow-arch","os:allow-hostname","os:allow-os-type","core:path:default","process:default","store:default","core:webview:allow-internal-toggle-devtools",{"identifier":"shell:allow-execute","allow":[{"args":["pipe","list","--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-list","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","download",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-download","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","enable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-enable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","disable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-disable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","update",{"validator":"\\S+"},{"validator":"\\{.*\\}"}],"cmd":"screenpipe","name":"screenpipe-pipe-update","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","delete",{"validator":"\\S+"},"--yes"],"cmd":"screenpipe","name":"screenpipe-pipe-delete","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","info",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-info","sidecar":true}]},{"identifier":"http:default","allow":[{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"http://**/*"},{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"https://**/*"}]}]}}\ No newline at end of filediff --git a/screenpipe-js/node.ts b/screenpipe-js/node.tsindex 53c8422af..62be28d48 100644--- a/screenpipe-js/node.ts+++ b/screenpipe-js/node.ts@@ -136,7 +136,7 @@ class SettingsManager {}async getAll(): Promise<Settings> {- if (!this.initialized) await this.init();+ await this.init();return { ...this.settings };}diff --git a/screenpipe-js/package.json b/screenpipe-js/package.jsonindex a69b790b8..00034822a 100644--- a/screenpipe-js/package.json+++ b/screenpipe-js/package.json@@ -1,6 +1,6 @@{"name": "@screenpipe/js",- "version": "0.1.10-beta.20",+ "version": "0.1.10-beta.21","type": "module","main": "./dist/main.cjs","module": "./dist/main.js",