Folo/packages/internal
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
..
atoms
components refactor: replace Accordion with Collapse components 2025-08-28 18:14:13 +08:00
constants feat(desktop): payment for ai (#4309) 2025-08-20 11:27:49 +08:00
database chore(deps): update ai and folo dependencies (#4308) 2025-08-07 13:54:25 +08:00
hooks feat(ai): MCP integration presets (#4398) 2025-08-29 23:59:35 +08:00
logger chore: update dependencies and improve type safety 2025-06-20 23:32:42 +08:00
models refactor: Progressive migration Client SDK (#4227) 2025-07-23 01:21:34 +08:00
shared feat: implement AI task management (#4362) 2025-08-25 17:14:14 +08:00
store fix(subscription): deduplicate feed IDs when feeds exist in both subscriptions and lists 2025-08-20 19:53:10 +08:00
tracker feat: remove ai daily report 2025-08-29 21:18:21 +08:00
types
utils feat: optimize ai entry content layout and re-structure store files 2025-08-13 18:42:41 +08:00
CLAUDE.md feat(ai): support customize chat title 2025-08-07 20:57:12 +08:00