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

chore: small fixes

Louis Beaumont6052bc83f40f
diff --git a/screenpipe-app-tauri/components/recording-settings.tsx b/screenpipe-app-tauri/components/recording-settings.tsx
index 5bca83db5..1bf122493 100644
--- a/screenpipe-app-tauri/components/recording-settings.tsx
+++ b/screenpipe-app-tauri/components/recording-settings.tsx
@@ -409,6 +409,13 @@ export function RecordingSettings({
if (localSettings.vadSensitivity !== "high") {
args.push(`--vad-sensitivity ${localSettings.vadSensitivity}`);
}
+
+ if (!localSettings.analyticsEnabled) {
+ args.push("--disable-telemetry");
+ }
+ if (localSettings.audioChunkDuration !== 30) {
+ args.push(`--audio-chunk-duration ${localSettings.audioChunkDuration}`);
+ }
return `${cliPath} ${args.join(" ")}`;
};
diff --git a/screenpipe-app-tauri/components/search-chat.tsx b/screenpipe-app-tauri/components/search-chat.tsx
index 648708d58..c7deb57d3 100644
--- a/screenpipe-app-tauri/components/search-chat.tsx
+++ b/screenpipe-app-tauri/components/search-chat.tsx
@@ -107,9 +107,6 @@ export function SearchChat() {
const floatingInputRef = useRef<HTMLInputElement>(null);
const [showScrollButton, setShowScrollButton] = useState(false);
- const queryHistory = useInputHistory("search_query");
- const appNameHistory = useInputHistory("app_name");
- const windowNameHistory = useInputHistory("window_name");
const [isUserScrolling, setIsUserScrolling] = useState(false);
const lastScrollPosition = useRef(0);
@@ -443,9 +440,6 @@ export function SearchChat() {
const handleSearch = async (newOffset = 0, overrides: any = {}) => {
setHasSearched(true);
- queryHistory.saveToHistory();
- appNameHistory.saveToHistory();
- windowNameHistory.saveToHistory();
posthog.capture("search");
setIsLoading(true);