* chore: update workspace dependencies
- bump dependencies across desktop, mobile, ssr, and internal packages
- refresh pnpm lockfile
- apply type compatibility fixes required by upgraded packages
* fix(ssr): prevent tsdown CI warning from failing build
- set inlineOnly to false in tsdown config
* style: format files for CI prettier check
- apply prettier formatting to files reported by format:check
* fix(mobile): downgrade reanimated for rn 0.79 ios build
- Upgraded various dependencies in package.json files, including @electron-forge, @sentry/react, and @better-auth.
- Updated devDependencies and fixed version mismatches in internal components and utilities.
- Enhanced settings sync queue to spread object properties for better payload handling.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai-task): implement AI task management components and queries
Add AITaskModal for creating and editing AI tasks, ScheduleConfig for scheduling options, and AITaskList for displaying tasks. Introduce query hooks for task management and define types for scheduling.
* feat: add TaskSchedulingSection for managing AI tasks
* chore: implement task creation limit and error handling in AIChatContextBar
* fix: lint
* refactor: simplify default form data handling and improve readability
* feat(ai-task): add AITaskModalHeader component for improved task title management
* refactor: streamline task scheduling UI
* refactor(ai-chat): update modal title and close capability for task scheduling
* feat(input): add TimeSelect component for custom time picking
* feat: integrate TimeSelect component for improved time selection
* feat: add DateTimePicker component for enhanced date and time selection
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai-task): implement TaskItem component for displaying individual AI tasks with status and actions
Signed-off-by: Innei <tukon479@gmail.com>
* feat: update client-sdk version and implement reusable ItemActions component for AI task and MCP service management
- Updated '@follow-app/client-sdk' to version 0.3.46 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Introduced a new ItemActions component for handling action buttons and toggle switches in AI task and MCP service items.
- Refactored TaskItem, MCPServiceItem, and ShortcutItem components to utilize the new ItemActions component for improved code reuse and maintainability.
- Enhanced TokenUsageSection to display reset date in a more user-friendly format.
- Updated MCPService interface to include an 'enabled' property for better state management.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(ai-settings): remove unused export for MCPServicesSection
Signed-off-by: Innei <tukon479@gmail.com>
* fix: update task status logic to reflect correct scheduling states
* chore: update button styling for schedule action in AIChatContextBar
* feat: enhance task modal with internationalization support
Added translation keys for task-related actions and messages in English, Japanese, and Chinese. Updated the AITaskModal component to utilize these translations for improved user experience.
---------
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
* feat(ai): implement MCP service integration for enhanced AI capabilities
- Added functionality to manage MCP services, including adding, updating, removing, and connecting to services.
- Introduced UI components for MCP service management, allowing users to enable MCP services and discover service endpoints.
- Updated AI settings to include MCP service configurations and integrated translations for new UI elements.
- Enhanced error handling and user feedback for service connection and discovery processes.
These changes collectively extend the AI capabilities by integrating external services through secure OAuth connections, improving the overall user experience.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(mcp): update MCP service integration and enhance settings management
- Upgraded '@follow-app/client-sdk' to version 0.3.38, reflecting the latest changes in MCP service management.
- Removed deprecated MCP service functions and streamlined the integration process for better performance.
- Introduced new UI components for managing MCP connections, including transport type selection and header configuration.
- Enhanced error handling and user feedback for service connection and discovery processes.
- Updated translations for new UI elements related to MCP services.
These changes collectively improve the user experience by providing a more robust and intuitive interface for managing external services through secure OAuth connections.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai-chat): enhance ToolInvocationComponent with error handling and UI updates
- Added error handling to ToolInvocationComponent, displaying error messages and visual indicators when tool execution fails.
- Updated the UI to reflect tool status, changing icons and text based on success or failure.
- Improved styling for the back button in ChatInterfaceContent for a more consistent appearance.
These changes improve user feedback and interaction within the AI chat interface, enhancing overall usability.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(ai): streamline MCPServiceItem layout for improved readability
- Removed redundant resource and prompt counts from the MCPServiceItem component to simplify the display.
- Adjusted the layout to enhance the presentation of service details, including tools, creation date, and last used date.
These changes improve the clarity and usability of the MCP service information within the AI settings interface.
Signed-off-by: Innei <tukon479@gmail.com>
* chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
* init
* refactor
* implement mention plugin for chat input
- Updated pnpm-lock.yaml and pnpm-workspace.yaml to include new versions of @floating-ui packages.
- Added MentionPlugin to the chat input component, enabling mention functionality.
- Created necessary components, hooks, and utilities for mention handling, including MentionNode, MentionDropdown, and related styles.
- Refactored existing code to integrate mention features seamlessly into the chat interface.
This update enhances the chat experience by allowing users to mention others easily, improving interactivity and engagement.
Signed-off-by: Innei <tukon479@gmail.com>
* Enhance mention functionality in chat editor
- Integrated MentionNode into AIRichTextMessage for improved mention handling.
- Updated MentionPlugin to utilize new hooks for mention search and insertion.
- Added useMentionIntegration and useMentionSearchService hooks for better mention management.
- Created contextBarSearchService and feedEntrySearchService for unified search functionality.
- Refactored LexicalRichEditor to support custom nodes from plugins.
This update improves the chat experience by streamlining mention interactions and enhancing search capabilities.
Signed-off-by: Innei <tukon479@gmail.com>
* Enhance mention integration and synchronization in chat editor
- Updated ChatInput layout for improved button positioning.
- Added select-none class to mention styles for better user experience.
- Refactored MentionDropdown to improve the display of mention types and content.
- Introduced useMentionBlockSync hook for bidirectional synchronization between mention nodes and context blocks.
- Enhanced useMentionIntegration to handle mention insertion with node key tracking.
- Implemented useMentionSearchService for streamlined mention search functionality.
These changes improve the overall mention handling and user interaction within the chat editor, making it more intuitive and efficient.
Signed-off-by: Innei <tukon479@gmail.com>
* Refactor ChatInput layout to include ScrollArea for improved scrolling experience
- Wrapped LexicalRichEditor in a ScrollArea component to enhance the input area’s usability.
- Adjusted styles in LexicalRichEditor for better layout consistency.
These changes aim to improve user interaction within the chat input by providing a more flexible scrolling interface.
Signed-off-by: Innei <tukon479@gmail.com>
* Remove deprecated mention functionality and update MentionNode for markdown export
- Deleted mention-related files and types as functionality has been moved to the desktop app.
- Updated MentionNode to change the text content format for markdown export.
- Refactored useMentionBlockSync to remove unused helper functions and streamline dependencies.
- Adjusted LexicalRichEditor placeholder styles for better alignment.
These changes clean up the codebase by removing obsolete mention features and enhancing the current mention handling in the chat editor.
Signed-off-by: Innei <tukon479@gmail.com>
* Implement AI chat message tracking functionality
- Added tracking for AI chat messages sent by integrating the tracker module into the ChatInterface component.
- Introduced a new tracker point for AIChatMessageSent in the TrackerMapper enum.
- Removed deprecated entry tracking methods to streamline the tracking process.
These changes enhance the analytics capabilities of the chat interface by monitoring AI interactions more effectively.
Signed-off-by: Innei <tukon479@gmail.com>
* Update VSCode settings for Tailwind CSS and i18n-ally configuration
- Streamlined the tailwindCSS.experimental.classRegex by removing unnecessary line breaks for better readability.
- Consolidated the tailwindCSS.experimental.configFile and i18n-ally settings into single-line arrays for consistency.
- Ensured proper formatting and alignment of settings to enhance maintainability.
These changes improve the clarity and organization of the VSCode settings file.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
- Added support for rich text messages in the chat interface using Lexical.
- Updated ChatInput and related components to handle EditorState and rich text formats.
- Introduced AIRichTextMessage component for rendering rich text messages.
- Removed legacy LexicalRichEditor component and adjusted database schema to drop richTextSchema.
- Updated dependencies to include Lexical packages at version 0.33.1.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: remove the entry content column
* feat: remove entryColWidth
* feat: entry list styles
* feat: ai column
* feat: implement EntryColumnLayout and integrate routing for entry content
- Added EntryColumnLayout component to manage entry display and interactions.
- Integrated Outlet for nested routing within the CenterColumnLayout.
- Updated EntryItemWrapper to navigate to entry content instead of using a modal.
- Enhanced EntryContent with scroll handling and exit functionality.
- Introduced new SVG icon for scroll hint in entry content.
* fix: date item bg
* refactor: simplify line clamping and layout adjustments in ListItem component
- Removed the settingWideMode dependency for line clamping calculations, standardizing title and description clamping values.
- Adjusted media width and audio cover width calculations for consistent layout.
- Updated class names and styles for improved readability and maintainability.
* feat: enhance feature management and layout adjustments
- Introduced a new `withFeature` higher-order component to manage feature toggling for the ListItem component.
- Updated the ListItem component to conditionally render based on the AI feature flag.
- Adjusted layout settings for entry columns, including entryColWidth and improved responsiveness.
- Added new templates for list items to support different display modes.
- Updated the CenterColumnLayout to integrate with the new feature management system.
* feat: implement feature flag management for AI functionality
- Introduced `useFeature` hook to manage feature toggling based on server configurations.
- Updated components to utilize the new `useFeature` hook for AI-related features, enhancing modularity and maintainability.
- Refactored `EntryLayoutContent`, `EntryItemWrapper`, and other components to check AI feature status through the new hook.
- Added a legacy list item template to support fallback rendering when AI features are disabled.
* refactor: comment out unused setTimeout in EntryItemWrapper
- Commented out the setTimeout function that dispatches an event to focus on the entry render, marking it as a TODO for future implementation.
- This change improves code clarity and prepares for potential feature adjustments.
* feat: debug feature
- Bump various dependencies in package.json files, including updates to eslint, prettier, vite, and react-related packages.
- Update devDependencies such as es-toolkit, nbump, and others to their latest versions.
- Ensure consistency in @types/node and other related packages across the project.
This update enhances compatibility and performance across the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated various package dependencies across the project, including @sentry/react, @tanstack/react-query, and others to their latest versions for improved performance and security.
- Enhanced type safety in several components by refining type definitions, particularly in motion-related imports.
- Adjusted transition configurations to utilize new presets for smoother animations.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed the ESLint rule for "package-json-extend/ensure-package-version" from "warn" to "error" to enforce stricter package version checks.
- Updated various dependencies across multiple package.json files, including:
- Upgraded @eslint/compat to version 1.2.9
- Updated @types/node, @types/react, and @types/react-dom to their latest versions.
- Bumped eslint to version 9.27.0 and lint-staged to version 16.1.0.
- Updated several other packages such as turbo, tsx, and various Radix UI components to their latest versions.
- Ensured compatibility with the latest versions of dependencies.
Signed-off-by: Innei <tukon479@gmail.com>
- Reformatted tsconfig.json for better readability.
- Removed unused exports files from internal components.
- Updated package.json files to reflect changes in exports structure and added new paths for schemas and services in the database package.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the version of react-native-uikit-colors from 0.5.2 to 0.6.2 in multiple package.json files.
- Updated the version of tailwindcss-uikit-colors from 0.6.0 to 0.6.2 in relevant package.json files.
- Ensured consistency across the project by aligning dependency versions.
These changes help maintain compatibility and leverage improvements in the updated packages.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced Radio component with RadioGroupItem and RadioCard for better structure and styling.
- Introduced a new Checkbox component with enhanced state management and animations.
- Updated various files to utilize the new components, ensuring consistent behavior across the application.
- Removed deprecated Radio component and associated styles from the codebase.
- Bumped versions of various dependencies in package.json files, including @tsslint, eslint, nbump, and others.
- Updated @types/node to 22.15.3 in several packages for compatibility.
- Adjusted versions of Radix UI components and other libraries to their latest releases for improved functionality and security.
Signed-off-by: Innei <tukon479@gmail.com>
- Deleted obsolete configuration files and unused components across various packages.
- Updated package.json files to reflect the removal of dependencies.
- Cleaned up code by removing unnecessary exports and unused imports in multiple modules.
Signed-off-by: Innei <tukon479@gmail.com>