Commit Graph

172 Commits

Author SHA1 Message Date
kangfenmao
dfe28c9e2c chore(version): 1.4.0-rc.3 2025-05-30 15:18:46 +08:00
kangfenmao
cdb5297c9a chore(version): 1.4.0-rc.2 2025-05-29 19:58:55 +08:00
kangfenmao
0b9c695f59 chore(version): 1.4.0-rc.1 2025-05-28 15:51:44 +08:00
beyondkmp
5d8e241b3f chore: refine file exclusion patterns in electron-builder configuration (#6502)
- Updated exclusion patterns to ensure more comprehensive filtering of unnecessary files and directories during the build process.
- Added additional file types and configurations to the exclusion list for better optimization.

Co-authored-by: beyondkmp <beyondkmkp@gmail.com>
2025-05-27 21:46:36 +08:00
kangfenmao
ef660b4222 chore: update electron-builder configuration to refine file exclusion patterns
- Added exclusions for various distribution directories and module types to optimize the build process.
- Updated license file exclusions to be more inclusive of different casing variations.
2025-05-27 10:06:39 +08:00
fullex
3feffaeb54 feat: Selection Assistant / 划词助手 (#5900)
* feat(selection): implement selection assistant with toolbar and action management

- Added selection assistant functionality including a toolbar for actions.
- Introduced new settings for enabling/disabling the selection assistant and configuring its behavior.
- Implemented action items for built-in functionalities like translate, explain, and copy.
- Integrated selection service to manage selection events and actions.
- Updated localization files to support new selection assistant features in multiple languages.
- Added new components for action management and user interaction within the selection assistant.

* chore: update selection-hook to version 0.9.10 and exclude prebuilds from packaging

* fix: toolbar hiding

* feat: enhance error handling and service management in main index

* fix: improve logical coordinate handling in SelectionService

* fix: update URL loading and coordinate conversion in SelectionService

* fix: replace console.error with Logger for error handling in SelectionService

* refactor(SelectionService): enhance preloaded action window management

* chore(electron-builder): add filter for .node build files in configuration

* fix: toolbar position calculating for multi monitor

* fix: update selection assistant configuration and improve error handling in SelectionService

* fix: SelectionActionUserModal layout

* feat: add hints for custom search URL in multiple languages

* fix: update calculateToolbarPosition to ensure integer return type and round position values

* feat: add action window opacity setting and update related UI components

refactor: SelectionActionsList

* chore: enhance tooltip for trigger mode settings

* fix: console.log

* chore: update selection-hook to version 0.9.12

* fix: integrate language settings into selection components

* fix: filter out default assistant from user predefined assistants in selection modal

* chore: update selection-hook package version to 0.9.13

* chore: update selection-hook package version to 0.9.14
2025-05-26 16:50:52 +08:00
fullex
7bfb482fc8 chore: update electron-builder configuration and package dependencies
- Modified electron-builder.yml to refine file inclusion/exclusion patterns.
- Removed and re-added dependencies in package.json for consistency and updated yarn.lock to reflect these changes.
- Cleaned up unnecessary entries in yarn.lock to streamline the dependency tree.
2025-05-26 16:49:09 +08:00
kangfenmao
f5c87af480 chore: update release notes and fix various issues
- Updated release notes to include new DMXAPI service and fixed knowledge base search results issue.
- Enhanced drag-and-drop functionality for message selection and resolved memory exceptions in translation replies.
- Added styling adjustments for context menu and improved layout in CodeBlockView and MessageGroup components.
2025-05-26 15:07:53 +08:00
kangfenmao
a89978c0d2 chore: disable code signature verification for Windows updates in electron-builder configuration 2025-05-23 17:50:50 +08:00
kangfenmao
d91c79523a chore: update release notes and improve README assets
- Updated release notes to include new features such as TokenFlux service support, Claude 4 model integration, and fixes for various issues including Windows user startup problems and search crashes.
- Replaced outdated screenshots in README files with new images across English, Japanese, and Chinese documentation.
- Enhanced the 'Related Projects' section for better visibility.
2025-05-23 17:11:33 +08:00
kangfenmao
b97f0a129e chore(version): 1.3.10 2025-05-23 11:17:12 +08:00
kangfenmao
6bea3a3b91 build: add win-sign script 2025-05-22 19:33:40 +08:00
kangfenmao
58f6a7e185 chore: update release notes in electron-builder.yml
- Added new features including message notification functionality and support for Google Mini Programs.
- Improved MCP capabilities to run Python code and fixed several issues related to message editing and display.
- Updated release notes to reflect these changes and enhancements.
2025-05-21 23:23:43 +08:00
kangfenmao
74fbd37a20 chore(version): 1.3.8 2025-05-20 18:41:41 +08:00
kangfenmao
a4d60d2228 Merge branch 'main' into develop 2025-05-19 10:12:15 +08:00
kangfenmao
8f1ea3df5c chore(version): 1.3.6 2025-05-18 23:57:53 +08:00
kangfenmao
47c9465699 Merge branch 'main' into develop 2025-05-17 21:41:38 +08:00
kangfenmao
609548a053 chore(version): 1.3.5 2025-05-17 20:05:16 +08:00
beyondkmp
da98f07838 feat: upgrade electron to 35.2.2 (#5151)
* upgrade electron to 35.2.0

* update electron to 32.3.3

* udpate electron-vite to 3.0.0

* upgrade to 35.2.2

* patch https://github.com/electron-userland/electron-builder/pull/9046

* add minimumSystemVersion config

* update electron vite

---------

Co-authored-by: beyondkmp <beyondkmkp@gmail.com>
2025-05-16 12:56:52 +08:00
kangfenmao
38f082bd8e chore(version): 1.3.0 2025-05-11 20:28:51 +08:00
beyondkmp
df943f3027 chore(dependencies): update electron-builder to 26.0.15 (#5651)
* chore(dependencies): update electron-builder and related dependencies to version 26.0.15

* chore(electron-builder): update portable build configuration and clean up artifact build script

- Set buildUniversalInstaller to false for portable builds in electron-builder configuration.
- Removed obsolete condition for deleting portable files in artifact build completion script.
2025-05-04 18:34:43 +08:00
emaryn
74d66edf75 feat: Implement deep linking for AppImage on Linux (#5360)
Signed-off-by: emaryn <197520219+emaryn@users.noreply.github.com>
Co-authored-by: emaryn <emaryn@users.noreply.github.com>
Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-04-26 11:19:53 +08:00
kangfenmao
e5db6e79b3 feat: update release notes with new features and fixes
- Added support for grok-2-image and gpt-4o-image.
- Enabled portable version of Windows to use the data directory for storage.
- Revamped MCP interface with new description display.
- Optimized Mermaid rendering logic.
- Added option to disable public rendering.
- Fixed OpenAI type rendering errors.
2025-04-25 09:44:13 +08:00
kangfenmao
51424b7d96 chore(version): 1.2.7 2025-04-22 20:39:14 +08:00
tchigher
fc0288ba53 fix: electron-builder 新增配置导致的无法构建的问题 (#5175)
fix: electron-builder 新增配置导致的无法构建的问题

当前 electron-builder 的版本为 "26.0.13",但在 v26 之后,StartupWMClass 等配置标签要在 desktop > entry 下,而不是直接在 desktop 下,否则会导致无法构建打包
2025-04-22 15:40:33 +08:00
Asurada
8430ed266e chore(electron-builder): add StartupWMClass for CherryStudio in liunx desktop configuration (#5158)
chore(electron-builder): add StartupWMClass for CherryStudio in desktop configuration
2025-04-21 23:40:20 +08:00
kangfenmao
d815abf6c0 chore(version): 1.2.6 2025-04-21 18:52:01 +08:00
beyondkmp
f0cff95381 refactor(locales): fix locales errors (#5080) 2025-04-20 21:27:49 +08:00
Pleasurecruise
1987160c1c fix: language error 2025-04-20 19:03:06 +08:00
beyondkmp
985996f01a chore(electron-builder): Simplify file renaming logic and remove space (#4919)
* chore(electron-builder): Disable universal installer option in NSIS configuration

* refactor(after-build): Change file handling to delete files with spaces and rename files in YAML data

- Updated the function to delete files containing spaces instead of renaming them.
- Enhanced YAML processing to rename files and their blockmaps, ensuring proper handling of setup and portable versions.
- Adjusted the final YAML output to reflect the new file names.

* refactor(after-build): Simplify file renaming logic and remove space handling script

- Updated the after-build script to rename artifact files by replacing spaces with hyphens.
- Removed the replace-spaces.js script as its functionality is now integrated into the after-build process.
- Adjusted the build process in package.json to reflect the changes in file handling.

* refactor(electron-builder): Update artifact build script reference and remove obsolete after-build script

- Changed the artifactBuildCompleted script reference in electron-builder.yml to point to the new script.
- Deleted the outdated after-build.js script, which is no longer needed for file handling.

* delete js-yml
2025-04-17 10:05:48 +08:00
beyondkmp
5062d56ea6 chore: Update electron-builder configuration to remove architecture specifications for targets and adjust build scripts for Windows, macOS, and Linux to include both x64 and arm64 architectures. 2025-04-16 10:49:27 +08:00
beyondkmp
d94b7b64ea update electron-builder to 26.0.13 2025-04-14 21:52:58 +08:00
kangfenmao
f8eaf2ad5f chore(version): 1.2.4 2025-04-14 17:30:41 +08:00
kangfenmao
20a7f81c1e feat: add after-build script for renaming files and updating latest.yml
- Introduced a new script to rename files with spaces in the 'dist' directory.
- Updated 'latest.yml' to remove the first file entry and adjust paths accordingly.
- Enhanced build process for Windows to include the new script execution.
- Added js-yaml dependency for YAML file manipulation.
2025-04-14 17:14:45 +08:00
kangfenmao
228fd872a9 chore(version): 1.2.2 2025-04-11 14:43:02 +08:00
kangfenmao
2b261092dc chore(version): 1.2.0 2025-04-08 20:29:54 +08:00
kangfenmao
5b44e6a982 chore(version): 1.1.19 2025-04-07 16:04:48 +08:00
Sophon
c503e5eafd build: Add support for Windows ARM64 platform (#3431)
Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-04-06 09:35:08 +08:00
kangfenmao
f80b748c75 chore(version): 1.1.18 2025-04-04 12:07:05 +08:00
Catwine
e84cfafe64 docs(config): fix typo in electron-builder.yml 2025-03-29 21:08:55 +08:00
kangfenmao
88b7ebf371 chore(version): 1.1.15 2025-03-29 15:00:02 +08:00
kangfenmao
4ddef410ac chore(version): 1.1.14 2025-03-29 08:05:56 +08:00
kangfenmao
d58e6dd857 feat(electron-builder): update release notes to include Nutstore login, SiYuan note export, and MCP improvements 2025-03-28 18:01:09 +08:00
kangfenmao
8d53a0df33 chore: update electron-builder configuration for GitHub publishing
- Changed the publish provider from generic to GitHub, specifying the repository and owner for streamlined deployment.
2025-03-19 17:14:27 +08:00
kangfenmao
b7ee2a327d feat: add search enhance mode switch 2025-03-19 17:00:27 +08:00
kangfenmao
52c3742f78 chore(version): 1.1.7 2025-03-18 20:29:20 +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
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
46caaa15b4 chore(version): 1.0.3 2025-03-02 20:54:41 +08:00