From bc4ba607b2d91a06a8e0650f9ba2f4844860493d Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sun, 31 May 2026 00:02:10 -0700 Subject: [PATCH 01/35] feat(memory-sources): disable auto-sync by default, lower GitHub limits, restyle toasts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Composio sources are still auto-registered but now default to enabled=false so they don't burn tokens until the user explicitly enables them. GitHub item limits lowered from 2000→1000 per type. Toast notifications restyled with white card + colored left border accent for a calmer look. --- app/src/components/intelligence/Toast.tsx | 24 ++++++++++++------- .../memory_sources/readers/github.rs | 2 +- src/openhuman/memory_sources/registry.rs | 2 +- src/openhuman/memory_sources/types.rs | 6 ++--- 4 files changed, 21 insertions(+), 13 deletions(-) diff --git a/app/src/components/intelligence/Toast.tsx b/app/src/components/intelligence/Toast.tsx index b506474a11..0b5e755883 100644 --- a/app/src/components/intelligence/Toast.tsx +++ b/app/src/components/intelligence/Toast.tsx @@ -41,10 +41,17 @@ const TOAST_ICONS = { }; const TOAST_STYLES = { - success: 'bg-sage-500 text-white', - error: 'bg-coral-500 text-white', - warning: 'bg-amber-500 text-white', - info: 'bg-primary-500 text-white', + success: 'bg-neutral-0 border-sage-500 text-neutral-900', + error: 'bg-neutral-0 border-coral-500 text-neutral-900', + warning: 'bg-neutral-0 border-amber-500 text-neutral-900', + info: 'bg-neutral-0 border-primary-500 text-neutral-900', +}; + +const TOAST_ICON_STYLES = { + success: 'text-sage-600', + error: 'text-coral-500', + warning: 'text-amber-600', + info: 'text-primary-500', }; export function Toast({ notification, onRemove }: ToastProps) { @@ -76,6 +83,7 @@ export function Toast({ notification, onRemove }: ToastProps) { const icon = TOAST_ICONS[notification.type]; const styles = TOAST_STYLES[notification.type]; + const iconStyle = TOAST_ICON_STYLES[notification.type]; return (
{/* Icon */} -
{icon}
+
{icon}
{/* Content */}

{notification.title}

{notification.message && ( -

{notification.message}

+

{notification.message}

)}
@@ -113,7 +121,7 @@ export function Toast({ notification, onRemove }: ToastProps) { {/* Close button */} +