Files
Folo/pnpm-workspace.yaml
T
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

65 lines
1.9 KiB
YAML

packages:
- apps/*
- packages/**/*
- apps/desktop/layer/*
- "!apps/mobile/native/example"
- apps/mobile/web-app
- "!**/example"
- "!**/example/**"
catalog:
typescript: 5.8.3
"@follow-app/client-sdk": 0.3.50
tailwindcss-uikit-colors: 1.0.0
onlyBuiltDependencies:
- "@firebase/util"
- "@sentry/cli"
- "@tsslint/core"
- "@tsslint/eslint"
- bufferutil
- core-js
- dtrace-provider
- electron
- electron-winstaller
- esbuild
- fast-folder-size
- fs-xattr
- macos-alias
- msedge-tts
- protobufjs
- sharp
- simple-git-hooks
- utf-8-validate
overrides:
"@electron/node-gyp": 10.2.0-electron.2
is-core-module: npm:@nolyfill/is-core-module@1.0.39
isarray: npm:@nolyfill/isarray@1.0.44
lan-network@<0.1.7: 0.1.7
react: 19.0.0
react-dom: 19.0.0
react-native-ios-context-menu: 3.1.1
react-native-ios-utilities: 5.1.5
"@floating-ui/core": 1.7.2
"@floating-ui/dom": 1.7.2
"@floating-ui/react-dom": 2.1.4
"@floating-ui/react": 0.27.14
patchedDependencies:
immer@10.1.1: patches/immer@10.1.1.patch
re-resizable@6.11.2: patches/re-resizable@6.11.2.patch
hono: patches/hono.patch
electron-context-menu@4.0.5: patches/electron-context-menu@4.0.5.patch
"@mozilla/readability@0.6.0": patches/@mozilla__readability@0.6.0.patch
daisyui@4.12.24: patches/daisyui@4.12.24.patch
jsonpointer: patches/jsonpointer.patch
workbox-precaching: patches/workbox-precaching.patch
"@pengx17/electron-forge-maker-appimage": patches/@pengx17__electron-forge-maker-appimage.patch
"@microflash/remark-callout-directives": patches/@microflash__remark-callout-directives.patch
react-native-track-player: patches/react-native-track-player.patch
react-native-sheet-transitions: patches/react-native-sheet-transitions.patch
react-native-screens: patches/react-native-screens.patch
react-native-ios-utilities: patches/react-native-ios-utilities.patch
"@sentry/electron": patches/@sentry__electron.patch