Commit Graph

367 Commits

Author SHA1 Message Date
1600822305 b5fd228063 1 2025-04-30 17:59:46 +08:00
1600822305 567e54bd75 修复 2025-04-28 13:29:03 +08:00
1600822305 e2236b48a6 修复升级到32.3.3 2025-04-28 06:55:18 +08:00
1600822305 e5c3e57430 更新35.2.0 2025-04-26 06:27:33 +08:00
1600822305 8546219546 网页 2025-04-25 18:43:36 +08:00
1600822305 d4b2d53118 666 2025-04-24 04:35:45 +08:00
1600822305 7faf8ec27b 1.2.7 2025-04-23 23:35:37 +08:00
1600822305 4dde843ef4 更新 2025-04-22 11:44:21 +08:00
1600822305 53643e81f0 升级 2025-04-20 01:46:29 +08:00
1600822305 adac7659a8 修改1亿点点 2025-04-19 20:34:26 +08:00
1600822305 53708a973f 添加了 TTS 相关服务并更新了设置 2025-04-18 04:06:39 +08:00
1600822305 877beeab43 111 2025-04-15 01:31:22 +08:00
1600822305 227dc01c85 Merge remote-tracking branch 'origin/1600822305-patch-2' into TTSom 2025-04-14 23:37:05 +08:00
1600822305 0c2bd4ef14 Merge remote-tracking branch 'origin/om3' into TTSom 2025-04-14 23:30:58 +08:00
1600822305 e38b18bb53 新增信息id 2025-04-14 23:20:03 +08:00
kangfenmao 3cfd2d6d8c Merge branch 'main' into 1600822305-patch-2
# Conflicts:
#	electron-builder.yml
#	yarn.lock
2025-04-14 23:15:27 +08:00
kangfenmao c4c6e83721 refactor(ipc): remove Windows ARM update check from IPC handler and AboutSettings component 2025-04-14 20:04:48 +08:00
1600822305 4223737bde Merge branch 'main' into 1600822305-patch-2 2025-04-14 18:11:50 +08:00
1600822305 370ee60537 修复了一些bug 2025-04-14 17:55:25 +08:00
LiuVaayne 0a2c9037e7 feat: mcp custom headers (#4800)
* Add support for custom HTTP headers in MCP servers

Allow users to configure custom HTTP headers for SSE and streamable HTTP
MCP server connections. This enables authentication and other API
requirements.

* Add custom headers i18n strings
2025-04-14 17:17:13 +08:00
LiuVaayne a6374abcb9 Feat/mcp tool response support image (#4787)
* Add typed MCPCallToolResponse interface and format converters

The commit introduces a structured response type for MCP tool calls with
proper handling for different content types (text, image, audio). It adds
provider-specific converter functions to transform tool responses into
the appropriate message format for OpenAI, Anthropic, and Gemini.

* Support vision models in tool call responses

Add isVisionModel parameter to tool response formatters to conditionally
handle content based on model capabilities. Non-vision models now receive
JSON stringified content, while vision models get proper multimedia parts.
2025-04-14 17:16:42 +08:00
1600822305 51fc167b2a 添加了记忆功能 2025-04-13 23:34:58 +08:00
fullex 9f8acd4ed8 fix: mac fullscreen changed when switch back through clicking dock icon 2025-04-13 23:34:55 +08:00
Reamd7 4e00a21211 fix(MCPService): 增加获取系统 PATH 的功能, 修复 process.env.PATH 无法获取系统PATH的问题 (#4766) 2025-04-13 22:45:02 +08:00
1600822305 e9347337b2 修复 2025-04-13 22:42:26 +08:00
africa1207 3531cbe641 feat: 优化webdav备份文件恢复管理功能 (#4699)
* feat: 优化webdav备份文件恢复管理功能

* fix: 恢复和删除操作更改为文字而非图标

* feat: 统一坚果云与webdav备份恢复功能
2025-04-13 21:52:16 +08:00
kangfenmao 45cf39fb4e Merge branch 'main' into 1600822305-patch-2
# Conflicts:
#	src/renderer/src/pages/home/Messages/MessageContent.tsx
#	src/renderer/src/pages/settings/SettingsPage.tsx
#	src/renderer/src/store/settings.ts
2025-04-13 21:34:30 +08:00
LiuVaayne 97c7707ddf feat(MCP): add resource management features and localization support (#4746)
* feat(MCP): add resource management features and localization support

* feat(MCP): enhance resource handling with improved error messages and response structure

* fix(MCPToolsButton): add missing useEffect import for resource handling

---------

Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-04-13 21:08:57 +08:00
1600822305 550e83a673 记忆功能升级 2025-04-13 20:49:52 +08:00
1600822305 8aea052bd6 记忆功能 2025-04-13 03:51:11 +08:00
1600822305 54a8f31422 记忆功能 2025-04-12 22:03:13 +08:00
kangfenmao b2ede829e9 feat(Ipc): add architecture information and update check logic for Windows arm64 2025-04-12 20:42:20 +08:00
1600822305 3ac8fe6861 Merge branch 'main' into 1600822305-patch-2 2025-04-12 20:25:19 +08:00
1600822305 19dcd0b17c 添加了 TTS 相关服务并更新了设置 2025-04-12 18:53:47 +08:00
1600822305 5d57eb18ea 添加了 TTS 相关服务并更新了设置 2025-04-12 13:46:34 +08:00
1600822305 42ed1a4819 添加了 TTS 相关服务并更新了设置 2025-04-12 12:04:27 +08:00
1600822305 788fb1fc17 添加了 TTS 相关服务并更新了设置 2025-04-12 11:57:00 +08:00
LiuVaayne 1558feddbf Feat/mcp support MCP prompt (#4675)
* Add MCP prompt listing and retrieval functionality

* Add generic caching mechanism for MCP service methods

Refactor caching strategy by implementing a higher-order withCache function
to centralize cache logic and reduce code duplication. Separate implementation
details from caching concerns in listTools, listPrompts and getPrompt methods.

# Conflicts:
#	src/main/services/MCPService.ts

* Add MCP prompts listing feature

- Add IPC handlers for listing and getting prompts
- Create UI component to display available prompts in settings tab
- Improve error handling in MCP service methods

* fix(McpService): add error handling for tool and prompt listing methods

* feat(MCPSettings): enhance prompts and tools sections with improved UI and reset functionality

* feat(i18n): add tabs and prompts sections to localization files

* feat(MCPToolsButton): add MCP prompt list functionality to Inputbar

* feat(McpSettings, NpxSearch): improve user feedback with success messages on server addition

* feat(MCPService, MCPToolsButton): enhance prompt handling with caching and improved selection logic

* feat(MCPToolsButton): enhance prompt handling with argument support and error management

---------

Co-authored-by: Teo <cheesen.xu@gmail.com>
2025-04-12 10:27:48 +08:00
robot-AI 287f34d4b9 重构了memory.ts,增加了文件写入锁,解决了并行写入导致记忆文件错误的问题; (#4671)
优化了memory.json文件的加载过程,只加载一次,其它涉及图谱的操作均在内存中完成,提高效率;
注意新引入了async-mutex软件包,需要yarn install安装。
2025-04-11 22:03:57 +08:00
1600822305 8e56f8774f xuf 2025-04-11 19:03:02 +08:00
1600822305 80a9ad517e Merge remote-tracking branch 'origin/main' into 1600822305-patch-2 2025-04-11 17:00:07 +08:00
1600822305 a8f18caf0e 修复部分问题 2025-04-11 04:00:42 +08:00
1600822305 4c8751e56f 修复部分问题 2025-04-11 03:53:14 +08:00
1600822305 3ad4de74d5 修复部分问题 2025-04-11 03:50:12 +08:00
1600822305 4b652b418e 123 2025-04-11 00:53:50 +08:00
1600822305 2a42bbe918 Merge branch '1600822305-patch-2' of https://github.com/CherryHQ/cherry-studio into 1600822305-patch-2 2025-04-11 00:44:15 +08:00
1600822305 8e1ebf29b2 添加了 TTS 相关服务并更新了设置 2025-04-11 00:43:13 +08:00
kangfenmao 97ea0e5a03 refactor(ipc): streamline IPC handler definitions and improve import organization
- Simplified the registration of IPC handlers for the search window by removing unnecessary async/await syntax.
- Improved import organization by removing duplicate import statements for ASRServerService.
2025-04-10 17:38:57 +08:00
LiuVaayne e342fb9533 Clean up MCPService connections on app quit (#4647)
* Clean up MCPService connections on app quit

* Improve application shutdown error handling
2025-04-10 17:19:02 +08:00
1600822305 5cc7f0de2e 666 2025-04-10 16:20:36 +08:00