* fix(ai-chat): update session handling to mark chats as seen and improve unread message detection
* fix(ai-chat): handle deletion of remote chat sessions when clearing cache
* fix(ai-task): update task session retrieval and handle test run results
- Adjusted session retrieval to match task ID format.
- Enhanced error handling for test run mutations and added message fetching after successful test runs.
* fix(ai-task): update types
- Updated the `ToolInvocationComponent` to format tool names using title case and replace underscores with spaces for better readability.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified the `ToolInvocationComponent` to adjust the styling of the error indicator.
- Updated the `AIMessageParts` component to change the bypass condition for tool names and added logging for chain thought parts.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a new effect to manage the rendering of the details column based on the timeline's state.
- Updated dependencies in the width adjustment effect to ensure proper layout updates.
- Cleaned up unnecessary state updates to enhance performance.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated `ChatHeader` to display title when messages are present.
- Modified `ChatHistoryDropdown` to remove cleanup of empty sessions.
- Adjusted `ChatInterface` to show loading overlay during message sync.
- Refactored `useLoadMessages` to include remote syncing state.
- Simplified session handling in `AIChatSessionService` and removed unused message count logic.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `hydrateSessionsFromLocalDb` to initialize app for session management.
- Updated `ChatHistoryDropdown` to conditionally render loading state based on session length.
- Refactored `useChatHistory` to utilize the AI chat session store for state management.
- Enhanced `AIChatSessionService` to include session synchronization and error handling.
- Exported store actions from `ai-chat-session` module for better state management.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the legacy EntryContent component and replaced it with EntryContentForPreview in EntryModalPreview.
- Updated AIChatContextBar to use a responsive max-width style.
- These changes streamline the entry content rendering process and improve the overall code structure.
Signed-off-by: Innei <tukon479@gmail.com>
- Added functionality to scroll to the top of the EntryContent when the animation starts, utilizing the springScrollTo utility.
- Removed unused zenMode method from the RenderGlobalContext interface to clean up the code.
These changes enhance the user experience by ensuring the content is visible upon entry and streamline the codebase by removing unnecessary methods.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated '@follow-app/client-sdk' to version 0.3.73 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Bumped '@folo-services/ai-tools' to version 0.2.47 in package.json.
- Introduced SaveMemoryCard component for displaying saved memories in AIMessageParts.
- Added UserMemorySection to manage and display user memories in settings.
- Enhanced localization for memory-related features in English, Japanese, and Chinese.
These changes improve the AI's memory functionality and ensure up-to-date dependencies.
Signed-off-by: Innei <tukon479@gmail.com>