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
feat(meetings): toggle to skip auto-appending typed text to meeting note
Louis Beaumont3e0c630df487
diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsxindex a6c73528a..a65c7a1cf 100644--- a/apps/screenpipe-app-tauri/app/home/page.tsx+++ b/apps/screenpipe-app-tauri/app/home/page.tsx@@ -580,7 +580,10 @@ function HomeContent() {const res = await localFetch("/meetings/stop", {method: "POST",headers: { "Content-Type": "application/json" },- body: JSON.stringify({ id: targetId }),+ body: JSON.stringify({+ id: targetId,+ append_typed_text: settings.appendTypedTextToMeetingNote ?? true,+ }),});if (res.ok) {const meeting: MeetingRecord = await res.json();@@ -635,7 +638,7 @@ function HomeContent() {} finally {setMeetingLoading(false);}- }, [meetingState]);+ }, [meetingState, settings.appendTypedTextToMeetingNote]);// Native overlay already toggles the meeting in Rust. Refresh local state// here instead of toggling again, otherwise one click can create or stopdiff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsxindex 795038b8e..9c54dbf42 100644--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx@@ -2604,6 +2604,22 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre)}</div>)}+ <div className="mt-2.5 pt-2.5 border-t border-border/50 flex items-center justify-between">+ <div>+ <h3 className="text-sm font-medium text-foreground flex items-center gap-1.5">+ Append typed text to note+ <HelpTooltip text="When the meeting stops, screenpipe appends what you typed (and the files you edited) during the meeting to the meeting note. Turn off to keep notes clean." />+ </h3>+ <p className="text-xs text-muted-foreground">Auto-add your typed text + edited files at the end of the note</p>+ </div>+ <Switch+ id="appendTypedTextToMeetingNote"+ checked={settings.appendTypedTextToMeetingNote ?? true}+ onCheckedChange={(checked) =>+ handleSettingsChange({ appendTypedTextToMeetingNote: checked }, true)+ }+ />+ </div></CardContent></Card>)}diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex 89be9c93c..230af7d89 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -178,6 +178,8 @@ export type Settings = SettingsStore & {meetingLiveTranscriptionEnabled?: boolean;/** Provider for manually-started live notes. Defaults to the selected transcription engine. */meetingLiveTranscriptionProvider?: "selected-engine" | "screenpipe-cloud" | "disabled" | "openai-realtime" | "deepgram-live";+ /** When true, the user's typed text (and edited files) captured during a meeting is auto-appended to the meeting note when the meeting stops. Default true. */+ appendTypedTextToMeetingNote?: boolean;/** User's name for speaker identification — input device audio will be labeled with this name */userName?: string;/** When true, screen capture continues but OCR text extraction is skipped (saves CPU) */@@ -416,6 +418,7 @@ let DEFAULT_SETTINGS: Settings = {audioTranscriptionEngine: "whisper-large-v3-turbo-quantized",meetingLiveTranscriptionEnabled: true,meetingLiveTranscriptionProvider: "selected-engine",+ appendTypedTextToMeetingNote: true,ocrEngine: "default",monitorIds: ["default"],audioDevices: ["default"],@@ -597,6 +600,10 @@ function createSettingsStore() {settings.meetingLiveTranscriptionProvider = "selected-engine";needsUpdate = true;}+ if (settings.appendTypedTextToMeetingNote === undefined) {+ settings.appendTypedTextToMeetingNote = true;+ needsUpdate = true;+ }// Migration: Add default presets if user has noneif (!settings.aiPresets || settings.aiPresets.length === 0) {diff --git a/crates/screenpipe-engine/src/routes/meetings.rs b/crates/screenpipe-engine/src/routes/meetings.rsindex 24fb950e2..b99819f21 100644--- a/crates/screenpipe-engine/src/routes/meetings.rs+++ b/crates/screenpipe-engine/src/routes/meetings.rs@@ -64,6 +64,15 @@ pub struct StartMeetingRequest {#[derive(OaSchema, Deserialize, Debug)]pub struct StopMeetingRequest {pub id: Option<i64>,+ /// When false, skip auto-appending the user's typed text (and edited+ /// files) to the meeting note. Defaults to true to preserve historical+ /// behavior.+ #[serde(default = "default_append_typed_text")]+ pub append_typed_text: bool,+}++fn default_append_typed_text() -> bool {+ true}#[derive(OaSchema, Deserialize, Debug)]@@ -566,7 +575,7 @@ pub(crate) async fn stop_meeting_handler(state.db- .end_meeting_with_typed_text(id, &now, true)+ .end_meeting_with_typed_text(id, &now, body.append_typed_text).await.map_err(|e| {(