Folo/packages
Innei 2eff764046
feat(ai): MCP integration presets (#4398)
* init

Signed-off-by: Innei <tukon479@gmail.com>

* feat: mcp preset

- Bumped the version of `@follow-app/client-sdk` from 0.3.48 to 0.3.50 in both `pnpm-lock.yaml` and `pnpm-workspace.yaml`.
- Refactored button rendering logic in `ai-task-modal.tsx` for cleaner code.
- Updated status color classes in `task-item.tsx` for improved styling consistency.
- Simplified props in `MCPPresetCard.tsx` and removed loading state handling for a more straightforward UI.
- Enhanced `MCPPresetSelectionModal.tsx` by removing unnecessary loading states and labels.
- Cleaned up `MCPServiceModalContent.tsx` by removing loading state handling from buttons.
- Improved `MCPServicesSection.tsx` by adjusting OAuth handling and refetch logic on window focus.
- Added new quick setup options for GitHub and Linear in `types.ts`.

These changes aim to enhance the user experience and maintainability of the codebase.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: implement query optimistic hook

- Introduced a new optimistic mutation system to enhance the user experience by providing immediate feedback during create, update, and delete operations.
- Added `createOptimisticConfig` for streamlined optimistic updates across various components.
- Refactored existing mutations in `ai-task` and `MCPServicesSection` to utilize the new optimistic strategies, improving responsiveness and error handling.
- Updated documentation in `CLAUDE.md` to clarify the usage of type checking and linting processes.

These changes aim to improve the overall performance and user interaction within the application.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-29 23:59:35 +08:00
..
changelog-cli feat(changelog-cli): implement AI-driven changelog generation with OpenAI integration 2025-07-25 00:09:11 +08:00
configs feat(ui): implement color mixing utility and update component styles 2025-08-24 17:36:34 +08:00
internal feat(ai): MCP integration presets (#4398) 2025-08-29 23:59:35 +08:00
readability chore(dependencies): update nbump to version 2.1.5 across multiple packages 2025-07-29 23:17:17 +08:00