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
ui(chat,login): chat works without login, drop yellow banner for b/w
Louis Beaumont673e372d9c1c
diff --git a/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx b/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsxindex bb918d8f6..2970e5c94 100644--- a/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx@@ -1324,16 +1324,16 @@ export const AIPresetsSelector = ({<><div className="flex flex-col w-full gap-2">{!isControlled && selectedPresetRequiresLogin && (- <div className="flex items-center gap-2 p-2 text-sm bg-amber-500/10 border border-amber-500/20 rounded-lg">- <AlertTriangle className="h-4 w-4 text-amber-500 shrink-0" />- <span className="text-amber-600 dark:text-amber-400 flex-1">+ <div className="flex items-center gap-2 p-2 text-sm bg-muted border border-border rounded-lg">+ <AlertTriangle className="h-4 w-4 text-muted-foreground shrink-0" />+ <span className="text-foreground flex-1">Login required to use Screenpipe Cloud</span>{showLoginCta && (<Buttonvariant="outline"size="sm"- className="shrink-0 h-7 text-xs border-amber-500/30 hover:bg-amber-500/10"+ className="shrink-0 h-7 text-xs border-border hover:bg-muted"onClick={async () => {await commands.showWindow({ Home: { page: "account" } });}}@@ -1400,7 +1400,7 @@ export const AIPresetsSelector = ({</PopoverTrigger><TooltipContent>{selectedPresetRequiresLogin ? (- <p className="text-amber-500">+ <p className="text-muted-foreground">Login required to use this preset</p>) : (diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsxindex 8e4f47eda..11fcd3a3c 100644--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx@@ -2436,14 +2436,16 @@ export function StandaloneChat({const isPi = true;const hasValidModel = activePreset?.model && activePreset.model.trim() !== "";const needsLogin = activePreset?.provider === "screenpipe-cloud" && !settings.user?.token;+ // needsLogin is advisory only — chat is allowed without auth (the cloud+ // backend accepts unauthenticated requests for now). The login warning is+ // surfaced in the UI banner but does not gate sends.// Pi auto-starts on first message, so don't block chat when Pi is not running- const canChat = hasPresets && hasValidModel && !needsLogin && !piStarting;+ const canChat = hasPresets && hasValidModel && !piStarting;const getDisabledReason = (): string | null => {if (!hasPresets) return "No AI presets configured";if (!activePreset) return "No preset selected";if (!hasValidModel) return `No model selected in "${activePreset.id}" preset`;- if (needsLogin) return "Login required";if (piStarting) return "Starting Pi agent...";return null;};