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

fix: add "screen" to contentType union in parseMentions local variable

Louis Beaumont088c344337b1
diff --git a/apps/screenpipe-app-tauri/lib/chat-utils.ts b/apps/screenpipe-app-tauri/lib/chat-utils.ts
index a7e93ed2c..3a45d8f38 100644
--- a/apps/screenpipe-app-tauri/lib/chat-utils.ts
+++ b/apps/screenpipe-app-tauri/lib/chat-utils.ts
@@ -163,7 +163,7 @@ export function parseMentions(input: string, options?: ParseMentionsOptions): Pa
const now = new Date();
const timeRanges: TimeRange[] = [];
let cleanedInput = input;
- let contentType: "all" | "ocr" | "audio" | "input" | "accessibility" | null = null;
+ let contentType: "all" | "ocr" | "audio" | "input" | "accessibility" | "screen" | null = null;
let appName: string | null = null;
let usedSelection = false;
let speakerName: string | null = null;