mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-27 21:01:32 +08:00
- Updated `tsconfig.web.json` to support wildcard imports for `@cherrystudio/ai-core`. - Enhanced `package.json` to include type definitions and imports for built-in plugins. - Introduced recursive call functionality in `PluginManager` and `PluginEngine`, allowing for improved handling of tool interactions. - Added `MCPPromptPlugin` to facilitate tool calls within prompts, enabling recursive processing of tool results. - Refactored `transformStream` methods across plugins to accommodate new parameters and improve type safety.
23 lines
579 B
JSON
23 lines
579 B
JSON
{
|
|
"extends": "@electron-toolkit/tsconfig/tsconfig.web.json",
|
|
"include": [
|
|
"src/renderer/src/**/*",
|
|
"src/preload/*.d.ts",
|
|
"local/src/renderer/**/*",
|
|
"packages/shared/**/*",
|
|
"packages/aiCore/src/**/*"
|
|
],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"jsx": "react-jsx",
|
|
"baseUrl": ".",
|
|
"moduleResolution": "bundler",
|
|
"paths": {
|
|
"@renderer/*": ["src/renderer/src/*"],
|
|
"@shared/*": ["packages/shared/*"],
|
|
"@types": ["src/renderer/src/types/index.ts"],
|
|
"@cherrystudio/ai-core/*": ["packages/aiCore/src/*"]
|
|
}
|
|
}
|
|
}
|