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
preserve pinned and hidden state when saving conversations (#3842)
Harsh Kumar05d16a4713af
diff --git a/apps/screenpipe-app-tauri/components/hooks/use-chat-conversations.ts b/apps/screenpipe-app-tauri/components/hooks/use-chat-conversations.tsindex 0eaaa104d..8d7ae49f8 100644--- a/apps/screenpipe-app-tauri/components/hooks/use-chat-conversations.ts+++ b/apps/screenpipe-app-tauri/components/hooks/use-chat-conversations.ts@@ -704,6 +704,8 @@ export function useChatConversations(opts: UseChatConversationsOpts) {// plain chat (kind/pipeContext dropped on disk)....(existing?.kind ? { kind: existing.kind } : {}),...(existing?.pipeContext ? { pipeContext: existing.pipeContext } : {}),+ ...(existing?.pinned ? { pinned: existing.pinned } : {}),+ ...(existing?.hidden ? { hidden: existing.hidden } : {}),// Preserve sort key across reloads. Source of truth: the in-memory// chat-store, which is bumped exactly once per user-send....(await (async () => {