Commit Graph

2394 Commits

Author SHA1 Message Date
Teo
e4514bd04c
refactor(AgentPage): Refactor AgentPage UI (#4737)
* refactor(AgentPage): Refactor AgentPage UI

* style(AgentCard): update HeaderInfoEmoji styling for improved layout and visual consistency

* fix(AgentCard): conditionally render HeaderInfoEmoji to prevent rendering of undefined

* feat(AgentsPage): add handleAddAgent function to streamline agent addition process

* style(AgentsPage): remove unnecessary whitespace in title rendering
2025-04-13 09:58:46 +08:00
王叔叔
f39bb9869b
Update LICENSE (#4744) 2025-04-13 08:00:41 +08:00
purefkh
fc884d72af
fix(UI): Correct citation tooltip style in light theme (#4738) 2025-04-12 21:48:14 +08:00
kangfenmao
883bdd6283 chore(version): 1.2.3 2025-04-12 20:47:08 +08:00
kangfenmao
fa19f41385 feat(Ipc): add architecture information and update check logic for Windows arm64 2025-04-12 20:42:20 +08:00
1600822305
a728e9866a
Merge branch 'main' into 1600822305-patch-2 2025-04-12 20:25:19 +08:00
kangfenmao
8b95a131ec fix(SettingsTab): refine reasoning effort handling for Grok models
fix: #4735
2025-04-12 20:23:31 +08:00
kangfenmao
72e18fbcc1 feat(MCPSettings): enhance MCP server management and localization updates
- Added a new SVG icon for npm in the MCP settings.
- Introduced a custom hook `useMCPServer` for retrieving a specific MCP server by ID.
- Updated localization files to include new error messages for tool and prompt loading in English, Japanese, Russian, and Chinese.
- Refactored MCP settings components for improved navigation and state management, including the use of React Router for routing.
- Enhanced the Npx search functionality and UI for better user experience.
2025-04-12 19:47:36 +08:00
1600822305
c90c8cfabd
Delete src/renderer/src/i18n/locales/zh-cn.json.bak 2025-04-12 19:11:32 +08:00
1600822305
7b9448f72e 添加了 TTS 相关服务并更新了设置 2025-04-12 18:53:47 +08:00
kangfenmao
b62c59eb52 style(SelectModelPopup): update background color animation for improved visual consistency 2025-04-12 17:02:17 +08:00
kangfenmao
ffe7702c1c style(QuickPanel): update font sizes and line height for improved readability 2025-04-12 16:41:39 +08:00
kangfenmao
1ed6320caf refactor(license.html): update structure and styling for improved readability and consistency 2025-04-12 16:41:26 +08:00
kangfenmao
315271ac35 Revert "fix(ChatNavigation): improve navigation button collapse functionality"
This reverts commit fb5ddaf9d5.
2025-04-12 16:12:34 +08:00
kangfenmao
0bd24f652d feat(NewContextButton): add styled container for responsive design
- Introduced a styled container to the NewContextButton component to hide it on smaller screens (max-width: 800px).
- Ensured the tooltip and button functionality remain intact while enhancing the component's layout.
2025-04-12 16:11:00 +08:00
kangfenmao
0e7c4e4bdd refactor(Inputbar, Messages): simplify clear topic functionality and improve message display logic
- Removed unused QuestionCircleOutlined icon and Popconfirm from Inputbar, replacing it with a direct button click for clearing topics.
- Refactored message display logic in Messages component to enhance clarity and maintainability, while preserving existing functionality.
2025-04-12 16:07:40 +08:00
kangfenmao
d4bf8da225 feat(CustomCollapse): enhance component with customizable styles and improve usage in EditModelsPopup 2025-04-12 15:57:50 +08:00
LiuVaayne
8eb6632620
Feat/improve UI mcp settings (#4717)
* feat(MCPSettings): implement server selection and navigation with back button

* chore(ui)

* chore(UI): npx search padding

* feat(NpxSearch): add server selection and navigation; update styles

---------

Co-authored-by: eeee0717 <chentao020717Work@outlook.com>
2025-04-12 15:31:52 +08:00
王叔叔
10225512f4
docs: Update LICENSE (#4723) 2025-04-12 15:31:33 +08:00
1600822305
61570879ef 添加了 TTS 相关服务并更新了设置 2025-04-12 13:46:34 +08:00
1600822305
808e5ef076 添加了 TTS 相关服务并更新了设置 2025-04-12 12:04:27 +08:00
1600822305
42c38b73ce 添加了 TTS 相关服务并更新了设置 2025-04-12 11:57:00 +08:00
Hao He
76058bd749
feat(MessageTools): add error handling and status indicator for tool responses (#4712)
* feat(MessageTools): add error handling and status indicator for tool responses

* feat(i18n): add error message for tool invocation in English, Japanese, and Russian locales
2025-04-12 10:33:14 +08:00
Herio
a692ae7e9d fix(Messages): 调整ScrollContainer和Container的样式以减少底部空间 2025-04-12 10:28:06 +08:00
LiuVaayne
a70ca190ba
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
7c39116351
重构了memory.ts,增加了文件写入锁,解决了并行写入导致记忆文件错误的问题; (#4671)
优化了memory.json文件的加载过程,只加载一次,其它涉及图谱的操作均在内存中完成,提高效率;
注意新引入了async-mutex软件包,需要yarn install安装。
2025-04-11 22:03:57 +08:00
1600822305
e0531ca5b6 添加了 TTS 相关服务并更新了设置 2025-04-11 21:49:47 +08:00
1600822305
d458395076 添加了 TTS 相关服务并更新了设置 2025-04-11 21:03:18 +08:00
1600822305
1bb423c82b 添加了 TTS 相关服务并更新了设置 2025-04-11 20:05:32 +08:00
1600822305
50545ad719 添加了 TTS 相关服务并更新了设置 2025-04-11 19:08:51 +08:00
1600822305
4fca77a047 xuf 2025-04-11 19:03:02 +08:00
1600822305
b4f602e00d 添加了 TTS 相关服务并更新了设置 2025-04-11 17:06:39 +08:00
1600822305
fa4dfecfe1 Merge remote-tracking branch 'origin/main' into 1600822305-patch-2 2025-04-11 17:00:07 +08:00
1600822305
df7bf152bd 添加了 TTS 相关服务并更新了设置 2025-04-11 16:56:20 +08:00
1600822305
3069e35688 TTS语音通话功能 2025-04-11 16:02:17 +08:00
kangfenmao
04333535dd chore(version): 1.2.2 2025-04-11 14:43:02 +08:00
kangfenmao
a1dba93d27 feat(websearch): initialize subscribeSources in migrateConfig and update WebSearchState interface 2025-04-11 14:42:35 +08:00
Chen Tao
0842b7e84d
fix(llm): rename settingsSlice to llmSlice for clarity (#4688) 2025-04-11 11:32:30 +08:00
kangfenmao
24d6d146c0 fix(scripts): update download URLs and default versions for bun and uv binaries 2025-04-11 11:25:37 +08:00
1600822305
a4eeea6732 修复部分问题 2025-04-11 04:00:42 +08:00
1600822305
644995dd76 修复部分问题 2025-04-11 03:53:14 +08:00
1600822305
1f967765e4 修复部分问题 2025-04-11 03:50:12 +08:00
1600822305
ff95670f25 修复zhcn 2025-04-11 03:46:20 +08:00
1600822305
a325ec091d 修复部分问题 2025-04-11 03:42:16 +08:00
1600822305
a86b4ba404 添加了 语音通话功能 相关服务并更新了设置 2025-04-11 03:37:16 +08:00
1600822305
f6cc733421 123 2025-04-11 00:53:50 +08:00
1600822305
14fe1036c9 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
fe69d5c287 添加了 TTS 相关服务并更新了设置 2025-04-11 00:43:13 +08:00
kangfenmao
978c3ea3cf feat(i18n): update subscription terminology in multiple languages for consistency 2025-04-10 22:12:27 +08:00
ousugo
a9eb235c43 refactor(SettingsTab): update reasoning effort change handler to use useCallback for performance optimization 2025-04-10 21:47:14 +08:00