Commit Graph

427 Commits

Author SHA1 Message Date
africa1207
6f66fb8612 feat:增加聊天记录流程图,方便查看 (#3772)
* feat: 聊天记录流程图

* fix: 修复偶尔多标签切换不滚动的问题
2025-03-23 13:35:16 +08:00
kangfenmao
c2deb2ff5a chore(version): 1.1.9 2025-03-22 23:22:41 +08:00
kangfenmao
24d24abcc7 chore: update package dependencies and clean up yarn.lock
- Reintroduced several dependencies in devDependencies that were previously removed from dependencies.
- Removed unused dependencies from both package.json and yarn.lock to streamline the project.
- Updated tslib version in yarn.lock to ensure compatibility.
2025-03-22 22:47:10 +08:00
Chen Tao
de94569164 feat(provider): gemini-2.0-flash-exp image (#3421)
* feat: finish basic gemini-2.0-flash-exp generate image

* feat: support edit image

* chore

* fix: package https-proxy-agent-v5 version

* feat: throw finish message and add history messages

* feat: update generate image models

* chore

---------

Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-03-22 22:10:11 +08:00
SuYao
0c2cffba4c revert(Proxy): remove proxyManager usage from multiple services (#3720)
* revert(Proxy): remove proxyManager usage from multiple services

* refactor(ProxyManager): streamline proxy configuration and management
2025-03-21 16:04:45 +08:00
kangfenmao
6463ebbc4d feat: update WebDAV integration and dependencies
- Added 'webdav' to the list of plugins in electron.vite.config.ts.
- Upgraded 'webdav' package from version 4.11.4 to 5.8.0 in package.json and yarn.lock.
- Introduced a utility function for formatting file sizes in WebDavSettings component.
- Updated file size display logic to use the new formatting utility.
2025-03-21 13:53:01 +08:00
kangfenmao
ef426d4217 feat: update ESLint config and add socks-proxy-agent dependency
- Added 'local/**' to ESLint ignores
- Included 'socks-proxy-agent' package in dependencies
- Refactored download function to improve readability and maintainability
- Cleaned up unused code in messages state management
2025-03-21 11:26:51 +08:00
Roland
8848fcf289 chore: upgrade eslint version to 9.x (#3608)
* chore(eslint): upgrade eslint version to 9.x

* style: enhance ESLint configuration for compatibility with ESLint 8.x
2025-03-19 20:04:33 +08:00
kangfenmao
a040af0117 chore(version): 1.1.8 2025-03-19 17:50:46 +08:00
kangfenmao
52c3742f78 chore(version): 1.1.7 2025-03-18 20:29:20 +08:00
kangfenmao
00c4bb0dcd chore(version): 1.1.5 2025-03-17 18:12:30 +08:00
kangfenmao
7078509c82 feat: update package.json dependencies and enhance webview handling
- Removed the outdated @electron-toolkit/preload dependency and re-added it with the correct version.
- Added a new event listener in WindowService to set the preload script for webviews.
- Updated the openExternal method in preload to handle potential null values.
- Enabled node integration for webviews in the MinApp component for improved functionality.
2025-03-17 12:55:34 +08:00
kangfenmao
5a9191af4d feat: add tar package and refactor binary installation scripts
- Added the `tar` package to handle extraction of `.tar.gz` files in the `install-uv.js` script.
- Implemented a new `downloadWithRedirects` function in both `install-bun.js` and `install-uv.js` for improved file downloading with redirect handling.
- Refactored the extraction process in both scripts to utilize Node.js file system methods and the `adm-zip` package for better file management and cleanup.
2025-03-17 11:20:49 +08:00
MyPrototypeWhat
ffe4912e2d feat: mcp npx list (#3409)
* feat: add npm scope search functionality in MCPSettings

- Integrated npx-scope-finder to enable searching for npm packages by scope.
- Added UI elements for inputting npm scope and displaying search results in a table format.
- Enhanced user feedback with loading indicators and messages for search results.

* feat: add key property to package formatting in MCPSettings

- Added a key property to the package formatting logic to ensure unique identification of each package in the results.

* feat: enhance MCPSettings with NPX package list localization

- Added localization support for NPX package list in English, Japanese, Russian, Simplified Chinese, and Traditional Chinese.
- Updated UI elements in MCPSettings to utilize localized strings for package list features, including title, description, and various labels.
- Improved user experience by integrating translations for package-related actions and placeholders.
2025-03-16 23:09:40 +08:00
kangfenmao
3ba33516f4 chore(version): 1.1.4 2025-03-15 19:18:03 +08:00
George·Dong
9bd82a4e32 chore(pre-commit): add pre-commit hook to enforce code style (#3351)
* chore(pre-commit): add pre-commit hook to enforce code style
- Added husky for managing Git hooks and lint-staged for pre-commit checks.
- Updated prettier version to 3.5.3.
- Configured lint-staged to format and lint JavaScript and JSON files before commits.

* chore(workflows): add lint check to CI

* fix: version not correct

* chore(workflow): bump GitHub Actions dependencies to latest versions
- @actions/setup-node: v3 -> v4
- @actions/cache: v3 -> v4
- @actions/upload-artifact: v3 -> v4

---------

Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-03-15 11:09:11 +08:00
shiquda
abb65b5338 feat: some improvement to Notion export feature (#2562)
* fix: use exportTopicToNotion instead of exportMarkdownToNotion when exporting topics

* refactor: improve Notion topic export to handle multi-page topics

* feat: integrate @tryfabric/martian for Markdown to Notion block conversion

* feat: add progress message for notion exporting
2025-03-15 11:06:41 +08:00
kangfenmao
402e6eef75 chore(version): 1.1.3 2025-03-14 14:19:03 +08:00
kangfenmao
a57da2b6c8 chore: Update package.json scripts for improved build and testing workflow
- Reorganized scripts to include a new build check that runs tests, type checks, and i18n checks before publishing.
- Restored and structured type checking and linting scripts for better clarity and usability.
- Ensured post-installation dependencies are correctly handled.
2025-03-14 14:18:38 +08:00
beyondkmp
e465904a9c patch epub: replace zipfile with zipread 2025-03-13 18:01:39 +08:00
kangfenmao
03ac07d5ea chore(version): 1.1.2 2025-03-13 07:57:34 +08:00
kangfenmao
f7edb5442d fix(package): update @modelcontextprotocol/sdk to use a patch for platform-specific shell handling 2025-03-12 23:59:18 +08:00
kangfenmao
a78f313a5a chore(version): 1.1.1 2025-03-12 20:31:41 +08:00
kangfenmao
73bc990168 chore(version): 1.1.0 2025-03-12 12:04:35 +08:00
suyao
8639333ace feat(Proxy): Implement proxy management system
- Add ProxyManager service to handle system, custom, and no proxy configurations
- Integrate proxy support for Gemini, Knowledge, and WebDav services
- Add fetch-socks and undici for advanced proxy handling
- Enhance proxy configuration with environment variable and session management
2025-03-11 09:56:40 +08:00
kangfenmao
f8d7dfc5e9 chore: Update project metadata and repository details
- Change author email to support@cherry-ai.com
- Update homepage URL to reflect new GitHub organization
2025-03-10 10:38:02 +08:00
MyPrototypeWhat
2fe21c7d41 refactor: 重构message模块 (#2561)
* feat: Implement Redux-based message management with enhanced state handling

- Add new Redux slice for managing messages with advanced state control
- Introduce topic-specific message queues using p-queue for request management
- Refactor message sending, loading, and updating logic
- Improve error handling and state synchronization with database
- Add selectors for efficient message retrieval and state access

* feat: Implement streaming message handling in Redux store

- Add stream message support in messages slice
- Create MessageStream component for rendering streaming messages
- Update Inputbar and Suggestions components to use new Redux message sending logic
- Refactor message sending flow to use stream message management
- Improve error handling and message state management

* feat:添加StreamMessage,优化数据流展示,减少大面积rerender

* refactor: Simplify messages state management and initialization

- Refactor messages slice to use flat message array instead of separate user/assistant messages
- Add initializeMessagesState thunk to load messages from database on app startup
- Update message-related reducers to work with flat message array
- Modify MessageStream and related components to use new state structure
- Improve type safety and reduce complexity in messages state management

*  feat: add Model Context Protocol (MCP) support (#2809)

*  feat: add Model Context Protocol (MCP) server configuration (main)

- Added `@modelcontextprotocol/sdk` dependency for MCP integration.
- Introduced MCP server configuration UI in settings with add, edit, delete, and activation functionalities.
- Created `useMCPServers` hook to manage MCP server state and actions.
- Added i18n support for MCP settings with translation keys.
- Integrated MCP settings into the application's settings navigation and routing.
- Implemented Redux state management for MCP servers.
- Updated `yarn.lock` with new dependencies and their resolutions.

* 🌟 feat: implement mcp service and integrate with ipc handlers

- Added `MCPService` class to manage Model Context Protocol servers.
- Implemented various handlers in `ipc.ts` for managing MCP servers including listing, adding, updating, deleting, and activating/deactivating servers.
- Integrated MCP related types into existing type declarations for consistency across the application.
- Updated `preload` to expose new MCP related APIs to the renderer process.
- Enhanced `MCPSettings` component to interact directly with the new MCP service for adding, updating, deleting servers and setting their active states.
- Introduced selectors in the MCP Redux slice for fetching active and all servers from the store.
- Moved MCP types to a centralized location in `@renderer/types` for reuse across different parts of the application.

* feat: enhance MCPService initialization to prevent recursive calls and improve error handling

* feat: enhance MCP integration by adding MCPTool type and updating related methods

* feat: implement streaming support for tool calls in OpenAIProvider and enhance message processing

* refactor: Improve message handling and type safety in message components

- Update Message, MessageGroup, MessageStream, and MessageMenubar to require Topic prop
- Modify message sending and resending logic in MessageMenubar
- Remove commented-out code and simplify message state management
- Enhance type safety by explicitly defining prop types

* fix: finish_reason undefined

* refactor: Streamline message resending and state management

- Introduce `resendMessage` thunk for more robust message resending logic
- Update `sendMessage` to support resending existing messages
- Remove deprecated `onEditMessage` callback from MessageMenubar
- Simplify message state updates using Redux actions
- Improve type safety and reduce complexity in message handling

* refactor: Optimize message resending and event handling

- Remove deprecated `APPEND_MESSAGE` event and related callbacks
- Update `resendMessage` thunk to support mentioning new models
- Modify message state synchronization in database
- Simplify dependency arrays and remove unused event listeners
- Add migration step for initializing messages state

* refactor: Enhance message translation and suggestions handling

- Update MessageMenubar to use stream message actions for translation
- Modify Suggestions component to optimize suggestion fetching
- Remove deprecated event listeners and simplify component logic
- Memoize MessageMenubar and Suggestions components for performance
- Trigger AI auto-rename on message completion in messages slice

* refactor: Optimize message streaming with throttled updates

- Introduce throttled message update mechanism using lodash
- Improve performance by limiting Redux state updates during streaming
- Create a separate handler for response message updates
- Enhance message synchronization with database
- Prevent unnecessary re-renders and reduce computational overhead

* fix: Remove unnecessary await in message dispatch

Removes the `await` keyword from the message dispatch in Inputbar, which was causing an unnecessary async operation. Also adds a missing closing brace in the migration configuration file.

* fix: Update Redux persist configuration for messages slice

Modify store configuration to exclude 'messages' slice from persistence and remove unnecessary migration step for message state initialization

* feat: Enhance message streaming and multi-model support

- Refactor Redux messages slice to support multiple stream messages per topic
- Update MessageStream and messages slice to handle message streaming with message-specific IDs
- Implement support for multi-model message generation
- Modify queue concurrency to improve parallel message processing
- Update message selection and streaming logic to be more flexible and robust

* feat: Implement file upload handling in message sending

- Add FileManager service integration for file uploads in Inputbar
- Modify sendMessage action to use uploaded file references
- Update messages slice to conditionally dispatch messages during resend

*  feat(MCP): add support for enabling/disabling MCPServers per message (#2989)

*  feat: add MCP servers in chat input

- Introduce MCPToolsButton component for managing MCP servers
- Add new icon for MCP server tools in iconfont.css
- Update Inputbar to include MCP tools functionality
- Add toggle functionality for enabling/disabling MCP servers
- Implement styled dropdown menu for server selection
- Add necessary type imports and useState for MCP server management

*  feat: add support for enabling/disabling MCPServers per message (main)

- Added `enabledMCPs` property to the `Message` type to track enabled MCPServers.
- Modified `MCPToolsButton` to enable all active MCPServers by default using a new `enableAll` state.
- Introduced `filterMCPTools` utility to filter tools based on enabled MCPServers.
- Updated `AnthropicProvider`, `GeminiProvider`, and `OpenAIProvider` to filter tools using `filterMCPTools`.
- Enhanced `Inputbar` to include `enabledMCPs` in the message payload when set.

*  feat(MCP): add enabledMCPs parameter to sendMessage action

- Update sendMessage action type to include optional enabledMCPs parameter
- Import MCPServer type for type safety
- Modify action signature to support passing enabled MCP servers per message

---------

Co-authored-by: lizhixuan <zhixuan.li@banosuperapp.com>
Co-authored-by: lizhixuan <zhixuanli219643@sohu-inc.com>
Co-authored-by: LiuVaayne <10231735+vaayne@users.noreply.github.com>
Co-authored-by: kangfenmao <kangfenmao@qq.com>
2025-03-08 01:41:05 +08:00
Chen Tao
0025b67cf5 feat: support exa engine (#2870)
* feat: support exa engine

* chore
2025-03-06 22:44:43 +08:00
Chen Tao
fc65f313ac feat: refactor web search logic and support searxng (#2543)
* feat: support searxng model and refactor web search provider

* feat: basic refactor

* stash: web search settings page

* chore: refactor general setting and provider page

* feat: finish basic refactor and add searxng search

* feat: finish refactor

* chore(version): 1.0.2

* feat: change blacklist match pattern

* Merge branch 'main' into feat-websearch

* chore: add migrate

* chore: add old version migrate

* refactor UI

* chore(version): 1.0.5

* fix: update provider enabled: true, when check seach

* chore: fix migrate bug

---------

Co-authored-by: kangfenmao <kangfenmao@qq.com>
2025-03-06 16:17:26 +08:00
LiuVaayne
8fc69ec679 feat: add Model Context Protocol (MCP) support (#2809)
*  feat: add Model Context Protocol (MCP) server configuration (main)

- Added `@modelcontextprotocol/sdk` dependency for MCP integration.
- Introduced MCP server configuration UI in settings with add, edit, delete, and activation functionalities.
- Created `useMCPServers` hook to manage MCP server state and actions.
- Added i18n support for MCP settings with translation keys.
- Integrated MCP settings into the application's settings navigation and routing.
- Implemented Redux state management for MCP servers.
- Updated `yarn.lock` with new dependencies and their resolutions.

* 🌟 feat: implement mcp service and integrate with ipc handlers

- Added `MCPService` class to manage Model Context Protocol servers.
- Implemented various handlers in `ipc.ts` for managing MCP servers including listing, adding, updating, deleting, and activating/deactivating servers.
- Integrated MCP related types into existing type declarations for consistency across the application.
- Updated `preload` to expose new MCP related APIs to the renderer process.
- Enhanced `MCPSettings` component to interact directly with the new MCP service for adding, updating, deleting servers and setting their active states.
- Introduced selectors in the MCP Redux slice for fetching active and all servers from the store.
- Moved MCP types to a centralized location in `@renderer/types` for reuse across different parts of the application.

* feat: enhance MCPService initialization to prevent recursive calls and improve error handling

* feat: enhance MCP integration by adding MCPTool type and updating related methods

* feat: implement streaming support for tool calls in OpenAIProvider and enhance message processing
2025-03-06 11:35:29 +08:00
ousugo
3216c7170d chore(version): 1.0.6 2025-03-05 21:54:39 +08:00
kangfenmao
7ca313c262 chore(version): 1.0.5 2025-03-05 15:53:08 +08:00
kangfenmao
900a115940 chore: Move html-to-image package to dev dependencies 2025-03-04 15:42:38 +08:00
SuYao
97bda2f02b refactor: Replace html2canvas with html-to-image for improved sup element (#2739)
* refactor: Replace html2canvas with html-to-image for improved screenshot capture

* refactor: Simplify scrollable div capture method

* refactor: Simplify captureScrollableDivAsBlob method

* fix: Specify PNG format in captureScrollableDivAsBlob method

* feat: Add error handling for large content dimensions in screenshot capture

* fix: Reorder error messages in en-us.json locale file
2025-03-04 15:37:29 +08:00
kangfenmao
0079bafb77 chore(version): 1.0.4 2025-03-02 21:35:49 +08:00
kangfenmao
46caaa15b4 chore(version): 1.0.3 2025-03-02 20:54:41 +08:00
MyPrototypeWhat
a8744fe812 feat: Enhance Styled Components configuration and prop handling
- Add Babel plugin for styled-components with performance and naming optimizations
- Integrate @emotion/is-prop-valid for improved prop filtering in StyleSheetManager
- Update Antd Input components to use variant="borderless" instead of deprecated bordered prop
- Add new dependencies for styled-components configuration
2025-03-02 19:47:11 +08:00
kangfenmao
379e92918d revert: some proxy errors in main process (#2294) 2025-03-01 23:17:44 +08:00
SuYao
2eb01a3ed3 feat: Add reasoning effort control for Claude 3.7 (#2540)
* feat: Add reasoning effort control for Anthropic models with Anthropic Provider and OpenAI Provider

- Add reasoning effort settings with low/medium/high options
- Implement reasoning effort for Claude 3.7 Sonnet models
- Update localization tips for reasoning effort
- Enhance provider handling of reasoning effort parameters

* fix: Extract o1-mini and o1-preview

* fix: Add OpenAI o-series model to ReasoningModel

* fix: Improve OpenAI o-series model detection

* style: Reduce font size

* fix: Add default token handling using DEFAULT_MAX_TOKENS

* fix: Add beta parameter for Anthropic reasoning models
2025-03-01 21:22:12 +08:00
kangfenmao
b6195cff5c chore(version): 1.0.2 2025-03-01 12:25:33 +08:00
SuYao
f1e6f6b78f fix: some proxy errors in main process (#2294)
* formatter proxy config type

* fix: some proxy errors in main process

* chore: Remove debug logging in ProxyManager
2025-02-27 16:46:05 +08:00
kangfenmao
0415fec3fc chore(version): 1.0.1 2025-02-26 17:28:08 +08:00
kangfenmao
1b742b8a1b chore(version): 1.0.0 2025-02-23 15:10:24 +08:00
kangfenmao
0a89b09fc9 chore: Update Tavily core package and remove js-tiktoken dependency 2025-02-23 11:01:30 +08:00
kangfenmao
bbe89b6e41 feat: add web search 2025-02-23 11:01:29 +08:00
kangfenmao
bb624232f2 chore(version): 0.9.30 2025-02-23 07:02:00 +08:00
kangfenmao
1c586b1060 chore(version): 0.9.29 2025-02-22 22:58:19 +08:00
kangfenmao
a314aba38f chore(version): 0.9.28 2025-02-21 18:25:30 +08:00
kangfenmao
302a653010 chore: Upgrade Yarn and TypeScript patch versions 2025-02-21 14:18:16 +08:00
Yrom
d73d92e795 feat: Add PlantUML diagram support (via PlantUML official online server) 2025-02-19 18:37:05 +08:00
kangfenmao
e960aac867 chore(version): 0.9.27 2025-02-19 10:21:12 +08:00
kangfenmao
e6f3663e9b chore(version): 0.9.26 2025-02-18 20:55:04 +08:00
kangfenmao
e5ace39a75 chore(version): 0.9.25 2025-02-18 10:41:44 +08:00
shniubobo
1043430568 fix: Rendering error with MathJax for Chinese text 2025-02-17 16:24:38 +08:00
bC2y5tal
7a7f51d5f3 feat: Add EPUB file support to document loader 2025-02-16 13:46:52 +08:00
kangfenmao
1f29aa0133 chore(version): 0.9.24 2025-02-14 15:04:59 +08:00
kangfenmao
2fb628aede chore(version): 0.9.23 2025-02-13 17:49:06 +08:00
kangfenmao
9b74e88884 feat: Enhance file processing and loader configuration
- Remove image loader from dependencies
- Update file loading to skip image, video, and audio files
- Add logging for knowledge base file processing
- Modify common file extensions list
- Add type ignore for LocalPathLoader to resolve TypeScript issues
2025-02-13 17:49:06 +08:00
kangfenmao
bfd25a8c8c chore(version): 0.9.22 2025-02-13 14:02:45 +08:00
kangfenmao
dc82b3b970 feat: Improve token limit settings and knowledge base URL handling
- Update OpenAI package to version 4.77.3
- Add confirmation modal for max tokens setting
- Modify max tokens input to use InputNumber instead of Slider
- Update localization strings for max tokens and URL input
- Enhance knowledge base URL input to support multiple URLs
- Improve error handling and input validation
2025-02-13 13:12:51 +08:00
kangfenmao
0d8b8cf7e7 style: code format 2025-02-13 11:40:55 +08:00
Chen Tao
65596a355d feat: knowledge base support more file types (#1300)
* feat: knowledge base support more file types

* chore: add common document types

* feat: finish basic odloader

* feat: finish open document loader

* feat: support more type from dictionary

* fix: 删除目录时仍能检索到信息

* chore
2025-02-13 11:36:33 +08:00
Chen Tao
dab6271101 feat: add i18n sync script (#1538)
* feat: add i18n sync script

* chore
2025-02-13 11:34:23 +08:00
kangfenmao
d8d97ff637 feat: Add image loader to embedjs configuration 2025-02-11 22:55:49 +08:00
kangfenmao
e06a510e9c chore: Update embedjs dependencies to version 0.1.28 2025-02-11 22:36:34 +08:00
Trey Dong
fa5522bbff feat: 增加导出话题至Notion的功能 (#1331)
* feat: 新增导出至Notion的选项

* fix:添加多语言支持

* fix:添加提示语的多语言支持,以及防止重复导入的状态

* fix:修复多语言错误及调整UI样式统一
2025-02-11 11:27:01 +08:00
kangfenmao
055173b2ef chore(version): 0.9.21 2025-02-09 10:20:03 +08:00
kangfenmao
9bca10774b chore(version): 0.9.20 2025-02-09 00:05:15 +08:00
kangfenmao
d906592431 feat: add baidu cloud provider 2025-02-07 16:47:29 +08:00
kangfenmao
c5fae17677 chore(version): 0.9.19 2025-02-05 21:34:55 +08:00
kangfenmao
909e88f8a3 chore(version): 0.9.18 2025-02-04 22:37:31 +08:00
kangfenmao
109d948680 chore(version): 0.9.17 2025-01-24 13:54:04 +08:00
kangfenmao
9ed7d1f657 chore(version): 0.9.16 2025-01-22 16:32:57 +08:00
kangfenmao
5c3afaa5ed chore(version): 0.9.15 2025-01-21 14:28:01 +08:00
kangfenmao
2f7e0076f3 chore(version): 0.9.14 2025-01-20 13:56:52 +08:00
kangfenmao
42c6084c03 chore(version): 0.9.13 2025-01-20 13:11:26 +08:00
kangfenmao
7845c676f1 chore(version): 0.9.12 2025-01-20 11:52:26 +08:00
kangfenmao
13ea20083d chore(version): 0.9.11 2025-01-19 20:50:33 +08:00
kangfenmao
0f3c7aa648 feat: add mini window 2025-01-19 13:59:32 +08:00
kangfenmao
81191bcabd chore(version): 0.9.10 2025-01-15 08:57:05 +08:00
kangfenmao
e07245d1d0 chore(version): 0.9.9 2025-01-14 20:57:16 +08:00
kangfenmao
2d6b2acf1a chore(version): 0.9.8 2025-01-14 14:36:05 +08:00
kangfenmao
9f67973cdf chore(version): 0.9.7 2025-01-14 13:24:54 +08:00
kangfenmao
aa73526ba4 chore(version): 0.9.6 2025-01-09 16:23:29 +08:00
kangfenmao
7d393deda7 chore(version): 0.9.5 2025-01-08 16:52:03 +08:00
kangfenmao
7fb9a34f7d Revert "fix:修复单行CodeBlock中显示sub"
This reverts commit d808b6dffc.
2025-01-08 10:46:35 +08:00
kangfenmao
b4da93da74 feat: add gemini files support 2025-01-07 16:49:11 +08:00
kangfenmao
f2fa786c19 chore(version): 0.9.4 2025-01-02 21:34:30 +08:00
zhouxl
d808b6dffc fix:修复单行CodeBlock中显示sub 2025-01-02 11:47:34 +08:00
kangfenmao
9c99560f6e chore(version): 0.9.3 2024-12-31 00:38:20 +08:00
kangfenmao
5c587ef766 fix: 知识库无法向量化 MD 文件 #569 2024-12-31 00:11:51 +08:00
kangfenmao
eb8651cbfa chore(version): 0.9.2 2024-12-27 23:03:17 +08:00
kangfenmao
628d652c47 chore: update dependencies and improve project structure 2024-12-27 12:42:17 +08:00
kangfenmao
dbc806e925 chore(version): 0.9.1 2024-12-26 12:25:58 +08:00
kangfenmao
dc657c4d49 refactor: knowledge base engine change to libsql 2024-12-26 10:00:37 +08:00
kangfenmao
086475c883 refactor: knowledge base database engine 2024-12-25 17:42:03 +08:00
kangfenmao
6d395fba09 build: download npm node native modules 2024-12-24 17:24:38 +08:00
kangfenmao
705db03290 patch: @llm-tools 2024-12-24 12:11:07 +08:00
kangfenmao
ecf45e0c00 chore(version): 0.9.0 2024-12-23 17:07:26 +08:00
kangfenmao
59f3375f44 build: reduce package size 2024-12-23 14:22:37 +08:00
kangfenmao
3e64fa2025 fix: knowledge bugs 2024-12-23 10:48:40 +08:00
kangfenmao
016027ac59 build: add matrix 2024-12-19 17:20:52 +08:00
kangfenmao
7cb381be40 feat: knowledge base 2024-12-19 09:24:20 +08:00
kangfenmao
98e29347bd chore(version): 0.8.27 2024-12-16 15:47:07 +08:00
kangfenmao
d6e21a77ce chore(version): 0.8.26 2024-12-15 18:03:36 +08:00
kangfenmao
444250c162 build: update electron version 2024-12-13 09:52:18 +08:00
kangfenmao
f5b7fe0c27 chore: update dependencies and remove unused code 2024-12-13 09:35:40 +08:00
kangfenmao
01df49b8b7 chore(version): 0.8.25 2024-12-12 18:24:06 +08:00
kangfenmao
a0c14fdfce feat: add web search for google gemini modal gemini-2.0-flash-exp 2024-12-12 14:26:52 +08:00
kangfenmao
254e45f722 chore(version): 0.8.24 2024-12-11 11:41:16 +08:00
首都爱护动物协会
0f0737b828 历史消息懒加载
性能优化
2024-12-07 12:27:16 +08:00
kangfenmao
554a1f9421 chore(version): 0.8.23 2024-12-06 00:12:07 +08:00
kangfenmao
778891941a chore(version): 0.8.22 2024-12-04 14:08:09 +08:00
kangfenmao
9b9dd10ddb chore(version): 0.8.21 2024-12-03 20:45:30 +08:00
kangfenmao
796d7d157d chore: cleaned up dependencies and database schema 2024-12-03 17:21:51 +08:00
kangfenmao
40d74a01c1 chore(version): 0.8.20 2024-12-03 12:52:08 +08:00
kangfenmao
e47311afd2 feat: add shortcut feature 2024-12-02 18:03:38 +08:00
kangfenmao
5fa98edf5f chore(version): 0.8.19 2024-11-25 14:16:33 +08:00
kangfenmao
8d05bef4d4 chore(version): 0.8.18 2024-11-23 14:23:22 +08:00
kangfenmao
dbf5549106 chore(version): 0.8.17 2024-11-20 19:15:33 +08:00
kangfenmao
8e2e3aab84 chore(version): 0.8.16 2024-11-20 18:50:27 +08:00
kangfenmao
4b36f47c16 chore(version): 0.8.15 2024-11-19 23:46:22 +08:00
kangfenmao
ba336fdc95 fix: 无法恢复备份文件 #341 2024-11-19 20:30:47 +08:00
kangfenmao
3288d5faea chore(version): 0.8.14 2024-11-19 11:13:38 +08:00
kangfenmao
94193246d4 chore(version): 0.8.13 2024-11-12 19:27:46 +08:00
kangfenmao
adaaee5848 chore(version): 0.8.12 2024-11-11 11:18:43 +08:00
kangfenmao
dc1c71bf02 chore(version): 0.8.11 2024-11-10 17:20:52 +08:00
injurka
db45f12daf fix: expand code syntax highlighting options (#307)
* added locale for context-menu

* fix: expand code syntax highlighting options

* fix: type for theme

---------

Co-authored-by: injurka <ikornilov.ext@prosebya.ru~>
2024-11-08 11:59:05 +08:00
kangfenmao
a81960bd7b chore(version): 0.8.10 2024-11-07 23:06:42 +08:00
kangfenmao
02a8c9feb8 fix: github models 不支持图片 #291 2024-11-07 17:32:37 +08:00
kangfenmao
c4831a8f55 chore(version): 0.8.9 2024-11-03 01:26:23 +08:00
kangfenmao
d6b9fb7e82 feat: remove image compress 2024-11-03 01:26:00 +08:00
kangfenmao
2f05435ce6 feat: export to word 2024-11-02 21:45:23 +08:00
kangfenmao
e9b4614928 fix: 在对话中插入图片时,应该自动压缩一下 #132 2024-11-02 15:30:41 +08:00
kangfenmao
05ecae7cfb chore(version): 0.8.8 2024-11-01 12:39:11 +08:00
kangfenmao
1c5b2b92dc chore(version): 0.8.7 2024-10-31 15:01:37 +08:00
kangfenmao
837d91aa61 chore(version): 0.8.6 2024-10-31 13:34:06 +08:00
kangfenmao
d88f41c6be chore(version): 0.8.5 2024-10-29 02:46:45 +08:00
kangfenmao
aaea69e5fe chore(version): 0.8.4 2024-10-24 23:14:14 +08:00
kangfenmao
151127ab53 fix: 新的滚动条组件 2024-10-24 23:08:11 +08:00
kangfenmao
37f56c71e8 chore(version): 0.8.3 2024-10-24 18:47:20 +08:00
kangfenmao
b400819d6a fix: 公式显示问题 #239 2024-10-24 15:33:04 +08:00
kangfenmao
f5e9d92610 feat: scrollbar 2024-10-24 14:58:13 +08:00
kangfenmao
ae79de1fc7 feat: add cherry-stuido-db project 2024-10-22 22:01:56 +08:00
kangfenmao
5546831d3f chore(version): 0.8.2 2024-10-22 20:06:11 +08:00
kangfenmao
31ff7000fd build: add pulish:artifacts command 2024-10-22 15:43:28 +08:00
kangfenmao
09ab3d3a8c feat: 智能体改进:名称、上下文支持、模型参数支持 #59 2024-10-21 23:21:46 +08:00
kangfenmao
ffea63ecff fix: 检查更新按钮不生效 #184
close #184
2024-10-16 13:14:15 +08:00
kangfenmao
81a89069d6 chore(version): 0.8.1 2024-10-15 21:19:54 +08:00
kangfenmao
6f99612acf chore(version): 0.8.0 2024-10-14 14:57:19 +08:00
kangfenmao
895324befc chore(version): 0.7.16 2024-10-12 15:31:21 +08:00
kangfenmao
b3919ba46a chore(version): 0.7.15 2024-10-12 14:14:46 +08:00
kangfenmao
ff14651479 feat: add document files support 2024-10-12 13:18:53 +08:00
kangfenmao
acba7d56eb chore(version): 0.7.14 2024-10-11 23:22:51 +08:00
kangfenmao
9fbd92656c refactor: latex解析不支持矩阵环境 #169 2024-10-11 10:15:46 +08:00
kangfenmao
a3fc49c811 chore(version): 0.7.13 2024-10-10 09:18:44 +08:00
kangfenmao
c2f7c7c46c fix: markdown表格目前还没有支持 br 换行 #160
close #160
2024-10-08 21:01:48 +08:00
kangfenmao
ba16e6a84d chore(version): 0.7.12 2024-10-06 10:12:46 +08:00
kangfenmao
49cb03fb40 chore(version): 0.7.11 2024-09-30 22:33:58 +08:00
kangfenmao
b2278dc287 chore(version): 0.7.10 2024-09-29 23:29:28 +08:00
kangfenmao
dde77d03e2 feat: add webdav settings component and backup user data files #69 2024-09-29 16:44:18 +08:00
dray
3027af1239 feat: 添加 WebDAV 配置项
为应用程序添加了 WebDAV 配置项,包括主机、用户、密码和路径。这样用户就可以将备份文件定时上传到 WebDAV 服务器,并从 WebDAV 服务器恢复备份文件。

- 添加了新的依赖项 "webdav": "^5.7.1"
- 修改了 package.json 文件
- 修改了 zh-tw.json、zh-cn.json 和 en-us.json 文件
- 修改了 settings.ts 文件
- 修改了 GeneralSettings.tsx 文件

https://github.com/kangfenmao/cherry-studio/issues/129
2024-09-29 09:27:42 +08:00
kangfenmao
eccb3b6410 chore(version): 0.7.9 2024-09-28 00:45:05 +08:00
kangfenmao
4bddbb04ce feat: backup all files
1. remove window.api.compress window.api.decompress
2024-09-27 22:35:22 +08:00
kangfenmao
b35e37a170 chore(version): 0.7.8 2024-09-25 12:52:42 +08:00
kangfenmao
3c9ed9f9a9 fix: windows ico icon 2024-09-25 00:20:10 +08:00
kangfenmao
8e48388c79 chore(version): 0.7.7 2024-09-25 00:00:34 +08:00
kangfenmao
ad6770ceb5 feat: new vi logo 2024-09-25 00:00:34 +08:00
kangfenmao
0300ef67d1 chore(version): 0.7.6 2024-09-22 00:44:47 +08:00
kangfenmao
31626bde46 feat: export topic message as image #103 2024-09-22 00:16:36 +08:00
kangfenmao
a9512c6214 chore(version): 0.7.5 2024-09-20 17:01:52 +08:00
kangfenmao
8943eda7a3 chore(version): 0.7.4 2024-09-20 00:15:24 +08:00
kangfenmao
40702e8923 chore(version): 0.7.3 2024-09-19 18:20:52 +08:00
kangfenmao
43dcb40124 chore(version): 0.7.2 2024-09-19 16:56:58 +08:00
kangfenmao
b9bb0c0f40 feat: add file attachment 2024-09-18 18:00:49 +08:00
kangfenmao
d9205d08d7 chore(version): 0.7.1 2024-09-16 16:56:38 +08:00
kangfenmao
576652b6b9 chore: Update package manager to yarn 4.5.0 and re-add notarize dependency.
- Updated the package manager to yarn version 4.5.0.
- Removed and re-added "electron/notarize" dependency with a specific patch version.
2024-09-15 14:20:58 +08:00
kangfenmao
2825165f77 chore(version): 0.7.0 2024-09-14 21:28:39 +08:00
Aimer
fddd7c6858 Modified the prompt part Modified the minapp data part 2024-09-14 16:23:58 +08:00
kangfenmao
be6c2c14b7 refactor: remove sqlite3 use dexie 2024-09-14 15:25:56 +08:00
kangfenmao
62973d8fd2 refactor: use sequelize replace better-sqlite3 2024-09-13 13:26:22 +08:00
kangfenmao
11ab80f87d feat: add attachment files 2024-09-13 13:26:22 +08:00
kangfenmao
59c2a78c53 feat: add sqlite database manager 2024-09-13 13:26:22 +08:00
kangfenmao
f71265442f chore(version): 0.6.14 2024-09-11 20:58:46 +08:00
kangfenmao
621f3d4616 chore(version): 0.6.13 2024-09-11 19:22:34 +08:00
kangfenmao
ec272a841b chore(version): 0.6.12 2024-09-09 17:34:30 +08:00
kangfenmao
a0827a72e8 chore(version): 0.6.11 2024-09-08 22:59:12 +08:00
kangfenmao
73bfec7bb6 chore(version): 0.6.10 2024-09-07 18:21:30 +08:00
kangfenmao
286ad04a36 chore(version): 0.6.9 2024-09-06 18:04:11 +08:00
kangfenmao
bb907f4afc chore(version): 0.6.8 2024-09-06 15:54:44 +08:00
kangfenmao
99654d995e chore(version): 0.6.7 2024-09-05 23:53:47 +08:00
kangfenmao
7ebd4312ca chore(version): 0.6.6 2024-09-04 22:33:15 +08:00
kangfenmao
6ff768b72a chore(version): 0.6.5 2024-09-04 21:29:56 +08:00
kangfenmao
303a446dee chore(version): 0.6.4 2024-09-03 22:14:12 +08:00
kangfenmao
c2a14c5c5a chore(version): 0.6.3 2024-09-03 20:50:46 +08:00
kangfenmao
47ea77418b fix: https://github.com/electron/notarize/issues/193 2024-08-27 19:42:39 +08:00
kangfenmao
699ef6b80e feat: add local module 2024-08-27 11:31:05 +08:00
kangfenmao
e188ba603d chore(version): 0.6.2 2024-08-26 18:30:05 +08:00
kangfenmao
dadc0ab860 build: remove sentry 2024-08-26 18:06:07 +08:00
kangfenmao
69d7e9ae85 build: remove electron-devtools-installer 2024-08-26 18:02:20 +08:00