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
window_name parameter
matthew-heartful5a8e2064a549
diff --git a/examples/typescript/perplexity-alike-asking-confirmation-rag-agent/screenpipe.ts b/examples/typescript/perplexity-alike-asking-confirmation-rag-agent/screenpipe.tsindex 9a58576c7..72d6fc337 100644--- a/examples/typescript/perplexity-alike-asking-confirmation-rag-agent/screenpipe.ts+++ b/examples/typescript/perplexity-alike-asking-confirmation-rag-agent/screenpipe.ts@@ -39,6 +39,12 @@ const screenpipeQuery = z.object({"The name of the app the user was using. This filter out all audio conversations. Only works with screen text. Use this to filter on the app context that would give context matching the user intent. For example 'cursor'. Use lower case. Browser is usually 'arc', 'chrome', 'safari', etc. Do not use thing like 'mail' because the user use the browser to read the mail.").optional(),+ window_name: z+ .string()+ .describe(+ "The name of the window the user was using. This helps to further filter the context within the app. For example, 'inbox' for email apps, 'project' for project management apps, etc."+ )+ .optional(), // Add window_name with description});const screenpipeMultiQuery = z.object({queries: z.array(screenpipeQuery),@@ -67,6 +73,7 @@ async function queryScreenpipe(params: z.infer<typeof screenpipeQuery>) {end_time: params.end_time,content_type: params.content_type,app_name: params.app_name,+ window_name: params.window_name, // Add window_name to query parameters}).filter(([_, v]) => v != null) as [string, string][]);console.log("calling screenpipe", JSON.stringify(params));@@ -266,4 +273,4 @@ const main = async () => {await perplexityAlikeAgent();};-main();+main();\ No newline at end of file