Folo/apps/desktop/layer/renderer
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
..
public fix(icon): polished icon (#3956) 2025-07-14 21:36:04 +08:00
src feat(ai): MCP integration presets (#4398) 2025-08-29 23:59:35 +08:00
debug_proxy.html
global.d.ts Revert "fix(desktop): electron mas" 2025-07-01 16:50:47 +08:00
index.html feat: enhance SEO and metadata for Folo application 2025-08-26 11:24:23 +08:00
package.json feat(ai): add ai context usage info 2025-08-27 23:08:32 +08:00
pwa-assets.config.ts
setup-file.ts
tsconfig.json
vitest.config.ts fix(path): change path package to pathe (#4038) 2025-07-07 16:55:37 +08:00