mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 06:30:10 +08:00
- Update releaseNotes in electron-builder.yml with comprehensive changelog - Document inputbar system refactor with scope-based architecture - Include AI SDK provider integration details - Add bug fixes and improvements documentation - Provide bilingual release notes (English/Chinese) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> chore: simplify release notes for v1.7.0-beta.6 - Rewrite release notes to focus on user-facing improvements - Remove technical jargon and developer-specific details - Use clear, user-friendly language for features and fixes - Maintain bilingual support (English/Chinese) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
177 lines
6.7 KiB
YAML
177 lines
6.7 KiB
YAML
appId: com.kangfenmao.CherryStudio
|
|
productName: Cherry Studio
|
|
electronLanguages:
|
|
- zh-CN
|
|
- zh-TW
|
|
- en-US
|
|
- ja # macOS/linux/win
|
|
- ru # macOS/linux/win
|
|
- zh_CN # for macOS
|
|
- zh_TW # for macOS
|
|
- en # for macOS
|
|
- de
|
|
directories:
|
|
buildResources: build
|
|
|
|
protocols:
|
|
- name: Cherry Studio
|
|
schemes:
|
|
- cherrystudio
|
|
files:
|
|
- "**/*"
|
|
- "!**/{.vscode,.yarn,.yarn-lock,.github,.cursorrules,.prettierrc}"
|
|
- "!electron.vite.config.{js,ts,mjs,cjs}}"
|
|
- "!.*"
|
|
- "!components.json"
|
|
- "!**/{.eslintignore,.eslintrc.js,.eslintrc.json,.eslintcache,root.eslint.config.js,eslint.config.js,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,eslint.config.mjs,dev-app-update.yml,CHANGELOG.md,README.md,biome.jsonc}"
|
|
- "!**/{.env,.env.*,.npmrc,pnpm-lock.yaml}"
|
|
- "!**/{tsconfig.json,tsconfig.tsbuildinfo,tsconfig.node.json,tsconfig.web.json}"
|
|
- "!**/{.editorconfig,.jekyll-metadata}"
|
|
- "!src"
|
|
- "!scripts"
|
|
- "!local"
|
|
- "!docs"
|
|
- "!packages"
|
|
- "!.swc"
|
|
- "!.bin"
|
|
- "!._*"
|
|
- "!*.log"
|
|
- "!stats.html"
|
|
- "!*.md"
|
|
- "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}"
|
|
- "!**/*.{map,ts,tsx,jsx,less,scss,sass,css.d.ts,d.cts,d.mts,md,markdown,yaml,yml}"
|
|
- "!**/{test,tests,__tests__,powered-test,coverage}/**"
|
|
- "!**/{example,examples}/**"
|
|
- "!**/*.{spec,test}.{js,jsx,ts,tsx}"
|
|
- "!**/*.min.*.map"
|
|
- "!**/*.d.ts"
|
|
- "!**/dist/es6/**"
|
|
- "!**/dist/demo/**"
|
|
- "!**/amd/**"
|
|
- "!**/{.DS_Store,Thumbs.db,thumbs.db,__pycache__}"
|
|
- "!**/{LICENSE,license,LICENSE.*,*.LICENSE.txt,NOTICE.txt,README.md,readme.md,CHANGELOG.md}"
|
|
- "!node_modules/rollup-plugin-visualizer"
|
|
- "!node_modules/js-tiktoken"
|
|
- "!node_modules/@tavily/core/node_modules/js-tiktoken"
|
|
- "!node_modules/pdf-parse/lib/pdf.js/{v1.9.426,v1.10.88,v2.0.550}"
|
|
- "!node_modules/mammoth/{mammoth.browser.js,mammoth.browser.min.js}"
|
|
- "!node_modules/selection-hook/prebuilds/**/*" # we rebuild .node, don't use prebuilds
|
|
- "!node_modules/selection-hook/node_modules" # we don't need what in the node_modules dir
|
|
- "!node_modules/selection-hook/src" # we don't need source files
|
|
- "!node_modules/tesseract.js-core/{tesseract-core.js,tesseract-core.wasm,tesseract-core.wasm.js}" # we don't need source files
|
|
- "!node_modules/tesseract.js-core/{tesseract-core-lstm.js,tesseract-core-lstm.wasm,tesseract-core-lstm.wasm.js}" # we don't need source files
|
|
- "!node_modules/tesseract.js-core/{tesseract-core-simd-lstm.js,tesseract-core-simd-lstm.wasm,tesseract-core-simd-lstm.wasm.js}" # we don't need source files
|
|
- "!**/*.{h,iobj,ipdb,tlog,recipe,vcxproj,vcxproj.filters,Makefile,*.Makefile}" # filter .node build files
|
|
asarUnpack:
|
|
- resources/**
|
|
- "**/*.{metal,exp,lib}"
|
|
- "node_modules/@img/sharp-libvips-*/**"
|
|
|
|
# copy from node_modules/claude-code-plugins/plugins to resources/data/claude-code-pluginso
|
|
extraResources:
|
|
- from: "./node_modules/claude-code-plugins/plugins/"
|
|
to: "claude-code-plugins"
|
|
|
|
win:
|
|
executableName: Cherry Studio
|
|
artifactName: ${productName}-${version}-${arch}-setup.${ext}
|
|
target:
|
|
- target: nsis
|
|
- target: portable
|
|
signtoolOptions:
|
|
sign: scripts/win-sign.js
|
|
verifyUpdateCodeSignature: false
|
|
nsis:
|
|
artifactName: ${productName}-${version}-${arch}-setup.${ext}
|
|
shortcutName: ${productName}
|
|
uninstallDisplayName: ${productName}
|
|
createDesktopShortcut: always
|
|
allowToChangeInstallationDirectory: true
|
|
oneClick: false
|
|
include: build/nsis-installer.nsh
|
|
buildUniversalInstaller: false
|
|
portable:
|
|
artifactName: ${productName}-${version}-${arch}-portable.${ext}
|
|
buildUniversalInstaller: false
|
|
mac:
|
|
entitlementsInherit: build/entitlements.mac.plist
|
|
notarize: false
|
|
artifactName: ${productName}-${version}-${arch}.${ext}
|
|
minimumSystemVersion: "20.1.0" # 最低支持 macOS 11.0
|
|
extendInfo:
|
|
- NSCameraUsageDescription: Application requests access to the device's camera.
|
|
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
|
|
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
|
|
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
|
|
target:
|
|
- target: dmg
|
|
- target: zip
|
|
linux:
|
|
artifactName: ${productName}-${version}-${arch}.${ext}
|
|
target:
|
|
- target: AppImage
|
|
- target: deb
|
|
- target: rpm
|
|
maintainer: electronjs.org
|
|
category: Utility
|
|
desktop:
|
|
entry:
|
|
StartupWMClass: CherryStudio
|
|
mimeTypes:
|
|
- x-scheme-handler/cherrystudio
|
|
rpm:
|
|
# Workaround for electron build issue on rpm package:
|
|
# https://github.com/electron/forge/issues/3594
|
|
fpm: ["--rpm-rpmbuild-define=_build_id_links none"]
|
|
publish:
|
|
provider: generic
|
|
url: https://releases.cherry-ai.com
|
|
electronDownload:
|
|
mirror: https://npmmirror.com/mirrors/electron/
|
|
beforePack: scripts/before-pack.js
|
|
afterPack: scripts/after-pack.js
|
|
afterSign: scripts/notarize.js
|
|
artifactBuildCompleted: scripts/artifact-build-completed.js
|
|
releaseInfo:
|
|
releaseNotes: |
|
|
<!--LANG:en-->
|
|
What's New in v1.7.0-beta.6
|
|
|
|
New Features:
|
|
- Enhanced Input Bar: Completely redesigned input bar with improved responsiveness and functionality
|
|
- Better File Handling: Improved drag-and-drop and paste support for images and documents
|
|
- Smart Tool Suggestions: Enhanced quick panel with better item selection and keyboard shortcuts
|
|
|
|
Improvements:
|
|
- Smoother Input Experience: Better auto-resizing and text handling in chat input
|
|
- Enhanced AI Performance: Improved connection stability and response speed
|
|
- More Reliable File Uploads: Better support for various file types and upload scenarios
|
|
- Cleaner Interface: Optimized UI elements for better visual consistency
|
|
|
|
Bug Fixes:
|
|
- Fixed image selection issue when adding custom AI providers
|
|
- Fixed file upload problems with certain API configurations
|
|
- Fixed input bar responsiveness issues
|
|
- Fixed quick panel not working properly in some situations
|
|
|
|
<!--LANG:zh-CN-->
|
|
v1.7.0-beta.6 新特性
|
|
|
|
新功能:
|
|
- 增强输入栏:完全重新设计的输入栏,响应更灵敏,功能更强大
|
|
- 更好的文件处理:改进的拖拽和粘贴功能,支持图片和文档
|
|
- 智能工具建议:增强的快速面板,更好的项目选择和键盘快捷键
|
|
|
|
改进:
|
|
- 更流畅的输入体验:聊天输入框的自动调整和文本处理更佳
|
|
- 增强 AI 性能:改进连接稳定性和响应速度
|
|
- 更可靠的文件上传:更好地支持各种文件类型和上传场景
|
|
- 更简洁的界面:优化 UI 元素,视觉一致性更好
|
|
|
|
问题修复:
|
|
- 修复添加自定义 AI 提供商时的图片选择问题
|
|
- 修复某些 API 配置下的文件上传问题
|
|
- 修复输入栏响应性问题
|
|
- 修复快速面板在某些情况下无法正常工作的问题
|
|
<!--LANG:END-->
|