diff --git a/apps/desktop/layer/renderer/package.json b/apps/desktop/layer/renderer/package.json index 8b05a9c44..afeb92c63 100644 --- a/apps/desktop/layer/renderer/package.json +++ b/apps/desktop/layer/renderer/package.json @@ -121,7 +121,7 @@ "@follow/models": "workspace:*", "@follow/types": "workspace:*", "@follow/utils": "workspace:*", - "@folo-services/ai-tools": "0.2.34", + "@folo-services/ai-tools": "0.2.36", "@types/node": "24.0.10", "@vite-pwa/assets-generator": "1.0.0", "fake-indexeddb": "6.0.1", diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/displays/AIDisplaySubscriptionsPart.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/displays/AIDisplaySubscriptionsPart.tsx index 75d2498a0..0197fa072 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/displays/AIDisplaySubscriptionsPart.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/displays/AIDisplaySubscriptionsPart.tsx @@ -1,240 +1,87 @@ -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@follow/components/ui/card/index.js" +import { views } from "@follow/constants" import dayjs from "dayjs" +import { memo, useCallback } from "react" +import { useTranslation } from "react-i18next" +import { useNavigateEntry } from "~/hooks/biz/useNavigateEntry" import { FeedIcon } from "~/modules/feed/feed-icon" import type { AIDisplaySubscriptionsTool } from "../../store/types" -import { DisplayCardWrapper, withDisplayStateHandler } from "./share" -import { AnalyticsMetrics, CategoryTag, EmptyState, StatCard } from "./shared" +import { withDisplayStateHandler } from "./share" -type SubscriptionData = AIDisplaySubscriptionsTool["output"]["subscriptions"] - -const formatDisplayType = (displayType: string) => { - const displayTypeMap = { - list: "List View", - grid: "Grid View", - card: "Card View", - compact: "Compact View", - } - return displayTypeMap[displayType as keyof typeof displayTypeMap] || displayType -} - -const formatGroupBy = (groupBy: string) => { - const groupByMap = { - category: "By Category", - status: "By Status", - none: "No Grouping", - } - return groupByMap[groupBy as keyof typeof groupByMap] || groupBy -} - -const formatFilterBy = (filterBy: string) => { - const filterByMap = { - all: "All Subscriptions", - active: "Active Only", - inactive: "Inactive Only", - recent: "Recent (30 days)", - } - return filterByMap[filterBy as keyof typeof filterByMap] || filterBy -} - -const SubscriptionsGrid = ({ - data, - showAnalytics, - showCategories, -}: { - data: SubscriptionData - showAnalytics: boolean - showCategories: boolean -}) => { - if (!data?.length) { - return - } - - return ( -
- {data.map((sub) => ( - - -
- -
- - {sub.feed?.title || sub.subscription?.title || "Unknown Feed"} - - {sub.feed?.description && ( - - {sub.feed.description} - - )} -
-
-
- - - {showCategories && sub.subscription?.category && ( -
- -
- )} -
- - Subscribed:{" "} - - {sub.subscription?.createdAt - ? dayjs(sub.subscription.createdAt).format("MMM DD, YYYY") - : "Unknown"} - - -
- {showAnalytics && ( - - )} -
-
- ))} -
- ) -} - -const GroupedSubscriptions = ({ - data, - groupBy, - showAnalytics, - showCategories, -}: { - data: SubscriptionData - groupBy: string - showAnalytics: boolean - showCategories: boolean -}) => { - if (!data?.length || groupBy === "none") { - return null - } - - const groups = data.reduce( - (acc, sub) => { - let key: string - if (groupBy === "category") { - key = sub.subscription?.category || "No Category" - } else if (groupBy === "status") { - // Simple status based on error state - key = sub.feed?.errorMessage ? "Inactive" : "Active" - } else { - key = "All" - } - - if (!acc[key]) acc[key] = [] - acc[key]?.push(sub) - return acc - }, - {} as Record, - ) - - return ( -
- {Object.entries(groups).map(([groupName, groupData]) => ( -
-

{groupName}

- -
- ))} -
- ) -} +type SingleSubscription = NonNullable[number] const AIDisplaySubscriptionsPartBase = ({ output, }: { output: NonNullable + input: NonNullable }) => { - const { - subscriptions, - showAnalytics = true, - showCategories = true, - title, - groupBy = "none", - filterBy = "all", - } = output - const displayType = "displayType" in output ? (output.displayType as string) : "list" + const navigateEntry = useNavigateEntry() - // Calculate statistics - const totalSubscriptions = subscriptions.length - const categoriesCount = new Set( - subscriptions.map((s) => s.subscription?.category).filter(Boolean), - ).size - const activeSubscriptions = subscriptions.filter((s) => !s.feed?.errorMessage).length - const totalViews = subscriptions.reduce((acc, s) => acc + (s.subscription?.view || 0), 0) - - const renderSubscriptions = () => { - if (groupBy !== "none") { - return ( - - ) - } - - return ( - - ) - } - - return ( - - {/* Statistics Overview */} -
- - - {showCategories && } - -
- - {/* Subscriptions Display */} - {renderSubscriptions()} -
+ const handleClick = useCallback( + (sub: SingleSubscription) => (e: React.MouseEvent) => { + e.preventDefault() + navigateEntry({ feedId: sub.feedId, view: sub.view }) + }, + [navigateEntry], ) + + return output.map((sub) => ) } +const Item = memo( + ({ + sub, + handleClick, + }: { + sub: SingleSubscription + handleClick: (sub: SingleSubscription) => (e: React.MouseEvent) => void + }) => { + const { feedId, title, image, siteUrl, category, subscribedAt, view } = sub + const { t } = useTranslation() + const currentView = views[view] + if (currentView === undefined) { + return null + } + return ( + + ) + }, +) export const AIDisplaySubscriptionsPart = withDisplayStateHandler< AIDisplaySubscriptionsTool["output"] >({ diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/message/AIDataBlockItem.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/message/AIDataBlockItem.tsx index ebe576a7d..677169830 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/message/AIDataBlockItem.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/message/AIDataBlockItem.tsx @@ -39,6 +39,7 @@ const getDisplayContent = (block: AIChatContextBlock): React.ReactNode => { } return getFileDisplayContent(block.attachment) } + default: { return "" } diff --git a/apps/desktop/layer/renderer/src/modules/command/commands/global.tsx b/apps/desktop/layer/renderer/src/modules/command/commands/global.tsx index fe9da0826..b1c16c84e 100644 --- a/apps/desktop/layer/renderer/src/modules/command/commands/global.tsx +++ b/apps/desktop/layer/renderer/src/modules/command/commands/global.tsx @@ -1,6 +1,8 @@ import { EventBus } from "@follow/utils/event-bus" import { useTranslation } from "react-i18next" +import { setAppSearchOpen } from "~/atoms/app" +import { getAIPanelVisibility, setAIPanelVisibility } from "~/atoms/settings/ai" import { useShortcutsModal } from "~/modules/modal/hooks/useShortcutsModal" import { useRegisterCommandEffect } from "../hooks/use-register-command" @@ -11,7 +13,6 @@ declare module "@follow/utils/event-bus" { interface EventBusMap { "global:toggle-corner-play": void "global:quick-add": void - "global:toggle-ai-chat": void } } @@ -20,9 +21,6 @@ export const useRegisterGlobalCommands = () => { const showShortcuts = useShortcutsModal() const { t } = useTranslation("shortcuts") - const aiIcon = (props?: { isActive?: boolean }) => { - return - } useRegisterCommandEffect([ { id: COMMAND_ID.global.showShortcuts, @@ -59,6 +57,18 @@ export const useRegisterGlobalCommands = () => { category, }, + { + id: COMMAND_ID.global.quickSearch, + label: { + title: t("command.global.quick_search.title"), + description: t("command.global.quick_search.description"), + }, + run: () => { + setAppSearchOpen(true) + }, + category, + }, + { id: COMMAND_ID.global.toggleAIChat, label: { @@ -66,9 +76,10 @@ export const useRegisterGlobalCommands = () => { description: t("command.global.toggle_ai_chat.description"), }, run: () => { - EventBus.dispatch(COMMAND_ID.global.toggleAIChat) + const isVisible = getAIPanelVisibility() + setAIPanelVisibility(!isVisible) }, - icon: aiIcon, + category, }, ]) @@ -94,8 +105,14 @@ export type ToggleAIChatCommand = Command<{ fn: (ctx?: { entryId?: string }) => void }> +export type QuickSearchCommand = Command<{ + id: typeof COMMAND_ID.global.quickSearch + fn: () => void +}> + export type GlobalCommand = | ShowShortcutsCommand | ToggleCornerPlayCommand | QuickAddCommand | ToggleAIChatCommand + | QuickSearchCommand diff --git a/apps/desktop/layer/renderer/src/modules/command/commands/id.ts b/apps/desktop/layer/renderer/src/modules/command/commands/id.ts index e1b03ccc6..29e3f3a72 100644 --- a/apps/desktop/layer/renderer/src/modules/command/commands/id.ts +++ b/apps/desktop/layer/renderer/src/modules/command/commands/id.ts @@ -50,6 +50,7 @@ export const COMMAND_ID = { toggleCornerPlay: "global:toggle-corner-play", quickAdd: "global:quick-add", toggleAIChat: "global:toggle-ai-chat", + quickSearch: "global:quick-search", }, layout: { toggleSubscriptionColumn: "layout:toggle-subscription-column", diff --git a/apps/desktop/layer/renderer/src/modules/command/hooks/use-command-binding.ts b/apps/desktop/layer/renderer/src/modules/command/hooks/use-command-binding.ts index f26dfc415..43cdd485f 100644 --- a/apps/desktop/layer/renderer/src/modules/command/hooks/use-command-binding.ts +++ b/apps/desktop/layer/renderer/src/modules/command/hooks/use-command-binding.ts @@ -53,6 +53,7 @@ export const defaultCommandShortcuts = { [COMMAND_ID.global.quickAdd]: transformShortcut("$mod+N"), [COMMAND_ID.global.showShortcuts]: "?", [COMMAND_ID.global.toggleAIChat]: transformShortcut("$mod+I"), + [COMMAND_ID.global.quickSearch]: transformShortcut("$mod+K"), } as const const overrideCommandShortcutsAtom = atomWithStorage< @@ -105,8 +106,6 @@ export const allowCustomizeCommands = new Set([ COMMAND_ID.entry.star, COMMAND_ID.entry.tip, COMMAND_ID.entry.tts, - - COMMAND_ID.global.toggleAIChat, ] as const) type ExtractSetType> = T extends Set ? U : never export type AllowCustomizeCommandId = ExtractSetType diff --git a/apps/desktop/layer/renderer/src/modules/customize-toolbar/dnd.tsx b/apps/desktop/layer/renderer/src/modules/customize-toolbar/dnd.tsx index e89f3f3de..c51257c90 100644 --- a/apps/desktop/layer/renderer/src/modules/customize-toolbar/dnd.tsx +++ b/apps/desktop/layer/renderer/src/modules/customize-toolbar/dnd.tsx @@ -62,10 +62,6 @@ const warningActionButton: Partial< show: !IN_ELECTRON, info: "entry_actions.warn_info_for_desktop", }, - [COMMAND_ID.global.toggleAIChat]: { - show: true, - info: "entry_actions.warn_info_ai_chat_pinned_tip", - }, } export const SortableActionButton = ({ id }: { id: UniqueIdentifier }) => { diff --git a/apps/desktop/layer/renderer/src/modules/panel/cmdn.tsx b/apps/desktop/layer/renderer/src/modules/panel/cmdn.tsx index 6d801b32a..6ff0aab89 100644 --- a/apps/desktop/layer/renderer/src/modules/panel/cmdn.tsx +++ b/apps/desktop/layer/renderer/src/modules/panel/cmdn.tsx @@ -1,4 +1,3 @@ -import { useGlobalFocusableScopeSelector } from "@follow/components/common/Focusable/hooks.js" import { Form, FormControl, FormField, FormItem } from "@follow/components/ui/form/index.jsx" import { useRegisterGlobalContext } from "@follow/shared/bridge" import { tracker } from "@follow/tracker" @@ -11,7 +10,6 @@ import { useTranslation } from "react-i18next" import { useEventCallback } from "usehooks-ts" import { z } from "zod" -import { FocusablePresets } from "~/components/common/Focusable" import { m } from "~/components/common/Motion" import { PlainModal } from "~/components/ui/modal/stacked/custom-modal" import { useModalStack } from "~/components/ui/modal/stacked/hooks" @@ -19,7 +17,6 @@ import { getRouteParams } from "~/hooks/biz/useRouteParams" import { ipcServices } from "~/lib/client" import { COMMAND_ID } from "../command/commands/id" -import { useCommandBinding } from "../command/hooks/use-command-binding" import { FeedForm } from "../discover/FeedForm" const CmdNPanel = () => { @@ -117,11 +114,6 @@ export const CmdNTrigger = () => { }) }) - useCommandBinding({ - commandId: COMMAND_ID.global.quickAdd, - when: useGlobalFocusableScopeSelector(FocusablePresets.isNotFloatingLayerScope), - }) - useEffect(() => { return EventBus.subscribe(COMMAND_ID.global.quickAdd, handler) }, [handler]) diff --git a/apps/desktop/layer/renderer/src/modules/player/corner-player.tsx b/apps/desktop/layer/renderer/src/modules/player/corner-player.tsx index caa0ec8c3..75e9fbc61 100644 --- a/apps/desktop/layer/renderer/src/modules/player/corner-player.tsx +++ b/apps/desktop/layer/renderer/src/modules/player/corner-player.tsx @@ -1,4 +1,3 @@ -import { useGlobalFocusableScopeSelector } from "@follow/components/common/Focusable/index.js" import { Spring } from "@follow/components/constants/spring.js" import { useMobile } from "@follow/components/hooks/useMobile.js" import { Tooltip, TooltipContent, TooltipTrigger } from "@follow/components/ui/tooltip/index.jsx" @@ -23,7 +22,6 @@ import { useAudioPlayerAtomSelector, useAudioPlayerAtomValue, } from "~/atoms/player" -import { FocusablePresets } from "~/components/common/Focusable" import { VolumeSlider } from "~/components/ui/media/VolumeSlider" import type { NavigateEntryOptions } from "~/hooks/biz/useNavigateEntry" import { useNavigateEntry } from "~/hooks/biz/useNavigateEntry" @@ -31,7 +29,6 @@ import type { FeedIconEntry } from "~/modules/feed/feed-icon" import { FeedIcon } from "~/modules/feed/feed-icon" import { COMMAND_ID } from "../command/commands/id" -import { useCommandBinding } from "../command/hooks/use-command-binding" const handleClickPlay = () => { AudioPlayer.togglePlayAndPause() @@ -141,11 +138,6 @@ const CornerPlayerImpl = ({ hideControls, rounded }: ControlButtonProps) => { const subscription = useSubscriptionByFeedId(entry?.feedId) const list = useListById(listId) - useCommandBinding({ - commandId: COMMAND_ID.global.toggleCornerPlay, - when: useGlobalFocusableScopeSelector(FocusablePresets.isSubscriptionOrTimeline), - }) - useEffect(() => { return EventBus.subscribe(COMMAND_ID.global.toggleCornerPlay, () => { handleClickPlay() diff --git a/apps/desktop/layer/renderer/src/modules/subscription-column/SubscriptionColumnHeader.tsx b/apps/desktop/layer/renderer/src/modules/subscription-column/SubscriptionColumnHeader.tsx index f29d0f2d3..3fdd6aba6 100644 --- a/apps/desktop/layer/renderer/src/modules/subscription-column/SubscriptionColumnHeader.tsx +++ b/apps/desktop/layer/renderer/src/modules/subscription-column/SubscriptionColumnHeader.tsx @@ -7,12 +7,10 @@ import { cn } from "@follow/utils/utils" import { m } from "motion/react" import type { FC, PropsWithChildren } from "react" import { memo, useEffect, useRef, useState } from "react" -import { useHotkeys } from "react-hotkeys-hook" import { useTranslation } from "react-i18next" import { Link } from "react-router" import { toast } from "sonner" -import { setAppSearchOpen } from "~/atoms/app" import { useIsZenMode, useSetZenMode } from "~/atoms/settings/ui" import { setTimelineColumnShow, useTimelineColumnShow } from "~/atoms/sidebar" import { @@ -61,7 +59,6 @@ export const SubscriptionColumnHeader = memo(() => { - @@ -155,15 +152,3 @@ const LogoContextMenu: FC = ({ children }) => { ) } - -const SearchTrigger = () => { - useHotkeys( - "meta+k,ctrl+k", - () => { - setAppSearchOpen(true) - }, - { preventDefault: true }, - ) - - return null -} diff --git a/apps/desktop/layer/renderer/src/providers/global-hotkeys-provider.tsx b/apps/desktop/layer/renderer/src/providers/global-hotkeys-provider.tsx index ecb2aeb23..c78c56b92 100644 --- a/apps/desktop/layer/renderer/src/providers/global-hotkeys-provider.tsx +++ b/apps/desktop/layer/renderer/src/providers/global-hotkeys-provider.tsx @@ -15,11 +15,37 @@ import { COMMAND_ID } from "~/modules/command/commands/id" import { useRunCommandFn } from "~/modules/command/hooks/use-command" import { useCommandBinding, useCommandShortcuts } from "~/modules/command/hooks/use-command-binding" -export const GlobalHotkeysProvider = () => { +const useRegisterGlobalHotkeys = () => { + const notInFloatingLayerScope = useGlobalFocusableScopeSelector( + FocusablePresets.isNotFloatingLayerScope, + ) useCommandBinding({ commandId: COMMAND_ID.global.showShortcuts, + when: notInFloatingLayerScope, }) + useCommandBinding({ + commandId: COMMAND_ID.global.toggleCornerPlay, + when: notInFloatingLayerScope, + }) + + useCommandBinding({ + commandId: COMMAND_ID.global.quickAdd, + when: notInFloatingLayerScope, + }) + + useCommandBinding({ + commandId: COMMAND_ID.global.quickSearch, + when: notInFloatingLayerScope, + }) + + useCommandBinding({ + commandId: COMMAND_ID.global.toggleAIChat, + when: notInFloatingLayerScope, + }) +} +export const GlobalHotkeysProvider = () => { + useRegisterGlobalHotkeys() useEventListener("keydown", (e) => { if (e.key === "Tab") { nextFrame(() => { diff --git a/locales/shortcuts/en.json b/locales/shortcuts/en.json index 914f68c36..7c6862bcf 100644 --- a/locales/shortcuts/en.json +++ b/locales/shortcuts/en.json @@ -18,6 +18,8 @@ "command.entry.scroll_up.title": "Scroll Up", "command.global.quick_add.description": "Open quick add panel to follow a new feed or others", "command.global.quick_add.title": "Quick Add", + "command.global.quick_search.description": "Open the quick search panel", + "command.global.quick_search.title": "Quick Search", "command.global.show_shortcuts.description": "Show the shortcuts guideline modal", "command.global.show_shortcuts.title": "Show Shortcuts", "command.global.toggle_ai_chat.description": "Toggle the AI chat panel", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 50335183c..27509d5d1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -774,8 +774,8 @@ importers: specifier: workspace:* version: link:../../../../packages/internal/utils '@folo-services/ai-tools': - specifier: 0.2.34 - version: 0.2.34(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2)(pg@8.16.3) + specifier: 0.2.36 + version: 0.2.36(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2)(pg@8.16.3) '@types/node': specifier: 24.0.10 version: 24.0.10 @@ -4060,8 +4060,8 @@ packages: '@follow-app/client-sdk@0.3.50': resolution: {integrity: sha512-qc8gI5li/v62h1oR8p0bkLh+tlNaEP8jogppoP92v10XktERtd0rrx5grvSQ1pw0mM3Fws4CknEJZeGH9leDaw==} - '@folo-services/ai-tools@0.2.34': - resolution: {integrity: sha512-c1RwRccJCWIBzkPrzVkfOMk6DrB1Ftfa3IHXgrRFx4qQWNGKDeeEG5W6zcFHUam4mUncsydzUBZeiQUBTXJCEA==} + '@folo-services/ai-tools@0.2.36': + resolution: {integrity: sha512-MNgXELZklcwteBjyC92lp2xgVm1ydDRkX+5dl4ZiYYqVi9spbD3GcckurbiQJ9ANF/7PW71nnJSIo7/9y8qaWg==} '@folo-services/constants@0.1.29': resolution: {integrity: sha512-7YH5UQyUoT0STsoAKXTJgdAlvW88RKe5L/yqq4nbovSf2UJm1yEfl+opOYMeYEKBzX3OnixIipPL/1oKQPeh0w==} @@ -4069,8 +4069,8 @@ packages: '@folo-services/drizzle@0.1.23': resolution: {integrity: sha512-Y4oGzfcYtsh9jdaDZvMh0CMO2tD1c2VSt1gtaZbq9uF17sv45empMI72OdGfWEJBJse7h/P+YGydX7iK63aoIQ==} - '@folo-services/drizzle@0.1.24': - resolution: {integrity: sha512-C2B32AuAIoPihwkowEzQVSCq9jz5gUJOXWSTsh46ICCXIQ+FeDLclGuOS13+3FQ79mGBslUqrRu5chpoeDLE/g==} + '@folo-services/drizzle@0.1.25': + resolution: {integrity: sha512-FByV3IWHAV3qh5G9eIl6dUzUGfWakk+VyjOBBseVQ5InpZiCZyMAKh5MXsvR1L4Uew/cX+rHey6dNfo80BYB7Q==} '@folo-services/exceptions@0.1.16': resolution: {integrity: sha512-ThmLLe1Dv2CFsDIgcuY6kJhYJnjiQ7UEsewaqc25MkuImDabhzWnnad+3zRnJGLpveaMeEZ69uqUsTbKC+fR7g==} @@ -19018,10 +19018,10 @@ snapshots: - sql.js - sqlite3 - '@folo-services/ai-tools@0.2.34(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2)(pg@8.16.3)': + '@folo-services/ai-tools@0.2.36(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2)(pg@8.16.3)': dependencies: '@ai-sdk/openai': 2.0.22(zod@3.25.76) - '@folo-services/drizzle': 0.1.24(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2) + '@folo-services/drizzle': 0.1.25(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2) ai: 5.0.26(zod@3.25.76) drizzle-orm: 0.44.3(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2)(pg@8.16.3) zod: 3.25.76 @@ -19100,7 +19100,7 @@ snapshots: - sql.js - sqlite3 - '@folo-services/drizzle@0.1.24(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2)': + '@folo-services/drizzle@0.1.25(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2)': dependencies: '@folo-services/exceptions': 0.1.16 drizzle-orm: 0.44.3(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(expo-sqlite@15.2.12(expo@53.0.12(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0)))(bufferutil@4.0.9)(graphql@16.8.1)(react-native-webview@13.15.0(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(react-native@0.79.1(@babel/core@7.28.0)(@types/react@19.1.8)(bufferutil@4.0.9)(react@19.0.0))(react@19.0.0))(kysely@0.28.2)(pg@8.16.3)